:root {
  --teal: #017874;
  --mint: #75D0A7;
  --deep1: #135856;
  --deep2: #043235;
  --paper: #EFF0F1;
  --bg: #f4f6f6;
  --card: #ffffff;
  --ink: #0d1f1f;
  --muted: #4f6362;
  --line: #dde4e3;
  --accent: var(--teal);
  --pill-bg: rgba(117, 208, 167, .16);
  --shadow: 0 30px 60px -20px rgba(4, 50, 53, .35), 0 12px 24px -12px rgba(4, 50, 53, .25);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071a1b;
    --card: #0e2829;
    --ink: #EFF0F1;
    --muted: #a3b7b5;
    --line: #1d3b3c;
    --accent: var(--mint);
    --pill-bg: rgba(117, 208, 167, .12);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #071a1b; --card: #0e2829; --ink: #EFF0F1; --muted: #a3b7b5; --line: #1d3b3c;
  --accent: var(--mint); --pill-bg: rgba(117, 208, 167, .12); color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.rounded, h1, h2, h3, .brand {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }

/* Top band: the icon's deep teal, rounded at the bottom like RadCal's header */
.band {
  background: linear-gradient(160deg, var(--deep1) 0%, var(--deep2) 100%);
  color: var(--paper);
  border-radius: 0 0 28px 28px;
}
.nav {
  max-width: 1080px; margin: 0 auto; padding: 20px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800; letter-spacing: -.4px;
  color: var(--paper); text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--paper); opacity: .85; text-decoration: none; font-size: 15px; }
.nav-links a:hover { opacity: 1; }

/* Hero */
.hero {
  max-width: 1080px; margin: 0 auto; padding: 24px 16px 0;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: end;
}
.hero-copy { padding-bottom: 8px; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .2px;
  color: var(--mint); background: rgba(117, 208, 167, .14);
  border: 1px solid rgba(117, 208, 167, .3);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 9vw, 76px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.02;
}
.hero h1 span { color: var(--mint); }
.hero p.sub {
  margin-top: 20px; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5;
  color: rgba(239, 240, 241, .82); max-width: 32em;
}
.cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--mint); color: var(--deep2);
}
.btn:hover { filter: brightness(1.05); }
.cta small { color: rgba(239, 240, 241, .65); font-size: 14px; }

.phone {
  justify-self: center; width: min(330px, 80vw);
  margin-bottom: -64px; position: relative;
}
.phone img {
  width: 100%; height: auto; border-radius: 44px;
  border: 8px solid #0b1314; box-shadow: var(--shadow);
  background: #0b1314;
}

@media (min-width: 860px) {
  .hero { grid-template-columns: 1.15fr .85fr; padding-top: 40px; }
  .hero-copy { padding-bottom: 110px; }
  .phone { justify-self: end; width: 340px; margin-bottom: -90px; }
}

main { max-width: 1080px; margin: 0 auto; padding: 120px 16px 40px; }

/* Three principles */
.pillars { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 72px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.pillar h3 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; color: var(--accent); margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 16px; }

.section-title {
  font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
h2.big {
  font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -.8px; line-height: 1.1;
  margin-bottom: 28px; max-width: 18em;
}

.grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 72px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 15.5px; }
.card ul { padding-left: 18px; margin-top: 4px; }
.card li { margin: 4px 0; }
.card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--accent); background: var(--pill-bg); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}

/* Privacy band */
.private {
  background: linear-gradient(160deg, var(--deep1) 0%, var(--deep2) 100%);
  color: var(--paper); border-radius: 24px; padding: 36px 24px; margin-bottom: 72px;
}
.private h2 { font-size: clamp(26px, 4.5vw, 36px); font-weight: 800; letter-spacing: -.6px; line-height: 1.12; margin-bottom: 14px; }
.private p { color: rgba(239, 240, 241, .82); font-size: 17px; max-width: 40em; }
.private a { color: var(--mint); }

.closing { text-align: center; margin-bottom: 40px; }
.closing h2 { font-size: clamp(26px, 4.5vw, 36px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 10px; }
.closing p { color: var(--muted); margin-bottom: 22px; }
.closing .btn { background: var(--teal); color: #fff; }

footer {
  border-top: 1px solid var(--line); padding: 28px 16px; text-align: center;
  color: var(--muted); font-size: 13px;
}
footer a { color: var(--muted); }

/* Document pages (privacy / support) */
.doc-band .nav { padding-bottom: 28px; }
.doc { max-width: 720px; margin: 0 auto; padding: 48px 16px 80px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc .lead { font-size: 18px; color: var(--muted); margin-bottom: 28px; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -.3px; margin: 36px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 17px; font-weight: 700; margin: 22px 0 6px; }
.doc p { margin-bottom: 14px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 8px; }
.doc code { font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.callout { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 8px 0 24px; }
.callout strong.label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: .8px; }
