/* Palette from src/theme/tokens.ts (light, plus the dark band from dark).
   Card white is the approved artboard surface. No token is lighter than paper. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  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: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  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: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
  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: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latin-700-normal.woff2") format("woff2");
  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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  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;
}

:root {
  --paper: #F4EFE6;
  --ink: #1B1A17;
  --muted: #5E594E;
  --rule: #C9C2B2;
  --accent: #2F5D50;
  --sunk: #DCD7CA;
  --card: #FFFFFF;
  --night: #151810;
  --nink: #F1EDDF;
  --nmuted: #9B968A;
  --naccent: #91BFA9;
  --nrules: #3A382F;
  --nsunk: #242B24;
  --radius: 16px;
  --hit: 44px;
  --gutter: 20px;
  --shadow-phone: 0 40px 80px -20px rgba(27, 26, 23, 0.45);
  --shadow-card: 0 30px 60px -30px rgba(27, 26, 23, 0.25);
  --shadow-callout: 0 12px 30px -10px rgba(27, 26, 23, 0.3);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  transform: translateY(-150%);
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius);
  z-index: 10;
}
.skip:focus { transform: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.vial {
  width: 22px;
  height: 28px;
  border: 2.5px solid var(--accent);
  border-radius: 4px 4px 6px 6px;
  position: relative;
  overflow: hidden;
  flex: none;
}
.vial::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: var(--accent);
}
.links { display: flex; gap: 28px; font-size: 15px; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }

.cta {
  background: var(--accent);
  color: var(--card);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  min-height: var(--hit);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1.5px solid transparent;
}
.cta.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.cta:hover { filter: brightness(1.05); }
.cta.ghost:hover { background: var(--sunk); filter: none; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 40px;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--sunk);
  padding: 7px 12px;
  border-radius: 999px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
h1 { font-size: 76px; line-height: 0.98; margin: 22px 0; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.trust {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.trust li { display: flex; gap: 7px; align-items: center; }
.trust b { color: var(--ink); font-weight: 600; }
.ck {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--card);
  font-size: 11px;
  display: grid;
  place-items: center;
  flex: none;
}

.phones { position: relative; height: 620px; z-index: 2; }
.phone {
  position: absolute;
  width: 270px;
  border-radius: 44px;
  border: 9px solid #12140f;
  background: #12140f;
  box-shadow: var(--shadow-phone), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.phone img { width: 100%; display: block; border-radius: 35px; aspect-ratio: 360 / 782; }
.p1 { right: 150px; top: 10px; z-index: 2; }
.p2 { right: 0; top: 80px; transform: rotate(4deg); }
.phone.stand { position: relative; margin: 0 auto; transform: none; top: auto; right: auto; }
.callout {
  position: absolute;
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow-callout);
  font-size: 13px;
  z-index: 3;
  color: var(--ink);
}
.callout b {
  display: block;
  font-size: 20px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.callout-draw { left: 0; top: 150px; }
.callout-date { left: 30px; bottom: 70px; }

section { padding: 90px 0; }
.band { background: var(--night); color: var(--nink); position: relative; z-index: 1; }
.band .mut, .band .big { color: var(--nmuted); }
h2 { font-size: 54px; line-height: 1.02; max-width: 760px; }
.band h2 em { color: var(--naccent); }
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.band .kicker { color: var(--naccent); }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.cmpc { border-radius: var(--radius); padding: 28px; border: 1px solid var(--nrules); }
.cmpc.us { background: var(--nsunk); border-color: var(--accent); }
.cmpc h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.cmpc ul { list-style: none; margin: 0; padding: 0; }
.cmpc li {
  padding: 11px 0;
  border-top: 1px solid var(--nrules);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cmpc li span { color: var(--nmuted); text-align: right; }
.cmpc.us li span { color: var(--naccent); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px;
}
.card .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sunk);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.sunk-band { background: var(--sunk); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.big { font-size: 22px; line-height: 1.55; color: var(--muted); margin-top: 18px; }
.stats { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.stats b {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stats span { font-size: 14px; color: var(--muted); }

.calc {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.calc h2, .calc .calc-title { font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 0; }
form label,
.calc label, .field-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 6px;
}
.static-in, .field {
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: var(--hit);
  background: var(--card);
}
.static-in i { font-style: normal; color: var(--muted); font-size: 15px; }
.field input, .field select {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0;
  min-width: 0;
  width: 100%;
}
.field select { width: auto; min-width: 64px; padding-right: 20px; font-size: 15px; color: var(--muted); }
.field select.grow { flex: 1; width: 100%; color: var(--ink); font-size: 18px; }
.field .unit { color: var(--muted); font-size: 15px; flex: none; }
.field input:focus, .field select:focus { outline: none; }
.out {
  margin-top: 18px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 18px;
}
.out-kicker { font-size: 13px; color: var(--muted); }
.out-figure { margin-top: 4px; }
.out-figure strong {
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.out-figure span { font-size: 18px; font-weight: 600; margin-left: 6px; }
.out-meta { color: var(--muted); margin-top: 6px; }
.out-notes { margin: 10px 0 0; padding-left: 18px; color: var(--ink); font-size: 14px; line-height: 1.45; }
.out-notes:empty { display: none; }
.out[data-state="blocked"] .out-figure { display: none; }
.marking { margin-top: 12px; color: var(--muted); font-size: 14px; }
.text-btn {
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 8px 0;
  min-height: var(--hit);
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}
.example-note { margin-top: 8px; color: var(--muted); font-size: 14px; }

.faq { max-width: 820px; }
.q { border-top: 1px solid var(--rule); padding: 22px 0; }
.q h3 { font-size: 18px; font-weight: 600; }
.q p { color: var(--muted); margin-top: 8px; line-height: 1.6; font-size: 16px; }
.final { text-align: center; padding: 100px 0; }
.final h2 { margin: 0 auto; }
.final .ctas { justify-content: center; }
.final .big { max-width: 560px; margin: 16px auto 0; }

footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 14px;
}
.fcols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.fcols nav { display: flex; gap: 22px; flex-wrap: wrap; }
.fcols a { color: var(--muted); text-decoration: none; }
.fcols a:hover { color: var(--ink); }
.logo.small { font-size: 15px; color: var(--ink); }
.logo.small .vial { width: 16px; height: 21px; border-width: 2px; }

.page { padding: 12px 0 72px; }
.page h1 { font-size: 64px; line-height: 1; margin: 12px 0 18px; }
.prose { max-width: 760px; }
.prose h2 { font-family: Inter, system-ui, sans-serif; font-size: 22px; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin: 36px 0 10px; max-width: none; }
.prose p, .prose li { font-size: 16px; line-height: 1.6; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 1.2em; }
.prose li { margin: 0 0 10px; }
.prose a { color: var(--accent); }
.prose a.cta { color: var(--card); }
.prose a.cta.ghost { color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.field:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .hero, .split, .cmp { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  h1 { font-size: 50px; }
  .page h1 { font-size: 44px; }
  h2 { font-size: 38px; }
  .links { display: none; }
  .phones { height: 620px; }
  .phone { width: 230px; }
  .p2 { top: 70px; }
  .p1 { right: auto; left: 0; }
  .p2 { right: 0; }
  section { padding: 64px 0; }
  .hero .ctas { flex-direction: column; align-items: flex-start; }
  .hero .ctas .cta { min-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; }
.plan.pro { border-color: var(--accent); }
.plan h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.plan .price { font-family: 'Instrument Serif', serif; font-size: 48px; line-height: 1; margin: 0 0 16px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { font-size: 15px; line-height: 1.5; padding: 7px 0; border-top: 1px solid var(--rule); }
.plan .tiers { margin-bottom: 14px; }
.plan .tiers li { display: flex; align-items: baseline; gap: 12px; border-top: 0; padding: 4px 0; }
.plan .tiers b { font-family: 'Instrument Serif', serif; font-size: 32px; font-weight: 400; }
.plan .tiers span { color: var(--muted); }
.fine { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 20px; max-width: 760px; }
.fine a { color: var(--accent); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.prose h3 { font-family: Inter, system-ui, sans-serif; font-size: 17px; font-weight: 600; margin: 22px 0 6px; }

.tag {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--card);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tour {
  list-style: none;
  margin: 40px 0 0;
  padding: 8px 4px 28px;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.tour li { flex: none; width: 220px; scroll-snap-align: start; }
.tour figure { margin: 0; }
.phone-s {
  border-radius: 36px;
  border: 7px solid #12140f;
  background: #12140f;
  box-shadow: var(--shadow-phone), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.phone-s img { width: 100%; height: auto; display: block; border-radius: 29px; aspect-ratio: 540 / 1174; }
.tour figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.tour figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 2px; }
@media (min-width: 901px) {
  .tour { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; overflow: visible; padding-bottom: 0; }
  .tour li { width: auto; max-width: 260px; margin: 0 auto; }
}
