/* =========================================================================
   SITE: the INVRSYS redesign (2026-10)

   The chrome every page shares (nav island, footer, contact rail, back to
   top, the FAQ list) and the home page's sections. Loaded after
   components.css, so where both style one element - the hooks product_tour.js,
   site.js and the tests rely on (.tour-tab, .rail-btn, #to-top,
   .pricing-card__amount ...) - this file wins.

   Every colour is a token from tokens.css, so all of it follows the theme.
   Plain CSS rather than Tailwind utilities: the compiled tailwind.css only
   carries classes it found at build time, and these do not depend on that.

   Shape, from the design system: sharp and architectural. Buttons and inputs
   4px, cards 6px, large panels 10px, brand slabs square. No pill buttons.
   ========================================================================= */

/* ---- Base ---------------------------------------------------------------- */
body { font-family: var(--font-sans); color: var(--fg-muted); background: var(--ink-900); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--fg); text-wrap: balance; }

.v-wrap { max-width: var(--width-wide); margin: 0 auto; padding-left: 64px; padding-right: 64px; }
.v-sec { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 8vw, 96px); }
.v-sec--line { border-top: 1px solid var(--ink-700); }
.v-stack { display: flex; flex-direction: column; gap: 48px; }

.v-ovl {
  margin: 0;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-300);
}
.v-h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1;
  font-weight: 600; letter-spacing: -0.03em; color: var(--fg);
}
.v-h2--sm { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; }
.v-h3 { margin: 0; font-size: 21px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; color: var(--fg); }
.v-lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--fg-subtle); text-wrap: pretty; }
.v-muted { color: var(--fg-subtle); }
.v-note { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.02em; color: var(--fg-faint); }
.v-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.v-head--center { align-items: center; text-align: center; margin: 0 auto; }
.v-blue { color: var(--logo-blue); }

/* ---- Buttons --------------------------------------------------------------
   One filled primary per view. White on blue-600 is 5.8:1; the logo blue
   itself is never a button fill (white on it falls below 4.5:1). */
.v-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; line-height: 20px; font-weight: 500;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color 120ms var(--ease-std), border-color 120ms var(--ease-std), color 120ms var(--ease-std);
}
.v-btn svg { flex: none; }
.v-btn--primary { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.v-btn--primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.v-btn--ghost { background: transparent; border-color: var(--ink-500); color: var(--fg); }
.v-btn--ghost:hover { background: var(--ink-800); color: var(--fg); }
.v-btn--brand { background: var(--brand-soft); border-color: var(--brand-600); color: var(--fg); }
.v-btn--brand:hover { background: var(--ink-800); color: var(--fg); }
.v-btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.v-btn--block { width: 100%; }
.v-btn--glow { box-shadow: var(--shadow-glow); }
.v-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.v-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; line-height: 20px; font-weight: 500;
  color: var(--brand-300); text-decoration: none;
}
.v-link:hover { color: var(--brand-200); }

/* Lucide renders an <svg> in place of each <i data-lucide>; size them here
   so nothing jumps when the script swaps them in. */
.v-ico { width: 20px; height: 20px; flex: none; stroke-width: 1.5; }
.v-ico--sm { width: 16px; height: 16px; }
.v-ico--lg { width: 24px; height: 24px; }

/* ---- Nav island: frosted glass ---------------------------------------------
   Sticky, 16px off the top, square-ish corners. The frost is a translucent
   gradient over a heavy blur; the hairline on top is the light catching its
   edge. Browsers without backdrop-filter get the near-opaque fallback from
   base.html's critical CSS instead of a see-through bar. */
#site-nav { position: sticky; top: 0; z-index: 70; padding: 16px 16px 0; }
#nav-island {
  position: relative; max-width: var(--width-wide); margin: 0 auto;
  border: 1px solid var(--island-edge); border-radius: var(--radius-md);
  box-shadow: var(--island-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #nav-island, #nav-island.is-scrolled {
    background: var(--island-bg);
    backdrop-filter: blur(22px) saturate(1.6);
    -webkit-backdrop-filter: blur(22px) saturate(1.6);
  }
}
#nav-island.is-scrolled { border-color: var(--island-edge); box-shadow: var(--island-shadow); }
.v-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 10px 0 12px; }
.v-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); flex: none; }
.v-brand__tile {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.v-brand__tile img { width: 32px; height: 32px; object-fit: contain; display: block; }
.v-brand__word { font-family: var(--font-brand); font-size: 17px; line-height: 20px; letter-spacing: 0.02em; color: var(--fg); }
.nav-product-sep { width: 1px; height: 20px; background: var(--ink-500); }
.nav-product { font-family: var(--font-brand); font-size: 15px; line-height: 20px; letter-spacing: 0.02em; color: var(--brand-300); }
.v-nav__links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.v-navlink {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px;
  border-radius: var(--radius-sm); color: var(--fg-subtle); text-decoration: none;
  font-size: 14px; line-height: 20px; font-weight: 500;
}
.v-navlink:hover, .v-navlink[aria-current="page"] { color: var(--fg); }
.v-navlink:hover { background: var(--ink-800); }
.v-dd { position: relative; }
.v-dd__panel {
  position: absolute; top: 100%; left: -8px; z-index: 10; padding-top: 10px;
  visibility: hidden; opacity: 0; transition: opacity 150ms var(--ease-std), visibility 150ms;
}
.v-dd:hover .v-dd__panel, .v-dd:focus-within .v-dd__panel { visibility: visible; opacity: 1; }
.v-dd:hover .v-dd__chev, .v-dd:focus-within .v-dd__chev { transform: rotate(180deg); }
.v-dd__chev { transition: transform 200ms var(--ease-std); }
.v-dd__inner {
  width: 320px; display: flex; flex-direction: column; gap: 4px; padding: 8px;
  background: var(--ink-750); border: 1px solid var(--ink-700); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.v-dd__item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; }
.v-dd__item:hover { background: var(--ink-800); }
.v-dd__title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--fg); }
.v-dd__sub { font-size: 13px; line-height: 18px; color: var(--fg-subtle); }
.v-nav__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.v-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm);
  background: transparent; color: var(--fg-subtle); cursor: pointer;
}
.v-iconbtn:hover { background: var(--ink-800); color: var(--fg); }
/* The theme button shows the sun in dark (where it takes you) and the moon in light. */
.v-theme__moon { display: none; }
:root[data-theme="light"] .v-theme__sun { display: none; }
:root[data-theme="light"] .v-theme__moon { display: block; }
#navToggle { display: none; }
#navToggle .v-close { display: none; }
#navToggle[aria-expanded="true"] .v-open { display: none; }
#navToggle[aria-expanded="true"] .v-close { display: block; }
.v-mnav { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 16px; border-top: 1px solid var(--island-edge); }
.v-mnav[hidden] { display: none; }
.v-mlink {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px;
  border-radius: var(--radius-sm); color: var(--fg); text-decoration: none; font-size: 16px; font-weight: 500;
}
.v-mlink:hover { background: var(--ink-800); }
.v-mlink--child { padding-left: 24px; color: var(--fg-muted); }
.v-mnav__group { padding: 14px 12px 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); }
.v-mnav__rule { height: 1px; margin: 6px 0; background: var(--island-edge); }
.v-mnav__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
#nav-progress { border-radius: 0 0 var(--radius-md) var(--radius-md); }
#nav-progress span { background: var(--logo-blue); }

