/* ==========================================================================
   ZeroDesk marketing site, shared stylesheet
   Plain CSS, no build step. Served under a strict CSP (style-src 'self'):
   never add inline style attributes or <style> blocks to the HTML.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink-0: #0B0E14;
  --ink-1: #12151C;
  --ink-2: #1C2230;
  --ink-3: #283043;
  --paper: #F3F5F7;
  --paper-2: #E6EAEE;
  --mint: #35E0A1;
  --mint-hover: #5DEAB7;
  --mint-deep: #0B9C68;
  --mint-ink: #077A51;
  --alert: #F2553C;

  --text: #F3F5F7;
  --text-2: rgba(243, 245, 247, 0.72);
  --text-3: rgba(243, 245, 247, 0.52);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);

  --c-mint: #35E0A1;
  --c-blue: #6AA8FF;
  --c-violet: #A98BFF;
  --c-amber: #F5B84B;
  --c-rose: #FF7A93;
  --c-cyan: #4FD6E8;

  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}
@media (min-width: 640px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 32px; }
}

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

html {
  background: var(--ink-0);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overflow-wrap: break-word;
}

img,
svg,
video { display: block; max-width: 100%; }
img { height: auto; }
svg { flex: none; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class],
ol[class] { list-style: none; padding: 0; }

a { color: inherit; }
a:not([class]) {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: rgba(53, 224, 161, 0.45);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s;
}
a:not([class]):hover { text-decoration-color: currentColor; }

button,
input,
select,
textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

strong, b { font-weight: 600; }
code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

::selection { background: rgba(53, 224, 161, 0.32); color: #fff; }

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

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--mint);
  color: var(--ink-0);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.display {
  font-size: clamp(2.55rem, 1.05rem + 5.9vw, 5.9rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 600;
  text-wrap: balance;
  hyphens: manual;
}
.display__line { display: block; }
.display__accent,
.text-gradient {
  background: linear-gradient(100deg, #E9FFF6 0%, var(--mint) 45%, #1FC487 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: clamp(2rem, 1.15rem + 3.1vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 600;
  text-wrap: balance;
}
.section-lead,
.lead {
  font-size: clamp(1.06rem, 0.98rem + 0.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
.muted { color: var(--text-3); }
.mono { font-family: var(--font-mono); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 44px;
  padding: 0.7em 1.2em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out), color 0.25s;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn__arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--mint);
  color: var(--ink-0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 0 1px rgba(53, 224, 161, 0.5),
    0 10px 30px -10px rgba(53, 224, 161, 0.65);
}
.btn--primary:hover {
  background: var(--mint-hover);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(93, 234, 183, 0.6),
    0 16px 40px -12px rgba(53, 224, 161, 0.8);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.035);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--dark {
  background: var(--ink-1);
  color: var(--paper);
  border-color: var(--ink-1);
}
.btn--dark:hover { background: var(--ink-2); }

.btn--lg { min-height: 52px; padding: 0.9em 1.55em; font-size: 1.02rem; }
.btn--sm { min-height: 38px; padding: 0.55em 1em; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--mint);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Brand mark (inline SVG) ---------- */
.zmark { overflow: visible; }
.zmark__fg { stroke: var(--paper); }
.zmark__done { stroke: var(--mint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(11, 14, 20, 0.55);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(11, 14, 20, 0.86);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  border-radius: 8px;
}
.brand__mark { width: 30px; height: 30px; }
.brand:hover .zmark__done { stroke: var(--mint-hover); }

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav__link[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.site-nav__ext { width: 0.8em; height: 0.8em; opacity: 0.5; }
.site-nav__lang { margin-left: 8px; }

.site-header__cta { flex: none; }

.nav-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 10px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.75px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8.25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4.1px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4.1px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-header__cta { margin-left: auto; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(11, 14, 20, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    display: none;
  }
  .site-nav.is-open { display: block; animation: nav-in 0.35s var(--ease-out); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link {
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 0.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.06rem;
    color: var(--text);
  }
  .site-nav__link:hover,
  .site-nav__link[aria-current="page"] { background: none; color: var(--mint); }
  .site-nav__lang { margin: 18px 0 0; }
}
@media (max-width: 880px) and (scripting: none) {
  .nav-toggle { display: none; }
  .site-header { height: auto; }
  .site-header__inner { flex-wrap: wrap; padding-block: 10px; }
  .site-nav {
    position: static;
    display: block;
    order: 3;
    width: 100%;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav__list { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
  .site-nav__link { width: auto; min-height: 40px; border: 0; font-size: 0.95rem; }
  .site-nav__lang { margin: 0; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1.02rem; }
  .site-header__cta.btn--sm { padding-inline: 0.85em; }
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Language switch ---------- */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.lang__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  padding: 0 0.6rem;
  border-radius: 999px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.lang__item[aria-current="true"] { background: rgba(255, 255, 255, 0.09); color: var(--text); }
a.lang__item:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

/* ---------- Sections ---------- */
main { display: block; }
.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 148px);
}
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--line { border-top: 1px solid var(--line); }
.section-head {
  max-width: 48rem;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .section-lead { margin-top: 20px; }
.section-head--center .eyebrow { justify-content: center; }

/* Fine grid + noise texture, reusable */
.texture-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.texture-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(36px, 5.5vw, 80px));
  padding-bottom: clamp(64px, 9vw, 128px);
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 48% at 50% -6%, rgba(53, 224, 161, 0.2), transparent 70%),
    radial-gradient(ellipse 34% 30% at 88% 18%, rgba(53, 224, 161, 0.08), transparent 70%),
    radial-gradient(ellipse 30% 28% at 8% 34%, rgba(106, 168, 255, 0.07), transparent 70%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink-0) 62%);
}
.hero__aurora {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -18%;
  width: min(1100px, 140vw);
  aspect-ratio: 1.6;
  translate: -50% 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 35% 45%, rgba(53, 224, 161, 0.16), transparent),
    radial-gradient(closest-side at 65% 55%, rgba(79, 214, 232, 0.08), transparent);
  filter: blur(40px);
  animation: aurora 18s var(--ease-in-out) infinite alternate;
}
@keyframes aurora {
  0% { transform: rotate(-6deg) scale(1); }
  100% { transform: rotate(8deg) scale(1.12); }
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__mark {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-0));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 20px 50px -18px rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
}
.hero__mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(53, 224, 161, 0.5);
  animation: mark-ping 1.4s var(--ease-out) 1.75s both;
  pointer-events: none;
}
.hero__mark::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(53, 224, 161, 0.34), transparent);
  opacity: 0;
  animation: mark-glow 1.6s var(--ease-out) 1.6s forwards;
  pointer-events: none;
}
.hero__mark svg { width: 62px; height: 62px; }

