/* ==========================================================================
   VERTILYA — Design system
   Bleu nuit → bleu électrique → vert (charte de la présentation)
   ========================================================================== */

:root {
  --night-950: #040a15;
  --night-900: #06111f;
  --night-800: #0a1a31;
  --night-700: #0f2645;
  --night-600: #16335a;

  --blue: #2f6bff;
  --blue-2: #5b8cff;
  --cyan: #1fc7e0;
  --teal: #0f9e8a;
  --teal-2: #13b39b;
  --green: #34d399;
  --mint: #8af2cf;

  --ink: #0b1f3a;
  --ink-2: #3d4f66;
  --ink-3: #6b7a90;
  --paper: #ffffff;
  --mist: #f2f6fa;
  --line: #e2e9f1;

  --on-dark: #e9f1fb;
  --on-dark-2: #a9b8cc;
  --on-dark-3: #7486a0;
  --glass: rgba(255, 255, 255, .045);
  --glass-line: rgba(255, 255, 255, .1);

  --grad: linear-gradient(105deg, #2f6bff 0%, #1fc7e0 50%, #34d399 100%);
  --grad-loop: linear-gradient(105deg, #2f6bff, #1fc7e0, #34d399, #1fc7e0, #2f6bff);
  --grad-soft: linear-gradient(135deg, rgba(47, 107, 255, .14), rgba(52, 211, 153, .16));

  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 80px;
  --shadow-lg: 0 40px 90px -40px rgba(4, 10, 21, .6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--night-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--green); color: var(--night-950); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 16px; } body { font-size: 16px; } }

.ico { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; transform: translateY(-200%); transition: transform .3s; }
.skip-link:focus { transform: none; }

/* Grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(19, 179, 155, .3); background: rgba(19, 179, 155, .07);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2.2s infinite; }
.on-dark .eyebrow, .hero .eyebrow, .section--dark .eyebrow, .section--deep .eyebrow { color: var(--mint); border-color: rgba(138, 242, 207, .25); background: rgba(138, 242, 207, .06); }

.display { font-size: clamp(2.5rem, 6.4vw, 5.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--ink-2); max-width: 62ch; line-height: 1.7; }
.on-dark .lead, .hero .lead, .section--dark .lead, .section--deep .lead { color: var(--on-dark-2); }
.muted { color: var(--ink-3); }

.grad-text {
  background: var(--grad-loop); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s linear infinite;
}
@keyframes gradShift { to { background-position: -200% center; } }

.sec-head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 72px); }
.sec-head .h2 { margin: 22px 0 20px; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.sec-head--split .h2 { margin-bottom: 0; }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Sections ---------- */
main { display: block; }
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section--dark { background: var(--night-900); color: var(--on-dark); }
.section--deep { background: var(--night-950); color: var(--on-dark); }
.section--light { background: var(--mist); color: var(--ink); }
.section--white { background: #fff; color: var(--ink); }
.section--dark p, .section--deep p { color: var(--on-dark-2); }
.section--tight { padding: clamp(60px, 7vw, 96px) 0; }

.section-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 10% 0%, rgba(47, 107, 255, .16), transparent 70%),
    radial-gradient(600px 400px at 90% 100%, rgba(52, 211, 153, .12), transparent 70%);
}
.light-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 0% 0%, rgba(47, 107, 255, .07), transparent 70%),
    radial-gradient(700px 420px at 100% 100%, rgba(52, 211, 153, .09), transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .97rem; letter-spacing: .005em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s, background .4s, color .3s, border-color .3s;
}
.btn .ico { transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary {
  color: #03131d; background: var(--grad); background-size: 170% 100%;
  box-shadow: 0 12px 34px -12px rgba(31, 199, 224, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 20px 48px -14px rgba(52, 211, 153, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 1s var(--ease);
}
.btn--primary:hover::after { transform: translateX(130%); }
.btn--ghost { color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .09); }
.btn--dark { color: #fff; background: var(--ink); box-shadow: 0 14px 30px -16px rgba(11, 31, 58, .8); }
.btn--dark:hover { background: var(--night-700); }
.btn--outline { color: var(--ink); border: 1px solid rgba(11, 31, 58, .18); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { --h: 46px; padding: 0 22px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--teal); }
.link-arrow .ico { transition: transform .5s var(--ease); }
.link-arrow:hover .ico { transform: translate(3px, -3px); }
.on-dark .link-arrow, .section--dark .link-arrow, .section--deep .link-arrow { color: var(--mint); }

/* ---------- Preloader & page transition ---------- */
.preloader { display: none; }
.first-visit .preloader {
  display: flex; position: fixed; inset: 0; z-index: 500;
  align-items: center; justify-content: center; background: var(--night-950); color: #fff;
  transition: transform 1s var(--ease-io), visibility 0s 1s;
  animation: hideFallback 0s 6s forwards;
}
.preloader.done { transform: translateY(-100%); visibility: hidden; }
.preloader::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
@keyframes hideFallback { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.pl-inner { display: grid; justify-items: center; gap: 22px; }
.pl-inner .logo-mark { width: 84px; height: 84px; }
.pl-inner .logo-mark .lm-ring { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1.4s var(--ease) forwards; }
.pl-inner .logo-mark .lm-leaf { opacity: 0; transform: scale(.6); transform-origin: 24px 36px; animation: leafIn .9s .5s var(--ease) forwards; }
.pl-word { display: flex; gap: .06em; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: .12em; }
.pl-word span { display: inline-block; opacity: 0; transform: translateY(60%); animation: letterIn .8s calc(.3s + var(--i) * 60ms) var(--ease) forwards; }
.pl-bar { width: 220px; height: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.pl-count { font-family: var(--font-display); font-size: .8rem; letter-spacing: .3em; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes leafIn { to { opacity: 1; transform: none; } }
@keyframes letterIn { to { opacity: 1; transform: none; } }

.page-transition {
  position: fixed; inset: 0; z-index: 450; pointer-events: none;
  background: var(--night-950); transform: translateY(100%);
}
.page-transition::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); box-shadow: 0 0 30px rgba(52, 211, 153, .8); }
.page-transition::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .1); border-top-color: var(--green);
  animation: spin .8s linear infinite;
}
html.pt-in .page-transition { transform: none; animation: ptFallback 0s 3s forwards; }
html.pt-in.pt-reveal .page-transition { transform: translateY(-100%); transition: transform .8s var(--ease-io); }
html.pt-out .page-transition { transform: none; transition: transform .55s var(--ease-io); pointer-events: all; }
@keyframes ptFallback { to { transform: translateY(-100%); } }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--green); box-shadow: 0 0 10px var(--green); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(91, 140, 255, .6);
  display: grid; place-items: center; mix-blend-mode: difference;
  transition: opacity .3s, width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cursor-ring span { font-family: var(--font-display); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(52, 211, 153, .15); border-color: rgba(52, 211, 153, .9); }
.cursor-ring.text { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(52, 211, 153, .95); border-color: transparent; mix-blend-mode: normal; }
.cursor-ring.text span { opacity: 1; color: #03131d; }
.cursor-ring.hide, .cursor-dot.hide { opacity: 0 !important; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }

/* ---------- Scroll progress & back to top ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(6, 17, 31, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-line); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: url(#ttGrad); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.to-top .ico { transform: rotate(-90deg); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background .4s, border-color .4s, height .4s;
}
.site-header.scrolled { background: rgba(4, 10, 21, .72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-color: rgba(255, 255, 255, .07); }
.site-header.hide { transform: translateY(-100%); }
.menu-open .site-header { transform: none; background: transparent; border-color: transparent; backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; position: relative; z-index: 2; }
.brand .logo-mark { width: 44px; height: 44px; transition: transform .8s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.01em; line-height: 1; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--font-body); font-size: .56rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); margin-top: 6px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; }
.main-nav a { position: relative; display: block; padding: 10px 15px; color: var(--on-dark-2); font-size: .92rem; font-weight: 500; transition: color .3s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; position: relative; z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .05); align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), width .4s; }
.burger span:last-child { width: 12px; align-self: center; transform: translateX(4px); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { width: 20px; transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1100px) { .main-nav, .header-cta { display: none; } .burger { display: flex; margin-left: auto; flex: none; } }
@media (max-width: 480px) {
  .header-inner { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand .logo-mark { width: 40px; height: 40px; flex: none; }
  .brand-name small { letter-spacing: .08em; font-size: .52rem; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--night-950); color: #fff;
  clip-path: circle(0 at calc(100% - 50px) 40px); visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 30px) 0 32px; overflow-y: auto;
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 400px at 100% 0%, rgba(47, 107, 255, .25), transparent 70%), radial-gradient(500px 400px at 0% 100%, rgba(52, 211, 153, .18), transparent 70%); pointer-events: none; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 40px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.mobile-menu nav ul { list-style: none; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 8vw, 3rem); letter-spacing: -.03em; color: var(--on-dark-2); opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .8s var(--ease), color .3s; }
.mobile-menu nav a small { font-size: .8rem; font-family: var(--font-body); color: var(--teal-2); font-weight: 600; }
.mobile-menu nav a[aria-current="page"], .mobile-menu nav a:hover { color: #fff; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 70ms); }
.mm-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 10px; color: var(--on-dark-2); font-size: .95rem; position: relative; }
.mm-foot a { display: inline-flex; align-items: center; gap: 10px; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  background: var(--night-950); color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 50px) 0 60px;
}
.hero--page { min-height: 0; padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(70px, 9vw, 120px); }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--night-950)); }
.aurora { position: absolute; z-index: -1; border-radius: 50%; filter: blur(100px); opacity: .45; pointer-events: none; animation: auroraFloat 20s ease-in-out infinite alternate; }
.aurora--1 { width: 48vw; height: 48vw; background: #2f6bff; top: -18vw; left: -14vw; }
.aurora--2 { width: 42vw; height: 42vw; background: #0f9e8a; bottom: -22vw; right: -10vw; animation-delay: -7s; }
.aurora--3 { width: 24vw; height: 24vw; background: #1fc7e0; top: 30%; left: 55%; opacity: .25; animation-delay: -12s; }
@keyframes auroraFloat { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vw) scale(1.12); } 100% { transform: translate(-4vw, 6vw) scale(.95); } }

.hero-content { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero-title { margin: 28px 0 26px; font-size: clamp(2.5rem, 4.7vw, 4.5rem); }
.hero-sub { font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500; color: #fff; margin-bottom: 18px; }
.hero .lead { margin-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bottom { position: relative; z-index: 2; margin-top: clamp(56px, 8vw, 96px); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stat { padding: 26px 24px 0 0; }
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.hero-stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.hero-stat > span { font-size: .88rem; color: var(--on-dark-3); }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }
@media (max-width: 720px) { .hero-stats { grid-template-columns: 1fr 1fr; } .hero-stat:nth-child(3) { padding-left: 0; border-left: 0; } .hero-stat { padding-bottom: 8px; } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-3); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .5)); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--green); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 720px), (max-height: 980px) { .scroll-cue { display: none; } }

/* Rotator */
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.45em; transition: width .7s var(--ease); }
.rot-w { grid-area: 1 / 1; justify-self: start; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .8s var(--ease), opacity .6s; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.rot-w.on { transform: none; opacity: 1; }
.rot-w.off { transform: translateY(-110%); opacity: 0; }

/* Hero visual */
.hero-visual { position: relative; height: 520px; }
.fcard {
  position: absolute; border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .9s var(--ease);
}
.fcard--main { top: 56px; left: 0; right: 0; padding: 26px; }
.fcard--chip { padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .86rem; white-space: nowrap; }
.fcard--a { top: -14px; right: -24px; }
.fcard--b { bottom: 22px; left: -56px; }
.fcard--c { bottom: -44px; right: -28px; }
.fcard .chip-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #03131d; }
.fcard .chip-ico .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.fcard small { display: block; color: var(--on-dark-3); font-size: .72rem; letter-spacing: .04em; }
.fcard strong { font-family: var(--font-display); font-weight: 600; }
.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 8s -3s ease-in-out infinite; }
.float-c { animation: floaty 9s -5s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -14px; } }
.proc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.proc-head h3 { font-size: 1.02rem; font-weight: 600; }
.proc-badge { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(52, 211, 153, .15); color: var(--mint); display: inline-flex; gap: 8px; align-items: center; }
.proc-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
.proc-list { list-style: none; display: grid; gap: 4px; }
.proc-list li { display: flex; align-items: center; gap: 14px; padding: 12px 12px; border-radius: 14px; font-size: .92rem; transition: background .4s; }
.proc-list li.cur { background: rgba(255, 255, 255, .06); }
.proc-list .st { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid rgba(255, 255, 255, .2); }
.proc-list li.ok .st { background: var(--grad); border: 0; color: #03131d; }
.proc-list li.ok .st .ico { width: 15px; height: 15px; stroke-width: 3; }
.proc-list li.cur .st { border-color: transparent; border-top-color: var(--green); border-right-color: var(--cyan); animation: spin 1.1s linear infinite; }
.proc-list li span { flex: 1; }
.proc-list li em { font-style: normal; font-size: .75rem; color: var(--on-dark-3); }
.proc-bar { margin-top: 18px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.proc-bar i { display: block; height: 100%; width: 68%; background: var(--grad); border-radius: 6px; position: relative; overflow: hidden; }
.proc-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: shimmer 2s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 30px 0; background: var(--night-950); border-block: 1px solid rgba(255, 255, 255, .06); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee-item { display: flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.6rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); transition: color .4s; }
.marquee-item:nth-child(even) { color: #fff; -webkit-text-stroke: 0; }
.marquee-item:hover { color: var(--green); -webkit-text-stroke: 0; }
.marquee-item::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 18px rgba(52, 211, 153, .7); }
.marquee--light { background: #fff; border-color: var(--line); }
.marquee--light .marquee-item { -webkit-text-stroke-color: rgba(11, 31, 58, .3); }
.marquee--light .marquee-item:nth-child(even) { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-stagger] > * { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0s)); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .02em .14em; margin: -.1em -.02em -.14em; }
.sw-i { display: inline-block; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 50ms + var(--d, 0s)); }
.js [data-split]:not(.is-in) .sw-i { transform: translateY(110%) rotate(5deg); }

