/* Vanto landing page — M2 slice (a). Lean, responsive, dark hero.
   Design intent: docs/design/landing-benchmarks.md (benefit-first hero,
   one ranked CTA, LCP-safe text hero). */

/* Self-hosted brand display face (SIL OFL) — see fonts/space-grotesk-OFL.txt */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var.87c506d88b9f.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour */
  --ink: #e6efe9;            /* primary text (dark-mode first) */
  --paper: #0c110e;         /* page background — deep charcoal-green */
  --muted: #93a89b;         /* secondary text on dark */
  --muted-2: #9fb4a6;      /* secondary text on dark */
  --text-light: #c6d4cb;   /* body text on dark */
  --text-lighter: #e8f0ea; /* emphasized text on dark */
  --link-light: #8fd6ab;   /* links on dark */
  --tint: #131c16;         /* raised surface */
  --tint-2: #18231c;       /* chip surface */
  --line: #24322a;         /* borders on dark */
  --line-2: #2f4237;
  --accent: #2fae66;
  --accent-rgb: 47 174 102;
  --accent-strong: #0e7a3f; /* white text on this passes WCAG AA (5.4:1) — use for CTAs */
  --accent-ink: #a9e8c0;    /* accent text on dark */
  --dark: #0e1b14;
  --dark-2: #14261c;
  --bar: #121d17;          /* nav/footer bar (green-black family) */
  --bar-rgb: 18 29 23;
  --danger: #b3261e;       /* errors / risk markers only */
  --danger-light: #ff9b8f;  /* error text on dark */
  /* geometry */
  --radius: 10px;
  --max: 1120px;
  /* hero + transition grounds (theme-driven) */
  --hero-a: #17311f;   /* hero gradient highlight */
  --hero-b: #0e1b14;   /* hero gradient base */
  --hero-top: #0a100c; /* section-hero band top */
  --veil: 10 16 12;    /* rgb triplet for soft fades */
  /* typography */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --fs-hero: clamp(2.1rem, 6vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 2.1rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.05rem, 2.2vw, 1.3rem);
  /* spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; line-height: 1.12; margin: 0 0 .5rem; }

/* Accessibility: visible focus + skip link */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .7rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform .05s ease, opacity .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-cta {
  background: transparent; color: var(--accent-ink);
  border: 1px solid var(--accent);
}
.btn-cta:hover { background: rgb(var(--accent-rgb) / 0.14); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); color: var(--text-lighter); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.6); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.05rem; }

/* Header — dark bar, brand (emblem + Vanto wordmark) absolutely centered */
.site-header { background: var(--bar); }
/* Home: fixed, transparent over the hero; solidifies on scroll (Ferrari/Aston). */
.home .site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.home .site-header.is-scrolled {
  background: rgb(var(--bar-rgb) / 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav-left a, .nav-right a {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem;
  position: relative; padding: 0.25rem 0;
}
.nav-left a:not(.btn)::after, .nav-right a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width 0.25s ease;
}
.nav-left a:not(.btn):hover::after, .nav-right a:not(.btn):hover::after { width: 100%; }
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 1rem;
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
}
.brand {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px; z-index: 1;
}
.brand-emblem { height: 30px; display: block; }
.brand-wordmark { height: 22px; display: block; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 1rem; z-index: 2; }
.brand-emblem-link { display: inline-flex; align-items: center; }
.nav-left a, .nav-right a { color: var(--text-lighter); text-decoration: none; font-weight: 500; }
[dir="rtl"] .hero-scrim { background: linear-gradient(270deg, rgba(14,27,20,0.9) 0%, rgba(14,27,20,0.55) 42%, rgba(14,27,20,0) 72%); }

