/* ============================================================
   Verapools marketing site — design system (v2 redesign)
   Ported from the "Vera Pools Design System" Claude Design project.
   Warm cream canvas, single pastel-blue accent (deep blue for CTAs),
   Inter, soft corners, one shadow tier. Token-driven, plain CSS.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------------- TOKENS ---------------- */
:root {
  /* Surface (warm cream + white lift) */
  --canvas:        #FCFBF8;
  --surface:       #FFFFFF;
  --surface-soft:  #F4F6F7;
  --surface-tint:  #E3F3FA;

  /* Ink & text */
  --ink:    #2A2A28;
  --body:   #45474A;
  --muted:  #5F6366; /* AA-tuned (~5.6:1 on white) */
  --on-accent: #FFFFFF;

  /* Hairlines & borders */
  --hairline:      #E3E1DB;
  --hairline-soft: #EDEBE5;
  --border-strong: #C9C7C0;

  /* Accent — single brand voltage */
  --accent:         #6FB7DC;
  --accent-active:  #2A7CA3;  /* CTA fill, AA-safe on white (4.68:1) */
  --accent-tint:    #E3F3FA;
  --accent-soft:    #C3E4F2;
  --accent-disabled:#BBDDEC;

  /* Semantic */
  --error:      #C13515;
  --error-tint: #FBEAE5;

  /* Scrim */
  --scrim: rgba(42, 42, 40, 0.45);

  /* Semantic aliases */
  --text-heading: var(--ink);
  --text-body:    var(--body);
  --text-muted:   var(--muted);
  --text-link:    var(--accent-active);
  --text-link-rest: var(--accent);
  --on-accent-text: var(--on-accent);
  --bg-page:   var(--canvas);
  --cta-fill:  var(--accent-active);
  --cta-fill-soft: var(--accent-soft);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --fs-display-xl: 52px; --lh-display-xl: 1.08; --ls-display-xl: -1.2px;
  --fs-display-lg: 38px; --lh-display-lg: 1.12; --ls-display-lg: -0.6px;
  --fs-display-md: 28px; --lh-display-md: 1.2;  --ls-display-md: -0.3px;
  --fs-display-sm: 22px; --lh-display-sm: 1.27; --ls-display-sm: -0.2px;
  --fs-title-md: 18px;   --lh-title-md: 1.35;
  --fs-title-sm: 16px;   --lh-title-sm: 1.3;
  --fs-body-lg: 18px;    --lh-body-lg: 1.55;
  --fs-body-md: 16px;    --lh-body-md: 1.6;
  --fs-body-sm: 14px;    --lh-body-sm: 1.5;
  --fs-caption: 14px;    --lh-caption: 1.3;
  --fs-caption-sm: 13px; --lh-caption-sm: 1.4;
  --fs-overline: 12px;   --lh-overline: 1.2; --ls-overline: 0.08em;
  --fs-badge: 11px;      --lh-badge: 1.2;
  --fs-button-md: 16px;  --fs-button-sm: 14px;
  --fs-nav-link: 16px;

  /* Spacing */
  --space-xxs: 2px; --space-xs: 4px; --space-sm: 8px; --space-md: 12px;
  --space-base: 16px; --space-lg: 24px; --space-xl: 32px; --space-xxl: 48px;
  --space-section: 72px; --space-section-lg: 112px;

  /* Radii */
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 28px; --radius-full: 9999px;

  /* Layout */
  --container-max: 1200px; --container-wide: 1320px; --container-text: 720px;
  --page-pad-x: 24px;

  /* Elevation */
  --shadow-1:
    rgba(42, 42, 40, 0.03) 0 0 0 1px,
    rgba(42, 42, 40, 0.05) 0 2px 6px 0,
    rgba(42, 42, 40, 0.09) 0 8px 24px -4px;
  --shadow-1-float:
    rgba(42, 42, 40, 0.04) 0 0 0 1px,
    rgba(42, 42, 40, 0.06) 0 4px 10px 0,
    rgba(42, 42, 40, 0.12) 0 14px 34px -6px;
  --ring-accent: 0 0 0 3px rgba(111, 183, 220, 0.45);

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 320ms;
}