/* ---------- Statement (scroll highlight) ---------- */
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.55rem, 3.4vw, 2.9rem); line-height: 1.28; letter-spacing: -.025em; color: var(--ink); max-width: 1100px; }
.statement .hw { opacity: .13; transition: opacity .5s; }
.statement .hw.on { opacity: 1; }
.statement .hw.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(11, 31, 58, .35); border-color: transparent; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--ink-2); }
.card-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-soft); color: var(--teal); margin-bottom: 26px; position: relative; }
.card-icon .ico { width: 28px; height: 28px; }
.card-icon::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; }

.gcard { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); overflow: hidden; color: var(--on-dark); }
.gcard h3 { color: #fff; }
.gcard p { color: var(--on-dark-2); }
.gcard .card-icon { color: var(--mint); background: rgba(255, 255, 255, .05); }

.spot { isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx, -999px) var(--my, -999px), rgba(52, 211, 153, .12), transparent 40%); opacity: 0; transition: opacity .5s; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(320px circle at var(--mx, -999px) var(--my, -999px), rgba(91, 140, 255, .9), rgba(52, 211, 153, .6) 30%, transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; }
.spot:hover::before, .spot:hover::after { opacity: 1; }

[data-tilt] { transform-style: preserve-3d; will-change: transform; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
[data-tilt] .tilt-pop { transform: translateZ(40px); }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 55%); opacity: 0; transition: opacity .5s; mix-blend-mode: soft-light; }
[data-tilt]:hover .tilt-glare { opacity: 1; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.num-tag { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--ink-3); }
.big-num { font-family: var(--font-display); font-weight: 800; font-size: 4.6rem; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }

/* ---------- About / Orbit ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
.orbit { position: relative; width: min(540px, 100%); aspect-ratio: 1; margin: auto; }
.orbit-ring { position: absolute; border-radius: 50%; inset: 11%; border: 1px dashed rgba(11, 31, 58, .2); animation: spin 50s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.orbit-ring--2 { inset: 27%; border: 1px solid rgba(19, 179, 155, .3); animation-duration: 30s; animation-direction: reverse; }
.orbit-ring--2::before { background: var(--blue); box-shadow: 0 0 18px var(--blue); width: 9px; height: 9px; top: -5px; margin-left: -4px; }
.orbit-core { position: absolute; inset: 35%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #17406f, #06111f 70%); box-shadow: 0 30px 70px -20px rgba(11, 31, 58, .7), 0 0 0 12px rgba(19, 179, 155, .08), 0 0 0 26px rgba(47, 107, 255, .05); }
.orbit-core .logo-mark { width: 52%; height: 52%; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.orbit-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; width: 140px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.orbit-node .nd { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--teal); box-shadow: 0 16px 30px -16px rgba(11, 31, 58, .4); transition: transform .6s var(--ease), background .4s, color .4s, box-shadow .4s; }
.orbit-node .nd .ico { width: 28px; height: 28px; }
.orbit-node:hover .nd { transform: scale(1.08); }
.orbit-node.active .nd { background: var(--grad); color: #03131d; border-color: transparent; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(52, 211, 153, .15), 0 20px 40px -12px rgba(31, 199, 224, .7); }
.orbit-node--t { left: 50%; top: 11%; } .orbit-node--r { left: 89%; top: 50%; } .orbit-node--b { left: 50%; top: 89%; } .orbit-node--l { left: 11%; top: 50%; }
@media (max-width: 520px) { .orbit-node { width: 96px; font-size: .74rem; } .orbit-node .nd { width: 52px; height: 52px; } }
.orbit-desc { position: relative; min-height: 190px; margin-top: 32px; }
.orbit-desc article { position: absolute; inset: 0 0 auto; padding: 28px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .8s var(--ease); pointer-events: none; }
.orbit-desc article.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.orbit-desc h4 { font-size: 1.15rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.orbit-desc h4 .ico { color: var(--teal); }
.orbit-desc p { color: var(--ink-2); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(60px, 8vw, 100px); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Gisements (dark stats) ---------- */
.gis-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 960px) { .gis-grid { grid-template-columns: 1fr; } }
.ring { position: relative; width: min(400px, 90%); aspect-ratio: 1; margin: auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 12; }
.ring .ring-bg { stroke: rgba(255, 255, 255, .07); }
.ring .ring-fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.4s var(--ease); filter: drop-shadow(0 0 12px rgba(52, 211, 153, .5)); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 10vw, 7.5rem); line-height: 1; letter-spacing: -.05em; color: #fff; }
.ring-label b sup { font-size: .4em; vertical-align: top; position: relative; top: .35em; margin-left: 4px; color: var(--mint); }
.ring-label > span { display: block; max-width: 220px; margin: 12px auto 0; font-size: .95rem; color: var(--on-dark-2); line-height: 1.4; }
.ring-orbit { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .1); animation: spin 60s linear infinite; }

.stat-bars { display: grid; gap: 28px; margin: 34px 0 10px; }
.stat-bar header { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 12px; }
.stat-bar header > span { color: var(--on-dark-2); font-size: .98rem; }
.stat-bar header b { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 10px; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; box-shadow: 0 0 20px rgba(52, 211, 153, .5); }
.is-in .bar i { transform: scaleX(1); }