/* ---- Hero ------------------------------------------------------------------ */
.v-hero { padding-top: 104px; border-bottom: 1px solid var(--ink-700); overflow: hidden; }
.v-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.v-badges {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px;
  margin: 0; padding: 7px 14px;
  border: 1px solid var(--ink-700); border-radius: var(--radius-sm); background: var(--card);
  font-size: 13px; line-height: 16px; font-weight: 500; color: var(--fg-subtle);
}
.v-badges__item { display: inline-flex; align-items: center; gap: 8px; }
.v-badges__dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--accent-green); }
.v-badges__sep { width: 1px; height: 14px; background: var(--ink-500); }
.v-hero__title {
  margin: 0; max-width: 1000px;
  font-family: var(--font-brand); font-weight: 400;
  font-size: clamp(38px, 6.2vw, 80px); line-height: 1.04; letter-spacing: 0.005em;
  color: var(--fg);
}
.v-hero__lead { max-width: 640px; }
.v-hero .v-ctas { justify-content: center; margin-top: 8px; }
.v-shot {
  width: 100%; max-width: 1100px; margin-top: 56px; box-sizing: border-box;
  padding: 12px 12px 0; background: var(--card);
  border: 1px solid var(--ink-700); border-bottom: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
}
.v-shot__dots { display: flex; gap: 6px; padding: 4px 6px 12px; }
.v-shot__dots span { width: 10px; height: 10px; border-radius: 9999px; background: var(--ink-600); }
.v-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-md) var(--radius-md) 0 0; }

/* ---- Facts strip ----------------------------------------------------------- */
.v-facts-band { background: var(--card); border-bottom: 1px solid var(--ink-700); }
.v-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin: 0; padding: 0; list-style: none;
  background: var(--ink-700); border-left: 1px solid var(--ink-700); border-right: 1px solid var(--ink-700);
}
.v-facts > li { background: var(--card); padding: 32px 24px; display: flex; flex-direction: column; gap: 6px; }
.v-facts__num { font-size: 34px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--fg); }
.v-facts__label { font-size: 14px; line-height: 20px; color: var(--fg-subtle); }

/* ---- Product tour ------------------------------------------------------------
   The markup and product_tour.js are the existing tour's (tabs, autoplay,
   swipeable track); only the layout changes: tabs in a row, then the active
   tab's description card beside one screenshot at a time. */
.v-tour-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.tour { margin-top: 0 !important; display: flex; flex-direction: column; gap: 24px; }
.tour .tour-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 0 0 4px; margin: 0;
  justify-content: flex-start; scrollbar-width: thin; border: 0; background: none;
}
.tour .tour-tab {
  position: relative; flex: none; display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px; overflow: hidden;
  border: 1px solid var(--ink-700); border-radius: var(--radius-sm);
  background: var(--card); color: var(--fg-subtle); box-shadow: none;
  font-family: inherit; font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: background-color 120ms, border-color 120ms, color 120ms;
}
.tour .tour-tab:hover { background: var(--ink-800); color: var(--fg); }
.tour .tour-tab.is-active { background: var(--brand-soft); border-color: var(--brand-600); color: var(--fg); }
.tour .tour-tab__icon { display: inline-flex; width: auto; height: auto; padding: 0; background: none; border: 0; color: inherit; box-shadow: none; }
.tour .tour-tab__icon svg { width: 18px; height: 18px; stroke-width: 1.5; }
.tour .tour-tab.is-active .tour-tab__icon { color: var(--brand-300); }
.tour .tour-tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--logo-blue); }
.v-tour-body { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.tour .tour-desc {
  flex: 1 1 280px; margin: 0; max-width: none; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 32px; background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md);
}
.tour-desc__top { display: flex; flex-direction: column; gap: 16px; }
.tour-desc__num { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; color: var(--fg-faint); }
.tour-desc__title { margin: 0; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.tour .tour-desc__text { display: block; font-size: 16px; line-height: 24px; color: var(--fg-subtle); }
.tour .tour-desc__link { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; color: var(--brand-300); text-decoration: none; }
.tour .tour-desc__link[hidden] { display: none; }
.tour .tour-frame {
  flex: 999 1 560px; min-width: 0; margin: 0; padding: 12px;
  background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md);
  box-shadow: none; -webkit-mask-image: none; mask-image: none;
}
.tour .tour-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0; }
.tour .tour-track::-webkit-scrollbar { display: none; }
.tour .tour-slide {
  flex: 0 0 100%; width: 100%; margin: 0; scroll-snap-align: center;
  opacity: 1; transform: none; filter: none; border: 0; box-shadow: none; border-radius: var(--radius-sm); overflow: hidden;
}
.tour .tour-slide img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.v-plus { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v-plus__label { margin-right: 8px; color: var(--fg-faint); }
.v-chip {
  padding: 6px 12px; border: 1px solid var(--ink-700); border-radius: var(--radius-xs);
  font-size: 14px; line-height: 20px; color: var(--fg-subtle);
}
.v-chip--more { border-color: transparent; padding-left: 4px; color: var(--brand-300); }

/* ---- Licensing: one plan, 99 seats -------------------------------------------- */
.v-split { display: flex; flex-wrap: wrap; background: var(--card); border: 1px solid var(--ink-700); }
.v-split__main {
  flex: 999 1 520px; min-width: 0; box-sizing: border-box;
  padding: clamp(28px, 5.5vw, 64px); display: flex; flex-direction: column; gap: 24px;
}
.v-split__title { margin: 0; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; color: var(--fg); }
/* The page's one brick moment. Square, white text (5.0:1). */
.v-brick {
  flex: 1 1 300px; box-sizing: border-box; padding: 56px 48px;
  background: var(--brick); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.v-brick__ovl { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.v-brick__big { font-size: 104px; line-height: 1; font-weight: 600; letter-spacing: -0.05em; }
.v-brick__rows { display: flex; flex-direction: column; gap: 12px; margin: 0; font-size: 15px; line-height: 22px; }
.v-brick__rows div { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 12px; }
.v-brick__rows dd { margin: 0; font-family: var(--font-mono); }

/* ---- Three steps + trust facts ------------------------------------------------ */
.v-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px;
  margin: 0; padding: 0; list-style: none;
}
.v-step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink-700); }
.v-step:first-child { border-top-color: var(--brand-600); }
.v-step__num { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--fg-faint); }
.v-step:first-child .v-step__num { color: var(--brand-300); }
.v-step p { margin: 0; color: var(--fg-subtle); }
.v-trust {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.v-trust li {
  display: flex; gap: 14px; align-items: center; padding: 20px 24px;
  background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md);
  font-weight: 500; color: var(--fg);
}
.v-trust svg { color: var(--brand-300); }

