/* zotexmedia.com design system
   One stylesheet for every page. Page files may carry a few page-specific rules;
   everything shared (tokens, type, header, footer, hero, sections, buttons, FAQ,
   article, cards) lives here so the SEO generators inherit it instead of copying it.
   Lint: seo/ui_lint.py keeps inline CSS small and brace-balanced on generated pages. */

/* ---------- fonts (self-hosted, OFL; latin subset) ---------- */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/fonts/BricolageGrotesque-500-800.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/PublicSans-400-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Public Sans';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/PublicSans-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/IBMPlexMono-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/IBMPlexMono-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --ink: #14181c;          /* text, header, price block */
  --ink-2: #4f5b66;        /* secondary text */
  --ink-3: #7c8791;        /* labels, meta */
  --paper: #ffffff;
  --paper-2: #f2f5f7;      /* the one band fill */
  --line: #dbe1e6;         /* hairlines */
  --line-2: #eef1f4;       /* softer hairlines */
  --verified: #156b45;     /* gate-passed marks, link colour, button hover */
  --verified-ink: #0f5535;
  --verified-soft: #e3f1e9;
  --limited: #9a5b00;      /* territory: limited availability */
  --limited-soft: #fbefd6;
  --star: #d99a06;
  --on-ink: #ffffff;
  --on-ink-2: rgba(255,255,255,.78);
  --on-ink-line: rgba(255,255,255,.18);

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 4px;           /* controls */
  --radius-lg: 6px;        /* surfaces */
  --shadow: 0 12px 28px -18px rgba(20,24,28,.35);
  --wrap: 1120px;
  --gutter: 28px;
  --nav-h: 64px;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px; --s-6: 104px;
  --ease: cubic-bezier(.2,.7,.2,1);

  /* legacy names still referenced by a few page-level rules */
  --primary: var(--ink);
  --primary-dark: var(--verified);
  --dark: var(--ink);
  --gray: var(--ink-2);
  --light-gray: var(--paper-2);
  --white: var(--paper);
  --success: var(--verified);
  --gradient: var(--ink);
}

/* ---------- reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.022em; }
h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; letter-spacing: -0.016em; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 700; }
p { text-wrap: pretty; }
a { color: var(--verified-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong { font-weight: 600; }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--verified); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--verified-soft); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, .tabular { font-variant-numeric: tabular-nums; }

/* motion: colour and underline only, and none if the reader asked for none */
a, button, .btn, .nav-cta, .primary-cta, .secondary-cta, .cta-button, .pricing-cta, .p-cta, .post-link, .resource-link, .market-grid a, .yt-facade .yt-play {
  transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- header ---------- */
header { position: sticky; top: 0; z-index: 1000; background: var(--paper); border-bottom: 1px solid var(--line); }
header nav { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.logo img { display: block; width: 85px; height: 32px; }
.logo-icon { display: block; width: 85px; height: 32px; background: url("/assets/zotex-wordmark.png") no-repeat left center / contain; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--verified-ink); }
.nav-links a[aria-current="page"]:not(.nav-cta) { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--verified); }
.nav-links .nav-cta, .nav-links .nav-cta:hover { color: var(--on-ink); }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; margin-right: -8px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: var(--radius); }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1), .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2), .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3), .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .mobile-menu-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 999;
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-4);
    background: var(--paper); border-top: 1px solid var(--line); overflow-y: auto;
    transform: translateX(-100%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-links.active { transform: none; visibility: visible; transition: transform .25s var(--ease); }
  .nav-links li { border-bottom: 1px solid var(--line-2); }
  .nav-links a { display: block; padding: 16px 0; font-size: 18px; }
  .nav-links li:last-child { border-bottom: 0; padding-top: var(--s-2); }
  .nav-links .nav-cta { display: block; text-align: center; padding: 14px 20px; }
}