.fs-list { display: grid; gap: 18px; margin-top: clamp(60px, 8vw, 100px); }
.fs-row { display: grid; grid-template-columns: 1fr 120px 1.25fr; align-items: stretch; }
.fs-frein, .fs-sol { border-radius: 20px; padding: 26px 28px; }
.fs-frein { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.fs-sol { background: linear-gradient(120deg, rgba(47, 107, 255, .14), rgba(52, 211, 153, .12)); border: 1px solid rgba(52, 211, 153, .25); }
.fs-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; color: #ff9aa9; }
.fs-sol .fs-tag { color: var(--mint); }
.fs-row h4 { font-size: 1.12rem; color: #fff; font-weight: 600; }
.fs-row p { font-size: .94rem; margin-top: 6px; }
.fs-arrow { display: grid; place-items: center; position: relative; }
.fs-arrow::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
.fs-arrow span { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--night-900); border: 1px solid rgba(52, 211, 153, .4); color: var(--mint); transform: scale(0); transition: transform .8s var(--ease) .9s; }
.is-in .fs-arrow::before { transform: scaleX(1); }
.is-in .fs-arrow span { transform: scale(1); }
@media (max-width: 760px) { .fs-row { grid-template-columns: 1fr; } .fs-arrow { height: 60px; } .fs-arrow::before { left: 50%; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; transform-origin: top; transform: scaleY(0); } .is-in .fs-arrow::before { transform: scaleY(1); } .fs-arrow span { transform: scale(0) rotate(90deg); } .is-in .fs-arrow span { transform: rotate(90deg); } }

/* ---------- Quote / vocation ---------- */
.vocation { text-align: center; max-width: 1080px; margin: auto; }
.vocation .qmark { font-family: Georgia, serif; font-size: 8rem; line-height: .6; height: 60px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vocation blockquote { margin: 18px 0 30px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 3.4rem); line-height: 1.18; letter-spacing: -.03em; color: #fff; }
.vocation cite { font-style: normal; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-3); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > * { grid-column: span 3; }
.bento .b-wide { grid-column: span 4; }
.bento .b-narrow { grid-column: span 2; }
@media (max-width: 960px) { .bento > *, .bento .b-wide, .bento .b-narrow { grid-column: span 6; } }
.b-accent { background: var(--ink); color: #fff; border-color: var(--ink); overflow: hidden; }
.b-accent p { color: var(--on-dark-2); }
.b-accent h3 { color: #fff; }
.b-accent::before { background: radial-gradient(500px circle at var(--mx, -999px) var(--my, -999px), rgba(52, 211, 153, .25), transparent 40%); }
.b-accent .b-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 7vw, 6rem); line-height: .9; letter-spacing: -.05em; margin-bottom: 18px; }
.bento .card { display: flex; flex-direction: column; }
.bento .card .card-foot { margin-top: auto; padding-top: 22px; }

/* ---------- Expanding panels ---------- */
.panels { display: flex; gap: 14px; height: 560px; }
.panel {
  position: relative; flex: 1; min-width: 0; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--night-800); color: #fff; padding: 30px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: flex 1s var(--ease);
}
.panel.is-active { flex: 3.6; }
.panel-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, var(--c1, #2f6bff) 0%, transparent 55%), radial-gradient(120% 90% at 0% 100%, var(--c2, #0f9e8a) 0%, transparent 60%), var(--night-800); opacity: .55; transition: opacity .8s, transform 1.4s var(--ease); }
.panel.is-active .panel-bg { opacity: 1; transform: scale(1.06); }
.panel-bg::after { content: ""; position: absolute; inset: 0; 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: 40px 40px; -webkit-mask-image: linear-gradient(to top, transparent, #000); mask-image: linear-gradient(to top, transparent, #000); }
.panel-num { position: absolute; top: 26px; left: 30px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.panel-icon { position: absolute; top: 26px; right: 26px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .15); transition: transform .8s var(--ease); }
.panel-icon .ico { width: 30px; height: 30px; }
.panel.is-active .panel-icon { transform: rotate(-8deg) scale(1.1); }
.panel-giant { position: absolute; right: -6%; bottom: 30%; width: 62%; opacity: 0; color: rgba(255, 255, 255, .08); transform: translateY(30px) rotate(-8deg); transition: opacity .8s .1s, transform 1.2s var(--ease); pointer-events: none; }
.panel-giant .ico { width: 100%; height: auto; stroke-width: 1; }
.panel.is-active .panel-giant { opacity: 1; transform: none; }
.panel h3 { font-size: 1.5rem; white-space: nowrap; }
.panel:not(.is-active) h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.3rem; align-self: flex-start; }
.panel-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease), opacity .5s; }
.panel-body > div { overflow: hidden; }
.panel.is-active .panel-body { grid-template-rows: 1fr; opacity: 1; transition-delay: .2s; }
.panel-body p { color: rgba(233, 241, 251, .82); margin: 12px 0 20px; max-width: 46ch; }
.panel .link-arrow { color: #fff; }
@media (max-width: 960px) {
  .panels { flex-direction: column; height: auto; }
  .panel { min-height: 120px; }
  .panel.is-active { min-height: 340px; }
  .panel h3 { white-space: normal; }
  .panel:not(.is-active) h3 { writing-mode: horizontal-tb; transform: none; }
  .panel-giant { width: 40%; bottom: 18%; }
}

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--night-950); color: #fff; padding: clamp(100px, 13vw, 170px) 0; text-align: center; }
.cta .flow { opacity: .9; }
.cta-inner { position: relative; z-index: 2; max-width: 900px; margin: auto; }
.cta h2 { margin: 24px 0 22px; }
.cta p { color: var(--on-dark-2); font-size: 1.15rem; max-width: 640px; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-meta { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; font-size: .92rem; color: var(--on-dark-2); }
.cta-meta a { display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.cta-meta a:hover { color: var(--mint); }
.cta-meta .ico { color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--night-950); color: var(--on-dark-2); padding: 96px 0 0; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; }
.footer-brand p { margin: 22px 0 24px; max-width: 36ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a, .footer-col button { font-size: .95rem; color: var(--on-dark-2); transition: color .3s, transform .3s; display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--mint); }
.footer-col .ico { color: var(--green); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .04); color: #fff; transition: background .4s, transform .5s var(--ease), border-color .4s; }
.footer-social a:hover { background: var(--grad); color: #03131d; border-color: transparent; transform: translateY(-4px); }
.footer-b2b { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .78rem; letter-spacing: .04em; color: var(--on-dark-3); padding: 8px 14px; border: 1px solid var(--glass-line); border-radius: 12px; }
.footer-giant {
  margin-top: 70px; font-family: var(--font-display); font-weight: 800; font-size: clamp(4.2rem, 19vw, 18rem); line-height: .78; letter-spacing: -.06em; text-align: center; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 120%), #34d399, #1fc7e0 30%, #2f6bff 55%, transparent 75%);
  -webkit-background-clip: text; background-clip: text; transform: translateY(12%);
}
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .07); padding: 26px 0 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: .82rem; color: var(--on-dark-3); background: var(--night-950); }
.footer-bottom a:hover { color: var(--mint); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Page hero (inner) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .82rem; color: var(--on-dark-3); margin-bottom: 26px; }
.crumbs a:hover { color: var(--mint); }
.crumbs .sep { opacity: .5; }
.page-title { margin: 22px 0 24px; max-width: 16ch; }
.hero--page .lead { max-width: 60ch; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-tags span { padding: 9px 16px; border-radius: 999px; font-size: .85rem; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .04); color: var(--on-dark-2); backdrop-filter: blur(8px); }

/* ---------- Pinned steps ---------- */
.pin { position: relative; height: calc(var(--steps, 4) * 80vh + 100vh); background: var(--night-900); color: var(--on-dark); }
.pin-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.pin-sticky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 500px at 85% 50%, rgba(47, 107, 255, .15), transparent 70%), radial-gradient(500px 400px at 10% 90%, rgba(52, 211, 153, .1), transparent 70%); pointer-events: none; }
.pin-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pin-nav { list-style: none; display: grid; gap: 6px; margin-top: 40px; }
.pin-nav button { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 16px; color: var(--on-dark-3); transition: background .4s, color .4s; }
.pin-nav button:hover { color: var(--on-dark); }
.pin-nav .pn-num { font-family: var(--font-display); font-weight: 700; font-size: .85rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--glass-line); grid-row: span 2; transition: background .4s, color .4s, border-color .4s; }
.pin-nav .pn-label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.pin-nav .pn-bar { height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.pin-nav .pn-bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--f, 0)); }
.pin-nav li.active button { background: rgba(255, 255, 255, .05); color: #fff; }
.pin-nav li.active .pn-num, .pin-nav li.done .pn-num { background: var(--grad); color: #03131d; border-color: transparent; }
.pin-panels { position: relative; height: min(580px, 72vh); }
.pin-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(60px) scale(.96); transition: opacity .7s, transform 1s var(--ease); pointer-events: none; display: flex; flex-direction: column; }
.pin-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.pin-panel.past { transform: translateY(-60px) scale(.96); }
.pin-panel .gcard { height: 100%; display: flex; flex-direction: column; }
.pp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.pp-top .big-num { font-size: clamp(4rem, 7vw, 6rem); }
.pp-ico { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: var(--grad); color: #03131d; box-shadow: 0 20px 50px -16px rgba(31, 199, 224, .7); position: relative; }
.pp-ico .ico { width: 38px; height: 38px; stroke-width: 1.6; }
.pp-ico::before, .pp-ico::after { content: ""; position: absolute; inset: -10px; border-radius: 32px; border: 1px solid rgba(52, 211, 153, .3); animation: ripple 3s infinite; }
.pp-ico::after { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.pp-kicker { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); font-weight: 600; margin-bottom: 8px; }
.pin-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.pin-panel p { font-size: 1.04rem; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); font-size: .96rem; }
.checks li .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(52, 211, 153, .15); color: var(--green); stroke-width: 3; margin-top: 1px; }
.checks--light li { color: var(--ink); }
@media (max-width: 980px) {
  .pin { height: auto; }
  .pin-sticky { position: relative; height: auto; padding: 100px 0; display: block; }
  .pin-grid { grid-template-columns: 1fr; }
  .pin-nav { display: none; }
  .pin-panels { height: auto; display: grid; gap: 20px; }
  .pin-panel { position: relative; opacity: 1; transform: none; pointer-events: auto; }
  .pin-panel.past { transform: none; }
}

