/* Venturization - blog home page
   Built to Design System v0.3. Every value below comes from a token or a rule
   in Venturization_Design_System_v0.3.md. No value is invented here. */

/* ---------- fonts: self-hosted, latin subset, variable ---------- */

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens (section 9) ---------- */

:root {
  /* surfaces */
  --vz-bg: #0f1113;
  --vz-surface: #1a1f23;
  --vz-surface-quiet: #151b1f;
  --vz-surface-raised: #23262a;

  /* text */
  --vz-text: #f7f7f8;
  --vz-text-secondary: #a8a8a8;
  --vz-text-disabled: #898a8b;

  color-scheme: dark;

  /* accent.
     --vz-accent is a FILL only, and it always carries dark text.
     Lime on a light background is 1.06:1, so lines and labels use their own
     tokens, which change with the theme. */
  --vz-accent: #d1fe17;
  --vz-on-accent: #0f1113;
  --vz-accent-hover: #dfff55;
  --vz-accent-pressed: #bce513;
  --vz-accent-line: #d1fe17;   /* 2 px state lines, accent underline, the newsletter rule */
  --vz-accent-text: #d1fe17;   /* active labels, link hover */
  --vz-mark: #d1fe17;          /* the V mark */

  /* lines and states */
  --vz-divider: #383c42;
  --vz-control-border: #737980;
  --vz-error: #ff8a97;

  /* pillars */
  --vz-pillar-client-work: #ed1572;
  --vz-pillar-client-work-text: #ff5c9d;
  --vz-pillar-workflows: #4fb3ff;
  --vz-pillar-workflows-text: #4fb3ff;
  --vz-pillar-tutorials: #b39bff;
  --vz-pillar-tutorials-text: #b39bff;
  --vz-pillar-radar: #ffb020;
  --vz-pillar-radar-text: #ffb020;

  /* type */
  --vz-font-display: "Manrope", Arial, sans-serif;
  --vz-font-body: "Inter", Arial, sans-serif;

  /* radius */
  --vz-radius-chip: 4px;
  --vz-radius: 8px;
  --vz-radius-avatar: 20px;

  /* size */
  --vz-header-h: 68px;
  --vz-control-h: 46px;
  --vz-control-h-lg: 52px;
  --vz-content-max: 1200px;
  --vz-gutter: 24px;

  /* space */
  --vz-space-1: 4px;
  --vz-space-2: 8px;
  --vz-space-3: 12px;
  --vz-space-4: 16px;
  --vz-space-6: 24px;
  --vz-space-8: 32px;
  --vz-space-10: 40px;
  --vz-space-12: 48px;
  --vz-space-16: 64px;
  --vz-space-24: 96px;

  /* motion */
  --vz-duration-fast: 140ms;
  --vz-duration-ui: 180ms;
  --vz-duration-panel: 240ms;
  --vz-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- light theme (section 10 of the design system) ----------
   Opt-in: the site is dark by default and only switches when the visitor
   asks. Every value below was checked against the four light surfaces. */

:root[data-theme="light"] {
  color-scheme: light;

  --vz-bg: #f2f3f5;
  --vz-surface: #ffffff;
  --vz-surface-quiet: #eaecef;
  --vz-surface-raised: #e4e7eb;

  --vz-text: #0f1113;
  --vz-text-secondary: #5a6068;
  --vz-text-disabled: #8a9099;

  --vz-accent: #d1fe17;
  --vz-on-accent: #0f1113;
  --vz-accent-hover: #bce513;
  --vz-accent-pressed: #a8ce0c;
  --vz-accent-line: #4e6b00;
  --vz-accent-text: #4e6b00;
  --vz-mark: #0f1113;

  --vz-divider: #d9dde2;
  --vz-control-border: #767d85;
  --vz-error: #b31e33;

  --vz-pillar-client-work: #b00e53;
  --vz-pillar-client-work-text: #b00e53;
  --vz-pillar-workflows: #0a63b0;
  --vz-pillar-workflows-text: #0a63b0;
  --vz-pillar-tutorials: #5f42cc;
  --vz-pillar-tutorials-text: #5f42cc;
  --vz-pillar-radar: #7a4f00;
  --vz-pillar-radar-text: #7a4f00;
}

/* ---------- theme toggle ---------- */

.theme-toggle {
  display: none;              /* shown only when the script runs */
  position: fixed;
  left: var(--vz-space-4);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--vz-surface);
  border: 1px solid var(--vz-control-border);
  border-radius: var(--vz-radius);
  color: var(--vz-text-secondary);
  cursor: pointer;
  transition: background var(--vz-duration-ui) var(--vz-ease),
              color var(--vz-duration-ui) var(--vz-ease);
}