/* Z draw-in: top bar + diagonal, then the mint "done" bar lands last */
.zdraw .zmark__fg,
.zdraw .zmark__done {
  stroke-dasharray: 100 120;
  stroke-dashoffset: 100;
  opacity: 0;
}
.zdraw .zmark__fg { animation: z-draw 1.05s var(--ease-in-out) 0.25s forwards; }
.zdraw .zmark__done {
  animation:
    z-draw 0.55s var(--ease-out) 1.3s forwards,
    z-land 0.7s var(--ease-out) 1.3s both;
}
@keyframes z-draw {
  0% { opacity: 1; stroke-dashoffset: 100; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes z-land {
  0% { transform: translateY(-3px); }
  55% { transform: translateY(0.6px); }
  100% { transform: translateY(0); }
}
@keyframes mark-ping {
  0% { box-shadow: 0 0 0 0 rgba(53, 224, 161, 0.45); }
  100% { box-shadow: 0 0 0 22px rgba(53, 224, 161, 0); }
}
@keyframes mark-glow {
  to { opacity: 1; }
}
/* draw-in that waits until the element scrolls into view (class set by site.js) */
.zdraw--lazy .zmark__fg,
.zdraw--lazy .zmark__done { animation-play-state: paused; }
.zdraw--lazy.is-visible .zmark__fg,
.zdraw--lazy.is-visible .zmark__done { animation-play-state: running; }
@media (scripting: none) {
  .zdraw--lazy .zmark__fg,
  .zdraw--lazy .zmark__done { animation-play-state: running; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1.3;
  text-align: left;
}
.pill__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(53, 224, 161, 0.12);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(53, 224, 161, 0.2);
}

.hero__title { margin-top: 24px; max-width: 16ch; }
.hero__lead { max-width: 44rem; margin: 24px auto 0; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 22px;
  color: var(--text-3);
  font-size: 0.86rem;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--mint); }

@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: rise 0.9s var(--ease-out) both; }
  .hero__inner > :nth-child(1) { animation-delay: 0s; }
  .hero__inner > :nth-child(2) { animation-delay: 0.06s; }
  .hero__inner > :nth-child(3) { animation-delay: 0.12s; }
  .hero__inner > :nth-child(4) { animation-delay: 0.2s; }
  .hero__inner > :nth-child(5) { animation-delay: 0.28s; }
  .hero__inner > :nth-child(6) { animation-delay: 0.34s; }
  .hero .mock { animation: rise-far 1.3s var(--ease-out) 0.35s both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-far {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Product mock (HTML/CSS app window, scales with its container) ---------- */
.mock {
  --tilt: 1;
  position: relative;
  margin-top: clamp(52px, 7vw, 92px);
  container-type: inline-size;
  perspective: 2200px;
}
.mock::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(53, 224, 161, 0.22), transparent);
  filter: blur(30px);
}
.mock__stage {
  position: relative;
  font-size: calc(100cqw / 72);
  line-height: 1.35;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
}
.mock__window {
  position: relative;
  border-radius: 1em;
  overflow: hidden;
  background: linear-gradient(180deg, #171B25 0%, #0F1218 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2.5em 6em -1.5em rgba(0, 0, 0, 0.8),
    0 0 7em -2em rgba(53, 224, 161, 0.28);
  transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt) * 9deg)) scale(calc(1 - var(--tilt) * 0.035));
}
.mock__titlebar {
  display: flex;
  align-items: center;
  gap: 0.5em;
  height: 2.6em;
  padding: 0 1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}
.mock__dots { display: flex; gap: 0.45em; width: 5em; }
.mock__dots i {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.mock__url {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 auto;
  padding: 0.45em 1.2em;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.6em;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.72em;
  font-weight: 500;
  white-space: nowrap;
}
.mock__url svg { width: 1em; height: 1em; color: var(--mint); }
.mock__titlebar-end { width: 5em; }

.mock__app {
  display: grid;
  grid-template-columns: 3.4em 11.5em minmax(0, 1fr) 16.5em;
  height: 35em;
}

/* rail */
.mock__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  padding: 0.75em 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}
.mock__rail-logo { width: 1.9em; height: 1.9em; margin-bottom: 0.55em; }
.mock__rail-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 0.65em;
  color: rgba(243, 245, 247, 0.46);
}
.mock__rail-btn svg { width: 1.15em; height: 1.15em; }
.mock__rail-btn.is-active { background: rgba(53, 224, 161, 0.13); color: var(--mint); }
.mock__rail-btn.is-active::before {
  content: "";
  position: absolute;
  left: -0.55em;
  top: 0.55em;
  bottom: 0.55em;
  width: 0.2em;
  border-radius: 1em;
  background: var(--mint);
}
.mock__badge {
  position: absolute;
  top: 0.15em;
  right: 0.1em;
  display: grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 0.3em;
  border-radius: 1em;
  background: var(--alert);
  color: #fff;
  font-size: 0.56em;
  font-weight: 700;
  box-shadow: 0 0 0 0.25em #11141B;
}
.mock__rail-spacer { flex: 1; }
.mock__me {
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-violet), var(--c-blue));
  box-shadow: 0 0 0 0.15em rgba(53, 224, 161, 0.8);
}

/* side panel */
.mock__panel {
  padding: 0.95em 0.7em;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}
.mock__panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.45em 0.8em;
  font-size: 0.86em;
  font-weight: 600;
}
.mock__panel-title i {
  width: 1.4em;
  height: 1.4em;
  border-radius: 0.4em;
  background: rgba(255, 255, 255, 0.06);
}
.mock__nav-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.42em 0.5em;
  border-radius: 0.5em;
  color: var(--text-2);
  font-size: 0.74em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__nav-item svg { width: 1.15em; height: 1.15em; opacity: 0.7; }