/* ---------- Tabs (dispositifs) ---------- */
.dispo { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: stretch; }
.dispo-tabs { display: flex; flex-direction: column; gap: 10px; }
.dispo-tab { position: relative; display: flex; align-items: center; gap: 16px; text-align: left; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); overflow: hidden; transition: background .5s, color .4s, border-color .4s, transform .5s var(--ease); }
.dispo-tab:hover { transform: translateX(6px); }
.dispo-tab .dt-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--teal); flex: none; transition: background .4s, color .4s; }
.dispo-tab small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--ink-3); margin-top: 2px; transition: color .4s; }
.dispo-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(10px); }
.dispo-tab[aria-selected="true"] .dt-ico { background: var(--grad); color: #03131d; }
.dispo-tab[aria-selected="true"] small { color: var(--on-dark-3); }
.dispo-tab .dt-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.dispo-tab[aria-selected="true"] .dt-prog { animation: tabProg var(--dur, 7s) linear forwards; }
.dispo.paused .dt-prog { animation: none !important; transform: scaleX(0); }
@keyframes tabProg { to { transform: scaleX(1); } }
.dispo-panels { position: relative; }
.dispo-panel { position: relative; height: 100%; border-radius: var(--radius); padding: clamp(30px, 4vw, 52px); background: var(--night-900); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.dispo-panel[hidden] { display: none; }
.dispo-panel:not([hidden]) { animation: panelIn .8s var(--ease); }
.dispo-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 100% 0%, rgba(47, 107, 255, .3), transparent 70%), radial-gradient(500px 400px at 0% 100%, rgba(52, 211, 153, .2), transparent 70%); }
.dispo-panel h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; margin: 14px 0 30px; }
.dispo-rows { display: grid; gap: 0; }
.dispo-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.dispo-row dt { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-weight: 600; }
.dispo-row dd { margin: 0; color: #fff; font-size: 1.08rem; }
.dispo-row dd .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dispo-row dd .tags span { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 960px) {
  .dispo { grid-template-columns: 1fr; }
  .dispo-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .dispo-tabs::-webkit-scrollbar { display: none; }
  .dispo-tab { flex: none; padding: 14px 18px; }
  .dispo-tab small { display: none; }
  .dispo-tab:hover, .dispo-tab[aria-selected="true"] { transform: none; }
  .dispo-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Choices / chips (forms & quiz) ---------- */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px; border-radius: 18px; cursor: pointer; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .03); color: var(--on-dark); transition: border-color .3s, background .3s, transform .5s var(--ease), box-shadow .4s; }
.choice-card:hover { border-color: rgba(255, 255, 255, .28); transform: translateY(-3px); }
.choice-card .ci { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--mint); transition: background .4s, color .4s; }
.choice-card .ci .ico { width: 22px; height: 22px; }
.choice-card b { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.choice-card small { font-size: .8rem; color: var(--on-dark-3); line-height: 1.4; }
.choice-card::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); transition: background .3s, border-color .3s; background-repeat: no-repeat; background-position: center; background-size: 12px; }
.choice input:checked + .choice-card { border-color: rgba(52, 211, 153, .8); background: linear-gradient(135deg, rgba(47, 107, 255, .18), rgba(52, 211, 153, .14)); box-shadow: 0 20px 40px -24px rgba(52, 211, 153, .7), inset 0 0 0 1px rgba(52, 211, 153, .5); }
.choice input:checked + .choice-card .ci { background: var(--grad); color: #03131d; }
.choice input:checked + .choice-card::after { border-color: transparent; background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303131d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); animation: pop .4s var(--ease); }
.choice input:focus-visible + .choice-card { outline: 2px solid var(--blue-2); outline-offset: 3px; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .03); color: var(--on-dark-2); font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .35s var(--ease); }
.chip span::before { content: ""; width: 0; height: 14px; overflow: hidden; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303131d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; transition: width .35s var(--ease); margin-right: -8px; }
.chip span:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.chip input:checked + span { background: var(--grad); color: #03131d; border-color: transparent; font-weight: 600; }
.chip input:checked + span::before { width: 14px; margin-right: 0; }
.chip input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 3px; }

