/* ============================================================
   Vivolytix marketing site - component & section styles.
   Built entirely on the design tokens (css/tokens/*). Class
   names mirror the design-system prototype: vlx-* for the
   reusable primitives, vl-* for page sections.
   ============================================================ */

/* ---------- Layout primitives ---------- */
.vl-container    { max-width: var(--container-xl); margin: 0 auto; padding-inline: var(--gutter); }
.vl-container-lg { max-width: var(--container-lg); margin: 0 auto; padding-inline: var(--gutter); }
.vl-container-md { max-width: var(--container-md); margin: 0 auto; padding-inline: var(--gutter); }
.vl-ico { display: inline-flex; }
.vl-ico svg { display: block; }
.vl-center { text-align: center; }
.vl-link { color: var(--text-link); font-weight: 600; }

/* ---------- Section heading ---------- */
.vl-head { max-width: none; }
.vl-head--center { text-align: center; margin-inline: auto; max-width: 46ch; }
.vl-head__title { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.025em; line-height: 1.1; }
.vl-head__sub { font-size: 17px; color: var(--text-muted); line-height: 1.6; margin: 16px 0 0; max-width: 46ch; text-wrap: pretty; }
.vl-head--center .vl-head__sub { margin-inline: auto; }
.vl-eyebrow { margin-bottom: 12px; }

/* ============================================================
   Buttons (design-system Button)
   ============================================================ */
.vlx-btn {
  --_h: 40px; --_px: 18px; --_fs: var(--text-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--_h); padding: 0 var(--_px); font-size: var(--_fs);
  font-family: var(--font-sans); font-weight: var(--fw-semibold);
  letter-spacing: -0.005em; line-height: 1; white-space: nowrap; text-decoration: none;
  border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard);
  user-select: none;
}
.vlx-btn:hover { text-decoration: none; }
.vlx-btn:active { transform: translateY(0.5px) scale(0.99); }
.vlx-btn[disabled] { opacity: .5; pointer-events: none; }
.vlx-btn__ic { display: inline-flex; width: 1em; height: 1em; }
.vlx-btn__ic svg { width: 100%; height: 100%; }
.vlx-btn--sm { --_h: 32px; --_px: 13px; --_fs: var(--text-xs); border-radius: var(--radius-sm); }
.vlx-btn--lg { --_h: 48px; --_px: 24px; --_fs: var(--text-base); border-radius: var(--radius-lg); }
.vlx-btn--primary { background: var(--brand); color: var(--brand-contrast); box-shadow: var(--shadow-xs); }
.vlx-btn--primary:hover { background: var(--brand-hover); box-shadow: var(--shadow-brand); color: var(--brand-contrast); }
.vlx-btn--primary:active { background: var(--brand-active); }
.vlx-btn--secondary { background: var(--surface-card); color: var(--text-strong); border-color: var(--border-default); box-shadow: var(--shadow-xs); }
.vlx-btn--secondary:hover { background: var(--surface-hover); border-color: var(--border-strong); color: var(--text-strong); }
.vlx-btn--ghost { background: transparent; color: var(--text-body); }
.vlx-btn--ghost:hover { background: var(--surface-hover); color: var(--text-strong); }
.vlx-btn--block { width: 100%; }
.vlx-btn__spin { width: 1em; height: 1em; border-radius: 50%; border: 2px solid color-mix(in oklab, currentColor 35%, transparent); border-top-color: currentColor; animation: vlx-spin .6s linear infinite; }
@keyframes vlx-spin { to { transform: rotate(360deg); } }

/* ============================================================
   Form controls (Input, Select, textarea, Badge)
   ============================================================ */
.vlx-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-sans); }
.vlx-field__label { font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--text-strong); }
.vlx-field__req { color: var(--danger); margin-left: 2px; }
.vlx-field__hint { font-size: var(--text-xs); color: var(--text-muted); }
.vlx-field__hint--error { color: var(--danger); }