/* ---------- buttons ---------- */
.btn, .primary-cta, .cta-button, .pricing-cta, .nav-cta, .p-cta, .newsletter-button, .post-link.btn, .article-cta .cta-button {
  display: inline-block; background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink);
  padding: 13px 22px; border-radius: var(--radius); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.nav-cta { padding: 10px 16px; font-size: 14px; }
.btn:hover, .primary-cta:hover, .cta-button:hover, .pricing-cta:hover, .nav-cta:hover, .p-cta:hover, .newsletter-button:hover {
  background: var(--verified-ink); border-color: var(--verified-ink); color: var(--on-ink);
}
.btn.secondary, .secondary-cta { display: inline-block; background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 13px 22px; border-radius: var(--radius); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; }
.btn.secondary:hover, .secondary-cta:hover { border-color: var(--verified-ink); color: var(--verified-ink); }
.btn.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn.link:hover { color: var(--verified-ink); }
/* on ink */
.hero .primary-cta, .cta-section .cta-button, .p-dark .btn, .price-block .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .primary-cta:hover, .cta-section .cta-button:hover, .p-dark .btn:hover, .price-block .btn:hover { background: var(--verified-soft); border-color: var(--verified-soft); color: var(--verified-ink); }
.hero .secondary-cta { color: var(--on-ink); border-color: var(--on-ink-line); }
.hero .secondary-cta:hover { border-color: var(--on-ink); color: var(--on-ink); }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- hero (inner pages: an ink band) ---------- */
.hero {
  background: var(--ink); color: var(--on-ink);
  padding: var(--s-5) max(var(--gutter), calc((100% - var(--wrap)) / 2)) 56px;
}
.hero h1 { color: var(--on-ink); max-width: 20ch; margin-bottom: 18px; }
.hero .hero-subtitle, .hero p { color: var(--on-ink-2); font-size: 19px; max-width: 62ch; margin-bottom: var(--s-3); }
.hero .hero-subtitle:last-child, .hero p:last-child { margin-bottom: 0; }
.hero .eyebrow { color: var(--on-ink-2); display: block; margin-bottom: 14px; }
.hero a:not([class]) { color: var(--on-ink); }

/* centred hero (pricing): every child block centres, not just the text inside a left-anchored box */
.hero.center, .p-hero { text-align: center; }
.hero.center > *, .p-hero > * { margin-left: auto; margin-right: auto; }
.hero.center h1, .p-hero h1 { max-width: 22ch; }

/* home hero: paper ground, the lead card is the thesis */
.hero.hero-home { background: var(--paper); color: var(--ink); padding: 56px max(var(--gutter), calc((100% - var(--wrap)) / 2)) var(--s-5); border-bottom: 1px solid var(--line); }
.hero-home .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-home h1 { color: var(--ink); max-width: 16ch; margin-bottom: 20px; }
.hero-home .hero-subtitle { color: var(--ink-2); font-size: 19px; max-width: 54ch; margin-bottom: 28px; }
.hero-home .primary-cta { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.hero-home .primary-cta:hover { background: var(--verified-ink); border-color: var(--verified-ink); }
.hero-home .secondary-cta { border: 0; padding: 13px 0; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.hero-home .secondary-cta:hover { color: var(--verified-ink); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.hero-facts b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- the lead card ---------- */
.lead-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px 20px; box-shadow: var(--shadow); font-size: 15.5px; }
.lead-card .tag { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.lead-card .tag b { color: var(--verified-ink); font-weight: 500; }
.lead-card dl { display: grid; grid-template-columns: 118px 1fr; gap: 9px 16px; margin: 0; }
.lead-card dt { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 2px; }
.lead-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.lead-card .gates-passed { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.lead-card .gates-passed span { font-family: var(--mono); font-size: 12px; color: var(--verified-ink); background: var(--verified-soft); padding: 3px 8px; border-radius: 3px; }

/* ---------- sections ---------- */
.section { padding: var(--s-5) var(--gutter); }
.section > .inner, .section-inner { max-width: var(--wrap); margin: 0 auto; }
.section-header { max-width: 760px; margin: 0 0 var(--s-4); }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { margin-bottom: 14px; }
.section-subtitle { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .eyebrow { display: block; margin-bottom: 12px; }

/* ruled row: the three gates, value props, anything that was a card before */
.rule-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.rule-row > * { padding: 22px 28px 26px 0; border-left: 1px solid var(--line); padding-left: 24px; }
.rule-row > *:first-child { border-left: 0; padding-left: 0; }
.rule-row .k { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--verified-ink); margin-bottom: 10px; }
.rule-row h3 { margin-bottom: 8px; }
.rule-row p { color: var(--ink-2); font-size: 16px; }
.gates-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.gate { padding: 24px 28px 28px 24px; border-left: 1px solid var(--line); }
.gate:first-child { border-left: 0; padding-left: 0; }
.gate .num { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--verified-ink); margin-bottom: 10px; }
.gate .num::before { content: "Gate "; }
.gate h3 { margin-bottom: 8px; }
.gate p { color: var(--ink-2); font-size: 16px; }

/* the same three gates on the pricing page */
.gate-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); max-width: var(--wrap); margin: 0 auto; }
.gate-card { padding: 24px 28px 28px 24px; border-left: 1px solid var(--line); text-align: left; }
.gate-card:first-child { border-left: 0; padding-left: 0; }
.gate-num { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--verified-ink); margin-bottom: 10px; }
.gate-card h3 { margin-bottom: 8px; }
.gate-card p { color: var(--ink-2); font-size: 16px; }

