/* The public site. Colours are the app's (src/styles.css). No web fonts: the
   site loads nothing from other origins, which the privacy page relies on. */
:root {
  --ink: #163442; --muted: #5c6d73; --line: #e4e6e2; --paper: #fffefa; --cream: #f7f5ef;
  --navy: #0c3346; --teal: #2c887e; --teal-dark: #1f6f66; --gold: #d4a954; --mint: #c9e4db; --sage: #edf4ed;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-width: 320px; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(36px, 5.4vw, 58px); margin-bottom: 20px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 6px; }
a { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 620px; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 700; color: #86754f; margin-bottom: 12px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 5; }
.skip:focus { left: 8px; }

.top { background: var(--navy); color: #f6fbf8; }
.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: inherit; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand img { border-radius: 8px; border: 1px solid rgba(255,255,255,.18); }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { color: #cfe2e0; text-decoration: none; }
.top nav a:hover { color: #fff; }
.top nav .nav-cta { color: var(--navy); background: var(--mint); padding: 8px 14px; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.top nav .nav-cta:hover { color: var(--navy); background: #dcefe8; }

.hero { background: var(--navy); color: #eaf3f1; padding: 56px 0 88px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lead { font-size: 20px; color: #cfe2e0; max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.hero-note { font-size: 14px; color: #9bb6b7; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--teal); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--teal-dark); }
.button:disabled { opacity: .6; cursor: default; }

.phone { justify-self: center; width: min(100%, 300px); padding: 10px; border-radius: 38px; background: #06222e; box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.12); }
.phone-screen { border-radius: 29px; background: var(--cream); color: var(--ink); padding: 14px 14px 0; font-size: 12px; line-height: 1.35; overflow: hidden; }
.phone-bar { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.phone-bar strong { margin-right: auto; font-size: 13px; color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.phone-greeting { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 14px 0 4px; }
.phone-group { text-transform: uppercase; letter-spacing: .1em; font-size: 9.5px; font-weight: 700; color: #86754f; margin: 14px 0 6px; }
.row { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; margin-bottom: 5px; display: flex; flex-direction: column; }
.row small { color: var(--muted); font-size: 11px; }
.row small.late { color: #a8472f; }
.phone-tabs { display: flex; justify-content: space-between; margin: 14px -14px 0; padding: 10px 16px 14px; background: var(--paper); border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.phone-tabs .on { color: var(--teal-dark); font-weight: 700; }

.section { padding: 80px 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.questions { margin-top: -44px; padding-bottom: 8px; }
.questions .three > div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 10px 30px rgba(12,51,70,.07); }
.questions h2 { font-size: 22px; margin-bottom: 8px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.three p, .cards p { color: var(--muted); margin-bottom: 0; font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.cards article { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; border-top: 3px solid var(--mint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(.28em + 4px); width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.split > div > .ticks { margin-top: 20px; }

.chat { margin: 0; background: var(--sage); border: 1px solid #dce8dd; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.chat figcaption { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: #86754f; margin-bottom: 4px; }
.chat p { margin: 0; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; max-width: 88%; }
.chat .me { align-self: flex-end; background: var(--navy); color: #f6fbf8; border-bottom-right-radius: 4px; }
.chat .it { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }

.waitlist form { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 8px; }
.waitlist label { font-size: 14px; font-weight: 600; margin-top: 8px; }
.optional { font-weight: 400; color: var(--muted); }
.waitlist input { font: inherit; min-height: 48px; padding: 0 12px; border: 1px solid #c9d2cf; border-radius: 9px; background: #fff; color: var(--ink); width: 100%; }
.waitlist .button { margin-top: 16px; }
.trap { position: absolute; left: -9999px; }
.status { min-height: 1.6em; margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.status.error { color: #a8472f; }
.status.done { color: var(--teal-dark); font-weight: 600; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }

.prose h1 { font-size: 40px; }
.prose h2 { font-size: 22px; margin: 32px 0 8px; }

.foot { background: var(--navy); color: #9bb6b7; font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.foot a { color: #cfe2e0; }

@media (max-width: 860px) {
  .hero { padding: 36px 0 76px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .three, .cards { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .top nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .brand span { font-size: 17px; }
  .top nav .nav-cta { padding: 8px 10px; font-size: 14px; }
}
