:root,
:root[data-home-theme="light"],
:root:has(#home-theme-light:checked) {
  color-scheme: light;
  --home-navy: #17233A;      /* heading ink — flips light in dark theme */
  --home-navy-2: #202E49;
  --home-band: #17233A;      /* the constant navy bands (hero, trust, featured waitlist path) */
  --home-blue: #2563EB;
  --home-blue-deep: #1D4ED8;
  --home-blue-soft: #EFF6FF;
  --home-link: #1D4ED8;      /* text links / eyebrows — lightened in dark theme */
  --home-ground: #F7F9FC;
  --home-surface: #FFFFFF;
  --home-header: #FFFFFF;
  --home-ink: #1F2937;
  --home-ink-2: #4B5563;
  --home-muted: #667085;
  --home-line: #D8E0EA;
  --home-green: #18794E;
  --home-green-soft: #EAF6EF;
  --home-amber: #9A5B13;
  --home-amber-soft: #FFF6E5;
  --home-radius: 8px;
  --home-shadow: 0 20px 60px rgba(15, 23, 42, .16);
}

/* System dark mode uses charcoal work surfaces around the constant navy brand
   bands. The public page remains visually varied rather than tinting every
   section the same blue-black. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --home-navy: #F4F1EA;
    --home-ground: #111315;
    --home-surface: #1A1D20;
    --home-header: #111315;
    --home-ink: #F4F1EA;
    --home-ink-2: #C9C4BA;
    --home-muted: #A49D91;
    --home-line: #3A3D40;
    --home-blue-soft: rgba(79, 134, 247, .16);
    --home-link: #8EB7FF;
    --home-green: #73D3A3;
    --home-green-soft: rgba(53, 150, 101, .18);
    --home-amber: #F1BB6C;
    --home-amber-soft: rgba(183, 117, 37, .2);
    --home-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  }
}

/* The native controls can explicitly override the device preference with no
   executable script and therefore no pre-paint theme flash. */
:root[data-home-theme="dark"],
:root:has(#home-theme-dark:checked) {
  color-scheme: dark;
  --home-navy: #F4F1EA;
  --home-ground: #111315;
  --home-surface: #1A1D20;
  --home-header: #111315;
  --home-ink: #F4F1EA;
  --home-ink-2: #C9C4BA;
  --home-muted: #A49D91;
  --home-line: #3A3D40;
  --home-blue-soft: rgba(79, 134, 247, .16);
  --home-link: #8EB7FF;
  --home-green: #73D3A3;
  --home-green-soft: rgba(53, 150, 101, .18);
  --home-amber: #F1BB6C;
  --home-amber-soft: rgba(183, 117, 37, .2);
  --home-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--home-ground);
  color: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--home-surface);
  border: 2px solid var(--home-blue);
  border-radius: 6px;
  color: var(--home-navy);
  font-weight: 700;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #60A5FA;
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--home-header);
  border-bottom: 1px solid var(--home-line);
}
.nav-bar { min-height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--home-navy); font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--home-blue);
  color: #FFFFFF;
  font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a,
