/* Kompatiqo Classroom Manager, marketing site.
   Dark throughout, in the product's own register: its navy, its chrome, its teal. The hero video is
   the page's atmosphere; everything after it is quiet and left-aligned. Motion lives in four places
   (hero load, tour crossfade, diagram draw, calculator count) and nowhere else. */

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

/* ── Tokens ─────────────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #070b12;
  --bg-2: #0b1119;
  --bg-rgb: 7, 11, 18;
  --glass: rgba(255, 255, 255, .04);
  --glass-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #e8eef5;
  --muted: #8b98a8;
  --accent: #22c7d6;
  --accent-rgb: 34, 199, 214;
  --accent-ink: #06262b;
  --error: #ff6b6b;
  --chrome: #12191f;

  --gutter: 16px;
  --col: 1200px;
  --nav-h: 64px;

  --r-panel: 20px;
  --r-shot: 12px;
  --r-btn: 8px;

  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 720px) { :root { --gutter: 24px; --nav-h: 72px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ── Base ───────────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--text); text-decoration-color: rgba(var(--accent-rgb), .6); text-underline-offset: .16em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }

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

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; }

/* The mono face gives a no-break space a full character width, which reads as a gap at display
   sizes; Czech thousands separators need to sit closer than that. */
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; word-spacing: -.42em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-btn);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.placeholder { color: var(--muted); font-style: italic; }

/* ── Buttons ────────────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), filter .2s var(--ease-out);
}
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 1.0625rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { background: rgba(var(--bg-rgb), .35); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.btn:disabled { opacity: .6; cursor: default; }

/* ── Nav ────────────────────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(var(--bg-rgb), 0);
  border-bottom: 1px solid transparent;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), backdrop-filter .2s;
}
.nav.is-scrolled {
  background: rgba(var(--bg-rgb), .72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.nav__in {
  max-width: var(--col); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.nav__mark { flex: none; }
.nav__name { display: flex; flex-direction: column; font-weight: 600; font-size: 1rem; line-height: 1.1; letter-spacing: -.01em; }
.nav__by { font-weight: 500; font-size: .75rem; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: inline-block; padding: 8px 12px; border-radius: var(--r-btn);
  text-decoration: none; color: var(--text); font-weight: 500;
}
.nav__list a:hover { background: rgba(255, 255, 255, .06); }
.nav__menu { display: flex; align-items: center; gap: 12px; }
.nav__cta { min-height: 40px; padding: 8px 16px; }

.nav__toggle {
  display: none; position: relative; z-index: 60;
  width: 44px; height: 44px; margin-right: -8px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--text);
}
.nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
  content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.nav__toggle-bar { top: 21px; }
.nav__toggle-bar::before { left: 0; top: -6px; }
.nav__toggle-bar::after { left: 0; top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 719px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 24px;
    padding: 24px;
    background: rgba(var(--bg-rgb), .94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease-out), visibility 0s .2s;
  }
  .nav__toggle[aria-expanded="true"] ~ .nav__menu { opacity: 1; visibility: visible; transition: opacity .2s var(--ease-out); }
  .nav__list { flex-direction: column; align-items: center; gap: 8px; }
  .nav__list a { font-size: 1.5rem; font-weight: 600; padding: 10px 16px; }
  .nav__cta { min-height: 52px; padding: 14px 28px; font-size: 1.0625rem; }
}

/* ── Hero ───────────────────────────────────────────────────────────────────────────────── */

