/* Reviews Hub — landing page only (index.html).
   Other pages (onboarding, legal, success) keep using style.css. */
:root {
  --navy: #0b1530;
  --navy-2: #13204a;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-soft: #eef4ff;
  --amber: #e5a00d;
  --green: #0f7a4b;
  --green-soft: #e8f6ef;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
/* clip, not hidden: hidden turns body into a scroll container and breaks the sticky header */
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { margin: 0; color: inherit; letter-spacing: -0.02em; }
p, ul, ol { margin: 0; }
a { color: var(--blue); }
img, svg { display: block; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-quiet { color: #dbe4f5; border-color: rgba(255,255,255,.22); background: transparent; }
.btn-quiet:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-lg { font-size: 16px; padding: 14px 24px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.header-nav { display: flex; gap: 24px; margin-left: auto; }
.header-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.header-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 24px; }

.lang {
  position: relative; display: inline-flex; align-items: center;
}
.lang select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .03em;
  color: var(--ink-2); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 26px 7px 10px; cursor: pointer;
}
.lang select:hover { border-color: #cbd5e1; }
.lang .icon { position: absolute; right: 7px; width: 14px; height: 14px; pointer-events: none; color: var(--ink-3); }
.cta-short { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(37,99,235,.28), transparent 70%);
  color: #fff;
  padding: 72px 0 80px;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: #a9c1f5; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; max-width: 14ch; }
.hero-lead { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: #c3cee3; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 14px; color: #93a3c2; }

/* Demo card */
.demo {
  background: #fff; color: var(--ink);
  border-radius: 18px; padding: 18px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  max-width: 440px; width: 100%; margin: 0; justify-self: end;
}
.demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.demo-title { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.demo-title img { width: 20px; height: 20px; border-radius: 5px; }
.demo-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px;
}
.d-review { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.d-row { display: flex; align-items: center; gap: 10px; }
.d-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: #e2e8f0; color: var(--ink-2); font-weight: 600; font-size: 13px;
  display: grid; place-items: center;
}
.d-name { font-weight: 600; font-size: 14px; }
.d-stars { color: var(--amber); font-size: 13px; letter-spacing: 1px; line-height: 1; }
.d-stars .off { color: #d5dbe5; }
.d-text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.d-draft { margin-top: 10px; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; }
.d-draft-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--blue); }
.d-draft-label .icon { width: 15px; height: 15px; }
.d-draft p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.d-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.d-status { font-size: 12px; font-weight: 600; color: #9a6700; background: #fff6e0; border-radius: 6px; padding: 4px 8px; margin-right: auto; }
.d-btn { font-size: 12px; font-weight: 600; border-radius: 8px; padding: 6px 11px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.d-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.d-auto {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13px;
}
.d-auto .d-name { font-size: 13px; }
.d-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-soft); border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.d-pill .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.demo-foot { margin-top: 12px; font-size: 12px; color: var(--ink-3); text-align: center; }

/* Categories strip */
.cats { border-bottom: 1px solid var(--line); background: #fff; }
.cats-inner { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; justify-content: center; padding: 18px var(--gutter); font-size: 14px; color: var(--ink-3); }
.cats-label { font-weight: 600; color: var(--ink-2); }
.cats ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; justify-content: center; }
.cats li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink-2); font-size: 13px; background: var(--bg-soft); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; font-weight: 700; }
.section-head p { margin-top: 12px; font-size: 1.05rem; color: var(--ink-3); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.step-n { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.step h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.step code, .guide code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em;
  background: var(--blue-soft); color: var(--blue-hover); border-radius: 5px; padding: 1px 5px;
  overflow-wrap: anywhere;
}
.guide { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.guide summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue);
}
.guide summary::-webkit-details-marker { display: none; }
.guide summary .icon { width: 16px; height: 16px; transition: transform .2s; }
.guide[open] summary .icon { transform: rotate(180deg); }
.guide ol { margin-top: 10px; padding-left: 20px; font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; }
.guide .guide-note { margin-top: 10px; font-size: 13px; color: var(--ink-3); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit { padding: 4px 6px; }
.benefit-icon { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy-2); display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow); }
.benefit h3 { font-size: 1.12rem; font-weight: 600; }
.benefit p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Pricing */
.price-card {
  max-width: 460px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  box-shadow: var(--shadow);
}
.price-top { display: flex; align-items: baseline; gap: 6px; }
.price-value { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-period { color: var(--ink-3); font-size: 1.05rem; }
.price-trial { margin-top: 10px; display: inline-block; font-size: 13px; font-weight: 600; color: var(--blue-hover); background: var(--blue-soft); border-radius: 6px; padding: 4px 9px; }
.price-list { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 10px; }
.price-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.price-list .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.2; }
.price-terms { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-3); display: grid; gap: 4px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; font-size: 16px; border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--blue); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* Footer */
.footer { background: var(--navy); color: #93a3c2; padding: 36px 0; font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer .brand { color: #fff; font-size: 16px; }
.footer-tag { margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; }
.footer-links a { color: #c3cee3; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }

/* Cookie notice */
.cookie-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 640px; margin: 0 auto;
  background: var(--navy); color: #dbe4f5; border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); font-size: 13px; line-height: 1.5;
  transition: opacity .25s, transform .25s;
}
.cookie-notice-hiding { opacity: 0; transform: translateY(16px); pointer-events: none; }
.cookie-notice-inner { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.cookie-notice-body { flex: 1; min-width: 200px; }
.cookie-notice-actions { display: flex; align-items: center; gap: 12px; }
.cookie-notice-link { color: #a9c1f5; font-weight: 500; }
.cookie-notice-btn { font: inherit; font-weight: 600; font-size: 13px; background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.cookie-notice-btn:hover { background: var(--blue-hover); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero h1 { max-width: 18ch; }
  .demo { justify-self: start; }
  .steps, .benefits { grid-template-columns: minmax(0, 1fr); }
  .benefits { gap: 28px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .header-inner { height: 58px; gap: 8px; }
  .header-actions { gap: 8px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header .btn { padding: 9px 13px; font-size: 14px; }
  .hero-cta .btn { width: 100%; white-space: normal; text-align: center; }
  .demo { padding: 14px; }
  .price-card { padding: 24px 20px; }
  .step { padding: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 370px) {
  .brand span { font-size: 15px; }
  .lang select { padding: 7px 22px 7px 8px; }
}

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