/* Language dropdown — accessible, no-JS (<details>), native names */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text-lighter); font-size: 0.82rem; letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; padding: 0.35rem 0.7rem;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { border-color: var(--accent); }
.lang-flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-caret { font-size: 0.7rem; opacity: 0.8; }
.lang-menu[open] .lang-caret { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  list-style: none; margin: 0; padding: 6px;
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  min-width: 180px; max-height: 60vh; overflow: auto;
}
[dir="rtl"] .lang-list { right: auto; left: 0; }
.lang-option {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  color: #cdd6cf; font: inherit; padding: 0.5rem 0.65rem; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
}
.lang-option:hover { background: rgba(47, 174, 102, 0.16); color: #fff; }
.lang-option.is-current { color: var(--link-light); font-weight: 700; }

/* Hero — full-bleed, Three.js model behind the copy (Ferrari/Aston grammar) */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--tint-2);
  /* Immediate LCP background (renders before the model loads). */
  background: radial-gradient(120% 130% at 72% 18%, var(--hero-a) 0%, var(--hero-b) 58%);
}
.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-3d.is-loaded { opacity: 1; }
.hero-3d canvas { display: block; width: 100% !important; height: 100% !important; }
/* Default scrim: left-to-right. Spread hero overrides below. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--veil) / 0.9) 0%, rgb(var(--veil) / 0.55) 42%, rgb(var(--veil) / 0) 72%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.hero-copy { max-width: min(34rem, 46vw); }
@media (max-width: 720px) {
  .hero-copy { max-width: 100%; }
}
[dir="rtl"] .hero-inner { justify-content: flex-end; }
[dir="rtl"] .hero-copy { text-align: right; }

/* Museum / magazine opening spread: canvas dominates, caption bottom-right. */
.hero--spread {
  align-items: stretch;
}
.hero--spread .hero-scrim {
  background: linear-gradient(
    to top left,
    rgb(var(--veil) / 0.88) 0%,
    rgb(var(--veil) / 0.45) 32%,
    rgb(var(--veil) / 0) 62%
  );
}
.hero--spread .hero-inner {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(1.75rem, 5vw, 3rem);
}
.hero--spread .hero-copy {
  max-width: min(52rem, 72vw);
  text-align: right;
}
.hero--spread .hero-title {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  white-space: nowrap;
  margin-bottom: 0.2rem;
}
.hero-stat {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero-stat .accent { color: var(--accent); }
.hero--spread .hero-sub {
  margin-left: auto;
  max-width: 42ch;
  font-size: var(--fs-lead);
}
.hero--spread .hero-actions {
  justify-content: flex-end;
}
@media (max-width: 720px) {
  .hero--spread .hero-copy { max-width: 100%; }
  .hero--spread .hero-title { white-space: normal; }
}
[dir="rtl"] .hero--spread .hero-inner {
  justify-content: flex-start;
}
[dir="rtl"] .hero--spread .hero-copy { text-align: left; }
[dir="rtl"] .hero--spread .hero-sub { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero--spread .hero-actions { justify-content: flex-start; }
[dir="rtl"] .hero--spread .hero-scrim {
  background: linear-gradient(
    to top right,
    rgb(var(--veil) / 0.88) 0%,
    rgb(var(--veil) / 0.45) 32%,
    rgb(var(--veil) / 0) 62%
  );
}
@media (prefers-reduced-motion: reduce) {
  .hero-3d { transition: none; }
}

.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: linear-gradient(0deg, rgb(var(--veil) / 0.9), transparent);
  pointer-events: none; z-index: 2;
}
/* Centered hero variant (CTA in the middle of the hero) */
.hero-inner--center { text-align: center; max-width: 820px; }
.hero-inner--center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-actions--center { justify-content: center; }
.hero-scrim--center {
  background: radial-gradient(120% 100% at 50% 45%, rgb(var(--veil) / 0.5) 0%, rgb(var(--veil) / 0.82) 100%);
}

/* Startup Day Two event band */
.section--event { background: var(--tint); display: flex; justify-content: center; }
.event-card {
  text-align: center; max-width: 760px;
  background: linear-gradient(160deg, var(--dark-2), var(--dark));
  border: 1px solid #23382b; border-radius: 14px;
  padding: clamp(2rem, 5vw, 3rem);
}
.event-band { display: flex; gap: 0.6rem; justify-content: center; align-items: center; margin-bottom: 1rem; }
.event-tag {
  background: var(--accent); color: #04120a; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem;
}
.event-host { color: var(--link-light); font-weight: 600; }
.event-title { color: var(--tint-2); font-size: clamp(1.5rem, 4vw, 2.2rem); }
.event-meta { color: var(--muted-2); margin-bottom: 1rem; }
.event-copy { color: var(--text-light); max-width: 56ch; margin: 0 auto 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--link-light); margin: 0 0 .75rem; }
.hero-title { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.02em; }
.hero-title .accent { color: var(--accent); }
.hero-sub { max-width: 46ch; font-size: var(--fs-lead); color: var(--text-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Full-bleed sections — full-width background, constrained inner container */
.section { width: 100%; padding: clamp(3rem, 7vw, 5rem) 1.5rem; }
.container { max-width: var(--max); margin: 0 auto; }
.section-title { font-size: var(--fs-h2); text-align: center; margin-bottom: 2rem; }

.section--products { background: var(--paper); }
.section--products .panel-body { justify-content: flex-start; }
.section--products .panel-body > .container {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.panel-endline {
  margin-top: auto;
  margin-inline: auto;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--muted);
  max-width: 52ch;
}
.section--trust { background: linear-gradient(180deg, rgb(var(--veil) / 0), rgb(var(--veil) / 0.95) 35%, rgb(var(--veil) / 0)); color: var(--text-light); text-align: center; }
.section--pilot { background: var(--tint); text-align: center; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.product-card {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.product-card h3 { color: var(--accent-ink); }
.product-card p { color: var(--muted); margin: 0; }
.product-icon { margin-bottom: .75rem; }

.section--pilot p { max-width: 52ch; margin: 0 auto 1.5rem; color: var(--muted); }

/* Demo / pitch ribbon */
.demo-ribbon {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  background: var(--accent-strong); color: #fff;
  display: flex; gap: 1rem; align-items: center; justify-content: center;
  padding: 0.35rem 1rem; font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.demo-ribbon .demo-hint { opacity: 0.85; text-transform: none; letter-spacing: 0; font-weight: 500; }

/* News & updates strip */
.section--news { background: var(--tint); }
.section--news-page { background: var(--paper); }
.news-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.news-head .section-title { text-align: left; margin-bottom: var(--space-6); }
.news-all { color: var(--accent-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.news-grid--page { margin-top: var(--space-6); }
.news-card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-6); }
.news-kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.7rem; font-weight: 700; color: var(--accent-strong); margin-bottom: var(--space-2);
}
.news-card h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--accent-ink); }
.news-card p { color: var(--muted); margin: 0 0 var(--space-3); font-size: 0.92rem; }
.news-card time { color: #8a9a90; font-size: 0.8rem; }

/* Get-started tri-card hub */
.section--getstarted { background: var(--paper); }
.gs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.gs-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-6); transition: transform 0.08s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.gs-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 24px rgba(14,27,20,0.08); }
.gs-card h3 { color: var(--accent-ink); margin-bottom: var(--space-2); }
.gs-card p { color: var(--muted); margin: 0 0 var(--space-3); }
.gs-go { color: var(--accent-strong); font-weight: 800; }

/* Legal / prose pages */
.section--legal { background: var(--paper); }
.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.prose h2 { margin-top: 2rem; font-size: 1.2rem; color: var(--accent-ink); }
.prose p { color: var(--ink); }
.prose .muted { color: var(--muted); }
.prose a { color: var(--accent-ink); text-decoration: underline; }

/* Spec-chip component (feeds M7 product blocks / M8 proof band) */
.spec-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0; }
.spec-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--tint-2); border: 1px solid var(--line-2); color: var(--accent-ink);
  border-radius: 999px; padding: 0.3rem 0.7rem; font-size: 0.82rem; font-weight: 600;
}
.spec-chip .val { font-weight: 800; }
.spec-chip--dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: var(--line-2); }

