/* =========================================================
   Scality Solutions — Lead Funnel Landing Page
   ========================================================= */

:root {
  /* Deep navy palette */
  --bg:        #0A1428;            /* deep navy */
  --bg-2:      #101C36;            /* card surface */
  --bg-3:      #17274A;            /* hover */
  --bg-4:      #0E1A32;            /* alt */
  --ink:       #F3F6FC;            /* near-white text */
  --ink-2:     #E4EAF5;
  --muted:     #8A97B5;
  --muted-2:   #5E6B87;
  --line:      rgba(243,246,252,.08);
  --line-2:    rgba(243,246,252,.16);

  /* Accent — bright sky/azure on navy */
  --accent:     oklch(0.80 0.14 230);     /* bright sky */
  --accent-ink: oklch(0.72 0.14 230);
  --accent-soft: oklch(0.40 0.10 230);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --font-display: 'Geist', system-ui, sans-serif;
  --font-body:    'Geist', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-mono:    'Geist Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

::selection { background: var(--accent); color: var(--bg); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,20,40,.75);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 10px var(--pad-x);
  display: flex; align-items: center; gap: 28px;
}
.nav__logo-img { height: 100px; width: auto; }
.nav__links {
  display: flex; gap: 28px; margin-left: auto;
  font-size: 14px; color: var(--muted);
}
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content:''; position:absolute; left:0; bottom:-6px; height:1px; width:0;
  background: var(--ink); transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 6px;
  border-radius: 8px; background: var(--bg-2);
  border: 1px solid var(--line-2);
  cursor: pointer; margin-left: auto;
}
.nav__burger span {
  display: block; height: 1.5px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 16px var(--pad-x) 20px;
  border-top: 1px solid var(--line);
  background: rgba(10,20,40,.97);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-link {
  padding: 14px 0;
  font-size: 18px; font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.nav__mobile-link:hover { color: var(--accent); }
.nav__mobile-cta { margin-top: 16px; justify-content: center; }

@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 14px 22px; font-size: 15px; }
.btn--primary {
  background: var(--accent); color: #041024;
}
.btn--primary:hover {
  background: oklch(0.86 0.14 230);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px oklch(0.80 0.14 230 / 0.5);
}
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  background: var(--bg-2);
  border-color: var(--accent);
}
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

/* =========================================================
   HERO
   ========================================================= */
.hero-glow {
  position: absolute;
  left: 0; right: 0;
  height: 900px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 40%, oklch(0.36 0.10 230 / 0.60) 0%, transparent 70%),
    radial-gradient(ellipse 65% 55% at 10% 25%, oklch(0.48 0.15 220 / 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 55%, oklch(0.42 0.13 245 / 0.24) 0%, transparent 60%);
  filter: blur(70px);
  animation: heroGrad 16s ease-in-out infinite alternate;
}
@keyframes heroGrad {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(2%, 3%) scale(1.04); }
  70%  { transform: translate(-2%, 1%) scale(0.97); }
  100% { transform: translate(1%, -2%) scale(1.03); }
}

.hero {
  position: relative;
  width: 100%;
  padding: clamp(48px, 9vw, 110px) var(--pad-x) 60px;
  z-index: 1;
}
.hero > *:not(.hero__grain) {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.hero__grain {
  position: absolute; inset: 0;
  pointer-events: none; opacity: .25; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 13px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.01em;
  color: var(--muted);
  background: var(--bg-2);
  font-family: var(--font-mono);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.70 0.16 48 / 0.2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.3); opacity: .6; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 8.2vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 26px 0 24px;
  max-width: 14ch;
}
.hero__title .ital {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
}

.hero__lede {
  max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
  margin: 0 0 34px;
  line-height: 1.5;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 22px 20px 22px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__label {
  margin-top: 8px;
  font-size: 13px; color: var(--muted);
  max-width: 24ch;
}
@media (max-width: 780px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 18px; }
  .stat:nth-child(even) { padding-left: 18px; }
}

/* Hero founders band */
.hero__founders {
  margin-top: 42px;
  display: flex; align-items: center; gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}
