/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/geist-300-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/geist-300-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-400-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-400-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* ==========================================================================
   Robotics Technologies - design system
   Dark tech, one accent (--accent), Geist + Geist Mono.
   Radius rule: interactive controls are pills, inputs 12px, cards/panels 20px.
   Breakpoints: 640 / 900 / 1100. Motion collapses under prefers-reduced-motion.
   z-index scale: content 1, mobile CTA 90, header 100, progress 110, cookie 200, preloader 1000.
   ========================================================================== */

:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --panel: #101319;
  --panel-2: #151922;
  --line: rgba(226, 232, 240, 0.08);
  --line-2: rgba(226, 232, 240, 0.16);
  --text: #eef1f6;
  --muted: #a3abb9;
  --dim: #8d94a2;
  --accent: #c6f432;
  --accent-ink: #0b0f02;
  --accent-soft: rgba(198, 244, 50, 0.1);
  --accent-line: rgba(198, 244, 50, 0.35);
  --danger: #ff8a8a;
  --success: #6ee7a8;
  --r-input: 12px;
  --r-card: 20px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Fixed grain layer (pointer-events none, never on scrolling containers) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 9vw, 120px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.eyebrow { display: inline-block; font: 500 0.78rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.h-display { font-size: clamp(2.6rem, 5.6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.h-xl { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.04em; }
.h-lg { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; white-space: nowrap;
  font: 500 0.96rem/1 var(--font-sans); letter-spacing: -0.005em;
  transition: transform 0.4s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.4s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--lg { --h: 56px; padding: 0 30px; font-size: 1rem; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 0.88rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -12px rgba(198, 244, 50, 0.45); }
.btn--primary:hover { background: #d4ff4d; }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.btn--ghost:hover { border-color: rgba(226, 232, 240, 0.35); background: rgba(255, 255, 255, 0.06); }
.btn--icon { width: var(--h); padding: 0; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(11, 15, 2, 0.25); border-top-color: var(--accent-ink); animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color 0.25s, color 0.25s; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent-line); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

/* Magnetic wrapper: JS sets --tx/--ty */
.magnetic { transform: translate3d(var(--tx, 0), var(--ty, 0), 0); transition: transform 0.5s var(--ease); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font: 500 0.76rem/1 var(--font-mono); padding: 7px 11px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line-2); }
.tag--accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

/* ---------- Preloader & progress ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--bg); transition: opacity 0.5s var(--ease), visibility 0.5s; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 52px; height: 52px; color: var(--accent); animation: breathe 1.4s var(--ease) infinite; }
.preloader__bar { width: 120px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.preloader__bar::after { content: ""; display: block; width: 40%; height: 100%; background: var(--accent); animation: load 1s var(--ease) infinite; }
@keyframes breathe { 50% { transform: scale(0.9); opacity: 0.6; } }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.is-ready .preloader, .no-js .preloader { opacity: 0; visibility: hidden; }
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { display: block; position: fixed; inset: 0 0 auto; height: 2px; z-index: 110; background: var(--accent); transform-origin: 0 50%; animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 80px; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color 0.35s, border-color 0.35s; }
.menu-open .site-header { background: transparent !important; border-bottom-color: transparent !important; backdrop-filter: none !important; }
.site-header.is-scrolled { background: rgba(7, 8, 11, 0.78); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 34px; height: 34px; color: var(--accent); }
.brand__img { height: 38px; width: auto; }
.brand__text { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1; }
.brand__text small { display: block; margin-top: 4px; font: 500 0.6rem/1 var(--font-mono); letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase; }
.nav { margin-left: auto; display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: 0.92rem; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav__link:hover, .nav__item--drop:hover > .nav__link, .nav__item--drop:focus-within > .nav__link { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.nav__link .icon { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.nav__item--drop { position: relative; }
.nav__item--drop:hover > .nav__link .icon, .nav__item--drop:focus-within > .nav__link .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 380px; padding: 8px; border-radius: var(--r-card);
  background: rgba(16, 19, 25, 0.96); border: 1px solid var(--line-2); backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 80px -20px rgba(0, 0, 0, 0.85);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.25s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item--drop:hover .dropdown, .nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 14px; padding: 12px; border-radius: 14px; transition: background-color 0.2s; }
.dropdown a:hover { background: rgba(255, 255, 255, 0.05); }
.dropdown__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--accent); }
.dropdown__icon .icon { width: 20px; height: 20px; }
.dropdown strong { display: block; font-size: 0.92rem; font-weight: 500; }
.dropdown span { display: block; font-size: 0.8rem; color: var(--dim); line-height: 1.45; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; height: 36px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 0.74rem/1 var(--font-mono); }
.lang-switch a, .lang-switch span { display: grid; place-items: center; height: 100%; padding: 0 10px; border-radius: 999px; color: var(--dim); transition: color 0.2s, background-color 0.2s; }
.lang-switch [aria-current="true"] { background: var(--text); color: var(--bg); }
.lang-switch a:hover { color: var(--text); }
.header-cta { display: none; }
/* Menu button: two lines that morph into an X, ring fills with the accent when open */
.menu-toggle { position: relative; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(7, 8, 11, 0.5); backdrop-filter: blur(10px); transition: background-color 0.4s var(--ease), border-color 0.4s, color 0.4s; }
.menu-toggle span { position: relative; width: 18px; height: 10px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform 0.5s var(--ease), width 0.4s var(--ease), top 0.4s var(--ease); }
.menu-toggle span::before { top: 0; width: 100%; }
.menu-toggle span::after { top: 8px; width: 62%; }
.menu-toggle:hover span::after { width: 100%; }
.menu-open .menu-toggle { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.menu-open .menu-toggle span::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 4px; width: 100%; transform: rotate(-45deg); }

/* Mobile menu: full-screen overlay revealed as a circle from the menu button (JS sets --ox/--oy) */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain; background: var(--bg);
  padding: calc(var(--header-h) + 12px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  clip-path: circle(0px at var(--ox, calc(100% - 40px)) var(--oy, 34px)); visibility: hidden;
  transition: clip-path 0.65s var(--ease), visibility 0s linear 0.65s;
}
.menu-open { overflow: hidden; }
.menu-open .mobile-nav { clip-path: circle(160% at var(--ox, calc(100% - 40px)) var(--oy, 34px)); visibility: visible; transition: clip-path 0.85s var(--ease), visibility 0s; }
.mobile-nav__bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.mobile-nav__bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(226, 232, 240, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 232, 240, 0.06) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse 90% 70% at 100% 0%, #000 20%, transparent 75%); }
.mobile-nav__bg::after { content: ""; position: absolute; width: 140vw; height: 140vw; right: -70vw; top: -70vw; border-radius: 50%; background: radial-gradient(circle, rgba(198, 244, 50, 0.16), transparent 60%); }
.mobile-nav__scan { position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(transparent, rgba(198, 244, 50, 0.07), transparent); border-bottom: 1px solid rgba(198, 244, 50, 0.25); }
.menu-open .mobile-nav__scan { animation: scan 4.5s linear 0.4s infinite; }
@keyframes scan { to { transform: translateY(calc(100vh + 240px)); } }
.mobile-nav__inner { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 100%; max-width: 560px; margin-inline: auto; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 4px; }
.mobile-nav__label { font: 500 0.7rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin: 14px 0 2px; }
.mobile-nav__top .mobile-nav__label { margin: 0; }
.mobile-nav__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(16, 19, 25, 0.8); backdrop-filter: blur(8px); overflow: hidden; transition: border-color 0.3s, background-color 0.3s; }
.m-tile:active { transform: scale(0.98); }
.m-tile--wide { grid-column: span 2; flex-direction: row; align-items: center; background: linear-gradient(135deg, rgba(198, 244, 50, 0.14), rgba(16, 19, 25, 0.85) 60%); border-color: var(--accent-line); }
.m-tile[aria-current="page"] { border-color: var(--accent); }
.m-tile__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); background: var(--bg-2); }
.m-tile__icon .icon { width: 22px; height: 22px; }
.m-tile__text strong { display: block; font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.25; }
.m-tile__text span { display: block; font-size: 0.78rem; color: var(--dim); margin-top: 3px; }
.m-tile__go { position: absolute; top: 14px; right: 14px; width: 16px; height: 16px; color: var(--dim); }
.m-tile--wide .m-tile__go { position: static; margin-left: auto; color: var(--accent); }
.mobile-nav__links { display: grid; }
.mobile-nav__link { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; font-size: clamp(1.3rem, 5.6vw, 1.7rem); font-weight: 500; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }
.mobile-nav__link .icon { width: 20px; height: 20px; color: var(--dim); transition: transform 0.4s var(--ease), color 0.3s; }
.mobile-nav__link:active .icon, .mobile-nav__link:hover .icon { transform: translateX(4px); color: var(--accent); }
.mobile-nav__link[aria-current="page"] { color: var(--accent); }
.mobile-nav__quick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 14px 0 12px; }
.mobile-nav__quick a:only-child { flex-direction: row; justify-content: center; gap: 10px; font-size: 0.9rem; }
.mobile-nav__quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 0.78rem; color: var(--muted); }
.mobile-nav__quick .icon { width: 20px; height: 20px; color: var(--accent); }
.mobile-nav__cta { margin-top: auto; position: sticky; bottom: 0; box-shadow: 0 -20px 30px 10px var(--bg), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.mobile-nav [style*="--i"] { opacity: 0; transform: translateY(22px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.menu-open .mobile-nav [style*="--i"] { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transition-delay: calc(0.18s + var(--i) * 0.045s); }
@media (max-width: 639px) {
  .header-actions > .lang-switch { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 64px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; z-index: -2; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -20vw; top: -25vw; border-radius: 50%; background: radial-gradient(circle, rgba(198, 244, 50, 0.09), transparent 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero__grid { display: grid; gap: 48px; align-items: center; width: 100%; }
.hero__title { margin-bottom: 26px; }
.rotator { display: inline-grid; color: var(--accent); }
.rotator > span { grid-area: 1 / 1; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), filter 0.5s; }
.js .rotator > span:not(.is-active) { opacity: 0; transform: translateY(0.5em); filter: blur(6px); }
.js .rotator > span.is-leaving { opacity: 0; transform: translateY(-0.5em); filter: blur(6px); }
.no-js .rotator > span:not(:first-child) { display: none; }
.hero__lead { margin-bottom: 38px; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stage { position: relative; justify-self: stretch; }

/* Hero media frame: a generated photo when available, otherwise the live neural panel */
.frame { position: relative; border-radius: 28px; padding: 8px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 120px -40px rgba(0, 0, 0, 0.9); }
.frame__inner { position: relative; border-radius: 21px; overflow: hidden; background: var(--panel); aspect-ratio: 4 / 5; }
.frame__inner img { width: 100%; height: 100%; object-fit: cover; }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; }
.neural-ui { position: absolute; inset: auto 16px 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px; pointer-events: none; }
.neural-ui__label { font: 500 0.72rem/1.4 var(--font-mono); color: var(--dim); }
.neural-ui__label b { display: block; color: var(--text); font-weight: 500; font-size: 0.82rem; }
.neural-ui__out { font: 500 0.75rem/1 var(--font-mono); color: var(--accent-ink); background: var(--accent); padding: 8px 12px; border-radius: 999px; transition: opacity 0.3s; }
.neural-hint { position: absolute; top: 16px; left: 16px; font: 500 0.72rem/1 var(--font-mono); color: var(--dim); display: inline-flex; align-items: center; gap: 8px; }
.neural-hint .icon { width: 15px; height: 15px; color: var(--accent); }

/* ---------- Logo marquee (logos only) ---------- */
.logos { padding: 40px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__title { text-align: center; font-size: 0.9rem; color: var(--dim); margin-bottom: 26px; }
.logos__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); width: max-content; animation: marquee 44s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track svg { height: 30px; width: auto; fill: #8e96a4; transition: fill 0.25s; }
.logos__track svg:hover { fill: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Program switcher (tabs + panel) ---------- */
.switcher { display: grid; gap: 28px; }
.switcher__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.switcher__tabs::-webkit-scrollbar { display: none; }
.switcher__tab {
  flex: none; scroll-snap-align: start; text-align: left; padding: 16px 18px; border-radius: var(--r-card); border: 1px solid var(--line);
  color: var(--muted); transition: border-color 0.3s, background-color 0.3s, color 0.3s; min-width: 220px;
}
.switcher__tab strong { display: block; color: var(--text); font-weight: 500; font-size: 1.02rem; margin-bottom: 2px; }
.switcher__tab span { font-size: 0.85rem; }
.switcher__tab[aria-selected="true"] { border-color: var(--accent-line); background: var(--accent-soft); }
.switcher__tab:hover { border-color: var(--line-2); }
.switcher__panel { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: grid; }
.switcher__panel[hidden] { display: none; }
.switcher__media { position: relative; aspect-ratio: 16 / 10; background: var(--panel-2); overflow: hidden; }
.switcher__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.switcher__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.switcher__body p { color: var(--muted); }
.switcher__body .tags { margin-bottom: 22px; }
.switcher__body .checks { margin-bottom: 28px; }
.switcher__body .btn { align-self: flex-start; margin-top: auto; }
.js .switcher__panel:not([hidden]) { animation: panel-in 0.6s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

/* Media slot: real/generated image, or a designed fallback with an icon */
.media { position: absolute; inset: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media--fallback { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(198, 244, 50, 0.1), transparent 55%), linear-gradient(160deg, var(--panel-2), var(--bg-2)); }
.media--fallback::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(226, 232, 240, 0.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); }
.media--fallback .icon { position: relative; width: 30%; height: auto; max-width: 140px; aspect-ratio: 1; fill: var(--accent); opacity: 0.9; filter: drop-shadow(0 20px 40px rgba(198, 244, 50, 0.25)); }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; }
.tile { position: relative; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); padding: 28px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 220px; }
.tile h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; font-size: 0.97rem; max-width: 42ch; }
.tile__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); margin-bottom: auto; }
.tile__icon .icon { width: 22px; height: 22px; }
.tile__body { margin-top: 28px; }
.tile--accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tile--accent p { color: rgba(11, 15, 2, 0.75); }
.tile--accent .tile__icon { color: var(--accent-ink); border-color: rgba(11, 15, 2, 0.25); }
.tile--grid { background: linear-gradient(var(--panel), var(--panel)) padding-box; }
.tile--grid::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(226, 232, 240, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 232, 240, 0.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.tile--glow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(198, 244, 50, 0.16), transparent 55%); }
.tile__big { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; margin-bottom: 14px; }
.tile__code { margin-top: 22px; font: 400 0.84rem/1.75 var(--font-mono); color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow-x: auto; white-space: pre; }
.tile__code .k { color: var(--accent); }
.tile__code .s { color: #9fd6ff; }
.tile__code .c { color: var(--dim); }

/* Spotlight hover (JS sets --mx/--my) */
.spot { --mx: 50%; --my: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.06), transparent 50%); pointer-events: none; }
.spot:hover::after { opacity: 1; }