/* numbered steps (a real sequence) */
.steps { list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 22px 24px 26px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps .n { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--ink-3); line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }
.steps a { color: var(--ink); }

/* two-column prose */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split h2 { margin-bottom: 14px; }
.split p, .split li { color: var(--ink-2); font-size: 17px; }
.split p + p { margin-top: 12px; }
.split ul { margin: 14px 0 16px; padding-left: 0; list-style: none; }
.split li { padding: 8px 0; border-top: 1px solid var(--line-2); }
.split li:last-child { border-bottom: 1px solid var(--line-2); }
.split a { color: var(--ink); }
.split a:hover { color: var(--verified-ink); }

/* lead example (home) */
.lead-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead-copy h2 { margin-bottom: 14px; }
.lead-copy p { color: var(--ink-2); font-size: 17px; margin-bottom: 12px; }
.lead-copy a { color: var(--ink); }

/* trust strip: client logos at natural aspect, greyscale */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding: 22px 0; }
.trust-strip p { font-size: 15px; color: var(--ink-2); margin: 0; }
.trust-strip p strong { color: var(--ink); font-weight: 600; }
.trust-logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.trust-logos img { height: 36px; width: auto; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.video-testimonials .more { margin-top: 28px; }

/* ---------- testimonials: a quote wall ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.video-thumbnail { position: relative; display: block; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
.yt-facade .yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; transform: translate(-50%, -50%); background: rgba(20,24,28,.8); border-radius: var(--radius); }
.yt-facade .yt-play::after { content: ''; position: absolute; left: 25px; top: 12px; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.yt-facade:hover .yt-play { background: var(--verified); }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-info { padding: 16px 18px 18px; }
.video-info h4 { font-family: var(--body); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.video-info .company, .video-card p { color: var(--ink-3); font-size: 14px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; border-top: 1px solid var(--line); }
.testimonial-card { padding: 26px 0 28px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial-card .testimonial-text { flex: 1; }
.stars { color: var(--star); font-size: 13px; letter-spacing: .08em; margin-bottom: 12px; }
.testimonial-text { font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 500; flex: 0 0 40px; }
.author-name { font-weight: 600; font-size: 15px; }
.author-company { color: var(--ink-3); font-size: 14px; }

/* ---------- price block (home): the second ink moment ---------- */
.price-block { background: var(--ink); color: var(--on-ink); border-radius: var(--radius-lg); padding: 40px 44px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.price-block .eyebrow { color: var(--on-ink-2); display: block; margin-bottom: 10px; }
.price-block .price { font-family: var(--display); font-size: clamp(56px, 7vw, 88px); font-weight: 800; letter-spacing: -0.01em; line-height: .95; color: var(--on-ink); font-variant-numeric: tabular-nums; }
.price-block .price small { font-family: var(--body); font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--on-ink-2); display: block; margin-top: 10px; }
.price-block p { color: var(--on-ink-2); font-size: 16px; }
.price-block p a { color: var(--on-ink); }
.price-block .pricing-features ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 0 24px; }
.price-block .pricing-features li { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--on-ink-line); font-size: 15px; color: var(--on-ink); }
.price-block .pricing-features li::before { content: "✓"; font-family: var(--mono); color: #7fd6a6; flex: 0 0 auto; }
.price-block .price small a { color: var(--on-ink); }
.price-block .promise { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--on-ink-line); font-size: 15px; color: var(--on-ink-2); }
.price-block .promise strong { color: var(--on-ink); font-weight: 600; }
.price-block .btn { margin-top: 22px; }
.value-props { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: var(--s-4); }
.value-prop { padding: 20px 28px 22px 24px; border-left: 1px solid var(--line); }
.value-prop:first-child { border-left: 0; padding-left: 0; }
.value-prop h4 { margin-bottom: 6px; }
.value-prop p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- FAQ: a ruled list ---------- */
.faq, .faq-list { max-width: 820px; }
.faq details, .faq-list details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type, .faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary, .faq-list summary { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq-list summary::after { content: '+'; font-family: var(--mono); font-weight: 400; color: var(--ink-3); flex: 0 0 auto; }
.faq details[open] summary::after, .faq-list details[open] summary::after { content: '\2013'; }
.faq details p, .faq-list details p { color: var(--ink-2); font-size: 16.5px; margin: 0 0 18px; max-width: 66ch; }
.faq a, .faq-list a { color: var(--ink); }
.faq h2 { margin-bottom: 18px; }

/* ---------- final CTA band ---------- */
.cta-section { background: var(--ink); color: var(--on-ink); padding: var(--s-6) var(--gutter); text-align: center; }
.cta-content { max-width: 720px; margin: 0 auto; }
.cta-title { color: var(--on-ink); margin-bottom: 16px; font-size: clamp(30px, 3.6vw, 44px); }
.cta-subtitle { color: var(--on-ink-2); font-size: 19px; margin-bottom: 28px; }
.cta-section .cta-button { padding: 15px 28px; font-size: 17px; }

/* ---------- footer ---------- */
.site-footer, footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 34px var(--gutter) 30px; color: var(--ink-2); font-size: 14px; }
.site-footer .footer-inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: var(--verified-ink); text-decoration: underline; }
.footer-copyright, .footer-bottom { color: var(--ink-3); }