:root[data-js="on"] .theme-toggle { display: grid; }

.theme-toggle:hover { background: var(--vz-surface-raised); color: var(--vz-text); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* The left rail needs 1200 px of content plus 76 px of clear space on each
   side. Below that the control would sit on the text, so it moves to the
   bottom corner instead. */
@media (max-width: 1360px) {
  .theme-toggle {
    left: auto;
    right: var(--vz-space-4);
    top: auto;
    bottom: var(--vz-space-4);
    transform: none;
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--vz-bg);
  color: var(--vz-text);
  font-family: var(--vz-font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

/* one focus treatment everywhere (section 7, primary button) */
:focus-visible {
  outline: 2px solid var(--vz-accent-line);
  outline-offset: 4px;
  border-radius: 2px;
}

.container {
  max-width: var(--vz-content-max);
  margin: 0 auto;
  padding: 0 var(--vz-gutter);
}

/* skip link: first tab stop, visible only when focused */
.skip-link {
  position: absolute;
  left: var(--vz-space-6);
  top: -60px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 var(--vz-space-4);
  background: var(--vz-accent);
  color: var(--vz-on-accent);
  border-radius: var(--vz-radius);
  font-size: 14px;
  font-weight: 600;
  transition: top var(--vz-duration-ui) var(--vz-ease);
}

.skip-link:focus { top: var(--vz-space-2); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- type scale (section 4) ---------- */

.display {
  font-family: var(--vz-font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 58px;
  letter-spacing: -0.04em;
  margin: 0;
}

.h1 {
  font-family: var(--vz-font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -0.03em;
  margin: 0;
}

.h2 {
  font-family: var(--vz-font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.02em;
  margin: 0;
}

.h3 {
  font-family: var(--vz-font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  margin: 0;
}

.body-lg {
  font-size: 20px;
  line-height: 28px;
  margin: 0;
}

.body { font-size: 16px; line-height: 24px; margin: 0; }

.ui {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.overline {
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secondary { color: var(--vz-text-secondary); }

/* Accent underline: decoration only, one per page (section 7).
   Dark theme: a 4 px lime rule under the phrase.
   Light theme: the same lime, swiped behind the phrase like a marker. A line
   cannot carry lime on light (1.06:1), but a band can, because the text on it
   is dark and reads at 16.13:1. */
.accent-underline {
  text-decoration: underline;
  text-decoration-color: var(--vz-accent-line);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  text-decoration-skip-ink: none;
}

:root[data-theme="light"] .accent-underline {
  text-decoration: none;
  color: var(--vz-on-accent);
  background-image: linear-gradient(
    to top,
    transparent 8%,
    var(--vz-accent) 8%,
    var(--vz-accent) 52%,
    transparent 52%
  );
  padding-inline: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- mark and wordmark (section 5) ---------- */

.mark {
  width: 28px;
  height: 22px;
  color: var(--vz-mark);
  flex: none;
}

.mark svg { width: 100%; height: 100%; fill: currentColor; display: block; }

.wordmark {
  font-family: var(--vz-font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--vz-text);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--vz-space-3);
}

/* ---------- header (section 7) ---------- */

.site-header {
  height: var(--vz-header-h);
  border-bottom: 1px solid var(--vz-divider); /* full page width, not the column */
  background: var(--vz-bg);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vz-space-6);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--vz-space-8);
}

.site-nav a {
  color: var(--vz-text-secondary);
  padding-bottom: var(--vz-space-1);
  border-bottom: 2px solid transparent;
  transition: color var(--vz-duration-ui) var(--vz-ease);
}

.site-nav a:hover { color: var(--vz-text); }

.site-nav a[aria-current="page"] {
  color: var(--vz-accent-text);
  border-bottom-color: var(--vz-accent-line);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--vz-space-4);
}

/* icon button */
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--vz-radius);
  color: var(--vz-text);
  cursor: pointer;
  transition: background var(--vz-duration-ui) var(--vz-ease);
}

.icon-btn:hover { background: var(--vz-surface-raised); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- buttons (section 7) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--vz-space-2);
  height: var(--vz-control-h);
  padding: 0 18px;
  border-radius: var(--vz-radius);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--vz-duration-ui) var(--vz-ease),
              color var(--vz-duration-ui) var(--vz-ease),
              transform var(--vz-duration-fast) var(--vz-ease);
}

.btn-primary {
  background: var(--vz-accent);
  color: var(--vz-on-accent);
}

.btn-primary:hover { background: var(--vz-accent-hover); }
.btn-primary:active { background: var(--vz-accent-pressed); transform: translateY(1px); }

.btn-primary[disabled] {
  background: var(--vz-surface-raised);
  color: var(--vz-text-disabled);
  cursor: not-allowed;
}

.btn-lg { height: var(--vz-control-h-lg); }

.btn-secondary {
  background: transparent;
  color: var(--vz-text);
  border-color: var(--vz-control-border);
}

.btn-secondary:hover { background: var(--vz-surface-raised); }

.btn .arrow { width: 16px; height: 16px; }

/* ---------- pillar label (section 3) ---------- */

.pillar {
  display: inline-flex;
  align-items: center;
  gap: var(--vz-space-2);
}

.pillar::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
  flex: none;
}

.pillar-client-work {
  --dot: var(--vz-pillar-client-work);
  color: var(--vz-pillar-client-work-text);
}

.pillar-workflows {
  --dot: var(--vz-pillar-workflows);
  color: var(--vz-pillar-workflows-text);
}

.pillar-tutorials {
  --dot: var(--vz-pillar-tutorials);
  color: var(--vz-pillar-tutorials-text);
}

.pillar-radar {
  --dot: var(--vz-pillar-radar);
  color: var(--vz-pillar-radar-text);
}

/* ---------- format badge (section 7) ---------- */

.badge {
  position: absolute;
  top: var(--vz-space-4);
  left: var(--vz-space-4);
  background: var(--vz-accent);
  color: var(--vz-on-accent);
  border-radius: var(--vz-radius-chip);
  padding: 4px 10px;
}

/* ---------- hero (section 7) ---------- */

.hero { padding-top: var(--vz-space-10); }

.hero .overline { color: var(--vz-text-secondary); }

.hero .display { margin-top: var(--vz-space-4); }

.hero-sub {
  margin-top: var(--vz-space-6);
  max-width: 60ch;
  color: var(--vz-text);
}

/* ---------- featured block (section 7) ---------- */

.featured {
  margin-top: var(--vz-space-6);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--vz-gutter);
  align-items: start;
}

.featured-media {
  grid-column: span 8;
  position: relative;
  border-radius: var(--vz-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.featured-media img { width: 100%; height: 100%; object-fit: cover; }

.featured-text { grid-column: span 4; }
.featured-text .h1 { margin-top: var(--vz-space-3); }
.featured-text .body-lg { margin-top: var(--vz-space-4); color: var(--vz-text-secondary); }
.featured-text .meta { margin-top: var(--vz-space-6); color: var(--vz-text-secondary); }
.featured-text .btn { margin-top: var(--vz-space-6); }

/* ---------- section head and filter row (section 7) ---------- */

.section {
  margin-top: var(--vz-space-8);
  padding-top: var(--vz-space-8);
  border-top: 1px solid var(--vz-divider);
}

.section + .section { margin-top: var(--vz-space-16); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--vz-space-6);
  flex-wrap: wrap;
}

.filters {
  display: flex;
  align-items: baseline;
  gap: var(--vz-space-6);
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filters a {
  color: var(--vz-text-secondary);
  white-space: nowrap;
  padding-bottom: var(--vz-space-1);
  border-bottom: 2px solid transparent;
  transition: color var(--vz-duration-ui) var(--vz-ease);
}

.filters a:hover { color: var(--vz-text); }

/* active "All" is lime; an active pillar takes its own color */
.filters a.is-active { color: var(--vz-accent-text); border-bottom-color: var(--vz-accent-line); }
.filters a.is-active.pillar-client-work { color: var(--vz-pillar-client-work-text); border-bottom-color: var(--vz-pillar-client-work); }
.filters a.is-active.pillar-workflows { color: var(--vz-pillar-workflows-text); border-bottom-color: var(--vz-pillar-workflows); }
.filters a.is-active.pillar-tutorials { color: var(--vz-pillar-tutorials-text); border-bottom-color: var(--vz-pillar-tutorials); }

/* ---------- media card (section 7) ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--vz-gutter);
}

.cards { margin-top: var(--vz-space-10); }

.card-media {
  display: block;
  background: none;
  border: 0;
  padding: 0;
}

.card-media > span { display: block; }
.card-media > span.pillar { display: inline-flex; }

.card-media .thumb {
  border-radius: var(--vz-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity var(--vz-duration-ui) var(--vz-ease);
}

.card-media:hover img { opacity: 1; }

.card-media .pillar { margin-top: var(--vz-space-4); }

.card-media .title {
  margin-top: var(--vz-space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--vz-duration-ui) var(--vz-ease);
}

.card-media:hover .title { color: #ffffff; }

.card-media .meta { margin-top: var(--vz-space-2); color: var(--vz-text-secondary); }

/* ---------- link row (section 7) ---------- */

.rows { margin-top: var(--vz-space-4); }

.link-row {
  display: flex;
  align-items: center;
  gap: var(--vz-space-4);
  height: 104px;
  padding: var(--vz-space-6);
  background: var(--vz-surface);
  border-radius: var(--vz-radius);
  transition: background var(--vz-duration-ui) var(--vz-ease);
}

.link-row:hover { background: var(--vz-surface-raised); }
.link-row:hover .chevron { color: var(--vz-text); }

.link-row .glyph {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--vz-text-secondary);
}

.link-row .glyph svg { width: 32px; height: 32px; }
.link-row .text { flex: 1 1 auto; min-width: 0; }
.link-row .text > span { display: block; }
.link-row .sub { color: var(--vz-text-secondary); }

.chevron {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--vz-text-secondary);
  transition: color var(--vz-duration-ui) var(--vz-ease);
}

/* ---------- newsletter band (section 7) ---------- */

.newsletter {
  margin-top: var(--vz-space-6);
  display: flex;
  align-items: center;
  gap: var(--vz-space-6);
  flex-wrap: wrap;
  background: var(--vz-surface-quiet);
  border-radius: var(--vz-radius);
  padding: var(--vz-space-8);
}

.newsletter .opener {
  display: flex;
  align-items: center;
  gap: var(--vz-space-6);
  flex: none;
}

.newsletter .rule {
  width: 2px;
  align-self: stretch;
  background: var(--vz-accent-line);
}

.newsletter .copy { flex: 1 1 320px; min-width: 0; }
.newsletter .copy .body { margin-top: var(--vz-space-1); color: var(--vz-text-secondary); }

.subscribe {
  display: flex;
  gap: var(--vz-space-2);
  flex: 0 1 auto;
}

/* ---------- input field (section 7) ---------- */

.field {
  height: var(--vz-control-h);
  width: 220px;
  padding: 0 var(--vz-space-3);
  font-family: var(--vz-font-body);
  font-size: 16px;
  color: var(--vz-text);
  background: var(--vz-surface-quiet);   /* field inside a panel */
  border: 1px solid var(--vz-control-border);
  border-radius: var(--vz-radius);
}

.field::placeholder { color: var(--vz-text-secondary); }

.field[aria-invalid="true"] { border-color: var(--vz-error); }

.field-error { color: var(--vz-error); }

/* ---------- footer (section 7) ---------- */

.site-footer {
  margin-top: var(--vz-space-4);
  padding: var(--vz-space-8) 0 var(--vz-space-16);
  border-top: 1px solid var(--vz-divider);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vz-space-6);
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: var(--vz-space-6);
}