.founders__img {
  width: 140px; height: 90px; flex: 0 0 auto;
  border-radius: 12px; overflow: hidden;
  background: var(--bg-3);
}
.founders__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.founders__eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.founders__text p { margin: 0; color: var(--ink); font-size: 15px; max-width: 60ch; }
@media (max-width: 600px){
  .hero__founders { flex-direction: column; align-items: flex-start; }
  .founders__img { width: 100%; height: 160px; }
}

/* =========================================================
   TRUST
   ========================================================= */
.trust {
  max-width: var(--maxw); margin: 0 auto;
  padding: 24px var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.trust__label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2);
}
.trust__row {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  color: var(--ink); font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
}
.dotsep { color: var(--muted-2); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) var(--pad-x);
  position: relative;
}
.sec__head { max-width: 58ch; margin-bottom: 56px; }
.sec__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.sec__eyebrow {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.sec__eyebrow span { color: var(--accent-ink); font-weight: 500; }
.sec__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.8vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 20px;
}
.sec__title .muted { color: var(--muted); }
.sec__lede {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
  margin: 0;
  max-width: 58ch;
}

/* =========================================================
   PROBLEM / CARDS
   ========================================================= */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card__meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-2);
}
.card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 24px; letter-spacing: -0.02em; margin: 0;
}
.card--highlight {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px var(--accent) inset;
}
.card--highlight .card__meta { color: var(--accent); }

.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.card--highlight .ticks li { border-top-color: var(--line-2); }
.ticks li::before {
  content: '+'; color: var(--accent);
  font-family: var(--font-mono); font-size: 13px;
  line-height: 1.3;
}
.ticks--cross li::before { content: '—'; color: var(--muted-2); }

/* =========================================================
   STEPS (HOW)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 860px){ .steps { grid-template-columns: 1fr; } }
.step {
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
  display: flex; gap: 22px; align-items: flex-start;
}
.step:last-child { border-right: 0; }
.step:not(:first-child){ padding-left: 28px; }
@media (max-width: 860px){
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0 !important; }
  .step:last-child { border-bottom: 0; }
}
.step__num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent-ink); letter-spacing: 0.08em;
  padding-top: 4px;
}
.step__body h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px;
}
.step__body p { margin: 0; color: var(--muted); font-size: 15px; }

/* =========================================================
   VIDEO
   ========================================================= */
.video-frame {
  position: relative;
  max-width: 1000px; margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16/9;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.6);
  cursor: pointer;
  isolation: isolate;
}
.video-frame__inner { position: absolute; inset: 0; }
.video-frame__still {
  position: absolute; inset: 0;
  background: url(assets/Video-thumbnail.png) center/cover no-repeat;
  z-index: 0;
}
@keyframes videoPulse {
  0%,100% { filter: brightness(1); }
  50%     { filter: brightness(1.15); }
}

.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform .25s ease;
  padding-left: 4px;
}
.video-play:hover { transform: scale(1.08); }
.video-play__ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--line-2);
  animation: ring 2.4s ease-out infinite;
}
.video-play__ring--2 { animation-delay: 1.2s; }
@keyframes ring {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.video-frame__meta {
  position: absolute; top: 18px; left: 18px;
  display: flex; gap: 10px; align-items: center;
  z-index: 2;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
}
.video-frame__chip {
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(5,12,26,.55);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}
.video-frame__time {
  padding: 5px 10px; border-radius: 999px;
  background: rgba(243,246,252,.08);
}
.video-frame__caption {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  z-index: 2;
  color: var(--ink);
  font-size: clamp(15px, 1.4vw, 19px);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 58ch;
}
.video-frame__caption em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  color: var(--accent);
}

.video-caption {
  max-width: 1000px; margin: 18px auto 0;
  text-align: center;
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  font-family: var(--font-body);
}
.video-caption em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-2);
}

/* Playing state: show an iframe or a placeholder message */
.video-frame.is-playing .video-play,
.video-frame.is-playing .video-frame__still,
.video-frame.is-playing .video-frame__meta {
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.video-frame__placeholder-playing {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono); font-size: 13px;
  text-align: center;
  z-index: 3;
  opacity: 0; transition: opacity .4s .15s;
}
.video-frame.is-playing .video-frame__placeholder-playing { opacity: 1; }

