/* KaZoo Phonics — ported 1:1 from the approved v6 mockup (css/theme-a.css + css/base.css).
   Fonts are registered in theme.json (self-hosted woff2), so the mockup's @font-face rules are omitted.
   Section 3 at the bottom maps WordPress block markup onto the mockup classes. */

/* 1. Palette A (theme-a.css) */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F7FC;
  --surface: #FFFFFF;
  --text: #1B1B1B;
  --text-muted: #4A4A4A;
  --primary: #0F48C7;      /* lesson sidebar + SCAN ME blue */
  --primary-hover: #0C3BC8; /* lesson title blue ("C as in Cat") */
  --primary-soft: #E8EDF9;  /* tint of sidebar blue */
  --accent: #FFC200;        /* interior header bars */
  --accent-soft: #FFF6E0;   /* tint of header gold */
  --accent-text: #1B1B1B;
  --on-primary: #FFFFFF;
  --border: #E3E7F0;
  --footer-bg: #0B2A74;     /* deeper shade of the interior blue */
  --footer-text: #FFFFFF;
  --footer-muted: #C9D4F2;
  --shadow: 0 10px 30px rgba(15, 72, 199, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 72, 199, 0.06);
  --ring: rgba(15, 72, 199, 0.28);
  --chip-live-bg: #E8EDF9;
  --chip-live-fg: #0C3BC8;
  --soon-bg: #F4F5F7;
  --soon-fg: #4A4A4A;
}

/* 2. Mockup base.css */
:root {
  --font-sans: "Quicksand", "Segoe UI", sans-serif;
  --font-display: "Tinos", "Times New Roman", serif;
  --font-logo: "Lilita One", "Tinos", sans-serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --header-h: 64px;
  --content: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text); margin: 0 0 var(--space-2); }
h1 { font-size: 40px; letter-spacing: -0.02em; }
h2 { font-size: 32px; letter-spacing: -0.02em; }
h3 { font-size: 22px; font-family: var(--font-sans); }
p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }
.muted { color: var(--text-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 8px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
}
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  line-height: 1;
  padding: 4px 0;
  min-height: 44px;
  min-width: 44px;
}
.logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 200px;
}
.logo-mark {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--primary);
  line-height: 1;
}
.logo-z {
  color: var(--accent);
  -webkit-text-stroke: 1.25px #0F48C7;
  paint-order: stroke fill;
  stroke: #0F48C7;
  stroke-width: 1.25px;
}
.site-footer .logo-mark { color: var(--accent); }
.site-footer .logo-z {
  color: #FFFFFF;
  -webkit-text-stroke: 0;
  stroke: none;
}
.site-footer .logo img {
  height: 36px;
  max-width: 260px;
}
.nav {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  border-radius: var(--radius-xs);
}
.nav a:hover { color: var(--primary); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  color: inherit;
}
.btn-primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-soft); }
.btn-on-dark { background: var(--surface); color: var(--primary); border-color: var(--surface); }
.logo { grid-column: 1; grid-row: 1; }
.header-cta { grid-column: 2; grid-row: 1; min-width: 44px; padding: 10px 18px; min-height: 44px; justify-self: end; }
.nav { grid-column: 1 / -1; grid-row: 2; }

.site-header-home .header-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
}
.site-header-home .logo {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  margin: 0;
  padding: 4px 0;
  grid-column: 1 / -1;
  grid-row: 1;
}
.site-header-home .logo img {
  height: 48px;
  max-width: min(340px, 100%);
}
.site-header-home .nav {
  grid-column: 1;
  grid-row: 2;
}
.site-header-home .header-cta {
  grid-column: 1;
  grid-row: 3;
  justify-self: end;
}