/* ---------------- BASE / RESET ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body-md);
  line-height: var(--lh-body-md);
  font-weight: var(--weight-regular);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0; color: var(--text-heading);
  font-weight: var(--weight-semibold); letter-spacing: -0.01em; text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
::selection { background: var(--accent-tint); color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--ring-accent); border-radius: var(--radius-sm); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--surface); color: var(--ink); padding: 10px 16px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-1);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------- LAYOUT ---------------- */
.vp-container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-lg); }
.vp-container--wide { max-width: var(--container-wide); }
.vp-container--text { max-width: var(--container-text); }

.vp-section { padding: var(--space-section) 0; }
.vp-section--lg { padding: var(--space-section-lg) 0; }
.vp-section--surface { background: var(--surface); }
.vp-section--canvas { background: var(--canvas); }

.vp-band { background: var(--accent-tint); border-radius: var(--radius-xl); padding: var(--space-xxl); }
.vp-stack { display: flex; flex-direction: column; }
.vp-grid { display: grid; }
.vp-center { text-align: center; }

/* ---------------- TYPOGRAPHY UTILITIES ---------------- */
.vp-eyebrow {
  font-size: var(--fs-overline); font-weight: var(--weight-bold);
  letter-spacing: var(--ls-overline); text-transform: uppercase;
  color: var(--accent-active); line-height: var(--lh-overline);
}
.vp-h1 { font-size: var(--fs-display-xl); line-height: var(--lh-display-xl); letter-spacing: var(--ls-display-xl); font-weight: var(--weight-bold); color: var(--ink); }
.vp-h2 { font-size: var(--fs-display-lg); line-height: var(--lh-display-lg); letter-spacing: var(--ls-display-lg); font-weight: var(--weight-semibold); color: var(--ink); }
.vp-h3 { font-size: var(--fs-display-md); line-height: var(--lh-display-md); letter-spacing: var(--ls-display-md); font-weight: var(--weight-semibold); color: var(--ink); }
.vp-h4 { font-size: var(--fs-display-sm); line-height: var(--lh-display-sm); letter-spacing: var(--ls-display-sm); font-weight: var(--weight-semibold); color: var(--ink); }
.vp-lead { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--body); }
.vp-body { font-size: var(--fs-body-md); line-height: var(--lh-body-md); color: var(--body); }
.vp-body-sm { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--body); }
.vp-muted { color: var(--muted); }
.vp-ink { color: var(--ink); }

/* ---------------- ICONS (Lucide) ---------------- */
.vp-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: currentColor; }
.vp-ic svg { width: 100%; height: 100%; }

/* ---------------- BUTTONS ---------------- */
.vp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  font-family: var(--font-sans); font-weight: var(--weight-medium); line-height: 1;
  letter-spacing: -0.01em; border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap; height: 48px; padding: 0 22px; font-size: var(--fs-button-md);
  transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
  text-decoration: none;
}
.vp-btn:hover { text-decoration: none; }
.vp-btn--sm { height: 38px; padding: 0 16px; font-size: var(--fs-button-sm); }
.vp-btn--pill { border-radius: var(--radius-full); }
.vp-btn--full { width: 100%; }

.vp-btn--primary { background: var(--cta-fill); color: var(--on-accent); }
.vp-btn--primary:hover { background: var(--ink); color: var(--on-accent); }
.vp-btn--primary:disabled, .vp-btn--primary[disabled] { background: var(--accent-disabled); cursor: not-allowed; }

.vp-btn--soft { background: var(--accent-soft); color: var(--ink); }
.vp-btn--soft:hover { background: var(--accent); color: var(--ink); }

.vp-btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.vp-btn--secondary:hover { background: var(--surface-soft); color: var(--ink); }

.vp-btn--tertiary { background: transparent; color: var(--text-link); padding: 0 4px; }
.vp-btn--tertiary:hover { text-decoration: underline; background: transparent; }

.vp-btn:disabled, .vp-btn[disabled] { cursor: not-allowed; }

/* circular icon button */
.vp-iconbtn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius-full); cursor: pointer; background: var(--surface);
  border: 1px solid var(--hairline); color: var(--ink);
  transition: background var(--dur-fast) var(--ease-standard);
}
.vp-iconbtn:hover { background: var(--surface-soft); }