/* RTL targeted fixes */
[dir="rtl"] .skip-link { left: auto; right: -999px; border-radius: 0 0 0 8px; }
[dir="rtl"] .skip-link:focus { right: 0; left: auto; }
[dir="rtl"] .prose { text-align: right; }

/* Pilot lead form */
.container--narrow { max-width: 560px; }
.lead-form { text-align: left; margin-top: 1.5rem; }
.lead-form .field { margin-bottom: 1rem; }
.lead-form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 0.65rem 0.75rem; font: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: var(--tint-2);
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.lead-form .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; margin: 0.5rem 0 1.25rem; }
.lead-form .consent input { width: auto; margin-top: 0.25rem; }
.lead-form .btn { width: 100%; }
/* Honeypot: off-screen, not display:none (bots skip display:none). Applies to ALL forms. */
/* Clipped in place (not pushed to left:-9999px): an off-screen offset makes RTL
   pages (ar) thousands of px wide. Still present for bots, invisible to people. */
.hp, .honeypot {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.form-status { min-height: 1.2em; margin-top: 0.75rem; font-weight: 600; }
.form-status.is-ok { color: var(--accent-ink); }
.form-status.is-err { color: var(--danger); }
.lead-form input.is-invalid, .lead-form textarea.is-invalid { border-color: var(--danger); outline-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.85rem; margin: 0.25rem 0 0; }
.lead-form[aria-busy="true"] button[type="submit"] { opacity: 0.7; cursor: progress; }
.send-another { margin-top: 0.75rem; }

/* Footer — multi-column (cPanel-style), collapses to 2 then 1 on small screens */
.site-footer { background: var(--bar); color: var(--text-light); }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
}
/* Constrain the wordmark (global img{height:auto} otherwise renders it full-size). */
.footer-logo { height: 34px; width: auto; margin-bottom: 1rem; }
.footer-col h3,
.footer-col h5 {
  color: var(--tint-2); font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin: 0 0 0.85rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--muted-2); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; color: var(--muted-2); }
.footer-contact li { margin-bottom: 0.4rem; }
.footer-contact a { color: var(--muted-2); text-decoration: none; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; color: #7f9187; }
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: var(--muted-2); text-decoration: none; font-size: 0.85rem; }

/* Newsletter — full-viewport photographic hero (not a footer strip) */
.nl-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-lighter);
  background: var(--hero-b);
  scroll-snap-align: start;
}
.nl-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.nl-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(90% 80% at 50% 45%, rgb(var(--veil) / 0.35) 0%, rgb(var(--veil) / 0.78) 100%),
    linear-gradient(0deg, rgb(var(--veil) / 0.92) 0%, rgb(var(--veil) / 0.2) 42%, rgb(var(--veil) / 0.55) 100%);
}
.nl-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  text-align: center;
}
.nl-hero-inner .hero-title { color: #fff; margin: 0 0 0.6rem; }
.nl-hero-inner .hero-sub { margin: 0 auto 1.75rem; }
.nl-hero .news-form--hero { max-width: 28rem; margin: 0 auto; text-align: left; }
.nl-hero .news-label { color: var(--muted-2); }
.nl-hero .news-consent { color: var(--text-light); }
.nl-hero .news-consent a { color: var(--link-light); }
.nl-hero .news-status.is-ok { color: var(--link-light); }
.nl-hero .news-status.is-err { color: var(--danger-light); }
@media (prefers-reduced-motion: reduce) {
  .nl-hero { scroll-snap-align: none; }
}

/* Newsletter form fields */
.news-form .news-label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.4rem;
}
/* Input component — shared field styling (light default, dark variant) */
.input {
  width: 100%; padding: 0.65rem 0.8rem; font: inherit; color: var(--ink);
  background: var(--tint-2); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:hover { border-color: var(--line-2); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 174, 102, 0.18); }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12); }
