@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* The four colours of the logo; navy doubles as the ink. */
:root {
  --navy: #1B3A5C;
  --coral: #E8554E;
  --teal: #1D9E8F;
  --saffron: #F5AE2E;
  --bg: #ffffff;
  --mist: #F3F6F9;
  --ink: #1B3A5C;
  --soft: #4F6478;
  --line: #DDE4EB;
  --card: #ffffff;
  --on-primary: #ffffff;
  --display: 'Quicksand', ui-rounded, system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #7FA3D1;
    --bg: #0F1B2A;
    --mist: #15263A;
    --ink: #EEF2F6;
    --soft: #A9B6C4;
    --line: #26394F;
    --card: #ffffff;
    --on-primary: #ffffff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
img, canvas, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; z-index: 10; }

h1, h2, h3, .brand, .btn, .eyebrow, .plan { font-family: var(--display); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }

/* Header -------------------------------------------------------------------------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 18px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.social { display: flex; gap: 6px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.social a:hover { background: var(--mist); }
.social svg, .pillar svg, .who svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.social svg { width: 22px; height: 22px; }

/* Hero ---------------------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 40px 24px 88px;
}
.eyebrow { margin: 0 0 18px; font-weight: 700; font-size: 15px; color: var(--teal); letter-spacing: 0.01em; }
h1 { font-size: clamp(44px, 7vw, 84px); }
.lede { font-size: 20px; color: var(--soft); max-width: 34em; margin: 24px 0 32px; }
.follow { display: flex; flex-wrap: wrap; gap: 12px; }
.follow.center { justify-content: center; }
.note { margin: 14px 0 0; font-size: 15px; color: var(--soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--coral); color: var(--on-primary); }
.btn-primary:hover { background: #D6463F; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--mist); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }

/* The signature: a picture that sharpens only when both people agree. */
.reveal { margin: 0; }
.reveal-card {
  background: var(--card); color: #1B3A5C;
  border-radius: 28px; padding: 18px;
  box-shadow: 0 1px 0 rgba(27,58,92,.06), 0 24px 60px -24px rgba(27,58,92,.35);
  max-width: 400px; margin: 0 auto;
}
.reveal-frame { border-radius: 18px; overflow: hidden; background: #fff; aspect-ratio: 1; }
.reveal-frame canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.reveal-progress { height: 6px; border-radius: 3px; background: #E6ECF2; margin: 16px 2px 8px; overflow: hidden; }
.reveal-progress span { display: block; height: 100%; width: 0; background: var(--coral); border-radius: 3px; transition: width .6s ease; }
.reveal-status { margin: 0 2px 12px; font: 600 15px/1.3 var(--display); font-variant-numeric: tabular-nums; }
.consent { display: flex; gap: 8px; margin-bottom: 14px; }
.who {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; border-radius: 999px; border: 1.5px dashed #C9D3DD;
  font: 600 14px var(--display); color: #6B7F92; transition: all .25s ease;
}
.who svg { width: 16px; height: 16px; opacity: 0; transition: opacity .25s ease; }
.who.on { border-style: solid; border-color: var(--teal); color: #12695F; background: #E7F5F3; }
.who.on svg { opacity: 1; }
.reveal figcaption { max-width: 400px; margin: 14px auto 0; font-size: 14px; line-height: 1.5; color: var(--soft); text-align: center; }

/* Compare ------------------------------------------------------------------------- */
.compare, .plans { max-width: 960px; margin: 0 auto; padding: 88px 24px; }
.compare { border-top: 1px solid var(--line); }
h2 { font-size: clamp(34px, 4.6vw, 52px); }
.section-lede { font-size: 19px; color: var(--soft); max-width: 36em; margin: 16px 0 40px; }

.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row span:first-child { color: var(--soft); }
.row span:last-child b { font-weight: 700; }
.row.head span { font: 700 14px var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--soft); }
.row.head span:last-child { color: var(--coral); }

/* Pillars ------------------------------------------------------------------------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1120px; margin: 0 auto; padding: 0 24px 40px;
}
.pillar { background: var(--mist); border-radius: 24px; padding: 28px; border-top: 5px solid var(--c); }
.pillar svg { width: 30px; height: 30px; color: var(--c); margin-bottom: 18px; }
.pillar h3 { font-size: 24px; margin-bottom: 12px; }
.pillar p { margin: 0 0 10px; font-size: 16px; color: var(--soft); }
.pillar p:last-child { margin-bottom: 0; }

/* Plans --------------------------------------------------------------------------- */
.plan-names { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-names li { border: 1.5px solid var(--line); border-radius: 20px; padding: 20px 22px; color: var(--soft); font-size: 16px; }
.plan { display: block; font-weight: 700; font-size: 28px; color: var(--coral); margin-bottom: 4px; }

/* Closing + footer ----------------------------------------------------------------- */
.closing { text-align: center; padding: 88px 24px 96px; background: var(--mist); }
.closing img { margin: 0 auto 24px; width: 132px; height: 132px; padding: 16px; background: #fff; border-radius: 32px; box-shadow: 0 16px 40px -20px rgba(27,58,92,.45); }
.closing p { font-size: 19px; color: var(--soft); margin: 12px 0 28px; }
.foot { max-width: 1120px; margin: 0 auto; padding: 32px 24px 48px; text-align: center; color: var(--soft); font-size: 15px; }
.foot p { margin: 4px 0; }
.foot .small { font-size: 13px; }

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 16px 16px 64px; }
  .pillars { grid-template-columns: 1fr 1fr; padding: 0 16px 32px; }
  .compare, .plans { padding: 64px 16px; }
  .top { padding: 14px 16px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .lede { font-size: 18px; }
  .pillars, .plan-names { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row.head { display: none; }
  .row span:first-child { font-size: 15px; }
  .follow .btn { flex: 1 1 auto; }
  .closing { padding: 64px 16px 72px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.c-teal { --c: var(--teal); }
.c-coral { --c: var(--coral); }
.c-navy { --c: var(--navy); }
.c-saffron { --c: var(--saffron); }