.vlx-input { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; background: var(--surface-card);
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard); }
.vlx-input:hover { border-color: var(--border-strong); }
.vlx-input:focus-within { border-color: var(--border-brand); box-shadow: 0 0 0 3px var(--ring); }
.vlx-input--error { border-color: var(--danger); }
.vlx-input--error:focus-within { box-shadow: 0 0 0 3px color-mix(in oklab, var(--danger) 30%, transparent); }
.vlx-input__el { flex: 1; border: none; background: transparent; outline: none; font-family: var(--font-sans); font-size: var(--text-sm); color: var(--text-strong); min-width: 0; }
.vlx-input__el::placeholder { color: var(--text-faint); }
.vlx-input__ic { display: inline-flex; width: 18px; height: 18px; color: var(--text-muted); flex: none; }
.vlx-input__ic svg { width: 100%; height: 100%; }

.vlx-textarea { font-family: var(--font-sans); font-size: var(--text-sm); color: var(--text-strong); background: var(--surface-card);
  border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 12px; resize: vertical; outline: none; width: 100%; }
.vlx-textarea:focus { border-color: var(--border-brand); box-shadow: 0 0 0 3px var(--ring); }
.vlx-textarea::placeholder { color: var(--text-faint); }

.vlx-select { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-sans); }
.vlx-select__label { font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--text-strong); }
.vlx-select__wrap { position: relative; display: flex; align-items: center; }
.vlx-select__el { appearance: none; width: 100%; height: 42px; padding: 0 38px 0 12px; background: var(--surface-card);
  border: 1px solid var(--border-default); border-radius: var(--radius-md); font-family: var(--font-sans);
  font-size: var(--text-sm); color: var(--text-strong); cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard); }
.vlx-select__el:hover { border-color: var(--border-strong); }
.vlx-select__el:focus { outline: none; border-color: var(--border-brand); box-shadow: 0 0 0 3px var(--ring); }
.vlx-select__chev { position: absolute; right: 12px; width: 16px; height: 16px; color: var(--text-muted); pointer-events: none; }
.vlx-select__chev svg { width: 100%; height: 100%; }

.vlx-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: var(--radius-full);
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--fw-semibold); letter-spacing: .005em;
  white-space: nowrap; border: 1px solid transparent; }
.vlx-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.vlx-badge--neutral { background: var(--surface-sunken); color: var(--text-body); border-color: var(--border-subtle); }
.vlx-badge--brand { background: var(--brand-subtle); color: var(--brand-active); }
.vlx-badge--success { background: var(--success-subtle); color: var(--success); border-color: var(--success-border); }
.vlx-badge--warning { background: var(--warning-subtle); color: var(--warning); border-color: var(--warning-border); }
.vlx-badge--danger { background: var(--danger-subtle); color: var(--danger); border-color: var(--danger-border); }
.vlx-badge--info { background: var(--info-subtle); color: var(--info); border-color: var(--info-border); }

/* ============================================================
   Top navigation
   ============================================================ */
.vl-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in oklab, var(--surface-app) 82%, transparent);
  backdrop-filter: saturate(180%) blur(var(--blur-md)); -webkit-backdrop-filter: saturate(180%) blur(var(--blur-md)); }
.vl-nav__bar { max-width: var(--container-xl); margin: 0 auto; height: 68px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 14px; }
.vl-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.vl-brand img { height: 30px; }
.vl-brand__word { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--text-strong); letter-spacing: -0.02em; }
.vl-nav__links { display: flex; gap: 2px; margin-left: 22px; }
.vl-nav__link { padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; white-space: nowrap; font-weight: 500;
  color: var(--text-muted); text-decoration: none; transition: color var(--dur-fast), background var(--dur-fast); }
