/* The public site of SchoolCentral (ADR-0068). Plain CSS, no framework; the colour comes from the settings through --brand. */
:root {
  --brand: #e00000;
  --brand-2: color-mix(in srgb, var(--brand), black 16%);
  --brand-dark: color-mix(in srgb, var(--brand), black 30%);
  --ink: #16181d;
  --ink-soft: #4b5058;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --card: #ffffff;
  --ok: #15803d;
  --bad: #b42318;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 24, 29, 0.06), 0 12px 32px -12px rgba(22, 24, 29, 0.18);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* page loading bar */
.loader { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; opacity: 0; transition: transform 0.6s ease, opacity 0.2s; }
.loader.on { opacity: 1; transform: scaleX(0.82); }

/* reading progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 199; background: var(--brand); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.header { transition: border-color 0.2s, box-shadow 0.2s, transform 0.45s cubic-bezier(.16, 1, .3, 1); }
.header.away { transform: translateY(-100%); }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(22, 24, 29, 0.4); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { height: 36px; width: auto; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--bg-soft); }
.bar-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; margin: auto; transition: transform 0.2s, opacity 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* buttons */
.nav .nav-actions a.btn-primary, .nav .nav-actions a.btn-primary:hover { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.nav .nav-actions a.btn-ghost { color: var(--brand); background: transparent; padding: 13px 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 13px 24px; border-radius: 999px; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; line-height: 1.2; min-height: 48px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--brand) 85%, transparent); }
.btn-ghost { color: var(--brand); background: transparent; border: 1.5px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { color: var(--brand-dark); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn .spin { width: 16px; height: 16px; border: 2.5px solid rgba(255, 255, 255, 0.5); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.btn.busy .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sections */
section.b { padding: clamp(56px, 8vw, 104px) 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }

/* hero */
.hero { position: relative; overflow: clip; background: var(--bg-soft); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { background: linear-gradient(120deg, var(--ink) 30%, var(--brand) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(24px, -28px, 0) scale(1.08); } }
.hero-img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; }

/* dashboard mock (shown when the hero has no picture) */
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); animation: tilt 9s ease-in-out infinite; }
@keyframes tilt { 0%, 100% { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(0); } 50% { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(-8px); } }
.mock-top { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 10px; }
.mock-row b { flex: 1; font-size: 0.95rem; }
.mock-row small { color: var(--ink-soft); }
.pill { font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: #d1fae5; color: #065f46; }
.pill.no { background: #fee2e2; color: #991b1b; }
.pill.wait { background: #e5e7eb; color: #26282d; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin: 16px 0 4px; }
.bars span { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0.05); } }
.mock-float { position: absolute; right: -18px; bottom: -22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-weight: 700; animation: float 8s ease-in-out infinite; }

/* stats */
section.b.stats { padding: 0 0 clamp(24px, 4vw, 48px); margin-top: -56px; position: relative; z-index: 2; }
section.b.hero { padding-bottom: clamp(96px, 10vw, 148px); }
.stats .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 1.9rem; letter-spacing: -0.03em; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-soft); font-size: 0.96rem; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.card p { color: var(--ink-soft); margin: 0; }
.ico {background: var(--bg-soft); }
.ico svg { width: 24px; height: 24px; }

/* split */
.split .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.left .media { order: -1; }
.split ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.split li { position: relative; padding-left: 32px; }
.split li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 12%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e00000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.panel { border-radius: 26px; padding: 36px; background: var(--bg-soft); border: 1px solid var(--line); min-height: 280px; display: grid; gap: 14px; align-content: center; }
.panel .row { background: #fff; border-radius: 14px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 0 6px 18px -12px rgba(22, 24, 29, 0.4); font-weight: 600; }
.panel .row svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.media img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; background: var(--bg-soft); border-radius: var(--radius); padding: 30px 26px 26px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 18px -8px var(--brand); }
.steps p { color: var(--ink-soft); margin: 0; }
.steps.lined { position: relative; }
.steps.lined::before, .steps.lined::after { content: ""; position: absolute; top: 1px; left: var(--line-left, 44px); width: var(--line-width, 0); height: 2px; z-index: 1; border-radius: 2px; }
.steps.lined::before { background: var(--line); }
.steps.lined::after { background: var(--brand); transform-origin: left; transform: scaleX(var(--line, 0)); }
.steps.lined li::before { z-index: 2; }
.steps li.seq { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.16, 1, .3, 1); }
.steps li.seq.on { opacity: 1; transform: none; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; background: #fff; transition: border-color 0.2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.6rem; color: var(--brand); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 12px; }

/* cta band */
.cta { background: var(--brand); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; position: relative; z-index: 1; }
.cta p { color: rgba(255, 255, 255, 0.88); max-width: 56ch; margin: 0 auto 26px; position: relative; z-index: 1; }
.cta .btn { position: relative; z-index: 1; }

/* text pages */
.doc { max-width: 780px; margin: 0 auto; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h3 { margin-top: 1.6em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.4em; }
.doc a { word-break: break-word; }
.page-top { padding-top: clamp(40px, 6vw, 72px); }

/* forms */
.form-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; font-size: 0.96rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); min-height: 48px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field.err input, .field.err textarea, .field.err select { border-color: var(--bad); }
.msg { color: var(--bad); font-size: 0.88rem; font-weight: 600; }
.msg:empty { display: none; }
.field .msg { margin-top: 5px; }
#consent-msg { margin: -10px 0 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 20px; }
.consent label { cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.consent.err { color: var(--bad); }
.alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; display: none; }
.alert.show { display: block; }
.alert.bad { background: #fee2e2; color: #991b1b; }
.info { background: var(--bg-soft); border-radius: 24px; padding: 32px; }
.info dl { margin: 0; display: grid; gap: 18px; }
.info dt { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 700; }
.info dd { margin: 2px 0 0; font-weight: 600; }

/* 404 */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.nf b { font-size: clamp(5rem, 16vw, 9rem); line-height: 1; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }

/* footer */
.footer { background: #1d1f23; color: #c6c9ce; padding: 64px 0 28px; }
.footer a { color: #c6c9ce; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .brand { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.9rem; color: #9a9fa7; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }

/* cookie banner and mobile CTA */
.cookie { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; background: #26282d; color: #e5e7eb; border-radius: 18px; padding: 18px 20px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); display: none; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie.show { display: flex; animation: rise 0.35s ease both; }
.cookie p { margin: 0; flex: 1 1 320px; font-size: 0.93rem; }
.cookie a { color: #ffb3b3; }
.cookie .btn { padding: 10px 20px; min-height: 42px; }
.sticky-cta { display: none; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }

/* the 3D laptop scene: a tall section whose stage sticks while the scroll plays it (see /site/3d/laptop.js) */
.scene { position: relative; height: 760vh; background: #fff; }
.scene .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft); font-weight: 600; transition: opacity 0.5s; pointer-events: none; }
.stage-loading.done { opacity: 0; }
.captions { list-style: none; margin: 0; padding: 0; position: absolute; z-index: 2; left: max(20px, calc((100vw - 1160px) / 2)); top: 50%; width: min(380px, 34vw); transform: translateY(-50%); }
.captions li { position: absolute; top: 0; left: 0; opacity: 0; transform: translateY(-50%) translateY(24px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.captions li.on { opacity: 1; transform: translateY(-50%); }
.captions span { display: inline-block; color: var(--brand); font-weight: 800; letter-spacing: 0.1em; margin-bottom: 10px; }
.captions h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 0.4em; }
.captions p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }
.rail { position: absolute; z-index: 2; right: 18px; top: 50%; width: 3px; height: 220px; transform: translateY(-50%); background: var(--line); border-radius: 3px; overflow: hidden; }
.rail i { position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(0); }
/* Without the 3D (no script, no WebGL, reduced motion): the captions are an ordinary list of the scene's seven moments. */
.scene.static { height: auto; padding: clamp(56px, 8vw, 104px) 0; }
.scene.static .stage { position: static; height: auto; overflow: visible; width: min(1160px, 100% - 40px); margin-inline: auto; }
.scene.static canvas, .scene.static .stage-loading, .scene.static .rail { display: none; }
.scene.static .scene-title { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; text-align: center; margin: 0 0 36px; }
.scene.static .captions { position: static; transform: none; width: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.scene.static .captions li { position: static; opacity: 1; transform: none; background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.scene.static .captions h3 { font-size: 1.25rem; }
.scene.static .captions p { font-size: 1rem; }
@media (max-width: 900px) {
  .scene:not(.static) { height: 600vh; }
  .scene:not(.static) .captions { left: 16px; right: 16px; top: auto; bottom: calc(92px + env(safe-area-inset-bottom)); width: auto; transform: none; }
  .scene:not(.static) .captions li { top: auto; bottom: 0; width: 100%; transform: translateY(24px); background: rgba(255, 255, 255, 0.94); border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 30px -18px rgba(22, 24, 29, 0.5); }
  .scene:not(.static) .captions li.on { transform: none; }
  .scene:not(.static) .captions h3 { font-size: 1.4rem; }
  .scene:not(.static) .captions p { font-size: 1rem; }
  .rail { display: none; }
}

/* reveal */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.hide { opacity: 0; transform: translateY(26px); }
h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
h2 .w > i { display: inline-block; font-style: normal; transition: transform 0.9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--w, 0) * 40ms + 60ms); }
.reveal.hide h2 .w > i, .reveal.hide.cta h2 .w > i { transform: translateY(105%); }
.cards { perspective: 1400px; }
.card.reveal.hide { transform: translateY(46px) rotateX(14deg); }
.sk { flex: 1; height: 10px; border-radius: 6px; background: var(--line); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #c6c9ce; cursor: pointer; text-align: left; }
.linklike:hover { color: #fff; text-decoration: underline; }

@media (max-width: 980px) {
  .hero .grid, .split .grid, .form-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.left .media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mock { transform: none; animation: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; margin: 0; gap: 2px; max-height: calc(100dvh - 68px); overflow: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform 0.2s, opacity 0.2s, visibility 0.2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .bar-actions { display: none; }
  .nav .nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
  .stats .grid { border-radius: 18px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; justify-content: center; transform: translateY(140%); transition: transform 0.3s ease; }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; box-shadow: 0 16px 36px -14px var(--brand-dark); }
  body { padding-bottom: 76px; }
  .two { grid-template-columns: 1fr; }
}
@media (min-width: 861px) { .nav .nav-actions { display: none; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.hide, .steps li.seq, .card.reveal.hide { opacity: 1; transform: none; }
  .reveal.hide h2 .w > i { transform: none; }
}
@media print { .header, .footer, .cookie, .sticky-cta { display: none; } }