.mock__nav-item.is-active { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.mock__nav-label {
  margin: 1.2em 0 0.4em;
  padding: 0 0.7em;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.6em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mock__proj {
  width: 0.65em;
  height: 0.65em;
  border-radius: 0.2em;
  background: var(--c);
  flex: none;
}

/* main / board */
.mock__main { display: flex; flex-direction: column; min-width: 0; }
.mock__toolbar {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 0.85em 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mock__h { font-size: 0.92em; font-weight: 600; white-space: nowrap; }
.mock__tabs { display: flex; gap: 0.2em; }
.mock__tab {
  padding: 0.38em 0.75em;
  border-radius: 0.5em;
  color: var(--text-3);
  font-size: 0.7em;
  white-space: nowrap;
}
.mock__tab.is-active { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.mock__new {
  margin-left: auto;
  padding: 0.5em 0.85em;
  border-radius: 0.5em;
  background: var(--mint);
  color: var(--ink-0);
  font-size: 0.7em;
  font-weight: 600;
  white-space: nowrap;
}
.mock__board {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75em;
  min-height: 0;
  padding: 1em 1.1em;
  overflow: hidden;
}
.mock__col { display: flex; flex-direction: column; min-width: 0; }
.mock__col-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.75em;
  padding: 0 0.2em;
  color: var(--text-2);
  font-size: 0.72em;
  font-weight: 600;
  white-space: nowrap;
}
.mock__status {
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  border: 0.14em solid var(--text-3);
  flex: none;
}
.mock__status--backlog { border-style: dashed; }
.mock__status--todo { border-color: var(--text-2); }
.mock__status--progress {
  border-color: var(--c-amber);
  background: conic-gradient(var(--c-amber) 0 50%, transparent 50% 100%);
  background-clip: content-box;
  padding: 0.12em;
}
.mock__status--done {
  border-color: var(--mint);
  background: var(--mint);
  position: relative;
}
.mock__status--done::after {
  content: "";
  position: absolute;
  left: 0.22em;
  top: 0.08em;
  width: 0.26em;
  height: 0.48em;
  border: solid var(--ink-0);
  border-width: 0 0.12em 0.12em 0;
  transform: rotate(45deg);
}
.mock__count { color: var(--text-3); font-weight: 500; }
.mock__cards { display: flex; flex-direction: column; gap: 0.6em; }
.mock__card {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  padding: 0.8em 0.85em;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0.75em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0.5em 1.2em -0.6em rgba(0, 0, 0, 0.6);
  font-size: 0.78em;
  will-change: transform;
}
.mock__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 500;
}
.mock__prio { display: flex; gap: 0.15em; align-items: flex-end; height: 0.8em; }
.mock__prio i { width: 0.2em; border-radius: 0.1em; background: var(--text-3); }
.mock__prio i:nth-child(1) { height: 40%; }
.mock__prio i:nth-child(2) { height: 70%; }
.mock__prio i:nth-child(3) { height: 100%; opacity: 0.4; }
.mock__prio--high i { background: var(--c-amber); }
.mock__prio--high i:nth-child(3) { opacity: 1; }
.mock__check {
  display: none;
  width: 1.15em;
  height: 1.15em;
  color: var(--mint);
}
.mock__card.is-done .mock__prio { display: none; }
.mock__card.is-done .mock__check { display: block; }
.mock__card.is-done .mock__check path { stroke-dasharray: 20; stroke-dashoffset: 0; }
.mock__card.is-landing .mock__check path { animation: check-draw 0.6s var(--ease-out) 0.2s both; }
.mock__card.is-landing { border-color: rgba(53, 224, 161, 0.5); box-shadow: 0 0 0 1px rgba(53, 224, 161, 0.25), 0 0.8em 2em -0.6em rgba(53, 224, 161, 0.35); }
.mock__card.is-done .mock__card-title { color: var(--text-2); }
@keyframes check-draw {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}
.mock__card-title { color: var(--text); font-weight: 500; line-height: 1.3; }
.mock__card-meta { display: flex; align-items: center; gap: 0.45em; min-width: 0; }
.mock__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  max-width: 100%;
  padding: 0.22em 0.6em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1em;
  color: var(--text-2);
  font-size: 0.8em;
  white-space: nowrap;
  overflow: hidden;
}
.mock__label::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--c);
  flex: none;
}
.mock__meta-ico {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  color: var(--text-3);
  font-size: 0.8em;
}
.mock__meta-ico svg { width: 1.1em; height: 1.1em; }
.mock__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.75em;
  height: 1.75em;
  margin-left: auto;
  border-radius: 50%;
  background: var(--c);
  color: var(--ink-0);
  font-size: 0.72em;
  font-weight: 700;
}

/* colour helpers (no inline styles under CSP) */
.c-mint { --c: var(--c-mint); }
.c-blue { --c: var(--c-blue); }
.c-violet { --c: var(--c-violet); }
.c-amber { --c: var(--c-amber); }
.c-rose { --c: var(--c-rose); }
.c-cyan { --c: var(--c-cyan); }

/* chat pane */
.mock__chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.14);
}
.mock__chat-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mock__chan { font-size: 0.82em; font-weight: 600; white-space: nowrap; }
.mock__chan span { color: var(--text-3); margin-right: 0.15em; }
.mock__members {
  margin-left: auto;
  display: flex;
}
.mock__members i {
  width: 1.4em;
  height: 1.4em;
  margin-left: -0.4em;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 0.15em #12151C;
}
.mock__msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.95em;
  min-height: 0;
  padding: 1em 1em 0.6em;
  overflow: hidden;
}
.mock__msg {
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr);
  gap: 0.6em;
  font-size: 0.75em;
}
.mock__msg-av {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: var(--c);
  color: var(--ink-0);
  font-size: 0.9em;
  font-weight: 700;
}
.mock__msg-head { display: flex; align-items: baseline; gap: 0.5em; }
.mock__msg-name { font-weight: 600; }
.mock__msg-time { color: var(--text-3); font-family: var(--font-mono); font-size: 0.82em; }
.mock__msg-text { color: var(--text-2); line-height: 1.42; }
.mock__ref {
  display: inline-block;
  padding: 0 0.35em;
  border-radius: 0.3em;
  background: rgba(53, 224, 161, 0.12);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.92em;
}
.mock__react {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: 0.45em;
  padding: 0.15em 0.55em;
  border: 1px solid rgba(53, 224, 161, 0.3);
  border-radius: 1em;
  background: rgba(53, 224, 161, 0.08);
  color: var(--mint);
  font-size: 0.85em;
}
.mock__react svg { width: 1em; height: 1em; }
.mock__msg.is-new { animation: msg-in 0.55s var(--ease-out) both; }
.mock__msg.is-leaving { animation: msg-out 0.4s var(--ease-out) both; }
@keyframes msg-in {
  from { opacity: 0; transform: translateY(0.8em); }
  to { opacity: 1; transform: none; }
}
@keyframes msg-out {
  to { opacity: 0; transform: translateY(-0.6em); }
}
.mock__typing {
  display: flex;
  align-items: center;
  gap: 0.5em;
  min-height: 1.9em;
  padding: 0 1.35em;
  color: var(--text-3);
  font-size: 0.68em;
  opacity: 0;
  transition: opacity 0.3s;
}
.mock__typing.is-on { opacity: 1; }
.dots { display: inline-flex; gap: 0.28em; }
.dots i {
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: var(--text-2);
  animation: dot 1.2s infinite ease-in-out;
}
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-0.25em); }
}
.mock__composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  margin: 0 0.9em 0.9em;
  padding: 0.75em 0.85em;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.75em;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-3);
  font-size: 0.7em;
  white-space: nowrap;
  overflow: hidden;
}
.mock__send {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 0.5em;
  background: rgba(53, 224, 161, 0.14);
  color: var(--mint);
}
.mock__send svg { width: 1.1em; height: 1.1em; }

/* floating cards */
.mock__float {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.95em;
  background: rgba(22, 26, 35, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1.8em 3.5em -1em rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  translate: 0 calc(var(--py, 0) * 1px);
}
@media (prefers-reduced-motion: no-preference) {
  .mock__float--doc { animation: bob 9s ease-in-out infinite; }
  .mock__float--call { animation: bob 8s ease-in-out -3s infinite; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.6em); }
}
.mock__float--doc {
  left: -1.6em;
  bottom: -3.4em;
  width: 21em;
  padding: 1.1em 1.2em 1.2em;
}
.mock__float--call {
  right: -1.8em;
  top: 5.2em;
  width: 15.5em;
  padding: 0.8em;
}
.mock__float--toast {
  left: 50%;
  bottom: 1.4em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.65em 1em 0.65em 0.7em;
  border-color: rgba(53, 224, 161, 0.35);
  border-radius: 1em;
  font-size: 0.78em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 0.8em) scale(0.96);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.mock__float--toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.mock__toast-ico {
  display: grid;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink-0);
}
.mock__toast-ico svg { width: 1.05em; height: 1.05em; }
.mock__toast-time { color: var(--text-3); font-family: var(--font-mono); font-size: 0.85em; }