/* ---- Pricing ------------------------------------------------------------------
   One card per plan, Free included, three to a row at most: each track is at
   least a third of the row (less two gaps) and at least 300px, so a fourth
   plan starts a new row and a phone gets one column. Two plans share the row.

   Each card spans three rows of the grid as a subgrid - heading, price,
   features - so those blocks line up across a row however tall any one
   card's price area is, and the feature lists can be read across.

   Start free stays the section's one filled button; the recommended plan is
   ranked by its brand edge, the glow and the brick tag. */
.v-pricing .v-head { margin-bottom: 8px; }
.price-switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-sm); box-shadow: none; }
.price-switch__opt {
  min-height: 36px; padding: 0 14px; border: 0; border-radius: var(--radius-xs);
  background: transparent; color: var(--fg-subtle); font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; box-shadow: none;
}
.price-switch__opt[aria-pressed="true"] { background: var(--brand-soft); color: var(--fg); box-shadow: none; }
.v-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, calc((100% - 40px) / 3))), 1fr));
  column-gap: 20px; row-gap: 32px;
}
.v-plan {
  position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
  background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-lg);
}
.v-plan--rec { background: var(--card-raised); border-color: var(--brand-600); box-shadow: var(--shadow-glow); }
.v-plan__head { padding: 28px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.v-plan__name { margin: 0; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.v-plan__aud { margin: 0; font-size: 15px; color: var(--fg-subtle); }
.pricing-card__ribbon {
  position: absolute; top: -12px; left: 28px; transform: none;
  display: inline-block; height: auto; margin: 0; padding: 3px 10px;
  background: var(--brick); color: #fff; border-radius: var(--radius-xs); box-shadow: none;
  font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.01em; text-transform: none;
}
.v-plan__buy { padding: 20px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.v-opt { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--ink-700); border-radius: var(--radius-md); }
.v-opt--rec { border-color: var(--brand-600); background: var(--brand-soft); }
.v-opt .pricing-card__price { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.v-opt .pricing-card__price[hidden] { display: none; }
.v-opt__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; }
.v-opt__cycle { font-size: 13px; font-weight: 600; color: var(--fg); }
.v-opt .pricing-card__save-pct { font-size: 12px; font-weight: 600; color: var(--accent-green); background: none; padding: 0; border: 0; }
.v-opt .pricing-card__price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; }
.v-opt .pricing-card__amount { font-family: var(--font-display); font-size: 26px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--fg); }
.v-opt--rec .pricing-card__amount, .v-plan:not(:has(.v-opt + .v-opt)) .pricing-card__amount { font-size: 36px; letter-spacing: -0.04em; }
.v-opt .pricing-card__per { color: var(--fg-faint); }
.v-opt .pricing-card__was { color: var(--fg-faint); font-size: 13px; text-decoration: line-through; }
.v-opt .pricing-card__sub, .v-opt > .pricing-card__sub { margin: 0; font-size: 13px; line-height: 18px; color: var(--fg-subtle); }
.v-opt__saving { margin: 0; font-size: 13px; line-height: 18px; color: var(--accent-green); }
.v-opt__nudge { margin: 0; font-size: 13px; line-height: 18px; color: var(--fg-subtle); }
.v-opt .pricing-card__foot, .v-plan__buy > .pricing-card__foot { margin: 0; padding: 0; border: 0; background: none; }
.v-plan__buy > .pricing-card__foot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.v-plan__feats {
  align-self: start; margin-top: 20px; padding: 24px 28px 28px; border-top: 1px solid var(--ink-700);
  display: flex; flex-direction: column; gap: 14px;
}
.v-plan__feats-title { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); }
.v-feats {
  display: flex; flex-direction: column; gap: 12px;
  margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 22px;
}
.v-feats .feature-item { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 0; border: 0; color: var(--fg); }
.v-feats .feature-item svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.v-feats .feature-item--off { color: var(--fg-faint); }
.v-feats .feature-value { color: var(--fg-subtle); }
.v-feats .feature-note {
  display: inline-block; vertical-align: 1px; margin-left: 6px; padding: 1px 6px; border-radius: var(--radius-xs);
  background: var(--brick-soft); color: var(--brick-text);
  font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.v-more { display: flex; flex-direction: column; gap: 12px; }
.v-more summary {
  list-style: none; cursor: pointer; display: inline-flex; min-height: 32px; align-items: center;
  font-size: 14px; font-weight: 500; color: var(--brand-300);
}
.v-more summary::-webkit-details-marker { display: none; }
.v-more summary:hover { color: var(--brand-200); }
.v-more[open] summary { display: none; }
.pricing-foot-note { margin: 0; text-align: center; font-size: 13px; line-height: 20px; color: var(--fg-faint); }
.v-pricing-error { max-width: 460px; margin: 0 auto; padding: 20px 24px; text-align: center; background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md); color: var(--fg-subtle); }

