@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-next-normal-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-next-normal-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-next-italic-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

/* Tokens: one place for every color and size. Sunrise is reserved for the progress motif. */
:root {
  --page: #f6f7fb;
  --paper: #ffffff;
  --wash: #edf0f7;
  --ink: #141a2b;
  --muted: #4b5468;
  --line: #dfe3ec;
  --field-line: #8a93a6;
  --indigo: #3346c4;
  --indigo-ink: #2a3aa6;
  --on-indigo: #ffffff;
  --sun: #f5a524;
  --sun-soft: rgba(245, 165, 36, 0.12);
  --good: #1f7a4a;
  --shadow: 0 1px 2px rgba(20, 26, 43, 0.06), 0 12px 32px -12px rgba(20, 26, 43, 0.18);
  --radius: 14px;
  --gutter: 24px;
  /* Type scale: six sizes. */
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: 1.3125rem;
  --t-h3: 1.375rem;
  --t-h2: clamp(1.875rem, 3.2vw, 2.5rem);
  --t-h1: clamp(2.375rem, 5.2vw, 3.75rem);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0d1220;
    --paper: #151b2b;
    --wash: #121829;
    --ink: #eef1f8;
    --muted: #a9b1c4;
    --line: #283149;
    --field-line: #6b7591;
    --indigo: #93a3ff;
    --indigo-ink: #b4c0ff;
    --on-indigo: #0d1220;
    --sun-soft: rgba(245, 165, 36, 0.10);
    --good: #6fd39b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-ink); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }
p + p { margin-top: 0.9em; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (max-width: 640px) { :root { --gutter: 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 10px;
  background: var(--indigo); color: var(--on-indigo);
  font-weight: 700; text-decoration: none; border: 1px solid transparent;
  font-size: var(--t-body); font-family: inherit; cursor: pointer;
}
.button:hover { background: var(--indigo-ink); color: var(--on-indigo); }
.button.secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--wash); }
.button.small { min-height: 42px; padding: 0 16px; font-size: var(--t-small); }
.button[disabled] { opacity: 0.45; cursor: default; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in oklab, var(--page), transparent 8%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.015em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.button) { color: var(--ink); text-decoration: none; font-size: var(--t-small); font-weight: 600; }
.nav a:not(.button):hover { color: var(--indigo); }
.menu-button { display: none; }
@media (max-width: 860px) {
  .menu-button { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-body); }
  .nav .button { margin-top: 12px; }
}