/* Layout */
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.brand-lockup {
  font-family: var(--font-logo);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--primary);
  line-height: 1.1;
}
.brand-lockup-kicker {
  display: inline-block;
  font-size: 22px;
  margin: 0;
}
.brand-lockup-hero {
  font-size: 44px;
  margin: 0 0 12px;
  letter-spacing: 0;
  line-height: 1.05;
}
.brand-lockup-hero .logo-z {
  -webkit-text-stroke: 2px #0F48C7;
  stroke-width: 2px;
  stroke: #0F48C7;
}
.hero-tagline {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 16px;
}
.brand-lockup-sm {
  font-size: 16px;
}
.site-footer .brand-lockup {
  color: var(--accent);
}
.lead { font-size: 18px; line-height: 1.55; color: var(--text-muted); max-width: 36em; }
.lead.outcome { margin-top: 12px; }

/* Mission band */
.mission {
  background: var(--accent-soft);
  padding: 40px 0;
}
.mission h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.mission-statement {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--primary);
  max-width: 28em;
  margin: 0 auto;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.rule {
  width: 48px; height: 4px; background: var(--accent); border-radius: 4px;
  margin: 0 0 24px; border: 0;
}

/* Hero */
.hero { padding: 32px 0 40px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1,
.letter-hero h1 {
  font-family: var(--font-logo);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.link-quiet {
  color: var(--text);
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}
.frame {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.frame img { width: 100%; }
.frame-accent { border-top: 4px solid var(--accent); }

/* Start free / forms */
.two-col { display: grid; gap: 32px; align-items: center; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.card-lg { padding: 32px; }
.pill {
  display: inline-flex; align-items: center;
  min-height: 28px; padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  background: var(--accent); color: var(--accent-text);
}
.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary);
}
.form {
  display: grid; gap: 16px; margin-top: 24px;
}
.form label { font-weight: 700; font-size: 16px; }
.form input[type="email"],
.form input[type="text"],
.form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
}
.form .optional { font-weight: 400; color: var(--text-muted); }
.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 44px;
}
.consent input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}
.consent label {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}
.form .hint { font-size: 14px; color: var(--text-muted); margin: 0; }
.form .hint a { color: var(--primary); font-weight: 700; }
.form .btn { width: 100%; }
#join { scroll-margin-top: 140px; }