.footer-links {
  display: flex;
  gap: var(--vz-space-8);
}

.footer-links a { transition: color var(--vz-duration-ui) var(--vz-ease); }
.footer-links a:hover { color: var(--vz-accent-text); }

/* ---------- entrance (section 8) ---------- */

.enter {
  animation: vz-enter var(--vz-duration-panel) var(--vz-ease) both;
}

@keyframes vz-enter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- tablet: 8 columns ---------- */

@media (max-width: 1040px) {
  .display { font-size: 48px; line-height: 46px; letter-spacing: -0.03em; }
  .h1 { font-size: 40px; line-height: 42px; }

  .featured { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .featured-media,
  .featured-text { grid-column: span 8; }
  .featured-text { margin-top: var(--vz-space-6); }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .site-nav { display: none; }

  .newsletter .subscribe { flex: 1 1 100%; }
  .field { flex: 1 1 auto; width: auto; }
}

/* ---------- mobile: 4 columns ---------- */

@media (max-width: 700px) {
  :root { --vz-gutter: 16px; }

  .container { padding: 0 20px; }

  .display { font-size: 40px; line-height: 40px; }
  .h1 { font-size: 32px; line-height: 36px; }
  .h2 { font-size: 28px; line-height: 32px; }

  .grid-3 { grid-template-columns: minmax(0, 1fr); }

  .link-row { height: auto; padding: 20px; }

  .newsletter { padding: 20px; }
  .newsletter .subscribe { flex-wrap: wrap; }
  .newsletter .btn { flex: 1 1 100%; }

  .section + .section { margin-top: var(--vz-space-12); }
}

/* ---------- reduced motion (section 8) ---------- */

@media (prefers-reduced-motion: reduce) {
  .enter { animation: none; }
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   ARTICLE PAGE
   Components added for the post template. Same tokens throughout.
   ============================================================ */

/* reading measure: 720 px at 18/30 is about 68 characters */
.measure { max-width: 720px; margin-inline: auto; }
.measure-wide { max-width: 900px; margin-inline: auto; }

/* ---------- breadcrumb ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--vz-space-2);
  color: var(--vz-text-secondary);
  padding-top: var(--vz-space-10);
}

.breadcrumb a { transition: color var(--vz-duration-ui) var(--vz-ease); }
.breadcrumb a:hover { color: var(--vz-text); }
.breadcrumb .sep { color: var(--vz-divider); }

/* ---------- article header ---------- */

.article-head { padding-top: var(--vz-space-6); }
.article-head .h1 { margin-top: var(--vz-space-3); }

.standfirst {
  margin-top: var(--vz-space-4);
  color: var(--vz-text-secondary);
}

.article-meta {
  margin-top: var(--vz-space-6);
  display: flex;
  align-items: center;
  gap: var(--vz-space-2);
  color: var(--vz-text-secondary);
}

.article-meta .sep { color: var(--vz-divider); }

.tags {
  margin-top: var(--vz-space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--vz-space-2);
  padding: 0;
  list-style: none;
}

/* tag chip (section 3) */
.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--vz-text-secondary);
  border: 1px solid var(--vz-divider);
  border-radius: var(--vz-radius-chip);
  padding: 2px 8px;
  transition: color var(--vz-duration-ui) var(--vz-ease),
              border-color var(--vz-duration-ui) var(--vz-ease);
}