/* Light variants for chips (actualités) */
.chips--light .chip span, .filter-btn { border-color: var(--line); background: #fff; color: var(--ink-2); }

/* ---------- Diagnostic express ---------- */
.diag { position: relative; border-radius: 32px; padding: clamp(28px, 4vw, 56px); background: linear-gradient(160deg, var(--night-800), var(--night-950)); color: var(--on-dark); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.diag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 100% 0%, rgba(47, 107, 255, .25), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(52, 211, 153, .18), transparent 70%); }
.diag-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.diag-dots { display: flex; gap: 8px; align-items: center; }
.diag-dots i { width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); transition: background .5s, width .5s var(--ease); }
.diag-dots i.on { background: var(--grad); width: 54px; }
.diag-count { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.diag-step { display: none; }
.diag-step.active { display: block; animation: stepIn .7s var(--ease); }
.diag-step.back { animation-name: stepInBack; }
.diag-step h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; margin-bottom: 8px; }
.diag-step > p { margin-bottom: 26px; color: var(--on-dark-2); }
.diag-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-40px); } }
.diag-result { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .diag-result { grid-template-columns: 1fr; } }
.score { position: relative; width: 240px; aspect-ratio: 1; margin: auto; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 10; }
.score .s-bg { stroke: rgba(255, 255, 255, .08); }
.score .s-fg { stroke: url(#scoreGrad); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease); }
.score-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-label b { font-family: var(--font-display); font-size: 4rem; font-weight: 800; line-height: 1; color: #fff; }
.score-label span { font-size: .85rem; color: var(--on-dark-2); max-width: 140px; margin: 6px auto 0; line-height: 1.35; }
.levers { display: grid; gap: 12px; }
.lever { display: flex; gap: 16px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-line); opacity: 0; transform: translateY(16px); animation: leverIn .7s var(--ease) forwards; animation-delay: calc(var(--i) * 120ms + .3s); }
.lever .lv-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #03131d; flex: none; }
.lever h4 { font-size: 1.02rem; color: #fff; font-weight: 600; margin-bottom: 4px; }
.lever p { font-size: .9rem; color: var(--on-dark-2); }
@keyframes leverIn { to { opacity: 1; transform: none; } }
.alert { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; font-size: .92rem; line-height: 1.55; }
.alert .ico { flex: none; margin-top: 2px; }
.alert--warn { background: rgba(255, 190, 80, .1); border: 1px solid rgba(255, 190, 80, .35); color: #ffe0a8; }
.alert--info { background: rgba(91, 140, 255, .1); border: 1px solid rgba(91, 140, 255, .3); color: #cfdcff; }
.alert--ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #c4f5df; }
.diag-disclaimer { margin-top: 22px; font-size: .78rem; color: var(--on-dark-3); }

/* ---------- Form ---------- */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .contact-layout { grid-template-columns: 1fr; } }
.mform { position: relative; border-radius: 32px; padding: clamp(24px, 3.5vw, 48px); background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--glass-line); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--shadow-lg); color: var(--on-dark); }
.mform-progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.mform-bar { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .8s var(--ease); box-shadow: 0 0 16px rgba(52, 211, 153, .7); }
.mform-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 34px; }
.mform-steps li { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 500; color: var(--on-dark-3); transition: color .4s; }
.mform-steps li i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--font-display); font-size: .74rem; font-weight: 700; border: 1px solid var(--glass-line); flex: none; transition: all .4s; }
.mform-steps li.active { color: #fff; }
.mform-steps li.active i { border-color: var(--green); color: var(--mint); box-shadow: 0 0 0 4px rgba(52, 211, 153, .12); }
.mform-steps li.done i { background: var(--grad); color: #03131d; border-color: transparent; }
@media (max-width: 600px) { .mform-steps li span { display: none; } .mform-steps { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.mstep { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.mstep.is-active { display: block; animation: stepIn .7s var(--ease); }
.mstep.back { animation-name: stepInBack; }
.mstep legend { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; color: #fff; margin-bottom: 6px; padding: 0; }
.mstep .step-sub { color: var(--on-dark-2); margin-bottom: 26px; }
.f-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #fff; margin: 26px 0 12px; }
.f-label small { font-family: var(--font-body); font-weight: 400; color: var(--on-dark-3); margin-left: 6px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-grid .span-2 { grid-column: span 2; }
@media (max-width: 600px) { .f-grid { grid-template-columns: 1fr; } .f-grid .span-2 { grid-column: auto; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 62px; padding: 26px 18px 8px; border-radius: 15px;
  border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .04); color: #fff;
  font: inherit; font-size: 1rem; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { height: 150px; padding-top: 32px; resize: vertical; line-height: 1.55; }
.field select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238af2cf' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field select option { background: var(--night-800); color: #fff; }
.field label { position: absolute; left: 19px; top: 20px; color: var(--on-dark-3); pointer-events: none; font-size: 1rem; transform-origin: left top; transition: transform .35s var(--ease), color .3s; white-space: nowrap; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-11px) scale(.76); color: var(--mint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(52, 211, 153, .7); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(52, 211, 153, .12); }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b81; box-shadow: 0 0 0 4px rgba(255, 107, 129, .1); animation: shake .45s; }
.field.valid input { border-color: rgba(52, 211, 153, .45); }
.field .f-ok { position: absolute; right: 16px; top: 20px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #03131d; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.field .f-ok .ico { width: 13px; height: 13px; stroke-width: 3.5; }
.field.valid .f-ok { transform: scale(1); }
.f-msg { font-size: .8rem; color: #ff97a8; margin-top: 6px; min-height: 0; }
.f-msg:empty { display: none; }
.f-hint { font-size: .78rem; color: var(--on-dark-3); margin-top: 6px; line-height: 1.5; }
.f-hint.warn { color: #ffd38a; }
.f-counter { position: absolute; right: 16px; bottom: 10px; font-size: .72rem; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.cond { display: none; }
.cond.show { display: block; animation: stepIn .6s var(--ease); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 14px; align-items: flex-start; font-size: .9rem; line-height: 1.55; color: var(--on-dark-2); cursor: pointer; margin-top: 16px; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .32); flex: none; margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s; }
.check input:checked { background: var(--grad); border-color: transparent; }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #03131d; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.check.invalid input { border-color: #ff6b81; animation: shake .45s; }

.mform-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.mform-nav .btn--ghost[hidden] { display: none; }
.mform-nav .spacer { flex: 1; }
.legal-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--glass-line); font-size: .78rem; line-height: 1.6; color: var(--on-dark-3); display: grid; gap: 10px; }
.legal-note a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }

.recap { display: grid; gap: 2px; border-radius: 18px; overflow: hidden; border: 1px solid var(--glass-line); }
.recap div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 18px; background: rgba(255, 255, 255, .03); font-size: .92rem; }
.recap dt { color: var(--on-dark-3); }
.recap dd { margin: 0; color: #fff; word-break: break-word; }
@media (max-width: 600px) { .recap div { grid-template-columns: 1fr; gap: 2px; } }
.recap-edit { font-size: .82rem; color: var(--mint); text-decoration: underline; text-underline-offset: 3px; margin-top: 10px; display: inline-block; }

.prefill-banner { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }

.mform-success { text-align: center; padding: 30px 0 10px; animation: stepIn .8s var(--ease); }
.mform-success svg.check-anim { width: 120px; height: 120px; margin: 0 auto 26px; }
.check-anim circle { fill: none; stroke: url(#okGrad); stroke-width: 4; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s var(--ease) forwards; }
.check-anim path { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s .7s var(--ease) forwards; }
.mform-success h3 { font-size: 2rem; color: #fff; margin-bottom: 12px; }
.mform-success p { color: var(--on-dark-2); max-width: 46ch; margin: 0 auto 26px; }
.confetti { position: fixed; inset: 0; z-index: 650; pointer-events: none; }

/* Contact aside */
.contact-aside { display: grid; gap: 16px; }
.c-item { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-line); color: #fff; transition: background .4s, transform .6s var(--ease), border-color .4s; }
a.c-item:hover { background: rgba(255, 255, 255, .08); transform: translateX(6px); border-color: rgba(52, 211, 153, .4); }
.c-item .c-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #03131d; flex: none; }
.c-item small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 2px; }
.c-item strong { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; }
.fr-map { position: relative; margin-top: 10px; border-radius: 24px; padding: 26px; background: rgba(255, 255, 255, .03); border: 1px solid var(--glass-line); overflow: hidden; }
.fr-map svg { width: 100%; height: auto; }
.fr-map .fm-shape { fill: url(#fmDots); stroke: url(#fmStroke); stroke-width: 1.5; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 3s var(--ease); }
.fr-map.is-in .fm-shape { stroke-dashoffset: 0; }
.fm-pin { fill: var(--green); }
.fm-pulse { fill: none; stroke: var(--green); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s infinite; }
.fm-pulse.d2 { animation-delay: 1.3s; }
.fm-node { fill: var(--blue-2); opacity: .9; }
.fm-node.n { animation: twinkle 3s infinite; animation-delay: calc(var(--i) * .4s); }
.fm-line { stroke: url(#fmStroke); stroke-width: 1; fill: none; stroke-dasharray: 4 6; opacity: .6; animation: dash 20s linear infinite; }
@keyframes mapPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(5); opacity: 0; } }
@keyframes twinkle { 50% { opacity: .25; } }
@keyframes dash { to { stroke-dashoffset: -200; } }
.fr-map figcaption { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; color: var(--on-dark-2); margin-top: 10px; flex-wrap: wrap; }
.fr-map figcaption b { color: #fff; font-family: var(--font-display); font-weight: 600; }

/* ---------- FAQ / accordion ---------- */
.acc { display: grid; gap: 12px; }
.acc-item { border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: box-shadow .5s, border-color .4s; }
.acc-item.open { box-shadow: 0 30px 60px -40px rgba(11, 31, 58, .35); border-color: transparent; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.acc-btn .pm { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--ink); transition: transform .6s var(--ease), background .4s, color .4s; }
.acc-item.open .acc-btn .pm { transform: rotate(135deg); background: var(--grad); color: #03131d; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 28px 26px; color: var(--ink-2); max-width: 80ch; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ---------- Sectors ---------- */
.sector-nav { position: sticky; top: calc(var(--header-h) + 12px); z-index: 90; margin-top: -32px; transition: top .6s var(--ease); }
.header-hidden .sector-nav { top: 12px; }
.sector-nav-inner { position: relative; display: flex; gap: 4px; padding: 6px; margin: auto; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(11, 31, 58, .4); }
.sector-nav-inner::-webkit-scrollbar { display: none; }
.sector-nav a { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink-2); white-space: nowrap; transition: color .4s; }
.sector-nav a .ico { width: 17px; height: 17px; }
.sector-nav a.active { color: #fff; }
.spy-indicator { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.spy-indicator::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); }

.sector { position: relative; padding: clamp(90px, 10vw, 140px) 0; scroll-margin-top: 120px; }
.sector + .sector { border-top: 1px solid var(--line); }
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sector--rev .sector-visual { order: -1; }
@media (max-width: 960px) { .sector-grid { grid-template-columns: 1fr; } .sector--rev .sector-visual { order: 0; } }
.sector-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.sector-head .s-ico { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--ink); color: var(--mint); box-shadow: 0 16px 30px -16px rgba(11, 31, 58, .8); }
.sector-head .s-ico .ico { width: 30px; height: 30px; }
.sector-head .num-tag { display: block; }
.sector h2 { margin-bottom: 20px; }
.sector h3 { font-size: 1.12rem; margin: 30px 0 12px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.sector h3 .ico { color: var(--teal); }
.sector p { color: var(--ink-2); }
.sector p + p { margin-top: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag-list span { padding: 8px 15px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
.tag-list span:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.sector-solution { margin-top: 28px; padding: 24px 26px; border-radius: 20px; background: linear-gradient(120deg, rgba(47, 107, 255, .07), rgba(52, 211, 153, .1)); border: 1px solid rgba(19, 179, 155, .25); }
.sector-solution strong { font-family: var(--font-display); color: var(--ink); display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.sector-solution strong .ico { color: var(--teal); }

.viz { position: relative; border-radius: 30px; padding: clamp(26px, 3.5vw, 44px); background: var(--night-900); color: var(--on-dark); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.viz::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 360px at 100% 0%, rgba(47, 107, 255, .28), transparent 70%), radial-gradient(500px 360px at 0% 100%, rgba(52, 211, 153, .18), transparent 70%); }
.viz::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 36px 36px; }
.viz-title { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); font-weight: 600; margin-bottom: 24px; display: flex; justify-content: space-between; gap: 12px; }
.viz-title em { font-style: normal; color: var(--on-dark-3); letter-spacing: .06em; text-transform: none; font-weight: 400; }
.viz-big { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.viz-stat { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--glass-line); }
.viz-stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; color: #fff; margin-bottom: 10px; }
.viz-stat b sup { font-size: .45em; color: var(--mint); vertical-align: top; position: relative; top: .3em; }
.viz-stat > span { font-size: .9rem; color: var(--on-dark-2); line-height: 1.45; display: block; }
.viz-stat--wide { grid-column: span 2; display: flex; align-items: center; gap: 22px; }
.viz-stat--wide b { margin: 0; }
@media (max-width: 520px) { .viz-big { grid-template-columns: 1fr; } .viz-stat--wide { grid-column: auto; flex-direction: column; align-items: flex-start; } }
.viz-src { margin-top: 18px; font-size: .74rem; color: var(--on-dark-3); }

/* CEE flow */
.cee-flow { list-style: none; display: grid; position: relative; }
.cee-flow li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 10px 0 30px; }
.cee-flow li:last-child { padding-bottom: 0; }
.cee-flow li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 68px; bottom: 4px; width: 2px; background: linear-gradient(to bottom, rgba(52, 211, 153, .55), rgba(47, 107, 255, .25)); }
.cee-flow li:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 66px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); z-index: 1; animation: flowDown 2.4s ease-in infinite; animation-delay: calc(var(--i, 0) * .6s); }
@keyframes flowDown { 0% { top: 66px; opacity: 0; } 20% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
.cf-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); color: var(--mint); flex: none; }
.cee-flow li:last-child .cf-ico { background: var(--grad); color: #03131d; border-color: transparent; box-shadow: 0 0 30px -4px rgba(52, 211, 153, .6); }
.cee-flow b { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin: 2px 0 4px; }
.cee-flow small { color: var(--on-dark-2); font-size: .88rem; line-height: 1.5; display: block; }

/* Trajectory chart */
.traj { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); align-items: end; height: 300px; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.traj-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 10px; }
.traj-bar { position: relative; width: 100%; max-width: 86px; height: var(--h); border-radius: 14px 14px 4px 4px; background: linear-gradient(to top, rgba(47, 107, 255, .5), rgba(52, 211, 153, .9)); transform-origin: bottom; transform: scaleY(0); transition: transform 1.6s var(--ease); transition-delay: calc(var(--i) * 180ms); box-shadow: 0 0 30px -6px rgba(52, 211, 153, .5); }
.traj-col:first-child .traj-bar { background: linear-gradient(to top, rgba(255, 255, 255, .12), rgba(255, 255, 255, .28)); box-shadow: none; }
.is-in .traj-bar { transform: scaleY(1); }
.traj-val { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); color: #fff; opacity: 0; transition: opacity .6s; transition-delay: calc(var(--i) * 180ms + .9s); }
.is-in .traj-val { opacity: 1; }
.traj-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); text-align: center; margin-top: 12px; font-size: .86rem; color: var(--on-dark-2); }

/* DPE scale */
.dpe { display: grid; gap: 7px; }
.dpe-row { display: flex; align-items: center; gap: 14px; }
.dpe-bar { height: 36px; border-radius: 6px 18px 18px 6px; display: flex; align-items: center; padding: 0 14px; font-family: var(--font-display); font-weight: 800; color: #03131d; width: var(--w); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.is-in .dpe-bar { transform: scaleX(1); }
.dpe-tag { font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; transform: translateX(-10px); transition: opacity .6s, transform .8s var(--ease); transition-delay: calc(var(--i) * 90ms + 1s); }
.is-in .dpe-tag { opacity: 1; transform: none; }
.dpe-tag--ban { background: rgba(255, 107, 129, .15); color: #ffb3c0; border: 1px solid rgba(255, 107, 129, .4); }

/* Mobility rows */
.mob-list { display: grid; gap: 14px; }
.mob { display: flex; gap: 18px; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.mob:hover { transform: translateX(8px); box-shadow: 0 30px 50px -36px rgba(11, 31, 58, .4); }
.mob .m-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--teal); flex: none; }
.mob h4 { font-size: 1.04rem; margin-bottom: 4px; }
.mob p { font-size: .94rem; color: var(--ink-2); }

/* ---------- News ---------- */
.news-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: all .35s var(--ease); }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px; font-size: .72rem; background: var(--mist); color: var(--ink-2); }
.filter-btn[aria-pressed="true"] .n { background: var(--grad); color: #03131d; }
.search { position: relative; width: min(340px, 100%); }
.search input { width: 100%; height: 50px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 20px 0 50px; font: inherit; font-size: .95rem; color: var(--ink); outline: none; transition: border-color .3s, box-shadow .3s; }
.search input:focus { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(19, 179, 155, .12); }
.search .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; text-align: left; transition: transform .7s var(--ease), box-shadow .7s var(--ease), opacity .5s; animation: cardIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(11, 31, 58, .45); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px); } }
.news-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-900); isolation: isolate; }
.news-cover .nc-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 90% at 100% 0%, var(--c1), transparent 60%), radial-gradient(90% 90% at 0% 100%, var(--c2), transparent 65%), var(--night-900); transition: transform 1.2s var(--ease); }
.news-cover .nc-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%); }
.news-card:hover .nc-bg { transform: scale(1.08); }
.news-cover .nc-ico { position: absolute; right: 8%; top: 50%; width: 38%; color: rgba(255, 255, 255, .9); transform: translateY(-50%) rotate(-6deg); transition: transform 1s var(--ease); }
.news-cover .nc-ico .ico { width: 100%; height: auto; stroke-width: 1.1; }
.news-card:hover .nc-ico { transform: translateY(-50%) rotate(0) scale(1.06); }
.news-cover .nc-cat { position: absolute; left: 18px; top: 18px; padding: 7px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); }
.news-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--ink-3); }
.news-meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-meta .ico { width: 15px; height: 15px; }
.news-body h3 { font-size: 1.22rem; line-height: 1.3; color: var(--ink); }
.news-body p { color: var(--ink-2); font-size: .95rem; }
.news-body .link-arrow { margin-top: auto; padding-top: 8px; }
.news-card--featured { grid-column: 1 / -1; flex-direction: row; }
.news-card--featured .news-cover { flex: 1.15; aspect-ratio: auto; min-height: 380px; }
.news-card--featured .news-body { flex: 1; padding: clamp(28px, 4vw, 52px); justify-content: center; }
.news-card--featured h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
@media (max-width: 860px) { .news-card--featured { flex-direction: column; } .news-card--featured .news-cover { min-height: 0; aspect-ratio: 16 / 10; } }
.news-empty { grid-column: 1 / -1; text-align: center; padding: 70px 20px; color: var(--ink-3); }
.news-disclaimer { margin-top: 48px; display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; border-radius: 18px; background: #fff; border: 1px dashed var(--line); font-size: .88rem; color: var(--ink-3); }

.reader { position: fixed; inset: 0; z-index: 260; display: flex; justify-content: flex-end; visibility: hidden; }
.reader.open { visibility: visible; }
.reader-backdrop { position: absolute; inset: 0; background: rgba(4, 10, 21, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.reader.open .reader-backdrop { opacity: 1; }
.reader-panel { position: relative; width: min(820px, 100%); height: 100%; background: #fff; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .8s var(--ease-io); }
.reader.open .reader-panel { transform: none; }
.reader-progress { position: sticky; top: 0; z-index: 3; height: 4px; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.reader-close { position: sticky; top: 18px; z-index: 3; float: right; margin: 14px 18px 0 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease); }
.reader-close:hover { transform: rotate(90deg); }
.reader-cover { position: relative; height: 300px; margin-top: -68px; isolation: isolate; overflow: hidden; }
.reader-cover .nc-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 90% at 100% 0%, var(--c1), transparent 60%), radial-gradient(90% 90% at 0% 100%, var(--c2), transparent 65%), var(--night-900); }
.reader-cover .nc-ico { position: absolute; right: 8%; top: 50%; width: 180px; color: rgba(255, 255, 255, .85); transform: translateY(-50%); }
.reader-cover .nc-ico .ico { width: 100%; height: auto; stroke-width: 1.1; }
.reader-content { padding: clamp(28px, 5vw, 60px); }
.reader-content .news-meta { margin-bottom: 18px; }
.reader-content h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: 24px; }
.prose { color: var(--ink-2); font-size: 1.05rem; line-height: 1.8; }
.prose h3 { font-size: 1.3rem; color: var(--ink); margin: 36px 0 12px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.prose strong { color: var(--ink); }
.prose .callout { margin: 26px 0; padding: 22px 24px; border-radius: 18px; background: var(--mist); border-left: 4px solid var(--teal-2); color: var(--ink); }
.reader-foot { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 270px 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: 110px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: top .6s var(--ease); }
.header-hidden .legal-toc { top: 24px; }
.legal-toc h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.legal-toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: .9rem; color: var(--ink-2); transition: background .3s, color .3s; counter-increment: toc; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; font-size: .78rem; color: var(--ink-3); padding-top: 1px; }
.legal-toc a:hover { background: var(--mist); color: var(--ink); }
.legal-toc a.active { background: var(--ink); color: #fff; }
.legal-toc a.active::before { color: var(--mint); }
.legal-body { min-width: 0; }
.legal-body section { scroll-margin-top: 110px; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 20px; display: flex; gap: 14px; align-items: center; }
.legal-body h2 .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--grad-soft); color: var(--teal); }
.legal-body h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 12px 0; }
.legal-body ul li { position: relative; padding-left: 24px; }
.legal-body ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); }
.legal-body a:not(.btn) { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.idcard { display: grid; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.idcard div { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 15px 22px; }
.idcard div:nth-child(odd) { background: var(--mist); }
.idcard dt { color: var(--ink-3); font-size: .92rem; }
.idcard dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
@media (max-width: 640px) { .idcard div { grid-template-columns: 1fr; gap: 2px; } }
.tbl-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); margin: 16px 0; }
.tbl { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .92rem; background: #fff; }
.tbl th { text-align: left; padding: 14px 18px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .84rem; }
.tbl td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.tbl tr:nth-child(even) td { background: var(--mist); }
.todo { display: inline-block; background: #fff4d6; color: #7a5200; border: 1px dashed #e0b44c; padding: 1px 9px; border-radius: 6px; font-size: .88em; font-weight: 600; }
.legal-callout { padding: 22px 24px; border-radius: 18px; background: linear-gradient(120deg, rgba(47, 107, 255, .06), rgba(52, 211, 153, .09)); border: 1px solid rgba(19, 179, 155, .25); color: var(--ink); margin: 18px 0; }
.updated { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--on-dark-3); margin-top: 26px; }
@media (max-width: 960px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: relative; top: 0 !important; } }