.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; align-items: end;
  background: var(--bg) url("../../media/hero/poster.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(var(--bg-rgb), .93) 26%, rgba(var(--bg-rgb), .6) 52%, rgba(var(--bg-rgb), 0) 82%),
    linear-gradient(to right, rgba(var(--bg-rgb), .88) 0%, rgba(var(--bg-rgb), .3) 42%, rgba(var(--bg-rgb), 0) 62%),
    linear-gradient(to bottom, rgba(var(--bg-rgb), .75) 0%, rgba(var(--bg-rgb), 0) 24%);
}
.hero__in {
  width: 100%; max-width: var(--col); margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 48px;
}
.hero__copy { max-width: 50rem; position: relative; }
.hero__copy::before {
  content: ""; position: absolute; z-index: -1; left: -30%; top: -20%; width: 120%; height: 140%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .12), transparent 70%);
  pointer-events: none;
}
.hero__h { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.03em; }
.hero__line { display: block; }
.hero__sub { margin-top: 20px; max-width: 34rem; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.45; color: var(--text); opacity: .86; }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.pills { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(var(--bg-rgb), .45);
  font-size: .875rem; font-weight: 500; color: var(--text);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.hero__beat {
  position: absolute; z-index: 1; right: var(--gutter); top: calc(var(--nav-h) + 20px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(var(--bg-rgb), .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .875rem; font-weight: 500; color: var(--text);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.hero__beat.is-on { opacity: 1; }
.hero__beat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2); }
.hero__beat-text { display: inline-block; transition: opacity .2s var(--ease-out); }
.hero__beat-text.is-fading { opacity: 0; }
@media (max-width: 719px) {
  .hero__beat { top: auto; bottom: 20px; right: var(--gutter); }
  .hero__in { padding-bottom: 76px; }
}

/* Hero load: lines rise, then sub, CTAs, pills. One orchestrated moment. */
.js .hero__line, .js .hero__sub, .js .hero__cta, .js .pills {
  opacity: 0; transform: translateY(12px);
  animation: rise .5s var(--ease-out) forwards;
}
.js .hero__line:nth-child(1) { animation-delay: 0s; }
.js .hero__line:nth-child(2) { animation-delay: .06s; }
.js .hero__sub { animation-delay: .14s; }
.js .hero__cta { animation-delay: .24s; }
.js .pills { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── Sections ───────────────────────────────────────────────────────────────────────────── */

.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--alt { background: var(--bg-2); }
.sec__in { max-width: var(--col); margin: 0 auto; padding: 0 var(--gutter); }
.sec__head { max-width: 44rem; margin-bottom: clamp(40px, 6vw, 72px); }
.h2 { font-size: clamp(2.125rem, 4vw, 3.25rem); }
.lead { margin-top: 16px; font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--muted); max-width: 38rem; }

/* Screenshots: the app's own chrome, a hairline, a soft drop. */
.shot { display: block; overflow: hidden; border-radius: var(--r-shot); border: 1px solid var(--line); background: var(--chrome); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.shot img { display: block; width: 100%; height: auto; }

/* ── Tour ───────────────────────────────────────────────────────────────────────────────── */

.tour__grid { display: grid; gap: 40px; }
.steps { display: grid; gap: 32px; }
.step__text { position: relative; padding-left: 52px; }
.step__n { position: absolute; left: 0; top: .2em; font-size: .9375rem; color: var(--muted); transition: color .3s var(--ease-out); }
.step__h { font-size: 1.5rem; transition: color .3s var(--ease-out); }
.step__p { margin-top: 10px; color: var(--muted); max-width: 34rem; }
.step__shot { margin-top: 20px; }
.stage { display: none; }

@media (min-width: 960px) {
  .tour .sec__in { max-width: 1360px; }
  .js .tour__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .js .steps { gap: 0; }
  .js .step { min-height: 62vh; display: flex; align-items: center; }
  .js .step:first-child { min-height: 48vh; align-items: flex-start; }
  .js .step:last-child { min-height: 48vh; align-items: flex-start; }
  .js .step__shot { display: none; }
  .js .stage {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
    position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h));
  }
  .stage__frame { display: grid; }
  /* The cropped panes are wider than the room shots; centre each box on its own image so a short
     one does not sit in a tall frame of empty chrome. */
  .stage__shot { grid-area: 1 / 1; align-self: center; opacity: 0; transition: opacity .35s var(--ease-out); }
  .stage__shot.is-on { opacity: 1; }

  /* Which step owns the stage is a class the script sets, so the step count lives in the HTML
     alone and the stylesheet does not have to enumerate it. */
  .js .step .step__n,
  .js .step .step__h { color: var(--muted); }
  .js .step.is-active .step__n,
  .js .step.is-active .step__h { color: var(--accent); }

  .rail { display: flex; flex-direction: column; gap: 10px; }
  .rail__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
  .rail__dot.is-on { background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2); }
}