.mock__doc-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--text-3);
  font-size: 0.68em;
}
.mock__doc-head svg { width: 1.2em; height: 1.2em; color: var(--c-blue); }
.mock__doc-editing { margin-left: auto; display: flex; align-items: center; gap: 0.4em; }
.mock__doc-editing i {
  width: 1.5em;
  height: 1.5em;
  margin-left: -0.5em;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 0.15em #1A1E28;
}
.mock__doc-title { margin: 0.65em 0 0.45em; font-size: 1.05em; font-weight: 600; letter-spacing: -0.01em; }
.mock__doc-text { color: var(--text-2); font-size: 0.74em; line-height: 1.55; }
.mock__hl {
  background: linear-gradient(transparent 60%, rgba(245, 184, 75, 0.35) 60%);
  color: var(--text);
}
.mock__cmt {
  display: flex;
  gap: 0.55em;
  margin: 0.75em 0;
  padding: 0.6em 0.7em;
  border-left: 0.2em solid var(--c-amber);
  border-radius: 0.4em;
  background: rgba(245, 184, 75, 0.08);
  font-size: 0.68em;
  color: var(--text-2);
}
.mock__cmt b { color: var(--text); font-weight: 600; }
.mock__mermaid {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.4em;
}
.mock__mermaid rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.22); }
.mock__mermaid .is-mint { stroke: var(--mint); fill: rgba(53, 224, 161, 0.1); }
.mock__mermaid path { stroke: rgba(243, 245, 247, 0.45); fill: none; }
.mock__mermaid text { fill: var(--text-2); font-family: var(--font-sans); font-size: 9px; }

.mock__call-head {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.1em 0.2em 0.6em;
  font-size: 0.7em;
  font-weight: 600;
}
.mock__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.15em 0.5em;
  border-radius: 1em;
  background: rgba(242, 85, 60, 0.15);
  color: #FF8A73;
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 500;
}
.mock__live::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--alert);
}
@media (prefers-reduced-motion: no-preference) {
  .mock__live::before { animation: pulse 1.6s ease-in-out infinite; }
}
@keyframes pulse {
  50% { opacity: 0.35; }
}
.mock__timer { margin-left: auto; color: var(--text-3); font-family: var(--font-mono); font-weight: 500; }
.mock__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4em; }
.mock__tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10.5;
  border-radius: 0.55em;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 30%, #1C2230), #12151C);
  overflow: hidden;
}
.mock__tile i {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: var(--c);
  color: var(--ink-0);
  font-size: 0.7em;
  font-style: normal;
  font-weight: 700;
}
.mock__tile span {
  position: absolute;
  left: 0.5em;
  bottom: 0.35em;
  color: rgba(243, 245, 247, 0.85);
  font-size: 0.55em;
}
.mock__tile.is-speaking { box-shadow: inset 0 0 0 0.14em var(--mint); }
.mock__transcript {
  margin-top: 0.6em;
  padding: 0.55em 0.65em;
  border-radius: 0.55em;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.64em;
  line-height: 1.45;
  min-height: 4.4em;
}
.mock__transcript-label {
  display: block;
  margin-bottom: 0.2em;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mock__transcript-text { color: var(--text-2); }
.mock__caret {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.1em;
  vertical-align: -0.12em;
  background: var(--mint);
}
@media (prefers-reduced-motion: no-preference) {
  .mock__caret { animation: pulse 1s steps(2) infinite; }
}
.mock__controls { display: flex; justify-content: center; gap: 0.4em; margin-top: 0.6em; }
.mock__ctrl {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-2);
}
.mock__ctrl svg { width: 1em; height: 1em; }
.mock__ctrl--end { background: var(--alert); color: #fff; width: 2.8em; border-radius: 1em; }

/* container-size adaptations */
@container (max-width: 980px) {
  .mock__stage { font-size: calc(100cqw / 58); }
  .mock__app { grid-template-columns: 3.4em minmax(0, 1fr) 16.5em; }
  .mock__panel { display: none; }
  .mock__float--call { right: -0.8em; top: 4em; }
  .mock__float--doc { left: -0.8em; }
}
@container (max-width: 720px) {
  .mock__stage { font-size: calc(100cqw / 34); }
  .mock__app { grid-template-columns: 3.4em minmax(0, 1fr); height: 31em; }
  .mock__chat,
  .mock__col--backlog,
  .mock__tabs,
  .mock__float--doc,
  .mock__float--call { display: none; }
  .mock__board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6em; padding: 0.9em; }
  .mock__url { font-size: 0.66em; padding-inline: 0.8em; }
  .mock__dots { width: auto; }
  .mock__titlebar-end { display: none; }
}

/* ---------- Highlights strip ---------- */
.strip {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.strip__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.strip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 12px 22px 0;
}
.strip__item:nth-child(2n) { padding-left: 12px; border-left: 1px solid var(--line); }
.strip__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
.strip__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(53, 224, 161, 0.1);
  color: var(--mint);
}
.strip__ico svg { width: 18px; height: 18px; }
.strip__item strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.strip__item span { display: block; color: var(--text-3); font-size: 0.84rem; line-height: 1.4; margin-top: 2px; }
@media (min-width: 900px) {
  .strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip__item { padding: 28px 24px; }
  .strip__item:first-child { padding-left: 0; }
  .strip__item:nth-child(n) { border-top: 0; }
  .strip__item + .strip__item { border-left: 1px solid var(--line); }
}

/* ---------- Bento (modules) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.35s, transform 0.5s var(--ease-out), background-color 0.35s;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(53, 224, 161, 0.11), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.tile:hover,
.tile:focus-within { border-color: rgba(53, 224, 161, 0.3); }
.tile:hover::before,
.tile:focus-within::before { opacity: 1; }
.tile__visual {
  position: relative;
  flex: 1;
  min-height: 150px;
  margin: -4px -4px 20px;
  transition: transform 0.6s var(--ease-out), opacity 0.4s;
}
.tile__body { position: relative; }
.tile__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mint);
}
.tile__icon svg { width: 19px; height: 19px; }
.tile__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.22rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.tile__link { color: inherit; text-decoration: none; }
.tile__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius-lg);
}
.tile__link:focus-visible { outline: none; }
.tile__link:focus-visible::after { outline: 2px solid var(--mint); outline-offset: -2px; }
.tile__go {
  width: 16px;
  height: 16px;
  color: var(--mint);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.tile:hover .tile__go,
.tile:focus-within .tile__go { opacity: 1; transform: none; }
.tile__text { margin-top: 8px; color: var(--text-2); font-size: 0.97rem; line-height: 1.55; }
.tile__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.tile__more {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  overflow: hidden;
}
.tile__more li {
  margin-top: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(53, 224, 161, 0.25);
  border-radius: 999px;
  background: rgba(53, 224, 161, 0.06);
  color: #B8F5DD;
  font-size: 0.8rem;
  line-height: 1.35;
}
.tile__more li + li { margin-top: 14px; }
.tile:hover .tile__reveal,
.tile:focus-within .tile__reveal { grid-template-rows: 1fr; }
.tile:hover .tile__visual,
.tile:focus-within .tile__visual { transform: translateY(-6px); }
@media (hover: none) {
  .tile__reveal { grid-template-rows: 1fr; }
  .tile__go { opacity: 1; transform: none; }
}

@media (min-width: 720px) {
  .tile { grid-column: span 3; }
  .tile--lg,
  .tile--wide { grid-column: span 6; }
}
@media (min-width: 1040px) {
  .tile--lg { grid-column: span 4; }
  .tile--md { grid-column: span 3; }
  .tile--sm { grid-column: span 2; }
  .tile--wide { grid-column: span 6; }
}

/* tile visuals */
.v-board {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.v-col { display: flex; flex-direction: column; gap: 8px; }
.v-col-h {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.v-col-h::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.v-card {
  hyphens: auto;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-2);
}
.v-card b { display: block; margin-bottom: 4px; color: var(--text-3); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; }
.v-card--mint { border-color: rgba(53, 224, 161, 0.35); background: rgba(53, 224, 161, 0.07); }
@media (max-width: 520px) {
  .v-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-board .v-col:first-child { display: none; }
}
.v-milestone {
  position: absolute;
  right: 0;
  top: 0;
  display: none;
  width: 200px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(18, 21, 28, 0.92);
  font-size: 0.78rem;
}
.v-milestone strong { display: flex; justify-content: space-between; font-weight: 600; }
.v-milestone strong span { color: var(--mint); font-family: var(--font-mono); font-weight: 500; }
.v-progress { height: 6px; margin-top: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.v-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); }
@media (min-width: 1040px) {
  .v-board { right: 220px; }
  .v-milestone { display: block; }
}