/* ---------- article pages: posts, guides, city pages ---------- */
.article-header { padding: 48px max(var(--gutter), calc((100% - 760px) / 2)) 36px; border-bottom: 1px solid var(--line); }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.article-meta a, .article-header a { color: inherit; }
.article-header h1 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 50px); }
.article-excerpt { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.article-content { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) 24px; }
.article-content h2 { margin: 44px 0 14px; font-size: clamp(26px, 2.8vw, 32px); }
.article-content h3 { margin: 30px 0 10px; }
.article-content h2[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.article-content p { font-size: 17.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 18px; }
.article-content p strong { color: var(--ink); }
.article-content ul, .article-content ol { margin: 0 0 20px; padding-left: 22px; }
.article-content li { font-size: 17.5px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.6; }
.article-content li strong { color: var(--ink); }
.article-content a:not(.cta-button) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:not(.cta-button):hover { color: var(--verified-ink); }
.article-content blockquote { border-left: 3px solid var(--verified); margin: 24px 0; padding: 4px 20px; color: var(--ink); font-size: 18px; }
.article-content blockquote p { color: var(--ink); margin-bottom: 8px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: 16px; }
.article-content th, .article-content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-content th { font-weight: 600; color: var(--ink); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-bottom-color: var(--ink); }
.article-content td { color: var(--ink-2); }
.article-content td.num, .article-content th.num { text-align: right; color: var(--ink); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.article-content .table-wrap { overflow-x: auto; }
.article-cta { border-top: 1px solid var(--line); margin: 48px 0 8px; padding: 32px 0 8px; }
.article-cta h3 { font-size: 26px; margin-bottom: 8px; }
.article-cta p { margin-bottom: 20px; }
.author-box { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin: 40px 0 8px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.author-box .author-avatar { width: 48px; height: 48px; flex: 0 0 48px; font-size: 14px; }
.author-box strong, .author-box a { color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.status.open { color: var(--verified-ink); }
.status.open::before { background: var(--verified); }
.status.limited::before { background: var(--limited); }
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; margin: 20px 0 40px; border-top: 1px solid var(--line); }
.market-grid a, .article-content .market-grid a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 500; }
.market-grid a:hover { color: var(--verified-ink); }
.market-grid .meta { display: block; color: var(--ink-3); font-size: 13.5px; font-family: var(--mono); margin-top: 2px; font-weight: 400; }
.guide-hero { max-width: 760px; margin: 32px auto 0; padding: 0 var(--gutter); }
.guide-hero img { width: 100%; height: auto; display: block; }
.toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0 12px; margin: 0 0 32px; }
.toc-title { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; font-size: 16px; }
.article-content .toc a { color: var(--ink-2); text-decoration: none; }
.article-content .toc a:hover { color: var(--ink); text-decoration: underline; }
.mix-chart { margin: 28px 0 34px; padding: 18px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mix-chart svg { display: block; overflow: visible; }
.mix-chart figcaption { color: var(--ink-3); font-size: 14.5px; line-height: 1.6; margin-top: 12px; }

/* a FAQ list already ends on a rule; the CTA that follows it does not need another */
.faq + .article-cta, .faq-list + .article-cta { border-top: 0; margin-top: 8px; }
.tldr { background: none; border-left: 3px solid var(--verified); border-radius: 0; padding: 4px 20px; margin: 0 0 28px; }

/* ---------- the four older hand-written posts (.blog-content template) ---------- */
.blog-content { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 24px; }
.blog-header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.blog-category { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.blog-title { font-size: clamp(32px, 4vw, 50px); margin-bottom: 16px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.blog-excerpt { font-size: 19px; color: var(--ink-2); max-width: 62ch; background: none; padding: 0; border-radius: 0; margin: 0; }
.blog-article { font-size: 17.5px; line-height: 1.65; }
.blog-article h2 { margin: 44px 0 14px; font-size: clamp(26px, 2.8vw, 32px); }
.blog-article h3 { margin: 30px 0 10px; }
.blog-article p { color: var(--ink-2); margin-bottom: 18px; }
.blog-article p strong, .blog-article li strong { color: var(--ink); }
.blog-article ul, .blog-article ol { margin: 0 0 20px; padding-left: 22px; }
.blog-article li { color: var(--ink-2); margin-bottom: 8px; }
.blog-article a { color: var(--ink); }
.blog-article table, .pricing-table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: 16px; }
.blog-article th, .blog-article td, .pricing-table th, .pricing-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.blog-article th, .pricing-table th { font-weight: 600; color: var(--ink); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-bottom-color: var(--ink); }
.highlight-box { background: none; border: 0; border-left: 3px solid var(--verified); border-radius: 0; padding: 4px 20px; margin: 24px 0; }
.highlight-box h4 { margin-bottom: 6px; }
.highlight-box p { color: var(--ink); margin-bottom: 0; }
.blog-content .cta-section { background: none; color: var(--ink); text-align: left; padding: 32px 0 8px; margin-top: 48px; border-top: 1px solid var(--line); }
.blog-content .cta-section h2, .blog-content .cta-section h3 { color: var(--ink); font-size: 26px; margin-bottom: 8px; }
.blog-content .cta-section p { color: var(--ink-2); margin-bottom: 20px; }
.blog-content .cta-section .cta-button { background: var(--ink); color: var(--on-ink); border-color: var(--ink); padding: 13px 22px; font-size: 16px; }
.blog-content .cta-section .cta-button:hover { background: var(--verified-ink); border-color: var(--verified-ink); }

/* ---------- blog index cards: ruled, no artwork ---------- */
.blog-posts { padding: var(--s-5) var(--gutter); }
.posts-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; border-top: 1px solid var(--line); }
.post-card { padding: 24px 0 28px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.post-image { display: none; }
.post-content { display: flex; flex-direction: column; flex: 1; }
.post-category { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--verified-ink); margin-bottom: 12px; }
.post-title { font-size: 21px; margin-bottom: 10px; }
.post-meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }
.post-excerpt { color: var(--ink-2); font-size: 15.5px; margin-bottom: 16px; flex: 1; }
.post-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
.post-link:hover { color: var(--verified-ink); }

/* emoji used as icons on older pages: render them as quiet monochrome glyphs */
.category-icon, .benefit-icon, .standard-icon, .resource-image, .resource-type { filter: grayscale(1); opacity: .75; }

/* ---------- sections that sit directly in <body> on the inner pages ----------
   The migration stripped these classes' old padding and max-width rules, so they get
   the system's gutters and container here. On the home page the same classes sit inside
   .section-inner, which these rules leave alone. */
.video-testimonials, .testimonials, .pricing-section, .faq-section, .gates, .lead-example, .exclusive,
.how-it-works, .comparison, .expectations-section-wrapper { padding: var(--s-5) var(--gutter); }
section > .section-header { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
section > .section-header .section-title { max-width: 760px; }
.section-header.center .section-title, .section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }
section > .video-grid, section > .testimonials-grid, section > .pricing-container, section > .comparison-table,
section > .steps-grid, section > .value-props, section > .gates-grid, section > .stats-grid, section > .highlights-grid {
  max-width: var(--wrap); margin-left: auto; margin-right: auto;
}
section > .faq-list, section > .faq { margin-left: auto; margin-right: auto; }
.table-wrap { overflow-x: auto; margin: 16px 0 28px; -webkit-overflow-scrolling: touch; }
.table-wrap table, .article-content .table-wrap table { margin: 0; }
/* a wide table in an article bleeds past the 760px column up to the page grid, then scrolls */
.article-content .table-wrap { width: min(var(--wrap), calc(100vw - 2 * var(--gutter))); margin-left: 50%; transform: translateX(-50%); }
.article-content .table-wrap table.cmp { min-width: 1080px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(3) { border-right: 0; }
}
@media (max-width: 860px) {
  .hero-home .hero-grid, .lead-wrap, .split, .price-block { grid-template-columns: 1fr; gap: 32px; }
  .gates-grid, .gate-grid, .rule-row, .value-props, .testimonials-grid, .video-grid, .posts-grid { grid-template-columns: 1fr; }
  .gate, .gate-card, .rule-row > *, .value-prop { border-left: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .gate:last-child, .gate-card:last-child, .rule-row > *:last-child, .value-prop:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .steps li:last-child { border-bottom: 0; }
  .price-block { padding: 28px 24px; }
  .price-block .pricing-features ul { grid-template-columns: 1fr; }
  .cta-section { padding: var(--s-5) var(--gutter); }
  .section { padding: 48px var(--gutter); }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hero { padding-top: 40px; padding-bottom: 40px; }
  .hero.hero-home { padding-top: 36px; }
  .lead-card dl { grid-template-columns: 96px 1fr; }
  .hero-facts { flex-direction: column; gap: 6px; }
  .trust-logos { gap: 14px 22px; }
  .trust-logos img { height: 28px; }
}