.input--dark {
  background: var(--bar); color: var(--text-lighter);
  border-color: #33443a;
}
.input--dark::placeholder { color: var(--muted-2); }
.input--dark:hover { border-color: #4a5f53; }
.input--dark:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 174, 102, 0.22); }
.news-row { display: flex; gap: 0.5rem; align-items: stretch; }
.news-row .input { flex: 1; min-width: 0; }
.news-row .btn { flex: 0 0 auto; white-space: nowrap; }
.news-form .input { margin-bottom: 0.6rem; }
.news-form .news-row .input { margin-bottom: 0; }
.news-consent { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8rem; color: var(--muted-2); margin-bottom: 0.75rem; }
.news-consent a { color: var(--link-light); }
.news-status { font-size: 0.82rem; min-height: 1em; margin: 0.5rem 0 0; }
.news-status.is-ok { color: var(--link-light); }
.news-status.is-err { color: var(--danger-light); }

/* Sliding consent panel (half width, slides in from the right) */
.consent-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 400;
  width: min(50vw, 520px);
  background: var(--dark); color: var(--text-light);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.45);
  display: flex; flex-direction: column;
  transform: translateX(105%); visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s;
}
.consent-panel.is-open { transform: none; visibility: visible; }
@media (max-width: 640px) { .consent-panel { width: 100%; } }
.cp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cp-head strong { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.cp-close { background: none; border: 0; color: var(--muted-2); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cp-close:hover { color: #fff; }
.cp-tabs { display: flex; gap: 0.25rem; padding: 0.75rem 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cp-tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--muted-2); font: inherit; font-size: 0.85rem; padding: 0.5rem 0.6rem; cursor: pointer;
}
.cp-tabs button:hover { color: var(--text-lighter); }
.cp-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--accent); }
.cp-body { padding: 1.2rem 1.4rem 1.6rem; overflow: auto; flex: 1; }
.cp-body h3 { color: #fff; font-size: 0.95rem; margin: 0.9rem 0 0.35rem; }
.cp-body h3:first-child { margin-top: 0; }
.cp-body p { font-size: 0.9rem; color: var(--text-light); margin: 0 0 0.5rem; }
.cp-body a { color: var(--link-light); }
.cp-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.cp-actions .btn { flex: 1; text-align: center; }
.btn-decline { background: transparent; border: 1px solid var(--muted); color: var(--text-lighter); }
.btn-decline:hover { border-color: var(--muted-2); background: rgba(255,255,255,0.04); }
.cp-current { font-size: 0.8rem; color: var(--link-light); margin: 0.9rem 0 0; min-height: 1em; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted-2); font: inherit; font-size: 0.85rem; cursor: pointer; text-decoration: none; }
.linklike:hover { color: var(--accent); }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .brand-wordmark { height: 18px; }
  .brand-emblem { height: 26px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* Page hero band — inner pages (news, legal), mirrors the report hero-band logic */
.page-hero {
  background: var(--dark); color: #fff;
  border-bottom: 3px solid var(--accent);
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
}
.page-hero h1 { color: #fff; font-size: var(--fs-h2); margin: 0 0 0.35rem; }
.page-hero .page-hero-sub { color: var(--text-light); margin: 0; font-size: 1rem; max-width: 60ch; }

/* Section-hero bands — every home section gets the hero treatment
   (kicker + title + one-line subtitle + accent rule, tokens only) */
.section-hero {
  position: relative;
  /* the title zone dissolves into the panel body — no band edge at all */
  background: linear-gradient(
    180deg,
    var(--hero-top) 0%,
    rgb(var(--veil) / 0.62) 42%,
    rgb(var(--veil) / 0.0) 100%
  );
  color: #fff;
  padding: clamp(2.4rem, 6vw, 3.8rem) 0 clamp(0.6rem, 2vw, 1.2rem);
}
/* soft accent aura behind the title instead of a rule */
.section-hero::after {
  content: ""; position: absolute; left: 50%; top: 20%; width: 60%; height: 55%;
  transform: translateX(-50%);
  background: radial-gradient(60% 60% at 50% 50%, rgb(var(--veil) / 0.0) 0%, transparent 100%);
  pointer-events: none;
}
/* anchor jumps land below the nav */
section[id] { scroll-margin-top: 72px; }

/* Full-viewport hero panels — every section is full width + height */
.panel {
  width: 100%;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background-image:
    linear-gradient(0deg, rgb(var(--veil) / 0.85) 0%, rgb(var(--veil) / 0) 140px);
}
.panel .section-hero { flex: 0 0 auto; }
.panel-body {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  width: 100%;
  padding: clamp(1.2rem, 3vw, 2.2rem) 0 clamp(2.4rem, 6vw, 4rem);
}
html { scroll-snap-type: y proximity; }
.hero, .panel { scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) { html { scroll-snap-type: none; } }
/* main hero matches the panel height */
.hero { min-height: 100svh; }
.section-hero .sh-kicker {
  margin: 0 0 0.35rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--link-light);
}
.section-hero .sh-title { color: #fff; font-size: var(--fs-h2); margin: 0 0 0.35rem; }
.section-hero .sh-sub { color: var(--text-light); margin: 0; max-width: 62ch; font-size: 0.98rem; }
.section-hero .sh-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-hero .sh-link { color: var(--link-light); font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-hero .sh-link:hover { color: #fff; }
/* polish: product cards lift on hover like the get-started cards */
.product-card { transition: transform 0.08s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.product-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 24px rgba(14, 27, 20, 0.08); }

/* ---- Colour-palette themes (dropdown-switchable, dark-first, no white pages) ---- */
[data-theme="graphite"] {
  --paper: #0d1013; --dark: #12161b; --dark-2: #171d24; --bar: #0e1216;
  --bar-rgb: 14 18 22;
  --tint: #141920; --tint-2: #1a2028;
  --line: #262e38; --line-2: #33404d;
  --accent: #4cc2ff; --accent-rgb: 76 194 255; --accent-strong: #0f6f9e; --accent-ink: #a9e4ff;
  --link-light: #8fd0ff;
}
[data-theme="ember"] {
  --paper: #0f0d0b; --dark: #15110d; --dark-2: #1b1610; --bar: #110e0b;
  --bar-rgb: 17 14 11;
  --tint: #191410; --tint-2: #201a14;
  --line: #2e2620; --line-2: #3d332a;
  --accent: #f5a524; --accent-rgb: 245 165 36; --accent-strong: #9a5b00; --accent-ink: #ffd9a0;
  --link-light: #ffc46b;
}

/* Palette dropdown — mirrors the language picker */
.theme-menu { position: relative; }
.theme-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text-lighter); font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; padding: 0.35rem 0.7rem;
}
.theme-menu summary::-webkit-details-marker { display: none; }
.theme-menu summary:hover { border-color: var(--accent); }
.theme-dots { display: inline-flex; gap: 3px; }
.theme-dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.theme-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  list-style: none; margin: 0; padding: 6px;
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  min-width: 170px;
}
[dir="rtl"] .theme-list { right: auto; left: 0; }
.theme-option {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  color: var(--text-light); font: inherit; padding: 0.5rem 0.65rem; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
}
.theme-option:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.theme-option.is-current { color: var(--accent-ink); font-weight: 700; }
.theme-option .dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }

/* graphite + ember hero grounds */
[data-theme="graphite"] { --hero-a: #1d2937; --hero-b: #12161b; --hero-top: #0b0e12; --veil: 10 13 17; }
[data-theme="ember"] { --hero-a: #2e2114; --hero-b: #15110d; --hero-top: #100c09; --veil: 18 14 10; }

/* Bright Linen — warm light body, dark cinematic hero/bands (never stark white) */
[data-theme="linen"] {
  --paper: #f5f2ec; --tint: #ede8de; --tint-2: #e5dfd2;
  --line: #d9d2c3; --line-2: #c9c0ae;
  --ink: #23201a; --muted: #6b6353;
  --dark: #16211b; --dark-2: #1c2a22; --bar: #142019;
  --bar-rgb: 20 32 25;
  --accent: #2fae66; --accent-rgb: 47 174 102; --accent-strong: #0e7a3f; --accent-ink: #0b5e35;
  --hero-a: #2e4a39; --hero-b: #16211b; --hero-top: #101915; --veil: 22 33 27;
}

/* Carbon Dark — neutral near-black, brand green accent */
[data-theme="carbon"] {
  --paper: #08090a; --dark: #0c0e10; --dark-2: #111417; --bar: #090a0b;
  --bar-rgb: 9 10 11;
  --tint: #0f1113; --tint-2: #14171a;
  --line: #20242a; --line-2: #2d333c;
  --ink: #e8ecee; --muted: #97a1ab;
  --accent: #2fae66; --accent-rgb: 47 174 102; --accent-strong: #0e7a3f; --accent-ink: #a9e8c0;
  --hero-a: #1a2126; --hero-b: #0c0e10; --hero-top: #08090a; --veil: 8 10 12;
}

.panel.section { padding: 0; }  /* panels are full-bleed; .panel-body owns spacing */

/* ---- Solid button variants (from the §6a benchmark analysis) ---- */
/* .btn-key — the tactile brand anchor: solid fill, substantial, near-sharp,
   press-in hover with subtle inset depth. One per view (hero / conversion). */
.btn-key {
  background: var(--accent-strong); color: #fff; border: 0;
  border-radius: 2px;
  min-width: 150px; height: 52px; padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgb(var(--veil) / 0.4),
              inset 0 1px 2px rgba(255, 255, 255, 0.18),
              inset 0 -1px 0 rgb(0 0 0 / 0.12);
}
.btn-key:hover { background: rgb(var(--accent-rgb) / 0.24); color: var(--accent-ink); box-shadow: none; }
.btn-key:active { background: var(--accent-strong); filter: brightness(0.88); }
/* .btn-solid — the stark monochrome block: adaptive (light button on dark
   grounds, dark on light), uppercase, restrained. */
.btn-solid {
  background: var(--ink); color: var(--paper); border: 0;
  border-radius: 2px;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.78rem; font-weight: 700;
}
.btn-solid:hover { opacity: 0.88; }

/* ============================================================================
   V0 freeze (#189): Events slider, honeypot, footer extras.
   ========================================================================== */

/* Honeypot — present in the DOM for bots, invisible + unreachable for humans.
   Off-screen (not display:none) so crawlers that ignore visibility still find
   the link; aria-hidden + tabindex=-1 keep it away from AT / keyboard users.
   Zero footprint so it never shifts layout. */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);  /* clipped in place: a left:-9999px offset widens RTL pages */
}