.v-chat { display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; height: 100%; }
.v-bubble {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.4;
}
.v-bubble b { color: var(--text); font-weight: 600; margin-right: 4px; }
.v-bubble--me {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: rgba(53, 224, 161, 0.14);
  color: #D3FBEA;
}
.v-thread { display: inline-flex; gap: 6px; align-items: center; color: var(--mint); font-size: 0.75rem; font-family: var(--font-mono); }

.v-doc { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 9px; }
.v-line { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.09); }
.v-line--h { width: 55%; height: 12px; background: rgba(255, 255, 255, 0.16); }
.v-line--80 { width: 80%; }
.v-line--60 { width: 60%; }
.v-line--hl { width: 70%; background: linear-gradient(90deg, rgba(245, 184, 75, 0.45), rgba(245, 184, 75, 0.15)); }
.v-flow { margin-top: auto; width: 100%; height: auto; }
.v-flow rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.25); }
.v-flow .is-mint { fill: rgba(53, 224, 161, 0.12); stroke: var(--mint); }
.v-flow path { fill: none; stroke: rgba(243, 245, 247, 0.4); }

.v-files { display: flex; flex-direction: column; gap: 8px; }
.v-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--text-2);
}
.v-file i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  color: var(--c);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 500;
}
.v-file span:last-child { margin-left: auto; color: var(--text-3); font-family: var(--font-mono); font-size: 0.7rem; }
.v-storage { margin-top: 6px; font-size: 0.72rem; color: var(--text-3); font-family: var(--font-mono); }
.v-storage .v-progress { margin-top: 6px; }
.v-storage .v-progress i { width: 42%; }

.v-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: 100%; min-height: 150px; }
.v-day { position: relative; border-radius: 8px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.v-day b {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
}
.v-ev {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--c) 30%, transparent);
  border-left: 3px solid var(--c);
}
.v-ev--a { top: 26%; height: 22%; }
.v-ev--b { top: 52%; height: 30%; }
.v-ev--c { top: 30%; height: 40%; }
.v-ev--d { top: 62%; height: 18%; }
.v-ev--e { top: 24%; height: 16%; }

.v-office { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v-room {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  color: var(--text-3);
}
.v-room strong { display: block; margin-bottom: 8px; color: var(--text-2); font-weight: 500; }
.v-room--live { border-color: rgba(53, 224, 161, 0.35); background: rgba(53, 224, 161, 0.06); }
.v-avs { display: flex; }
.v-avs i { width: 22px; height: 22px; margin-right: -6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--ink-1); }
.v-caption {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-2);
  font-size: 0.8rem;
}
.v-caption span { color: var(--mint); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; }

.v-pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v-stage { display: flex; flex-direction: column; gap: 7px; }
.v-stage > b { color: var(--text-3); font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.v-deal {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  color: var(--text-2);
}
.v-deal span { color: var(--text-3); font-family: var(--font-mono); font-size: 0.68rem; }
.v-deal--won { border-color: rgba(53, 224, 161, 0.35); background: rgba(53, 224, 161, 0.07); }
.v-deal--won span { color: var(--mint); }

/* compact modules list */
.mods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 12px;
  margin-top: 16px;
}
.mod {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease-out);
}
.mod:hover,
.mod:focus-within { border-color: rgba(53, 224, 161, 0.3); background: rgba(53, 224, 161, 0.035); transform: translateY(-2px); }
.mod__head { display: flex; align-items: center; gap: 12px; }
.mod__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: var(--mint); }
.mod__ico svg { width: 18px; height: 18px; }
.mod__title { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.mod__title a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.mod:hover .mod__title a { color: var(--mint); }
.mod__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.mod__title a:focus-visible { outline: none; }
.mod__title a:focus-visible::after { outline: 2px solid var(--mint); outline-offset: -2px; }
.mod__text { margin-top: 10px; color: var(--text-3); font-size: 0.9rem; line-height: 1.5; }

.mods-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 72px);
}
.mods-head h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; }
.mods-head p { color: var(--text-3); font-size: 0.95rem; }

