/* Ana SEO Agency — sales site v2. Plain CSS, no framework. Tokens first. */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "SG Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 94%; descent-override: 26%; line-gap-override: 0%; }

@layer reset, tokens, base, layout, components, sections, utilities;

@layer tokens {
  :root {
    --bg: #060b16;
    --bg-2: #0a1222;
    --surface: #0f1a30;
    --surface-2: #14223f;
    --line: rgba(160, 185, 230, .16);
    --line-2: rgba(160, 185, 230, .28);
    --text: #eaf0ff;
    --muted: #a9b8d6;
    --blue: #1788fd;
    --blue-link: #5eaeff;
    --blue-btn: #0a6bd0;
    --blue-btn-h: #0d7be8;
    --green: #32d98e;
    --green-dk: #0b7a4b;
    --amber: #ffc24b;
    --danger: #ff7b7b;
    --r: 12px;
    --r-lg: 18px;
    --wrap: 1200px;
    --gut: 16px;
    --nav-h: 64px;
    --font-d: "Space Grotesk", "SG Fallback", "Segoe UI", system-ui, sans-serif;
    --font-b: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color-scheme: dark;
  }
  .light {
    --bg: #f3f6fb;
    --bg-2: #e9eef7;
    --surface: #ffffff;
    --surface-2: #f6f9fe;
    --line: rgba(12, 28, 60, .12);
    --line-2: rgba(12, 28, 60, .24);
    --text: #0b1428;
    --muted: #46556f;
    --blue-link: #0a5bb8;
    --green: #0b8a55;
    color-scheme: light;
  }
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
  body { margin: 0; }
  img, svg, canvas { display: block; max-width: 100%; }
  h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  button, input, select, textarea { font: inherit; color: inherit; }
  a { color: inherit; }
  summary { cursor: pointer; }
}

@layer base {
  html { background: var(--bg); }
  body {
    background: var(--bg); color: var(--text);
    font-family: var(--font-b); font-size: 1rem; line-height: 1.6;
    min-height: 100vh; display: flex; flex-direction: column;
    -webkit-font-smoothing: antialiased;
  }
  main { flex: 1; }
  h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
  h1 { font-size: clamp(2.35rem, 6.4vw, 4.6rem); }
  h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
  h3 { font-size: 1.25rem; }
  p { text-wrap: pretty; }
  :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
  .skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--amber); color: #111; padding: 10px 16px; font-weight: 700; }
  .skip:focus { left: 8px; top: 8px; }
  ::selection { background: var(--blue); color: #fff; }
}

@layer layout {
  .wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
  .band { background: var(--bg); color: var(--text); padding-block: clamp(56px, 9vw, 112px); position: relative; }
  .band.alt { background: var(--bg-2); }
  .head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 52px); }
  .head.center { margin-inline: auto; text-align: center; }
  .head p.lead { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
  .eyebrow {
    display: inline-block; font-family: var(--font-d); font-weight: 600; font-size: .78rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--blue-link); margin-bottom: 14px;
  }
  .eyebrow.g { color: var(--green); }
  .grid { display: grid; gap: 20px; }
  .rank-grid > *, .roi > *, .an-grid > *, .story-grid > *, .why > *, .fv > *, .prop > *, .contact-grid > *, .foot-grid > * { min-width: 0; }
}