/* Checks */
.checks li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6f432' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; border: 1px solid var(--accent-line); }
.checks li strong { color: var(--text); font-weight: 500; }

/* ---------- Sticky steps ---------- */
.steps { display: grid; gap: 40px; }
.steps__intro { align-self: start; }
.steps__list { display: grid; gap: 14px; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); transition: border-color 0.5s, opacity 0.5s, transform 0.6s var(--ease); }
.step__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); }
.step__icon .icon { width: 24px; height: 24px; }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.js .steps__list .step { opacity: 0.4; }
.js .steps__list .step.is-active { opacity: 1; border-color: var(--accent-line); }

/* Sticky stack (cards pile up while scrolling; GSAP scales the covered card) */
.stack { display: grid; gap: 16px; }
.stack__card { position: relative; }
@media (min-width: 900px) {
  .stack { gap: 28px; padding-bottom: 8vh; }
  .stack__card { position: sticky; }
}
.stack__inner { transform-origin: 50% 0; will-change: transform; display: grid; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.9); min-height: 240px; align-content: space-between; }
.stack__inner h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 8px; }
.stack__inner p { color: var(--muted); margin: 0; max-width: 46ch; }
.stack__card:nth-child(2) .stack__inner { background: var(--panel-2); }
.stack__card:last-child .stack__inner { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.stack__card:last-child .stack__inner p { color: rgba(11, 15, 2, 0.75); }
.stack__card:last-child .step__icon { color: var(--accent-ink); border-color: rgba(11, 15, 2, 0.25); }

/* Scroll-scrubbed statement */
.statement { font-size: clamp(2rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; max-width: 22ch; margin: 0; }
.has-motion .scrub-words .w { opacity: 0.42; }   /* 0.42 keeps unlit words above the 3:1 contrast minimum */
.scrub-words .w { display: inline; }
.statement .accent { color: var(--accent); }

/* Horizontal pan */
.hpan { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px); }
.hpan__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.hpan__head .section-head { margin: 0; }
.hpan__progress { width: 160px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.hpan__progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.hpan__track { display: flex; gap: 16px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.hpan__item { flex: none; width: min(78vw, 420px); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.hpan__media { position: relative; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); }
.hpan__body { padding: 24px; }
.hpan__body h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.hpan__body p { color: var(--muted); margin: 0; font-size: 0.96rem; }
@media (max-width: 899px) {
  .hpan { overflow: visible; }
  .hpan__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .hpan__track::-webkit-scrollbar { display: none; }
  .hpan__item { scroll-snap-align: center; }
  .hpan__progress { display: none; }
}

/* Particle hero */
.particles-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: min(600px, 86vw); justify-self: center; cursor: crosshair; }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.particles.is-on { opacity: 1; }
.particles-stage__hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font: 500 0.72rem/1 var(--font-mono); color: var(--dim); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.particles-stage__hint .icon { width: 15px; height: 15px; color: var(--accent); }
.no-js .particles-stage { display: none; }

/* Dot field */
.dotfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta-band:has(.dotfield)::after { display: none; }

/* Lenis */
html.lenis { scroll-behavior: auto; }

/* ---------- Audience split ---------- */
.audience { display: grid; gap: 16px; }
.audience__card { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 40px); isolation: isolate; }
.audience__card .media { z-index: -2; }
.audience__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 8, 11, 0) 20%, rgba(7, 8, 11, 0.92) 78%); }
.audience__card h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 16ch; }
.audience__card p { color: var(--muted); max-width: 44ch; margin-bottom: 24px; }
.audience__card:hover .media img { transform: scale(1.04); }