/* --- Events slider -------------------------------------------------------- */
.events-slider { position: relative; display: flex; align-items: stretch; gap: .5rem; }
.events-track { position: relative; flex: 1 1 auto; min-height: 9rem; }
.event-slide {
  display: none;
  padding: 1.5rem 1rem;
  text-align: center;
}
.event-slide.is-active { display: block; }
.event-slide-name { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 .5rem; }
.event-slide-blurb { color: var(--muted); max-width: 44ch; margin: 0 auto; }
.event-slide-link { margin-top: .75rem; }
.event-slide-link a { color: var(--accent); text-decoration: none; }
.event-slide-link a:hover { text-decoration: underline; }
.events-arrow {
  flex: 0 0 auto;
  background: none;
  border: 1px solid var(--line, rgba(255,255,255,.2));
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  align-self: center;
}
.events-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* --- Footer extras (V0) --------------------------------------------------- */
.footer-company-name { font-weight: 600; }

/* ============================================================================
   V0 final landing (#216) — black hero, two photographic bands, contact form.
   Everything is scoped under html.v0 (set only when LANDING_MINIMAL), so the
   full V1 landing keeps the stock look. Light type on black, gold accent.
   ========================================================================== */
html.v0 { --gold: #c4a968; --gold-ink: #e3d3a4; background: #000; }
.v0 body { background: #000; font-weight: 300; }
.v0 h1, .v0 h2, .v0 h3 { font-weight: 300; }

/* Splash — wordmark only, once per session (see base.html + js/splash.js). */
.splash { display: none; }
html.splash-active .splash {
  position: fixed; inset: 0; z-index: 1000; display: flex;
  align-items: center; justify-content: center; background: #000;
  animation: splash-fade 1s ease 2s forwards;
}
.splash-name {
  width: clamp(180px, 28vw, 360px); height: auto;
  opacity: 0; animation: splash-in 0.6s ease 0.1s forwards;
}
@keyframes splash-in { to { opacity: 1; } }
@keyframes splash-fade { to { opacity: 0; visibility: hidden; } }
html.splash-active, html.splash-active body { overflow: hidden; }

/* Header — AGCO bar (emblem left, wordmark centre), flags behind a globe. */
.v0 .site-header { background: linear-gradient(180deg, rgb(0 0 0 / .6), rgb(0 0 0 / .1)); }
.v0 .site-header.is-scrolled { background: rgb(0 0 0 / .94); }
.lang-menu--globe summary { width: 44px; height: 44px; justify-content: center; padding: 0; }
.lang-globe { font-size: 1.05rem; line-height: 1; }
/* V0 header: the current language's flag (auto-picked from location on first visit). */
.lang-flag--current { width: 24px; height: 17px; }
.lang-menu--globe summary:hover .lang-flag--current,
.lang-menu--globe[open] .lang-flag--current { box-shadow: 0 0 0 2px var(--accent, #9be15d); }
.v0 .lang-list { background: #0a0a0a; }
.v0 .lang-option:hover { background: rgb(196 169 104 / .14); }
.v0 .lang-option.is-current { color: var(--gold-ink); }

/* CTA — Ferrari ghost button: outline, uppercase, arrow. */
.v0-cta {
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
  padding: .9rem 1.7rem; background: transparent; color: #fff; font: inherit;
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgb(255 255 255 / .4); border-radius: 2px; text-decoration: none;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.v0-cta:hover { border-color: var(--gold); color: var(--gold-ink); background: rgb(196 169 104 / .08); }

/* Hero — centred, black. */
.v0-hero {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: calc(76px + 2rem) 1.5rem 3rem; background: #000; text-align: center;
}
.v0-hero-inner { max-width: 900px; }
.v0-title {
  font-size: var(--fs-hero); font-weight: 200; letter-spacing: -.022em;
  color: #fff; margin: 0 0 1.25rem;
}
.v0-sub { max-width: 46ch; margin: 0 auto 2.5rem; font-size: clamp(1.3rem, 2.8vw, 1.7rem); color: var(--text-light); }

/* 01-02-03 rail — fixed on the right, desktop only. */
.v0-rail {
  position: fixed; right: clamp(1rem, 2.6vw, 2.75rem); top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; align-items: flex-end;
}
.v0-rail-item { position: relative;
  display: flex; align-items: center; gap: .6rem; height: 2.75rem; text-decoration: none;
  color: rgb(255 255 255 / .4); font-size: .62rem; letter-spacing: .08em; transition: color .25s ease;
}
.v0-rail-item i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .25s ease; }
.v0-rail-item:hover, .v0-rail-item.is-active { color: #fff; }
.v0-rail-item.is-active span { color: var(--gold-ink); }
.v0-rail-item.is-active i { background: var(--gold-ink); transform: scale(1.8); }
.v0-rail::before { content: ""; position: absolute; right: 2px; top: 1.375rem; bottom: 1.375rem; width: 1px; background: rgb(255 255 255 / .14); }
@media (max-width: 1023px), (max-height: 620px) { .v0-rail { display: none; } }

/* Photographic bands — dimmed photo behind a gradient scrim, centred text. */
.v0-band {
  position: relative; isolation: isolate; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 1.5rem; background: #000 var(--band-img) center / cover no-repeat; text-align: center;
}
.v0-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0) 22%, rgb(0 0 0 / 0) 78%, #000 100%),
    rgb(0 0 0 / .45);
}
.v0-band--rows { --band-img: url("../img/v0/rows.7f25c6c1381f.jpg"); }
.v0-band--proof { --band-img: url("../img/v0/proof.7791ed6074bd.jpg"); }
.v0-band-inner { max-width: 900px; }
.v0-band-title {
  font-size: var(--fs-h2); font-weight: 300; letter-spacing: -.018em; color: #fff;
  margin: 0 auto .9rem; max-width: 26ch; text-wrap: balance; text-shadow: 0 2px 30px rgb(0 0 0 / .5);
}
.v0-band-sub { margin: 0 auto; max-width: 44ch; font-size: 1rem; color: var(--text-light); }
.v0-band .v0-band-title { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.v0-band .v0-band-sub { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.v0-band--proof .v0-band-inner { width: 100%; max-width: none; }
.v0-band--proof .v0-band-title { max-width: none; }

/* Contact — black, dark fields, same ghost button. */
.v0-contact { padding: 7rem 0; background: #000; text-align: center; }
.v0-contact .lead-form { margin-top: 2rem; }
.v0-contact label { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.v0-contact .lead-form input, .v0-contact .lead-form textarea { border-radius: 2px; background: #0a0a0a; color: #fff; }
.v0-contact .lead-form input:focus, .v0-contact .lead-form textarea:focus { outline: none; border-color: var(--gold); }
.v0-contact .consent { text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--text-light); }
.v0-contact .consent a { color: var(--gold-ink); }
.v0-contact .v0-cta { display: flex; width: fit-content; margin: .5rem auto 0; }
.v0-contact .form-status.is-ok { color: var(--gold-ink); }

/* Footer — black; About us column. */
.v0 .footer-inner { grid-template-columns: 2fr 2fr 1fr; }
.v0 .site-footer { background: #000; border-top: 1px solid rgb(255 255 255 / .08); }
.v0 .footer-col h3 { color: var(--gold-ink); font-weight: 500; }
.footer-about p { margin: 0; max-width: 46ch; color: var(--muted-2); font-size: .9rem; }
.v0 .footer-col a:hover, .v0 .linklike:hover { color: var(--gold-ink); }
@media (prefers-reduced-motion: reduce) { html.splash-active .splash { display: none; } }

/* ==========================================================================
   V0 contact form: panel, readable errors, attempt feedback (shake + colour
   flash that eases back), mobile spacing. V0 footer on mobile.
   ========================================================================== */
.v0-contact .container--narrow { padding-inline: clamp(1.25rem, 5vw, 2rem); box-sizing: border-box; }
.v0-contact .lead-form {
  --form-edge: rgb(255 255 255 / .10);
  --form-glow: transparent;
  --form-bg: rgb(255 255 255 / .015);
  position: relative;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--form-edge);
  border-radius: 14px;
  background: var(--form-bg);
  box-shadow: 0 0 0 4px var(--form-glow), 0 18px 60px -30px var(--form-glow);
  /* The way back to normal is the slow part: ~1.8 s ease-out. */
  transition: border-color 1.8s cubic-bezier(.2,.7,.2,1), background-color 1.8s cubic-bezier(.2,.7,.2,1),
              box-shadow 1.8s cubic-bezier(.2,.7,.2,1);
}
.v0-contact .lead-form input, .v0-contact .lead-form textarea { transition: border-color .25s ease, box-shadow .25s ease; }
/* Flash states are applied instantly (transition: none), then removed so the
   transition above eases everything back to the resting palette. */
.v0-contact .lead-form.flash-err, .v0-contact .lead-form.flash-ok { transition: none; }
.v0-contact .lead-form.flash-err { --form-edge: #ff6b5e; --form-glow: rgb(255 107 94 / .28); --form-bg: rgb(255 107 94 / .07); }
.v0-contact .lead-form.flash-ok  { --form-edge: var(--gold); --form-glow: rgb(196 169 104 / .30); --form-bg: rgb(196 169 104 / .07); }

@keyframes form-shake {
  0%, 100% { transform: translateX(0); }
  12% { transform: translateX(-10px) rotate(-.4deg); }
  25% { transform: translateX(9px) rotate(.4deg); }
  37% { transform: translateX(-7px); }
  50% { transform: translateX(6px); }
  62% { transform: translateX(-4px); }
  75% { transform: translateX(3px); }
  87% { transform: translateX(-1px); }
}
@keyframes form-pulse {
  0% { transform: scale(1); } 40% { transform: scale(1.012); } 100% { transform: scale(1); }
}
.v0-contact .lead-form.is-shaking { animation: form-shake .55s cubic-bezier(.36,.07,.19,.97) both; }
.v0-contact .lead-form.is-pulsing { animation: form-pulse .6s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .v0-contact .lead-form.is-shaking, .v0-contact .lead-form.is-pulsing { animation: none; }
}

/* Errors: readable on black (#ff9b8f ≈ 8:1), marker, gentle entrance. */
@keyframes err-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.v0-contact .field-error {
  display: flex; gap: .4rem; align-items: baseline;
  margin: .4rem 0 0; color: var(--danger-light); font-size: .82rem; line-height: 1.35;
  text-transform: none; letter-spacing: 0; text-align: start;
  animation: err-in .25s ease-out both;
}
.v0-contact .field-error::before { content: "⚠"; font-size: .8em; flex: none; }
.v0-contact .lead-form input.is-invalid, .v0-contact .lead-form textarea.is-invalid {
  border-color: #ff6b5e; box-shadow: 0 0 0 3px rgb(255 107 94 / .16); outline: none;
}
/* Consent: the error goes on its own line under the checkbox row. */
.v0-contact .consent-wrap { margin: .5rem 0 1.25rem; }
.v0-contact .consent-wrap .consent { margin: 0; }
.v0-contact .consent-wrap .field-error { padding-inline-start: 1.9rem; }
.v0-contact .consent input.is-invalid { outline: 2px solid #ff6b5e; outline-offset: 2px; }

/* Summary status: centred pill under the button. */
.v0-contact .form-status {
  display: block; width: fit-content; max-width: 100%; margin: 1rem auto 0; min-height: 0;
  padding: 0; border-radius: 999px; font-size: .9rem; font-weight: 500; text-align: center;
}
.v0-contact .form-status:empty { display: none; }
.v0-contact .form-status.is-err, .v0-contact .form-status.is-ok, .v0-contact .form-status.is-busy { padding: .5rem 1rem; }
.v0-contact .form-status.is-err { color: var(--danger-light); background: rgb(255 107 94 / .10); border: 1px solid rgb(255 107 94 / .35); }
.v0-contact .form-status.is-ok  { color: var(--gold-ink); background: rgb(196 169 104 / .10); border: 1px solid rgb(196 169 104 / .35); }
.v0-contact .form-status.is-busy { color: var(--muted-2); }
.v0-contact .send-another {
  display: block; margin: .6rem auto 0; padding: .35rem .5rem; width: auto;
  background: none; border: 0; color: var(--gold-ink); font: inherit; font-size: .85rem;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.v0-contact .send-another:hover { color: #fff; }

@media (max-width: 640px) {
  .v0-contact { padding: 4.5rem 0; }
  .v0-contact .v0-cta { width: 100%; justify-content: center; }
}

/* V0 footer on phones/tablets: the desktop 3-column grid (2fr 2fr 1fr) is more
   specific than the generic mobile rule, so restate the layout here. */
@media (max-width: 760px) {
  .v0 .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; text-align: left; padding-inline: clamp(1.25rem, 6vw, 2rem); }
  .v0 .footer-brand .footer-logo { height: 30px; }
  .v0 .footer-contact li { font-size: .95rem; }
  .v0 .footer-company-name { font-weight: 600; color: var(--text-light); }
  .footer-about p { font-size: .95rem; max-width: none; }
  /* Privacy/Terms/Cookies already sit in the bottom bar: drop the duplicate column. */
  .v0 .footer-col.footer-legal { display: none; }
  .v0 .footer-bottom { flex-direction: column; align-items: flex-start; gap: .6rem; text-align: left; padding-inline: clamp(1.25rem, 6vw, 2rem); }
  .v0 .footer-bottom-links { flex-wrap: wrap; gap: .4rem 1.25rem; }
  .v0 .footer-bottom-links a, .v0 .footer-bottom-links .linklike { padding: .35rem 0; }  /* touch targets */
}