/* ---- Built for ------------------------------------------------------------------ */
.v-side { display: flex; flex-wrap: wrap; gap: 40px; }
.v-side__head { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.v-side__body { flex: 999 1 600px; min-width: 0; }
.v-cards3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.v-card {
  display: flex; flex-direction: column; gap: 16px; padding: 24px;
  background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md);
}
.v-card p { margin: 0; color: var(--fg-subtle); }
.v-card > svg { color: var(--brand-300); }

/* ---- Comparison ------------------------------------------------------------------ */
.v-cmp-box { overflow-x: auto; border: 1px solid var(--ink-700); border-radius: var(--radius-md); background: var(--card); }
.v-cmp { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; color: var(--fg); }
.v-cmp th, .v-cmp td { padding: 16px 20px; border-bottom: 1px solid var(--ink-700); text-align: left; vertical-align: middle; }
.v-cmp thead tr { background: var(--ink-750); }
.v-cmp thead th { font-size: 14px; font-weight: 600; color: var(--fg-subtle); }
.v-cmp tbody th { font-weight: 500; }
.v-cmp tbody tr:last-child > * { border-bottom: 0; }
.v-cmp .cmp-us { background: var(--us-tint); font-weight: 600; width: 26%; }
.v-cmp thead .cmp-us { background: var(--brand-soft); color: var(--brand-300); }
.v-cmp td:last-child { color: var(--fg-subtle); width: 26%; }
.v-cmp .cmp-sub { display: block; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--fg-faint); }
.v-cmp-note { margin: 0; font-size: 13px; line-height: 20px; color: var(--fg-faint); }

/* ---- Partners CTA ----------------------------------------------------------------- */
.v-pcard {
  display: flex; flex-direction: column; gap: 18px; padding: 28px;
  background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md);
  color: var(--fg); text-decoration: none;
  transition: border-color 120ms var(--ease-std), background-color 120ms var(--ease-std);
}
.v-pcard:hover { border-color: var(--brand-600); background: var(--card-raised); color: var(--fg); }
.v-pcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.v-pcard__top svg { color: var(--brand-300); }
.v-pcard p { margin: 0; color: var(--fg-subtle); }
.v-pcard .v-link { margin-top: auto; }
.v-pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }

/* ---- FAQ (every page that shows FAQs) -----------------------------------------------
   Still plain <details>, so it opens with JavaScript off. Each question is its
   own card; the open one takes the brand edge and its plus turns into a cross. */
