:root {
  --accent: #2f5bff;
  --accent-2: #ffb81c;
  --ok: #34d399;
  --no: #f87171;
  --radius: 16px;
  --maxw: 1160px;
  /* light (default) */
  --bg: #ffffff;
  --surface: #f3f5f9;
  --line: #dde3ed;
  --text: #0f1626;
  --text-soft: #3d4a61;
  --muted: #5d6b82;
  --tint: rgba(15, 22, 38, .04);
  --eyebrow: #b87900;
  --on-accent-text: #1f45d6;
  --grad-a: #2f5bff;
  --grad-b: #d98f00;
  --glow: rgba(47, 91, 255, .12);
  --stripe: rgba(15, 22, 38, .03);
  --head-bg: rgba(255, 255, 255, .85);
  --hl: rgba(47, 91, 255, .08);
  color-scheme: light;
}
.is-light { /* inherits :root */ }
.is-gray {
  --bg: #e9edf4;
  --surface: #ffffff;
  --line: #d2dae8;
  --tint: rgba(15, 22, 38, .04);
  --glow: rgba(47, 91, 255, .10);
}
.is-dark {
  --bg: #0b0e14;
  --surface: #161c28;
  --line: #243044;
  --text: #e8ecf3;
  --text-soft: var(--text-soft);
  --muted: #9aa6ba;
  --tint: rgba(255, 255, 255, .03);
  --eyebrow: #ffb81c;
  --on-accent-text: #ffb81c;
  --grad-a: #7d9bff;
  --grad-b: #ffb81c;
  --glow: rgba(47, 91, 255, .2);
  --stripe: rgba(255, 255, 255, .02);
  --hl: rgba(47, 91, 255, .12);
  color-scheme: dark;
}
.is-light, .is-gray, .is-dark { background: var(--bg); color: var(--text); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: #fff;
  color: #0f1626;
  font: 400 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 800px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--head-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 10px; padding: 6px 10px; display: flex; }
.brand img { height: 28px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.nav-toggle { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 12px; font: 600 1rem/1 inherit; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 28px rgba(47, 91, 255, .35); }
.btn-accent:hover { background: #4a71ff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-small { padding: .65rem 1.1rem; font-size: .92rem; }

/* sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-lead { color: var(--muted); font-size: 1.15rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--eyebrow); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-top { align-items: start; }
.sticky-col { position: sticky; top: 110px; }
.prose p { color: var(--text-soft); }
.prose strong { color: var(--text); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background:
  radial-gradient(900px 500px at 85% 10%, var(--glow), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(255, 184, 28, .10), transparent 60%),
  repeating-linear-gradient(135deg, var(--stripe) 0 2px, transparent 2px 14px), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.grad { background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--text-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0; }
.hero-badges { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2rem; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.hero-badges strong { display: block; font-size: 1.6rem; font-weight: 800; }
.hero-badges span { color: var(--muted); font-size: .85rem; }
.hero-visual { margin: 0; }
.product-stage { background: radial-gradient(circle at 50% 40%, #fff, #dfe5f1); border-radius: 28px; padding: 1rem; box-shadow: 0 30px 70px rgba(15, 22, 38, .25), 0 0 0 1px var(--line); transform: rotate(-2deg); }
.product-stage img { width: 100%; height: auto; mix-blend-mode: multiply; }

/* strip */
.strip { border-block: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.4rem 0; }
.strip p { margin: 0; color: var(--muted); font-size: .9rem; }
.strip ul { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.strip li { background: var(--surface); padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 500; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-num { font-size: 3rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; line-height: 1; margin-bottom: 1rem; }
.card p { color: var(--text-soft); }
.card-note { color: var(--on-accent-text) !important; font-weight: 600; font-size: .95rem; margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); }

/* use grid */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.use-grid li { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface), transparent); }
.use-grid svg { width: 44px; height: 44px; fill: none; stroke: var(--on-accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.use-grid p { color: var(--muted); margin: 0; font-size: .98rem; }

/* steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: s; position: relative; padding: 1.6rem 1.6rem 1.6rem 5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 1.4rem; top: 1.5rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; }
.steps p { margin: 0; color: var(--text-soft); }

/* params */
.params { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.spec-table, .compare { width: 100%; border-collapse: collapse; }
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.spec-table th, .spec-table td { text-align: left; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; }
.resist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.resist-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .6rem; }
.resist-list li { display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem; border-radius: 10px; background: var(--tint); }
.resist-list li::before, .dot { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.resist-list .ok::before, .dot.ok { background: var(--ok); }
.resist-list .no::before, .dot.no { background: var(--no); }
.resist-note { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-size: .85rem; margin: 0; }
.dot { display: inline-block; }

/* compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { min-width: 620px; }
.compare th, .compare td { padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.compare tbody th { font-weight: 600; }
.compare td:nth-child(2) { color: var(--muted); }
.compare .hl { background: var(--hl); color: var(--text); font-weight: 600; }
.compare thead .hl { color: var(--on-accent-text); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.quote { margin: 0; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0; font-size: 1.15rem; }
.quote blockquote::before { content: "„"; display: block; font-size: 3.5rem; line-height: .6; color: var(--on-accent-text); font-weight: 800; }
.quote figcaption { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.quote strong { color: var(--text); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; flex: none; }

/* faq */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.4rem; }
.faq summary { cursor: pointer; padding: 1.2rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--on-accent-text); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-soft); padding-bottom: 1.2rem; margin: 0; }

/* contact */
.contact { background: radial-gradient(700px 400px at 90% 0%, var(--glow), transparent 60%), var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { font-style: normal; margin-top: 2rem; display: grid; gap: 1.2rem; }
.contact-list p { margin: 0; }
.contact-list .label { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a { font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--on-accent-text); }
.form { background: var(--surface); box-shadow: 0 20px 50px rgba(15, 22, 38, .08); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; background: #fff; color-scheme: light; color: #0f1626; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-note { margin: 1rem 0 0; font-size: .92rem; min-height: 1.4em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-logo { background: #fff; padding: 4px 8px; border-radius: 6px; margin-bottom: .6rem; box-sizing: content-box; }
.footer-inner p { margin: 0; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .split, .params, .contact-grid { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .cards, .use-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 460px; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--text); content: ""; position: relative; }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .header-cta { display: none; }
  .main-nav { position: absolute; inset: 68px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; }
  .main-nav a { display: block; padding: .9rem 0; font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .cards, .use-grid, .quotes { grid-template-columns: 1fr; }
  .hero-badges { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .hero-badges strong { font-size: 1.15rem; }
  .steps li { padding-left: 4.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

.is-dark + .is-dark { border-top: 1px solid var(--line); }

/* showcase */
.showcase-figure { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(15, 22, 38, .25), 0 0 0 1px var(--line); }
.showcase-figure img { width: 100%; height: auto; }
.showcase .section-head { margin-bottom: 2.2rem; }