/* ---------- Sprawl ---------- */
.sprawl { overflow: clip; }
.sprawl__demo {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}
.sprawl__bar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 8px 0;
  border-radius: 12px 12px 0 0;
  background: rgba(0, 0, 0, 0.35);
}
.sprawl__dots { display: flex; gap: 6px; padding: 0 6px 12px 2px; }
.sprawl__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.sprawl__tabs { display: flex; flex: 1; min-width: 0; gap: 2px; }
.tab {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 160px;
  height: 36px;
  padding: 0 10px;
  border-radius: 9px 9px 0 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-3);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  transition:
    max-width 0.7s var(--ease-in-out) calc(var(--i, 0) * 45ms),
    padding 0.7s var(--ease-in-out) calc(var(--i, 0) * 45ms),
    opacity 0.45s ease calc(var(--i, 0) * 45ms),
    flex-grow 0.7s var(--ease-in-out) calc(var(--i, 0) * 45ms);
}
.tab__fav { width: 13px; height: 13px; flex: none; border-radius: 4px; background: var(--c); opacity: 0.8; }
.tab__label { overflow: hidden; text-overflow: ellipsis; }
.tab--zd {
  flex: 0 0 auto;
  max-width: 0;
  padding: 0;
  opacity: 0;
  background: var(--ink-1);
  color: var(--text);
  font-weight: 500;
}
.tab--zd svg { width: 15px; height: 15px; }
.sprawl__view {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 28px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--ink-1);
  text-align: center;
  overflow: hidden;
}
.sprawl__state { grid-area: 1 / 1; transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.sprawl__state--after { opacity: 0; transform: translateY(12px); }
.sprawl__big {
  font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.sprawl__small { margin-top: 10px; color: var(--text-3); font-size: 0.95rem; }
.sprawl__chaos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; max-width: 560px; margin-inline: auto; }
.sprawl__chaos span {
  padding: 3px 9px;
  border: 1px dashed rgba(242, 85, 60, 0.4);
  border-radius: 999px;
  color: #FF9B87;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.sprawl__controls { display: flex; justify-content: center; margin-top: 18px; }

.sprawl.is-clean .tab:not(.tab--zd) { max-width: 0; flex-grow: 0; padding: 0; opacity: 0; }
.sprawl.is-clean .tab--zd { max-width: 220px; padding: 0 14px; opacity: 1; transition-delay: 0.45s; }
.sprawl.is-clean .sprawl__state--before { opacity: 0; transform: translateY(-12px); }
.sprawl.is-clean .sprawl__state--after { opacity: 1; transform: none; transition-delay: 0.45s; }

.sprawl__map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 980px;
  margin: 36px auto 0;
  border-top: 1px solid var(--line);
}
.map-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.map-from { position: relative; color: var(--text-3); justify-self: start; }
.map-from::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 55%;
  height: 1.5px;
  background: rgba(242, 85, 60, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out) calc(var(--i, 0) * 50ms + 0.3s);
}
.map-arrow { width: 18px; height: 18px; color: var(--text-3); }
.map-to { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 500; }
.map-to svg { width: 16px; height: 16px; color: var(--mint); opacity: 0.4; transition: opacity 0.4s calc(var(--i, 0) * 50ms + 0.4s); }
.sprawl.is-clean .map-from::after { transform: scaleX(1); }
.sprawl.is-clean .map-to { color: var(--text); }
.sprawl.is-clean .map-to svg { opacity: 1; }
@media (min-width: 820px) {
  .sprawl__map { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin: 48px auto 0;
}
.benefit {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.benefit__num {
  display: block;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--mint);
}
.benefit h3 { margin-top: 12px; font-size: 1.08rem; font-weight: 600; }
.benefit p { margin-top: 6px; color: var(--text-3); font-size: 0.93rem; }
@media (min-width: 760px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Paper (light) band: security ---------- */
.section--paper {
  background: var(--paper);
  color: var(--ink-1);
  --text-2: rgba(18, 21, 28, 0.74);
  --text-3: rgba(18, 21, 28, 0.6);
  --line: rgba(18, 21, 28, 0.1);
  --line-2: rgba(18, 21, 28, 0.16);
}
.section--paper ::selection { background: rgba(11, 156, 104, 0.25); color: var(--ink-0); }
.section--paper .eyebrow { color: var(--mint-ink); }
.section--paper :focus-visible { outline-color: var(--mint-deep); }
.section--paper a:not([class]) { color: var(--ink-1); text-decoration-color: var(--mint-deep); }
.section--paper .link-arrow { color: var(--mint-ink); }

.trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1000px) {
  .trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; }
}
.trust__sheet {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--ink-1);
  color: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(11, 14, 20, 0.5);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.trust__sheet::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(53, 224, 161, 0.25), transparent);
}
.trust__sheet-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.trust__sheet-head svg { width: 22px; height: 22px; }
.trust__row {
  position: relative;
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.trust__row:last-child { border-bottom: 0; }
.trust__row dt { color: rgba(243, 245, 247, 0.5); }
.trust__row dd { color: var(--paper); }
.trust__row dd .ok { color: var(--mint); }
@media (max-width: 420px) {
  .trust__row { grid-template-columns: 1fr; gap: 2px; }
}
.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
}
.trust__item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.trust__item svg { width: 22px; height: 22px; color: var(--mint-deep); }
.trust__item h3 { margin-top: 12px; font-size: 1rem; font-weight: 600; color: var(--ink-1); }
.trust__item p { margin-top: 4px; color: var(--text-2); font-size: 0.92rem; line-height: 1.5; }
.trust__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.95rem;
}
.trust__foot svg { width: 18px; height: 18px; color: var(--mint-deep); }
.trust__foot span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
.plan--featured {
  border-color: rgba(53, 224, 161, 0.45);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(53, 224, 161, 0.13), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 0 0 1px rgba(53, 224, 161, 0.15), 0 30px 80px -40px rgba(53, 224, 161, 0.5);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan__name { font-size: 1.15rem; font-weight: 600; }
.plan__desc { margin-top: 4px; color: var(--text-3); font-size: 0.93rem; min-height: 2.9em; }
.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 22px;
}
.plan__amount {
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.plan__unit { color: var(--text-3); font-size: 0.92rem; line-height: 1.35; }
.plan__vat { margin-top: 8px; color: var(--text-3); font-size: 0.8rem; }
@media (min-width: 960px) {
  .plan__price { min-height: 4.6rem; }
  .plan__vat { min-height: 2.8em; }
}
.plan__cta { margin-top: 24px; }
.plan__features {
  display: grid;
  gap: 11px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}
.plan__features li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--text-2); line-height: 1.45; }
.plan__features svg { width: 18px; height: 18px; margin-top: 2px; color: var(--mint); }
.plan__features .is-off { color: var(--text-3); }
.plan__features .is-off svg { color: var(--text-3); }
.plan__example {
  margin-top: auto;
  padding-top: 22px;
  color: var(--text-3);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}
.plans-note {
  margin-top: 24px;
  color: var(--text-3);
  font-size: 0.9rem;
  text-align: center;
}

/* calculator */
.calc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
@media (min-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
.calc__controls { padding: 28px; }
.calc__label { display: block; font-size: 1.05rem; font-weight: 600; }
.calc__hint { margin-top: 4px; color: var(--text-3); font-size: 0.9rem; }
.calc__input-row { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.stepper button {
  display: grid;
  place-items: center;
  width: 46px;
  min-height: 48px;
  border: 0;
  background: none;
  color: var(--text);
}
.stepper button:hover { background: rgba(255, 255, 255, 0.06); }
.stepper button:focus-visible { outline-offset: -3px; border-radius: 999px; }
.stepper button svg { width: 16px; height: 16px; }
.stepper input {
  width: 5.2ch;
  border: 0;
  background: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline: none; }
.stepper:focus-within { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(53, 224, 161, 0.2); }
.calc__unit { color: var(--text-3); font-size: 0.95rem; }

.range {
  --p: 6%;
  width: 100%;
  height: 28px;
  margin: 26px 0 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--mint) var(--p), rgba(255, 255, 255, 0.12) var(--p));
}
.range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--mint); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border: 3px solid var(--ink-0);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 1px var(--mint), 0 4px 14px rgba(53, 224, 161, 0.5);
}
.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--ink-0);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 1px var(--mint), 0 4px 14px rgba(53, 224, 161, 0.5);
}
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ink-0), 0 0 0 5px var(--mint); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--ink-0), 0 0 0 5px var(--mint); }
.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.calc__formula {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.88rem;
  line-height: 1.6;
}
.calc__formula strong { color: var(--text-2); font-weight: 500; }