.v-faq .v-head { margin-bottom: 0; }
.faq-list { width: 100%; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; border: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; padding: 0; }
.faq-item::before { display: none; }
.faq-q:hover { background: none; }
.faq-item {
  border: 1px solid var(--ink-700); border-radius: var(--radius-md); background: var(--card);
  box-shadow: none; transition: border-color 120ms, background-color 120ms;
}
.faq-item:hover { border-color: var(--ink-500); }
.faq-item[open] { border-color: var(--brand-600); background: var(--card-raised); }
/* Each card keeps its own full border; the old list's row dividers go. */
.faq-item, .faq-item:first-child { border-top: 1px solid var(--ink-700); }
.faq-item:hover { border-top-color: var(--ink-500); }
.faq-item[open] { border-top-color: var(--brand-600); }
.faq-q {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  min-height: 44px; padding: 20px 20px 20px 24px;
  font-family: var(--font-sans); font-size: 17px; line-height: 26px; font-weight: 600; color: var(--fg);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-n { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; color: var(--fg-faint); }
.faq-item[open] .faq-n { color: var(--brand-300); }
.faq-x {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border: 1px solid var(--ink-700); border-radius: var(--radius-sm); color: var(--fg-subtle);
  transition: background-color 120ms, border-color 120ms, color 120ms;
}
.faq-x svg { transition: transform 200ms var(--ease-std); }
.faq-item[open] .faq-x { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.faq-item[open] .faq-x svg { transform: rotate(45deg); }
.faq-a { padding: 0 24px 24px 61px; max-width: 680px; color: var(--fg-subtle); font-size: 16px; line-height: 24px; }
.faq-a > * + * { margin-top: 12px; }
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul, .faq-a ol { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.faq-a a { color: var(--brand-300); }
.v-help-title { margin: 0; text-align: center; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--fg-subtle); }
.v-help { width: 100%; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.v-help__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 10px; }
.v-help__item {
  display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 18px 20px;
  border: 1px solid var(--ink-700); border-radius: var(--radius-md); background: var(--card);
  color: var(--fg); text-decoration: none;
}
.v-help__item:hover { background: var(--ink-800); border-color: var(--ink-500); color: var(--fg); }
.v-help__text { display: flex; flex-direction: column; }
.v-help__name { font-size: 15px; line-height: 22px; font-weight: 600; }
.v-help__sub { font-size: 13px; line-height: 18px; color: var(--fg-faint); }

/* ---- Closing panel ------------------------------------------------------------------ */
.closing.v-closing {
  display: flex; flex-wrap: wrap; padding: 0; margin: 0;
  border: 1px solid var(--ink-700); border-radius: 0; background: none; box-shadow: none; overflow: visible;
}
.v-closing__main {
  flex: 999 1 520px; min-width: 0; box-sizing: border-box; padding: clamp(28px, 5.5vw, 64px);
  background: #18235e; display: flex; flex-direction: column; gap: 20px;
}
.v-closing__main .v-ovl { color: #bcc8ff; }
.v-closing__main h2 { margin: 0; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.v-closing__main p:not(.v-ovl):not(.v-note) { margin: 0; font-size: 18px; line-height: 28px; color: #dde3ff; }
.v-closing__main .v-note { font-size: 12px; line-height: 16px; color: #bcc8ff; }
.v-btn--white { background: #fff; border-color: #fff; color: #18235e; }
.v-btn--white:hover { background: #dde3ff; border-color: #dde3ff; color: #18235e; }
.v-btn--onblue { border-color: #96a8ff; color: #fff; background: transparent; }
.v-btn--onblue:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.v-closing__side {
  flex: 1 1 300px; box-sizing: border-box; padding: clamp(28px, 5.5vw, 64px);
  background: var(--card); display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.v-closing__side p { margin: 0; color: var(--fg-subtle); }
.v-closing__side .v-btn { align-self: flex-start; }
.v-wa { color: var(--accent-green); }

/* ---- Footer ----------------------------------------------------------------------- */
.v-foot { margin-top: auto; background: var(--card); border-top: 1px solid var(--ink-700); }
.v-foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.v-foot__about { flex: 1 1 320px; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.v-foot__about p, .v-foot__about address { margin: 0; font-size: 14px; line-height: 22px; color: var(--fg-subtle); font-style: normal; }
.v-foot__about address { color: var(--fg-faint); }
.v-foot__about strong { color: var(--fg-muted); font-weight: 600; }
.v-foot__sub { flex: 1 1 320px; max-width: 440px; }
.v-foot__sub h2 { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; color: var(--fg); }
.v-foot__sub > p { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--fg-subtle); }
.v-foot__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px;
  padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--ink-700);
}
.v-foot__cols h2 { margin: 0 0 14px; font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); }
.v-foot__cols ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.v-foot__cols a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; color: var(--fg-subtle); text-decoration: none; }
.v-foot__cols a:hover { color: var(--fg); }
.v-foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--ink-700);
  font-size: 12px; line-height: 16px; font-weight: 500; color: var(--fg-faint);
}
.v-foot__base p { margin: 0; }
.v-social { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.v-social a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius-sm); color: var(--fg-faint);
}
.v-social a:hover { background: var(--ink-800); color: var(--fg); }
/* The subscribe form's input and button, in the system's shapes. */
.v-foot .form-input {
  min-height: 48px; padding: 0 14px; box-sizing: border-box;
  background: var(--ink-950); border: 1px solid var(--ink-500); border-radius: var(--radius-sm);
  color: var(--fg); font-family: inherit; font-size: 15px; box-shadow: none;
}
.v-foot .form-input::placeholder { color: var(--fg-faint); }
.v-foot #nlBtn { min-height: 48px; border-radius: var(--radius-sm); }

/* ---- Buttons shared with older markup ------------------------------------------------
   Pages not rebuilt yet use .btn-solid / .btn-ghost / .btn-primary; give them
   the system's shape so they match the new chrome around them. */
.btn-solid, .btn-ghost, .btn-primary, .btn-outline { border-radius: var(--radius-sm) !important; }
.btn-solid:not(.btn-whatsapp) { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: none; }
.btn-solid:not(.btn-whatsapp):hover { background: var(--brand-700); }

/* ---- Contact rail + back to top -------------------------------------------------------
   Markup and behaviour unchanged (includes/action_rail.html, site.js); the
   skin moves onto the theme: raised surface, square left edge. */
.rail-strip {
  border-color: var(--ink-700); border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--ink-750); box-shadow: var(--shadow-lg);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.rail:hover .rail-strip, .rail:focus-within .rail-strip { border-color: var(--ink-600); box-shadow: var(--shadow-lg); }
.rail-item + .rail-item { border-top-color: var(--ink-700); }
.rail-btn { color: var(--fg-subtle); }
.rail-label { color: var(--fg); font-size: 14px; font-weight: 500; }
.rail-btn:hover, .rail-btn:focus-visible { background: var(--ink-800); color: var(--fg); }
.rail-btn--whatsapp:hover, .rail-btn--whatsapp:focus-visible { background: var(--ink-800); color: var(--accent-green); }
.rail-btn--award:hover, .rail-btn--award:focus-visible,
.rail-btn--google:hover, .rail-btn--google:focus-visible { background: var(--ink-800); color: var(--brick-text); }
.rail-btn--linkedin:hover, .rail-btn--instagram:hover, .rail-btn--youtube:hover, .rail-btn--x:hover,
.rail-btn--phone:hover, .rail-btn--chat:hover { background: var(--ink-800); color: var(--brand-300); }
.rail-btn:focus-visible { outline-color: var(--brand-300); }
.to-top {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  border-color: var(--ink-700); background: var(--ink-750); box-shadow: var(--shadow-md);
  backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--fg);
}
.to-top:hover, .to-top:focus-visible { border-color: var(--ink-600); color: var(--fg); }
.to-top .to-top-ring { position: absolute; inset: -1px; width: 48px; height: 48px; transform: none; }
.to-top .to-top-track { fill: none; stroke: none; }
.to-top .to-top-fill { fill: none; stroke: var(--logo-blue); stroke-width: 2; stroke-dasharray: 100; transition: none; }
.to-top .to-top-arrow { width: 20px; height: 20px; }


/* =========================================================================
   INNER PAGES
   The building blocks every page other than home is made of: page header,
   tags and bylines, post and info cards, breadcrumbs, empty states, forms,
   the guide layout, and the legal pages' contents box. Same rules as home:
   tokens only, sharp corners, Geist, one filled button per view.
   ========================================================================= */

/* ---- Page header -------------------------------------------------------- */
.v-page-head { border-bottom: 1px solid var(--ink-700); padding: clamp(48px, 8vw, 88px) 0 clamp(36px, 5vw, 56px); }
.v-page-head__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.v-page-head__inner--wide { max-width: none; margin: 0; }
.v-page-head__inner--wide .v-lead { max-width: 680px; }
.v-page-head__meta { margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--fg-faint); }
.v-h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; font-weight: 600; letter-spacing: -0.035em; color: var(--fg); text-wrap: balance; }
.v-measure { max-width: 760px; margin: 0 auto; min-width: 0; }