.text-link { color: var(--home-ink-2); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav-links a:hover,
.text-link:hover { color: var(--home-link); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.appearance-control { flex: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.appearance-options { display: inline-flex; gap: 2px; padding: 3px; background: var(--home-ground); border: 1px solid var(--home-line); border-radius: 8px; }
.appearance-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.appearance-options label { min-width: 48px; padding: 5px 7px; border-radius: 5px; color: var(--home-muted); font-size: 11px; font-weight: 750; line-height: 1.25; text-align: center; cursor: pointer; }
.appearance-options label:hover { color: var(--home-ink); }
#home-theme-system:checked ~ label[for="home-theme-system"],
#home-theme-light:checked ~ label[for="home-theme-light"],
#home-theme-dark:checked ~ label[for="home-theme-dark"] { background: var(--home-surface); color: var(--home-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
#home-theme-system:focus-visible ~ label[for="home-theme-system"],
#home-theme-light:focus-visible ~ label[for="home-theme-light"],
#home-theme-dark:focus-visible ~ label[for="home-theme-dark"] { outline: 3px solid #60A5FA; outline-offset: 2px; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--home-blue); color: #FFFFFF; box-shadow: 0 8px 20px rgba(37, 99, 235, .18); }
.button-primary:hover { background: var(--home-blue-deep); }
.button-secondary { background: transparent; border-color: #52627D; color: #FFFFFF; }
.button-secondary:hover { background: rgba(255, 255, 255, .08); border-color: #8EA0BE; }
.button-light { background: #FFFFFF; color: #17233A; }
.button-light:hover { background: #EFF6FF; }
.arrow-link { color: var(--home-link); font-weight: 750; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--home-band);
  color: #FFFFFF;
  padding: 58px 0 52px;
}
.hero-layout {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
  gap: 44px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; max-width: 510px; text-align: left; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--home-link);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero .eyebrow,
.trust-section .eyebrow,
.closing .eyebrow { color: #93C5FD; }
h1,
h2,
h3,
p { margin-top: 0; }
h1,
h2,
h3 { color: var(--home-navy); letter-spacing: 0; }
.hero h1 {
  margin-bottom: 14px;
  color: #FFFFFF;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  line-height: 1.02;
  font-weight: 700;
  text-wrap: balance;
}
.hero-lede {
  max-width: 520px;
  margin: 0;
  color: #DCE5F3;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}
.hero-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-status { margin: 20px 0 0; color: #B8C4D8; font-size: 13px; }
.hero-status strong { color: #FFFFFF; }
.hero-product { position: relative; z-index: 1; min-width: 0; }
.device-stage { position: relative; width: 100%; height: 520px; }
.device {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #F7F9FC;
  border: 1px solid #4A5870;
  box-shadow: 0 28px 70px rgba(4, 9, 20, .42);
}
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device-desktop { top: 34px; left: 0; width: 91%; aspect-ratio: 16 / 10; border-radius: 8px; }
.device-desktop img { height: calc(100% - 24px); }
.device-bar { height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #E8EDF5; border-bottom: 1px solid #C8D1DE; }
.device-bar i { width: 6px; height: 6px; border-radius: 50%; background: #98A5B6; }
.device-tablet { right: 0; bottom: 10px; width: 28%; aspect-ratio: 3 / 4; padding: 7px; border-radius: 16px; background: #0F172A; }
.device-tablet img { border-radius: 9px; }
.device-phone { right: 25%; bottom: 0; width: 17%; aspect-ratio: 390 / 844; padding: 5px; border-radius: 18px; background: #0F172A; }
.device-phone img { border-radius: 13px; }
.media-note { position: relative; z-index: 1; margin: 12px auto 0; color: #9EACC3; font-size: 12px; text-align: center; }

.section { padding: 96px 0; }
.section-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-heading.compact { max-width: 650px; }
.section-heading h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1.08;
  text-wrap: balance;
}
.section-heading > p:last-child { margin-bottom: 0; color: var(--home-ink-2); font-size: 17px; }

.audiences { padding-top: 72px; background: var(--home-ground); }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--home-line); }
.audience-panel { min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: 34px 30px; border-left: 1px solid var(--home-line); }
.audience-panel:first-child { padding-left: 0; border-left: 0; }
.audience-panel:last-child { padding-right: 0; }
.audience-panel h3 { margin: 14px 0 8px; font-size: 27px; }
.audience-panel p { margin-bottom: 0; color: var(--home-ink-2); }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; color: var(--home-ink-2); font-size: 14px; list-style: none; }
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--home-blue); border-bottom: 2px solid var(--home-blue); transform: rotate(-45deg); }
.audience-panel .arrow-link { margin-top: auto; }
.status { display: inline-flex; align-items: center; width: fit-content; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.status-pilot,
.status-built { background: var(--home-green-soft); color: var(--home-green); }
.status-prelaunch { background: var(--home-amber-soft); color: var(--home-amber); }
.status-config { background: var(--home-blue-soft); color: var(--home-link); }

.pathway { background: var(--home-surface); border-top: 1px solid var(--home-line); }
.pathway-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 28px; margin: 0; padding: 0; list-style: none; }
.pathway-steps li { position: relative; min-width: 0; }
.pathway-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 46px;
  right: -18px;
  height: 2px;
  background: var(--home-line);
}
.pathway-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--home-blue);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
}
.pathway-steps h3 { margin: 0 0 6px; font-size: 18px; }
.pathway-steps p { margin: 0; color: var(--home-ink-2); font-size: 14px; }

.product { background: var(--home-surface); border-block: 1px solid var(--home-line); }
.phone-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: start; }
.phone-gallery figure { min-width: 0; margin: 0; }
.phone-frame { overflow: hidden; aspect-ratio: 390 / 844; border: 1px solid var(--home-line); border-radius: var(--home-radius); background: var(--home-ground); box-shadow: 0 10px 28px rgba(23, 35, 58, .1); transition: transform .18s ease, box-shadow .18s ease; }
.phone-frame:hover { transform: translateY(-3px); box-shadow: 0 15px 34px rgba(23, 35, 58, .14); }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-gallery figcaption { display: grid; gap: 2px; padding-top: 12px; }
.phone-gallery figcaption strong { color: var(--home-navy); font-size: 15px; }
.phone-gallery figcaption span { color: var(--home-muted); font-size: 12px; }
.media-note.centered { color: var(--home-muted); margin-top: 24px; }

.operations { background: var(--home-ground); }
.operations-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.sticky-heading { position: sticky; top: 110px; margin: 0; text-align: left; }
.capability-list { border-top: 1px solid var(--home-line); }
.capability-list article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--home-line); }
.capability-number { color: var(--home-blue); font-size: 12px; font-weight: 850; }
.capability-list h3 { margin-bottom: 6px; font-size: 19px; }
.capability-list p { margin-bottom: 0; color: var(--home-ink-2); font-size: 15px; }

.trust-section { background: var(--home-band); color: #E2E8F0; }
.section-heading.light h2 { color: #FFFFFF; }
.section-heading.light > p:last-child { color: #B9C5D8; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #34435D; }
.trust-grid article { padding: 30px; border-bottom: 1px solid #34435D; }
.trust-grid article:nth-child(odd) { border-right: 1px solid #34435D; }
.trust-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
.trust-grid h3 { margin-bottom: 8px; color: #FFFFFF; font-size: 18px; }
.trust-grid p { margin-bottom: 0; color: #B9C5D8; font-size: 14px; }
.trust-footnote { max-width: 850px; margin: 24px auto 0; color: #94A3B8; font-size: 12px; text-align: center; }

.nonprofit-access { background: var(--home-ground); border-top: 1px solid var(--home-line); }
.nonprofit-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.nonprofit-layout .section-heading { margin: 0; text-align: left; }
.nonprofit-layout .section-heading .button { margin-top: 12px; }
.nonprofit-capabilities { border-top: 1px solid var(--home-line); }
.nonprofit-capabilities article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--home-line); }
.nonprofit-capabilities article > span { color: var(--home-blue); font-size: 12px; font-weight: 850; }
.nonprofit-capabilities h3 { margin-bottom: 6px; font-size: 18px; }
.nonprofit-capabilities p { margin: 0; color: var(--home-ink-2); font-size: 14px; }

.waitlist { background: var(--home-ground); border-top: 1px solid var(--home-line); }
.waitlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--home-line); background: var(--home-surface); }
.waitlist-item { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 34px 30px; border-left: 1px solid var(--home-line); }
.waitlist-item:first-child { border-left: 0; }
.waitlist-item.featured { background: var(--home-band); color: #DCE5F3; }
.waitlist-number { color: var(--home-link); font-size: 12px; font-weight: 850; }
.waitlist-item h3 { margin: 4px 0 0; font-size: 24px; }
.waitlist-item.featured h3 { color: #FFFFFF; }
.waitlist-item p { margin-bottom: 18px; color: var(--home-ink-2); font-size: 14px; }
.waitlist-item.featured p { color: #B9C5D8; }
.waitlist-item .button { width: 100%; margin-top: auto; }
.waitlist-note { margin: 18px 0 0; color: var(--home-muted); font-size: 12px; text-align: center; }

.faq { background: var(--home-surface); }
.faq-layout { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: 80px; align-items: start; }
.faq-layout .section-heading { margin: 0; text-align: left; }
.faq-list { border-top: 1px solid var(--home-line); }
details { border-bottom: 1px solid var(--home-line); }
summary { display: flex; align-items: center; gap: 16px; padding: 20px 2px; color: var(--home-navy); cursor: pointer; font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; color: var(--home-blue); font-size: 22px; font-weight: 500; }
details[open] summary::after { content: "-"; }
details p { max-width: 68ch; margin: -4px 34px 22px 2px; color: var(--home-ink-2); font-size: 14px; }

.closing { padding: 58px 0; background: var(--home-blue); color: #FFFFFF; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.closing h2 { max-width: 760px; margin: 0; color: #FFFFFF; font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: 1.08; }
.closing .eyebrow { margin-bottom: 8px; }
.closing .button { flex: none; }

.site-footer { padding: 42px 0; background: #111A2C; color: #9EACC3; }
.footer-layout { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.footer-brand { color: #FFFFFF; }
.site-footer p { margin: 8px 0 0; font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.site-footer nav a { color: #C5D0E0; font-size: 13px; font-weight: 650; text-decoration: none; }
.site-footer nav a:hover { color: #FFFFFF; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #2B3A57; }

@media (max-width: 980px) {
  .hero-layout { min-height: 0; grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 720px; margin-inline: auto; text-align: center; }
  .hero h1 { font-size: 56px; }
  .hero-lede { font-size: 18px; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-product { width: min(760px, 100%); margin-inline: auto; }
  .device-stage { height: 500px; }
  .section-heading h2 { font-size: 40px; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-panel,
  .audience-panel:first-child,
  .audience-panel:last-child { padding: 28px 0; border-left: 0; }
  .audience-panel + .audience-panel { border-top: 1px solid var(--home-line); }
  .pathway-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathway-steps li:not(:last-child)::after { display: none; }
  .phone-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .phone-gallery figure { max-width: 300px; margin-inline: auto; }
  .operations-layout,
  .nonprofit-layout,
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .sticky-heading { position: static; }
  .waitlist-grid { grid-template-columns: 1fr; }
  .waitlist-item,
  .waitlist-item:first-child { border-left: 0; border-top: 1px solid var(--home-line); }
  .waitlist-item:first-child { border-top: 0; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 36px, 1180px); }
  .site-header { position: relative; }
  .nav-bar { min-height: 64px; flex-wrap: wrap; gap: 10px 16px; padding-block: 10px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 32px; height: 32px; }
  .appearance-control { margin-left: auto; }
  .appearance-options label { min-width: 42px; padding-inline: 5px; font-size: 10px; }
  .nav-actions { width: 100%; justify-content: space-between; }
  .nav-actions .text-link { display: inline-flex; }
  .nav-actions .button { min-height: 40px; padding-inline: 13px; font-size: 12px; }
  .hero { padding: 34px 0 28px; }
  .hero .eyebrow { margin-bottom: 7px; }
  .hero h1 { font-size: 42px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-status { margin-top: 14px; font-size: 12px; }
  .hero-product { width: 100%; }
  .device-stage { height: 282px; }
  .device-desktop { top: 18px; width: 94%; }
  .device-bar { height: 16px; padding-inline: 7px; }
  .device-bar i { width: 4px; height: 4px; }
  .device-desktop img { height: calc(100% - 16px); }
  .device-tablet { width: 29%; padding: 4px; border-radius: 10px; }
  .device-tablet img { border-radius: 6px; }
  .device-phone { right: 26%; width: 18%; padding: 3px; border-radius: 11px; }
  .device-phone img { border-radius: 8px; }
  .media-note { display: none; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 34px; }
  .audiences { padding-top: 58px; }
  .pathway-steps { grid-template-columns: 1fr; gap: 26px; }
  .phone-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .phone-gallery figcaption span { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article,
  .trust-grid article:nth-child(odd),
  .trust-grid article:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid #34435D; }
  .trust-grid article:last-child { border-bottom: 0; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .closing .button { width: 100%; }
  .footer-layout { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .copyright { grid-column: auto; }
}

@media (max-width: 420px) {
  .nav-actions .button { max-width: 138px; }
  .phone-gallery { grid-template-columns: 1fr; }
  .phone-gallery figure { max-width: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .button:hover,
  .phone-frame:hover { transform: none; }
}