.calc__results {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .calc__results { border-top: 0; border-left: 1px solid var(--line); }
}
.result {
  position: relative;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.35s, background-color 0.35s, box-shadow 0.35s;
}
.result.is-best {
  border-color: rgba(53, 224, 161, 0.55);
  background: rgba(53, 224, 161, 0.06);
  box-shadow: 0 0 0 1px rgba(53, 224, 161, 0.18);
}
.result__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result__name { font-weight: 600; }
.result__best {
  display: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.result.is-best .result__best { display: inline-block; }
.result__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin-top: 8px;
}
.result__amount {
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.result__per { color: var(--text-3); font-size: 0.9rem; }
.result__meta { margin-top: 6px; color: var(--text-3); font-size: 0.86rem; }
.result__meta span + span::before { content: " · "; }
.result__gross { margin-top: 4px; color: var(--text-3); font-size: 0.78rem; }
.calc__reco {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 0.92rem;
}
.calc__reco svg { width: 18px; height: 18px; margin-top: 2px; color: var(--mint); }
.calc__vat { color: var(--text-3); font-size: 0.8rem; text-align: right; }
@media (scripting: none) {
  .calc__input-row,
  .range,
  .range-scale { display: none; }
}

/* comparison table */
.table-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.015);
}
.table-wrap:focus-visible { outline-offset: 2px; }
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.93rem;
}
.compare th,
.compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare thead th {
  position: sticky;
  top: 0;
  background: #131720;
  font-size: 1rem;
  font-weight: 600;
  vertical-align: bottom;
}
.compare thead th span { display: block; margin-top: 2px; color: var(--text-3); font-size: 0.82rem; font-weight: 400; }
.compare thead th.is-featured { color: var(--mint); }
.compare tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 34%;
  background: #0F1218;
  color: var(--text-2);
  font-weight: 500;
}
.compare td { color: var(--text-2); }
.compare td.is-featured { background: rgba(53, 224, 161, 0.03); }
.compare .group th {
  padding-top: 26px;
  background: #0F1218;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.compare tr:last-child > * { border-bottom: 0; }
.compare .yes,
.compare .no { display: inline-flex; align-items: center; gap: 6px; }
.compare .yes svg { width: 18px; height: 18px; color: var(--mint); }
.compare .no svg { width: 16px; height: 16px; color: var(--text-3); }
.compare small { display: block; color: var(--text-3); font-size: 0.8rem; }

/* seats, VAT, payments */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}
.info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 600; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--mint); }
.info-card p { margin-top: 12px; color: var(--text-2); font-size: 0.94rem; }
.info-card ul:not([class]) { margin: 12px 0 0; padding-left: 1.1em; color: var(--text-2); font-size: 0.94rem; }
.info-card ul:not([class]) li + li { margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.84rem;
}
.chip--seat::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--mint); }
.chip--free { border-style: dashed; color: var(--text-3); }
.chip--free::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--text-3); }
.chip--soon { border-style: dashed; color: var(--text-3); }
.vat-list { display: grid; gap: 10px; margin-top: 14px; }
.vat-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: 0.92rem; color: var(--text-2); }
.vat-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.vat-list b { color: var(--text); font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem; text-align: right; }

/* steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.step h3 { font-size: 1.12rem; font-weight: 600; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 0.94rem; }

/* page hero (subpages) */
.page-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(40px, 5vw, 72px);
  overflow: clip;
  text-align: center;
}
.page-hero .hero__bg { background:
    radial-gradient(ellipse 55% 60% at 50% -10%, rgba(53, 224, 161, 0.17), transparent 70%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink-0) 80%); }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  margin: 18px auto 0;
  max-width: 18ch;
  font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.page-hero .lead { max-width: 40rem; margin: 22px auto 0; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
  transition: color 0.2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--mint); }