/* =========================================================
   PROOF
   ========================================================= */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: var(--maxw); margin: 0 auto;
}
@media (max-width: 900px){ .proof-grid { grid-template-columns: 1fr; } }
.quote {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
}
.quote__mark {
  font-family: var(--font-serif);
  font-size: 60px; line-height: 0.6;
  color: var(--accent);
  margin-bottom: 8px;
}
.quote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin: 0 0 22px;
}
.quote footer {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 13px;
  color: var(--muted);
}
.quote footer strong { color: var(--ink); font-weight: 500; }
.quote--metric {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-4));
  color: var(--ink);
  border-color: var(--accent-soft);
  display: flex; flex-direction: column; justify-content: space-between;
}
.quote--metric .quote__big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(64px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.quote__big-suf { color: var(--accent); }
.quote--metric p {
  font-size: 16px; color: var(--muted);
  font-family: var(--font-body); font-weight: 400;
  margin: 0;
}

/* =========================================================
   FUNNEL
   ========================================================= */
.section--funnel {
  background: linear-gradient(180deg, var(--bg-4) 0%, #060D1F 100%);
  color: var(--ink);
  max-width: none;
  padding-left: 0; padding-right: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--funnel::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, oklch(0.80 0.14 230 / 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.funnel-wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) var(--pad-x);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px){
  .funnel-wrap { grid-template-columns: 1fr; gap: 40px; }
}

.funnel-side__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
}
.funnel-side__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 22px 0 18px;
}
.funnel-side__lede {
  color: var(--muted);
  font-size: 16px; line-height: 1.55;
  max-width: 42ch;
}
.funnel-side__list {
  list-style: none; padding: 0; margin: 28px 0 36px;
  display: flex; flex-direction: column; gap: 12px;
  color: var(--ink-2); font-size: 14px;
}
.funnel-side__list li {
  display: flex; align-items: center; gap: 10px;
}
.funnel-side__list svg { color: var(--accent); flex: 0 0 auto; }

.funnel-side__founders {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.funnel-side__founders img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 1px solid var(--line-2);
}
.funnel-side__founders strong { display: block; font-weight: 500; font-size: 14px; }
.funnel-side__founders span { color: var(--muted); font-size: 13px; }

/* Card */
.funnel-card {
  background: var(--bg-2);
  color: var(--ink);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.6);
  position: relative;
}

/* Progress */
.progress { margin-bottom: 28px; }
.progress__bar {
  height: 3px; border-radius: 3px;
  background: var(--bg-3);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  background: var(--accent);
  width: 25%;
  transition: width .45s cubic-bezier(.6,.1,.2,1);
}
.progress__steps {
  margin-top: 12px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.progress__step {
  transition: color .25s;
  text-transform: uppercase;
}
.progress__step.is-active { color: var(--accent); }
.progress__step.is-done { color: var(--ink-2); }
@media (max-width: 540px){
  .progress__steps { font-size: 10px; }
}

/* Steps */
.funnel .step {
  display: none; padding: 0; border: 0;
  flex-direction: column; align-items: stretch;
  animation: stepIn .35s ease;
}
.funnel .step[data-active] { display: flex; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.step__legend {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  padding: 0; margin: 0 0 6px;
}
.step__hint { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

/* Choices (radios) */
.choices {
  display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.choices--2 .choice--wide { grid-column: 1 / -1; }
@media (max-width: 520px){ .choices { grid-template-columns: 1fr; } .choices--2 .choice--wide { grid-column: auto; } }
.choice {
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 18px;
  transition: all .2s ease;
  background: var(--bg-3);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: var(--ink); transform: translateY(-1px); }
.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--bg-4);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.choice:has(input:checked) .choice__sub { color: var(--muted); }
.choice:has(input:checked) .choice__title { color: var(--ink); }
.choice__icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  transition: background .2s;
}
.choice:has(input:checked) .choice__icon {
  background: rgba(243,246,252,.08); color: var(--accent);
}
.choice__title { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.choice__sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* Fields */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px){ .grid--2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; margin-top: 8px; }
.field__label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.field__optional { color: var(--muted-2); text-transform: none; letter-spacing: 0; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg-3);
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; font-family: inherit; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'><path d='M3 6l5 5 5-5' stroke='%23F3F6FC' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.80 0.14 230 / 0.18);
}

/* Chips (checkbox pills) */
.chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px;
}
.chip {
  position: relative; cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  font-size: 14px;
  transition: all .2s;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--accent); }
