/* Kana Trail marketing site — shared stylesheet.
   Recreated from designs/ in site/design_handoff_kanatrail_site (design tokens in its README).
   No JavaScript anywhere on the site; hovers and the stroke-order wipe are pure CSS. */

:root {
  --bg: #FAF7F2;
  --card: #FFFDF9;
  --ink: #3E3529;
  --body: #5C4F3F;
  --muted: #7B6A59;
  --faint: #B3A38E;
  --border: #EFE7DA;
  --accent: #CE4A2F;
  --accent-hover: #A83A24;
  --tint: #F6DCC6;
  --warm: #F6ECE0;
  --blue: #35508F;
  --dark: #3E3529;
  --on-dark-dim: #8A7A65;
  --on-dark: #B3A38E;
  --on-dark-bright: #D8CDBC;
  --on-dark-accent: #F6DCC6;
  --cta-text: #FFF6EF;
  --heading-font: 'Zen Maru Gothic', sans-serif;
  --kana-font: 'Klee One', cursive;
  --mono: ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: system-ui, sans-serif;
  color: var(--body);
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

/* ---------- Layout ---------- */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 72px;
  padding-right: 72px;
}

/* ---------- Header (landing + blog pages) ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 26px;
}

/* Brand lockup (July 2026 rebrand): torii icon + name over tagline */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  display: block;
  flex: none;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--ink);
  line-height: 1;
}

.brand-tagline {
  font-family: var(--kana-font);
  font-weight: 600;
  font-size: 12px;
  color: var(--accent);
  line-height: 1;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 0; /* keeps tap targets comfortable */
}
.nav-link:hover { color: var(--ink); }

.nav-current {
  color: var(--ink);
  font-weight: 600;
  padding: 10px 0;
}

.btn-pill {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
}
.btn-pill:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ---------- Decorative kana ---------- */

