/* ═══════════════════════════════════════════════════════════════════════════
   seo-pages.css — shared styling for the organic-search cluster pages
   (/virtual-try-on, /live-virtual-try-on, /virtual-try-on-chrome-extension,
   /virtual-try-on-for-shopify).

   These pages exist to rank. `/` deliberately carries NO added copy — it keeps
   its two-column hero exactly as designed — so all of the long-form text the
   search result needs lives here instead, one page per search intent, linked
   from the small nav row at the bottom of `/` and from each other.

   Tokens are copied from public/index.html so the cluster reads as the same
   product. If the landing page's palette changes, change it here too.

   Served by @vercel/static (verified: non-includeFiles static assets like
   /fonts/* and /robots.txt resolve in production the same way).
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Roobert';
  src: url('/fonts/RoobertVF.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #170404;
  --paper: #fffffc;
  --muted: #a49595;
  --line: #17040418;
  --accent: #c65a92;
  --lav: #eae4f7;
  --pink: #fec6ff;
  --pink-lt: #fedfff;
}

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

body {
  font-family: 'Roobert', 'Inter', -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

/* ── Top bar ── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 26px 0 0;
}
.topbar img { display: block; }

/* ── Hero ── */
.hero { padding: 64px 0 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 500; letter-spacing: -0.04em; line-height: 1.02;
}
.lede {
  font-size: 20px; color: var(--ink); opacity: 0.78;
  margin-top: 20px; max-width: 62ch;
}
@media (max-width: 720px) { .lede { font-size: 18px; } }

/* ── CTAs ── */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  text-decoration: none; letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: #17040408; }
.cta-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ── Sections ── */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
h2 {
  font-size: clamp(27px, 3.2vw, 36px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 18px;
}
h3 {
  font-size: 19px; font-weight: 500; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
p { margin-bottom: 16px; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 500; }

/* The answer block: the short, direct definition a search engine can lift. */
.answer {
  background: var(--lav); border-radius: 18px; padding: 26px 28px;
  font-size: 18px; margin-bottom: 26px;
}
.answer p { max-width: none; }

/* ── Steps ── */
.steps { display: grid; gap: 20px; margin-top: 26px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
.step-n {
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--pink-lt); color: var(--ink);
  display: grid; place-items: center; font-size: 14px; font-weight: 500;
}
.step p { margin-bottom: 0; }

/* ── Feature / benefit cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 26px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card p { font-size: 15px; opacity: 0.8; margin-bottom: 0; }

/* ── Comparison table ── */
.table-scroll { overflow-x: auto; margin-top: 26px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 500; }
.col-ours { background: #eae4f74d; }

/* ── Stats ── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 26px; }
.stat { border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.stat-n { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; }
.stat-l { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ── Code line ── */
code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
pre {
  background: var(--ink); color: var(--paper); border-radius: 14px;
  padding: 18px 20px; overflow-x: auto; margin-top: 20px;
}

/* ── FAQ ── */
.faq { margin-top: 26px; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq summary {
  cursor: pointer; font-size: 18px; font-weight: 500; letter-spacing: -0.02em;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '↓'; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: '↑'; }
.faq details p { margin: 14px 0 0; opacity: 0.82; }

/* ── Cluster nav + footer ── */
.cluster { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; font-size: 15px; }
footer { padding: 46px 0 60px; border-top: 1px solid var(--line); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; margin-top: 18px; }
.legal a { color: var(--muted); }
.powered { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