.vl-nav__link:hover { color: var(--text-strong); background: var(--surface-hover); text-decoration: none; }
.vl-nav__link.is-active { font-weight: 600; color: var(--brand-ink); background: var(--brand-subtle); }
.vl-nav__spacer { flex: 1; }
.vl-iconbtn { width: 38px; height: 38px; border-radius: var(--radius-md); flex: none; border: 1px solid var(--border-subtle);
  background: var(--surface-card); color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vl-iconbtn--strong { color: var(--text-strong); }
.vl-nav__menubtn { display: none; }
.vl-nav__mobile { display: none; border-top: 1px solid var(--border-subtle); background: var(--surface-card); padding: 12px var(--gutter) 18px; flex-direction: column; gap: 4px; }
.vl-nav__mobile.is-open { display: flex; }
.vl-nav__mobile a { padding: 12px; border-radius: var(--radius-md); font-size: 16px; font-weight: 500; color: var(--text-body); text-decoration: none; }
.vl-nav__mobile a.is-active { font-weight: 600; color: var(--brand-ink); background: var(--brand-subtle); }
.vl-theme-icon-dark { display: none; }
:root[data-theme="dark"] .vl-theme-icon-light { display: none; }
:root[data-theme="dark"] .vl-theme-icon-dark { display: inline-flex; }
.vl-langbtn { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: var(--radius-md); flex: none;
  border: 1px solid var(--border-subtle); background: var(--surface-card); color: var(--text-strong);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; }
.vl-langbtn:hover { background: var(--surface-hover); text-decoration: none; }
.vl-langbtn svg { border-radius: 2px; display: block; box-shadow: 0 0 0 1px var(--border-subtle); }

/* ============================================================
   Hero
   ============================================================ */
.vl-hero { position: relative; overflow: hidden; }
.vl-hero__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% -8%, color-mix(in oklab, var(--brand) 16%, transparent), transparent 70%); }
.vl-hero__inner { max-width: var(--container-xl); margin: 0 auto; padding: 72px var(--gutter) 40px; position: relative; text-align: center; }
.vl-hero__pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: var(--radius-full);
  border: 1px solid var(--border-default); background: var(--surface-card); box-shadow: var(--shadow-xs); margin-bottom: 26px; text-decoration: none; }
.vl-hero__pill:hover { text-decoration: none; }
.vl-hero__pill-label { font-size: 13px; font-weight: 500; color: var(--text-body); }
.vl-hero__pill-cta { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--brand-active); background: var(--brand-subtle); padding: 3px 9px; border-radius: var(--radius-full); }
.vl-hero__title { font-size: clamp(38px, 6vw, 66px); line-height: 1.04; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; }
.vl-hero__lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-muted); max-width: 56ch; margin: 22px auto 0; line-height: 1.55; }
.vl-hero__capture { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.vl-hero__meta { font-size: 13px; color: var(--text-faint); }
.vl-hero__visual { max-width: 720px; margin: 52px auto 0; }
.vl-hero__visuals { max-width: 980px; margin: 52px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; text-align: left; }
@media (max-width: 860px) { .vl-hero__visuals { grid-template-columns: 1fr; max-width: 560px; } }
.vl-grad-text { background: var(--gradient-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Morphology illustration card */
.vl-morph { border-radius: var(--radius-xl); border: 1px solid var(--border-subtle); background: var(--surface-card); box-shadow: var(--shadow-xl); overflow: hidden; }
.vl-morph__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-subtle); }
.vl-morph__head-l { display: flex; align-items: center; gap: 9px; }
.vl-morph__chip { width: 30px; height: 30px; border-radius: var(--radius-md); background: var(--brand-subtle); color: var(--brand-active); display: flex; align-items: center; justify-content: center; }
.vl-morph__title { font-weight: 700; font-size: 15px; color: var(--text-strong); }
.vl-morph__body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.vl-morph__grid { border-radius: var(--radius-md); background: var(--surface-sunken); padding: 16px;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px); background-size: 24px 24px; }
.vl-morph__svg { width: 100%; height: auto; display: block; }
.vl-morph__legend { display: flex; flex-wrap: wrap; gap: 10px; }
.vl-morph__legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-body); }
.vl-morph__swatch { width: 11px; height: 11px; border-radius: 3px; }
.vl-morph__note { font-size: 12px; color: var(--text-faint); border-top: 1px solid var(--border-subtle); padding-top: 12px; }

/* ============================================================
   Subscribe form (hero + bands)
   ============================================================ */
.vl-subscribe { display: flex; gap: 10px; align-items: flex-start; width: min(440px, 100%); flex-wrap: wrap; }
.vl-subscribe--block { width: 100%; }
.vl-subscribe__field { flex: 1; min-width: 220px; }
.vl-subscribe__ok { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-md);
  background: var(--success-subtle); border: 1px solid var(--success-border); color: var(--success); font-weight: 600; font-size: 15px; }

/* Honeypot - off-screen, hidden from assistive tech; bots fill it, humans never see it. */
.vl-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* reCAPTCHA legal note (shown because the badge is hidden) */
.vl-recaptcha-note { font-size: 11.5px; color: var(--text-faint); margin-top: 8px; line-height: 1.5; }
.vl-recaptcha-note a { color: var(--text-muted); text-decoration: underline; }