a.tag:hover { color: var(--vz-text); border-color: var(--vz-control-border); }

/* ---------- video embed placeholder ---------- */

.embed {
  margin-top: var(--vz-space-10);
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--vz-surface);
  border-radius: var(--vz-radius);
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--vz-space-3);
  text-align: center;
  color: var(--vz-text-secondary);
}

.embed .play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--vz-accent);
  color: var(--vz-on-accent);
  display: grid;
  place-items: center;
}

.embed .play svg { width: 22px; height: 22px; }

/* ---------- prose ---------- */

.prose { padding-top: var(--vz-space-4); }

.prose p,
.prose ul,
.prose ol { font-size: 18px; line-height: 30px; margin: var(--vz-space-6) 0 0; }

.prose > *:first-child { margin-top: 0; }

.prose h2 {
  font-family: var(--vz-font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.02em;
  margin: var(--vz-space-16) 0 0;
}

.prose h3 {
  font-family: var(--vz-font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  margin: var(--vz-space-10) 0 0;
}

.prose ul,
.prose ol { padding-left: var(--vz-space-6); }
.prose li { margin-top: var(--vz-space-3); }
.prose li::marker { color: var(--vz-text-secondary); }
.prose strong { font-weight: 600; }

.prose a {
  text-decoration: underline;
  text-decoration-color: var(--vz-control-border);
  text-underline-offset: 3px;
  transition: color var(--vz-duration-ui) var(--vz-ease),
              text-decoration-color var(--vz-duration-ui) var(--vz-ease);
}

.prose a:hover { color: var(--vz-accent-text); text-decoration-color: var(--vz-accent-text); }

.lede { color: var(--vz-text); font-size: 20px; line-height: 30px; }

/* ---------- table ---------- */

.table-wrap {
  margin-top: var(--vz-space-8);
  overflow-x: auto;
  border-top: 1px solid var(--vz-divider);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 24px;
}

.prose th {
  text-align: left;
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vz-text-secondary);
  padding: var(--vz-space-3) var(--vz-space-4) var(--vz-space-3) 0;
  border-bottom: 1px solid var(--vz-divider);
  white-space: nowrap;
}

.prose td {
  padding: var(--vz-space-4) var(--vz-space-4) var(--vz-space-4) 0;
  border-bottom: 1px solid var(--vz-divider);
  vertical-align: top;
}

.prose td:first-child { color: var(--vz-text-secondary); white-space: nowrap; }
.prose td:last-child,
.prose th:last-child { padding-right: 0; }

.table-note { margin-top: var(--vz-space-3); color: var(--vz-text-secondary); }

/* ---------- draft slot marker (never ships) ---------- */

.slot {
  display: inline-block;
  font-family: var(--vz-font-body);
  font-size: 14px;
  line-height: 20px;
  color: var(--vz-error);
  border: 1px dashed var(--vz-error);
  border-radius: var(--vz-radius-chip);
  padding: 0 8px;
}

.draft-banner {
  margin-top: var(--vz-space-6);
  padding: var(--vz-space-3) var(--vz-space-4);
  border: 1px dashed var(--vz-error);
  border-radius: var(--vz-radius);
  color: var(--vz-error);
}

/* ---------- in-article call to action ---------- */

.cta {
  margin-top: var(--vz-space-10);
  background: var(--vz-surface);
  border-radius: var(--vz-radius);
  padding: var(--vz-space-8);
}

.cta > :first-child { margin-top: 0; }

.cta h2 {
  font-size: 24px;
  line-height: 32px;
  margin-top: 0;
}

.cta p { margin-top: var(--vz-space-2); color: var(--vz-text-secondary); }
.cta p + p { margin-top: var(--vz-space-4); }
.cta .btn { margin-top: var(--vz-space-6); }

/* ---------- closing note and article end ---------- */

.article-end {
  margin-top: var(--vz-space-16);
  padding-top: var(--vz-space-8);
  border-top: 1px solid var(--vz-divider);
}

@media (max-width: 700px) {
  .prose h2 { font-size: 28px; line-height: 32px; margin-top: var(--vz-space-12); }
  .prose p, .prose ul, .prose ol { font-size: 17px; line-height: 28px; }
  .cta { padding: 20px; }
}

/* ============================================================
   LANDING PAGE (Offer Pack)
   One page, one action. No nav, no cross-links.
   ============================================================ */

.landing-header {
  height: var(--vz-header-h);
  border-bottom: 1px solid var(--vz-divider);
}

.landing-header .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.landing-hero { padding-top: var(--vz-space-16); }

.landing-hero .eyebrow { color: var(--vz-text-secondary); }
.landing-hero .display { margin-top: var(--vz-space-4); }

.landing-lede {
  margin-top: var(--vz-space-6);
  font-size: 20px;
  line-height: 30px;
  color: var(--vz-text-secondary);
  max-width: 62ch;
}

.cta-row { margin-top: var(--vz-space-8); }

/* the honest line sits with the button, not as body copy */
.honest {
  margin-top: var(--vz-space-4);
  max-width: 62ch;
  color: var(--vz-text-secondary);
}

/* proof strip */
.proof { margin-top: var(--vz-space-16); }
.proof .caption { margin-top: var(--vz-space-3); color: var(--vz-text-secondary); }

/* section rhythm on a landing page: no rules, distance only */
.landing-section { margin-top: var(--vz-space-24); }
.landing-section .h2 + p { margin-top: var(--vz-space-4); color: var(--vz-text-secondary); }
.landing-close .cta-row { margin-top: 0; }

/* One column down the whole page, so the left edge never jumps. Running text
   inside it still stops at a readable measure. */
.landing-section .prose,
.landing-section .tools,
.landing-section .steps,
.landing-section .h2 + p { max-width: 62ch; }
.proof .embed { margin-top: 0; }

/* the four documents */
.doc-grid {
  margin-top: var(--vz-space-8);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--vz-gutter);
  padding: 0;
  margin-bottom: 0;
  list-style: none;
  counter-reset: doc;
}