/* ---------- Stats strip ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.fact { background: var(--bg); padding: 28px 24px; }
.fact strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Split / detail ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5 / 4; background: var(--panel); }
.levels { display: grid; gap: 16px; }
.level { padding: 26px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.level__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.level h3 { font-size: 1.2rem; margin: 0; }
.level p { color: var(--muted); font-size: 0.96rem; }
.level .checks { margin-top: auto; }
.level__price { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; color: var(--text) !important; margin: 0 0 10px; }
.card__body .level__price { font-size: 1.15rem; margin-bottom: 14px; }
.cookie:not(.show-prefs) [data-consent="save"], .cookie.show-prefs [data-consent="prefs"] { display: none; }
.cards { display: grid; gap: 16px; }
.card { position: relative; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; transition: border-color 0.3s, transform 0.5s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: 0.96rem; }
.card__body .tags { margin-bottom: 14px; }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; }
.card:hover .media img { transform: scale(1.04); }

/* Feature list (rows, sparse dividers) */
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-row { display: grid; gap: 10px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-row h3 { font-size: 1.2rem; margin: 0; display: flex; gap: 14px; align-items: center; }
.feature-row h3 .icon { width: 22px; height: 22px; color: var(--accent); }
.feature-row p { color: var(--muted); margin: 0; max-width: 62ch; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent), transparent); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline strong { display: block; font-weight: 500; font-size: 1.05rem; }
.timeline span { color: var(--muted); font-size: 0.95rem; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 0.9rem; transition: color 0.25s, border-color 0.25s, background-color 0.25s; }
.filter:hover { color: var(--text); border-color: rgba(226, 232, 240, 0.35); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-item.is-hidden { display: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px); background: var(--panel); border: 1px solid var(--line-2); isolation: isolate; display: grid; gap: 32px; align-items: end; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px circle at 100% 0%, rgba(198, 244, 50, 0.14), transparent 60%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(226, 232, 240, 0.1) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 16ch; margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 48ch; margin: 0; font-size: 1.08rem; }
.cta-band .hero__ctas { justify-content: flex-start; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(48px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px circle at 85% -10%, rgba(198, 244, 50, 0.08), transparent 60%); }
.page-hero__grid { display: grid; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.045em; max-width: 15ch; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero__media { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--panel); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font: 500 0.78rem/1 var(--font-mono); color: var(--dim); margin-bottom: 26px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq--center { margin-inline: auto; }
.faq details { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 0.3s, border-color 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: currentColor; transition: transform 0.35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__body { padding: 0 24px 22px; color: var(--muted); }
.faq__body p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 20px; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--panel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 40px 100px -40px rgba(0, 0, 0, 0.9); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-size: 0.9rem; font-weight: 500; }
.field .req { color: var(--accent); }
.field .opt { color: var(--dim); font-weight: 400; }
.input { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: var(--r-input); background: var(--bg-2); border: 1px solid var(--line-2); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.input::placeholder { color: #6f7685; }
.input:hover { border-color: rgba(226, 232, 240, 0.28); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198, 244, 50, 0.14); }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3abb9' 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 14px center; background-size: 18px; }
select.input option { background: var(--panel); color: var(--text); }
.field__hint { font-size: 0.8rem; color: var(--dim); }
.field__error { display: none; gap: 6px; align-items: center; font-size: 0.84rem; color: var(--danger); }
.field__error .icon { width: 16px; height: 16px; }
.field.has-error .input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 138, 138, 0.12); }
.field.has-error .field__error { display: flex; }
.field.is-valid .input { border-color: rgba(110, 231, 168, 0.5); }
.field.shake { animation: shake 0.4s var(--ease); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.check input::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0f02' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; transform: scale(0); transition: transform 0.2s var(--ease); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { transform: scale(1); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.field.has-error .check input { border-color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: none; gap: 12px; padding: 14px 16px; border-radius: var(--r-input); font-size: 0.92rem; margin-bottom: 20px; }
.alert.is-visible { display: flex; }
.alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.alert--error { color: #ffd0d0; background: rgba(255, 138, 138, 0.08); border: 1px solid rgba(255, 138, 138, 0.35); }
.form-note { font-size: 0.8rem; color: var(--dim); margin: 2px 0 0; text-align: center; }

/* Contact list */
.contact-list { display: grid; gap: 12px; margin-top: 32px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); transition: border-color 0.25s, transform 0.4s var(--ease); }
a.contact-item:hover { border-color: var(--accent-line); transform: translateX(3px); }
.contact-item__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); }
.contact-item__icon .icon { width: 21px; height: 21px; }
.contact-item small { display: block; color: var(--dim); font: 500 0.72rem/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-item strong { font-weight: 500; word-break: break-word; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; color: var(--muted); font-size: 1.02rem; }
.prose h2 { color: var(--text); font-size: 1.45rem; margin: 2.2em 0 0.7em; }
.prose h3 { color: var(--text); font-size: 1.12rem; margin: 1.8em 0 0.6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.92rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 500; }
.prose .updated { font: 500 0.82rem/1 var(--font-mono); color: var(--dim); }
.notice { padding: 16px 18px; border-radius: var(--r-input); border: 1px dashed var(--accent-line); background: var(--accent-soft); color: var(--text); font-size: 0.9rem; margin-bottom: 2em; }

/* ---------- Thank you / 404 ---------- */
.center-stage { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.center-stage .lead { margin: 0 auto 36px; }
.center-stage .hero__ctas { justify-content: center; }
.success-mark { width: 104px; height: 104px; margin: 0 auto 32px; color: var(--accent); }
.success-mark circle { stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw 1s var(--ease) forwards; }
.success-mark path { stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw 0.6s 0.7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.next-steps { display: grid; gap: 14px; max-width: 920px; margin: 64px auto 0; text-align: left; }
.next-steps .step { opacity: 1; }
.code-404 { font-size: clamp(7rem, 24vw, 14rem); font-weight: 600; letter-spacing: -0.07em; line-height: 0.85; margin-bottom: 28px; position: relative; display: inline-block; }
.code-404 span { color: var(--accent); display: inline-block; animation: wobble 3.2s var(--ease) infinite; }
@keyframes wobble { 0%, 70%, 100% { transform: none; } 78% { transform: rotate(-8deg) translateY(-4px); } 86% { transform: rotate(6deg); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 80px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 40px; margin-bottom: 64px; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin: 18px 0 24px; font-size: 0.95rem; }
.footer-col h2 { font: 500 0.74rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); transition: color 0.25s, border-color 0.25s, transform 0.4s var(--ease); }
.socials a:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }
.footer-word { font-size: clamp(3rem, 12.5vw, 11.5rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.8; text-align: center; margin: 0 0 48px; color: transparent; -webkit-text-stroke: 1px rgba(226, 232, 240, 0.12); user-select: none; white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--dim); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--text); }
.footer-bottom button { font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; gap: 8px; padding: 8px;
  border-radius: 999px; background: rgba(16, 19, 25, 0.9); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85); transform: translateY(160%); transition: transform 0.5s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; --h: 46px; padding: 0 16px; }