/* ---- Breadcrumbs, back links, banners ----------------------------------- */
.v-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; color: var(--fg-faint); }
.v-crumbs a { color: var(--fg-subtle); text-decoration: none; }
.v-crumbs a:hover { color: var(--fg); }
.v-crumbs > span:last-child { color: var(--fg-muted); }
.v-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; font-weight: 500; color: var(--fg-subtle); text-decoration: none; }
.v-back:hover { color: var(--fg); }
.v-banner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  margin-bottom: 8px; padding: 12px 16px; border: 1px dashed var(--brand-600); border-radius: var(--radius-sm);
  background: var(--brand-soft); font-size: 14px; line-height: 20px; color: var(--fg-muted);
}
.v-banner strong { color: var(--fg); }
.v-banner a { color: var(--brand-300); }
.v-banner > span:last-child { display: flex; gap: 16px; }
.v-alert { margin: 12px 0 0; padding: 12px 16px; border: 1px solid var(--brick-text); border-radius: var(--radius-sm); background: var(--brick-soft); font-size: 14px; line-height: 20px; color: var(--fg); }
.v-status { margin: 24px 0 0; font-size: 14px; color: var(--fg-subtle); }
.v-status strong { color: var(--fg); font-weight: 600; }
.v-status a { margin-left: 8px; color: var(--brand-300); }

/* ---- Tags and bylines ---------------------------------------------------- */
.v-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v-tag {
  display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid var(--ink-700); border-radius: var(--radius-xs);
  background: var(--ink-850); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--fg-subtle);
}
.v-tag--brand { border-color: transparent; background: var(--brand-soft); color: var(--brand-300); }
.v-tag--brick { border-color: transparent; background: var(--brick-soft); color: var(--brick-text); }
.v-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--fg-faint); }
.v-byline--compact { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ink-700); font-size: 12px; }
.v-byline__avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 26px; height: 26px; border-radius: 9999px; background: var(--brand-600); color: #fff; font-size: 10px; font-weight: 600;
}
.v-byline--compact .v-byline__avatar { width: 22px; height: 22px; font-size: 9px; }
.v-byline__avatar--lg { width: 36px; height: 36px; font-size: 12px; }
.v-byline__dot { width: 3px; height: 3px; border-radius: 9999px; background: var(--fg-faint); }
/* Posts: "Invrsys Team | date | x min read", thin rules between. */
.v-byline__name { font-weight: 500; color: var(--fg-muted); }
.v-byline__bar { width: 1px; height: 12px; background: var(--ink-600); }
/* The post header's byline and tag pills share one row; they stack on a phone. */
.v-post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 8px; }
.v-post-cta { margin-top: 48px; }
.v-clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v-author { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--fg-faint); }
.v-author__name { display: block; font-size: 14px; font-weight: 500; color: var(--fg); }
.v-author__role { display: block; font-size: 12px; color: var(--fg-faint); }

/* ---- Segmented filter (blog tags) ---------------------------------------- */
.v-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-sm); align-self: flex-start; }
.v-seg button {
  min-height: 36px; padding: 0 14px; border: 0; border-radius: var(--radius-xs); background: transparent;
  color: var(--fg-subtle); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.v-seg button:hover { color: var(--fg); }
.v-seg button[aria-pressed="true"] { background: var(--brand-soft); color: var(--fg); }

/* ---- Grids and cards ------------------------------------------------------ */
.v-grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.v-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.v-row-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.v-row-head > * { margin: 0; }
.v-card--link, .v-post, .v-feature { text-decoration: none; color: var(--fg); transition: border-color 120ms var(--ease-std), background-color 120ms var(--ease-std); }
.v-card--link:hover, .v-post:hover, .v-feature:hover { border-color: var(--brand-600); color: var(--fg); }
.v-card--link .v-link { margin-top: auto; }
.v-card--lg { padding: clamp(24px, 4vw, 36px); gap: 14px; }
.v-address { margin: 6px 0 0; font-style: normal; font-size: 14px; line-height: 22px; color: var(--fg-faint); }
.v-dl { margin: 0; display: flex; flex-direction: column; }
.v-dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--ink-700); }
.v-dl > div:first-child { border-top: 0; padding-top: 0; }
.v-dl dt { font-size: 14px; color: var(--fg-faint); }
.v-dl dd { margin: 0; }
.v-dl a { font-family: var(--font-mono); font-size: 13px; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.v-dl a:hover { color: var(--brand-300); }
.v-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; color: var(--fg-muted); }
.v-checks li { display: flex; gap: 10px; align-items: flex-start; }
.v-cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: clamp(24px, 4vw, 40px); background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-lg);
}
.v-cta-band__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 8px; }
.v-cta-band__text p { margin: 0; color: var(--fg-subtle); }
.v-cta-band__note { flex: 1 1 100%; margin: 0; }
.v-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: clamp(40px, 7vw, 64px) clamp(20px, 5vw, 48px);
  border: 1px dashed var(--ink-500); border-radius: var(--radius-lg); background: var(--card);
}
.v-placeholder > svg, .v-placeholder > i { color: var(--brand-300); }
.v-placeholder p { margin: 0; max-width: 460px; color: var(--fg-subtle); }
.v-placeholder a:not(.v-btn):not(.v-link) { color: var(--brand-300); }
.v-empty { grid-column: 1 / -1; margin: 0; padding: 48px 0; text-align: center; color: var(--fg-faint); }

/* ---- Blog: featured post, post cards, covers ------------------------------- */
.v-feature {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-lg); overflow: hidden;
}
.v-feature__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 40px); }
.v-feature__title { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; color: var(--fg); }
.v-feature .v-byline { margin-top: 4px; }
.v-cover { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-950); border-bottom: 1px solid var(--ink-700); }
.v-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-std); }
.v-feature:hover .v-cover img, .v-post:hover .v-cover img { transform: scale(1.03); }
/* 16:9 like every cover, so the featured one is shown whole rather than
   cropped to the height of the text beside it. */