/* ============================================================
   Features
   ============================================================ */
.vl-features { max-width: var(--container-xl); margin: 0 auto; padding: 72px var(--gutter) 40px; }
.vl-feature-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 48px; }
.vl-feature { position: relative; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-xs); }
.vl-feature--soon { opacity: .92; }
.vl-feature__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.vl-feature__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand-subtle); color: var(--brand-active); display: flex; align-items: center; justify-content: center; }
.vl-feature--soon .vl-feature__icon { background: var(--surface-sunken); color: var(--text-muted); }
.vl-feature h3 { font-size: 18px; margin-bottom: 8px; }
.vl-feature p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ============================================================
   How it works
   ============================================================ */
.vl-how { background: var(--surface-card); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.vl-how__inner { max-width: var(--container-xl); margin: 0 auto; padding: 72px var(--gutter); }
.vl-step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 44px; }
.vl-step__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.vl-step__icon { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--gradient-teal); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-brand); }
.vl-step__n { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); font-weight: 600; }
.vl-step h3 { font-size: 19px; margin-bottom: 8px; }
.vl-step p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ============================================================
   Roadmap
   ============================================================ */
.vl-roadmap { max-width: var(--container-lg); margin: 0 auto; padding: 64px var(--gutter); }
.vl-roadmap__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.vl-roadmap__pill { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: var(--radius-full); background: var(--surface-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-xs); }
.vl-roadmap__pill > span:first-child { font-weight: 600; font-size: 15px; color: var(--text-strong); }

/* ============================================================
   CTA / Subscribe band
   ============================================================ */
.vl-cta-band-wrap { max-width: var(--container-xl); margin: 0 auto; padding: 40px var(--gutter) 88px; }
.vl-cta-band { position: relative; overflow: hidden; border-radius: var(--radius-2xl); border: 1px solid var(--brand-border); background: var(--brand-subtle); padding: clamp(36px, 5vw, 64px); text-align: center; }
.vl-cta-band__glow { position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, color-mix(in oklab, var(--brand) 18%, transparent), transparent 70%); }
.vl-cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.vl-cta-band__inner h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.025em; line-height: 1.08; max-width: 20ch; }
.vl-cta-band__inner p { font-size: 16.5px; color: var(--text-body); max-width: 46ch; margin: 16px 0 28px; }
.vl-cta-band__note { margin-top: 18px; font-size: 14px; color: var(--text-muted); }

/* ============================================================
   Footer
   ============================================================ */
.vl-footer { border-top: 1px solid var(--border-subtle); background: var(--surface-card); }
.vl-footer__grid { max-width: var(--container-xl); margin: 0 auto; padding: 56px var(--gutter) 36px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.vl-footer__brand { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.vl-footer__brand img { height: 28px; }
.vl-footer__brand span { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--text-strong); letter-spacing: -0.02em; }
.vl-footer__about { font-size: 13.5px; color: var(--text-muted); max-width: 32ch; line-height: 1.6; margin: 0; }
.vl-footer__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--text-link); text-decoration: none; font-family: var(--font-mono); }
.vl-footer__h { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-strong); margin-bottom: 14px; }
.vl-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vl-footer__col a { font-size: 13.5px; color: var(--text-muted); text-decoration: none; }
.vl-footer__col a:hover { color: var(--text-strong); }
.vl-footer__legal { max-width: var(--container-xl); margin: 0 auto; padding: 20px var(--gutter); border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.vl-footer__legal span { font-size: 13px; color: var(--text-faint); }

/* ============================================================
   About / Team
   ============================================================ */
.vl-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vl-team-card { display: flex; gap: 20px; align-items: center; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-xs); }
.vl-team-card__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text-strong); letter-spacing: -0.01em; }
.vl-team-card__role { font-size: 12.5px; color: var(--brand); font-weight: 600; margin-top: 2px; }
.vl-team-card__body { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 10px 0 0; }
.vl-avatar { position: relative; overflow: hidden; width: 88px; height: 88px; border-radius: var(--radius-full); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-sm); }
.vl-avatar span { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.01em; }
.vl-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vl-do-band { background: var(--surface-card); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); margin-top: 40px; }
.vl-do-band__inner { max-width: var(--container-lg); margin: 0 auto; padding: 64px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.vl-do-list { display: flex; flex-direction: column; gap: 14px; }
.vl-do-list__row { display: flex; align-items: center; gap: 12px; }
.vl-do-list__icon { width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--brand-subtle); color: var(--brand-active); display: flex; align-items: center; justify-content: center; flex: none; }
.vl-do-list__row span:last-child { font-size: 15px; font-weight: 500; color: var(--text-body); }

