/* Foveal marketing site — hand-authored per docs/WEBSITE_BRIEF.md.
   Palette: paper white / ink / product teal (app token hsl(184 78% 27%)).
   The brief's banned-aesthetics list applies to every future edit of this file. */

@font-face {
  font-family: 'IBM Plex Serif';
  src: url('fonts/IBMPlexSerif-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/IBMPlexSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/IBMPlexSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
/* Fonts are self-hosted (see fonts/README). Fallbacks below keep the site
   presentable before the woff2 files are added. */

:root {
  --paper: #faf9f6;
  --ink: #1c1c1a;
  --ink-soft: #55544f;
  --teal: #0f737b;
  --teal-dark: #0b565c;
  --green: #2e6b46;
  --hairline: #d9d6cf;
  --frame: #c9c5bc;
  --serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header.site {
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
}
header.site .wrap {
  display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap;
}
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  letter-spacing: 0.01em; color: var(--ink); text-decoration: none;
}
.wordmark span { color: var(--teal); }
nav.site { display: flex; gap: 22px; margin-left: auto; align-items: baseline; }
nav.site a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
nav.site a:hover { color: var(--ink); }
nav.site a.cta {
  color: #fff; background: var(--teal); padding: 8px 16px; border-radius: 4px;
  font-weight: 600;
}
nav.site a.cta:hover { background: var(--teal-dark); color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 56px; }
.hero .kicker {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.12; max-width: 17ch;
}
.hero p.sub {
  margin-top: 22px; font-size: 19px; color: var(--ink-soft); max-width: 58ch;
}
.hero .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 4px;
}
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-dark); }
.btn.quiet { color: var(--teal); border: 1px solid var(--hairline); background: #fff; }
.btn.quiet:hover { border-color: var(--teal); }

/* ---------- stat strip ---------- */
.stats {
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline);
  padding: 34px 0;
}
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat .num {
  font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1; color: var(--ink);
}
.stat .num small { font-size: 0.45em; color: var(--ink-soft); font-family: var(--sans); font-weight: 400; }
.stat .cap { margin-top: 10px; color: var(--ink-soft); font-size: 15px; max-width: 26ch; }
.stats .note { margin-top: 22px; font-size: 13px; color: var(--ink-soft); }

/* ---------- sections ---------- */
section.block { padding: 72px 0; border-bottom: 1px solid var(--hairline); }
.sec-label {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); font-weight: 600;
}
.sec-label .no { color: var(--ink-soft); margin-right: 10px; }
section.block h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 36px);
  margin-top: 14px; max-width: 26ch; line-height: 1.2;
}
section.block > .wrap > p.lead {
  margin-top: 16px; color: var(--ink-soft); max-width: 62ch; font-size: 18px;
}

/* numbered loop */
ol.loop { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: loop;
  border-top: 1px solid var(--hairline); }
ol.loop li {
  list-style: none; counter-increment: loop; padding: 26px 26px 26px 0;
  border-bottom: 1px solid var(--hairline);
}
ol.loop li::before {
  content: counter(loop, decimal-leading-zero);
  font-family: var(--serif); color: var(--teal); font-size: 15px; display: block;
  margin-bottom: 8px;
}
ol.loop li strong { display: block; font-size: 17px; margin-bottom: 6px; }
ol.loop li span { color: var(--ink-soft); font-size: 15px; }

/* filmstrip + figures */
.filmstrip { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
figure.shot { margin: 0; }
.frame {
  border: 1px solid var(--frame); background: #fff; border-radius: 3px;
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 13px; padding: 14px; text-align: center;
}
.frame.tall { aspect-ratio: 4/3; }
figure.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
figure.shot figcaption b { color: var(--ink); font-weight: 600; }

/* rx before/after */
.rxdemo { margin-top: 36px; border: 1px solid var(--hairline); border-radius: 3px; background: #fff; }
.rxdemo .row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 22px; }
.rxdemo .row + .row { border-top: 1px solid var(--hairline); }
.rxdemo .tag { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 3px; }
.rxdemo .line { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 15px; }
.rxdemo .line em { font-style: normal; background: #eaf4f3; border-radius: 2px; padding: 1px 4px; }

/* trust table */
table.trust { margin-top: 36px; width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--hairline); font-size: 16px; }
table.trust td { padding: 16px 20px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.trust tr:last-child td { border-bottom: none; }
table.trust td.check { width: 34px; color: var(--green); font-weight: 700; }
table.trust td strong { display: block; margin-bottom: 3px; }
table.trust td span { color: var(--ink-soft); font-size: 15px; }

/* pricing */
.price-card {
  margin-top: 40px; border: 1px solid var(--ink); border-radius: 4px; background: #fff;
  max-width: 560px; padding: 36px;
}
.price-card .plan { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.price-card .amount { font-family: var(--serif); font-size: 46px; font-weight: 600; margin-top: 10px; }
.price-card .amount small { font-size: 17px; font-family: var(--sans); font-weight: 400; color: var(--ink-soft); }
.price-card .founding {
  margin-top: 14px; padding: 12px 16px; background: #eaf4f3; border-radius: 3px; font-size: 15px;
}
.price-card ul { margin: 22px 0 0 0; padding: 0; list-style: none; }
.price-card li { padding: 8px 0 8px 26px; position: relative; font-size: 16px; }
.price-card li::before { content: '✓'; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.price-card .guarantee { margin-top: 22px; font-weight: 600; }
.price-card .btn { margin-top: 24px; }

/* faq */
.faq { margin-top: 36px; max-width: 760px; }
.faq details { border-top: 1px solid var(--hairline); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq details p { margin-top: 12px; color: var(--ink-soft); max-width: 68ch; }

/* testimonial slot */
.pilot { margin-top: 36px; border-left: 3px solid var(--teal); padding: 6px 0 6px 24px; max-width: 640px; }
.pilot .who { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* footer */
footer.site { padding: 44px 0 60px; font-size: 14px; color: var(--ink-soft); }
footer.site .wrap { display: flex; gap: 28px; flex-wrap: wrap; align-items: baseline; }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--ink); }
footer.site .mark { font-family: var(--serif); color: var(--ink); font-weight: 600; }

/* content pages (security/terms/privacy/demo) */
main.page { padding: 64px 0 80px; }
main.page h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 42px); max-width: 22ch; }
main.page .updated { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
main.page h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 44px 0 12px; }
main.page p, main.page li { color: var(--ink-soft); max-width: 70ch; }
main.page p strong { color: var(--ink); }
main.page ul { padding-left: 22px; margin-top: 10px; }
main.page .contact-grid { margin-top: 34px; display: grid; gap: 18px; max-width: 560px; }
main.page .contact-grid .item { border: 1px solid var(--hairline); background: #fff; border-radius: 3px; padding: 20px 22px; }
main.page .contact-grid .item strong { display: block; color: var(--ink); margin-bottom: 4px; }

@media (max-width: 780px) {
  .stats .wrap, ol.loop, .filmstrip { grid-template-columns: 1fr; }
  ol.loop li { padding-right: 0; }
  .hero { padding: 56px 0 40px; }
  section.block { padding: 52px 0; }
}