.doc-card {
  background: var(--vz-surface);
  border-radius: var(--vz-radius);
  padding: var(--vz-space-6);
  counter-increment: doc;
}

.doc-card::before {
  content: "0" counter(doc);
  display: block;
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--vz-text-secondary);
}

.doc-card h3 { margin-top: var(--vz-space-3); }
.doc-card p { margin-top: var(--vz-space-3); color: var(--vz-text-secondary); font-size: 16px; line-height: 24px; }

/* where it comes from */
.source {
  margin-top: var(--vz-space-8);
  display: flex;
  gap: var(--vz-space-6);
  background: var(--vz-surface-quiet);
  border-radius: var(--vz-radius);
  padding: var(--vz-space-8);
}

.source .rule {
  width: 2px;
  flex: none;
  align-self: stretch;
  background: var(--vz-accent-line);
}

.source p { margin: 0; font-size: 18px; line-height: 30px; }
.source p + p { margin-top: var(--vz-space-4); color: var(--vz-text-secondary); }

/* what happens next */
.steps {
  margin-top: var(--vz-space-8);
  padding-left: var(--vz-space-6);
  font-size: 18px;
  line-height: 30px;
}

.steps li { margin-top: var(--vz-space-4); }
.steps li::marker { color: var(--vz-text-secondary); }

