:root {
  --bg: #0B1020;
  --bg-2: #141B32;
  --bg-3: #1B2442;
  --accent: #756BFF;
  --accent-strong: #5B50F0;
  --teal: #38D9C6;
  --text: #FFFFFF;
  --text-2: #A9B2C7;
  --line: rgba(169, 178, 199, .14);
  --line-strong: rgba(169, 178, 199, .26);
  --error: #FF8A8A;
  --success: #38D9C6;
  --radius: 18px;
  --header-h: 72px;
  --grad: linear-gradient(135deg, #756BFF 0%, #38D9C6 100%);
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: #A9A3FF; }
a:hover { color: var(--text); }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px;
  background: var(--accent-strong); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.lead { font-size: 1.08rem; color: var(--text-2); max-width: 38em; }
@media (min-width: 1024px) { .lead { font-size: 1.18rem; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; border-radius: 10px; }
.btn-primary { background: var(--accent-strong); color: #fff; box-shadow: 0 8px 24px rgba(117, 107, 255, .32); }
.btn-primary:hover { background: #6A60FF; color: #fff; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(117, 107, 255, .42); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); color: var(--text); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); background: rgba(117, 107, 255, .12); color: var(--text); }
.btn-block { width: 100%; }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header's box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 16, 32, .6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.scrolled::before { background: rgba(11, 16, 32, .88); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 1.3rem/1 var(--font-head); letter-spacing: .08em; }
.logo-mark { width: 32px; height: 32px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none;
  color: var(--text-2); font-weight: 500; font-size: .95rem; transition: color .2s;
}
.site-nav ul a:hover, .site-nav ul a.active { color: var(--text); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 20px 32px;
    background: var(--bg); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    overflow-y: auto;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 16px 4px; font-size: 1.15rem; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { width: 100%; min-height: 52px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 48px) 0 72px; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding: calc(var(--header-h) + 72px) 0 112px; min-height: 100vh; display: flex; align-items: center; } }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(117, 107, 255, .28), transparent 70%),
    radial-gradient(500px 380px at 65% 85%, rgba(56, 217, 198, .14), transparent 70%),
    radial-gradient(700px 500px at 0% 0%, rgba(117, 107, 255, .1), transparent 70%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
}
.hero-inner { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong);
  color: var(--text-2); font-size: .85rem; font-weight: 500; margin-bottom: 24px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(56, 217, 198, .18); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }

/* Hero visual (decorative) */
.hero-visual { position: relative; aspect-ratio: 1 / .9; max-width: 560px; width: 100%; margin: 0 auto; }
.glass {
  position: absolute; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(160deg, rgba(36, 46, 82, .82), rgba(20, 27, 50, .72));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-1 { width: 42%; aspect-ratio: 1; right: 2%; top: 0; background: radial-gradient(circle at 30% 30%, #A39CFF, #756BFF 45%, #3C33B8 100%); box-shadow: 0 0 80px rgba(117, 107, 255, .55); }
.orb-2 { width: 22%; aspect-ratio: 1; left: 4%; bottom: 4%; background: radial-gradient(circle at 30% 30%, #9BF5EA, #38D9C6 50%, #138A7E 100%); box-shadow: 0 0 60px rgba(56, 217, 198, .45); }
.panel-main { left: 8%; right: 8%; top: 14%; bottom: 14%; overflow: hidden; }
.panel-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.panel-bar i:first-child { background: var(--accent); }
.panel-body { padding: 22px 22px 0; }
.sk { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .12); margin-bottom: 10px; }
.sk-title { width: 46%; height: 14px; background: rgba(255, 255, 255, .28); margin-bottom: 14px; }
.sk-line { width: 78%; }
.sk-line.short { width: 56%; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.tile { height: 54px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .07); }
.tile-a { background: linear-gradient(135deg, rgba(117, 107, 255, .5), rgba(117, 107, 255, .12)); }
.tile-c { background: linear-gradient(135deg, rgba(56, 217, 198, .4), rgba(56, 217, 198, .08)); }
.panel-wave { width: 100%; height: 70px; margin-top: 14px; }
.float-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; }
.card-ai { left: 0; top: 6%; }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; }
.fc-icon svg { width: 20px; height: 20px; fill: #0B1020; }
.fc-lines { display: grid; gap: 7px; }
.fc-lines i { display: block; width: 80px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.fc-lines i.short { width: 52px; background: rgba(255, 255, 255, .12); }
.card-quiz { right: 0; bottom: 8%; flex-direction: column; align-items: stretch; gap: 8px; width: 42%; }
.opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.opt b { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); flex: none; }
.opt i { height: 7px; flex: 1; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.opt.active { background: rgba(56, 217, 198, .14); outline: 1px solid rgba(56, 217, 198, .5); }
.opt.active b { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 3px #1B2442; }
.card-ring { right: 6%; top: 4%; padding: 12px; }
.card-ring svg { width: 52px; height: 52px; }

@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: float 7s ease-in-out infinite; }
  .card-quiz { animation-delay: -2.5s; }
  .card-ring { animation-delay: -4.5s; }
  .orb-1 { animation: float 10s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.section-alt { background: linear-gradient(180deg, var(--bg-2) 0%, rgba(20, 27, 50, .6) 100%); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 64px; } }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center .lead { margin: 0 auto; }

/* Cards */
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(27, 36, 66, .7), rgba(20, 27, 50, .7));
  border: 1px solid var(--line); transition: transform .25s, border-color .25s, background-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(117, 107, 255, .45); }
.card h3 { margin-top: 20px; }
.card p { color: var(--text-2); margin: 0; }
.icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(117, 107, 255, .14); border: 1px solid rgba(117, 107, 255, .3);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: #B3ADFF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, rgba(117, 107, 255, .22), rgba(56, 217, 198, .14)); }
.icon-lg svg { width: 28px; height: 28px; stroke: #fff; }
.icon-sm { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.icon-sm svg { width: 20px; height: 20px; }

/* About */
.about-grid { display: grid; gap: 16px; margin-bottom: 48px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1.3fr; gap: 64px; margin-bottom: 72px; } }
.about-text p:not(.lead) { color: var(--text-2); }
.value-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .value-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Expertise */
.expertise { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .expertise { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.card-lg { padding: 32px; }
@media (min-width: 1024px) { .card-lg { padding: 40px; } }
.card-lg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 200px at 0% 0%, rgba(117, 107, 255, .14), transparent 70%);
}
.card-lg:hover::after { opacity: 1; }

/* Products */
.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 768px) { .products { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; } }
.product {
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-4px); border-color: rgba(117, 107, 255, .45); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.product-media { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product-media img { transform: scale(1.03); }
.product-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px; flex: 1; }
@media (min-width: 1024px) { .product-body { padding: 32px; } }
.product-body h3 { font-size: 1.5rem; margin: 12px 0 8px; }
.product-body p { color: var(--text-2); margin-bottom: 24px; }
.product-body .btn { margin-top: auto; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: rgba(117, 107, 255, .14); color: #C2BDFF; border: 1px solid rgba(117, 107, 255, .3);
}
.tag-teal { background: rgba(56, 217, 198, .1); color: #7FEADD; border-color: rgba(56, 217, 198, .3); }

/* Approach flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; position: relative; }
.flow-step { position: relative; text-align: center; padding: 8px 8px 0; }
.flow-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--bg); border: 1px solid rgba(117, 107, 255, .5);
  box-shadow: 0 0 0 8px rgba(117, 107, 255, .07), 0 0 40px rgba(117, 107, 255, .25);
}
.flow-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-num { display: block; font: 700 .85rem/1 var(--font-head); color: var(--teal); letter-spacing: .1em; margin-bottom: 10px; }
.flow-step p { color: var(--text-2); max-width: 22em; margin: 0 auto; }
@media (max-width: 767px) {
  .flow { gap: 40px; }
  .flow-step:not(:last-child)::after {
    content: ""; position: absolute; left: 50%; bottom: -32px; width: 1px; height: 24px; background: var(--line-strong);
  }
}
@media (min-width: 768px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .flow::before {
    content: ""; position: absolute; top: 44px; left: 16.66%; right: 16.66%; height: 1px;
    background: linear-gradient(90deg, rgba(117, 107, 255, .6), rgba(56, 217, 198, .6));
  }
}

/* Why */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list a { color: var(--text); text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-list a:hover { color: var(--teal); }
.contact-list address { color: var(--text); }
.contact-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 2px; }
.note { display: block; margin-top: 8px; font-size: .82rem; color: var(--text-2); max-width: 28em; }

.contact-form { padding: 28px 22px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
@media (min-width: 768px) { .contact-form { padding: 40px; } }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 8px; }
.field label span { color: var(--teal); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(117, 107, 255, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.field-check label { font-size: .88rem; color: var(--text-2); margin: 0; font-weight: 400; }
.field-check .field-error { grid-column: 2; }
.field-error { color: var(--error); font-size: .85rem; margin: 6px 0 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status.success { background: rgba(56, 217, 198, .1); border: 1px solid rgba(56, 217, 198, .4); color: #9FF0E6; }
.form-status.error { background: rgba(255, 138, 138, .08); border: 1px solid rgba(255, 138, 138, .4); color: #FFC2C2; }
.form-hint { margin: 12px 0 0; font-size: .8rem; color: var(--text-2); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: #080C19; }
.footer-top { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.4fr .8fr .8fr 1.3fr; gap: 48px; } }
.footer-brand p { color: var(--text-2); margin-top: 14px; }
.footer-title { font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 0 0 16px; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer nav a, .to-top { color: var(--text-2); text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover, .to-top:hover { color: var(--text); }
.footer-company p { color: var(--text-2); font-size: .92rem; margin: 0 0 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 520px;
  padding: 18px 20px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45); font-size: .92rem; color: var(--text-2);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + 56px) 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--text-2); }
.legal .updated { font-size: .9rem; }
.legal-note { padding: 14px 18px; border-radius: 12px; background: var(--bg-2); border-left: 3px solid var(--accent); font-size: .95rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.legal th { color: var(--text); }
.legal-header .site-nav { display: none; }