.deco {
  position: absolute;
  font-family: var(--kana-font);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #FFFDF9;
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  padding: 18px 36px;
  border-radius: 14px;
  box-shadow: 0 10px 24px -8px rgba(206, 74, 47, .5);
}
.btn-primary:hover { background: var(--accent-hover); color: #FFFDF9; }

.btn-white {
  flex: none;
  display: inline-block;
  background: #FFFDF9;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 14px;
}
.btn-white:hover { color: var(--accent-hover); }

.btn-cta {
  flex: none;
  display: inline-block;
  background: var(--accent);
  color: #FFFDF9;
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
}
.btn-cta:hover { background: var(--accent-hover); color: #FFFDF9; }

/* ---------- Section heading ---------- */

.heading-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.diamond {
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
}

.section-title {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 38px;
  color: var(--ink);
  text-wrap: pretty;
}

.heading-link {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-deco-a  { top: -90px;    left: -40px;  font-size: 480px; color: var(--accent); opacity: .06; }
.hero-deco-ka { bottom: -140px; right: 120px; font-size: 420px; color: var(--blue);   opacity: .05; }

.hero-inner {
  display: flex;
  gap: 80px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 130px;
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 600px;
  position: relative;
}

.hero h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 58px;
  line-height: 1.14;
  color: var(--ink);
  text-wrap: pretty;
}

.accent-underline {
  color: var(--accent);
  border-bottom: 6px solid var(--tint);
}

.hero-sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.play-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  padding: 11px 6px;
}

.play-tri {
  width: 0;
  height: 0;
  border-left: 8px solid var(--faint);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.hero-shot {
  position: relative;
  width: 320px;
  flex: none;
}

.hero-glow {
  position: absolute;
  inset: -50px -40px;
  background: radial-gradient(circle, #F6DCC6 0%, rgba(246, 220, 198, 0) 70%);
}

.hero-shot img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 30px;
  transform: rotate(3deg);
  box-shadow: 0 40px 70px -28px rgba(62, 53, 41, .4);
}

/* ---------- How it works ---------- */

.how {
  position: relative;
  background: var(--card);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.how-deco { top: -60px; right: -50px; font-size: 380px; color: var(--ink); opacity: .04; }

.how-inner {
  padding-top: 96px;
  padding-bottom: 96px;
}

.how .heading-row { margin-bottom: 56px; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 900px;
}

.step {
  display: flex;
  gap: 52px;
  align-items: center;
}

.step-visual { flex: none; width: 280px; }

.step-visual img {
  display: block;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.step-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-label {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 1px;
}

.step h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
}

.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 440px;
}

/* Stroke-order animation panel (step 1) — real per-stroke drawing of ほ.
   The SVG is from the strokesvg project (stroke paths in true stroke order:
   left vertical → top horizontal → lower horizontal → tall stroke with loop);
   each path has pathLength="1" so the dash math below is uniform. */

.stroke-panel {
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 0;
}

.ho-stroke {
  display: block;
  width: 160px;
  height: 160px;
  --stroke: var(--accent);
}

.ho-stroke .ho-shadows { fill: #EAE1D2; }

.ho-stroke .hs {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ho-stroke .hs1 { animation: hoS1 5.6s linear infinite; }
.ho-stroke .hs2 { animation: hoS2 5.6s linear infinite; }
.ho-stroke .hs3 { animation: hoS3 5.6s linear infinite; }
.ho-stroke .hs4 { animation: hoS4 5.6s linear infinite; }
.ho-stroke .hs5 { animation: hoS5 5.6s linear infinite; }

@keyframes hoS1 { 0%, 2% { stroke-dashoffset: 1; } 20% { stroke-dashoffset: 0; } 99.5% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hoS2 { 0%, 24% { stroke-dashoffset: 1; } 33% { stroke-dashoffset: 0; } 99.5% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hoS3 { 0%, 37% { stroke-dashoffset: 1; } 46% { stroke-dashoffset: 0; } 99.5% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hoS4 { 0%, 50% { stroke-dashoffset: 1; } 72% { stroke-dashoffset: 0; } 99.5% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hoS5 { 0%, 72% { stroke-dashoffset: 1; } 90% { stroke-dashoffset: 0; } 99.5% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }

@media (prefers-reduced-motion: reduce) {
  .ho-stroke .hs {
    animation: none;
    stroke-dashoffset: 0;
  }
  html { scroll-behavior: auto; }
}

.stroke-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  margin-top: 6px;
}

/* ---------- CTA band ---------- */

.cta-band { background: var(--accent); }

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.cta-band p {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 26px;
  color: var(--cta-text);
  text-wrap: pretty;
}

/* ---------- Mnemonics ---------- */

.mnemonics {
  position: relative;
  overflow: hidden;
}

.mnemonics-deco { bottom: -120px; left: -30px; font-size: 400px; color: var(--ink); opacity: .04; }

.mnemonics-inner {
  display: flex;
  gap: 72px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.mnemonics-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 540px;
}

.mnemonics-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.mnemonics-copy strong { color: var(--ink); }

.klee-inline {
  font-family: var(--kana-font);
  color: var(--accent);
  font-size: 24px;
}

.mnemonics-shot {
  width: 300px;
  flex: none;
}

.mnemonics-shot img {
  display: block;
  width: 100%;
  border-radius: 28px;
  transform: rotate(-2deg);
  box-shadow: 0 30px 60px -26px rgba(62, 53, 41, .35);
}

/* ---------- Both scripts ---------- */

.scripts {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scripts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.scripts-pair {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.script-glyph {
  display: block;
  font-family: var(--kana-font);
  font-size: 130px;
  line-height: 1.1;
}

.script-glyph-hira { color: var(--accent); }
.script-glyph-kata { color: var(--blue); }

.script-caption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
}

.scripts-plus {
  font-size: 26px;
  color: var(--faint);
}

.scripts-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scripts-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Free beta ---------- */

.free-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  padding-top: 96px;
  padding-bottom: 96px;
}

.free-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chips {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chip {
  background: var(--tint);
  color: var(--body);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 12px;
}

.free-copy > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
}

.callout {
  background: var(--tint);
  border-radius: 12px;
  padding: 18px 24px;
  max-width: 520px;
}

.callout p {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.55;
}

.callout .accent { color: var(--accent); }

.dark-panel {
  flex: none;
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--dark);
  border-radius: 24px;
  padding: 28px 32px;
  max-width: 380px;
}

.dark-panel img {
  display: block;
  flex: none;
  width: 120px;
  border-radius: 14px;
}

.dark-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-dark-bright);
}

/* ---------- FAQ ---------- */

.faq-inner { padding-bottom: 96px; }

.faq-inner .section-title { margin-bottom: 40px; }

.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 820px;
}

.faq-row {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.faq-row:last-child { border-bottom: 1px solid var(--border); }

.faq-row h3 {
  margin: 0;
  flex: none;
  width: 300px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.faq-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- New to kana? (guide-required addition) ---------- */

.new-to-kana {
  background: var(--card);
  border-top: 1px solid var(--border);
}

.new-to-kana-inner {
  padding-top: 72px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.new-to-kana .section-title { font-size: 30px; }

.new-to-kana-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.guide-card {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 28px;
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
}

.guide-card:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.all-guides-link {
  margin-top: 6px;
  align-self: flex-start;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.all-guides-link:hover { color: var(--accent-hover); }

/* ---------- Footer (dark) ---------- */

.site-footer { background: var(--dark); }

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--on-dark);
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-kana {
  font-family: var(--kana-font);
  font-weight: 600;
  font-size: 20px;
  color: var(--on-dark-accent);
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--on-dark);
  text-decoration: none;
}
.footer-links a:hover { color: var(--on-dark-accent); }

.footer-note { color: var(--on-dark-dim); }

.footer-app {
  color: var(--on-dark-accent) !important;
  font-weight: 600;
}

/* ---------- Blog index ---------- */

.blog-hero {
  position: relative;
  overflow: hidden;
}

.blog-hero-deco { top: -70px; right: -30px; font-size: 340px; color: var(--accent); opacity: .05; }

.blog-hero-inner {
  padding-top: 64px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-hero h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 46px;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: pretty;
}

.blog-hero-sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}

.featured-wrap { padding-bottom: 40px; }

.featured-card {
  display: flex;
  gap: 56px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px 56px;
  text-decoration: none;
}
.featured-card:hover { border-color: var(--accent); }

.featured-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chip-start {
  align-self: flex-start;
  background: var(--tint);
  color: var(--body);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
}

.featured-card h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: pretty;
}

.featured-card .teaser {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.read-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.featured-card:hover .read-more { color: var(--accent-hover); }

.featured-glyph {
  flex: none;
  font-family: var(--kana-font);
  font-size: 150px;
  line-height: 1;
  color: var(--accent);
  opacity: .85;
}

.post-grid-wrap { padding-bottom: 96px; }

.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 32px;
  text-decoration: none;
}
.blog-card:hover { border-color: var(--accent); }

.blog-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: pretty;
}

.blog-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Blog post ---------- */

.post {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

.post-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 44px;
}

.back-link {
  font-size: 14px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.post-head h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: pretty;
}

.byline {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13.5px;
  color: var(--faint);
}

.post-body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
}

.post-body p { margin: 0; text-wrap: pretty; }

.post-body h2 {
  margin: 22px 0 -6px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
}

.post-body strong { color: var(--ink); }

.post-body ul,
.post-body ol {
  margin: 0;
  padding-left: 26px;
}

.post-body li + li { margin-top: 10px; }

.post-cta {
  margin-top: 56px;
  background: var(--warm);
  border-radius: 20px;
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.post-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-cta-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

.post-cta-sub {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Privacy ---------- */

.privacy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 48px;
  border-bottom: 1px solid var(--border);
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.privacy-header-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.privacy-main {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 48px 96px;
  color: var(--body);
}

.privacy-main h1 {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 40px;
  color: var(--ink);
}

.dateline {
  margin: 0 0 48px;
  font-size: 15px;
  color: var(--muted);
}

.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 16px;
  line-height: 1.7;
}

.privacy-sections h2 {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}

.privacy-sections p { margin: 0; }

.privacy-footer {
  padding: 36px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.privacy-footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.privacy-footer a {
  color: var(--muted);
  text-decoration: none;
}
.privacy-footer a:hover { color: var(--accent-hover); }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .container { padding-left: 48px; padding-right: 48px; }
  .hero-inner { gap: 48px; }
  .mnemonics-inner { gap: 48px; }
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .hero-shot { margin: 24px auto 0; }

  .hero h1 { font-size: 44px; }

  .step {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mnemonics-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mnemonics-shot { margin: 12px auto 0; }

  .scripts-inner { grid-template-columns: 1fr; }

  .free-inner { flex-direction: column; }

  .post-grid { grid-template-columns: 1fr; }

  .guide-cards { grid-template-columns: 1fr; }

  .featured-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 32px;
  }

  .featured-glyph {
    font-size: 100px;
    align-self: flex-end;
  }

  .faq-row {
    flex-direction: column;
    gap: 8px;
  }

  .faq-row h3 { width: auto; }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container { padding-left: 24px; padding-right: 24px; }

  .hero h1 { font-size: 40px; }
  .section-title { font-size: 30px; }
  .blog-hero h1 { font-size: 34px; }
  .cta-band p { font-size: 22px; }

  .hero-shot { width: 260px; }

  .stroke-panel { width: 100%; }

  .step-visual { width: 100%; max-width: 280px; }

  .post { padding: 40px 24px 64px; }
  .post-head h1 { font-size: 32px; }
  .post-body h2 { font-size: 23px; }

  .post-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-header,
  .privacy-footer { padding-left: 24px; padding-right: 24px; }

  .privacy-main { padding: 48px 24px 72px; }
  .privacy-main h1 { font-size: 34px; }
}
