:root {
  --bg: #050506;
  --bg-2: #08080a;
  --panel: #0c0c0f;
  --panel-2: #111115;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --muted: #9b9ba4;
  --dim: #6d6d76;
  --white: #ffffff;
  --silver: linear-gradient(135deg, #ffffff 0%, #cfcfd6 36%, #8b8b95 62%, #f3f3f6 100%);
  --radius: 18px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(255,255,255,0.07), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(255,255,255,0.035), transparent 55%);
  z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--line-strong); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(48px, 8.2vw, 104px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
.muted { color: var(--muted); }
.silver {
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand-name span { color: var(--dim); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--white); color: #050506; }
.btn-primary:hover { background: #e6e6e9; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.03); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; }

/* hero */
.hero { padding: 92px 0 72px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-copy h1 { margin: 22px 0 24px; }
.hero-sub { max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font-size: 14px; font-weight: 600; }
.hero-meta span { font-size: 12px; color: var(--dim); }

.hero-visual { position: relative; }
.result-card {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.08);
  background: #000;
}
.result-card > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #050506; }
.result-card .grain {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 55%, rgba(0,0,0,0.55) 100%);
}
.live-badge {
  position: absolute; top: 16px; left: 16px;
  display: flex; align-items: center; gap: 7px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(5,5,6,0.66); border: 1px solid rgba(255,255,255,0.18);
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.15); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.result-caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.result-caption .cap { font-size: 12px; color: rgba(255,255,255,0.72); }
.result-caption .cap strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.source-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 8px; border-radius: 12px;
  background: rgba(5,5,6,0.72); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}
.source-chip img { width: 36px; height: 46px; object-fit: cover; border-radius: 7px; }
.source-chip span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* trust strip */
.trust { padding: 26px 0; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.trust-items { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.trust-items span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: -0.01em; }

/* sections */
.section { padding: 104px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 54px; }
.section-head p { max-width: 420px; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.0));
}
.step-num { font-size: 12px; color: var(--dim); letter-spacing: 0.14em; }
.step h3 { margin: 20px 0 10px; }
.step p { color: var(--muted); font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  background: var(--panel); position: relative; overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -110px;
  background: radial-gradient(circle, rgba(255,255,255,0.09), transparent 70%);
  pointer-events: none;
}
.feature .icon { width: 34px; height: 34px; color: #fff; opacity: 0.9; margin-bottom: 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14px; max-width: 440px; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.compare-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.compare-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #050506; }
.compare-card .label { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 12px; color: var(--muted); }
.compare-card .label strong { color: var(--text); font-weight: 600; }
.compare-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); }
.compare-source img { object-position: center 20%; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: var(--panel); display: flex; flex-direction: column; min-height: 330px;
}
.price-card.featured { background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01)); border-color: rgba(255,255,255,0.26); }
.price-tag { font-size: 38px; font-weight: 600; letter-spacing: -0.04em; margin: 14px 0 2px; }
.price-tag span { font-size: 14px; color: var(--dim); font-weight: 500; letter-spacing: 0; }
.price-min { color: var(--muted); font-size: 13px; }
.price-card ul { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.price-card li { font-size: 13px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.price-card li::before { content: ""; width: 4px; height: 4px; margin-top: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.price-card .btn { margin-top: auto; width: 100%; }
.badge { align-self: flex-start; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: #050506; background: #fff; padding: 4px 8px; border-radius: 999px; font-weight: 700; }
.price-note { margin-top: 22px; color: var(--dim); font-size: 13px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 14px; padding: 0 40px 24px 0; max-width: 720px; }

/* cta */
.cta-band { padding: 96px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 50% 0%, rgba(255,255,255,0.08), transparent 70%);
}
.cta-inner { text-align: center; position: relative; }
.cta-inner h2 { margin-bottom: 18px; }
.cta-inner p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }

/* footer */
.site-footer { padding: 64px 0 34px; background: #030304; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: var(--dim); font-size: 13px; margin-top: 14px; max-width: 260px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 13px; padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 34px; margin-top: 48px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; flex-wrap: wrap; }

/* simple page header */
.page-head { padding: 76px 0 44px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 16px; }
.page-head p { color: var(--muted); max-width: 620px; }
.page-body { padding: 64px 0 100px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 42px 0 12px; letter-spacing: -0.02em; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.note { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--muted); font-size: 13px; margin: 22px 0; background: var(--panel); }

/* download */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.download-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--panel); }
.download-card h3 { margin-bottom: 8px; }
.download-card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.download-meta { margin-top: 12px; font-size: 12px; color: var(--dim); }

/* mobile */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 64px; }
  .feature-grid, .steps, .download-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { display: none; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 24px 20px; background: #050506; border-bottom: 1px solid var(--line);
  }
  .nav.open a { padding: 10px 0; font-size: 15px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .hero-meta { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-name { font-size: 15px; }
}

/* motion */
.site-header.scrolled { background: rgba(5,5,6,0.9); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* nav button text must stay dark on white */
.nav a.nav-cta.btn-primary,
.nav a.nav-cta.btn-primary:hover { color: #050506; }
.brand img { height: 34px; }

/* prevent grid children from forcing horizontal overflow */
.hero-grid > *, .section-head > *, .compare > *, .footer-grid > * { min-width: 0; }
@media (max-width: 720px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-sub { font-size: 16px; max-width: 100%; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .result-caption { flex-direction: column; align-items: flex-start; }
  .source-chip { align-self: flex-end; }
}

/* reference thumbnail visibility */
.source-chip img { background: #141419; border: 1px solid rgba(255,255,255,0.18); }
