/* ===== Fonts (self-hosted, latin + latin-ext variable subsets) ===== */
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:100 800;
  font-display:swap;
  src:url('../assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:100 800;
  font-display:swap;
  src:url('../assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== Design tokens ===== */
:root{
  --ink:#0F1220;
  --ink-2:#1F2337;
  --body:#4A5068;
  --muted:#7A8098;
  --line:#E7E6E2;
  --line-2:#EFEEEA;
  --bg:#FBFAF8;
  --surface:#FFFFFF;
  --surface-2:#F5F4F0;
  --blue:#2C5EEA;
  --blue-2:#1E46C2;
  --blue-soft:#E8EEFF;
  --orange:#F97316;
  --orange-soft:#FEF0E4;
  --purple:#7C4BE7;
  --purple-soft:#F1EBFE;
  --green:#1E9C6B;
  --green-soft:#E4F6EE;
  --red:#E03F3F;
  --red-soft:#FCE8E8;

  --r-card:14px;
  --r-btn:10px;
  --r-frame:22px;

  --sh-sm:0 1px 2px rgba(16,19,32,.06);
  --sh-md:0 2px 6px rgba(16,19,32,.06), 0 18px 40px rgba(16,19,32,.08);
  --sh-lg:0 4px 12px rgba(16,19,32,.08), 0 30px 60px rgba(16,19,32,.12);
  --sh-blue:0 30px 60px rgba(44,94,234,.18);

  --pad-sec:clamp(64px, 9vw, 120px);
  --wrap-max:1180px;

  --pad-sec-mobile:48px;
  --wrap-pad-sm:20px;
  --section-head-mb-mobile:40px;
}

/* ===== Reset ===== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}

h1,h2,h3,h4{margin:0;letter-spacing:-.02em;color:var(--ink);font-weight:700;line-height:1.08}
h1{font-size:clamp(28px,3.4vw,44px);font-weight:800;letter-spacing:-.03em;line-height:1.1;text-wrap:balance}
h2{font-size:clamp(32px,3.8vw,50px);font-weight:700;letter-spacing:-.03em;text-wrap:balance}
h3{font-size:20px;line-height:1.3}
p{margin:0}

.wrap{max-width:var(--wrap-max);margin:0 auto;padding:0 24px}
.section{padding:var(--pad-sec) 0}
.center{text-align:center}
.hide-sm{display:inline}
@media (max-width:768px){.hide-sm{display:none}}

/* ===== Highlights / accents ===== */
.hl{position:relative;white-space:nowrap}
.hl-blue{color:var(--blue)}
.hl-orange{color:var(--orange)}
.hl-purple{color:var(--purple)}
.hl-red{color:var(--red)}
.hl-white{color:#fff;background:linear-gradient(180deg,transparent 60%, rgba(255,255,255,.2) 60%);padding:0 4px;border-radius:4px}
.ink-grad{
  background:linear-gradient(180deg,var(--blue) 0%, var(--blue-2) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}

.eyebrow{
  display:inline-block;
  font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);
  margin-bottom:16px;
}
.eyebrow.light{color:rgba(255,255,255,.7)}
.lead{
  color:var(--body);font-size:clamp(16px,1.2vw,18px);
  max-width:640px;margin:20px auto 0;text-wrap:pretty;
}
.section-head{margin-bottom:64px}
.section-head .lead{margin-top:16px}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  height:46px;padding:0 20px;
  border-radius:var(--r-btn);
  font-weight:600;font-size:15px;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn svg{width:18px;height:18px;flex:0 0 18px}
.btn .arr{transition:transform .2s ease;display:inline-block}
.btn:hover .arr{transform:translateX(3px)}
.btn-sm{height:40px;padding:0 16px;font-size:14px}
.btn-block{width:100%;justify-content:center}

.btn-primary{
  background:linear-gradient(135deg,#3B6EF5 0%, #2C5EEA 50%, #1E46C2 100%);
  color:#fff;
  box-shadow:0 1px 2px rgba(30,70,194,.3), 0 8px 20px rgba(44,94,234,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover{
  background:linear-gradient(135deg,#4A7CF5 0%, #3B6EF5 50%, #2752D8 100%);
  transform:translateY(-1px);
  box-shadow:0 2px 4px rgba(30,70,194,.35), 0 14px 28px rgba(44,94,234,.38), inset 0 1px 0 rgba(255,255,255,.24);
}

.btn-secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}
.btn-secondary:hover{border-color:var(--ink);background:#fff}

.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{background:var(--surface-2);border-color:var(--ink-2)}

.btn-inverse{background:#fff;color:var(--ink)}
.btn-inverse:hover{background:var(--bg);transform:translateY(-1px)}

.btn-outline-white{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}
.btn-outline-white:hover{border-color:#fff;background:rgba(255,255,255,.08)}

.link{color:var(--body);font-weight:500;font-size:14px}
.link:hover{color:var(--ink)}

/* ===== Header ===== */
.hdr{
  position:sticky;top:0;z-index:40;
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  background:rgba(251,250,248,.82);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, background .2s ease;
}
.hdr.scrolled{border-bottom-color:var(--line)}
.hdr-inner{display:flex;align-items:center;justify-content:space-between;height:68px;gap:24px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.logo-mark{width:30px;height:30px;display:inline-flex;flex-shrink:0}
.logo-mark svg{width:100%;height:100%;display:block}
.logo-word{font-size:17px}
.logo-word b{font-weight:500;color:var(--body)}
.nav{display:flex;gap:6px}
.nav a{
  padding:8px 14px;border-radius:8px;font-size:14px;font-weight:500;color:var(--body);
}
.nav a:hover{color:var(--ink);background:rgba(16,19,32,.04)}
.hdr-cta{display:flex;align-items:center;gap:14px}
.burger{display:none;background:transparent;border:0;width:36px;height:36px;flex-direction:column;gap:4px;align-items:center;justify-content:center}
.burger span{width:20px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s ease, opacity .2s ease}
.burger.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch{position:relative}
.lang-trigger{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;border-radius:8px;
  background:transparent;border:1px solid transparent;
  color:var(--body);font-family:inherit;font-weight:500;font-size:14px;
  cursor:pointer;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.lang-trigger:hover,.lang-trigger[aria-expanded="true"]{
  color:var(--ink);background:rgba(16,19,32,.04);
}
.lang-ico-globe{width:16px;height:16px;flex-shrink:0}
.lang-ico-caret{width:9px;height:9px;flex-shrink:0;transition:transform .15s ease}
.lang-trigger[aria-expanded="true"] .lang-ico-caret{transform:rotate(180deg)}
.lang-current{line-height:1}

.lang-menu{
  position:absolute;top:calc(100% + 6px);right:0;min-width:152px;
  background:var(--surface);border:1px solid var(--line);border-radius:10px;
  box-shadow:var(--sh-md);padding:4px;margin:0;list-style:none;z-index:50;
}
.lang-menu[hidden]{display:none}
.lang-menu li{margin:0}
.lang-menu a{
  display:flex;align-items:center;gap:6px;
  padding:8px 10px;border-radius:6px;
  color:var(--body);font-size:14px;font-weight:500;text-decoration:none;
}
.lang-menu a:hover{background:rgba(16,19,32,.05);color:var(--ink)}
.lang-menu a[aria-current="true"]{color:var(--ink);font-weight:600}
.lang-menu a[aria-current="true"]::before{
  content:"";display:inline-block;width:12px;height:10px;
  background:url('../assets/icons/check-blue.svg') no-repeat left center/12px auto;
  flex-shrink:0;
}
.lang-menu a:not([aria-current="true"])::before{
  content:"";display:inline-block;width:12px;height:10px;flex-shrink:0;
}

/* Mobile language block (inside burger nav) — hidden on desktop */
.nav-lang[data-mobile]{display:none}

/* mobile-nav rules moved to RESPONSIVE section at EOF */

/* ===== HERO ===== */
.hero{position:relative;overflow:hidden;padding:56px 0 64px}
.hero-bg{position:absolute;inset:0;pointer-events:none;z-index:0}
.hero-glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.5}
.hg1{width:520px;height:520px;background:#cbd8ff;top:-180px;left:-100px}
.hg2{width:420px;height:420px;background:#ffe0c8;top:120px;right:-120px;opacity:.4}
.grid-fade{
  position:absolute;inset:0;
  background-image:
    linear-gradient(to right, rgba(16,19,32,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16,19,32,.035) 1px, transparent 1px);
  background-size:40px 40px;
  mask-image:linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image:linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero-wrap{
  position:relative;z-index:1;display:grid;
  grid-template-columns:1fr 1.35fr;
  grid-template-rows:auto 1fr;
  column-gap:40px;row-gap:24px;
  align-items:start;
}
.hero-title{grid-column:1;grid-row:1;max-width:560px;margin:0}
.hero-copy{grid-column:1;grid-row:2;max-width:560px}
.hero-visual{grid-column:2;grid-row:1 / span 2;align-self:center}

.hero-sub{
  margin-top:0;font-size:clamp(17px,1.4vw,19px);
  color:var(--body);max-width:540px;line-height:1.55;text-wrap:pretty;
}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}

.hero-micro{margin-top:14px;font-size:13px;color:var(--muted)}

.hero-bullets{list-style:none;margin:22px 0 28px;padding:0;display:flex;flex-direction:column;gap:10px}
.hero-bullets li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--body);line-height:1.45}
.hb-ico{flex:0 0 20px;width:20px;height:20px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:inline-flex;align-items:center;justify-content:center;margin-top:1px}
.hb-ico svg{width:12px;height:12px}

.hero-social{margin-top:32px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.avatars{display:flex}
.avatars span{
  width:34px;height:34px;border-radius:50%;border:2px solid #fff;
  background:linear-gradient(135deg,#c6d5ff,#f7c8a3);
  margin-left:-8px;box-shadow:var(--sh-sm);
}
.avatars span:first-child{margin-left:0}
.avatars span:nth-child(2){background:linear-gradient(135deg,#ffdbc4,#f8a574)}
.avatars span:nth-child(3){background:linear-gradient(135deg,#e7d5ff,#b794ff)}
.avatars span:nth-child(4){background:linear-gradient(135deg,#c9efdd,#72c8a3)}
.avatars span:nth-child(5){background:linear-gradient(135deg,#fcd5d5,#e68a8a)}
.rating{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--body)}
.rating b{color:var(--ink);font-weight:700}
.stars{display:inline-flex;gap:1px}
.stars svg{width:15px;height:15px;fill:#F6AF2C}

/* Hero card */
.hero-visual{position:relative}
.hero-card{
  position:relative;
  border-radius:var(--r-frame);
  background:#fff;
  padding:12px;
  box-shadow:var(--sh-lg), 0 40px 80px rgba(44,94,234,.14);
  transform:rotate(-.3deg);
}
.hero-card img{border-radius:calc(var(--r-frame) - 8px);width:100%;height:auto}
.badge-eu,.badge-rules{
  position:absolute;background:#fff;border:1px solid var(--line);
  border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600;color:var(--ink);
  box-shadow:var(--sh-md);display:inline-flex;align-items:center;gap:8px;
}
.badge-eu{top:-14px;right:24px}
.badge-rules{bottom:-18px;left:24px;padding:8px 16px 8px 8px;border-radius:14px}
.badge-rules .shield{width:32px;height:32px;border-radius:10px;background:var(--blue-soft);display:flex;align-items:center;justify-content:center}
.badge-rules .shield svg{width:20px;height:20px}
.badge-rules strong{display:block;font-weight:700;font-size:14px;line-height:1}
.badge-rules span{font-size:12px;color:var(--muted);font-weight:500}

/* Hero video trigger (button wrapping poster + play overlay) */
button.hero-play{
  appearance:none;border:0;font:inherit;color:inherit;
  width:100%;text-align:left;cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}
button.hero-play:hover{transform:rotate(-.3deg) translateY(-2px)}
button.hero-play:focus-visible{outline:3px solid var(--blue);outline-offset:6px}
.hero-play .play-btn{
  position:absolute;left:50%;top:50%;
  width:84px;height:84px;border-radius:50%;
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 32px rgba(15,18,32,.28), 0 0 0 1px rgba(15,18,32,.04);
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--blue);pointer-events:none;
  transform:translate(-50%,-50%);
  transition:transform .25s ease, box-shadow .25s ease;
}
.hero-play:hover .play-btn{
  transform:translate(-50%,-50%) scale(1.08);
  box-shadow:0 18px 40px rgba(44,94,234,.35), 0 0 0 1px rgba(44,94,234,.12);
}
.hero-play .play-btn svg{width:34px;height:34px;transform:translateX(2px)}

/* Video modal (lazy-loaded — preload=none on <video>) */
.video-modal{
  position:fixed;inset:0;z-index:100;
  width:100vw;height:100vh;height:100dvh;
  display:none;
  place-items:center;
  padding:24px;
  background:rgba(15,18,32,.82);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.video-modal.is-open{display:grid}
.video-modal-backdrop{position:absolute;inset:0;cursor:pointer}
.video-modal-content{
  position:relative;
  grid-row:1;grid-column:1;
  margin:auto;
  width:min(92vw,100vw - 48px,1200px);
  aspect-ratio:16/9;max-height:calc(100dvh - 48px);
  background:#000;
  border-radius:var(--r-card);
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
}
.video-modal-content video{width:100%;height:100%;display:block}
.video-modal-close{
  position:absolute;top:12px;right:12px;z-index:2;
  width:40px;height:40px;padding:0;border:0;border-radius:50%;
  background:rgba(15,18,32,.75);color:#fff;
  cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  transition:background .2s ease, transform .2s ease;
}
.video-modal-close:hover{background:rgba(15,18,32,.95);transform:scale(1.06)}
.video-modal-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
.video-modal-close svg{width:22px;height:22px}

/* ===== LEGAL / PROSE PAGES ===== */
.legal-hero{padding:88px 0 40px}
.legal-hero h1{font-size:clamp(32px,4vw,48px);font-weight:800;letter-spacing:-.03em;margin:0;text-wrap:balance}
.legal-hero .lead{margin:16px 0 0;max-width:720px}
.legal-meta{margin-top:24px;font-size:13px;color:var(--muted);display:flex;gap:20px;flex-wrap:wrap}
.legal-content{padding:16px 0 96px}
.legal-body{max-width:760px}
.legal-body h2{font-size:clamp(22px,2.2vw,28px);font-weight:700;letter-spacing:-.02em;margin:48px 0 12px;color:var(--ink)}
.legal-body h2:first-child{margin-top:0}
.legal-body h3{font-size:18px;font-weight:700;margin:28px 0 8px;color:var(--ink)}
.legal-body p{color:var(--body);font-size:16px;line-height:1.65;margin:0 0 14px}
.legal-body ul{margin:0 0 14px;padding-left:22px;color:var(--body);font-size:16px;line-height:1.65}
.legal-body ul li{margin:6px 0}
.legal-body a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.legal-body a:hover{color:var(--blue-2)}
.legal-body strong{color:var(--ink);font-weight:600}
.legal-body .callout{
  background:var(--blue-soft);border:1px solid rgba(44,94,234,.18);
  border-radius:var(--r-card);padding:18px 20px;margin:8px 0 22px;
  color:var(--ink-2);font-size:15px;line-height:1.55;
}

/* ===== TRUST ===== */
.trust{padding:48px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface-2)}
.trust-lbl{text-align:center;font-size:13px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase;font-weight:500;margin-bottom:28px}
.trust-row{display:flex;gap:44px;flex-wrap:wrap;justify-content:center;align-items:center}
.tm{display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:600;color:var(--ink-2);letter-spacing:-.01em;opacity:.55;filter:grayscale(1);transition:opacity .25s ease, filter .25s ease, color .25s ease}
.tm img{width:22px;height:22px;display:block;flex-shrink:0}
.tm:hover{opacity:1;filter:grayscale(0);color:var(--ink)}
/* trust-row mobile rules moved to RESPONSIVE section */

/* ===== PROBLEM STATS ===== */
.problem{background:var(--bg)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:56px}
/* stats mobile rules moved to RESPONSIVE section */
.stat{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);
  padding:36px 28px;box-shadow:var(--sh-sm);text-align:left;
  transition:transform .3s ease, box-shadow .3s ease;
}
.stat:hover{transform:translateY(-2px);box-shadow:var(--sh-md)}
.stat-big{
  font-size:clamp(56px,6vw,80px);font-weight:800;letter-spacing:-.045em;color:var(--ink);line-height:1;
  display:flex;align-items:baseline;gap:2px;
}
.stat-big small{font-size:.45em;font-weight:700;color:var(--blue)}
.stat-big.is-blue,.stat-big.is-blue small{color:var(--blue)}
.stat-ico{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:10px;
  background:var(--blue-soft);color:var(--blue);
  margin-bottom:18px;
}
.stat-ico svg{width:22px;height:22px}
.stat-title{font-size:19px;font-weight:700;color:var(--ink);margin:0;letter-spacing:-.02em;line-height:1.3}
.stat .stat-title + p{margin-top:8px}
.stat p{margin-top:16px;color:var(--body);font-size:15px}
.stat-sup{position:relative;display:inline-block;margin-left:2px;font-size:.72em;font-weight:700;color:var(--muted);cursor:help;transition:color .18s ease;outline:none}
.stat-sup:hover,.stat-sup:focus{color:var(--blue)}
.stat-tip{
  position:absolute;bottom:calc(100% + 10px);left:50%;
  background:var(--ink);color:#fff;
  padding:12px 14px;border-radius:10px;
  font-size:12px;font-weight:500;font-style:normal;letter-spacing:0;line-height:1.5;text-transform:none;
  white-space:normal;width:max-content;max-width:280px;text-align:left;
  box-shadow:0 10px 30px rgba(16,19,32,.22);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateX(-50%) translateY(4px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index:20;
}
.stat-tip strong{color:#fff;font-weight:700}
.stat-tip em{color:#cfd4e4;font-style:italic}
.stat-tip a{
  display:inline-block;margin-top:6px;
  color:#8ab0ff;text-decoration:none;font-weight:600;cursor:pointer;
  transition:color .18s ease;
}
.stat-tip a:hover{color:#fff;text-decoration:underline}
.stat-tip::before{
  content:"";position:absolute;top:100%;left:0;right:0;height:12px;
}
.stat-tip::after{
  content:"";position:absolute;top:100%;left:50%;
  transform:translateX(-50%);
  border:6px solid transparent;border-top-color:var(--ink);
}
.stat-sup:hover .stat-tip,.stat-sup:focus .stat-tip,.stat-sup:focus-within .stat-tip{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
/* stat-tip mobile rules moved to RESPONSIVE section */

/* ===== HOW ===== */
.how{background:var(--surface-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:56px}
/* steps mobile rules moved to RESPONSIVE section */
.step{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-card);
  padding:32px 28px;position:relative;box-shadow:var(--sh-sm);
  transition:transform .3s ease, box-shadow .3s ease;
}
.step:hover{transform:translateY(-3px);box-shadow:var(--sh-md)}
.step-num{
  position:absolute;top:24px;right:28px;
  font-size:14px;font-weight:700;letter-spacing:.08em;color:var(--muted);
}
.step-ico{
  width:44px;height:44px;border-radius:12px;
  background:var(--blue-soft);color:var(--blue);
  display:inline-flex;align-items:center;justify-content:center;
}
.step-ico svg{width:22px;height:22px}
.step h3{margin:20px 0 10px}
.step p{color:var(--body);font-size:15px}

/* ===== FEATURES (alternating rows) ===== */
.features{background:var(--bg)}
.feat{
  display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center;
  padding:48px 0;
}
.feat + .feat{border-top:1px dashed var(--line)}
.feat.reverse{grid-template-columns:1.1fr 1fr}
.feat.reverse .feat-copy{order:2}
/* feat mobile rules moved to RESPONSIVE section */
.tag{
  display:inline-block;font-size:12px;font-weight:700;letter-spacing:.1em;
  padding:6px 12px;border-radius:999px;margin-bottom:20px;
}
.tag-blue{background:var(--blue-soft);color:var(--blue)}
.tag-purple{background:var(--purple-soft);color:var(--purple)}
.tag-orange{background:var(--orange-soft);color:var(--orange)}

.feat-copy h2{font-size:clamp(24px,2.3vw,32px)}
.feat-copy p{color:var(--body);font-size:17px;margin:18px 0 22px;max-width:500px;text-wrap:pretty}
.bullets{list-style:none;padding:0;margin:0}
.bullets li{
  position:relative;padding:8px 0 8px 32px;font-size:15px;color:var(--ink-2);
}
.bullets li::before{
  content:"";position:absolute;left:0;top:11px;width:20px;height:20px;border-radius:50%;
  background:var(--blue-soft) url('../assets/icons/check-blue.svg') center/12px no-repeat;
}
.bullets.purple li::before{
  background:var(--purple-soft) url('../assets/icons/check-purple.svg') center/12px no-repeat;
}

.feat-frame{
  border-radius:var(--r-frame);padding:28px;
  background:linear-gradient(180deg, #fff, #F5F5F0);
  border:1px solid var(--line);
  box-shadow:var(--sh-md);
  position:relative;overflow:hidden;
}
.blue-frame{background:linear-gradient(160deg,#EEF3FF 0%, #F9FAFF 100%)}
.purple-frame{background:linear-gradient(160deg,#F3EDFE 0%, #FBF9FF 100%)}
.orange-frame{background:linear-gradient(160deg,#FDF0E4 0%, #FFFAF3 100%)}

/* Detection mock */
.det-mock{background:#fff;border-radius:14px;border:1px solid var(--line);overflow:hidden;box-shadow:var(--sh-sm)}
.det-head{
  display:flex;align-items:center;gap:8px;padding:10px 14px;
  background:#F5F4F0;border-bottom:1px solid var(--line);
}
.det-dot{width:10px;height:10px;border-radius:50%}
.det-dot.r{background:#FF5F57}.det-dot.y{background:#FEBC2E}.det-dot.g{background:#28C940}
.det-url{margin-left:10px;font-size:12px;color:var(--muted);font-family:'JetBrains Mono',monospace}
.det-body{padding:18px}
.det-line{font-size:14px;color:var(--ink-2);line-height:1.6}
.det-pii{background:var(--red-soft);color:var(--red);border-radius:4px;padding:0 4px;font-weight:500}
.det-alert{
  margin-top:16px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--red);
  border-radius:10px;padding:14px;box-shadow:var(--sh-sm);
}
.det-alert-top{display:flex;gap:12px;align-items:flex-start}
.det-alert-ico{width:32px;height:32px;border-radius:8px;background:var(--blue-soft);display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px}
.det-alert-ico svg{width:20px;height:20px}
.det-alert-top strong{display:block;font-size:14px;color:var(--ink)}
.det-alert-top span{font-size:12px;color:var(--muted)}
.det-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.det-pills .pill{background:var(--red);color:#fff;font-size:11px;font-weight:600;padding:4px 8px;border-radius:6px}
.det-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
.mini-btn{font-size:12px;font-weight:600;padding:8px 12px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.mini-btn.primary{background:var(--blue);color:#fff;border-color:var(--blue)}

/* Swap mock */
.swap-mock{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
/* swap-mock mobile rules moved to RESPONSIVE section */
.swap-col{display:flex;flex-direction:column;gap:8px;min-width:0}
.swap-lbl{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);padding-left:2px}
.swap-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:var(--sh-sm);display:flex;flex-direction:column;gap:2px;min-width:0}
.swap-card-fake{border-color:#E3D6FB;box-shadow:0 8px 22px rgba(124,75,231,.12)}
.swap-cell{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:8px;min-width:0}
.swap-cell:nth-child(odd){background:#FBFAF8}
.swap-card-fake .swap-cell:nth-child(odd){background:#FAF7FF}
.swap-k{color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.swap-v{font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:500;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.swap-v.og{color:var(--red)}
.swap-v.fk{color:var(--purple)}
.swap-arrow svg{width:28px;height:18px}

/* Toggles mock */
.toggles{display:flex;flex-direction:column;gap:10px}
.tgl-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;box-shadow:var(--sh-sm);
}
.tgl-label{display:flex;align-items:center;gap:12px}
.tgl-label strong{display:block;font-size:14px;font-weight:600}
.tgl-label span{font-size:12px;color:var(--muted)}
.tgl-site{width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);color:var(--body);flex:0 0 32px}
.tgl-site svg{width:18px;height:18px}
.tgl-site svg path{fill:currentColor}
.sw{position:relative;display:inline-block;width:42px;height:24px}
.sw input{opacity:0;width:0;height:0}
.sw span{
  position:absolute;inset:0;background:#D9D7D2;border-radius:999px;transition:background .2s;
}
.sw span::before{
  content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s;
}
.sw input:checked + span{background:var(--orange)}
.sw input:checked + span::before{transform:translateX(18px)}

/* ===== MID CTA ===== */
.mid-cta{
  position:relative;color:#fff;padding:72px 0;overflow:hidden;
  background:
    radial-gradient(1200px 500px at 85% 120%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(900px 500px at 10% -20%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg,#1E46C2 0%, #2C5EEA 45%, #4A7CF5 100%);
}
.mid-cta-bg{
  position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.mid-cta .wrap{position:relative;z-index:1}
.mid-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap}
.mid-cta-inner > div{max-width:620px}
.mid-cta-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.chip-lite{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border-radius:999px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);
  color:#fff;font-size:12px;font-weight:600;letter-spacing:-.005em;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.chip-lite svg{width:13px;height:13px}
.mid-cta h2{color:#fff;font-size:clamp(30px,3.4vw,42px);letter-spacing:-.02em}
.mid-cta p{color:rgba(255,255,255,.82);margin-top:10px;font-size:16px;max-width:560px}
.mid-cta .btn-inverse{
  background:#fff;color:var(--blue);
  box-shadow:0 12px 30px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.4) inset;
}
.mid-cta .btn-inverse:hover{background:#F4F7FF;transform:translateY(-1px)}

/* ===== Feature grid (tiles) ===== */
.grid-sec{background:var(--bg)}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:48px}
/* tiles mobile rules moved to RESPONSIVE section */
.tile{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-card);
  padding:28px;box-shadow:var(--sh-sm);transition:transform .25s ease, box-shadow .25s ease;
}
.tile:hover{transform:translateY(-3px);box-shadow:var(--sh-md)}
.t-ico{width:40px;height:40px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:16px}
.t-ico svg{width:22px;height:22px}
.t-ico.blue{background:var(--blue-soft);color:var(--blue)}
.t-ico.purple{background:var(--purple-soft);color:var(--purple)}
.t-ico.orange{background:var(--orange-soft);color:var(--orange)}
.tile h3{font-size:17px;margin-bottom:6px}
.tile p{font-size:14px;color:var(--body)}

/* ===== DASHBOARD TABS ===== */
.dash{background:var(--surface-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.tabs{margin-top:48px}
.tab-bar{
  display:flex;gap:4px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px;
  max-width:640px;margin:0 auto 24px;box-shadow:var(--sh-sm);overflow:auto;
}
.tab-btn{
  flex:1;min-width:max-content;background:transparent;border:0;color:var(--body);
  padding:10px 14px;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap;
  transition:background .15s ease, color .15s ease;
}
.tab-btn:hover{color:var(--ink)}
.tab-btn.is-active{background:var(--ink);color:#fff}

.tab-panels{position:relative}
.tab-panel{display:none}
.tab-panel.is-active{display:block;animation:fadeUp .3s ease}
@keyframes fadeUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

.dash-mock{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-frame);
  padding:28px;box-shadow:var(--sh-lg);max-width:980px;margin:0 auto;
}
.dash-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.dash-title{font-size:15px;font-weight:600;color:var(--ink);text-align:left;margin-bottom:24px}
.dash-top .dash-title{margin-bottom:0}
.dash-filter{font-size:13px;color:var(--body);background:var(--surface-2);padding:6px 12px;border-radius:8px;border:1px solid var(--line)}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}
/* kpis mobile rules moved to RESPONSIVE section */
.kpi{background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:14px;text-align:left}
.kpi span{font-size:12px;color:var(--muted);font-weight:500;display:block}
.kpi strong{font-size:22px;font-weight:700;display:block;margin-top:6px;letter-spacing:-.02em}
.kpi em{font-size:12px;font-style:normal;font-weight:600}
.up{color:var(--green)}.down{color:var(--red)}
.chart{background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:14px;height:200px;overflow:hidden}
.chart svg{width:100%;height:100%}

.bars{display:flex;flex-direction:column;gap:14px}
.bar-row{display:grid;grid-template-columns:120px 1fr 80px;gap:14px;align-items:center;font-size:13px;text-align:left}
/* bar-row mobile rules moved to RESPONSIVE section */
.bar-row span:first-child{font-weight:600;color:var(--ink)}
.bar{background:var(--surface-2);border-radius:999px;height:10px;overflow:hidden;border:1px solid var(--line)}
.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),#5C82F0);border-radius:999px}
.bar-row em{font-family:'JetBrains Mono',monospace;font-size:12px;font-style:normal;color:var(--body);text-align:right}

.dtable{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.dtable th{font-weight:600;padding:10px 12px;background:var(--surface-2);border-bottom:1px solid var(--line);color:var(--body);font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.dtable td{padding:12px;border-bottom:1px solid var(--line-2);color:var(--ink-2)}
.dtable td:first-child{font-weight:500}
.badge-ok{background:var(--green-soft);color:var(--green);padding:4px 10px;border-radius:999px;font-size:11px;font-weight:600}
.badge-warn{background:var(--orange-soft);color:var(--orange);padding:4px 10px;border-radius:999px;font-size:11px;font-weight:600}

.heatmap{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.hm-row{display:grid;grid-template-columns:110px repeat(7,1fr);gap:4px;align-items:center}
.hm-row span{font-size:13px;font-weight:500;text-align:left}
.hm-row i{height:26px;border-radius:4px;display:block}
.h-1{background:#E8F5EE}.h-2{background:#BEE7CF}.h-3{background:#82D3A6}.h-4{background:#3FB67C}.h-5{background:#1E9C6B}
.hm-legend{display:flex;gap:4px;align-items:center;justify-content:center;font-size:11px;color:var(--muted)}
.hm-legend i{width:26px;height:12px;border-radius:3px}

.dash-cta{margin-top:32px;display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}
.dash-cta .small{font-size:13px;color:var(--muted)}

/* ===== COMPLIANCE ===== */
.comp{background:var(--bg)}
.comp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:48px}
/* comp-grid mobile rules moved to RESPONSIVE section */
.comp-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-card);
  padding:28px 24px;box-shadow:var(--sh-sm);transition:transform .25s ease, box-shadow .25s ease;
}
.comp-card:hover{transform:translateY(-3px);box-shadow:var(--sh-md)}
.comp-ico{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.comp-ico svg{width:24px;height:24px}
.comp-ico.blue{background:var(--blue-soft);color:var(--blue)}
.comp-ico.orange{background:var(--orange-soft);color:var(--orange)}
.comp-ico.purple{background:var(--purple-soft);color:var(--purple)}
.comp-ico.green{background:var(--green-soft);color:var(--green)}
.comp-card h3{font-size:18px;margin-bottom:8px}
.comp-card p{font-size:14px;color:var(--body)}

/* ===== PRICING ===== */
.price-sec{background:var(--surface-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px;max-width:1100px;margin-left:auto;margin-right:auto}
/* plans mobile rules moved to RESPONSIVE section */
.plan{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-frame);
  padding:32px 28px;position:relative;
  display:flex;flex-direction:column;box-shadow:var(--sh-sm);
  transition:transform .25s ease, box-shadow .25s ease;
}
.plan:hover{transform:translateY(-4px);box-shadow:var(--sh-md)}
.plan.featured{border-color:var(--ink);box-shadow:var(--sh-lg)}
.plan-badge{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  background:var(--ink);color:#fff;font-size:12px;font-weight:700;
  padding:6px 14px;border-radius:999px;letter-spacing:.05em;
}
.plan-name{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.plan-price{font-size:44px;font-weight:800;letter-spacing:-.03em;margin:14px 0 4px;color:var(--ink);line-height:1}
.plan-price small{font-size:14px;font-weight:500;color:var(--body);letter-spacing:0;margin-left:4px}
.plan-desc{font-size:14px;color:var(--body);margin-top:8px;min-height:42px}
.plan-feats{list-style:none;padding:0;margin:24px 0;display:flex;flex-direction:column;gap:12px;flex:1}
.plan-feats li{position:relative;padding-left:28px;font-size:14px;color:var(--ink-2)}
.plan-feats li.ok::before,.plan-feats li.no::before{
  content:"";position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:50%;
}
.plan-feats li.ok::before{background:var(--green-soft) url('../assets/icons/check-green.svg') center/11px no-repeat}
.plan-feats li.no{color:var(--muted)}
.plan-feats li.no::before{background:var(--surface-2) url('../assets/icons/dash-gray.svg') center/11px no-repeat}

/* ===== FAQ ===== */
.faq{background:var(--bg)}
.faq-wrap{display:grid;grid-template-columns:1fr 1.4fr;gap:64px;align-items:flex-start}
/* faq-wrap mobile rules moved to RESPONSIVE section */
.faq-left h2{margin-bottom:16px}
.faq-left p{color:var(--body);font-size:15px}
.faq-left a{color:var(--blue);font-weight:600}
.faq-list{display:flex;flex-direction:column;gap:8px}
.faq-item{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-card);
  padding:4px 24px;transition:box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover{border-color:#D0CFCA}
.faq-item[open]{box-shadow:var(--sh-sm);border-color:#D0CFCA}
.faq-item summary{
  list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  padding:20px 0;font-weight:600;font-size:16px;color:var(--ink);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-plus{
  width:22px;height:22px;border-radius:50%;background:var(--surface-2);
  position:relative;flex:0 0 22px;transition:background .2s ease;
}
.faq-plus::before,.faq-plus::after{
  content:"";position:absolute;left:50%;top:50%;background:var(--ink);
  border-radius:2px;transition:transform .2s ease;
}
.faq-plus::before{width:10px;height:2px;transform:translate(-50%,-50%)}
.faq-plus::after{width:2px;height:10px;transform:translate(-50%,-50%)}
.faq-item[open] .faq-plus{background:var(--ink)}
.faq-item[open] .faq-plus::before,.faq-item[open] .faq-plus::after{background:#fff}
.faq-item[open] .faq-plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.answer{padding:0 0 22px;color:var(--body);font-size:15px;max-width:640px;line-height:1.65}

/* ===== FINAL CTA ===== */
.final-cta{
  background:var(--ink);color:#fff;padding:120px 0;
  background-image:
    linear-gradient(to bottom, rgba(44,94,234,.55) 0%, rgba(44,94,234,.18) 35%, transparent 65%),
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(80,140,255,.55), transparent 65%),
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(44,94,234,.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(249,115,22,.12), transparent 60%);
}
.final-inner{text-align:center;max-width:700px;margin:0 auto}
.final-inner h2{color:#fff;font-size:clamp(34px,4vw,50px);margin-top:12px}
.final-inner p{color:rgba(255,255,255,.72);margin-top:20px;font-size:17px;text-wrap:pretty}
.final-row{margin-top:32px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ===== FOOTER ===== */
.ftr{background:#0A0C18;color:rgba(255,255,255,.72);padding:64px 0 24px}
.ftr a{color:rgba(255,255,255,.72)}
.ftr a:hover{color:#fff}
.ftr .logo{color:#fff}
.ftr .logo-word b{color:rgba(255,255,255,.6)}
.ftr-grid{display:grid;grid-template-columns:1.4fr repeat(4, 1fr);gap:40px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.08)}
/* ftr-grid mobile rules moved to RESPONSIVE section */
.ftr-brand p{margin:16px 0 20px;font-size:14px;max-width:340px}
.ftr-news{display:flex;gap:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:4px;max-width:340px}
.ftr-news input{flex:1;background:transparent;border:0;padding:10px 12px;color:#fff;font-family:inherit;font-size:14px;outline:0}
.ftr-news input::placeholder{color:rgba(255,255,255,.4)}
.ftr-news button{background:#fff;color:var(--ink);border:0;padding:8px 14px;border-radius:8px;font-weight:600;font-size:13px;white-space:nowrap;flex-shrink:0;cursor:pointer}
.ftr-news button:hover{background:rgba(255,255,255,.9)}
.ftr-col h4{color:#fff;font-size:14px;font-weight:600;margin-bottom:16px}
.ftr-col a{display:block;padding:6px 0;font-size:14px}
.ftr-bot{display:flex;justify-content:space-between;padding-top:24px;font-size:13px;color:rgba(255,255,255,.5);flex-wrap:wrap;gap:12px}

/* ===== Reveal ===== */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1;transform:translateY(0)}

/* ===== TWEAKS panel ===== */
#tw-panel{
  position:fixed;right:20px;bottom:20px;z-index:60;
  width:280px;background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--sh-lg);padding:16px;
  font-size:13px;display:none;
}
#tw-panel.open{display:block}
#tw-panel h4{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:10px}
.tw-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line-2)}
.tw-row:last-child{border-bottom:0}
.tw-swatches{display:flex;gap:6px}
.tw-swatch{width:22px;height:22px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line);cursor:pointer}
.tw-swatch.is-on{box-shadow:0 0 0 2px var(--ink)}
.tw-toggle{display:inline-flex;width:40px;height:22px;background:#D9D7D2;border-radius:999px;position:relative;cursor:pointer;border:0}
.tw-toggle::after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .2s}
.tw-toggle.on{background:var(--blue)}
.tw-toggle.on::after{transform:translateX(18px)}

/* =========================================================
   RESPONSIVE — all tablet/mobile rules consolidated here
   Breakpoints: 1024 (tablet cap) · 768 (mobile) · 480 (small)
   ========================================================= */

/* prevent background scroll when mobile drawer is open */
body.no-scroll{overflow:hidden}

/* ---------- Tablet and below (≤ 1024) ---------- */
@media (max-width:1024px){
  .nav{
    position:absolute;top:68px;left:0;right:0;
    flex-direction:column;gap:4px;padding:16px 24px 24px;
    background:var(--bg);border-bottom:1px solid var(--line);
    box-shadow:0 8px 24px rgba(16,19,32,.06);
    transform:translateY(-8px);opacity:0;pointer-events:none;transition:all .2s ease;
  }
  .nav.open{transform:translateY(0);opacity:1;pointer-events:auto}
  .nav a{padding:12px 14px;font-size:16px}
  .burger{display:flex}
  .hdr-cta .link{display:none}

  /* desktop lang-switch hidden, mobile one shown inside burger nav */
  .lang-switch[data-desktop]{display:none}
  .nav-lang[data-mobile]{
    display:flex;flex-direction:column;gap:4px;margin-top:24px;
    padding-top:20px;border-top:1px solid var(--line);
  }
  .nav-lang-lbl{
    font-size:12px;font-weight:600;color:var(--muted);
    text-transform:uppercase;letter-spacing:.08em;padding:0 14px 4px;
  }
  .nav-lang a{
    padding:10px 14px;border-radius:8px;font-size:15px;color:var(--body);
    text-decoration:none;
  }
  .nav-lang a[aria-current="true"]{color:var(--ink);font-weight:600}
  .nav-lang a:hover{background:rgba(16,19,32,.04);color:var(--ink)}

  /* hero — stack to single column: title → video → copy */
  .hero-wrap{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    column-gap:0;row-gap:32px;
    text-align:center;
  }
  .hero-title{grid-column:1;grid-row:1;max-width:none;margin:0 auto}
  .hero-visual{grid-column:1;grid-row:2;align-self:stretch}
  .hero-copy{grid-column:1;grid-row:3;margin:0 auto;max-width:none}
  .hero-sub{margin-left:auto;margin-right:auto;max-width:none}
  .hero-cta{justify-content:center}
  .hero-social{justify-content:center}

  /* how + features — stack at tablet portrait */
  .steps{grid-template-columns:1fr}
  .feat,.feat.reverse{grid-template-columns:1fr;gap:32px}
  .feat.reverse .feat-copy{order:0}
  /* grid children need min-width:0 to avoid min-content forcing column wider than parent */
  .feat-copy,.feat-visual{min-width:0}
  .feat-copy p{max-width:none}

  /* feature tiles */
  .tiles{grid-template-columns:repeat(2,1fr)}

  /* compliance + pricing */
  .comp-grid{grid-template-columns:repeat(2,1fr)}
  .plans{grid-template-columns:1fr;max-width:480px}

  /* FAQ + footer */
  .faq-wrap{grid-template-columns:1fr;gap:40px}
  .ftr-grid{grid-template-columns:repeat(2,1fr)}
  .ftr-brand{grid-column:1/-1}
}

/* ---------- Mobile (≤ 768) ---------- */
@media (max-width:768px){
  .wrap{padding:0 var(--wrap-pad-sm)}
  .section{padding:var(--pad-sec-mobile) 0}
  .section-head{margin-bottom:var(--section-head-mb-mobile)}
  h2{font-size:clamp(24px,6vw,34px)}

  /* hero */
  .hero{padding:32px 0 48px}
  .hero-title{font-size:36px}
  .hero-sub{font-size:15px}
  .hero-card{transform:none;padding:8px}
  .hero-bullets{gap:8px 16px;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}
  .hero-play .play-btn{width:72px;height:72px}
  .hero-play .play-btn svg{width:28px;height:28px}
  .badge-eu{display:none}

  /* trust */
  .trust{padding:36px 0}
  .trust-row{flex-wrap:nowrap;gap:10px;justify-content:space-between}
  .tm{font-size:12px;gap:6px;white-space:nowrap;min-width:0}
  .tm img{width:16px;height:16px;flex-shrink:0}

  /* problem / stats */
  .stats{grid-template-columns:1fr;max-width:480px;margin-left:auto;margin-right:auto}
  .stat{padding:28px 22px}
  .stat-big{font-size:clamp(48px,12vw,72px)}

  /* how + features */
  .step{padding:28px 24px}
  .feat{padding:32px 0}
  .feat-frame{padding:20px}
  .det-line{font-size:13px}
  .det-alert{padding:12px}
  .det-pills{gap:4px}
  .swap-mock{grid-template-columns:1fr;gap:10px}
  .swap-arrow{transform:rotate(90deg);margin:0 auto}
  .tgl-label{min-width:0;flex:1}
  .tgl-label > div{min-width:0;flex:1}
  .tgl-label strong,.tgl-label span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

  /* mid-CTA + feature tiles */
  .mid-cta{padding:48px 0}
  .mid-cta h2{font-size:clamp(24px,5vw,36px)}
  .mid-cta-inner{gap:24px}
  .tiles{grid-template-columns:1fr}

  /* pricing padding */
  .plan{padding:28px 24px}
  .plan-price{font-size:38px}

  /* dashboard — tabs, chart, bars, dash-top */
  .dash-mock{padding:22px}
  .kpis{grid-template-columns:repeat(2,1fr)}
  .tab-bar{
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);
    mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);
  }
  .tab-btn{scroll-snap-align:start}

  /* final-cta + footer */
  .final-cta{padding:64px 0}
  .final-inner h2{font-size:clamp(26px,5.5vw,40px)}
  .final-inner p{font-size:15px}
  .ftr{padding:48px 0 20px}

  /* dtable smart-cards — transform tables to label/value stacks */
  .dtable,
  .dtable thead,
  .dtable tbody,
  .dtable tr,
  .dtable th,
  .dtable td{display:block}
  .dtable thead{display:none}
  .dtable tr{
    background:var(--surface-2);
    border:1px solid var(--line);
    border-radius:12px;
    padding:14px 16px;
    margin-bottom:10px;
  }
  .dtable td{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:6px 0;
    border:0;
  }
  .dtable td::before{
    content:attr(data-label);
    font-weight:600;
    color:var(--muted);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.06em;
  }
  .dtable td:first-child{font-weight:600;color:var(--ink);padding-top:0}
  .dtable td:last-child{padding-bottom:0}
}

/* ---------- Touch (no hover) — disable lift transforms to prevent sticky hover ---------- */
@media (hover:none){
  .plan:hover,.tile:hover,.stat:hover,.step:hover,.comp-card:hover,
  button.hero-play:hover{transform:none}
  .hero-play:hover .play-btn{transform:translate(-50%,-50%)}
}

/* ---------- Small mobile (≤ 480) ---------- */
@media (max-width:480px){
  .hdr-cta .btn{display:none}
  .logo-word{font-size:15px}
  .logo-mark{width:26px;height:26px}

  /* hero */
  .hero-title{font-size:32px}
  .hero-bullets li{font-size:13px}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{flex:1;justify-content:center}
  .hero-card{padding:6px}
  .hero-card img{content-visibility:auto}
  .badge-eu{top:-10px;right:12px;transform:scale(.9);transform-origin:top right}
  .badge-rules{bottom:-12px;left:12px;transform:scale(.9);transform-origin:bottom left}
  .hero-micro{font-size:12px}

  /* how + features */
  .step{padding:24px 22px}
  .feat-frame{padding:16px}
  .tgl-row{padding:12px 14px;gap:10px}
  .tgl-site{width:28px;height:28px;flex:0 0 28px}
  .tgl-site svg{width:16px;height:16px}

  /* mid-CTA + tiles */
  .tile{padding:22px}
  .mid-cta .btn-inverse{width:100%;justify-content:center}

  /* dashboard — small-mobile refinements */
  .dash-mock{padding:18px}
  .dash-top{flex-direction:column;align-items:flex-start;gap:10px}
  .dash-top .dash-title{margin-bottom:0}
  .chart{height:140px}
  .bar-row{
    grid-template-columns:1fr auto;
    grid-template-rows:auto auto;
    row-gap:6px;
    column-gap:10px;
  }
  .bar-row > span:first-child{grid-column:1;grid-row:1;font-size:13px}
  .bar-row > em{grid-column:2;grid-row:1;text-align:right}
  .bar-row > .bar{grid-column:1 / -1;grid-row:2}

  /* compliance small-mobile */
  .comp-grid{grid-template-columns:1fr}
  .comp-card{padding:24px 22px}

  /* FAQ + final-cta + footer */
  .faq-item{padding:4px 18px}
  .faq-item summary{font-size:15px}
  .final-row{flex-direction:column;align-items:stretch}
  .final-row .btn{justify-content:center}
  .ftr-grid{grid-template-columns:1fr;gap:28px}
  .ftr-news{max-width:100%}
  .ftr-bot{flex-direction:column;gap:8px;align-items:flex-start}

  /* trust + stats */
  .trust-lbl{margin-bottom:20px}
  /* anchor tooltip to the stat card instead of the sup — sup position is
     unpredictable inside wrapping text on narrow viewports */
  .stat{position:relative}
  .stat-sup{position:static}
  .stat-tip{
    bottom:calc(100% + 10px);
    left:16px;right:16px;
    width:auto;max-width:none;
    font-size:11.5px;
    transform:translateY(4px);
  }
  .stat-sup:hover .stat-tip,
  .stat-sup:focus .stat-tip,
  .stat-sup:focus-within .stat-tip{transform:translateY(0)}
  .stat-tip::after{display:none}
}
