/* =================================================================
   ParkSight — tokens
   Brand palette (fixed): greens from the logo on a warm cream base,
   plus one dark "AI vision" chapter derived from the ink colour.
   ================================================================= */
:root {
  --green: #1d8b3a;
  --green-dark: #155e2b;
  --mint: #3ec07a;
  --glow: #33d784;
  --leaf: #6a9a4f;
  --emerald: #21b276;
  --forest: #147a4b;

  --cream: #fbfaf0;
  --cream-2: #fdfcf3;
  --tint: #f2f6e6;
  --ink: #173b26;
  --ink-2: #3f6b50;
  --muted: #5b7a66;
  --line: #e2e8d4;
  --line-2: #d0dcc2;
  --night: #08160f;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ground: 72%;
  --brand-gap: calc(4.1vw + 18px);

  font-family: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--cream); color: var(--ink); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* =================================================================
   Navigation
   ================================================================= */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: padding .4s var(--ease); }
.nav-inner {
  width: min(1200px, 100% - 24px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s;
}
.nav.solid { padding: 10px 0; }
.nav.solid .nav-inner {
  background: rgba(253, 252, 243, .78);
  border-color: rgba(208, 220, 194, .8);
  box-shadow: 0 10px 30px -18px rgba(23, 59, 38, .35);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
/* over the dark 3D chapter the bar turns dark too */
.nav.dark .nav-inner { background: rgba(8, 22, 15, .6); border-color: rgba(62, 192, 122, .18); box-shadow: none; }
.nav.dark .nav-logo, .nav.dark .nav-links a, .nav.dark .lang { color: #e3f2e9; }
.nav.dark .lang { border-color: rgba(255, 255, 255, .2); background: transparent; }
.nav.dark .burger svg { stroke: #e3f2e9; }

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 22px; font-weight: 500; color: var(--green);
  transition: color .3s;
}
.nav-logo img { width: 22px; height: auto; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(62, 192, 122, .14); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang {
  height: 38px; min-width: 42px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--green-dark);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .5);
  transition: background .2s, border-color .2s, color .3s;
}
.lang:hover { border-color: var(--mint); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; }
.burger svg { width: 22px; height: 22px; fill: none; stroke: var(--green-dark); stroke-width: 2; stroke-linecap: round; }

/* =================================================================
   Buttons
   ================================================================= */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { --h: 38px; padding: 0 18px; font-size: 14px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--emerald), var(--green) 60%, var(--forest));
  box-shadow: 0 10px 24px -12px rgba(29, 139, 58, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* =================================================================
   Landing hero
   Only the slogan, over a night street between outlined city blocks.
   ================================================================= */
.hero { position: relative; background: var(--night); }
.hero-stage {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: start center;
  overflow: hidden;
}
.hero-road { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slogan {
  position: relative; z-index: 1;
  margin-top: 30vh; margin-top: 30svh; padding: 0 16px;
  max-width: 12ch; text-align: center;
  font-size: clamp(50px, 8.4vw, 132px); font-weight: 500; line-height: .98; letter-spacing: -.04em;
  text-wrap: balance; color: var(--cream);
  text-shadow: 0 4px 40px rgba(8, 22, 15, .9), 0 0 12px rgba(8, 22, 15, .6);
}

/* =================================================================
   Intro: the claim and what ParkSight does, right under the slogan
   ================================================================= */
.intro { padding: clamp(80px, 10vw, 140px) 0 0; }
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro-title { font-size: clamp(38px, 5vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.intro-body p { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); text-wrap: pretty; }
.intro-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

/* =================================================================
   Problem
   ================================================================= */
.problem { padding: clamp(80px, 10vw, 140px) 0; margin-top: clamp(80px, 10vw, 140px); background: var(--tint); }
.problem-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.problem-quote { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.problem-lead { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 54ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.facts dt { font-size: clamp(44px, 5vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.03em; color: var(--green); }
.facts dd { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.facts sup, .source sup { font-size: .7em; }

/* the car-park guidance sign: a plain metal sign with an LED dot-matrix counter */
.sign { display: grid; justify-items: center; }
.sign-panel {
  position: relative; width: min(100%, 320px); padding: 20px 22px 22px;
  border-radius: 4px; background: #111412;
  border: 9px solid #3a3f3c;
  box-shadow: inset 0 0 0 1px #000, 0 2px 0 #6b716d inset, 0 18px 30px -18px rgba(8, 22, 15, .55);
}
/* four screws in the frame */
.sign-panel::before {
  content: ''; position: absolute; inset: -5px; pointer-events: none;
  background:
    radial-gradient(circle at 0 0, #8a908c 0 2.5px, transparent 3px) top left / 10px 10px no-repeat,
    radial-gradient(circle at 100% 0, #8a908c 0 2.5px, transparent 3px) top right / 10px 10px no-repeat,
    radial-gradient(circle at 0 100%, #8a908c 0 2.5px, transparent 3px) bottom left / 10px 10px no-repeat,
    radial-gradient(circle at 100% 100%, #8a908c 0 2.5px, transparent 3px) bottom right / 10px 10px no-repeat;
}
/* the P square is road-sign blue, like real Polish car-park signs (a deliberate exception to the green palette) */
.sign-head { display: flex; align-items: center; gap: 14px; }
.sign-p {
  width: 52px; height: 52px; display: grid; place-items: center; flex: none;
  background: #1a5aa8; color: #fff; border-radius: 4px;
  box-shadow: inset 0 0 0 3px #1a5aa8, inset 0 0 0 5px #fff;
  font-size: 34px; font-weight: 600; line-height: 1;
}
.sign-label { font-size: 17px; font-weight: 600; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; color: #e9ece9; }
.sign-display {
  margin-top: 18px; padding: 8px; border-radius: 2px;
  background: #050605; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9);
}
.led { display: block; width: 100%; height: auto; }
.led-off { fill: #143524; }
.led-on { fill: #6bffab; filter: drop-shadow(0 0 1.5px rgba(77, 255, 154, .9)) drop-shadow(0 0 6px rgba(51, 215, 132, .5)); }
.sign-pole { position: relative; width: 12px; height: 96px; background: linear-gradient(90deg, #5a605c, #8d938f 45%, #3d423f); }
.sign-pole i { position: absolute; left: -3px; right: -3px; height: 6px; background: #4a504c; border-radius: 1px; }
.sign-pole i:first-child { top: 10px; }
.sign-pole i:last-child { top: 26px; }
.sign-q { margin-top: 18px; font-size: 20px; font-weight: 500; color: var(--muted); }
.source { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* =================================================================
   3D scan chapter
   ================================================================= */
.scan { position: relative; height: 520vh; height: 520svh; background: var(--night); color: #e3f2e9; }
.scan-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#scanCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan-labels { position: absolute; inset: 0; pointer-events: none; }
.scan-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 22, 15, .92) 0%, rgba(8, 22, 15, .55) 28%, transparent 48%),
    radial-gradient(ellipse at 60% 50%, transparent 55%, rgba(8, 22, 15, .6));
}
.scan-ui { position: absolute; inset: 0; pointer-events: none; }
.scan-copy {
  position: absolute; left: max(24px, calc((100vw - 1160px) / 2)); top: 50%; transform: translateY(-50%);
  width: min(400px, 36vw);
}
.scan-title { font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; color: #fff; margin-bottom: 28px; }
.scan-steps { list-style: none; display: grid; gap: 6px; }
.scan-steps li {
  position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  padding: 14px 0 16px; border-top: 1px solid rgba(255, 255, 255, .1);
  transition: opacity .4s;
  opacity: .45;
}
.scan-steps li.is-active { opacity: 1; }
.scan-steps .n {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  font-size: 14px; font-weight: 600; color: var(--glow); border: 1px solid rgba(51, 215, 132, .4);
  transition: background .3s, color .3s;
}
.scan-steps li.is-active .n { background: var(--glow); color: var(--night); border-color: var(--glow); }
.scan-steps h3 { font-size: 19px; font-weight: 500; line-height: 1.3; color: #fff; }
.scan-steps p { font-size: 16px; color: rgba(227, 242, 233, .72); max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), margin .5s var(--ease); }
.scan-steps li.is-active p { max-height: 120px; margin-top: 6px; }
.scan-steps .bar { position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--glow); }
.scan-steps li.is-active .bar { width: calc(var(--step-p, 0) * 100%); }

.scan-hud {
  position: absolute; right: max(24px, calc((100vw - 1160px) / 2)); top: 92px;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 14px; border-radius: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: .02em;
  color: rgba(227, 242, 233, .85); background: rgba(8, 22, 15, .55); border: 1px solid rgba(51, 215, 132, .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.scan-hud b { color: var(--glow); font-weight: 500; }
.rec { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .1em; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4f; animation: blink 1.2s steps(2) infinite; }
.scan-note { position: absolute; right: max(24px, calc((100vw - 1160px) / 2)); bottom: 24px; font-size: 13px; color: rgba(227, 242, 233, .4); }

/* bay labels rendered by CSS2DRenderer */
.bay-tag {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; line-height: 1.3; white-space: nowrap;
  color: rgba(227, 242, 233, .75); background: rgba(8, 22, 15, .72); border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.bay-tag b { font-weight: 500; color: #fff; }
.bay-tag.free { color: var(--night); background: var(--glow); border-color: var(--glow); }
.bay-tag.free b { color: var(--night); }
.bay-tag.taken span { opacity: .7; }
.bay-tag.target { transform: scale(1.45); box-shadow: 0 0 24px rgba(51, 215, 132, .6); }
.bay-tag.entry { color: #fff; background: rgba(8, 22, 15, .8); border-color: var(--glow); font-size: 12px; }

/* no WebGL: show the steps as a normal section */
html.no-scan .scan { height: auto; padding: 96px 0; }
html.no-scan .scan-stage { position: static; height: auto; }
html.no-scan #scanCanvas, html.no-scan .scan-hud, html.no-scan .scan-vignette, html.no-scan .scan-note { display: none; }
html.no-scan .scan-ui { position: static; }
html.no-scan .scan-copy { position: static; transform: none; width: auto; max-width: 640px; margin: 0 auto; padding: 0 24px; }
html.no-scan .scan-steps li { opacity: 1; }
html.no-scan .scan-steps p { max-height: none; margin-top: 6px; }

/* =================================================================
   Generic sections
   ================================================================= */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.sub { margin-top: 16px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }

/* ---------- comparison ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.compare thead th { font-size: 15px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.compare thead th.us { color: var(--green-dark); }
.compare thead th.us img { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.compare tbody th { font-weight: 500; width: 26%; }
.compare td { color: var(--ink-2); }
.compare td .ico { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.compare .yes { color: var(--green); }
.compare .no { color: #b0806b; }
.compare .us { background: rgba(62, 192, 122, .09); color: var(--ink); font-weight: 500; }

/* ---------- audiences ---------- */
.rows { border-top: 2px solid var(--ink); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 190px; gap: 24px 48px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--line-2);
}
.row h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.2; }
.row p { color: var(--ink-2); max-width: 52ch; }
.row .link { justify-self: end; }
.link {
  font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--green-dark);
  border-bottom: 2px solid var(--mint); padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.link:hover { color: var(--green); border-color: var(--green); }

/* ---------- progress ---------- */
.pr-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.award {
  position: relative; overflow: hidden; padding: clamp(28px, 3vw, 40px); border-radius: 24px; color: #fff;
  background: radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(140deg, var(--emerald) 0%, var(--green) 45%, var(--forest) 100%);
}
.award::after {
  content: ''; position: absolute; right: -40px; bottom: -60px; width: 260px; height: 340px;
  background: url("../assets/logo-mark.svg") no-repeat center / contain;
  opacity: .12; filter: brightness(3) saturate(0); transform: rotate(-12deg);
}
.award-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.award-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .25); }
.award-ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.award-kicker { font-size: 15px; font-weight: 500; opacity: .85; }
.award h3 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.award > p { max-width: 44ch; opacity: .92; position: relative; z-index: 1; }
.award-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(20px, 3vw, 40px); margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
.award-stats dt { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1; }
.award-stats dd { margin-top: 6px; font-size: 14px; opacity: .85; }

.roadmap { display: grid; gap: 32px; justify-items: start; }
.timeline { list-style: none; position: relative; display: grid; gap: 20px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--mint) 0%, var(--mint) 45%, var(--line-2) 55%); }
.timeline li { position: relative; padding-left: 36px; display: grid; gap: 2px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); border: 2px solid var(--line-2); }
.timeline li.done::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--mint); }
.timeline li.now::before { border-color: var(--mint); animation: ring 2s ease-out infinite; }
.timeline li.now::after { content: ''; position: absolute; left: 6px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.timeline b { font-weight: 500; font-size: 18px; }
.timeline span { font-size: 15px; color: var(--muted); }
.timeline li:not(.done):not(.now) b { color: var(--ink-2); }

.press { margin-top: clamp(56px, 6vw, 80px); }
.press-label { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.press-list { list-style: none; border-top: 1px solid var(--line-2); }
.press-list a {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line-2); text-decoration: none;
  transition: color .2s, padding .3s var(--ease);
}
.press-list a:hover { color: var(--green); padding-left: 8px; }
.press-list b { font-weight: 600; font-size: 15px; color: var(--green-dark); }
.press-list span { color: var(--ink-2); }
.press-list .ico { color: var(--muted); width: 16px; height: 16px; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.person { display: flex; align-items: center; gap: 20px; }
.avatar {
  flex: none; width: 96px; height: 96px; padding: 3px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--leaf), var(--emerald), var(--forest), var(--mint), var(--leaf));
  display: grid;
}
/* Initials and photo share one grid cell; the photo covers the initials once it loads. */
.avatar span, .avatar img {
  grid-area: 1 / 1;
  width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; object-fit: cover;
  font-size: 28px; font-weight: 500; color: var(--green-dark);
  background: linear-gradient(135deg, #d7efc2, #faf9ec); border: 3px solid var(--tint);
}
.person h3 { font-size: 21px; font-weight: 500; line-height: 1.2; }
.role { color: var(--green); font-weight: 500; font-size: 16px; }
.in { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 8px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--green-dark); transition: background .2s, color .2s, border-color .2s; }
.in svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.in:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 19px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--green); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- contact form ---------- */
.section-contact { padding-top: 24px; }
.contact {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  border-radius: 32px; color: #f4f9ee;
  background: radial-gradient(900px 420px at 85% 0%, #1d5a37, transparent 70%), var(--night);
}
.contact-mark { width: 40px; height: auto; margin-bottom: 24px; filter: drop-shadow(0 8px 24px rgba(62, 192, 122, .5)); }
.contact .sub { color: rgba(227, 242, 233, .72); }
.cform { display: grid; gap: 18px; max-width: 720px; margin-top: 36px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 15px; font-weight: 500; color: rgba(227, 242, 233, .8); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  font: inherit; font-size: 17px; color: #f4f9ee;
  background-color: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, #e3f2e9 50%), linear-gradient(135deg, #e3f2e9 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field select option { color: var(--ink); background: #fff; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--glow); background-color: rgba(51, 215, 132, .06); }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.cform-status { font-size: 15px; color: rgba(227, 242, 233, .75); }
.cform-status.is-error { color: #ff9a8f; }
.cform-status.is-ok { color: var(--glow); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; margin-top: 36px; }
.contact-grid .cform { margin-top: 0; }
.contact-aside { display: grid; gap: 14px; justify-items: start; padding-top: 30px; }
.contact-label { font-size: 15px; color: rgba(227, 242, 233, .6); }
.contact-mail { font-size: clamp(20px, 2vw, 26px); font-weight: 500; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); transition: border-color .2s, color .2s; }
.contact-mail:hover { color: var(--glow); border-color: var(--glow); }
.contact-in {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: #e3f2e9; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .16); transition: background .2s, border-color .2s, color .2s;
}
.contact-in:hover { background: var(--mint); border-color: var(--mint); color: var(--night); }
.contact-in svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- footer ---------- */
.footer { padding: 40px 0 44px; background: var(--cream); font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: grid; line-height: 1.25; }
.footer-brand b { font-size: 18px; font-weight: 500; color: var(--green); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--green-dark); }

/* =================================================================
   Keyframes
   ================================================================= */
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(62, 192, 122, .45); } 100% { box-shadow: 0 0 0 12px rgba(62, 192, 122, 0); } }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1024px) {
  .problem-grid, .pr-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { padding-top: 0; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .row .link { justify-self: start; }
}

@media (max-width: 860px) {
  .burger { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 6px); left: 12px; right: 12px;
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px;
    background: rgba(253, 252, 243, .97); border: 1px solid var(--line-2);
    box-shadow: 0 30px 60px -28px rgba(23, 59, 38, .35);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.dark .nav-links a { color: var(--ink-2); }
  .nav-links a { padding: 12px 16px; font-size: 17px; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-actions { margin-left: auto; }
  .intro-grid { grid-template-columns: 1fr; align-items: start; }

  /* scan chapter: copy becomes a bottom card, labels shrink */
  .scan-vignette { background: linear-gradient(0deg, rgba(8, 22, 15, .95) 0%, rgba(8, 22, 15, .6) 30%, transparent 55%); }
  .scan-copy { left: 16px; right: 16px; top: auto; bottom: 20px; transform: none; width: auto; }
  .scan-title { font-size: 22px; margin-bottom: 10px; }
  .scan-steps li { display: none; padding: 12px 0 4px; }
  .scan-steps li.is-active { display: grid; }
  .scan-hud { top: 82px; right: 16px; left: 16px; justify-content: space-between; font-size: 12px; }
  .scan-note { display: none; }
  .bay-tag { font-size: 9px; padding: 2px 5px; }
  .bay-tag span { display: none; }
  .bay-tag.target span, .bay-tag.entry span { display: inline; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { width: calc(100% - 32px); }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-grid, .cform-row { grid-template-columns: 1fr; }
  .award-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .award-stats dt { font-size: 22px; }
  .press-list a { grid-template-columns: 1fr auto; }
  .press-list span { grid-column: 1; }
  .press-list .ico { grid-row: 1 / span 2; grid-column: 2; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
