@import url("/cs_business_landing_styles.css");

:root {
      color-scheme: light;
      --ink: #060923;
      --ink-2: #10152f;
      --ink-3: #1b2243;
      --paper: #f5f6f9;
      --surface: #ffffff;
      --surface-2: #eceff4;
      --text: #060923;
      --muted: #667085;
      --muted-2: #98a2b3;
      --line: rgba(6, 9, 35, .11);
      --brand: #ff9500;
      --brand-2: #ffbb00;
      --brand-deep: #e96e00;
      --brand-soft: #fff2dc;
      --success: #2d8f34;
      --danger: #dc2626;
      --sky: #eaf5ff;
      --radius-sm: 14px;
      --radius: 22px;
      --radius-lg: 34px;
      --shadow: 0 24px 70px rgba(6, 9, 35, .10);
      --shadow-soft: 0 12px 38px rgba(6, 9, 35, .08);
      --max: 1240px;
    }

    html[data-theme="dark"] {
      color-scheme: dark;
      --paper: #090d1d;
      --surface: #11172a;
      --surface-2: #171f34;
      --text: #f5f7ff;
      --muted: #b0b8cc;
      --muted-2: #7f8aa5;
      --line: rgba(255, 255, 255, .12);
      --brand-soft: rgba(255, 149, 0, .14);
      --sky: rgba(68, 164, 255, .12);
      --shadow: 0 24px 70px rgba(0, 0, 0, .28);
      --shadow-soft: 0 12px 38px rgba(0, 0, 0, .24);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 92px; }
    body {
      margin: 0;
      background: var(--paper);
      color: var(--text);
      font-family: Nunito, "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.58;
      -webkit-font-smoothing: antialiased;
      transition: background .25s ease, color .25s ease;
    }
    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button { color: inherit; }
    ::selection { color: var(--ink); background: #ffd47a; }
    :focus-visible { outline: 3px solid rgba(255, 149, 0, .55); outline-offset: 3px; }
    .shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
    .section { padding: 104px 0; }
    .section-tight { padding: 72px 0; }
    .section-dark { position: relative; overflow: hidden; color: #f7f8ff; background: var(--ink); }
    .section-dark::before {
      content: ""; position: absolute; inset: -20% auto auto 40%; width: 720px; height: 720px;
      border-radius: 50%; background: radial-gradient(circle, rgba(255,149,0,.16), transparent 66%); pointer-events: none;
    }
    .eyebrow {
      display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px;
      color: var(--brand-deep); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase;
    }
    .eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 99px; background: var(--brand); }
    .section-dark .eyebrow { color: #ffc35a; }
    .section-title {
      max-width: 820px; margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.01;
      letter-spacing: -.045em; font-weight: 900;
    }
    .section-lead { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
    .section-dark .section-lead { color: #b9c0d4; }
    .section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
    .section-heading .section-lead { max-width: 470px; margin: 0 0 6px; }
    .btn {
      min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      padding: 0 22px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
      background: var(--surface); color: var(--text); font-size: 14px; font-weight: 900; letter-spacing: .02em;
      transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, filter .16s ease;
    }
    .btn:hover { transform: translateY(-2px); border-color: rgba(255,149,0,.5); box-shadow: var(--shadow-soft); }
    .btn:active { transform: translateY(0); }
    .btn-primary {
      color: #1a1200; border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand-2));
      box-shadow: 0 12px 28px rgba(255, 149, 0, .25);
    }
    .btn-primary:hover { filter: brightness(1.04); box-shadow: 0 16px 34px rgba(255,149,0,.34); }
    .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
    .arrow { width: 18px; height: 18px; }

    .hero {
      min-height: 730px; padding: 60px 0 76px; position: relative; overflow: hidden; color: #fff; background: var(--ink);
    }
    .hero::before {
      content: ""; position: absolute; width: 680px; height: 680px; left: -280px; bottom: -330px;
      background: radial-gradient(circle, rgba(255,149,0,.22), transparent 65%); border-radius: 50%;
    }
    .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr); gap: 66px; align-items: center; }
    .hero-copy { position: relative; z-index: 4; }
    .hero-pill {
      display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 9px; margin-bottom: 25px;
      border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #d9dce9; background: rgba(255,255,255,.07); font-size: 13px; font-weight: 800;
    }
    a.hero-pill { transition: border-color .2s ease, background .2s ease; }
    a.hero-pill:hover { border-color: rgba(255,149,0,.55); background: rgba(255,149,0,.1); }
    .hero-pill-new { padding: 3px 8px; border-radius: 999px; color: var(--ink); background: linear-gradient(135deg,var(--brand),var(--brand-2)); font-size: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
    .hero-pill-arrow { color: var(--brand); transition: transform .2s ease; }
    a.hero-pill:hover .hero-pill-arrow { transform: translateX(3px); }
    h1 { margin: 0; font-size: clamp(48px, 5.6vw, 78px); line-height: .93; letter-spacing: -.062em; font-weight: 950; }
    /* Localized headings: long compounds (de "Einzelhandelsmarktanalyse") must stay inside their column.
       hyphens:auto helps where the browser has a dictionary for <html lang>; main2.js fitHeadings() is the
       guaranteed fallback (steps the font size down until no single word overflows). */
    h1, h2, h3, .section-title { -webkit-hyphens: auto; hyphens: auto; }
    .hero-accent { color: var(--brand); }
    .hero-tagline { max-width: 690px; margin: 24px 0 0; color: #fff; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; font-weight: 900; letter-spacing: -.02em; }
    .hero-lead { max-width: 690px; margin: 12px 0 0; color: #c4cadb; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.54; }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
    .hero-trust { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
    .trust-label { margin-right: 4px; color: #7e879e; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
    .trust-chip { padding: 8px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #e7e9f1; background: rgba(255,255,255,.05); font-size: 12px; font-weight: 800; }
    .hero-visual { position: relative; min-height: 592px; }
    .hero-frame { position: absolute; inset: 0 -160px 0 0; overflow: hidden; border-radius: 42px 0 0 42px; box-shadow: 0 40px 90px rgba(0,0,0,.34); }
    .hero-frame::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(6,9,35,.38), transparent 38%, rgba(6,9,35,.08)); }
    .hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
    .floating-card {
      position: absolute; z-index: 3; padding: 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px;
      color: #fff; background: rgba(6,9,35,.76); box-shadow: 0 18px 44px rgba(0,0,0,.30); backdrop-filter: blur(14px);
    }
    .floating-card small { display: block; color: #aeb6c9; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
    .floating-card strong { display: block; margin-top: 3px; font-size: 26px; letter-spacing: -.04em; }
    .floating-card span { color: #d9dce7; font-size: 12px; }
    .metric-scope-dark { display: block; max-width: 190px; margin-top: 8px; color: #9ca6bc; font-size: 9px; line-height: 1.35; font-style: normal; font-weight: 800; }
    .float-one { top: 32px; left: -35px; }
    /* Sits past the frame edge on wide screens, but never beyond the viewport (the hero clips overflow). */
    .float-two { right: calc(-1 * min(126px, (100vw - min(100vw - 40px, var(--max))) / 2 - 16px)); bottom: 34px; width: 276px; }

    /* Карусель «дані з полиці»: три приклади в одній картці, слайди накладені в одній клітинці сітки. */
    .shelf-carousel { padding: 14px 14px 10px; }
    .fs-track { display: grid; }
    .fs-slide { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
    .fs-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .fs-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
    .fs-dots button { position: relative; width: 18px; height: 5px; padding: 0; overflow: hidden; border: 0; border-radius: 99px; background: rgba(255,255,255,.2); cursor: pointer; transition: width .3s ease; }
    .fs-dots button[aria-selected="true"] { width: 30px; }
    .fs-dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform-origin: 0 50%; animation: fsDot var(--fs-dur, 6s) linear forwards; }
    .shelf-carousel:not(.is-running) .fs-dots button::after { animation-play-state: paused; }
    @keyframes fsDot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    /* no autoplay with reduced motion: show the active dot as simply filled */
    @media (prefers-reduced-motion: reduce) { .fs-dots button[aria-selected="true"]::after { animation: none !important; } }
    .fs-live { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #34d058; box-shadow: 0 0 0 4px rgba(52,208,88,.18); }
    .shelf-carousel small { white-space: nowrap; }
    /* 1 · цінник */
    .fsA-head { display: flex; align-items: center; gap: 8px; }
    .fsA-tag { position: relative; margin: 12px 5px 10px; padding: 10px 12px 9px; border-radius: 6px; color: var(--ink); background: #fff; }
    .fsA-tag::after { content: ""; position: absolute; inset: -6px; border-radius: 10px; pointer-events: none; --c: var(--brand);
      background:
        linear-gradient(var(--c),var(--c)) 0 0 / 14px 2px, linear-gradient(var(--c),var(--c)) 0 0 / 2px 14px,
        linear-gradient(var(--c),var(--c)) 100% 0 / 14px 2px, linear-gradient(var(--c),var(--c)) 100% 0 / 2px 14px,
        linear-gradient(var(--c),var(--c)) 0 100% / 14px 2px, linear-gradient(var(--c),var(--c)) 0 100% / 2px 14px,
        linear-gradient(var(--c),var(--c)) 100% 100% / 14px 2px, linear-gradient(var(--c),var(--c)) 100% 100% / 2px 14px;
      background-repeat: no-repeat; }
    .fsA-promo { position: absolute; top: 0; right: 0; padding: 3px 7px; border-radius: 0 6px 0 6px; background: var(--brand-2); font-size: 10px; font-weight: 950; }
    .fsA-name { max-width: 150px; font-size: 11px; font-weight: 800; line-height: 1.25; }
    .fsA-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 6px; }
    .fsA-old { color: #8a90a2; font-size: 11px; font-weight: 800; text-decoration: line-through; }
    .fsA-new { display: block; font-size: 26px; font-weight: 950; letter-spacing: -.04em; line-height: 1; }
    .fsA-new sup { font-size: 12px; }
    .fsA-bars { width: 58px; height: 22px; }
    .fsA-foot { display: flex; justify-content: space-between; gap: 8px; color: #aeb6c9; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
    .fsA-foot b { color: var(--brand-2); }
    .shelf-carousel .fsA-foot span { color: inherit; font-size: inherit; }
    /* 2 · позиція ціни */
    .fsB-title { display: block; margin-top: 3px; font-size: 17px; letter-spacing: -.03em; }
    .fsB-title i { color: var(--brand-2); font-style: normal; }
    .fsB-scale { position: relative; height: 54px; margin: 16px 6px 2px; }
    .fsB-track { position: absolute; left: 0; right: 0; top: 26px; height: 6px; border-radius: 99px; background: linear-gradient(90deg,#34d058,var(--brand-2) 55%,#ff5a36); opacity: .85; }
    .fsB-pt { position: absolute; top: 20px; width: 18px; height: 18px; margin-left: -9px; border: 3px solid #0b1030; border-radius: 50%; background: #c9cfdd; }
    .fsB-pt em { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); color: #9ca6bc; font-size: 9px; font-style: normal; font-weight: 900; white-space: nowrap; }
    .fsB-you { position: absolute; top: 2px; width: 2px; height: 38px; margin-left: -1px; background: var(--brand); }
    .fsB-you b { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); padding: 2px 7px; border-radius: 6px; color: var(--ink); background: var(--brand); font-size: 10px; font-weight: 950; white-space: nowrap; }
    .fsB-legend { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
    .fsB-legend em { color: #9ca6bc; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
    /* 3 · сигнали */
    .fsC-head { display: flex; align-items: center; justify-content: space-between; }
    .shelf-carousel .fsC-now { display: inline-flex; align-items: center; gap: 6px; color: #34d058; }
    .fsC-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d058; animation: hudPulse 1.6s ease-in-out infinite; }
    .fsC-list { margin: 8px 0 0; padding: 0; list-style: none; }
    .fsC-list li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.09); }
    .fsC-list p { margin: 0; min-width: 0; }
    .fsC-list p b { display: block; font-size: 12px; line-height: 1.2; }
    .fsC-list p em { display: block; overflow: hidden; color: #9ca6bc; font-size: 10px; font-style: normal; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
    .fsC-ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: 13px; font-style: normal; font-weight: 950; }
    .fsC-ic.promo { color: var(--ink); background: linear-gradient(135deg,var(--brand),var(--brand-2)); }
    .fsC-ic.up { color: #ff7a59; background: rgba(255,90,54,.16); }
    .fsC-ic.oos { color: #9ca6bc; background: rgba(255,255,255,.08); }
    .fsC-val { font-size: 12px; font-weight: 950; white-space: nowrap; }
    .fsC-val.promo { color: var(--brand-2); } .fsC-val.up { color: #ff7a59; } .fsC-val.oos { color: #9ca6bc; }
    .hero-source-rail {
      position: absolute; z-index: 3; left: 18px; bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; max-width: 440px;
    }
    .source-tag { padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #e9ebf4; background: rgba(6,9,35,.67); backdrop-filter: blur(10px); font-size: 11px; font-weight: 800; }

    .proof-wrap { margin-top: -44px; position: relative; z-index: 8; }
    .proof-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
    .proof-card { min-height: 176px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
    .proof-card.answer { grid-column: span 6; background: linear-gradient(135deg, var(--surface), var(--brand-soft)); }
    .proof-card.metric { grid-column: span 2; display: flex; flex-direction: column; }
    .proof-card h2 { max-width: 560px; margin: 0 0 10px; font-size: clamp(22px,3vw,32px); line-height: 1.12; letter-spacing: -.035em; }
    .proof-card p { margin: 0; color: var(--muted); }
    .metric-number { font-size: clamp(36px, 4.4vw, 58px); line-height: 1; letter-spacing: -.06em; font-weight: 950; }
    .metric-label { display: block; margin-top: 15px; color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.35; }
    .metric-scope { display: block; margin-top: auto; padding-top: 14px; color: var(--muted-2); font-size: 10px; line-height: 1.35; font-weight: 800; }
    .metrics-methodology { margin: 16px 2px 0; color: var(--muted); font-size: 12px; }
    .metrics-methodology a { color: var(--brand-deep); font-weight: 900; text-decoration: underline; text-decoration-color: rgba(216,109,0,.3); text-underline-offset: 3px; }

    .foundation-grid { display: grid; gap: 44px; }
    .foundation-copy { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 54px; align-items: end; }
    .foundation-copy .section-title { font-size: clamp(38px,5vw,64px); }
    .fc-side .section-lead { margin-top: 0; }
    .foundation-note { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--brand); color: var(--muted); background: var(--surface); border-radius: 0 14px 14px 0; }

    /* «Один товар — п'ять облич»: сирі записи з джерел → картка каталогу → продукти; криві малює main2.js. */
    .dm {
      position: relative; display: grid; grid-template-columns: minmax(0,1fr) 330px minmax(0,1fr); column-gap: 76px; row-gap: 18px; align-items: center;
      padding: 38px 34px 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); color: #fff;
      background: radial-gradient(circle at 50% 46%, rgba(255,149,0,.17), transparent 40%), linear-gradient(150deg,#121936,#060923);
      box-shadow: var(--shadow);
    }
    .dm-lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
    .dm-lines path { fill: none; stroke: rgba(255,149,0,.26); stroke-width: 1.6; }
    .dm-lines path.flow { stroke: #ffb52e; stroke-width: 2; stroke-dasharray: 4 14; opacity: .9; animation: dmDash 1.6s linear infinite; }
    @keyframes dmDash { to { stroke-dashoffset: -36; } }
    .dm-col { position: relative; z-index: 2; min-width: 0; display: grid; gap: 11px; }
    .dm-ic { width: 16px; height: 16px; flex: 0 0 auto; display: inline-grid; place-items: center; }
    .dm-ic svg { width: 100%; height: 100%; }
    .dm-src { position: relative; min-width: 0; padding: 11px 64px 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(12,17,40,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .dm-src small { display: flex; align-items: center; gap: 7px; color: #ffc35a; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
    .dm-src code { display: block; margin-top: 5px; overflow: hidden; color: #e8ebf4; font: 700 12.5px/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: nowrap; text-overflow: ellipsis; }
    .dm-src b { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); font-size: 14px; }
    .dm-src b.promo { color: var(--brand-2); }
    .dm-core {
      position: relative; z-index: 2; padding: 22px 22px 18px; text-align: center; border: 1px solid rgba(255,149,0,.4); border-radius: 28px;
      background: rgba(8,12,34,.9); box-shadow: 0 0 0 10px rgba(255,149,0,.05), 0 0 80px rgba(255,149,0,.25);
    }
    .dm-ring { width: 62px; height: 62px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--brand), var(--brand-2), var(--brand)); animation: dmSpin 8s linear infinite; }
    .dm-ring i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #ffc35a; background: #0b1030; font-size: 12px; font-style: normal; font-weight: 950; animation: dmSpin 8s linear infinite reverse; }
    @keyframes dmSpin { to { transform: rotate(360deg); } }
    .dm-badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; color: var(--ink); background: linear-gradient(135deg,var(--brand),var(--brand-2)); font-size: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
    .dm-core strong { display: block; margin: 10px 0 0; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
    .dm-core dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 14px 0 0; text-align: left; font-size: 12px; }
    .dm-core dt { color: #9ca6bc; font-weight: 700; }
    .dm-core dd { margin: 0; font-weight: 800; }
    .dm-range { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); color: #b9c0d4; font-size: 12px; }
    .dm-range b { color: #fff; white-space: nowrap; }
    .dm-o { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 11px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(12,17,40,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .dm-o .dm-ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; color: var(--ink); background: linear-gradient(135deg,var(--brand),var(--brand-2)); }
    .dm-o b { display: block; font-size: 13.5px; }
    .dm-o em { display: block; color: #9ca6bc; font-size: 11.5px; font-style: normal; font-weight: 700; }
    .dm-o em i { color: #7ee189; font-style: normal; }
    .dm-o em i.w { color: var(--brand-2); }
    .dm-caption { position: relative; z-index: 2; grid-column: 1 / -1; margin: 6px 0 0; color: #8f99b1; font-size: 12px; text-align: center; }

    .market-canvas { margin-top: 56px; }
    .market-canvas-frame { position: relative; aspect-ratio: 2.5 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); box-shadow: var(--shadow); }
    .market-canvas-caption { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; margin: 16px 6px 0; }
    .market-canvas-caption strong { font-size: 17px; letter-spacing: -.02em; }
    .market-canvas-caption span { max-width: 720px; color: var(--muted); font-size: 14px; }

    /* ─────────────  Скан ринку  ───────────── */
    .market-scan {
      --ok: #62d992; --up: #ff7a70; --new: #ffb52e; --glass: rgba(9, 13, 29, .62);
      --ease: cubic-bezier(.65, 0, .25, 1);
      container-type: inline-size; isolation: isolate; background: #0b1020;
    }
    .scan-tile {
      position: absolute; inset: 0; transform-origin: 0 0; overflow: hidden;
      container-type: size; border-radius: 0; will-change: transform;
      transition: transform 1.1s var(--ease), opacity .7s ease, filter .9s ease, border-radius 1.1s var(--ease);
    }
    .scan-img {
      position: absolute; left: 50%; top: 50%; width: 100%; height: 100%;
      width: max(100cqw, 100cqh * var(--r)); height: max(100cqh, 100cqw / var(--r));
      transform: translate(-50%, -50%) scale(var(--kb, 1)); transform-origin: var(--kbo, 50% 50%);
      transition: transform 7s cubic-bezier(.3, 0, .2, 1);
    }
    .scan-img img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
    .scan-img::after {                           /* мʼяке затемнення, щоб скляні чипи читались */
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(4, 7, 18, .38)),
                  linear-gradient(transparent 60%, rgba(4, 7, 18, .22));
    }

    /* детекція: тонкі кутові дужки, як у видошукачі. Дужки — у ::before з власною тінню,
       бо filter на самій рамці обмежив би backdrop-filter скляних чипів усередині неї. */
    .ms-det {
      position: absolute; z-index: 1;
      left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
      --c: rgba(255, 255, 255, .95); --k: 9px; --t: 1.5px;
      opacity: 0; transform: scale(1.18);
      transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.2), box-shadow .6s ease;
    }
    .ms-det::before {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background:
        linear-gradient(var(--c), var(--c)) 0 0 / var(--k) var(--t), linear-gradient(var(--c), var(--c)) 0 0 / var(--t) var(--k),
        linear-gradient(var(--c), var(--c)) 100% 0 / var(--k) var(--t), linear-gradient(var(--c), var(--c)) 100% 0 / var(--t) var(--k),
        linear-gradient(var(--c), var(--c)) 0 100% / var(--k) var(--t), linear-gradient(var(--c), var(--c)) 0 100% / var(--t) var(--k),
        linear-gradient(var(--c), var(--c)) 100% 100% / var(--k) var(--t), linear-gradient(var(--c), var(--c)) 100% 100% / var(--t) var(--k);
      background-repeat: no-repeat;
      filter: drop-shadow(0 0 3px rgba(0, 0, 0, .45));
    }
    .ms-det.ms-sm { --k: 5px; --t: 1.2px; }
    .ms-det::after {                               /* крапка статусу в кутку */
      content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%;
      background: var(--s, #fff); box-shadow: 0 0 0 2px rgba(9, 13, 29, .55), 0 0 10px var(--s, #fff);
    }
    .ms-det.ms-ok { --s: var(--ok); } .ms-det.ms-up { --s: var(--up); } .ms-det.ms-new { --s: var(--new); }
    .ms-det.ms-on { opacity: 1; transform: none; }
    .ms-det.ms-key { box-shadow: 0 0 0 200vmax rgba(4, 7, 18, 0); }

    .ms-chip {
      position: absolute; white-space: nowrap; pointer-events: none;
      display: flex; flex-direction: column; gap: 1px; padding: .45em .7em .5em;
      font-size: clamp(9px, .92cqw, 12.5px); line-height: 1.15; color: #fff;
      background: var(--glass); border: 1px solid rgba(255, 255, 255, .16); border-radius: .85em;
      -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
      box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
      opacity: 0; translate: 0 6px; transition: opacity .35s ease .18s, translate .45s ease .18s;
    }
    .ms-chip b { font-size: 1.12em; font-weight: 900; letter-spacing: -.01em; }
    .ms-chip em { font-style: normal; font-weight: 800; font-size: .92em; color: var(--s); }
    .ms-chip small { font-size: .82em; font-weight: 700; color: rgba(255, 255, 255, .62); }
    .ms-det.ms-on .ms-chip { opacity: 1; translate: 0 0; }
    .ms-chip.ms-r { left: calc(100% + 10px); top: 0; }
    .ms-chip.ms-l { right: calc(100% + 10px); top: 0; }
    .ms-chip.ms-t { left: 0; bottom: calc(100% + 10px); }
    .ms-chip.ms-b { left: 0; top: calc(100% + 10px); }

    .scan-beam {
      position: absolute; top: 0; bottom: 0; left: -6%; width: 2px; z-index: 2; pointer-events: none; opacity: 0;
      background: linear-gradient(transparent, #ffc04d 18%, #ffc04d 82%, transparent);
      box-shadow: 0 0 18px 2px rgba(255, 170, 40, .55);
    }
    .scan-beam::before {
      content: ""; position: absolute; right: 2px; top: 0; bottom: 0; width: 90px;
      background: linear-gradient(90deg, transparent, rgba(255, 176, 46, .16));
    }
    .scan-beam.ms-run { animation: scanBeam var(--beam, 3.4s) linear forwards; }
    @keyframes scanBeam { 0% { left: -6%; opacity: 0 } 6% { opacity: 1 } 94% { opacity: 1 } 100% { left: 104%; opacity: 0 } }

    /* сцени */
    .scan-tile.ms-src { opacity: 0; transform: translate(calc(var(--tx) + 24px), var(--ty)) scale(var(--s)); border-radius: calc(16px / var(--s)); }
    .market-scan[data-scene="sources"] .scan-tile,
    .market-scan[data-scene="decision"] .scan-tile { transform: translate(var(--tx), var(--ty)) scale(var(--s)); border-radius: calc(16px / var(--s)); opacity: 1; }
    .market-scan[data-scene="sources"] .scan-tile.ms-src:nth-of-type(2) { transition-delay: .12s; }
    .market-scan[data-scene="sources"] .scan-tile.ms-src:nth-of-type(3) { transition-delay: .24s; }
    .market-scan[data-scene="sources"] .scan-tile.ms-src:nth-of-type(4) { transition-delay: .36s; }
    .market-scan[data-scene="decision"] .scan-tile { filter: blur(3px) brightness(.42) saturate(.75); }
    .market-scan:not([data-scene="shelf"]) .ms-shelf .ms-chip { opacity: 0; transition-delay: 0s; }
    .market-scan:not([data-scene="shelf"]) .ms-shelf .ms-det:not(.ms-key) { opacity: .55; }
    .market-scan:not([data-scene="shelf"]) .ms-det { --t: 3px; --k: 18px; }
    .market-scan:not([data-scene="shelf"]) .ms-det.ms-sm { --t: 2.4px; --k: 9px; }
    .market-scan:not([data-scene="shelf"]) .ms-det.ms-key {    /* прожектор: світлим лишається лише знайдений товар */
      --c: var(--s); box-shadow: 0 0 0 200vmax rgba(4, 7, 18, .34); transition-delay: 0s, 0s, .8s;
    }
    .market-scan:not([data-scene="shelf"]) .ms-det::after { width: 12px; height: 12px; left: -6px; top: -6px; }

    .scan-label {
      position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none;
      display: flex; align-items: baseline; gap: .55em; padding: .45em .8em;
      font-size: clamp(10px, 1cqw, 13px); line-height: 1.2; color: #fff; white-space: nowrap;
      background: var(--glass); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
      -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
      opacity: 0; translate: 0 6px; transition: opacity .45s ease, translate .45s ease;
    }
    .scan-label b { font-weight: 900; }
    .scan-label span { color: rgba(255, 255, 255, .7); font-weight: 700; }
    .scan-label i { font-style: normal; font-weight: 900; color: var(--c, #fff); }
    .market-scan[data-scene="sources"] .scan-label { opacity: 1; translate: 0 0; transition-delay: calc(.7s + var(--i) * .12s); }

    .scan-hud {
      position: absolute; z-index: 4; left: 16px; top: 16px; display: flex; align-items: center; gap: .6em;
      padding: .55em .95em; font-size: clamp(10.5px, 1.05cqw, 13px); line-height: 1.2; color: #fff; white-space: nowrap;
      background: var(--glass); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
      -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
      transition: opacity .5s ease;
    }
    .scan-hud::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffb52e; box-shadow: 0 0 10px #ffb52e; animation: hudPulse 1.4s ease-in-out infinite; }
    @keyframes hudPulse { 50% { opacity: .35 } }
    .scan-hud b { font-weight: 900; font-variant-numeric: tabular-nums; }
    .scan-hud span { color: rgba(255, 255, 255, .7); font-weight: 700; }
    .market-scan[data-scene="decision"] .scan-hud { opacity: 0; }

    .scan-steps {
      position: absolute; z-index: 5; right: 16px; top: 16px; display: flex; gap: 4px; padding: 4px;
      background: var(--glass); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
      -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    }
    .scan-steps button {
      position: relative; overflow: hidden; border: 0; cursor: pointer; border-radius: 999px;
      padding: .42em .85em; font: inherit; font-size: clamp(10px, .98cqw, 12.5px); font-weight: 800; line-height: 1.2;
      color: rgba(255, 255, 255, .62); background: transparent;
    }
    .scan-steps button:hover { color: #fff; }
    .scan-steps button:focus-visible { outline: 2px solid #ffb52e; outline-offset: 1px; }
    .scan-steps button[aria-current="step"] { color: #0b1020; background: #fff; }
    .scan-steps button::after {                  /* прогрес поточної сцени */
      content: ""; position: absolute; left: 12%; right: 88%; bottom: 3px; height: 2px; border-radius: 2px; background: var(--brand);
    }
    .scan-steps button[aria-current="step"].ms-timed::after { animation: stepFill var(--dur) linear forwards; }
    @keyframes stepFill { to { right: 12%; } }

    /* одна картина */
    .scan-chart {
      position: absolute; z-index: 6; left: 50%; top: 50%; width: min(600px, calc(100% - 24px));
      transform: translate(-50%, -50%) scale(calc(var(--cs, 1) * .96)); transform-origin: 50% 50%;
      padding: 18px 20px 16px; color: #fff;
      background: rgba(10, 14, 31, .72); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px;
      -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
      box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
      opacity: 0; pointer-events: none; transition: opacity .6s ease, transform .8s var(--ease);
    }
    .market-scan[data-scene="decision"] .scan-chart { opacity: 1; transform: translate(-50%, -50%) scale(var(--cs, 1)); transition-delay: .35s; }
    .sc-eyebrow { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #ffb52e; }
    .sc-title { margin: 4px 0 2px; font-size: 18px; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
    .sc-meta { margin: 0; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .6); }
    .sc-svg { display: block; width: 100%; height: auto; margin: 10px 0 8px; overflow: visible; }
    .sc-svg text { font-size: 10.5px; font-weight: 700; fill: rgba(255, 255, 255, .5); }
    .sc-grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
    .sc-band { fill: rgba(255, 255, 255, .09); }
    .sc-median { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.2; stroke-dasharray: 3 4; }
    .sc-obs circle { fill: rgba(255, 255, 255, .55); opacity: 0; transition: opacity .4s ease; }
    .sc-obs.ms-on circle { opacity: 1; }
    .sc-line { fill: none; stroke: #ffb52e; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
    .sc-line.ms-before { stroke: var(--up); stroke-opacity: .85; }
    .sc-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 0s linear .6s; }   /* ховається, коли картка вже згасла */
    .market-scan[data-scene="decision"] .sc-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.4, 0, .2, 1) 1.5s; }
    .market-scan[data-scene="decision"] .sc-draw.ms-after { transition-delay: 2.4s; transition-duration: 1s; }
    .sc-decision line { stroke: rgba(255, 181, 46, .7); stroke-width: 1; stroke-dasharray: 2 3; }
    .sc-decision text { fill: #ffb52e; font-weight: 900; }
    .sc-end { opacity: 0; transition: opacity .5s ease; }
    .market-scan[data-scene="decision"] .sc-end { opacity: 1; transition-delay: 3.3s; }
    .sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    .sc-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .62); }
    .sc-legend span { display: inline-flex; align-items: center; gap: 6px; }
    .sc-legend i { display: inline-block; }
    .lg-you { width: 16px; height: 2.5px; border-radius: 2px; background: #ffb52e; }
    .lg-band { width: 14px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, .18); }
    .lg-obs { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
    .sc-result {
      display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 999px;
      font-size: 12.5px; font-weight: 800; color: #0b1020; background: var(--ok);
      opacity: 0; translate: 0 6px; transition: opacity .45s ease, translate .45s ease;
    }
    .sc-result b { font-weight: 900; }
    .market-scan[data-scene="decision"] .sc-result { opacity: 1; translate: 0 0; transition-delay: 3.5s; }

    .scan-dot {
      position: absolute; z-index: 7; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
      background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); pointer-events: none;
    }

    @container (max-width: 620px) {
      .market-scan .ms-chip, .scan-label span, .scan-hud { display: none; }
      .sc-meta, .sc-legend { display: none; }
      .scan-chart { padding: 10px 12px; border-radius: 14px; }
      .sc-eyebrow { font-size: 9px; }
      .sc-title { margin: 2px 0 0; font-size: 13px; }
      .sc-svg { margin: 4px 0; }
      .sc-foot { justify-content: flex-end; }
      .sc-result { padding: 4px 10px; font-size: 11px; }
      .scan-steps button { padding: .38em .6em; }
    }
    @media (prefers-reduced-motion: reduce) {
      .market-scan * { transition-duration: .01s !important; transition-delay: 0s !important; animation: none !important; }
    }

    /* Персони: фото в гамі hero + скляні чипи даних, як плаваючі картки на головному фото. */
    .persona-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; }
    .persona-card {
      grid-column: span 3; display: flex; flex-direction: column; overflow: hidden;
      border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }
    .persona-card:hover { transform: translateY(-5px); border-color: rgba(255,149,0,.45); box-shadow: var(--shadow); }
    .persona-photo { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--ink); }
    .persona-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
    .persona-card:hover .persona-photo img { transform: scale(1.04); }
    .persona-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,9,35,.35) 0%, transparent 30%, transparent 55%, rgba(6,9,35,.78) 100%); pointer-events: none; }
    .persona-tag, .persona-chip {
      position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 7px; color: #fff; white-space: nowrap;
      border: 1px solid rgba(255,255,255,.16); background: rgba(6,9,35,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    }
    .persona-tag { top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
    .persona-chip { left: 12px; right: 12px; bottom: 12px; padding: 8px 10px; border-radius: 12px; font-size: 11.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
    .persona-chip i { flex: 0 0 auto; display: grid; place-items: center; font-style: normal; font-weight: 950; }
    .pc-ok { width: 20px; height: 20px; border-radius: 6px; color: var(--ink); background: #62d992; font-size: 12px; }
    .pc-brand { width: 20px; height: 20px; border-radius: 6px; color: var(--ink); background: linear-gradient(135deg,var(--brand),var(--brand-2)); font-size: 11px; }
    .pc-live { width: 8px; height: 8px; margin: 0 4px; border-radius: 50%; background: #62d992; box-shadow: 0 0 0 4px rgba(98,217,146,.2); }
    .pc-stamps { display: inline-flex !important; gap: 3px; }
    .pc-stamps b { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
    .pc-stamps b.off { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
    .persona-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
    .persona-card h3 { margin: 0 0 9px; font-size: 21px; line-height: 1.1; letter-spacing: -.03em; }
    .persona-card p { margin: 0; color: var(--muted); font-size: 14px; }
    .persona-question {
      margin-top: auto; padding: 12px 14px; border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0;
      color: var(--text); background: var(--brand-soft); font-weight: 900; font-size: 13px; line-height: 1.35;
    }
    .persona-body p { margin-bottom: 18px; }

    .module-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
    .module-card { position: relative; overflow: hidden; min-height: 360px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
    .module-card.price { grid-column: span 7; min-height: 680px; color: #fff; background: linear-gradient(145deg,#131a36,#060923); }
    .module-card.brand { grid-column: span 5; min-height: 500px; background: linear-gradient(160deg,var(--surface),var(--sky)); }
    .module-card.receipt { grid-column: span 5; min-height: 540px; padding: 0; color: #fff; background: var(--ink); }
    .module-card.loyalty { grid-column: span 7; min-height: 540px; padding: 0; background: #e9d9bd; }
    .module-card.assortment { grid-column: span 12; min-height: 460px; padding: 0; color: #fff; background: var(--ink); scroll-margin-top: 96px; }
    .module-kicker { color: var(--brand); font-size: 13px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
    /* Кікер на фото-картках — завжди у верхньому куті, окремо від тексту внизу. */
    .photo-kicker {
      position: absolute; z-index: 3; top: 24px; left: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
      border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #ffc35a; background: rgba(6,9,35,.72);
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 22px rgba(0,0,0,.25);
    }
    .kicker-new { padding: 2px 7px; border-radius: 999px; color: var(--ink); background: linear-gradient(135deg,var(--brand),var(--brand-2)); font-size: 9.5px; letter-spacing: .08em; }
    .module-card h3 { max-width: 520px; margin: 15px 0 12px; font-size: clamp(30px,4vw,48px); line-height: 1; letter-spacing: -.047em; }
    .module-card p { max-width: 600px; margin: 0; color: var(--muted); }
    .module-card.price p { color: #bac1d4; }
    .module-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 23px; color: var(--brand-deep); font-weight: 900; font-size: 14px; }
    .module-card.price .module-link { color: #ffc35a; }
    .price-capabilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 22px; }
    .price-capabilities div { padding: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.055); }
    .price-capabilities strong { display: block; color: #fff; font-size: 12px; line-height: 1.2; }
    .price-capabilities span { display: block; margin-top: 6px; color: #9fa9bf; font-size: 10px; line-height: 1.38; }
    .price-viz { display: grid; grid-template-columns: minmax(0,1fr) 155px; gap: 18px; margin-top: 35px; }
    .chart-card, .signal-stack { border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.06); }
    .chart-card { padding: 15px; }
    .chart-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 10px; color: #c7cede; font-size: 11px; }
    .insights-mini { overflow-x: auto; }
    .im-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .im-table th { padding: 8px 10px; text-align: left; color: #97a1b8; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.14); }
    .im-table td { padding: 11px 10px; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.08); color: #eef1f8; font-weight: 800; white-space: nowrap; }
    .im-table tbody tr:last-child td { border-bottom: 0; }
    .im-table td:first-child { color: #c7cede; font-weight: 700; white-space: normal; min-width: 120px; }
    .im-table i { display: block; margin-top: 3px; color: #8f9ab2; font-size: 10px; font-style: normal; font-weight: 700; }
    .im-table .im-best { color: #8ad68e; }
    .im-table .im-none { color: #8f9ab2; }
    .signal-stack { display: grid; gap: 1px; overflow: hidden; }
    .signal-row { padding: 13px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .signal-row:last-child { border: 0; }
    .signal-row span { display: block; color: #909bb4; font-size: 10px; }
    .signal-row strong { font-size: 13px; }
    .brand-radar { width: 250px; height: 250px; position: relative; display: grid; place-items: center; margin: 32px auto 0; border: 1px solid var(--line); border-radius: 50%; }
    .brand-radar::before, .brand-radar::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; }
    .brand-radar::before { inset: 35px; }
    .brand-radar::after { inset: 75px; }
    .radar-axis { position: absolute; width: 1px; height: 100%; background: var(--line); }
    .radar-axis:nth-child(2) { transform: rotate(60deg); }
    .radar-axis:nth-child(3) { transform: rotate(120deg); }
    .radar-shape { width: 152px; height: 142px; opacity: .86; }
    .radar-label { position: absolute; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 10px; font-weight: 900; }
    .radar-label.one { top: -10px; left: 50%; transform: translateX(-50%); }
    .radar-label.two { right: -20px; bottom: 35px; }
    .radar-label.three { left: -15px; bottom: 35px; }
    .photo-card { position: absolute; inset: 0; }
    .photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(6,9,35,.06) 20%,rgba(6,9,35,.88) 88%); }
    .photo-card img { width: 100%; height: 100%; object-fit: cover; }
    .receipt .photo-card img { object-position: 58% 50%; }
    .loyalty .photo-card::after { background: linear-gradient(180deg,rgba(6,9,35,.04) 12%,rgba(6,9,35,.34) 50%,rgba(6,9,35,.96) 100%); }
    .photo-content { position: absolute; z-index: 2; inset: auto 28px 28px; }
    .photo-content p { color: #d6d9e5; }
    .photo-content .module-link { color: #ffc35a; }
    .loyalty .photo-content { color: #fff; }
    .loyalty .photo-content h3 { color: #fff; line-height: 1.1; padding-bottom: 3px; text-shadow: 0 3px 22px rgba(0,0,0,.55); }
    .loyalty .photo-content p { color: #f0f2f8; text-shadow: 0 2px 14px rgba(0,0,0,.5); }

    /* Асортимент: фото полиці з прогалинами + скляна панель «Прогалини». */
    .assortment .photo-card img { object-position: 60% 50%; }
    .assortment .photo-card::after { background: linear-gradient(90deg, rgba(6,9,35,.96) 0%, rgba(6,9,35,.82) 38%, rgba(6,9,35,.2) 70%, rgba(6,9,35,.35) 100%); }
    .assort-copy { position: relative; z-index: 2; max-width: 520px; padding: 88px 32px 32px; }
    .assort-copy h3 { color: #fff; }
    .assort-copy p { color: #c9cfdf; }
    .assort-copy .module-link { color: #ffc35a; }
    .assort-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
    .assort-tabs span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #eef1f8; background: rgba(255,255,255,.06); font-size: 11px; font-weight: 800; }
    .assort-tabs span:nth-child(2) { color: var(--ink); border-color: transparent; background: linear-gradient(135deg,var(--brand),var(--brand-2)); }
    .assort-panel {
      position: absolute; z-index: 2; right: 30px; bottom: 30px; width: 330px; padding: 16px; color: #fff;
      border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(6,9,35,.78);
      backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 44px rgba(0,0,0,.35);
    }
    .ap-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
    .ap-head small { color: #aeb6c9; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
    .ap-live { color: #7ee189; font-size: 10px; font-weight: 800; white-space: nowrap; }
    .ap-matrix { display: grid; grid-template-columns: 1fr repeat(4, 30px); gap: 7px 6px; align-items: center; margin-top: 12px; }
    .ap-matrix em { color: #9ca6bc; font-size: 10px; font-style: normal; font-weight: 900; text-align: center; }
    .ap-matrix span { color: #dfe3ee; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ap-matrix i { height: 18px; border-radius: 5px; }
    .ap-matrix i.on { background: rgba(98,217,146,.75); }
    .ap-matrix i.off { background: rgba(255,255,255,.08); }
    .ap-matrix i.gap { background: transparent; box-shadow: inset 0 0 0 2px var(--brand); animation: apGap 1.8s ease-in-out infinite; }
    @keyframes apGap { 50% { box-shadow: inset 0 0 0 2px rgba(255,149,0,.35); } }
    .ap-foot { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; color: #aeb6c9; }
    .ap-foot b { color: var(--brand-2); font-size: 13px; white-space: nowrap; }
    .api-flow { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 20px; }
    .api-flow span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: #f3f4fa; background: rgba(6,9,35,.45); font-size: 10px; font-weight: 900; backdrop-filter: blur(8px); }
    .api-flow b { color: var(--brand); }

    .workflow { position: relative; }
    /* Робочий процес: 3 кроки + 2 результати; фото в гамі hero зі скляними чипами. */
    .flow-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin: 42px 0 0; padding: 0; list-style: none; }
    .flow-card {
      position: relative; display: flex; flex-direction: column; overflow: hidden;
      border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.045);
      transition: transform .25s ease, border-color .25s ease;
    }
    .flow-card:hover { transform: translateY(-4px); border-color: rgba(255,149,0,.45); }
    .flow-card.flow-result { border-color: rgba(255,149,0,.35); background: linear-gradient(180deg, rgba(255,149,0,.1), rgba(255,255,255,.04)); }
    .flow-card:not(:last-child)::after {
      content: ""; position: absolute; z-index: 3; top: 118px; right: -9px; width: 16px; height: 16px; border-radius: 50%;
      background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='%23060923' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
      box-shadow: 0 0 0 4px var(--ink);
    }
    .flow-photo { position: relative; aspect-ratio: 4 / 3.6; overflow: hidden; }
    .flow-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
    .flow-card:hover .flow-photo img { transform: scale(1.05); }
    .flow-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,9,35,.85)); }
    .flow-chip {
      position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; padding: 7px 9px; overflow: hidden;
      border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #fff; background: rgba(6,9,35,.7);
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      font-size: 11px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis;
    }
    .flow-chip b.up { color: #ff7a70; } .flow-chip b.gap { color: var(--brand-2); }
    .flow-body { flex: 1; padding: 18px 18px 22px; }
    .flow-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ink); background: linear-gradient(135deg,var(--brand),var(--brand-2)); font-size: 14px; font-weight: 950; }
    .flow-kind { margin-left: 8px; color: #ffc35a; font-size: 10px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
    .flow-card h3 { margin: 12px 0 8px; font-size: 19px; line-height: 1.12; letter-spacing: -.025em; }
    .flow-card p { margin: 0; color: #c3cadb; font-size: 13.5px; line-height: 1.5; }

    .case-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
    .case-main { min-height: 420px; padding: 44px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
    .case-mark { width: 56px; height: 56px; display: grid; place-items: center; padding-top: 16px; border-radius: 18px; color: var(--brand-deep); background: var(--brand-soft); font-size: 48px; line-height: 1; font-weight: 950; }
    .case-main blockquote { max-width: 790px; margin: 34px 0 0; font-size: clamp(26px,3.3vw,40px); line-height: 1.08; letter-spacing: -.042em; font-weight: 900; }
    .case-credit { margin-top: 28px; color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
    .case-stats { display: grid; gap: 14px; }
    .case-stat { position: relative; min-height: 230px; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--ink); isolation: isolate; }
    .case-stat::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(6,9,35,.98) 0%,rgba(6,9,35,.82) 52%,rgba(6,9,35,.18) 100%); }
    .case-stat:nth-child(2)::after { background: linear-gradient(90deg,rgba(6,9,35,.98) 0%,rgba(6,9,35,.78) 50%,rgba(6,9,35,.1) 100%); }
    .case-stat img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .case-stat:first-child img { object-position: 50% 56%; }
    .case-stat-copy { min-height: 230px; padding: 26px 28px; display: flex; flex-direction: column; }
    .case-stat small { display: inline-flex; align-self: flex-start; margin-bottom: auto; padding: 6px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(6,9,35,.55); color: #ffc35a; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
    .case-stat strong { margin-top: 24px; font-size: 66px; line-height: 1; letter-spacing: -.065em; font-weight: 950; text-shadow: 0 3px 18px rgba(0,0,0,.45); }
    .case-stat span { max-width: 320px; margin-top: 8px; color: #e2e6f0; font-size: 16px; line-height: 1.4; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
    .case-passport { grid-column: 1 / -1; display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); }
    .case-passport strong { color: var(--brand-deep); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
    .case-passport span { color: var(--muted); font-size: 12px; line-height: 1.5; }

    /* Безпека: темна секція в мові hero — скляні картки, помаранчеві акценти. */
    .trust { padding: 96px 0; }
    .security-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 14px; align-items: stretch; }
    .security-main {
      position: relative; overflow: hidden; padding: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); color: #fff;
      background: radial-gradient(circle at 88% 8%, rgba(255,149,0,.22), transparent 38%), linear-gradient(150deg, #151d3b, #080c22);
    }
    .security-main::before {
      content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
      background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: 32px 32px; mask-image: radial-gradient(circle at 80% 10%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 80% 10%, #000, transparent 70%);
    }
    .security-main > * { position: relative; }
    .security-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 26px; border: 1px solid rgba(255,149,0,.35); border-radius: 18px; background: rgba(255,149,0,.1); box-shadow: 0 0 40px rgba(255,149,0,.18); }
    .security-icon svg { width: 36px; height: 36px; }
    .security-main h2 { max-width: 660px; margin: 0 0 14px; font-size: clamp(38px,5vw,64px); line-height: .98; letter-spacing: -.052em; }
    .security-main > p:not(.eyebrow) { max-width: 600px; margin: 0; color: #b9c1d5; font-size: 17px; }
    .layer-panel { margin-top: 30px; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(6,9,35,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
    .lp-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; }
    .lp-row b { display: block; font-size: 14px; }
    .lp-row em { display: block; color: #9ca6bc; font-size: 11.5px; font-style: normal; font-weight: 700; }
    .lp-row small { color: #9ca6bc; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
    .lp-private { border: 1px solid rgba(255,149,0,.4); background: rgba(255,149,0,.09); }
    .lp-private small { color: #ffc35a; }
    .lp-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); background: linear-gradient(135deg,var(--brand),var(--brand-2)); }
    .lp-ic svg { width: 20px; height: 20px; }
    .lp-ic-global { color: #c9cfdd; background: rgba(255,255,255,.08); }
    .lp-sep { position: relative; height: 26px; margin-left: 27px; border-left: 2px dashed rgba(255,149,0,.45); }
    .lp-sep span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); padding: 2px 8px; border-radius: 999px; color: #ff9d8f; background: rgba(255,90,54,.12); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
    .security-list { display: grid; gap: 12px; }
    .security-item {
      padding: 22px; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center;
      border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.045);
      transition: border-color .25s ease, background .25s ease, transform .25s ease;
    }
    .security-item:hover { transform: translateX(4px); border-color: rgba(255,149,0,.45); background: rgba(255,149,0,.07); }
    .security-item i { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,149,0,.3); border-radius: 13px; color: #ffc35a; background: rgba(255,149,0,.1); }
    .security-item i svg { width: 22px; height: 22px; }
    .security-item strong { display: block; color: #fff; font-size: 16px; }
    .security-item span { display: block; margin-top: 4px; color: #aab3c8; font-size: 13.5px; }

    .faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; }
    .faq-list { display: grid; gap: 10px; }
    details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
    summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; font-weight: 900; }
    summary::-webkit-details-marker { display: none; }
    summary::after { content: "+"; width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--brand-deep); background: var(--brand-soft); }
    details[open] summary::after { content: "−"; }
    details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

    .cta { padding-bottom: 110px; }
    .cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 38px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
    .cta-card::before { content: ""; position: absolute; width: 620px; height: 620px; left: -250px; bottom: -390px; border-radius: 50%; background: radial-gradient(circle,rgba(255,149,0,.32),transparent 66%); }
    .cta-copy { position: relative; padding: 64px 52px; }
    .cta-copy h2 { max-width: 630px; margin: 0; font-size: clamp(42px,5.5vw,74px); line-height: .96; letter-spacing: -.055em; }
    .cta-copy p { max-width: 560px; margin: 22px 0 0; color: #bac1d4; font-size: 18px; }
    .cta-notes { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 32px; color: #e5e7f0; font-size: 12px; font-weight: 800; }
    .cta-notes span::before { content: "✓"; margin-right: 7px; color: var(--brand); }
    .cta-router { position: relative; display: flex; flex-direction: column; margin: 20px; padding: 26px; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: rgba(255,255,255,.075); backdrop-filter: blur(12px); }
    .contact-choices { display: flex; flex-direction: column; flex: 1; }
    .cta-router-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
    .cta-router-head strong { display: block; font-size: 22px; letter-spacing: -.03em; }
    .cta-router-head span { display: block; margin-top: 4px; color: #9da6ba; font-size: 12px; }
    .contact-path-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
    .contact-path { min-height: 168px; display: flex; flex-direction: column; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; color: #fff; background: rgba(255,255,255,.055); text-align: left; font: inherit; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
    .contact-path:hover { transform: translateY(-3px); border-color: rgba(255,149,0,.55); background: rgba(255,149,0,.11); }
    .contact-path small { color: var(--brand); font-size: 10px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
    .contact-path strong { display: block; margin-top: 12px; font-size: 19px; letter-spacing: -.025em; }
    .contact-path span { display: block; margin-top: 7px; color: #b6bdcf; font-size: 13px; line-height: 1.45; }
    .contact-path em { margin-top: auto; padding-top: 16px; color: #ffd079; font-size: 13px; font-style: normal; font-weight: 900; }
    .contact-path.receipt-path { border-color: rgba(255,149,0,.3); background: linear-gradient(145deg,rgba(255,149,0,.16),rgba(255,255,255,.055)); }
    .receipt-form-panel[hidden], .contact-choices[hidden] { display: none !important; }
    .receipt-form-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
    .receipt-form-head strong { display: block; font-size: 22px; }
    .receipt-form-head span { display: block; margin-top: 4px; color: #aeb6c9; font-size: 12px; }
    .receipt-back { flex: 0 0 auto; border: 0; padding: 8px 10px; border-radius: 10px; color: #fff; background: rgba(255,255,255,.09); white-space: nowrap; cursor: pointer; }
    .demo-form { position: relative; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .field { display: grid; gap: 7px; }
    .field.full { grid-column: 1 / -1; }
    .field label { color: #d8dce9; font-size: 12px; font-weight: 900; }
    .field input, .field select, .field textarea {
      width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; color: #fff; background: rgba(255,255,255,.08); padding: 12px 13px; outline: none;
    }
    .field input::placeholder, .field textarea::placeholder { color: #8f98ae; }
    .field select option { color: #111; background: #fff; }
    .field textarea { min-height: 92px; resize: vertical; }
    .demo-form .btn { width: 100%; margin-top: 14px; }
    .form-status { min-height: 21px; margin: 12px 0 0; font-size: 13px; font-weight: 800; }
    .form-status.success { color: #64d37b; }
    .form-status.error { color: #ff8d8d; }
    .form-note { margin: 12px 0 0; color: #8f98ae; font-size: 11px; text-align: center; }

    .toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 13px 17px; border-radius: 12px; color: #fff; background: #2d8f34; box-shadow: 0 18px 50px rgba(0,0,0,.25); transform: translate(-50%,130%); opacity: 0; transition: .25s ease; }
    .toast.show { transform: translate(-50%,0); opacity: 1; }
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
    .reveal.visible { opacity: 1; transform: none; }

    @media (max-width: 1080px) {
      .hero { min-height: auto; }
      .hero-grid { grid-template-columns: 1fr; gap: 52px; }
      .hero-copy { max-width: 810px; }
      .hero-visual { min-height: 540px; }
      .hero-frame { right: -40px; border-radius: 36px; }
      .float-two { right: -16px; }
      .proof-card.answer { grid-column: span 12; }
      .proof-card.metric { grid-column: span 3; }
      .foundation-copy { grid-template-columns: 1fr; gap: 20px; max-width: 820px; }
      .dm { grid-template-columns: minmax(0,1fr) 300px minmax(0,1fr); column-gap: 44px; padding: 30px 22px 22px; }
      .persona-card { grid-column: span 6; }
      .flow-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
      .flow-card { grid-column: span 2; }
      .flow-card.flow-result { grid-column: span 3; }
      .flow-card:not(:last-child):nth-child(3)::after { display: none; }
      .flow-result .flow-photo { aspect-ratio: 16 / 9; }
      .assort-panel { position: relative; right: auto; bottom: auto; width: auto; margin: 0 32px 32px; }
      .module-card.price, .module-card.brand, .module-card.receipt, .module-card.loyalty { grid-column: span 6; }
      .price-viz { grid-template-columns: 1fr; }
      .price-capabilities { grid-template-columns: 1fr; }
      .signal-stack { grid-template-columns: repeat(3,1fr); }
      .cta-card { grid-template-columns: 1fr; }
      .cta-router { margin: 0 20px 20px; }
    }

    @media (max-width: 820px) {
      .shell { width: min(calc(100% - 28px), var(--max)); }
      .section { padding: 78px 0; }
      .hero { padding-top: 54px; }
      h1 { font-size: clamp(48px,12vw,74px); }
      .hero-visual { min-height: 480px; }
      .float-one { left: 10px; }
      .float-two { right: 10px; }
      /* Keep the source tags clear of the signal card that sits bottom-right. */
      .hero-source-rail { max-width: calc(100% - 280px); }
      .proof-wrap { margin-top: -25px; }
      .proof-card.metric { grid-column: span 6; }
      .case-passport { grid-template-columns: 1fr; gap: 8px; }
      .section-heading { display: block; }
      .section-heading .section-lead { margin-top: 18px; }
      /* narrow: stack sources → card → products; vertical connectors instead of curves */
      .dm { grid-template-columns: 1fr; row-gap: 30px; }
      .dm-lines { display: none; }
      .dm-core { justify-self: center; width: min(100%, 360px); }
      .dm-core::before, .dm-core::after { content: ""; position: absolute; left: 50%; height: 30px; border-left: 2px dashed rgba(255,149,0,.6); }
      .dm-core::before { bottom: 100%; }
      .dm-core::after { top: 100%; }
      .module-card.price, .module-card.brand, .module-card.receipt, .module-card.loyalty { grid-column: span 12; }
      .flow-grid { grid-template-columns: 1fr 1fr; }
      .flow-card, .flow-card.flow-result { grid-column: auto; }
      .flow-card:last-child { grid-column: 1 / -1; }
      .flow-card:not(:last-child)::after { display: none; }
      .flow-result .flow-photo { aspect-ratio: 4 / 3.6; }
      .flow-card:last-child .flow-photo { aspect-ratio: 16 / 7; }
      .case-grid, .security-grid, .faq-grid { grid-template-columns: 1fr; }
      .faq-grid { gap: 34px; }
    }

    @media (max-width: 560px) {
      .hero { padding: 42px 0 62px; }
      h1 { font-size: 46px; }
      .hero-tagline { font-size: 19px; }
      .hero-lead { font-size: 17px; }
      .hero-actions { display: grid; }
      .hero-actions .btn { width: 100%; }
      .hero-trust { align-items: flex-start; }
      .trust-label { width: 100%; }
      /* Phones: no overlays on the photo — image, cards and tags stack in normal flow. */
      .hero-visual { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
      .hero-frame { grid-column: 1 / -1; position: relative; inset: auto; height: 300px; border-radius: 26px; }
      .hero-frame img { object-position: 63% 50%; }
      .floating-card { position: static; backdrop-filter: none; }
      .float-one, .float-two { grid-column: 1 / -1; width: auto; }
      .metric-scope-dark { max-width: none; }
      .hero-source-rail { grid-column: 1 / -1; position: static; max-width: none; }
      .proof-grid { gap: 10px; }
      .proof-card { padding: 22px; }
      .proof-card.metric { grid-column: span 12; min-height: 132px; }
      .metric-number { font-size: 48px; }
      .persona-card { grid-column: span 12; }
      .module-card { border-radius: 24px; padding: 24px; }
      .module-card.price { min-height: 870px; }
      .module-card.brand { min-height: 470px; }
      /* Phones: photo on top, text below on a dark panel — no copy over faces or receipts. */
      .module-card.receipt, .module-card.loyalty { min-height: 0; display: flex; flex-direction: column; background: var(--ink); }
      .module-card.receipt .photo-card, .module-card.loyalty .photo-card { position: relative; inset: auto; height: 235px; flex: 0 0 auto; }
      .module-card.receipt .photo-card::after, .module-card.loyalty .photo-card::after { background: linear-gradient(180deg, rgba(6,9,35,0) 55%, rgba(6,9,35,.96) 100%); }
      .photo-content { position: static; inset: auto; padding: 4px 22px 26px; }
      .loyalty .photo-content h3, .loyalty .photo-content p { text-shadow: none; }
      .price-viz { margin-top: 25px; }
      .signal-stack { grid-template-columns: 1fr; }
      .signal-row:nth-child(n+2) { display: none; }
      .brand-radar { width: 220px; height: 220px; }
      .flow-grid { grid-template-columns: 1fr; }
      .flow-photo, .flow-result .flow-photo, .flow-card:last-child .flow-photo { aspect-ratio: 16 / 9; }
      .assort-copy { padding: 76px 22px 24px; }
      .assort-panel { margin: 0 14px 14px; }
      .module-card.assortment .photo-card { position: absolute; }
      .layer-panel { padding: 10px; }
      .lp-row { grid-template-columns: 32px 1fr; }
      .lp-row small { display: none; }
      .trust { padding: 64px 0; }
      .market-canvas { margin-top: 40px; }
      .market-canvas-frame { aspect-ratio: 16 / 10; border-radius: 24px; }
      .case-stat, .case-stat-copy { min-height: 210px; }
      .case-main { padding: 28px; }
      .case-main blockquote { font-size: 28px; }
      .security-main { padding: 28px 22px; }
      .cta-copy { padding: 44px 28px; }
      .cta-router { margin: 0 12px 12px; padding: 20px; }
      .contact-path-grid { grid-template-columns: 1fr; }
      .contact-path { min-height: 142px; }
      .form-grid { grid-template-columns: 1fr; }
      .field.full { grid-column: auto; }
    }

    /* RTL (ar: myRespondHtml sets dir="rtl"). Grid/flex/text mirror by themselves; these pieces are
       positioned with physical left/right, so mirror them explicitly. Each block is limited to the widths
       where the element is actually absolutely positioned (phones stack everything in normal flow). */
    @media (min-width: 561px) {
      [dir="rtl"] .hero-frame { inset: 0 0 0 -160px; border-radius: 0 42px 42px 0; }
      [dir="rtl"] .hero-frame::before { background: linear-gradient(270deg, rgba(6,9,35,.38), transparent 38%, rgba(6,9,35,.08)); }
      [dir="rtl"] .float-one { left: auto; right: -35px; }
      [dir="rtl"] .float-two { right: auto; left: calc(-1 * min(126px, (100vw - min(100vw - 40px, var(--max))) / 2 - 16px)); }
      [dir="rtl"] .hero-source-rail { left: auto; right: 18px; }
    }
    @media (min-width: 561px) and (max-width: 1080px) {
      [dir="rtl"] .hero-frame { left: -40px; }
      [dir="rtl"] .float-two { left: -16px; }
    }
    @media (min-width: 561px) and (max-width: 820px) {
      [dir="rtl"] .float-one { right: 10px; }
      [dir="rtl"] .float-two { left: 10px; }
    }
    [dir="rtl"] .photo-kicker { left: auto; right: 28px; }
    [dir="rtl"] .assortment .photo-card img { transform: scaleX(-1); }          /* dark, empty side of the shelf photo goes under the text */
    [dir="rtl"] .assortment .photo-card::after { background: linear-gradient(270deg, rgba(6,9,35,.96) 0%, rgba(6,9,35,.82) 38%, rgba(6,9,35,.2) 70%, rgba(6,9,35,.35) 100%); }
    @media (min-width: 1081px) { [dir="rtl"] .assort-panel { right: auto; left: 30px; } }
    [dir="rtl"] .flow-card:not(:last-child)::after { right: auto; left: -9px; transform: scaleX(-1); }
    [dir="rtl"] .dm-src { padding: 11px 14px 11px 64px; }
    [dir="rtl"] .dm-src b { right: auto; left: 14px; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }
    .chart-live { color: #7ee189; }
    .case-eyebrow { margin-top: 26px; }