/* ---------------- BADGES ---------------- */
.vp-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--radius-full);
  font-size: var(--fs-badge); font-weight: var(--weight-semibold); line-height: var(--lh-badge);
  letter-spacing: 0.01em; white-space: nowrap; background: var(--accent-tint); color: var(--accent-active);
  border: 1px solid transparent;
}
.vp-badge--neutral { background: var(--surface); color: var(--ink); border-color: var(--hairline); }
.vp-badge--solid { background: var(--accent-active); color: var(--on-accent); }

/* ---------------- FEATURE / STAT ---------------- */
.vp-feature { display: flex; flex-direction: column; gap: var(--space-md); }
.vp-feature__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--accent-tint);
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent-active);
}
.vp-feature h3 { font-size: var(--fs-title-md); font-weight: var(--weight-semibold); color: var(--ink); }
.vp-feature p { font-size: var(--fs-body-md); line-height: var(--lh-body-md); color: var(--body); }

.vp-stat { display: flex; flex-direction: column; gap: 4px; }
.vp-stat__value { font-size: var(--fs-display-md); font-weight: var(--weight-bold); color: var(--ink); letter-spacing: -0.02em; }
.vp-stat__label { font-size: var(--fs-body-sm); color: var(--muted); }

/* check-list (icon + text rows) */
.vp-checklist { display: flex; flex-direction: column; gap: var(--space-sm); }
.vp-checklist li { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--fs-body-md); color: var(--ink); }
.vp-checklist .vp-ic { color: var(--accent-active); }

/* spec chips (Design page "what you can render") */
.vp-chip {
  display: flex; align-items: center; gap: var(--space-sm); background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--space-base);
  font-size: var(--fs-body-md); color: var(--ink);
}
.vp-chip .vp-ic { color: var(--accent-active); }

/* ---------------- GRIDS ---------------- */
.vp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.vp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.vp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-xxl); align-items: center; }
.vp-section-head { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-xl); max-width: 640px; }

/* ---------------- IMAGE PLATES / PLACEHOLDERS ---------------- */
.vp-plate {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--hairline); background: var(--surface);
}
.vp-plate--shadow { box-shadow: var(--shadow-1); }
.vp-plate--float { box-shadow: var(--shadow-1-float); }
.vp-plate__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.vp-photo-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: linear-gradient(135deg, var(--accent-tint) 0%, var(--surface-soft) 100%);
  color: var(--accent-active); aspect-ratio: 3 / 4;
}
.vp-photo-ph__label { font-size: var(--fs-body-sm); color: var(--accent-active); font-weight: var(--weight-medium); }

/* ---------------- CARDS ---------------- */
.vp-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: var(--space-xl); }

.vp-path-card {
  display: flex; flex-direction: column; gap: var(--space-base); background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--space-xl);
  cursor: pointer; box-shadow: var(--shadow-1); text-decoration: none;
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.vp-path-card:hover { box-shadow: var(--shadow-1-float); transform: translateY(-3px); text-decoration: none; }
.vp-path-card__top { display: flex; align-items: center; justify-content: space-between; }
.vp-path-card__who { font-size: var(--fs-overline); font-weight: var(--weight-bold); letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--accent-active); }
.vp-path-card__cta { margin-top: auto; padding-top: var(--space-sm); }

/* render card */
.vp-render-card {
  background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--hairline);
  overflow: hidden; box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.vp-render-card:hover { box-shadow: var(--shadow-1-float); transform: translateY(-2px); }
.vp-render-card__plate { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--surface-soft); }
.vp-render-card__plate .vp-photo-ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.vp-render-card__badge { position: absolute; top: 12px; left: 12px; }
.vp-render-card__meta { padding: var(--space-base); display: flex; flex-direction: column; gap: 4px; }
.vp-render-card__title { font-size: var(--fs-display-sm); font-weight: var(--weight-semibold); color: var(--ink); letter-spacing: -0.01em; }
.vp-render-card__loc { font-size: var(--fs-body-sm); color: var(--body); }
.vp-render-card__sub { font-size: var(--fs-body-sm); color: var(--muted); }
/* before/after toggle */
.vp-ba-toggle {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px); box-shadow: var(--shadow-1);
}
.vp-ba-toggle button {
  border: none; cursor: pointer; padding: 6px 14px; border-radius: var(--radius-full);
  font-size: var(--fs-button-sm); font-weight: var(--weight-medium); font-family: var(--font-sans);
  background: transparent; color: var(--ink); transition: background var(--dur-fast) var(--ease-standard);
}
.vp-ba-toggle button.is-active { background: var(--accent-active); color: var(--on-accent); }