/* Letter grid */
.letter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 32px;
}
.letter-tile {
  aspect-ratio: 1;
  min-height: 72px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  text-align: center;
}
.letter-tile .ch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
}
.letter-tile .meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 6px;
  color: var(--soon-fg);
  line-height: 1.25;
}
.letter-tile.is-live {
  background: var(--primary-soft);
  border-color: transparent;
}
.letter-tile.is-live .ch { color: var(--primary); }
.letter-tile.is-live .meta { color: var(--chip-live-fg); }
.letter-tile.is-soon { background: var(--soon-bg); cursor: default; }
.letter-legend { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; font-size: 14px; color: var(--text-muted); font-weight: 700; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot-live { background: var(--primary); }
.dot-soon { background: var(--soon-fg); opacity: 0.45; }

/* Shop */
.shop-packs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.pack {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.pack-letters {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin: 8px 0 16px;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  margin: 8px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.price-note {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust { font-size: 14px; color: var(--text-muted); margin: 0 0 16px; }
.pack .btn { margin-top: auto; width: 100%; }
.shop-featured {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.featured {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.featured img { width: 100%; height: auto; object-fit: contain; object-position: top center; align-self: start; display: block; }
.featured-covers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-self: start;
  padding: 8px 0 8px 8px;
}
.featured-covers img { width: 100%; height: auto; object-fit: contain; background: var(--bg-alt); }
@media (min-width: 800px) {
  .featured-covers { padding: 16px 0 16px 16px; }
}
.featured-body { padding: 16px; display: flex; flex-direction: column; }
.note-banner {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
}
.note-banner strong { font-weight: 700; }

/* Parents / about */
.feature-grid { display: grid; gap: 16px; margin-top: 32px; }
.feature h3 { margin-bottom: 8px; }
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-art { max-width: 280px; margin: 0 auto; }

/* Newsletter */
.newsletter-box {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
}
.newsletter-box h2, .newsletter-box p { color: var(--on-primary); }
.newsletter-box .muted { color: var(--on-primary); opacity: 0.9; }
.newsletter-box .form { max-width: 520px; margin: 24px auto 0; }
.newsletter-box input[type="email"] { border: 0; }
.newsletter-box .btn-on-dark { width: 100%; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 32px;
  margin-top: 0;
}
.site-footer a { color: var(--footer-text); }
.footer-grid { display: grid; gap: 24px; }
.footer-brand .logo-mark { color: var(--footer-text); }
.footer-brand .logo-sub { color: var(--footer-muted); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; }
.copyright { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); color: var(--footer-muted); font-size: 14px; }
.mock-note { margin-top: 8px; font-size: 14px; color: var(--footer-muted); }

/* Letter page */
.letter-hero { padding: 32px 0 16px; }
.crumb { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.crumb a { text-decoration: none; }
.video-frame {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}
.video-frame img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.play::before {
  content: "";
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.play::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--on-primary);
  margin-left: 4px;
}
.letter-blocks { display: grid; gap: 16px; margin-top: 24px; }
.ws-preview { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.ws-preview img { width: 100%; }
.letter-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; }
.letter-nav .btn { flex: 1; }

@media (min-width: 800px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  .logo img { height: 32px; max-width: 240px; }
  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 12px 32px;
    min-height: 72px;
  }
  .nav { grid-column: auto; justify-content: flex-end; gap: 8px; }
  .nav a { flex: none; padding: 10px 16px; }
  .wrap { padding: 0 32px; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 80px; }
  .mission { padding: 56px 0; }
  .mission-statement { font-size: 26px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
  .letter-grid { grid-template-columns: repeat(7, 1fr); gap: 12px; }
  .letter-tile .ch { font-size: 32px; }
  .shop-packs { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .shop-featured { grid-template-columns: 1.1fr 1fr; gap: 24px; }
  .featured { grid-template-columns: 200px 1fr; }
  .featured-body { padding: 24px; }
  .logo { grid-column: 1; grid-row: 1; }
  .nav { grid-column: 2; grid-row: 1; }
  .header-cta { grid-column: 3; grid-row: 1; }
  .site-header-home .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
  }
  .site-header-home .logo {
    grid-column: 1;
    grid-row: 1;
  }
  .site-header-home .logo img {
    height: 52px;
    max-width: 360px;
  }
  .site-header-home .nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }
  .site-header-home .header-cta {
    grid-column: 3;
    grid-row: 1;
  }
  .brand-lockup-hero { font-size: 72px; }
  .brand-lockup-hero .logo-z {
    -webkit-text-stroke: 2.5px #0F48C7;
    stroke-width: 2.5px;
  }
  .hero-tagline { font-size: 40px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .about-art { max-width: 320px; }
  .newsletter-box { padding: 64px 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
  .form-row .btn { width: auto; min-width: 180px; }
  #join { scroll-margin-top: 96px; }
  .letter-blocks { grid-template-columns: 1fr 1fr; gap: 24px; }
  .letter-nav .btn { flex: none; }
}

/* Benchmark additions: how-it-works, trust bar, sample, FAQ, paths */
.age-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.trust-bar {
  display: grid;
  gap: 8px;
  margin-top: 32px;
}
.trust-item {
  background: var(--primary-soft);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps { display: grid; gap: 16px; margin-top: 32px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; font-family: var(--font-sans);
  margin-bottom: 16px;
}
.look-grid { display: grid; gap: 24px; margin-top: 32px; }
.look-card h3 { margin-top: 16px; }
.path-grid { display: grid; gap: 16px; margin-top: 32px; }
.path-card .btn { margin-top: 16px; width: 100%; }
.placeholder-grid { display: grid; gap: 16px; margin-top: 24px; }
.placeholder-card { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 24px; }
.placeholder-card p { font-style: italic; color: var(--text-muted); }
.faq { display: grid; gap: 16px; margin-top: 32px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: left; }
.faq-item h3 { font-size: 18px; margin-bottom: 8px; }

@media (min-width: 800px) {
  .trust-bar { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .look-grid { grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
  .path-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .placeholder-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .path-card .btn { width: auto; }
}

/* =====================================================================
   3. WordPress block markup -> mockup classes (compat layer)
   ===================================================================== */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > main, .wp-site-blocks > header, .wp-site-blocks > footer { margin: 0; }
main.wp-block-group { margin: 0; }
figure.wp-block-image { margin: 0; }
figure.wp-block-image.about-art { margin: 0 auto; }
/* The mockup's hero <figure> keeps the browser-default figure margin (1em 40px). */
.hero-grid figure.wp-block-image.frame { margin: 1em 40px; }
.wp-block-image img { vertical-align: bottom; }

/* Template-part wrappers carry the mockup's header/footer classes. */
header.site-header { margin: 0; }
footer.site-footer { margin: 0; }

/* Separator = the short yellow rule */
.wp-block-separator.rule,
hr.rule {
  width: 48px; height: 4px; background: var(--accent); border: 0; border-radius: 4px;
  margin: 0 0 24px; opacity: 1; color: var(--accent);
}
.wp-block-separator.rule-center,
.center .wp-block-separator.rule { margin-left: auto; margin-right: auto; }

/* Paragraph versions of the mockup's divs/spans */
p.trust-item { margin: 0; }
p.pill { margin: 0; }
.placeholder-card p.pill { color: var(--accent-text); font-style: normal; } /* mockup pill is a <span>, untouched by .placeholder-card p */
p.step-num { margin: 0 0 16px; }
.footer-links p { margin: 0; display: flex; }
.footer-links p > a { flex: 1; }
.copyright .mock-note { margin-top: 8px; }
.footer-brand .footer-tagline { color: var(--footer-muted); margin-top: 16px; max-width: 28em; }
.footer-brand .logo { padding: 4px 0; min-height: 44px; display: flex; align-items: center; }
.site-footer .logo img { height: 36px; width: auto; max-width: 260px; }
.footer-logo { display: block; }

/* Header: logo is an image block (figure.logo > a > img) */
.site-header .logo a { display: flex; align-items: center; }
.site-header .logo img { width: auto; }

/* Navigation block -> .nav */
.site-header .wp-block-navigation.nav { font-size: 15px; gap: 4px; }
.site-header .wp-block-navigation.nav .wp-block-navigation__container {
  display: flex; flex-wrap: nowrap; width: 100%; gap: 4px; justify-content: space-between;
}
.site-header .wp-block-navigation.nav .wp-block-navigation-item { flex: 1; }
.site-header .wp-block-navigation.nav .wp-block-navigation-item__content {
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px;
  min-height: 44px; padding: 10px 8px; display: inline-flex; align-items: center; justify-content: center;
  width: 100%; border-radius: var(--radius-xs); line-height: 1.6;
}
.site-header .wp-block-navigation.nav .wp-block-navigation-item__content:hover { color: var(--primary); }

/* Buttons block -> .btn variants */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link,
.form .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; height: auto; padding: 12px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 2px solid var(--primary); cursor: pointer;
  background: var(--primary); color: var(--on-primary); box-shadow: none; text-align: center;
}
.wp-block-button .wp-block-button__link:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }
.wp-block-button.is-style-kz-secondary .wp-block-button__link { background: transparent; color: var(--primary); border-color: var(--primary); }
.wp-block-button.is-style-kz-secondary .wp-block-button__link:hover { background: var(--primary-soft); color: var(--primary); }
.wp-block-button.is-style-kz-on-dark .wp-block-button__link,
.wp-block-button.is-style-kz-on-dark .wp-block-button__link:hover { background: var(--surface); color: var(--primary); border-color: var(--surface); }
.wp-block-button.is-style-kz-quiet .wp-block-button__link,
.wp-block-button.is-style-kz-quiet .wp-block-button__link:hover {
  background: none; border: 0; border-radius: 0; color: var(--text); font-weight: 700;
  min-height: 44px; padding: 8px 0; text-decoration: underline; font-size: 16px; line-height: 1.6;
}

/* Header CTA */
.header-cta.wp-block-buttons { justify-self: end; padding: 0; min-height: 0; min-width: 0; gap: 0; }
.site-header ul.wp-block-navigation__container.nav { grid-column: auto; grid-row: auto; }
.header-cta .wp-block-button__link { padding: 10px 18px; min-height: 44px; min-width: 44px; }

/* Button placements copied from the mockup */
.hero-actions.wp-block-buttons { margin-top: 32px; }
.center .wp-block-buttons { justify-content: center; }
.pack .pack-cta, .featured-body .pack-cta { margin-top: auto; }
.pack .pack-cta .wp-block-button, .pack .pack-cta .wp-block-button__link { width: 100%; }
.featured-body .pack-cta .wp-block-button, .featured-body .pack-cta .wp-block-button__link { width: 100%; }
/* mockup: inline-flex .btn with margin-top 16px after a p (16px bottom margin) = 32px; block margins collapse, so use 32px */
.path-card .path-cta { margin-top: 32px; }
.path-card .path-cta .wp-block-button, .path-card .path-cta .wp-block-button__link { width: 100%; }
.newsletter-box .wp-block-button, .newsletter-box .is-style-kz-on-dark .wp-block-button__link { width: 100%; }
.letter-nav.wp-block-buttons { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; flex-wrap: nowrap; }
.letter-nav .wp-block-button { flex: 1; }
.letter-nav .wp-block-button__link { width: 100%; }

/* Images that were bare <img> in the mockup */
.featured > figure { margin: 0; align-self: start; }
.about-art img { width: 100%; }
.ws-preview img { width: 100%; }
.look-card .ws-preview { display: block; }
.video-embed { aspect-ratio: 16 / 9; margin-top: 24px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Post title / content on pages */
.wp-block-post-title { font-family: var(--font-display); font-weight: 700; }
.narrow { max-width: 40rem; }
.entry-content > *:first-child { margin-top: 0; }

/* Utilities that replace the mockup's inline style="" attributes */
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.my-16, figure.wp-block-image.my-16 { margin-top: 16px; margin-bottom: 16px; }
.mb-0 { margin-bottom: 0; }
.pt-32 { padding-top: 32px; }
.h-28 { font-size: 28px; }
.nowrap { white-space: nowrap; }
.how-note { margin-top: 32px; max-width: 36rem; margin-left: auto; margin-right: auto; }
@media (min-width: 800px) {
  .site-header .wp-block-navigation.nav { justify-content: flex-end; }
  .site-header .wp-block-navigation.nav .wp-block-navigation__container { width: auto; justify-content: flex-end; gap: 8px; }
  .site-header .wp-block-navigation.nav .wp-block-navigation-item { flex: none; }
  .site-header .wp-block-navigation.nav .wp-block-navigation-item__content { padding: 10px 16px; width: auto; }
  .path-card .path-cta .wp-block-button, .path-card .path-cta .wp-block-button__link { width: auto; }
  .letter-nav .wp-block-button { flex: none; }
}

/* Optional heading style "Cover style": Lilita One, yellow fill with blue outline (book-cover look).
   Yellow text always carries the blue outline, so there is never white-on-yellow or bare yellow-on-white. */
.wp-block-heading.is-style-kz-cover {
  font-family: var(--font-logo); font-weight: 400; letter-spacing: 0; color: var(--accent);
  -webkit-text-stroke: 2px #0F48C7; paint-order: stroke fill;
}
@media (min-width: 800px) { .wp-block-heading.is-style-kz-cover { -webkit-text-stroke-width: 2.5px; } }
