:root {
  color-scheme: dark;
  --bg: #080c17;
  --surface: #101827;
  --surface-soft: #151f32;
  --text: #f4f7ff;
  --muted: #9eacc9;
  --line: #253149;
  --accent: #6868ff;
  --accent-strong: #4e4ce6;
  --cyan: #29d5ed;
  --cyan-soft: rgba(41, 213, 237, 0.12);
  --success: #36c99c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; width: 720px; height: 720px; top: -390px; right: -220px; border-radius: 50%; background: rgba(82, 77, 220, 0.2); filter: blur(30px); content: ""; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wrap { width: min(1400px, calc(100% - clamp(32px, 4vw, 72px))); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(37, 49, 73, 0.8); background: rgba(8, 12, 23, 0.86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.nav { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 0.88fr); gap: clamp(54px, 7vw, 110px); align-items: center; min-height: 690px; padding: 84px 0; }
.eyebrow { margin: 0 0 16px; color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(46px, 6.6vw, 76px); line-height: 1.02; letter-spacing: -0.055em; }
h2 { margin-bottom: 12px; font-size: clamp(31px, 4.5vw, 48px); line-height: 1.1; letter-spacing: -0.04em; }
h3 { margin-bottom: 8px; font-size: 19px; letter-spacing: -0.02em; }
.lede { max-width: 670px; margin-bottom: 30px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; gap: 10px; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font-weight: 750; text-decoration: none; transition: transform 150ms ease, border-color 150ms ease, background 150ms ease; }
.button svg { width: 20px; height: 20px; flex-shrink: 0; display: block; }
.button:hover { transform: translateY(-1px); border-color: #3a4968; background: var(--surface-soft); }
.button.primary { border-color: var(--accent); background: var(--accent-strong); color: #fff; box-shadow: 0 12px 28px rgba(78, 76, 230, 0.25); }
.button.primary:hover { background: var(--accent); }

.product-card { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 26px; background: rgba(16, 24, 39, 0.94); box-shadow: var(--shadow); }
.product-card::before { position: absolute; width: 260px; height: 260px; top: -150px; right: -90px; border-radius: 50%; background: rgba(104, 104, 255, 0.26); content: ""; }
.product-card > * { position: relative; }
.product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.product-brand { display: flex; align-items: center; gap: 10px; }
.product-brand img { width: 40px; height: 40px; object-fit: contain; }
.local-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #bdc7db; font-size: 11px; font-weight: 700; }
.local-pill span, .detected span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(54, 201, 156, 0.12); }
.product-tabs { display: flex; gap: 6px; margin-bottom: 18px; padding: 4px; border-radius: 10px; background: #0c1321; }
.product-tabs span { flex: 1; padding: 7px; border-radius: 7px; color: #7988a6; font-size: 12px; font-weight: 700; text-align: center; }
.product-tabs .active { background: #1c2940; color: #fff; }
.detected { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: #73e6c1; font-size: 12px; font-weight: 700; }
.code-preview { overflow: auto; min-height: 290px; margin: 0; padding: 19px; border: 1px solid #202e46; border-radius: 14px; background: #0a101c; color: #dce6fb; font: 13px/1.58 ui-monospace, SFMono-Regular, Consolas, monospace; }
.code-preview .key { color: #66d9f0; }
.code-preview .value { color: #b9a7ff; }
.code-preview .punctuation { color: #8190ab; }

.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading p:last-child, .showcase-copy > p { color: var(--muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 27px; border: 1px solid var(--line); border-radius: 17px; background: rgba(16, 24, 39, 0.72); }
.step-number { display: inline-grid; width: 32px; height: 32px; margin-bottom: 34px; place-items: center; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan); font-size: 12px; font-weight: 850; }
.step p { margin-bottom: 0; color: var(--muted); }
.showcase { display: grid; grid-template-columns: minmax(280px, 0.65fr) minmax(480px, 1.35fr); gap: clamp(45px, 6vw, 88px); align-items: center; }
.feature-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; color: #c8d2e7; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list span { color: var(--success); font-weight: 900; }
.screenshot-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.screenshot-frame img { display: block; width: 100%; height: auto; }
.privacy-banner { display: flex; gap: 34px; align-items: center; justify-content: space-between; padding: clamp(30px, 5vw, 50px); border: 1px solid #33366c; border-radius: 24px; background: linear-gradient(135deg, #121b34, #201d5a); }
.privacy-banner h2 { margin-bottom: 9px; font-size: clamp(29px, 4vw, 42px); }
.privacy-banner p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: #abb8d3; }
.privacy-banner .button { flex: 0 0 auto; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }

.page-main { max-width: 1180px; padding: 84px 0 110px; }
.page-header { max-width: 850px; margin-bottom: 50px; }
.page-header h1 { margin-bottom: 16px; font-size: clamp(44px, 6vw, 68px); }
.page-header .lede { margin-bottom: 0; }
.policy-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-bottom: 58px; border: 1px solid var(--line); border-radius: 17px; background: var(--line); }
.policy-summary div { padding: 23px; background: var(--surface); }
.policy-summary strong { display: block; margin-bottom: 5px; }
.policy-summary span { color: var(--muted); font-size: 14px; }
.policy { max-width: 880px; margin: 0 auto; }
.policy section { padding: 33px 0; border-top: 1px solid var(--line); }
.policy section:first-child { padding-top: 0; border-top: 0; }
.policy h2 { margin-bottom: 10px; font-size: 25px; letter-spacing: -0.025em; }
.policy p, .policy li { color: var(--muted); }
.policy ul { margin: 12px 0 0; padding-left: 1.25em; }
.policy li { margin: 8px 0; padding-left: 4px; }
.policy code { color: var(--cyan); font: 700 0.9em ui-monospace, SFMono-Regular, Consolas, monospace; }

.site-footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
.footer-row p { margin: 0; }
.footer-row a:hover, .policy a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 70px 0; }
  .product-card { max-width: 650px; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-copy { max-width: 700px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 28px); }
  .nav { min-height: 62px; }
  .nav-links a:not(:last-child) { display: none; }
  .steps, .policy-summary { grid-template-columns: 1fr; }
  .privacy-banner { align-items: flex-start; flex-direction: column; }
  .section { padding: 76px 0; }
  .page-main { padding: 64px 0 84px; }
  .footer-row { flex-direction: column; }
}

@media (max-width: 460px) {
  h1 { font-size: 43px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .product-card { padding: 20px; border-radius: 20px; }
  .product-brand strong { font-size: 14px; }
  .local-pill { font-size: 10px; }
  .code-preview { min-height: 260px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media print {
  .site-header, .actions, .privacy-banner { display: none; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .page-main { padding: 0; }
}