/* flow steps (home "better together") */
.vp-flow { display: flex; gap: var(--space-base); flex-wrap: wrap; align-items: flex-start; }
.vp-flow__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-sm); flex: 1; min-width: 130px; }
.vp-flow__icon { width: 52px; height: 52px; border-radius: var(--radius-full); background: var(--surface); border: 1px solid var(--hairline); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-active); }
.vp-flow__label { font-size: var(--fs-body-md); font-weight: var(--weight-semibold); color: var(--ink); }
.vp-flow__sub { font-size: var(--fs-body-sm); color: var(--muted); }

/* ---------------- NAV ---------------- */
.vp-nav { height: 76px; background: var(--surface); border-bottom: 1px solid var(--hairline); display: flex; align-items: center; position: sticky; top: 0; z-index: 50; }
.vp-nav__inner { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-lg); display: flex; align-items: center; justify-content: space-between; gap: var(--space-base); }
.vp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.vp-logo svg { display: block; }
.vp-logo__text { display: inline-flex; flex-direction: column; justify-content: center; gap: 1px; }
.vp-logo__word { font-size: 18px; font-weight: var(--weight-bold); letter-spacing: -0.02em; line-height: 1.05; color: var(--ink); }
.vp-logo__word b { font-weight: var(--weight-bold); color: var(--accent-active); }
.vp-logo__byline { font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, ui-serif, serif; font-size: 9.5px; letter-spacing: 0.02em; line-height: 1; color: var(--ink); }
.vp-nav__tabs { display: flex; gap: var(--space-xl); }
.vp-nav__tab { position: relative; padding: 6px 2px; text-decoration: none; font-size: var(--fs-nav-link); font-weight: var(--weight-medium); color: var(--muted); transition: color var(--dur-fast) var(--ease-standard); }
.vp-nav__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); opacity: 0; transition: opacity var(--dur-fast) var(--ease-standard); }
.vp-nav__tab:hover { color: var(--ink); text-decoration: none; }
.vp-nav__tab:hover::after { opacity: 0.4; }
.vp-nav__tab.is-active { color: var(--ink); }
.vp-nav__tab.is-active::after { opacity: 1; }
.vp-nav__cta { display: inline-flex; }
.vp-nav__burger { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 8px; }

/* ---------------- FORMS ---------------- */
.vp-field { display: flex; flex-direction: column; gap: var(--space-xs); width: 100%; }
.vp-label { font-size: var(--fs-caption); font-weight: var(--weight-medium); line-height: var(--lh-caption); color: var(--muted); }
.vp-label .vp-req { color: var(--error); }
.vp-input, .vp-textarea, .vp-select {
  width: 100%; font-family: var(--font-sans); font-size: var(--fs-body-md); color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  outline: none; transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.vp-input { height: 52px; padding: 0 14px; }
.vp-textarea { padding: 12px 14px; line-height: var(--lh-body-md); resize: vertical; }
.vp-select { height: 52px; padding: 0 40px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.vp-input:focus, .vp-textarea:focus, .vp-select:focus { border-color: var(--accent-active); box-shadow: var(--ring-accent); }
.vp-input::placeholder, .vp-textarea::placeholder { color: var(--muted); }
.vp-input:disabled, .vp-textarea:disabled, .vp-select:disabled { background: var(--surface-soft); cursor: not-allowed; }
.vp-input.is-error, .vp-textarea.is-error, .vp-select.is-error { border-color: var(--error); }
.vp-field__hint { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--muted); }
.vp-field__error { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--error); display: none; }
.vp-field__error.visible { display: block; }
.vp-select-wrap { position: relative; width: 100%; }
.vp-select-wrap__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.vp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* checkbox */
.vp-checkbox { display: inline-flex; align-items: flex-start; gap: var(--space-sm); cursor: pointer; font-size: var(--fs-body-md); color: var(--body); line-height: var(--lh-body-sm); }
.vp-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.vp-checkbox__box { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--border-strong); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard); }
.vp-checkbox__box svg { opacity: 0; }
.vp-checkbox input:checked + .vp-checkbox__box { background: var(--accent-active); border-color: var(--accent-active); }
.vp-checkbox input:checked + .vp-checkbox__box svg { opacity: 1; }