.faq__icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  translate: -50% -50%;
  transition: transform 0.4s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); border-color: rgba(53, 224, 161, 0.5); background: rgba(53, 224, 161, 0.08); color: var(--mint); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a {
  padding: 0 52px 24px 4px;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq__a p + p { margin-top: 10px; }
@media (max-width: 600px) {
  .faq__a { padding-right: 4px; }
}
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; }
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(96px, 12vw, 180px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(53, 224, 161, 0.2), transparent 70%),
    linear-gradient(180deg, var(--ink-0), var(--ink-1));
}
.cta__giant {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(760px, 120vw);
  height: auto;
  translate: -50% -50%;
  opacity: 0.07;
  pointer-events: none;
}
.cta__giant .zmark__done { stroke: var(--mint); }
.cta__title {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(2.5rem, 1.3rem + 5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 600;
  text-wrap: balance;
}
.cta .lead { max-width: 36rem; margin: 22px auto 0; }
.cta .hero__ctas { margin-top: 34px; }
.cta .hero__meta { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--ink-0);
  font-size: 0.93rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
@media (min-width: 900px) {
  .site-footer__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 64px; }
}
.site-footer__brand p { max-width: 30rem; margin-top: 16px; color: var(--text-3); line-height: 1.55; }
.site-footer__brand .lang { margin-top: 22px; }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
}
@media (min-width: 640px) {
  .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.site-footer__h {
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer__list { display: grid; gap: 4px; }
.site-footer__list a,
.site-footer__list .email-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__list a:hover { color: var(--text); }
.site-footer__list a[aria-current="page"] { color: var(--mint); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.84rem;
}
.site-footer__bottom a { color: var(--text-2); text-decoration: none; }
.site-footer__bottom a:hover { color: var(--text); }
.site-footer__bottom p { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.site-footer__bottom svg { width: 15px; height: 15px; color: var(--mint); }
.site-footer__bottom span { display: inline-flex; align-items: center; gap: 6px; }

/* obfuscated e-mail (filled in by site.js; readable fallback without JS) */
[data-email-user] { word-break: break-word; }
.site-footer__list [data-email-user] {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--text-3);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.legal-hero .hero__bg { background:
    radial-gradient(ellipse 50% 70% at 15% -20%, rgba(53, 224, 161, 0.12), transparent 70%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink-0) 100%); }
.legal-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  hyphens: auto;
}
.legal-hero .lead { max-width: 46rem; margin-top: 14px; font-size: 1.06rem; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
}
.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.legal-nav a:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.legal-nav a[aria-current="page"] { color: var(--ink-0); background: var(--mint); border-color: var(--mint); font-weight: 600; }

.legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-block: clamp(40px, 6vw, 80px);
}
@media (min-width: 1040px) {
  .legal { grid-template-columns: 250px minmax(0, 1fr); gap: 72px; }
}
.legal__toc { font-size: 0.88rem; }
@media (min-width: 1040px) {
  .legal__toc {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 56px);
    overflow-y: auto;
    padding-right: 8px;
  }
}
.legal__toc h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legal__toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.legal__toc a {
  display: block;
  padding: 6px 10px;
  border-left: 2px solid var(--line);
  color: var(--text-3);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.legal__toc a:hover { color: var(--text); }
.legal__toc a.is-active { color: var(--mint); border-left-color: var(--mint); }
@media (max-width: 1039px) {
  .legal__toc {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
  }
  .legal__toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
}

.prose {
  max-width: 46rem;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.72;
  hyphens: auto;
}
@media (min-width: 900px) {
  .prose { font-size: 1.04rem; }
}
.prose > * + * { margin-top: 1em; }
.prose section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose section + section { margin-top: 2.6em; padding-top: 2.4em; border-top: 1px solid var(--line); }
.prose section > * + * { margin-top: 0.9em; }
.prose h2 {
  color: var(--text);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 {
  margin-top: 1.6em;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 600;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h4 { margin-top: 1.3em; color: var(--text); font-size: 1rem; font-weight: 600; }
.prose strong { color: var(--text); }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--mint); }
.prose ol > li::marker { font-family: var(--font-mono); font-size: 0.9em; }
.prose address {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-style: normal;
  line-height: 1.6;
}
.prose dl { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 8px 20px; }
.prose dt { color: var(--text-3); }
.prose dd { color: var(--text); }
@media (max-width: 560px) {
  .prose dl { grid-template-columns: 1fr; gap: 2px; }
  .prose dd + dt { margin-top: 10px; }
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
  line-height: 1.5;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th { color: var(--text); background: rgba(255, 255, 255, 0.04); font-weight: 600; }
.prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .table-scroll table { min-width: 560px; }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose .num { color: var(--mint); font-family: var(--font-mono); font-weight: 500; font-size: 0.9em; margin-right: 0.4em; }

.callout {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(53, 224, 161, 0.28);
  border-radius: var(--radius);
  background: rgba(53, 224, 161, 0.06);
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}
.callout svg { width: 20px; height: 20px; margin-top: 2px; color: var(--mint); }
.callout--warn { border-color: rgba(245, 184, 75, 0.35); background: rgba(245, 184, 75, 0.07); }
.callout--warn svg { color: var(--c-amber); }
.callout strong { color: var(--text); }

/* visible placeholder for data that still has to be filled in */
.placeholder {
  display: inline-block;
  padding: 0 0.4em;
  border: 1px dashed var(--alert);
  border-radius: 4px;
  background: rgba(242, 85, 60, 0.12);
  color: #FFB3A5;
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* boxed form (e.g. Muster-Widerrufsformular) */
.form-box {
  padding: 22px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.form-box > * + * { margin-top: 0.85em; }
.form-line {
  display: block;
  min-height: 1.6em;
  border-bottom: 1px solid var(--line-2);
}

.legal__asof {
  margin-top: 3em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* ---------- Contract forms: cancel (§ 312k BGB) / withdraw (§ 356a BGB) ---------- */
.callout--action > div > p + p { margin-top: 12px; }
.prose .callout--action { margin-bottom: 1.8em; }
.callout--action .btn { margin-top: 2px; }

.contract {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-block: clamp(40px, 6vw, 80px);
}
@media (min-width: 1000px) {
  .contract { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .contract__aside { position: sticky; top: calc(var(--header-h) + 28px); }
}
.form { position: relative; display: grid; gap: 20px; }
.form__group {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}
.form__group > legend {
  float: left;
  width: 100%;
  margin-bottom: 2px;
  padding: 0;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.form__group > legend + * { clear: both; }
fieldset.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
fieldset.field > legend {
  float: left;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.35;
}
fieldset.field > legend + * { clear: both; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field__label,
.field > label { color: var(--text); font-size: 0.97rem; font-weight: 500; line-height: 1.35; }
.field__hint { color: var(--text-3); font-size: 0.85rem; line-height: 1.5; }
.req { color: var(--text-3); font-size: 0.85em; font-weight: 400; }
.field--split { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .field--split { grid-template-columns: 1fr 1fr; }
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.input::placeholder,
.textarea::placeholder { color: rgba(243, 245, 247, 0.32); }
.textarea { min-height: 128px; resize: vertical; }
.select {
  padding-right: 44px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2335E0A1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.select option { background: var(--ink-1); color: var(--text); }
.input:hover,
.select:hover,
.textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--mint);
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(53, 224, 161, 0.22);
}
.input:user-invalid,
.textarea:user-invalid { border-color: var(--alert); box-shadow: 0 0 0 3px rgba(242, 85, 60, 0.18); }
.input:disabled { opacity: 0.45; cursor: not-allowed; }
input[type="date"].input { color-scheme: dark; }

.choices { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .choices--2 { grid-template-columns: 1fr 1fr; }
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.choice:hover { border-color: rgba(255, 255, 255, 0.24); }
.choice:has(input:checked) { border-color: rgba(53, 224, 161, 0.6); background: rgba(53, 224, 161, 0.07); }
.choice input {
  display: grid;
  place-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1.5px solid rgba(243, 245, 247, 0.4);
  border-radius: 50%;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.choice input::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  transform: scale(0);
  transition: transform 0.2s var(--ease-out);
}
.choice input:checked { border-color: var(--mint); }
.choice input:checked::before { transform: scale(1); }
.choice input:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.choice__text { display: grid; gap: 2px; line-height: 1.4; }
.choice__text strong { color: var(--text); font-size: 0.97rem; font-weight: 600; }
.choice__text span { color: var(--text-3); font-size: 0.86rem; }

/* honeypot: hidden from people, left in the form for bots */
.form__hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(53, 224, 161, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(53, 224, 161, 0.07), rgba(53, 224, 161, 0.02));
}
.form__actions .btn { justify-self: start; min-width: 220px; }
.form__actions .btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.form__note { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }
.form__note a { color: var(--mint); }
@media (max-width: 480px) {
  .form__group,
  .form__actions { padding: 18px; }
  .form__actions .btn { justify-self: stretch; min-width: 0; }
}
.form__error {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(242, 85, 60, 0.55);
  border-radius: var(--radius);
  background: rgba(242, 85, 60, 0.1);
  color: #FFC9BE;
  font-size: 0.95rem;
  line-height: 1.55;
}
.form__error svg { width: 20px; height: 20px; margin-top: 2px; color: var(--alert); }
.form__error:focus { outline: 2px solid var(--alert); outline-offset: 3px; }

.contract__aside { display: grid; gap: 12px; }
.contract__aside h2 {
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.aside-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.aside-card__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(53, 224, 161, 0.1);
  color: var(--mint);
}
.aside-card__ico svg { width: 18px; height: 18px; }
.aside-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.aside-card p { margin-top: 4px; color: var(--text-2); font-size: 0.92rem; line-height: 1.55; }
.aside-card a:not([class]) { color: var(--mint); }

/* confirmation page */
.received__box {
  display: inline-grid;
  gap: 6px;
  margin-top: 26px;
  padding: 16px 26px;
  border: 1px dashed rgba(53, 224, 161, 0.55);
  border-radius: var(--radius);
  background: rgba(53, 224, 161, 0.06);
}
.received__box span {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.received__box strong {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* footer: legally required contract buttons (§ 312k / § 356a BGB) */
.site-footer__contract {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}
.contract-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(243, 245, 247, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.contract-link:hover,
.contract-link[aria-current="page"] { border-color: var(--mint); color: var(--mint); background: rgba(53, 224, 161, 0.06); }

/* ---------- 404 ---------- */
.notfound {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: clip;
  text-align: center;
}
.notfound .hero__mark { margin: 0 auto 28px; }
.notfound__code {
  display: block;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}
.notfound h1 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 1.4rem + 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.notfound p { max-width: 34rem; margin: 18px auto 0; color: var(--text-2); }
.notfound p[lang="de"] { color: var(--text-3); }
.notfound .hero__ctas { margin-top: 32px; }

/* ---------- Scroll reveal (enabled by site.js only) ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .mock { --tilt: 0 !important; }
  .mock__float { translate: none !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .hero__aurora { animation: none; }
  .zdraw .zmark__fg,
  .zdraw .zmark__done { opacity: 1; stroke-dashoffset: 0; }
  .hero__mark::before { opacity: 1; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .legal__toc,
  .legal-nav,
  .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .prose, .prose strong, .prose h2, .prose h3, .legal-hero h1 { color: #000; }
  .legal-hero { margin: 0; padding: 0 0 12px; }
  .legal-hero .hero__bg { display: none; }
  a { color: #000; }
}