@layer components {
  /* buttons: square-ish, no pills, no glow */
  .btn {
    --b-bg: var(--blue-btn); --b-fg: #fff; --b-bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--b-bd);
    background: var(--b-bg); color: var(--b-fg); text-decoration: none; cursor: pointer;
    font-family: var(--font-d); font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
    transition: background-color .18s, transform .18s, border-color .18s, color .18s;
    will-change: transform;
  }
  .btn:hover { --b-bg: var(--blue-btn-h); }
  .btn.sm { min-height: 44px; padding: 8px 16px; font-size: .94rem; }
  .btn.lg { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
  .btn.ghost { --b-bg: transparent; --b-bd: var(--line-2); --b-fg: var(--text); }
  .btn.ghost:hover { --b-bd: var(--blue-link); --b-bg: transparent; }
  .btn.green { --b-bg: var(--green); --b-fg: #04210f; }
  .btn.green:hover { --b-bg: #4ae5a1; }
  .btn.block { display: flex; width: 100%; }
  .btn svg { width: 18px; height: 18px; flex: none; }
  .link-arrow { color: var(--blue-link); font-weight: 600; text-decoration: none; }
  .link-arrow:hover { text-decoration: underline; }

  .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: .86rem; font-weight: 600; color: var(--text); background: rgba(255,255,255,.03); }
  .light .chip { background: rgba(10,30,70,.04); }
  .chip.g { border-color: rgba(50,217,142,.5); color: var(--green); }
  .chip svg { width: 16px; height: 16px; }
  .stars { color: var(--amber); letter-spacing: 2px; }
  .light .stars { color: #b26b00; }

  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
  .note { font-size: .84rem; color: var(--muted); }
  .tag-illus { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); border: 1px dashed rgba(255,194,75,.6); padding: 3px 10px; border-radius: 6px; }
  .light .tag-illus { color: #8a5200; border-color: rgba(138,82,0,.55); }

  /* reveal on scroll (only with JS) */
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* canvas stages */
  .stage { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; }
  .stage canvas { width: 100%; height: 100%; }
}

@layer sections {
  /* ---------- NAV ---------- */
  .nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 11, 22, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
  .brand img { height: 34px; width: auto; }
  .nav-links { display: none; gap: 4px; align-items: center; }
  .nav-links a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
  .nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
  .nav-cta { display: none; }
  .menu { position: relative; }
  .menu > summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary svg { width: 22px; height: 22px; }
  .menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; display: grid; }
  .menu-panel a { padding: 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
  .menu-panel a:hover { background: rgba(255,255,255,.06); }
  @media (min-width: 980px) {
    .nav-links { display: flex; } .nav-cta { display: inline-flex; } .menu { display: none; }
  }

  /* ---------- HERO ---------- */
  .hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; overflow: hidden; background: var(--bg); padding-block: 48px 72px; }
  .hero canvas#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(6,11,22,.86) 0%, rgba(6,11,22,.55) 48%, rgba(6,11,22,0) 78%); }
  .hero-copy { max-width: 680px; }
  .hero h1 .u { color: var(--green); white-space: nowrap; }
  .hero h1 .b { color: var(--blue-link); }
  .hero .sub { margin-top: 22px; font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: #cbd7ef; max-width: 60ch; }
  .hero .sub strong { color: #fff; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; align-items: center; }
  .hero .meta { margin-top: 16px; color: var(--muted); font-size: .9rem; }
  .scroll-cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); color: var(--muted); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; display: none; }
  @media (min-width: 900px) { .scroll-cue { display: block; } .hero { padding-block: 64px 96px; } }
  @media (max-width: 760px) {
    .hero::after { background: linear-gradient(180deg, rgba(6,11,22,.84) 0%, rgba(6,11,22,.7) 60%, rgba(6,11,22,.45) 100%); }
  }

  /* ---------- PROOF STRIP ---------- */
  .proof { border-block: 1px solid var(--line); background: var(--bg-2); padding-block: 36px; }
  .proof ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .proof li { text-align: center; }
  .proof .n { display: block; font-family: var(--font-d); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
  .proof .n em { font-style: normal; color: var(--green); }
  .proof .l { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }
  @media (min-width: 760px) { .proof ul { grid-template-columns: repeat(4, 1fr); } }

  /* ---------- RANKINGS ---------- */
  .rank-grid { display: grid; gap: 24px; }
  @media (min-width: 960px) { .rank-grid { grid-template-columns: 1.25fr 1fr; align-items: stretch; } }
  #climb-stage { height: clamp(340px, 62vw, 470px); }
  .replay { position: absolute; right: 12px; top: 12px; }
  .score-card { display: flex; flex-direction: column; gap: 22px; }
  .big-stat { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .big-stat .v { font-family: var(--font-d); font-weight: 700; font-size: clamp(3rem, 8vw, 4.6rem); color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
  .big-stat .u { color: var(--muted); }
  .bars { display: grid; gap: 14px; }
  .bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: .95rem; }
  .bar .t { grid-column: 1 / -1; height: 12px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
  .bar .t i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 6px; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
  .bar.g .t i { background: var(--green); }
  .bar b { font-family: var(--font-d); font-variant-numeric: tabular-nums; }
  .in .bar .t i, .bars.in .t i { width: var(--w); }
  html:not(.js) .bar .t i { width: var(--w); }
  .mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 96px), 1fr)); gap: 10px; }
  .mini-stats div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; background: rgba(255,255,255,.02); }
  .mini-stats b { display: block; font-family: var(--font-d); font-size: 1.5rem; }
  .mini-stats span { font-size: .78rem; color: var(--muted); }

  .case-stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
  .case-stats div { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: var(--surface); display: grid; gap: 4px; min-width: 0; }
  .case-stats small { color: var(--muted); }
  .case-stats b { font-family: var(--font-d); font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
  .case-stats span { color: var(--green); font-weight: 700; }

  /* ---------- STORY (ranked -> cited) ---------- */
  .story { height: 280vh; position: relative; }
  .story-pin { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); display: grid; align-content: center; gap: 18px; padding-block: 16px; }
  .story-grid { display: grid; gap: 18px; min-height: 0; }
  #story-stage { height: min(47svh, 400px); }
  .step { padding: 9px 12px; }
  .step h3 { font-size: .96rem; }
  .steps { display: grid; gap: 10px; counter-reset: st; }
  .step { counter-increment: st; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .3s, background-color .3s, opacity .3s; opacity: .5; }
  .step h3 { font-size: 1.02rem; display: flex; gap: 10px; align-items: center; }
  .step h3::before { content: counter(st); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); font-size: .85rem; flex: none; }
  .step p { color: var(--muted); font-size: .92rem; margin-top: 4px; display: none; }
  .step.on { opacity: 1; border-color: var(--blue); background: rgba(23,136,253,.08); }
  .step.on p { display: block; }
  .step.done { opacity: .85; border-color: rgba(50,217,142,.4); }
  .step.done h3::before { background: var(--green); color: #04210f; }
  @media (min-width: 960px) {
    .story-grid { grid-template-columns: 1.5fr 1fr; align-items: center; }
    #story-stage { height: min(66svh, 560px); }
    .step { padding: 12px 14px; } .step h3 { font-size: 1.02rem; }
    .step p { font-size: .96rem; }
  }
  @media (prefers-reduced-motion: reduce) { .story { height: auto; } .story-pin { position: static; height: auto; } .step { opacity: 1; } .step p { display: block; } }
  .story-static .story { height: auto; } .story-static .story-pin { position: static; height: auto; } .story-static .step { opacity: 1; } .story-static .step p { display: block; }

  /* ---------- QUIZ ---------- */
  .quiz { max-width: 860px; margin-inline: auto; padding: clamp(20px, 4vw, 40px); }
  .quiz-progress { display: flex; gap: 6px; margin-bottom: 22px; }
  .quiz-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--line-2); transition: background-color .3s; }
  .quiz-progress i.on { background: var(--blue); }
  .quiz-progress i.done { background: var(--green); }
  .q-title { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 18px; }
  .opts { display: grid; gap: 10px; }
  @media (min-width: 640px) { .opts { grid-template-columns: 1fr 1fr; } }
  .opt { text-align: left; padding: 16px 18px; border: 2px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; display: grid; gap: 2px; min-height: 64px; transition: border-color .15s, background-color .15s, transform .15s; }
  .opt b { font-family: var(--font-d); font-size: 1.04rem; }
  .opt span { color: var(--muted); font-size: .88rem; }
  .opt:hover { border-color: var(--blue); background: rgba(23,136,253,.07); transform: translateY(-2px); }
  .quiz-back { margin-top: 16px; background: none; border: 0; color: var(--blue-link); cursor: pointer; font-weight: 600; padding: 10px 0; min-height: 44px; }
  .result { display: grid; gap: 18px; }
  .result .rec { border: 2px solid var(--green); border-radius: 16px; padding: 22px; background: rgba(50,217,142,.06); display: grid; gap: 10px; }
  .result .rec .name { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; }
  .result .rec .price { font-family: var(--font-d); font-weight: 700; color: var(--green); font-size: 1.2rem; }
  .result .also { color: var(--muted); font-size: .92rem; }

  /* ---------- PRODUCTS (light band) ---------- */
  .tier { margin-top: 44px; }
  .tier:first-of-type { margin-top: 0; }
  .tier-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--line-2); }
  .tier-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
  .tier-head .rng { margin-left: auto; font-family: var(--font-d); font-weight: 600; color: var(--muted); }
  .tier-head p { flex-basis: 100%; color: var(--muted); }
  .products { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
  .product { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .25s ease-out, box-shadow .25s; transform-style: preserve-3d; }
  .product:hover { border-color: var(--blue); box-shadow: 0 14px 40px -18px rgba(10, 60, 140, .45); }
  .product.hl { border: 2px solid var(--blue); }
  .badge { position: absolute; top: -12px; left: 20px; background: var(--blue-btn); color: #fff; font-family: var(--font-d); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 6px; }
  .badge.g { background: var(--green-dk); }
  .product h4 { font-size: 1.18rem; }
  .product .out { color: var(--text); font-weight: 600; }
  .product .desc { color: var(--muted); font-size: .95rem; }
  .product ul { display: grid; gap: 6px; font-size: .93rem; }
  .product li { display: flex; gap: 10px; align-items: flex-start; }
  .product li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8a55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
  .product .foot { margin-top: auto; display: grid; gap: 10px; padding-top: 6px; }
  .price-line { display: flex; align-items: baseline; gap: 8px; }
  .price-line .from { color: var(--muted); font-size: .85rem; }
  .price-line .p { font-family: var(--font-d); font-weight: 700; font-size: 2.1rem; line-height: 1; }
  .price-line .u { color: var(--muted); }
  .extra-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }
  .extra-links a { color: var(--blue-link); font-weight: 600; text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
  .extra-links a:hover { text-decoration: underline; }
  .escrow { display: flex; gap: 12px; align-items: flex-start; margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
  .escrow svg { width: 26px; height: 26px; flex: none; color: var(--green); margin-top: 2px; }
  .how { display: grid; gap: 14px; margin-top: 28px; counter-reset: s; }
  @media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }
  .how li { counter-increment: s; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--surface); }
  .how li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-btn); color: #fff; font-family: var(--font-d); font-weight: 700; margin-bottom: 10px; }
  .how b { display: block; font-family: var(--font-d); }
  .how span { color: var(--muted); font-size: .92rem; }

  /* ---------- ANALYSIS (radar) ---------- */
  .an-grid { display: grid; gap: 28px; align-items: center; }
  @media (min-width: 960px) { .an-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
  #radar-stage { aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; width: 100%; }
  .toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; margin-top: 14px; }
  .toggle button { background: transparent; border: 0; padding: 10px 16px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--muted); }
  .toggle button[aria-pressed="true"] { background: var(--blue-btn); color: #fff; }
  .receive { display: grid; gap: 14px; margin-block: 24px; }
  .receive li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
  .receive li::before { content: ""; width: 24px; height: 24px; margin-top: 3px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2332d98e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
  .receive b { font-family: var(--font-d); }
  .receive span { color: var(--muted); display: block; font-size: .94rem; }
  .glance { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

  /* ---------- ROI ---------- */
  .roi { display: grid; gap: 22px; }
  @media (min-width: 960px) { .roi { grid-template-columns: 1fr 1.35fr; align-items: stretch; } }
  .roi-controls { display: grid; gap: 20px; align-content: start; }
  .field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 8px; font-size: .96rem; }
  .field .val { font-family: var(--font-d); color: var(--green); font-variant-numeric: tabular-nums; }
  input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
  input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), rgba(255,255,255,.14) var(--p, 50%)); }
  input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); }
  input[type=range]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--blue); }
  input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); margin-top: -10px; }
  input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
  select, .inp { width: 100%; min-height: 48px; border-radius: 10px; border: 2px solid var(--line-2); background: var(--bg); padding: 10px 14px; }
  select:focus, .inp:focus { border-color: var(--blue); outline: none; }
  .roi-out { display: grid; gap: 16px; }
  #roi-stage { height: clamp(300px, 56vw, 420px); }
  .roi-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 10px; }
  .roi-kpis div { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface-2); }
  .roi-kpis small { display: block; color: var(--muted); font-size: .76rem; }
  .roi-kpis b { font-family: var(--font-d); font-size: clamp(1.1rem, 3vw, 1.6rem); font-variant-numeric: tabular-nums; }
  .roi-kpis b.pos { color: var(--green); } .roi-kpis b.neg { color: var(--danger); }

  /* ---------- CITATIONS ---------- */
  .cases { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
  .case { display: flex; flex-direction: column; gap: 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); padding: 22px; position: relative; overflow: hidden; }
  .case::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green); }
  .case h3 { font-size: 1.1rem; }
  .case p { color: var(--muted); font-size: .94rem; }
  .engines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
  .engines .chip { font-size: .76rem; min-height: 28px; padding: 2px 10px; }
  .quote { margin-top: 44px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
  .quote p { font-size: 1.04rem; color: var(--muted); max-width: 78ch; }
  .quote p + p { margin-top: 14px; }
  .quote a { color: var(--blue-link); }

  /* ---------- REVIEWS ---------- */
  .rating-head { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; margin-bottom: 36px; }
  .rating-big { display: flex; align-items: baseline; gap: 12px; }
  .rating-big b { font-family: var(--font-d); font-size: clamp(3.4rem, 9vw, 5.4rem); line-height: 1; }
  .rbars { display: grid; gap: 10px; min-width: min(100%, 360px); flex: 1; }
  .rbar { display: grid; grid-template-columns: 150px 1fr 40px; gap: 12px; align-items: center; font-size: .92rem; }
  .rbar .t { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
  .rbar .t i { display: block; height: 100%; width: 0; background: var(--amber); border-radius: 5px; transition: width 1.3s cubic-bezier(.2,.7,.2,1); }
  .in .rbar .t i { width: var(--w); }
  html:not(.js) .rbar .t i { width: var(--w); }
  .rbar b { font-family: var(--font-d); text-align: right; }
  .marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .marquee + .marquee { margin-top: 16px; }
  .track { display: flex; gap: 16px; width: max-content; animation: slide var(--dur, 140s) linear infinite; }
  .marquee.rev .track { animation-direction: reverse; }
  .marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
  .review { width: min(86vw, 380px); flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
  .review p { font-size: .95rem; color: var(--text); }
  .review .who { margin-top: auto; display: flex; gap: 12px; align-items: center; }
  .review .av { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-btn); color: #fff; display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; text-transform: uppercase; }
  .review .u { font-weight: 700; font-size: .92rem; } .review .c { font-size: .8rem; color: var(--muted); }
  .reviews-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 32px; }
  @media (prefers-reduced-motion: reduce) {
    .track { animation: none; width: auto; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; }
    .track [aria-hidden="true"] { display: none; }
    .marquee { mask-image: none; -webkit-mask-image: none; }
  }

  /* ---------- WHY / COMPARE ---------- */
  .why { display: grid; gap: 32px; }
  @media (min-width: 960px) { .why { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; } }
  .thesis { font-family: var(--font-d); font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.3; border-left: 4px solid var(--green); padding-left: 20px; margin-top: 24px; }
  .thesis cite { display: block; font-size: .9rem; margin-top: 10px; color: var(--muted); font-style: normal; font-family: var(--font-b); }
  .cmp { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
  .cmp caption { text-align: left; padding: 0 0 12px; font-weight: 600; color: var(--muted); caption-side: top; }
  .cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .94rem; }
  .cmp thead th { font-family: var(--font-d); background: var(--surface-2); }
  .cmp thead th:last-child { color: var(--green); }
  .cmp tbody th { font-weight: 600; width: 26%; }
  .cmp tr:last-child > * { border-bottom: 0; }
  .cmp td:nth-child(2) { color: var(--muted); }
  .cmp td:last-child { font-weight: 500; }
  @media (max-width: 700px) {
    .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
    .cmp thead { display: none; }
    .cmp tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
    .cmp tr:last-child { border-bottom: 0; }
    .cmp th, .cmp td { padding: 4px 0; border: 0; width: auto !important; }
    .cmp td:nth-child(2)::before { content: "Template-style vendors: "; font-weight: 600; }
    .cmp td:last-child::before { content: "Ana SEO: "; font-weight: 700; color: var(--green); }
  }

  /* ---------- TEAM ---------- */
  .team { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
  .member { display: grid; gap: 12px; }
  .member img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; border: 2px solid var(--line-2); background: var(--surface-2); }
  .member .role { color: var(--blue-link); font-weight: 600; font-size: .92rem; }
  .about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
  @media (min-width: 760px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
  .about-stats div { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--surface); text-align: center; }
  .about-stats b { display: block; font-family: var(--font-d); font-size: 2rem; }
  .about-stats span { color: var(--muted); font-size: .88rem; }

  /* ---------- FIVERR ---------- */
  .fiverr { background: var(--bg-2); border-block: 1px solid var(--line); }
  .fv { display: grid; gap: 28px; }
  @media (min-width: 960px) { .fv { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; } }
  .seals { display: flex; flex-wrap: wrap; gap: 14px; margin-block: 22px; }
  .seal { border: 2px solid var(--line-2); border-radius: 16px; padding: 14px 20px; display: grid; gap: 2px; min-width: 150px; background: var(--surface); }
  .seal b { font-family: var(--font-d); font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
  .seal b svg { width: 22px; height: 22px; color: var(--green); }
  .seal span { font-size: .8rem; color: var(--muted); }
  .checks { display: grid; gap: 8px; margin-block: 18px 26px; }
  .checks li { display: flex; gap: 10px; }
  .checks li::before { content: "✓"; color: var(--green); font-weight: 800; }
  .gigs { display: grid; gap: 10px; }
  .gig { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; min-height: 64px; transition: border-color .15s, transform .15s; }
  .gig:hover { border-color: var(--green); transform: translateX(4px); }
  .gig b { font-family: var(--font-d); display: block; }
  .gig span { font-size: .84rem; color: var(--muted); }
  .gig .pr { font-family: var(--font-d); font-weight: 700; color: var(--green); white-space: nowrap; }

  /* ---------- PROPOSAL ---------- */
  .prop { display: grid; gap: 28px; }
  @media (min-width: 960px) { .prop { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } }
  .form { display: grid; gap: 16px; padding: clamp(20px, 4vw, 34px); }
  .form .f { display: grid; gap: 6px; }
  .form label { font-weight: 600; font-size: .94rem; }
  .form textarea { min-height: 130px; resize: vertical; }
  .form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .form .msg { min-height: 24px; font-weight: 600; }
  .form .msg.ok { color: var(--green); } .form .msg.err { color: var(--danger); }
  .wl { margin-top: 26px; padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: 14px; }

  /* ---------- FAQ ---------- */
  .faq-group { margin-top: 36px; }
  .faq-group h3 { font-size: 1.3rem; margin-bottom: 14px; }
  .faq-cols { display: grid; gap: 10px; }
  @media (min-width: 960px) { .faq-cols { grid-template-columns: 1fr 1fr; align-items: start; } }
  details.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  details.faq summary { padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; min-height: 56px; display: flex; align-items: center; }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq summary::after { content: "+"; position: absolute; right: 18px; font-size: 1.5rem; color: var(--blue-link); transition: transform .2s; }
  details.faq[open] summary::after { transform: rotate(45deg); }
  details.faq[open] { border-color: var(--blue); }
  .faq-a { padding: 0 18px 18px; color: var(--muted); font-size: .96rem; }
  .faq-a a { color: var(--blue-link); }

  /* ---------- FINAL CTA ---------- */
  .final { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
  .final canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .8; }
  .final h2 { max-width: 860px; margin-inline: auto; }
  .final p { max-width: 62ch; margin: 18px auto 0; color: #cbd7ef; font-size: 1.1rem; }
  .final .cta-row { justify-content: center; }

  /* ---------- FOOTER ---------- */
  .foot-site { background: #04080f; border-top: 1px solid var(--line); padding-block: 48px 40px; color: var(--muted); font-size: .94rem; }
  .foot-grid { display: grid; gap: 32px; }
  @media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
  .foot-site .fh { color: var(--text); font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; font-family: var(--font-d); font-weight: 700; }
  .foot-site ul { display: grid; gap: 4px; }
  .foot-site a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
  .foot-site a:hover { color: var(--text); text-decoration: underline; }
  .foot-site .legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; }

  /* ---------- STICKY BAR (mobile) ---------- */
  .sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(10, 18, 34, .97); border-top: 1px solid var(--line-2); padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .35s ease; }
  .sticky-bar.show { transform: none; }
  .sticky-bar .t { flex: 1; line-height: 1.2; font-size: .86rem; color: var(--muted); }
  .sticky-bar .t b { display: block; color: var(--text); font-family: var(--font-d); font-size: 1rem; }
  @media (min-width: 900px) { .sticky-bar { display: none; } }
  @media (max-width: 899px) { body { padding-bottom: 76px; } }

  /* ---------- simple page (contact / privacy / 404) ---------- */
  .page { padding-block: clamp(44px, 8vw, 96px); }
  .page .prose { max-width: 780px; }
  .prose h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; }
  .prose h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 12px; }
  .prose h3 { margin-top: 24px; margin-bottom: 8px; }
  .prose p, .prose li { color: var(--muted); }
  .prose p + p { margin-top: 12px; }
  .prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-block: 10px; }
  .prose a { color: var(--blue-link); }
  .contact-grid { display: grid; gap: 24px; margin-top: 28px; }
  @media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
}

@layer utilities {
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hide { display: none !important; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
  }
}