/* lead capture / forms cards */
.vp-form-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-base); max-width: 460px; width: 100%; }
.vp-form-reassure { font-size: var(--fs-caption-sm); color: var(--muted); text-align: center; margin: 0; }
.vp-file-drop { border: 1.5px dashed var(--border-strong); border-radius: var(--radius-md); padding: var(--space-lg); text-align: center; cursor: pointer; transition: border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard); color: var(--muted); }
.vp-file-drop.drag-over { border-color: var(--accent-active); background: var(--accent-tint); }

/* success state */
.vp-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: var(--space-base); padding: var(--space-lg) 0; }
.vp-success.visible { display: flex; }
.vp-success__icon { width: 60px; height: 60px; border-radius: var(--radius-full); background: var(--accent-tint); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-active); }

/* ---------------- FAQ ---------------- */
.vp-faq { border-top: 1px solid var(--hairline); }
.vp-faq__item { border-bottom: 1px solid var(--hairline); }
.vp-faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-base); padding: var(--space-lg) 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-sans); }
.vp-faq__q { font-size: var(--fs-title-md); font-weight: var(--weight-semibold); color: var(--ink); }
.vp-faq__chev { flex: 0 0 auto; color: var(--accent-active); transition: transform var(--dur-base) var(--ease-standard); }
.vp-faq__item.is-open .vp-faq__chev { transform: rotate(180deg); }
.vp-faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-standard); }
.vp-faq__item.is-open .vp-faq__panel { grid-template-rows: 1fr; }
.vp-faq__panel > div { overflow: hidden; }
.vp-faq__a { margin: 0; padding-bottom: var(--space-lg); max-width: var(--container-text); font-size: var(--fs-body-md); line-height: var(--lh-body-md); color: var(--body); }

/* ---------------- MODAL (Get started) ---------------- */
.vp-modal { position: fixed; inset: 0; z-index: 100; background: var(--scrim); display: none; align-items: center; justify-content: center; padding: var(--space-lg); overflow-y: auto; }
.vp-modal.is-open { display: flex; }
.vp-modal__panel { position: relative; width: 100%; max-width: 880px; }
.vp-modal__close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-1); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }

/* brand kit builder (modal body) */
.vp-bkb { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; max-width: 880px; width: 100%; }
.vp-bkb__form { padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-lg); }
.vp-bkb__preview { background: var(--accent-tint); padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-base); justify-content: center; }
.vp-bkb__dots { display: flex; gap: 6px; }
.vp-bkb__dot { height: 4px; width: 16px; border-radius: 2px; background: var(--hairline); transition: all var(--dur-base) var(--ease-standard); }
.vp-bkb__dot.is-active { width: 28px; background: var(--accent-active); }
.vp-bkb__dot.is-done { background: var(--accent-active); }
.vp-bkb__nav { display: flex; gap: var(--space-sm); justify-content: space-between; align-items: center; }
.vp-bkb__step { display: none; flex-direction: column; gap: var(--space-base); }
.vp-bkb__step.is-active { display: flex; }
.vp-swatches { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.vp-swatch { width: 34px; height: 34px; border-radius: var(--radius-full); cursor: pointer; border: 2px solid var(--hairline); }
.vp-swatch.is-selected { border-color: var(--ink); outline: 2px solid var(--surface); outline-offset: -4px; }
.vp-bkb__preview-card { background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--hairline); box-shadow: var(--shadow-1); padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-base); }
.vp-bkb__logo-tile { width: 44px; height: 44px; border-radius: 12px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: var(--weight-bold); font-size: 16px; }

