:root {
  --bg: #090a0a;
  --surface: #121313;
  --surface-2: #191a1a;
  --border: #353837;
  --text: #f3f2ec;
  --muted: #a4a6a1;
  --yellow: #ffd900;
  --yellow-soft: #29250d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
.section-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding: 0 max(20px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(9,10,10,.84); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.brand-eye { position: relative; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--yellow); }
.brand-eye::before { content: ""; width: 19px; height: 10px; border-radius: 50%; background: #111; }
.brand-eye i { position: absolute; width: 7px; height: 10px; border-radius: 50%; background: var(--yellow); }
.nav { display: flex; gap: 28px; color: var(--muted); font-size: 13px; font-weight: 700; }
.nav a:hover { color: var(--text); }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border: 1px solid var(--yellow); border-radius: 11px; background: var(--yellow); color: #181600; font-weight: 850; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 38px; padding-inline: 16px; font-size: 12px; }
.button--secondary { border-color: var(--border); background: transparent; color: var(--text); }
.button--secondary:hover { border-color: var(--yellow); }
.kicker { margin: 0; color: var(--yellow); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.kicker span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 730px; align-items: center; gap: 70px; padding-block: 90px; }
.hero h1 { max-width: 680px; margin: 22px 0 22px; font-size: clamp(48px, 6.2vw, 84px); line-height: .96; letter-spacing: -.065em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 610px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0 0; padding: 0; color: var(--muted); font-size: 12px; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--yellow); font-weight: 900; }
.hero-visual { position: relative; min-height: 590px; }
.spotlight { position: absolute; border-radius: 50%; filter: blur(1px); }
.spotlight--one { inset: 9% 4% auto auto; width: 410px; height: 410px; background: var(--yellow); opacity: .92; }
.spotlight--two { inset: auto auto 3% 0; width: 240px; height: 240px; border: 1px solid #4a451d; background: #1c1a0d; }
.mini-popup { position: absolute; top: 50%; left: 50%; width: min(410px, 92%); padding: 22px; border: 1px solid #444746; border-radius: 26px; background: rgba(12,13,13,.96); box-shadow: 0 28px 80px rgba(0,0,0,.48); transform: translate(-50%, -50%) rotate(2deg); }
.mini-top { display: flex; justify-content: space-between; color: var(--yellow); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.mini-top b { color: var(--muted); letter-spacing: 0; }
.mini-popup h2 { margin: 7px 0 18px; font-size: 23px; }
.mini-mode { display: flex; min-height: 70px; align-items: center; gap: 12px; margin-top: 8px; padding: 10px 14px; border: 1px solid #3c3f3e; border-radius: 17px; }
.mini-mode > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: #252727; }
.mini-mode div { display: grid; }
.mini-mode small { color: var(--muted); }
.mini-mode i { margin-left: auto; font-style: normal; font-weight: 900; }
.mini-mode.is-active { border-color: var(--yellow); background: var(--yellow); color: #171500; }
.mini-mode.is-active > span { background: rgba(0,0,0,.1); }
.mini-mode.is-active small { color: rgba(0,0,0,.62); }
.mini-diagnosis { margin-top: 15px; padding: 16px; border: 1px solid #3c3f3e; border-radius: 17px; }
.mini-diagnosis small { color: var(--yellow); font-weight: 850; letter-spacing: .1em; }
.mini-diagnosis b { display: block; margin-top: 10px; font-size: 18px; }
.mini-diagnosis p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

.features { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; padding-block: 120px; border-top: 1px solid var(--border); }
.section-heading h2 { margin: 17px 0; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p:last-child { max-width: 540px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-card { min-height: 250px; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.feature-card--accent { background: var(--yellow); color: #171500; }
.feature-card h3 { margin: 52px 0 9px; font-size: 22px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-card--accent p { color: rgba(0,0,0,.65); }
.feature-number { font: 800 11px/1 ui-monospace, monospace; }

.demo-section { padding-block: 120px; }
.section-heading--center { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading--center > p:last-child { margin-inline: auto; }
.extension-demo { width: min(100%, 470px); margin: 0 auto; padding: 18px 14px; border: 1px solid #404342; border-radius: 26px; background: #080909; color: #f4f3ee; box-shadow: 0 25px 90px rgba(0,0,0,.38); --demo-surface:#131414; --demo-border:#3e4241; --demo-text:#f4f3ee; --demo-muted:#a7a8a4; --demo-accent:#ffd900; --demo-ink:#171500; }
.extension-demo[data-demo-theme="light"] { background: #f5f4ef; color: #1a1b1a; --demo-surface:#fff; --demo-border:#cbcbc3; --demo-text:#1a1b1a; --demo-muted:#666863; --demo-accent:#333; --demo-ink:#fff; }
.demo-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.demo-toolbar small { color: var(--demo-accent); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.demo-toolbar h3 { margin: 3px 0 0; font-size: 23px; letter-spacing: -.04em; }
.demo-controls { display: flex; gap: 6px; }
.demo-controls select, .demo-controls button { height: 32px; border: 1px solid var(--demo-border); border-radius: 8px; background: var(--demo-surface); color: var(--demo-text); font-size: 12px; font-weight: 800; }
.demo-controls button { width: 32px; cursor: pointer; }
.demo-intro { margin: 13px 0 12px; color: var(--demo-muted); font-size: 12px; }
.demo-modes { display: grid; gap: 7px; }
.demo-mode { display: flex; min-height: 64px; align-items: center; gap: 11px; padding: 8px 13px; border: 2px solid var(--demo-border); border-radius: 16px; background: var(--demo-surface); color: var(--demo-text); text-align: left; cursor: pointer; }
.demo-mode:hover { border-color: var(--demo-muted); }
.demo-mode.is-selected { border-color: var(--demo-accent); background: var(--demo-accent); color: var(--demo-ink); }
.demo-mode-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 11px; background: rgba(127,128,128,.18); }
.demo-mode-copy { display: grid; }
.demo-mode-copy b { font-size: 15px; }
.demo-mode-copy small { color: var(--demo-muted); font-size: 11px; }
.demo-mode.is-selected .demo-mode-copy small { color: color-mix(in srgb, var(--demo-ink) 68%, transparent); }
.demo-setting { margin-top: 10px; padding: 13px; border: 1px solid var(--demo-border); border-radius: 14px; background: var(--demo-surface); }
.demo-setting label { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--demo-muted); font-size: 11px; font-weight: 800; }
.demo-setting select, .demo-setting input { width: 100%; accent-color: var(--demo-accent); }
.demo-diagnosis { margin-top: 12px; padding: 16px; border: 2px solid var(--demo-border); border-radius: 18px; background: var(--demo-surface); }
.demo-diagnosis > small { color: var(--demo-accent); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.demo-diagnosis h4 { margin: 12px 0 7px; font-size: 21px; }
.demo-diagnosis p { margin: 0; color: var(--demo-muted); font-size: 13px; }
.demo-diagnosis button { width: 100%; min-height: 38px; margin-top: 12px; border: 1px solid var(--demo-accent); border-radius: 9px; background: transparent; color: var(--demo-accent); font-size: 11px; font-weight: 850; cursor: pointer; }
#demo-advice { margin-top: 10px; padding: 11px; border-left: 3px solid var(--demo-accent); border-radius: 8px; background: color-mix(in srgb, var(--demo-accent) 8%, transparent); color: var(--demo-muted); font-size: 12px; }

.privacy-callout { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-block: 80px; padding: 52px; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); }
.privacy-callout h2 { margin: 12px 0; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.05em; }
.privacy-callout p:last-child { max-width: 700px; margin: 0; color: var(--muted); }
.privacy-callout .button { flex: 0 0 auto; }
.final-cta { margin-block: 100px; padding: 90px 30px; border-radius: 30px; background: var(--yellow); color: #171500; text-align: center; }
.final-cta .kicker { color: #171500; }
.final-cta h2 { margin: 18px 0 12px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.06em; }
.final-cta > p:not(.kicker) { margin: 0 0 26px; color: rgba(0,0,0,.65); }
.final-cta .button { border-color: #171500; background: #171500; color: var(--yellow); }
.footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; min-height: 120px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer a:hover { color: var(--text); }

.privacy-page { min-height: calc(100vh - 196px); padding-block: 80px 120px; }
.privacy-hero { max-width: 820px; margin-bottom: 48px; }
.privacy-hero h1 { margin: 18px 0; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -.06em; }
.privacy-hero p:last-child { color: var(--muted); font-size: 18px; }
.privacy-content { max-width: 820px; }
.privacy-content section { margin-top: 12px; padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.privacy-content h2 { margin: 0 0 10px; font-size: 20px; }
.privacy-content p, .privacy-content li { color: var(--muted); }
.privacy-content a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 70px; }
  .hero-visual { min-height: 620px; }
  .features { grid-template-columns: 1fr; }
  .privacy-callout { align-items: flex-start; flex-direction: column; }
  .footer { grid-template-columns: 1fr; gap: 18px; padding-block: 30px; }
}

@media (max-width: 620px) {
  .section-shell { width: min(calc(100% - 24px), var(--max)); }
  .site-header { min-height: 66px; padding-inline: 12px; }
  .site-header .brand span:last-child { display: none; }
  .site-header > .button { min-height: 36px; padding-inline: 12px; font-size: 11px; }
  .hero { min-height: auto; padding-block: 60px; }
  .hero h1 { font-size: 49px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 560px; }
  .spotlight--one { width: 310px; height: 310px; }
  .mini-popup { width: 100%; padding: 15px; transform: translate(-50%, -50%); }
  .features, .demo-section { padding-block: 80px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .extension-demo { border-radius: 20px; }
  .privacy-callout { margin-block: 40px; padding: 28px; }
  .final-cta { margin-block: 60px; padding: 60px 18px; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 10px; }
}

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