/* ============================================================
   Achievements
   ============================================================ */
.vl-prize { position: relative; overflow: hidden; border-radius: var(--radius-2xl); background: var(--gradient-ink);
  border: 1px solid color-mix(in oklab, var(--teal-400) 26%, transparent); box-shadow: var(--shadow-lg); color: #fff; padding: clamp(36px, 5vw, 60px); }
.vl-prize__glow { position: absolute; inset: 0; background: radial-gradient(60% 100% at 100% 0%, color-mix(in oklab, var(--teal-500) 30%, transparent), transparent 60%); }
.vl-prize__inner { position: relative; display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.vl-prize__icon { width: 64px; height: 64px; border-radius: var(--radius-lg); background: var(--gradient-teal); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-brand); flex: none; }
.vl-prize__tag { display: inline-flex; align-items: center; gap: 8px; background: color-mix(in oklab, #fff 14%, transparent); border-radius: var(--radius-full); padding: 5px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.vl-prize__tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); }
.vl-prize h2 { color: #fff; font-size: clamp(30px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 0; }
.vl-prize__sub { font-size: 18px; color: color-mix(in oklab, #fff 80%, transparent); margin: 12px 0 0; max-width: 48ch; line-height: 1.5; }
.vl-figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); background: var(--surface-sunken); }
.vl-figure img { width: 100%; display: block; }
.vl-figure figcaption { font-size: 12.5px; color: var(--text-muted); padding: 12px 16px; border-top: 1px solid var(--border-subtle); }
.vl-looking-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 36px; }
.vl-looking-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 14px; }
.vl-looking-card__icon { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--brand-subtle); color: var(--brand-active); display: flex; align-items: center; justify-content: center; }
.vl-looking-card h3 { font-size: 20px; }
.vl-looking-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1; }

/* ============================================================
   Pilot
   ============================================================ */
.vl-offers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vl-offer { position: relative; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 14px; }
.vl-offer__top { display: flex; align-items: center; justify-content: space-between; }
.vl-offer__icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--gradient-teal); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-brand); }
.vl-offer__n { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); font-weight: 600; }
.vl-offer h3 { font-size: 19px; line-height: 1.25; }
.vl-offer p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ============================================================
   Contact
   ============================================================ */