/* ── Privacy bento ──────────────────────────────────────────────────────────────────────── */

.bento { display: grid; gap: 16px; }
.cell {
  padding: 28px; border-radius: var(--r-panel);
  background: var(--glass); border: 1px solid var(--line);
  transition: border-color .2s var(--ease-out);
}
.cell:hover { border-color: var(--line-2); }
.cell__h { font-size: 1.25rem; line-height: 1.2; }
.cell__p { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.cell__shot { margin-top: 20px; box-shadow: none; }
.cell--diagram { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.cell__cap { color: var(--muted); font-size: 1rem; }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--diagram { grid-column: span 2; }
  .cell--history { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); }
  .cell--diagram { grid-column: 1 / 3; grid-row: 1 / 3; }
  .cell--history { grid-column: 1 / 3; }
}

/* The network diagram: strokes from the tokens; the inside lines draw in once. */
.net { display: block; width: 100%; height: auto; }
.net__bound { fill: rgba(var(--accent-rgb), .04); stroke: rgba(var(--accent-rgb), .45); stroke-width: 1.5; stroke-dasharray: 6 6; }
.net__label { fill: var(--accent); font-family: var(--f-body); font-size: 15px; font-weight: 600; }
.net__name { fill: var(--muted); font-family: var(--f-body); font-size: 14px; font-weight: 500; }
.net__lines path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; opacity: .8; }
.net__teacher rect, .net__seats rect { fill: var(--chrome); stroke: var(--line-2); stroke-width: 1; }
.net__teacher rect.net__screen, .net__seats rect.net__screen { fill: rgba(var(--accent-rgb), .18); stroke: none; }
.net__cloud path { fill: rgba(255, 255, 255, .03); stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; }
.net__cut { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.net__cut--x { stroke: var(--error); stroke-width: 2; }

.js .net__lines path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.reveal.is-in .net__lines path { animation: draw .9s var(--ease-out) forwards; }
.reveal.is-in .net__lines path:nth-child(2) { animation-delay: .08s; }
.reveal.is-in .net__lines path:nth-child(3) { animation-delay: .16s; }
.reveal.is-in .net__lines path:nth-child(4) { animation-delay: .24s; }
.reveal.is-in .net__lines path:nth-child(5) { animation-delay: .32s; }
.reveal.is-in .net__lines path:nth-child(6) { animation-delay: .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── Admin timeline ─────────────────────────────────────────────────────────────────────── */

.timeline { display: grid; gap: 28px; position: relative; }
.tl { position: relative; padding-left: 56px; }
.tl__n {
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(var(--accent-rgb), .5); color: var(--accent); background: var(--bg);
  font-size: .9375rem; font-weight: 500;
}
.tl__h { font-size: 1.25rem; line-height: 1.2; padding-top: 6px; }
.tl__p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: -28px; width: 1px; background: var(--line-2); }

@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .tl { padding-left: 0; padding-top: 60px; }
  .tl__n { top: 0; }
  .tl__h { padding-top: 0; }
  .tl:not(:last-child)::before { left: 44px; right: -32px; top: 18px; bottom: auto; height: 1px; width: auto; }
}

/* ── Pricing ────────────────────────────────────────────────────────────────────────────── */

