/* OsCore: flat colors only. Fallbacks keep the page readable if the Tailwind CDN fails. */
:root {
  --paper: #F6F4EF;
  --paper2: #EEEAE0;
  --ink: #141412;
  --mute: #5F5C55;
  --line: #D8D3C7;
  --accent: #2E4A3B;
  --sand: #D9CFBA;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 28px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em, .serif { font-family: Fraunces, Georgia, "Times New Roman", serif; font-style: italic; font-weight: 300; }
h1, h2, h3 { margin: 0; }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0; }

.container-page { max-width: 1320px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 768px) { .container-page { padding-left: 40px; padding-right: 40px; } }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 8px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; font-weight: 600;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid #2E4A3B; outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #F6F4EF; }

/* Header */
#site-header { border-bottom: 1px solid transparent; }
#site-header[data-scrolled="true"] { border-bottom-color: var(--line); }
.nav-link { position: relative; }
.nav-link[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--ink);
}
@media (max-width: 767px) {
  html.js #site-menu[data-open="false"] { display: none; }
}

/* Buttons: one primary, one secondary */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid var(--ink); border-radius: 0;
  cursor: pointer; transition: background-color .35s cubic-bezier(.22,.61,.36,1), color .35s cubic-bezier(.22,.61,.36,1), border-color .35s cubic-bezier(.22,.61,.36,1);
}
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.footer-link { background-image: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer-link:hover { border-bottom-color: #F6F4EF; }
.footer-mark { font-size: clamp(5rem, 24vw, 22rem); white-space: nowrap; margin-bottom: -0.12em; }

/* Reveal system */
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js.anim-failed .reveal, html.no-motion .reveal { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line-inner { display: inline-block; }
html.js .line-inner { transform: translateY(105%); }
html.js.anim-failed .line-inner, html.no-motion .line-inner { transform: none; }
.rule-draw { transform-origin: left; }

/* Hero */
.hero-h1 { font-size: clamp(2.75rem, 7vw, 6.25rem); line-height: .98; letter-spacing: -0.035em; font-weight: 500; }
.h2 { font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 500; }
.label { font-size: 11px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.cluster { position: relative; height: clamp(400px, 92vw, 640px); }
.phone {
  position: absolute; width: clamp(120px, 30vw, 190px); aspect-ratio: 9 / 19;
  z-index: 10;
}
.phone-in {
  position: absolute; inset: 0; display: block; overflow: hidden;
  border: 1px solid var(--ink); border-radius: 22px; background: var(--paper);
  box-shadow: 0 24px 48px -28px rgba(20, 20, 18, 0.20);
}
.phone svg { display: block; }
.phone svg text { font-family: Manrope, system-ui, sans-serif; }
.phone-a { left: 0; top: 14%; }
.phone-b { left: 33%; top: 0; }
.phone-c { right: 0; top: 24%; }
#hero-canvas { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; pointer-events: none; z-index: 0; }

.disclaimer { border-top: 1px solid var(--line); padding-top: 12px; }

/* How it works numerals */
.num { font-size: clamp(4rem, 9vw, 8rem); line-height: 1; font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* Pricing bullets */
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--ink); }

/* FAQ */
details.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; font-size: 20px; line-height: 28px; font-weight: 500; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .pm { position: relative; flex: none; width: 16px; height: 16px; }
details.faq .pm::before, details.faq .pm::after { content: ""; position: absolute; background: var(--ink); }
details.faq .pm::before { left: 0; right: 0; top: 7.5px; height: 1px; }
details.faq .pm::after { top: 0; bottom: 0; left: 7.5px; width: 1px; transition: transform .3s; }
details.faq[open] .pm::after { transform: scaleY(0); }

/* Waitlist form */
.field { display: block; width: stretch; min-height: 48px; padding: 10px 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font: inherit; font-size: 16px; }
.field[aria-invalid="true"] { border-width: 2px; }
.err { min-height: 0; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--ink); font-weight: 600; }
.check { width: 22px; height: 22px; flex: none; margin-top: 3px; accent-color: #141412; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Legal */
.legal h2 { margin-top: 56px; padding-top: 24px; border-top: 1px solid #D8D3C7; font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { max-width: 68ch; }
.legal p { margin-top: 16px; color: var(--mute); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-top: 12px; color: var(--mute); }
.legal li { margin-top: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.legal strong { color: var(--ink); font-weight: 600; }
.toc a { display: block; padding: 6px 0; font-size: 14px; line-height: 20px; color: var(--mute); }
.toc a:hover { color: var(--ink); }