.v-cover--feature { aspect-ratio: 16 / 9; align-self: center; border-bottom: 0; border-right: 1px solid var(--ink-700); }
.v-cover__label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); }
.v-post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md); overflow: hidden; }
.v-post__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.v-post__title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--fg); }
.v-post__excerpt { margin: 0; font-size: 14px; line-height: 21px; color: var(--fg-subtle); }
.v-post--plain .v-post__body { gap: 12px; }

/* ---- WhatsApp panel (blog posts, guides, resources) ------------------------ */
.v-wa-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: clamp(24px, 4vw, 40px); background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-lg);
}
.v-wa-panel--medium { max-width: none; }
.v-wa-panel--narrow { max-width: 760px; margin: 0 auto; }
.v-wa-panel__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; }
.v-wa-panel__text p { margin: 0; color: var(--fg-subtle); }
.v-wa-panel__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--fg-faint) !important; }

/* ---- Forms (contact, unsubscribe, subscribe) ------------------------------------
   One field style everywhere: sunken ground, the strong border (3:1), 4px
   corners, 48px tall. The ids and classes the validation scripts use are
   unchanged. */
.v-form {
  width: 100%; max-width: 620px; margin: 0 auto; box-sizing: border-box;
  padding: clamp(24px, 4vw, 40px); background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-lg);
}
.v-form--card { max-width: 560px; }
.form-group { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fg-muted); }
.form-input, .v-form select, .v-form textarea {
  width: 100%; min-height: 48px; box-sizing: border-box; padding: 12px 14px;
  background: var(--ink-950); border: 1px solid var(--ink-500); border-radius: var(--radius-sm);
  color: var(--fg); font-family: inherit; font-size: 15px; line-height: 22px; box-shadow: none;
  transition: border-color 120ms var(--ease-std);
}
.form-input::placeholder { color: var(--fg-faint); }
.form-input:focus { outline: 2px solid var(--brand-300); outline-offset: 2px; border-color: var(--brand-600); }
.form-input.input-error { border-color: var(--accent-red); }
select.form-input { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa0bd' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.form-error-msg { display: none; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; color: var(--accent-red); }
.form-error-msg.visible { display: flex; }
.v-consent { font-size: 13px; line-height: 20px; color: var(--fg-subtle); }
.v-consent a { color: var(--brand-300); }
.v-form input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand-600); }

/* ---- Guides ------------------------------------------------------------------------ */
.guide-search {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 4px 4px 14px;
  background: var(--card); border: 1px solid var(--ink-500); border-radius: var(--radius-sm); box-shadow: none;
}
.guide-search:focus-within { border-color: var(--brand-600); box-shadow: none; outline: 2px solid var(--brand-300); outline-offset: 2px; }
.guide-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; color: var(--fg); font-family: inherit; font-size: 15px; outline: none; }
.guide-search__btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius-xs); background: var(--brand-600); color: #fff; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.guide-search__btn:hover { background: var(--brand-700); }
.guide-chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border: 1px solid var(--ink-700); border-radius: var(--radius-xs); background: var(--card);
  color: var(--fg-subtle); font-size: 13px; font-weight: 500; text-decoration: none;
}
.guide-chip:hover { color: var(--fg); border-color: var(--ink-500); }
.guide-chip.is-active { background: var(--brand-soft); border-color: var(--brand-600); color: var(--fg); }
.guide-chip--sm { min-height: 26px; padding: 0 8px; font-size: 12px; }
form[role="search"] + .flex { margin-top: 16px; }
.guide-card {
  position: relative; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 28px);
  background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md); box-shadow: none;
}
.guide-card:hover { border-color: var(--brand-600); }
.guide-card > div:first-of-type { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.guide-card ol { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--fg-subtle); }
.guide-card ol li { display: flex; gap: 10px; }
.guide-card .v-link { margin-top: auto; padding-top: 20px; }
.guide-matches { position: relative; z-index: 1; margin: 16px 0 0; padding: 12px 14px; list-style: none; display: flex; flex-direction: column; gap: 6px; background: var(--ink-950); border: 1px solid var(--ink-700); border-radius: var(--radius-sm); font-size: 14px; }
.guide-matches a { display: flex; gap: 10px; color: var(--brand-300); text-decoration: none; }
.v-guide { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 8vw, 96px); }
.v-guide__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
.v-guide__sticky { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto; padding: 0 8px 24px 0; }
.v-guide__main { min-width: 0; max-width: 720px; }
.v-guide__mobile { display: none; flex-direction: column; gap: 12px; margin-top: 20px; }
.v-guide__head { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.v-guide__head .v-h1 { font-size: clamp(30px, 4.4vw, 44px); }
.guide-back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--ink-700); border-radius: var(--radius-sm); color: var(--fg-subtle); font-size: 14px; font-weight: 500; text-decoration: none; }
.guide-back:hover { color: var(--fg); border-color: var(--ink-500); }
.guide-outline { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.guide-outline__title { margin: 6px 0 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--fg); }
.guide-outline__link { border-radius: var(--radius-sm); }
.guide-outline__link.is-current { background: var(--brand-soft); color: var(--fg); }
.guide-toc-mobile { border: 1px solid var(--ink-700); border-radius: var(--radius-md); background: var(--card); }
.guide-toc-mobile summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; list-style: none; cursor: pointer; font-size: 14px; color: var(--fg); }
.guide-toc-mobile summary strong { font-weight: 600; }
.guide-toc-mobile__chev { transition: transform 200ms var(--ease-std); color: var(--fg-faint); }
.guide-toc-mobile__body { padding: 16px; border-top: 1px solid var(--ink-700); }
.v-seq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--ink-700); }
.v-seq__link { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md); text-decoration: none; }
.v-seq__link:hover { border-color: var(--brand-600); }
.v-seq__link--next { text-align: right; }
.v-seq__link--done { background: var(--brand-soft); border-color: var(--brand-600); }
.v-seq__label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); }
.v-seq__link--done .v-seq__label { color: var(--brand-300); }
.v-seq__title { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--fg); }