/* closing action */
.landing-close {
  margin-top: var(--vz-space-24);
  padding-top: var(--vz-space-16);
  border-top: 1px solid var(--vz-divider);
}

.landing-footer {
  margin-top: var(--vz-space-16);
  padding: var(--vz-space-8) 0 var(--vz-space-16);
  border-top: 1px solid var(--vz-divider);
  color: var(--vz-text-secondary);
}

.landing-footer p { margin: 0; }
.landing-footer p + p { margin-top: var(--vz-space-2); }
.landing-footer a { text-decoration: underline; text-decoration-color: var(--vz-control-border); text-underline-offset: 3px; }
.landing-footer a:hover { color: var(--vz-accent-text); text-decoration-color: var(--vz-accent-text); }

@media (max-width: 700px) {
  .landing-hero { padding-top: var(--vz-space-12); }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .landing-section { margin-top: var(--vz-space-16); }
  .source { padding: 20px; }
  .landing-close { margin-top: var(--vz-space-16); padding-top: var(--vz-space-12); }
}

/* tools list (Offer Pack, block 9b).
   Plain links on purpose: the lime accent belongs to the two form buttons
   only, so these do not turn lime, not even on hover. */
.tools {
  margin-top: var(--vz-space-8);
  padding: 0;
  list-style: none;
}

.tools li {
  padding: var(--vz-space-4) 0;
  border-top: 1px solid var(--vz-divider);
  font-size: 18px;
  line-height: 30px;
}

.tools li:last-child { border-bottom: 1px solid var(--vz-divider); }
.tools .name { font-weight: 600; }
.tools .note { color: var(--vz-text-secondary); }

.tools a {
  text-decoration: underline;
  text-decoration-color: var(--vz-control-border);
  text-underline-offset: 3px;
  transition: color var(--vz-duration-ui) var(--vz-ease),
              text-decoration-color var(--vz-duration-ui) var(--vz-ease);
}

.tools a:hover { color: var(--vz-text); text-decoration-color: var(--vz-text); }