.calc {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--r-panel);
  background: var(--glass); border: 1px solid var(--line);
}
.calc__glow {
  position: absolute; z-index: -1; right: -10%; top: -30%; width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .14), transparent 70%);
  pointer-events: none;
}
.calc__prices { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.price { display: flex; flex-direction: column; gap: 4px; }
.price__n { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.price__l { color: var(--muted); font-size: .9375rem; }

.calc__row { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; margin-top: 32px; }
.calc__label { grid-column: 1 / -1; font-weight: 600; }
.calc__range { width: 100%; margin: 0; accent-color: var(--accent); height: 44px; }
.calc__n {
  width: 5.5rem; min-height: 44px; padding: 8px 12px;
  border-radius: var(--r-btn); border: 1px solid var(--line-2); background: rgba(var(--bg-rgb), .5); color: var(--text);
  font-size: 1.125rem; text-align: right;
}
.calc__n:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.calc__out { margin-top: 32px; display: grid; gap: 20px; grid-template-columns: 1fr; }
.calc__item dt { color: var(--muted); font-size: .9375rem; }
.calc__item dd { margin-top: 4px; font-size: 1.5rem; font-weight: 600; }
.calc__item--total dd { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.calc__formula { margin-top: 24px; font-size: .9375rem; color: var(--muted); max-width: 44rem; }

@media (min-width: 720px) {
  .calc__out { grid-template-columns: 1.6fr 1fr 1fr; align-items: end; gap: 32px; }
}

.price__foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.price__note { color: var(--muted); }

/* ── Contact ────────────────────────────────────────────────────────────────────────────── */

.contact__grid { display: grid; gap: 40px; }
.contact__direct { margin-top: 20px; color: var(--muted); }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .contact__text { position: sticky; top: calc(var(--nav-h) + 40px); }
}

.form {
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-panel);
  background: var(--glass); border: 1px solid var(--line);
}
.form__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
}
.field__label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.field__opt { font-weight: 400; color: var(--muted); }
.field__input {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px;
  border-radius: var(--r-btn); border: 1px solid var(--line-2); background: rgba(var(--bg-rgb), .5);
  color: var(--text); font: inherit;
  transition: border-color .2s var(--ease-out);
}
.field__input:hover { border-color: rgba(255, 255, 255, .26); }
.field__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field__input--area { resize: vertical; min-height: 120px; }
.field__err { margin-top: 6px; font-size: .875rem; color: var(--error); min-height: 0; }
.field__err:empty { display: none; }
.is-invalid .field__input { border-color: var(--error); }


.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { font-size: .9375rem; color: var(--muted); }
.form__status.is-ok { color: var(--accent); }
.form__status.is-err { color: var(--error); }
.form__status:empty { display: none; }
.form__note { margin-top: 16px; font-size: .875rem; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────────────────────────────────────── */

/* The footer carries what the law wants read: the § 435 identification and the GDPR notice. Small,
   but never dimmed below the 4.5:1 floor, and laid out so either block can be found on its own. */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 40px; color: var(--muted); font-size: .875rem; }
.foot__in { max-width: var(--col); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 40px; }
.foot__h { font-size: .75rem; font-weight: 600; color: var(--text); letter-spacing: .02em; margin-bottom: 12px; }
.foot__co { line-height: 1.7; }
.foot__co strong { color: var(--text); font-weight: 600; }
.foot__links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__site { font-weight: 600; }
.foot__dl { display: grid; gap: 14px; }
.foot__dl div { display: grid; gap: 2px; align-content: start; }
.foot__dl dt { color: var(--text); font-weight: 600; }
.foot__dl dd { line-height: 1.6; max-width: 62ch; }
.foot__top { padding-top: 8px; border-top: 1px solid var(--line); }
.foot a { color: var(--text); }

@media (min-width: 900px) {
  .foot__in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
  .foot__dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
  .foot__top { grid-column: 1 / -1; }
}

/* ── Reduced motion ─────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__line, .js .hero__sub, .js .hero__cta, .js .pills { opacity: 1; transform: none; }
  .js .net__lines path { stroke-dashoffset: 0; }
}
