:root {
  --mist: #e8eef5;
  --mist-elev: #f4f7fb;
  --mist-soft: #d5dee9;
  --ink: #041026;
  --void: #041026;
  --navy: #1b3a5f;
  --navy-deep: #0f2744;
  --muted: #5b6f88;
  --on-void: #e6ecf2;
  --line: rgba(4, 16, 38, 0.14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: var(--void);
  color: var(--on-void);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.bar-link { font-size: 15px; text-decoration: none; padding: 8px 14px; border: 1px solid rgba(230, 236, 242, 0.35); border-radius: 999px; }
.bar-link:hover, .bar-link:focus-visible { background: rgba(230, 236, 242, 0.12); }
main { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 7vw, 80px); max-width: 760px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist-elev);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); }
h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.01em; }
.lede { margin: 24px 0 0; max-width: 620px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 36px 0 0; }
.cta {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(4, 16, 38, 0.18);
}
.cta:hover, .cta:focus-visible { background: var(--navy-deep); }
.cta-note { color: var(--muted); font-size: 14px; }
a:focus-visible { outline: 3px solid #7eb6e8; outline-offset: 3px; }
.panel {
  margin: 0 0 clamp(48px, 8vw, 96px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: 20px;
  background: var(--void);
  color: var(--on-void);
}
.panel h2 { margin: 0 0 28px; color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.points h3 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.points p { margin: 0; color: rgba(230, 236, 242, 0.78); font-size: 15px; }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 64px) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot p { margin: 0; }
@media (max-width: 760px) {
  .points { grid-template-columns: 1fr; gap: 22px; }
  .bar-link { padding: 6px 12px; }
}
/* ---- Marketing banner: static copy of the app's .marketing-header (navy chrome, white text) ---- */
.marketing-header {
  position: sticky; top: 0; z-index: 30;
  padding: 0 1.5rem;
  background: #1b3a5f; /* --cta */
  color: #e6ecf2; /* --on-ink */
  border-bottom: 1px solid rgba(230, 236, 242, 0.14);
  box-shadow: 0 12px 40px rgba(4, 16, 38, 0.06); /* --shadow-l1 */
}
.mh-row { display: flex; height: 3.5rem; align-items: center; justify-content: space-between; max-width: none; }
.mh-left { display: flex; align-items: center; gap: 2rem; }
.mh-right { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; }
.mh-logo { display: inline-flex; align-items: center; }
.mh-logo img { height: 2rem; width: auto; max-height: 2.25rem; }
.mh-nav { display: none; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
@media (min-width: 768px) { .mh-nav { display: flex; } }
.marketing-header .nav-pill {
  display: inline-flex; align-items: center;
  padding: 0.375rem 0.75rem; border-radius: 999px; border: 1px solid transparent;
  color: rgba(230, 236, 242, 0.88); text-decoration: none; font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease;
}
.marketing-header .nav-pill:hover,
.marketing-header .nav-pill:focus-visible { background: rgba(230, 236, 242, 0.14); color: #e6ecf2; }
.marketing-header .nav-pill.is-active {
  background: rgba(232, 238, 245, 0.22); border-color: rgba(230, 236, 242, 0.55); color: #e6ecf2;
}
.marketing-header .link-underline { color: #e6ecf2; text-decoration: none; opacity: 0.85; }
.marketing-header .link-underline:hover,
.marketing-header .link-underline:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.mh-contact { display: none; }
@media (min-width: 640px) { .mh-contact { display: inline-flex; } }
.btn-header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8eef5; /* --bg */ color: #1b3a5f; /* --cta */
  border: 1px solid rgba(230, 236, 242, 0.35); border-radius: 12px;
  padding: 0.55rem 1rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; box-shadow: 0 12px 40px rgba(4, 16, 38, 0.06);
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.btn-header-cta:hover,
.btn-header-cta:focus-visible { background: #e6ecf2; color: #0f2744; border-color: #e6ecf2; box-shadow: 0 16px 48px rgba(4, 16, 38, 0.1); }
.btn-header-cta:active { transform: scale(0.98); }
/* ---- Early access form (Netlify Forms, no JS) ---- */
.signup { margin: clamp(40px, 7vw, 72px) 0 clamp(48px, 8vw, 96px); max-width: 640px; scroll-margin-top: 80px; }
.signup h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 36px); color: var(--ink); }
.signup-lede { margin: 12px 0 28px; color: var(--muted); }
.ea-form { display: grid; grid-template-columns: 1fr; gap: 18px; padding: clamp(20px, 4vw, 32px); background: var(--mist-elev); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(4, 16, 38, 0.06); }
@media (min-width: 640px) { .ea-form { grid-template-columns: 1fr 160px; } .ea-form .field:last-of-type, .ea-actions { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(4, 16, 38, 0.22); border-radius: 10px; padding: 11px 14px; min-height: 46px; width: 100%; }
.field input:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.ea-actions { margin: 4px 0 0; }
.ea-form button.cta { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.cta:focus-visible, .btn-header-cta:focus-visible, .nav-pill:focus-visible, .link-underline:focus-visible, .back-link:focus-visible { outline: 3px solid #e6ecf2; outline-offset: 2px; box-shadow: 0 0 0 6px var(--navy); }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Thank-you page */
.thanks { padding: clamp(56px, 10vw, 120px) 0; max-width: 640px; }
.thanks h1 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; }
.thanks p { color: var(--muted); }
.back-link { display: inline-block; margin-top: 28px; color: var(--navy); font-weight: 600; text-underline-offset: 4px; }