.mobile-cta .btn--icon { flex: none; width: 46px; padding: 0; }
.menu-open .mobile-cta, .cookie-open .mobile-cta { transform: translateY(160%); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 89; width: 46px; height: 46px; border-radius: 999px; display: none; place-items: center; background: rgba(16, 19, 25, 0.9); border: 1px solid var(--line-2); opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.4s var(--ease), border-color 0.2s, color 0.2s; pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent-line); color: var(--accent); }
.to-top .icon { width: 18px; height: 18px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 200; left: 12px; right: 12px; bottom: 12px; padding: 22px; border-radius: var(--r-card);
  background: rgba(16, 19, 25, 0.97); border: 1px solid var(--line-2); backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9); transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden;
  transition: transform 0.5s var(--ease), opacity 0.5s, visibility 0.5s;
}
.cookie.is-visible { transform: none; opacity: 1; visibility: visible; }
.menu-open .cookie.is-visible { transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; }
.cookie h2 { font-size: 1.04rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.cookie h2 .icon { width: 20px; height: 20px; color: var(--accent); }
.cookie p { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }
.cookie p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 auto; }
.cookie__prefs { display: none; gap: 8px; margin-bottom: 16px; }
.cookie.show-prefs .cookie__prefs { display: grid; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-radius: var(--r-input); border: 1px solid var(--line); }
.pref strong { display: block; font-size: 0.9rem; font-weight: 500; }
.pref span { display: block; font-size: 0.78rem; color: var(--dim); }
.switch { position: relative; flex: none; width: 44px; height: 26px; }
.switch input { appearance: none; position: absolute; inset: 0; margin: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: background-color 0.25s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(18px); background: var(--accent-ink); }
.switch input:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Floating WhatsApp (desktop; on mobile it sits in the sticky CTA bar) ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 89; display: none; align-items: center; gap: 12px; }
.wa-float__btn { position: relative; width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: #25d366; color: #052e14; box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.55); transition: transform 0.4s var(--ease); }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: wa-ping 2.6s var(--ease) infinite; }
.wa-float__btn .icon { width: 28px; height: 28px; }
.wa-float:hover .wa-float__btn { transform: scale(1.06); }
.wa-float__bubble { padding: 10px 14px; border-radius: 14px; background: rgba(16, 19, 25, 0.95); border: 1px solid var(--line-2); font-size: 0.86rem; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity 0.3s, transform 0.4s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__bubble, .wa-float:focus-visible .wa-float__bubble { opacity: 1; transform: none; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.to-top--stacked { bottom: 92px; right: 29px; }
.cookie-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 16px; }
.post-card { position: relative; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); overflow: hidden; isolation: isolate; transition: border-color 0.3s, transform 0.5s var(--ease); }
.post-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card .media { position: relative; inset: auto; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); overflow: hidden; }
.post-card:hover .media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font: 500 0.78rem/1 var(--font-mono); color: var(--dim); }
.post-card h3 { font-size: 1.25rem; margin-bottom: 10px; transition: color 0.25s; }
.post-card:hover h3 { color: var(--accent); }
.post-card__body > p:not(.post-card__meta) { color: var(--muted); font-size: 0.95rem; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.92rem; color: var(--accent); }
.post-card__more .icon { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.post-card:hover .post-card__more .icon { transform: translateX(3px); }
.blog-empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-card); }