/* ---------- Cookie CMP ---------- */
.cmp { position: fixed; z-index: 280; left: 24px; bottom: 24px; width: min(470px, calc(100% - 32px)); padding: 26px; border-radius: 24px; color: var(--on-dark); background: rgba(8, 20, 38, .94); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(30px) scale(.97); visibility: hidden; transition: opacity .5s, transform .7s var(--ease), visibility 0s .7s; }
.cmp.show { opacity: 1; transform: none; visibility: visible; transition: opacity .5s, transform .7s var(--ease); }
.cmp::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--grad); border-radius: 2px; }
.cmp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cmp-head .ci { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #03131d; flex: none; }
.cmp h2 { font-size: 1.12rem; color: #fff; }
.cmp p { font-size: .87rem; line-height: 1.6; color: var(--on-dark-2); }
.cmp p a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.cmp-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.cmp-btn { height: 46px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .84rem; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.cmp-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
@media (max-width: 480px) { .cmp { left: 16px; bottom: 16px; padding: 22px; } .cmp-actions { grid-template-columns: 1fr; } }

.cmp-modal { position: fixed; inset: 0; z-index: 290; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.cmp-modal.open { visibility: visible; }
.cmp-modal .backdrop { position: absolute; inset: 0; background: rgba(4, 10, 21, .65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.cmp-modal.open .backdrop { opacity: 1; }
.cmp-dialog { position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--night-800); color: var(--on-dark); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .4s, transform .6s var(--ease); }
.cmp-modal.open .cmp-dialog { opacity: 1; transform: none; }
.cmp-dialog h2 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.cmp-dialog > p { font-size: .92rem; color: var(--on-dark-2); }
.cmp-cat { margin-top: 16px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-line); }
.cmp-cat header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cmp-cat h3 { font-size: 1rem; color: #fff; font-weight: 600; }
.cmp-cat p { font-size: .84rem; color: var(--on-dark-3); margin-top: 8px; line-height: 1.55; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .15); transition: background .3s; }
.switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease); }
.switch input:checked + span { background: var(--grad); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.cmp-always { font-size: .76rem; font-weight: 600; color: var(--mint); letter-spacing: .06em; text-transform: uppercase; }
.cmp-dialog .cmp-actions { margin-top: 26px; }
.cmp-x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.cookie-fab { position: fixed; left: 22px; bottom: 22px; z-index: 120; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--mint); background: rgba(6, 17, 31, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-line); opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.cookie-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie-fab:hover { transform: rotate(-20deg) scale(1.06); }

/* ---------- Misc ---------- */
.badge-soft { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--grad-soft); color: var(--teal); font-size: .8rem; font-weight: 600; }
.divider-grad { height: 1px; background: linear-gradient(90deg, transparent, rgba(52, 211, 153, .5), transparent); border: 0; margin: 0; }
.center { text-align: center; }
.mt-l { margin-top: clamp(48px, 6vw, 80px); }
.flex-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.75); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-split] .sw-i { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}