/* Screenshots: real UI, framed lightly */
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); }
.shot.phone { border-radius: 26px; border: 6px solid #0d1220; }

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 15ch; }
.lead { margin-top: 22px; font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 18px; font-size: var(--t-small); color: var(--muted); max-width: 40em; }
.hero-visual { position: relative; min-height: 460px; }
.hero-visual .sun {
  position: absolute; right: -14%; bottom: -46%; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--sun-soft) 0 32%, transparent 32.2%), radial-gradient(circle, var(--sun-soft) 0 46%, transparent 46.2%), radial-gradient(circle, var(--sun-soft) 0 62%, transparent 62.2%);
}
.hero-visual .desk { position: relative; width: 100%; margin-left: 6%; }
.hero-visual .phone { position: absolute; width: 34%; left: -8%; bottom: -10%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .sun { animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { transform: translateY(18%); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; margin-bottom: 40px; }
  .hero-visual .desk { margin-left: 12%; width: 88%; }
  .hero-visual .phone { width: 36%; left: 0; bottom: -14%; }
}

/* Sections */
section { padding: 88px 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.section-title { max-width: 22ch; }
.section-lead { margin-top: 14px; color: var(--muted); font-size: var(--t-lead); max-width: 38em; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* Video */
.watch { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.watch-copy p { margin-top: 14px; color: var(--muted); }
.player { margin: 0; }
.player video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #0d1220; aspect-ratio: 16 / 9; }
.player figcaption { margin-top: 10px; font-size: var(--t-small); color: var(--muted); }
.video-list { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.video-list li { border-bottom: 1px solid var(--line); }
.video-list button { all: unset; box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; gap: 12px; padding: 13px 2px; cursor: pointer; font-weight: 600; }
.video-list button:hover, .video-list button[aria-current="true"] { color: var(--indigo); }
.video-list button:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.video-list .len { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .watch { grid-template-columns: 1fr; } .player { order: -1; } }

/* A day with SunriseHours */
.moment { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; margin-top: 72px; }
.moment.flip .moment-text { order: 2; }
.moment-text p { color: var(--muted); margin-top: 14px; }
.moment-text h3 { font-size: var(--t-h2); line-height: 1.15; }
.time { display: block; font-size: var(--t-lead); color: var(--indigo); letter-spacing: 0; font-variant-numeric: tabular-nums; margin-bottom: 6px; font-weight: 700; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phones .phone { width: min(300px, 46%); }
.phones .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 900px) {
  .moment, .moment.flip { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .moment.flip .moment-text { order: 0; }
}

/* Tour */
.tour { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.tour-stage { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--page); }
.tour-stage img { width: 100%; }
.spot {
  position: absolute; border: 3px solid var(--sun); border-radius: 10px; background: rgba(245, 165, 36, 0.10);
  cursor: pointer; padding: 0; box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.25);
}
.spot:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .spot { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(245, 165, 36, 0.12); } }
}
.tour-panel { position: sticky; top: 92px; }
.tour-count { font-size: var(--t-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.tour-panel h3 { margin-top: 6px; }
.tour-panel p#tour-text { margin-top: 10px; color: var(--muted); }
.tour-nav { display: flex; gap: 10px; margin-top: 20px; }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .tour-panel { position: static; } }

/* Ohio, privacy */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split > div > p { margin-top: 16px; color: var(--muted); }
.facts { margin: 26px 0 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 4px 0 0; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 8px; border-left: 3px solid var(--good); border-bottom: 3px solid var(--good); transform: rotate(-45deg); }
.wont { align-self: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.wont ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--muted); }
.wont li + li { margin-top: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.columns > div { border-top: 3px solid var(--indigo); padding-top: 18px; }
.columns p { margin-top: 10px; color: var(--muted); }
@media (max-width: 900px) { .columns { grid-template-columns: 1fr; gap: 28px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--page); }
.plan { padding: 26px 24px; border-left: 1px solid var(--line); }
.plan:first-child { border-left: 0; }
.plan-price { font-size: var(--t-h2); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan-name { margin-top: 8px; font-weight: 700; }
.plan-size { color: var(--muted); margin-top: 2px; }
.pricing-notes { margin-top: 24px; max-width: 52em; color: var(--muted); }
.offer { margin-top: 14px; padding: 16px 18px; border-left: 4px solid var(--sun); background: var(--sun-soft); color: var(--ink); border-radius: 0 10px 10px 0; }
@media (max-width: 900px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan:nth-child(3) { border-left: 0; } .plan:nth-child(n + 3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } .plan { border-left: 0; } .plan + .plan { border-top: 1px solid var(--line); } }

/* Founder, FAQ, closing */
.founder > * { max-width: 44em; }
.founder p { margin-top: 16px; font-size: var(--t-lead); line-height: 1.55; color: var(--muted); }
.founder .sign { color: var(--ink); font-weight: 700; font-size: var(--t-body); }
.faq > * { max-width: 52em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.faq h2 { margin-bottom: 26px; }
.closing { padding: 96px 0; }
.closing-row > * { max-width: 40em; }
.closing-row p { margin-top: 14px; color: var(--muted); font-size: var(--t-lead); }
.closing-row .button { margin-top: 26px; }
.closing-row .fine { font-size: var(--t-small); }

/* Pilot request form */
.pilot-form { margin-top: 30px; }
.pilot-form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pilot-form label { display: grid; gap: 6px; font-size: var(--t-small); font-weight: 700; color: var(--ink); }
.pilot-form .wide { grid-column: 1 / -1; }
.pilot-form input { min-height: 50px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 400; }
.pilot-form input::placeholder { color: var(--muted); opacity: 0.8; }
.pilot-form input:focus-visible { outline: 3px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
.closing-row .pilot-form .send-label { margin-top: 24px; font-size: var(--t-small); font-weight: 700; color: var(--ink); }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.closing-row .send .button { margin-top: 0; }
.send .copy { all: unset; cursor: pointer; padding: 10px 8px; color: var(--indigo); font-weight: 700; font-size: var(--t-small); text-decoration: underline; text-underline-offset: 3px; }
.send .copy:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }
.closing-row .pilot-form .pilot-status { margin-top: 14px; font-size: var(--t-body); color: var(--ink); }
.pilot-status:empty { display: none; }
@media (max-width: 640px) {
  .pilot-form .fields { grid-template-columns: 1fr; }
  .closing-row .send .button { flex: 1 1 calc(50% - 5px); }
}

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: var(--t-small); color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* Legal pages */
.doc { max-width: 46em; padding: 56px 0 80px; }
.doc h1 { font-size: var(--t-h2); }
.doc h2 { font-size: var(--t-h3); margin-top: 36px; }
.doc p, .doc li { color: var(--ink); }
.doc .draft { margin: 18px 0 28px; padding: 14px 16px; border-left: 4px solid var(--sun); background: var(--sun-soft); border-radius: 0 10px 10px 0; font-size: var(--t-small); }
.doc table { border-collapse: collapse; width: 100%; font-size: var(--t-small); margin: 12px 0; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; vertical-align: top; }