/* ---------------- CONSENT BANNER ---------------- */
.vp-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; padding: var(--space-base) var(--space-lg); background: var(--surface); border-top: 1px solid var(--hairline); box-shadow: 0 -6px 24px rgba(42,42,40,0.08); }
.vp-consent.is-visible { display: block; }
.vp-consent__inner { max-width: var(--container-wide); margin: 0 auto; display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; justify-content: space-between; }
.vp-consent__text { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--body); max-width: 720px; }
.vp-consent__text a { color: var(--accent-active); text-decoration: underline; }
.vp-consent__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ---------------- FOOTER ---------------- */
.vp-footer { background: var(--surface); border-top: 1px solid var(--hairline); }
.vp-footer__cols { max-width: var(--container-wide); margin: 0 auto; padding: var(--space-xxl) var(--space-lg); display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--space-xl); }
.vp-footer__brand { display: flex; flex-direction: column; gap: var(--space-base); max-width: 280px; }
.vp-footer__tagline { font-size: var(--fs-body-sm); line-height: var(--lh-body-md); color: var(--muted); }
.vp-footer__col { display: flex; flex-direction: column; gap: var(--space-md); }
.vp-footer__col h4 { font-size: var(--fs-title-sm); font-weight: var(--weight-semibold); color: var(--ink); }
.vp-footer__col a { font-size: var(--fs-body-sm); color: var(--body); text-decoration: none; }
.vp-footer__col a:hover { color: var(--accent-active); text-decoration: none; }
.vp-footer__legal { border-top: 1px solid var(--hairline); }
.vp-footer__legal-inner { max-width: var(--container-wide); margin: 0 auto; padding: var(--space-base) var(--space-lg); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm); }
.vp-footer__legal-inner span { font-size: var(--fs-caption-sm); color: var(--muted); }

/* ---------------- PROSE (privacy / legal pages) ---------------- */
.vp-prose { max-width: var(--container-text); }
.vp-prose h1 { font-size: var(--fs-display-lg); line-height: var(--lh-display-lg); letter-spacing: var(--ls-display-lg); margin-bottom: var(--space-base); }
.vp-prose h2 { font-size: var(--fs-display-sm); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.vp-prose h3 { font-size: var(--fs-title-md); margin-top: var(--space-lg); margin-bottom: var(--space-xs); }
.vp-prose p, .vp-prose li { font-size: var(--fs-body-md); line-height: var(--lh-body-md); color: var(--body); }
.vp-prose ul { padding-left: var(--space-lg); list-style: disc; display: flex; flex-direction: column; gap: var(--space-xs); }
.vp-prose a { color: var(--accent-active); text-decoration: underline; }
.vp-prose strong { color: var(--ink); }
.vp-prose table { width: 100%; border-collapse: collapse; margin: var(--space-base) 0; }
.vp-prose th, .vp-prose td { border: 1px solid var(--hairline); padding: var(--space-sm) var(--space-md); text-align: left; font-size: var(--fs-body-sm); vertical-align: top; }
.vp-prose th { background: var(--surface-soft); color: var(--ink); font-weight: var(--weight-semibold); }
.vp-prose__updated { color: var(--muted); font-size: var(--fs-body-sm); margin-bottom: var(--space-lg); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .vp-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --fs-display-xl: 38px; --fs-display-lg: 30px; --fs-display-md: 24px; }
  .vp-nav__tabs { display: none; }
  .vp-nav__burger { display: inline-flex; }
  .vp-nav.is-open .vp-nav__tabs { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--hairline); padding: var(--space-sm) var(--space-lg); box-shadow: var(--shadow-1); }
  .vp-nav.is-open .vp-nav__tab { padding: var(--space-md) 0; }
  .vp-hero-grid, .vp-grid-2, .vp-grid-3 { grid-template-columns: 1fr; }
  .vp-form-row { grid-template-columns: 1fr; }
  /* Section partials use inline grid-template-columns; collapse any of them to one column on mobile. */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .vp-bkb { grid-template-columns: 1fr; }
  .vp-bkb__preview { order: -1; }
  .vp-footer__cols { grid-template-columns: 1fr 1fr; }
  .vp-band { padding: var(--space-xl); }
  .vp-section { padding: var(--space-xxl) 0; }
  .vp-section--lg { padding: var(--space-section) 0; }
}
@media (max-width: 520px) {
  .vp-footer__cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