.article-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(32px, 4vw, 48px); isolation: isolate; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px circle at 50% -20%, rgba(198, 244, 50, 0.09), transparent 60%); }
.article-hero__inner { max-width: 860px; margin-inline: auto; text-align: center; }
.article-hero .breadcrumb { justify-content: center; }
.article-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); letter-spacing: -0.045em; margin-inline: auto; max-width: 20ch; }
.article-hero .lead { margin-inline: auto; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin: 24px 0 0; font: 500 0.82rem/1 var(--font-mono); color: var(--dim); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--accent); }
.article-cover { position: relative; max-width: 1080px; margin: 0 auto; aspect-ratio: 16 / 8; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.article-body { max-width: 760px; margin: clamp(40px, 6vw, 72px) auto 0; font-size: 1.08rem; line-height: 1.8; }
.article-body > p:first-child { font-size: 1.2rem; color: var(--text); }
.prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1.2em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); color: var(--text); font-size: 1.15em; }
.prose img { border-radius: 16px; border: 1px solid var(--line); margin: 1.6em 0; }
.prose figure { margin: 1.6em 0; }
.prose figure img { margin: 0 0 10px; }
.prose figcaption { font-size: 0.86rem; color: var(--dim); text-align: center; }
.prose pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow-x: auto; font: 400 0.88rem/1.7 var(--font-mono); color: var(--text); margin: 0 0 1.4em; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; color: var(--accent); }
.prose pre code { color: inherit; font-size: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.share { max-width: 760px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share > span { font: 500 0.78rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-right: 6px; }
.share a, .share button { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: color 0.25s, border-color 0.25s, transform 0.4s var(--ease); }
.share a:hover, .share button:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-2px); }
.share .icon { width: 18px; height: 18px; }
.share button.is-copied { color: var(--accent); border-color: var(--accent-line); }