.chip:has(input:checked) {
  background: var(--accent-soft); color: var(--ink); border-color: var(--accent);
}
.chip:has(input:checked)::before {
  content: '✓'; margin-right: 6px; color: var(--accent); font-weight: 600;
}

/* Slots */
.slots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 6px;
}
@media (max-width: 640px){ .slots { grid-template-columns: 1fr 1fr; } }
.slot {
  cursor: pointer;
  padding: 14px; text-align: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-3);
  transition: all .2s;
  position: relative;
}
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span { display: block; font-weight: 500; font-size: 14px; }
.slot em {
  display: block; font-style: normal; font-size: 12px;
  color: var(--muted); font-family: var(--font-mono); margin-top: 4px;
}
.slot:hover { border-color: var(--accent); }
.slot:has(input:checked) {
  background: var(--accent-soft); color: var(--ink); border-color: var(--accent);
}
.slot:has(input:checked) em { color: var(--accent); }

/* Consent */
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 22px;
  padding: 14px; border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  font-size: 13px; color: var(--muted);
}
.consent input { margin-top: 3px; accent-color: var(--ink); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Nav */
.step__nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 32px;
  flex-wrap: wrap;
}
.step__counter {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted-2); letter-spacing: 0.08em;
  margin-left: auto; margin-right: auto;
}
.step__nav > .btn:first-child + .step__counter { margin-left: 0; }

/* Success */
.step--success .success {
  text-align: center;
  padding: 40px 20px;
  animation: stepIn .5s ease;
}
.success__check {
  color: var(--accent-ink);
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  animation: checkPop .6s cubic-bezier(.6,.1,.2,1) .1s both;
}
.success__check svg { width: 72px; height: 72px; }
@keyframes checkPop {
  from { transform: scale(.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.success p {
  color: var(--muted); max-width: 46ch;
  margin: 0 auto 28px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line); }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq__item summary {
  cursor: pointer;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.015em;
  list-style: none;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-ink); }
.faq__plus {
  position: relative; width: 16px; height: 16px; flex: 0 0 auto;
  transition: transform .3s;
}
.faq__plus::before,
.faq__plus::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  background: currentColor;
}
.faq__plus::before { width: 16px; height: 1.5px; }
.faq__plus::after { width: 1.5px; height: 16px; transition: transform .3s; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); }
.faq__body {
  padding: 0 0 22px;
  color: var(--muted);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.6;
  animation: fadeIn .35s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 48px var(--pad-x) 32px;
  display: flex; justify-content: space-between; gap: 32px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.footer__logo { height: 26px; width: auto; margin-bottom: 14px; filter: invert(1) brightness(1.1); }
.footer__left p { color: var(--muted); font-size: 14px; max-width: 38ch; margin: 0; }
.footer__right { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.footer__links { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.footer__links a:hover { color: var(--ink); }
.footer__bottom {
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted-2); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__social {
  display: flex; gap: 10px; align-items: center;
}
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.social-icon:hover { color: var(--accent); border-color: var(--accent); background: var(--bg-3); }

@media (max-width: 600px){
  .footer__right { align-items: flex-start; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   REFERENZEN
   ========================================================= */
.section--refs {
  overflow: hidden;
}

.refs-slider {
  position: relative;
  overflow: hidden;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.refs-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.refs-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ref-card {
  width: 380px;
  flex: 0 0 380px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.ref-card:hover { transform: translateY(-4px); border-color: var(--line-2); }

.ref-card__img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg-3);
}
.ref-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ref-card:hover .ref-card__img img { transform: scale(1.04); }

.ref-card__body {
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.ref-card__tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.ref-card__body h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 20px; letter-spacing: -.02em; margin: 0;
}
.ref-card__body p {
  font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55;
}
.ref-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 14px;
  font-size: 13px; color: var(--accent);
  font-family: var(--font-mono);
  transition: gap .2s;
}
.ref-card__link:hover { gap: 10px; }

/* =========================================================
   SCROLL TO TOP
   ========================================================= */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s, border-color .2s;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:hover { background: var(--bg-3); border-color: var(--accent); color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