.vl-contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.vl-card-form { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.vl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vl-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vl-form-foot__note { font-size: 12px; color: var(--text-faint); display: inline-flex; align-items: center; gap: 6px; }
.vl-contact-aside { display: flex; flex-direction: column; gap: 16px; }
.vl-info-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-xs); }
.vl-info-card--link { text-decoration: none; display: flex; align-items: center; gap: 14px; }
.vl-info-card__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand-subtle); color: var(--brand-active); display: flex; align-items: center; justify-content: center; flex: none; }
.vl-info-card__label { font-size: 12px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.vl-info-card__value { font-size: 16px; font-weight: 600; color: var(--text-strong); font-family: var(--font-mono); }
.vl-info-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.vl-info-card__head span { font-weight: 600; font-size: 15px; color: var(--text-strong); }
.vl-info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.vl-info-card--ink { background: var(--gradient-ink); border: 1px solid color-mix(in oklab, var(--teal-400) 26%, transparent); color: #fff; }
.vl-info-card--ink .vl-info-card__head span { color: #fff; }
.vl-info-card--ink p { color: color-mix(in oklab, #fff 78%, transparent); }
.vl-form-success { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vl-form-success__icon { width: 54px; height: 54px; border-radius: var(--radius-full); background: var(--success-subtle); color: var(--success); display: flex; align-items: center; justify-content: center; }

/* Server-side validation summary */
.vl-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; line-height: 1.5; }
.vl-alert--error { background: var(--danger-subtle); border: 1px solid var(--danger-border); color: var(--danger); }
.vl-alert ul { margin: 0; padding-left: 18px; }
.field-validation-error { color: var(--danger); font-size: var(--text-xs); }
.input-validation-error { border-color: var(--danger) !important; }

/* ============================================================
   Legal pages
   ============================================================ */
.vl-legal { max-width: var(--container-md); margin: 0 auto; padding: 64px var(--gutter) 88px; }
.vl-legal h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.03em; line-height: 1.05; }
.vl-legal__meta { font-size: 13px; color: var(--text-faint); margin-top: 12px; font-family: var(--font-mono); }
.vl-legal__intro { margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: var(--info-subtle); border: 1px solid var(--info-border); }
.vl-legal__intro p { margin: 0; font-size: 14px; color: var(--text-body); line-height: 1.6; }
.vl-legal__toc { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface-card); border: 1px solid var(--border-subtle); }
.vl-legal__toc-h { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.vl-legal__toc ol { margin: 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.vl-legal__toc a { font-size: 14px; color: var(--text-link); text-decoration: none; }
.vl-legal section { margin-top: 34px; scroll-margin-top: 90px; }
.vl-legal section h2 { font-size: 22px; margin-bottom: 12px; }
.vl-legal section h3 { font-size: 16px; margin: 18px 0 8px; }
.vl-legal p, .vl-legal li { font-size: 15px; color: var(--text-body); line-height: 1.7; }
.vl-legal p { margin: 0 0 12px; }
.vl-legal ul, .vl-legal ol.vl-legal__list { margin: 0 0 12px; padding-left: 22px; display: block; }
.vl-legal li { margin-bottom: 6px; }
.vl-legal__fill { font-style: italic; color: var(--text-muted); background: var(--surface-sunken); border-radius: var(--radius-xs); padding: 1px 6px; }
.vl-legal__foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-subtle); font-size: 14px; color: var(--text-muted); }
.vl-legal a { font-weight: 500; }
.vl-mono-link { font-family: var(--font-mono); color: var(--text-link); font-weight: 600; }

/* ============================================================
   Page-intro spacing helpers (mirrors prototype section paddings)
   ============================================================ */
.vl-page-head { max-width: var(--container-lg); margin: 0 auto; padding: 72px var(--gutter) 16px; text-align: center; }
.vl-section { max-width: var(--container-xl); margin: 0 auto; padding: 24px var(--gutter); }
.vl-section--lg { max-width: var(--container-lg); }
.vl-note { text-align: center; font-size: 13px; color: var(--text-faint); margin-top: 20px; }

/* ============================================================
   Cookie consent
   ============================================================ */
.vl-cookie { position: fixed; inset: auto 0 0 0; z-index: 90; padding: 0 var(--gutter) 16px; }
.vl-cookie[hidden] { display: none; }
.vl-cookie__inner { max-width: var(--container-lg); margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--radius-lg); border: 1px solid var(--border-default);
  background: var(--surface-card); box-shadow: var(--shadow-lg); }
.vl-cookie__text { flex: 1; min-width: 260px; }
.vl-cookie__title { font-weight: 700; color: var(--text-strong); font-size: 15px; margin-bottom: 4px; }
.vl-cookie__text p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }
.vl-cookie__actions { display: flex; gap: 10px; flex: none; }
.vl-footer__cookiebtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.vl-footer__cookiebtn:hover { color: var(--text-strong); }

/* ============================================================
   Responsive (mirrors prototype breakpoints)
   ============================================================ */
@media (max-width: 880px) {
  .vl-nav__links { display: none; }
  .vl-nav__cta { display: none; }
  .vl-nav__menubtn { display: flex; }
}
@media (max-width: 560px) {
  .vl-cookie__actions { width: 100%; }
  .vl-cookie__actions .vlx-btn { flex: 1; justify-content: center; }
}
@media (max-width: 800px) {
  .vl-team-grid, .vl-offers-grid, .vl-do-band__inner, .vl-contact-grid, .vl-form-row { grid-template-columns: 1fr; }
  .vl-legal__toc ol { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .vl-feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vl-feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .vl-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .vl-footer__grid { grid-template-columns: 1fr; } }