/* ---------- Free trial booking ---------- */
.booking-layout { display: grid; gap: 40px; }
.booking-layout > * { min-width: 0; }   /* the scrolling day row must not widen the grid column */
.booking-facts { display: grid; gap: 10px; margin-top: 28px; }
.booking-facts li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.95rem; }
.booking-facts .icon { width: 20px; height: 20px; color: var(--accent); }
.bk-step { padding-block: 22px; border-top: 1px solid var(--line); }
.bk-step:first-of-type { border-top: 0; padding-top: 4px; }
.bk-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.bk-step__head b { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font: 600 0.8rem/1 var(--font-mono); color: var(--accent-ink); background: var(--accent); flex: none; }
.bk-programs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.bk-choice { position: relative; cursor: pointer; }
.bk-choice input { position: absolute; opacity: 0; pointer-events: none; }
.bk-choice span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 0.92rem; font-weight: 500; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.bk-choice .icon { width: 22px; height: 22px; color: var(--accent); }
.bk-choice:hover span { border-color: rgba(226, 232, 240, 0.32); }
.bk-choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.bk-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: thin; }
.bk-day { flex: none; width: 70px; padding: 12px 0 10px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; gap: 4px; text-align: center; scroll-snap-align: start; transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.bk-day small { font: 500 0.7rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.bk-day strong { font-size: 1.45rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.bk-day span { font-size: 0.74rem; color: var(--muted); }
.bk-day:hover:not(:disabled) { border-color: rgba(226, 232, 240, 0.35); transform: translateY(-2px); }
.bk-day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bk-day[aria-pressed="true"] small, .bk-day[aria-pressed="true"] span { color: rgba(11, 15, 2, 0.7); }
.bk-day:disabled { opacity: 0.32; cursor: not-allowed; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.bk-time { min-height: 52px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; gap: 2px; place-content: center; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.bk-time strong { font: 600 1rem/1 var(--font-mono); }
.bk-time small { font-size: 0.7rem; color: var(--dim); }
.bk-time:hover:not(:disabled) { border-color: rgba(226, 232, 240, 0.35); }
.bk-time[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bk-time[aria-pressed="true"] small { color: rgba(11, 15, 2, 0.7); }
.bk-time:disabled { opacity: 0.32; cursor: not-allowed; text-decoration: line-through; }
.bk-hint { color: var(--dim); font-size: 0.9rem; margin: 0; }
.bk-skeleton { display: flex; gap: 8px; }
.bk-skeleton i { flex: none; width: 70px; height: 78px; border-radius: 16px; background: linear-gradient(100deg, transparent 30%, rgba(226, 232, 240, 0.06) 50%, transparent 70%) 0 0 / 200% 100%, var(--panel-2); animation: shimmer 1.3s linear infinite; }
.bk-summary { display: none; align-items: center; gap: 10px; padding: 12px 14px; margin-top: 14px; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--accent-soft); font-size: 0.92rem; }
.bk-summary.is-visible { display: flex; }
.bk-summary .icon { width: 20px; height: 20px; color: var(--accent); }
.bk-slot-field { position: relative; }
.bk-slot-field .input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.bk-full { padding: 18px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 0.95rem; }
.bk-full a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.bk-ticket { max-width: 520px; margin: 40px auto 0; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--accent-line); background: var(--panel); text-align: left; display: none; gap: 14px; }
.bk-ticket.is-visible { display: grid; }
.bk-ticket div { display: flex; align-items: center; gap: 12px; }
.bk-ticket .icon { width: 22px; height: 22px; color: var(--accent); }
.bk-ticket small { display: block; font: 500 0.72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); margin-bottom: 4px; }

/* ---------- Image loading state (skeleton shimmer) ---------- */
.media.is-loading::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, transparent 30%, rgba(226, 232, 240, 0.06) 50%, transparent 70%) 0 0 / 200% 100%, var(--panel-2); animation: shimmer 1.3s linear infinite; transition: opacity 0.5s; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s; }

/* ==========================================================================
   Breakpoints (mobile-first; every multi-column layout collapses to 1 column below 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .cards--2, .cards--3, .levels, .next-steps { grid-template-columns: repeat(2, 1fr); }
  .form-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid .span-2 { grid-column: span 2; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cookie { left: auto; right: 24px; bottom: 24px; width: 420px; }
  .feature-row { grid-template-columns: minmax(200px, 0.8fr) 1.2fr; align-items: baseline; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .cookie__actions .btn { flex: 1 1 100%; }
  .site-footer { padding-bottom: 110px; }
  .footer-word { display: none; }
  .switcher__tab { min-width: 76%; }
}
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .page-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--rev > :first-child { order: 2; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .levels { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
  .steps__intro { position: sticky; top: calc(var(--header-h) + 48px); }
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(230px, auto); }
  .bento > :nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .bento > :nth-child(2) { grid-column: span 2; }
  .bento > :nth-child(3) { grid-column: span 2; }
  .bento > :nth-child(4) { grid-column: span 3; }
  .bento > :nth-child(5) { grid-column: span 3; }
  .switcher { grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
  .switcher__tabs { flex-direction: column; overflow: visible; }
  .switcher__tab { min-width: 0; }
  .switcher__panel { grid-template-columns: 1fr 1fr; min-height: 460px; }
  .switcher__media { aspect-ratio: auto; }
  .audience__card { min-height: 520px; }
  .cta-band { grid-template-columns: 1.4fr auto; }
  .cta-band .hero__ctas { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
  .contact-layout > aside { position: sticky; top: calc(var(--header-h) + 32px); }
  .next-steps { grid-template-columns: repeat(3, 1fr); }
  .mobile-cta { display: none; }
  .to-top { display: grid; }
  .wa-float { display: flex; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .post-card--featured { grid-column: 1 / -1; }
  .post-card--featured .post-card__link { flex-direction: row; }
  .post-card--featured .media { flex: 0 0 56%; aspect-ratio: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--line); }
  .post-card--featured .post-card__body { padding: clamp(28px, 3.4vw, 48px); justify-content: center; }
  .post-card--featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
  .booking-layout { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .booking-layout > aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 899px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
  .frame__inner { aspect-ratio: 5 / 4; }
  .contact-layout > aside { margin-bottom: 40px; }
}
@media (min-width: 1100px) {
  .nav { display: block; }
  .nav ~ .header-actions { margin-left: 0; }
  .menu-toggle, .mobile-nav { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Reduced motion / transparency / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .logos__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logos__track [aria-hidden="true"] { display: none; }
  .js .step { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled, .mobile-cta, .cookie, .dropdown { background: var(--panel); backdrop-filter: none; }
}
@media print {
  .site-header, .site-footer, .mobile-cta, .cookie, .to-top, .wa-float, .share, .preloader, .hero__canvas, body::after { display: none !important; }
  body { background: #fff; color: #000; }
  .prose, .prose h2, .prose strong { color: #000; }
}