/* ---- Legal pages ---------------------------------------------------------------- */
.v-toc { margin-bottom: 48px; padding: 20px 24px; background: var(--card); border: 1px solid var(--ink-700); border-radius: var(--radius-md); }
.v-toc ol { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.v-toc a { color: var(--brand-300); font-size: 15px; text-underline-offset: 3px; }
.prose-inv .alert, .prose-inv .alert-warning { padding: 14px 18px; border: 1px solid var(--brick-text); border-radius: var(--radius-sm); background: var(--brick-soft); color: var(--fg); }

/* ---- Status pages: 404, 502, "check your email" ------------------------------------ */
.v-status-page { padding-top: clamp(80px, 14vw, 160px); padding-bottom: clamp(80px, 14vw, 160px); }
.v-status-page__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.v-status-page__inner .v-ctas { margin-top: 16px; }
.v-status-page__inner strong { color: var(--fg); }

/* ---- Article body (blog posts, guides, legal) --------------------------------------
   components.css sets the type; these bring it into the system's shapes. */
.prose-inv h2, .prose-inv h3, .prose-inv h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.prose-inv h2 { font-size: 26px; line-height: 1.25; }
.prose-inv h3 { font-size: 20px; line-height: 1.3; }
.prose-inv blockquote { border-left-color: var(--brand-600); }
.prose-inv .callout { border-radius: var(--radius-md); border-left-width: 1px; border-color: var(--ink-700); background: var(--card); }
.prose-inv .callout::before { content: none; }
.prose-inv .callout--warn { border-color: var(--brick-text); background: var(--brick-soft); }
.prose-inv .guide-shot img, .prose-inv .guide-shot--placeholder { border-radius: var(--radius-md); }
.post-body pre { border-radius: var(--radius-md); background: var(--ink-950); }
.code-copy { border-radius: var(--radius-sm); font-family: var(--font-sans); }
.post-body img { border-radius: var(--radius-md); }
.post-body .post-cover, .post-body .post-cover-fallback { border-radius: var(--radius-lg); }

/* ---- Overlays: demo and beta modals, toast, offer popup ----------------------------- */
.demo-modal-overlay { background: var(--overlay, rgba(3, 4, 8, 0.72)); }
:root[data-theme="light"] .demo-modal-overlay { background: rgba(12, 14, 22, 0.48); }
.demo-modal-overlay .demo-modal-panel { border-radius: var(--radius-lg); border-color: var(--ink-700); background: var(--ink-750); box-shadow: var(--shadow-lg); }
.demo-modal-overlay .demo-modal-close { border-radius: var(--radius-sm); width: 36px; height: 36px; }
.demo-modal-overlay .demo-modal-header h2 { font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.demo-modal-overlay .demo-field input[type=text], .demo-modal-overlay .demo-field input[type=email], .demo-modal-overlay .demo-field input[type=tel], .demo-modal-overlay .demo-field select, .demo-modal-overlay .demo-field textarea {
  min-height: 44px; border-radius: var(--radius-sm); border-color: var(--ink-500); background-color: var(--ink-950);
}
.demo-modal-overlay .demo-field select option { background: var(--ink-850); }
.demo-modal-overlay .demo-btn-primary { min-height: 48px; border-radius: var(--radius-sm); font-weight: 500; background: var(--brand-600); }
.demo-modal-overlay .demo-btn-primary:hover { background: var(--brand-700); }
.demo-modal-overlay .demo-btn-ghost { border-radius: var(--radius-sm); }
.toast-custom { border-radius: var(--radius-md); background: var(--ink-750); border-color: var(--ink-700); box-shadow: var(--shadow-lg); }
.promo { border-radius: var(--radius-md); background: var(--ink-750); border-color: var(--ink-700); box-shadow: var(--shadow-lg); }
.promo__code { border-radius: var(--radius-sm); }
.promo__copy, .promo__close { border-radius: var(--radius-sm); }

/* ---- Responsive -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .v-nav__links, .v-nav__login { display: none !important; }
  #navToggle { display: inline-flex; }
}
@media (max-width: 900px) {
  .v-wrap { padding-left: 20px; padding-right: 20px; }
  .v-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-guide__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v-guide__side { display: none; }
  .v-guide__mobile { display: flex; }
  .v-cover--feature { border-right: 0; border-bottom: 1px solid var(--ink-700); min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  #site-nav { padding: 10px 10px 0; }
  .v-wrap { padding-left: 16px; padding-right: 16px; }
  .nav-product-sep, .nav-product { display: none; }
  .v-hero { padding-top: 56px; }
  .v-hero .v-ctas { flex-direction: column; align-self: stretch; }
  .v-hero .v-ctas .v-btn { width: 100%; }
  .v-shot { margin-top: 40px; padding: 8px 8px 0; }
  .v-facts > li { padding: 20px 16px; }
  .v-facts__num { font-size: 26px; line-height: 32px; }
  .tour .tour-desc { padding: 24px; }
  .v-brick { padding: 40px 24px; }
  .v-brick__big { font-size: 80px; }
  .v-cmp th, .v-cmp td { padding: 12px; font-size: 14px; }
  .faq-q { grid-template-columns: 1fr auto; padding: 16px; gap: 12px; font-size: 16px; line-height: 24px; }
  .faq-n { display: none; }
  .faq-a { padding: 0 16px 20px; }
  .v-partner-ctas { flex-direction: column; align-self: stretch; }
  .v-cta-band .v-ctas, .v-status-page__inner .v-ctas { flex-direction: column; align-self: stretch; width: 100%; }
  .v-wa-panel > .v-btn { width: 100%; }
  .v-cta-band .v-ctas .v-btn, .v-status-page__inner .v-ctas .v-btn { width: 100%; }
  .v-seq__link--next { text-align: left; }
  .v-seg { align-self: stretch; }
  .v-seg button { flex: 1 1 auto; }
  .v-partner-ctas .v-btn { width: 100%; }
  .to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 370px) {
  .v-brand__word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v-btn, .faq-x svg, .v-dd__panel, .v-pcard, .tour .tour-tab { transition: none; }
}
