/* ============ Jesus Saves — / ============
   Self-contained stylesheet using the same brand tokens as the main site
   (styles.css / brand.css). Do not import main-site CSS — this file must
   stand alone so / deploys never depend on root-file changes. */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

:root {
  --cream: #FBF7EE;
  --cream-2: #F4ECDB;
  --ink: #1A1A2E;
  --ink-soft: #2D2D44;
  --mute: #6B6B7E;
  --coral: #FF6B4A;
  --coral-deep: #E84B2A;
  --gold: #FFC83D;
  --gold-soft: #FFE599;
  --sage: #8FBF7F;
  --grad-sun: linear-gradient(135deg, #FFC83D 0%, #FF6B4A 100%);
  --shadow-sm: 0 2px 6px rgba(26,26,46,0.06);
  --shadow: 0 12px 36px -12px rgba(26,26,46,0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --maxw: 1240px;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-size: 17px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream); padding: .75rem 1rem;
  z-index: 100; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip:focus { left: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.container.narrow { max-width: 760px; }

/* ---- Header (mirrors main site) ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,238,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,26,46,0.06);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-serif); font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand-text strong { font-weight: 900; }
.brand-text { font-weight: 500; letter-spacing: .04em; }
.brand-heart { display: inline-block; font-size: .9em; line-height: 1; filter: drop-shadow(0 0 6px rgba(255,107,74,0.35)); }

.nav-menu { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; font-weight: 500; }
.nav-menu a { color: var(--ink-soft); transition: color .2s; }
.nav-menu a:hover { color: var(--coral); }
.nav-menu .cta {
  background: var(--ink); color: var(--cream);
  padding: .65rem 1.3rem; border-radius: var(--radius-pill); font-weight: 600;
  transition: transform .2s, background .2s;
}
.nav-menu .cta:hover { color: var(--cream); background: var(--coral); transform: translateY(-2px); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    background: var(--cream-2); border-radius: 12px;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-top: 1px solid rgba(26,26,46,0.08);
    padding: 1rem; transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s; box-shadow: var(--shadow);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .9rem 1.25rem; border-radius: 12px; font-size: 1.05rem; }
  .nav-menu a:hover { background: var(--cream-2); }
  .nav-menu .cta { text-align: center; margin-top: .5rem; }
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: .85rem 0 1.15rem; font-size: .82rem;
  background:
    radial-gradient(ellipse 58% 110% at 50% 100%, rgba(255,200,61,.15), transparent 72%),
    linear-gradient(180deg, var(--cream) 0%, #FFF9EA 100%);
}
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  width: fit-content; max-width: 100%; list-style: none;
  padding: .45rem; border: 1px solid rgba(26,26,46,.08);
  border-radius: var(--radius-pill); background: rgba(244,236,219,.78);
  box-shadow: var(--shadow-sm);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; }
.breadcrumbs li + li::before {
  content: ""; width: 5px; height: 5px; flex: none;
  border-top: 2px solid var(--mute); border-right: 2px solid var(--mute);
  transform: rotate(45deg); opacity: .55;
}
.breadcrumbs a,
.breadcrumbs [aria-current="page"] {
  display: block; padding: .35rem .7rem; border-radius: var(--radius-pill);
  line-height: 1.25;
}
.breadcrumbs a {
  color: var(--ink-soft); background: rgba(251,247,238,.9); font-weight: 650;
  transition: color .15s, background .15s, box-shadow .15s;
}
.breadcrumbs a:hover { color: var(--coral-deep); background: #fff; }
.breadcrumbs a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.breadcrumbs [aria-current="page"] {
  color: var(--ink); background: rgba(255,107,74,.14); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 560px) {
  .breadcrumbs { padding: .7rem 0 .85rem; font-size: .76rem; }
  .breadcrumbs ol { width: 100%; border-radius: var(--radius-sm); gap: .3rem; padding: .35rem; }
  .breadcrumbs li { gap: .3rem; }
  .breadcrumbs a, .breadcrumbs [aria-current="page"] { padding: .32rem .55rem; }
}

/* ---- Page hero ---- */
.page-hero {
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 68% 58% at 50% -6%, rgba(255,200,61,0.22), transparent 72%),
    radial-gradient(ellipse 40% 40% at 85% 100%, rgba(255,107,74,0.12), transparent 70%),
    linear-gradient(180deg, #FFF9EA 0%, var(--cream) 62%);
}
.page-hero .kicker {
  display: inline-block;
  background: var(--ink); color: var(--gold);
  padding: .45rem 1rem; border-radius: var(--radius-pill);
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 1.25rem; max-width: 900px;
}
.page-hero h1 .grad {
  background-image: var(--grad-sun);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Answer-first block (snippet / AI-citation target) ---- */
.answer-first {
  max-width: 760px;
  font-size: 1.15rem; line-height: 1.65; color: var(--ink-soft);
  border-left: 4px solid var(--gold);
  padding: .35rem 0 .35rem 1.15rem;
  margin-bottom: 1.5rem;
}
.answer-first strong { color: var(--ink); }

.hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.hero-pills li {
  padding: .45rem .95rem;
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 600;
  background: var(--cream); box-shadow: 2px 2px 0 var(--ink);
}

/* ---- Sections ---- */
.section { padding: clamp(2.75rem, 7vw, 4.5rem) 0; }
.section.alt { background: linear-gradient(180deg, var(--cream) 0%, #FFF5DC 100%); }
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 600; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em;
  margin: 2rem 0 .75rem;
}
.section p { max-width: 72ch; margin-bottom: 1rem; color: var(--ink-soft); }
.section p strong { color: var(--ink); }
.section ul.plain { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.section ul.plain li { margin-bottom: .5rem; color: var(--ink-soft); }
.prose > *:last-child { margin-bottom: 0; }
.prose a { color: var(--coral-deep); border-bottom: 1.5px solid currentColor; font-weight: 600; }
.prose blockquote {
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem;
  border-left: 4px solid var(--coral); padding: .25rem 0 .25rem 1.15rem;
  margin: 1.25rem 0; color: var(--ink);
}
.verse-ref { font-size: .85rem; color: var(--mute); font-style: normal; }

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.card {
  display: block;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .2s, box-shadow .2s, background .2s;
}
a.card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); background: var(--gold-soft); }
.card h3, .card h4 {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700;
  margin: 0 0 .5rem;
}
.card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.card .card-meta { font-size: .8rem; color: var(--mute); margin-top: .75rem; font-weight: 600; }
.card.gold { background: var(--gold); box-shadow: 5px 5px 0 var(--coral); }

/* ---- Org / place list ---- */
.org-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.org {
  background: var(--cream-2);
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: 4px 4px 0 var(--ink);
}
.org h3, .org h4 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; margin: 0 0 .35rem; }
.org .org-area { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); font-weight: 700; margin-bottom: .5rem; }
.org p { font-size: .97rem; margin-bottom: .5rem; }
.org a { color: var(--coral-deep); font-weight: 600; border-bottom: 1.5px solid currentColor; }
.org .org-needs { font-size: .9rem; color: var(--ink); background: rgba(255,200,61,.35); display: inline-block; padding: .3rem .75rem; border-radius: var(--radius-pill); margin-top: .25rem; }

/* ---- Serve idea paths ---- */
.serve-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: 2rem 0 3rem; }
.serve-path { position: relative; padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--cream); box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.serve-path::after { content: ''; position: absolute; width: 85px; height: 85px; right: -35px; bottom: -38px; border-radius: 50%; background: var(--path-color, var(--gold)); opacity: .42; }
.serve-path-solo { --path-color: var(--gold); }
.serve-path-friends { --path-color: var(--coral); }
.serve-path-any-age { --path-color: #83C5BE; }
.serve-path-brave { --path-color: #B8A1D9; }
.serve-path-label { display: inline-block; margin: 0 0 .6rem; padding: .28rem .55rem; border-radius: 999px; background: var(--path-color, var(--gold)); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.serve-path h3 { margin: 0 0 .8rem; font-family: var(--font-serif); font-size: 1.45rem; }
.serve-path ul { margin: 0; padding-left: 1.15rem; }
.serve-path li { margin-bottom: .65rem; color: var(--ink-soft); line-height: 1.55; }
.serve-path li:last-child { margin-bottom: 0; }
.local-idea-board { display: grid; grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin: 1rem 0 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--gold-soft); box-shadow: 6px 6px 0 var(--coral); }
.local-idea-board h2 { margin: .35rem 0 .7rem; }
.local-idea-board > div > p:last-child { color: var(--ink-soft); }
.local-idea-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.local-idea-list li { display: grid; grid-template-columns: 2.3rem 1fr; gap: .75rem; align-items: start; margin: 0; padding: .85rem; border: 1.5px solid rgba(26,26,46,.22); border-radius: 13px; background: rgba(255,255,255,.7); }
.local-idea-list li > span { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--gold); font-family: var(--font-serif); font-weight: 900; }
.local-idea-list p { margin: .15rem 0 0; color: var(--ink); }
@media (max-width: 720px) {
  .serve-paths, .local-idea-board { grid-template-columns: 1fr; }
}

/* ---- Callout ---- */
.callout {
  background: var(--ink); color: var(--cream);
  padding: 2rem; border-radius: var(--radius);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--gold);
  margin: 2rem 0; max-width: 820px;
}
.callout p { color: var(--cream); font-size: 1.05rem; line-height: 1.65; max-width: none; margin: 0; }
.callout p + p { margin-top: .75rem; }
.callout p strong, .callout strong { color: var(--gold); }
.callout p a, .callout a { color: var(--gold); border-bottom: 1.5px solid currentColor; font-weight: 600; }

/* ---- Steps (Acts 2 pattern) ---- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; margin: 2rem 0; max-width: 820px; }
.step {
  counter-increment: step;
  background: var(--cream-2);
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 1.5rem 1.75rem 1.5rem 4.5rem;
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
}
.step::before {
  content: counter(step);
  position: absolute; left: 1.25rem; top: 1.35rem;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  background: var(--grad-sun); color: var(--ink);
  font-family: var(--font-serif); font-weight: 900; font-size: 1.15rem;
  border-radius: 10px; border: 2px solid var(--ink);
}
.step h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; margin: 0 0 .4rem; }
.step p { margin: 0; font-size: .98rem; }
.step p + p { margin-top: .5rem; }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: .85rem; margin-top: 1.5rem; }
.faq-item {
  background: var(--cream-2);
  border: 2px solid var(--ink); border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.35rem;
  font-weight: 600; font-size: 1.02rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--coral);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }
.faq-answer p { margin-bottom: .65rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---- Connect form ---- */
.connect { padding: clamp(3rem, 7vw, 4.5rem) 0; background: linear-gradient(180deg, var(--cream) 0%, #FFF5DC 100%); }
.connect h2 { font-family: var(--font-serif); font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: .75rem; letter-spacing: -0.02em; }
.connect-lead { color: var(--ink-soft); margin-bottom: 1.75rem; max-width: 60ch; }
.connect-form {
  display: grid; gap: .65rem;
  background: var(--cream);
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 5px 5px 0 var(--ink);
}
.connect-form label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-top: .5rem; }
.connect-form label .optional { text-transform: none; letter-spacing: 0; color: var(--mute); font-weight: 500; }
.connect-form input, .connect-form select, .connect-form textarea {
  background: var(--cream-2);
  border: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: .85rem 1.05rem; outline: none;
  transition: background .2s, box-shadow .2s;
}
.connect-form input:focus, .connect-form select:focus, .connect-form textarea:focus { background: var(--cream); box-shadow: 4px 4px 0 var(--coral); }
.connect-form .hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.connect-form .cf-interests { border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 1.1rem 1.15rem 1.25rem; margin-top: .5rem; background: var(--cream); }
.connect-form .cf-interests legend { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 0 .45rem; }
.connect-form .cf-interests legend .optional { text-transform: none; letter-spacing: 0; color: var(--mute); font-weight: 500; }
.cf-options { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .85rem; }
.cf-options .cf-check-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .cf-options { grid-template-columns: 1fr; } .cf-options .cf-check-wide { grid-column: auto; } }
.connect-form .cf-check { display: flex; align-items: center; gap: .65rem; padding: .7rem .85rem; margin: 0;
  border: 2px solid rgba(26,26,46,.2); border-radius: 12px; background: var(--cream-2);
  cursor: pointer; font-weight: 500; letter-spacing: 0; text-transform: none;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .1s; }
.connect-form .cf-check:hover { border-color: var(--ink); }
.connect-form .cf-check.is-checked { background: var(--gold-soft); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.connect-form .cf-check:has(input:checked) { background: var(--gold-soft); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.connect-form .cf-check input { width: 1.15rem; height: 1.15rem; accent-color: var(--coral); flex: none; cursor: pointer; }
.connect-form .cf-check span { line-height: 1.3; font-size: .95rem; text-transform: none; letter-spacing: 0; }
/* ---- Article / long-form ---- */
.article-meta { font-size: .82rem; color: var(--mute); margin-top: .5rem; font-weight: 500; }
.article-meta a { color: var(--coral-deep); text-underline-offset: 3px; }
.article-body h2 { margin-top: 2.5rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul.plain, .article-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.article-body ul li { margin-bottom: .5rem; color: var(--ink-soft); }
.article-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.article-body ol li { margin-bottom: .5rem; color: var(--ink-soft); }
.resources { background: linear-gradient(180deg, var(--cream) 0%, #FFF5DC 100%); }
.resources .card-meta { color: var(--coral-deep); }
.article-topic { display: flex; align-items: center; gap: .45rem; margin: .4rem 0 .15rem; color: var(--mute); font-size: .82rem; }
.article-topic a { display: inline-block; padding: .25rem .55rem; border: 1px solid rgba(26,26,46,.18); border-radius: 999px; background: #fff; color: var(--coral-deep); font-weight: 750; }
.section-link { margin-top: 1.5rem; font-weight: 750; color: var(--coral-deep); }
.question-source { margin: 0 0 2.25rem; padding: clamp(1.2rem,3vw,1.7rem); border: 2px solid var(--ink); border-radius: var(--radius); background: #FFF2D0; box-shadow: 5px 5px 0 var(--coral); }
.question-source .question-source-label { margin: 0 0 .45rem; color: var(--coral-deep); font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.question-source h2 { margin: 0 0 .65rem; font-size: clamp(1.3rem,3vw,1.75rem); }
.question-source p { margin-bottom: .65rem; }
.question-source .question-source-note { margin: 0; font-size: .78rem; color: var(--mute); }
.question-source a { color: var(--coral-deep); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Read & Learn library ---- */
.read-library-hero { padding-bottom: clamp(3rem, 7vw, 5rem); }
.read-library-hero .answer-first { max-width: 850px; }
.library-search { max-width: 900px; margin-top: 2rem; padding: clamp(1rem, 3vw, 1.5rem); border: 2px solid var(--ink); border-radius: var(--radius); background: rgba(255,255,255,.78); box-shadow: 6px 6px 0 var(--gold); }
.library-search > label { display: block; margin-bottom: .7rem; font-weight: 800; font-size: .88rem; }
.library-search-box { display: flex; align-items: center; gap: .75rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; padding: .1rem 1rem; }
.library-search-box:focus-within { box-shadow: 4px 4px 0 var(--coral); }
.library-search-box > span { color: var(--coral-deep); font-size: 1.7rem; line-height: 1; }
.library-search-box input { width: 100%; border: 0; outline: 0; background: transparent; padding: .85rem 0; }
.search-help { margin: .65rem .2rem 0; color: var(--mute); font-size: .76rem; }
.read-search-results { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(26,26,46,.15); }
.read-search-summary { margin-bottom: .7rem; color: var(--ink-soft); font-size: .8rem; font-weight: 800; }
.read-search-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
.read-search-list a { display: grid; gap: .3rem; padding: .9rem; border: 1.5px solid rgba(26,26,46,.18); border-radius: 13px; background: var(--cream); }
.read-search-list a:hover { border-color: var(--ink); box-shadow: 3px 3px 0 var(--coral); color: var(--ink); }
.read-search-list strong { line-height: 1.25; }
.read-search-list small { color: var(--ink-soft); line-height: 1.4; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.7rem; }
.section-heading-row h2 { margin-bottom: 0; }
.text-link { flex: none; color: var(--coral-deep); font-weight: 800; font-size: .88rem; }
.topic-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.topic-card { position: relative; min-height: 230px; display: flex; flex-direction: column; padding: 1.35rem; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.topic-card:nth-child(3n+1) { background: #FFF2D0; }
.topic-card:nth-child(3n+2) { background: #FFE7E0; }
.topic-card:nth-child(3n) { background: #EAF4E5; }
.topic-card:hover { color: var(--ink); transform: translate(-2px,-2px) rotate(-.3deg); box-shadow: 7px 7px 0 var(--coral); }
.topic-number { color: var(--coral-deep); font: 800 .7rem var(--font-sans); letter-spacing: .16em; }
.topic-card h3 { margin: .8rem 0 .5rem; font-size: 1.35rem; }
.topic-card p { color: var(--ink-soft); font-size: .86rem; }
.topic-arrow { margin-top: auto; align-self: end; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--cream); font-weight: 900; }
.read-guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.read-guide-card { display: flex; flex-direction: column; }
.read-guide-card .card-meta { margin-top: auto; }
.card-topic { display: inline-block; width: fit-content; margin-bottom: .55rem; color: var(--coral-deep); font-size: .65rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.library-next-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.library-next-grid > div:first-child p:last-child { color: var(--ink-soft); }
.library-next-links { display: grid; gap: .7rem; }
.library-next-links a { display: grid; gap: .2rem; padding: 1rem 1.1rem; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.library-next-links a:hover { color: var(--ink); background: var(--gold-soft); transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--coral); }
.library-next-links span { color: var(--ink-soft); font-size: .84rem; }
.read-topic-hero .topic-back { margin-top: 1.3rem; color: var(--coral-deep); font-weight: 750; font-size: .84rem; }
.compact-hero { padding-bottom: 2.4rem; }
.archive-toolbar { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; color: var(--mute); font-size: .85rem; font-weight: 700; }
.archive-toolbar a { color: var(--coral-deep); }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(26,26,46,.16); font-size: .84rem; font-weight: 750; }
.pagination a:last-child { text-align: right; }
.pagination a { color: var(--coral-deep); }
@media (max-width: 900px) {
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .read-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .section-heading-row { display: block; }
  .section-heading-row .text-link { display: inline-block; margin-top: .8rem; }
  .topic-grid, .read-guide-grid, .read-search-list, .library-next-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 190px; }
  .pagination { grid-template-columns: 1fr 1fr; }
  .pagination > span { display: none; }
}

.btn {
  display: inline-block; text-align: center;
  padding: .95rem 1.75rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--ink); color: var(--cream);
  box-shadow: 4px 4px 0 var(--coral);
  margin-top: .75rem;
}
.btn-primary:hover { background: var(--coral); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); color: var(--cream); }
.btn-ghost { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); background: var(--cream); }
.btn-ghost:hover { background: var(--gold); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.form-status { min-height: 1.4em; font-weight: 600; color: var(--ink); margin: 0; }
.form-status.ok { color: #2D6A3E; }
.form-status.err { color: var(--coral-deep); }

/* ---- City index grid ---- */
.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; }
.city-explorer { overflow: hidden; }
.explorer-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.explorer-heading > div { max-width: 680px; }
.explorer-heading h2 { margin-bottom: .65rem; }
.explorer-heading > div > p:not(.kicker) { color: var(--ink-soft); }
.location-directory-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; color: var(--ink); font-size: .8rem; font-weight: 850; border-bottom: 2px solid var(--coral); }
.city-total-cluster { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; flex: none; }
.city-total { display: flex; align-items: center; gap: .8rem; flex: none; padding: .75rem 1rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--gold); box-shadow: 4px 4px 0 var(--ink); transform: rotate(1.5deg); }
.city-total strong { font-family: var(--font-serif); font-size: 2.5rem; line-height: .9; }
.city-total span { font-size: .72rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.city-growth-badge { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .72rem .56rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--coral); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); line-height: 1; transform: rotate(-2deg); }
.city-growth-badge strong { font-family: var(--font-serif); font-size: 1.35rem; line-height: .8; }
.city-growth-badge > span:last-child { font-size: .58rem; font-weight: 900; line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; }
.city-growth-spark { position: absolute; top: -.55rem; right: .25rem; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--cream); color: var(--coral-deep); font-size: .67rem; animation: city-growth-pop 2.6s ease-in-out infinite; }
@keyframes city-growth-pop { 0%, 72%, 100% { transform: scale(1) rotate(0); } 82% { transform: scale(1.35) rotate(22deg); } }
.city-map-shell { position: relative; min-height: 510px; display: grid; grid-template-columns: minmax(210px, .7fr) minmax(540px, 2fr); align-items: center; gap: 1rem; padding: clamp(1.4rem, 4vw, 3rem); margin-bottom: 2rem; border: 2px solid var(--ink); border-radius: 30px; background: var(--ink); box-shadow: 8px 8px 0 var(--coral); overflow: hidden; isolation: isolate; }
.city-map-shell::before { content: ''; position: absolute; width: 430px; height: 430px; left: -190px; bottom: -260px; border-radius: 50%; background: var(--coral); opacity: .2; filter: blur(2px); z-index: -1; }
.city-map-shell::after { content: ''; position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.8) .7px, transparent .7px); background-size: 17px 17px; z-index: -1; }
.map-copy { color: var(--cream); padding-left: clamp(0rem, 2vw, 1.2rem); }
.map-copy h3 { color: var(--cream); font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.6rem); line-height: .98; margin: .75rem 0 1rem; letter-spacing: -.04em; }
.map-copy h3 span { color: var(--gold); }
.map-copy > p:not(.map-eyebrow):not(.map-hint) { color: rgba(251,247,238,.72); font-size: .95rem; max-width: 27ch; }
.map-eyebrow { color: var(--coral); text-transform: uppercase; letter-spacing: .2em; font-weight: 800; font-size: .7rem; }
.map-hint { display: inline-block; margin-top: 1.4rem; padding: .55rem .8rem; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(251,247,238,.75); font-size: .75rem; }
.city-map { position: relative; min-width: 0; height: 440px; border: 3px solid rgba(251,247,238,.18); border-radius: 22px; overflow: hidden; background: #e8e3d8; color: var(--ink); isolation: isolate; }
.map-loading, .map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem; color: var(--ink-soft); text-align: center; z-index: 0; }
.city-map .leaflet-container { font-family: var(--font-sans); }
.city-map .leaflet-control-zoom a { color: var(--ink); }
.city-map .leaflet-control-attribution { font-size: 10px; background: rgba(251,247,238,.9); }
.city-map .leaflet-popup-content-wrapper { border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); }
.city-map .leaflet-popup-content { margin: 1rem; min-width: 155px; }
.map-popup strong { display: block; margin-bottom: .55rem; font-family: var(--font-serif); font-size: 1.08rem; }
.map-popup a { display: inline-block; padding: .48rem .7rem; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: .75rem; font-weight: 800; }
.map-popup a:hover { background: var(--coral); color: var(--ink); }
.jsc-map-marker { display: grid !important; place-items: center; width: 26px !important; height: 26px !important; margin: -13px 0 0 -13px !important; border: 0; border-radius: 50%; background: rgba(255,200,61,.28); }
.jsc-map-marker span { display: block; width: 13px; height: 13px; border: 3px solid var(--ink); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(255,255,255,.8); transition: transform .15s, background .15s; }
.jsc-map-marker:hover span, .jsc-map-marker:focus span, .jsc-map-marker.is-active span { transform: scale(1.35); background: var(--coral); }
.jsc-map-cluster { display: grid !important; place-items: center; width: 38px !important; height: 38px !important; margin: -19px 0 0 -19px !important; border: 3px solid var(--ink); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(255,200,61,.26); color: var(--ink); font: 900 .78rem var(--font-sans); }
.city-tools { display: flex; align-items: center; gap: 1rem; margin: 2.4rem 0 .7rem; }
.city-search { min-width: min(100%, 300px); display: flex; align-items: center; gap: .6rem; padding: .15rem .9rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.city-search > span[aria-hidden] { font-size: 1.5rem; line-height: 1; transform: translateY(-1px); }
.city-search input { width: 100%; border: 0; outline: 0; padding: .65rem 0; background: transparent; font: inherit; color: var(--ink); }
.city-search:focus-within { box-shadow: 4px 4px 0 var(--coral); }
.region-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.region-filter { border: 1.5px solid rgba(26,26,46,.28); border-radius: 999px; padding: .58rem .85rem; background: transparent; color: var(--ink-soft); font: 700 .78rem var(--font-sans); cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.region-filter:hover { border-color: var(--ink); transform: translateY(-1px); }
.region-filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.newest-filter { border-color: rgba(255,107,74,.55); }
.newest-filter span { color: var(--coral-deep); }
.newest-filter.is-active { background: var(--gold); border-color: var(--ink); color: var(--ink); box-shadow: 2px 2px 0 var(--coral); }
.region-filter:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.city-results { min-height: 1.4em; color: var(--mute); font-size: .82rem; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1rem; }
.city-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.city-card:hover, .city-card.is-active { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--coral); border-color: var(--coral-deep); }
.city-card-main { display: block; flex: 1; padding: 1.3rem 1.3rem 1rem; color: var(--ink); }
.city-card-main:hover { color: var(--ink); }
.city-card-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 1.65rem; margin-bottom: .7rem; }
.city-card-region { display: inline-block; color: var(--coral-deep); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.city-new-badge { position: relative; display: inline-flex; align-items: center; gap: .32rem; padding: .3rem .58rem .28rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--gold); color: var(--ink); box-shadow: 2px 2px 0 var(--coral); font-size: .62rem; font-weight: 850; line-height: 1; letter-spacing: .04em; text-transform: uppercase; transform: rotate(1.5deg); }
.city-new-badge span { color: var(--coral-deep); font-size: .72rem; animation: city-badge-spark 2.4s ease-in-out infinite; }
@keyframes city-badge-spark { 0%, 70%, 100% { transform: scale(1) rotate(0); } 82% { transform: scale(1.35) rotate(18deg); } }
@media (prefers-reduced-motion: reduce) { .city-new-badge span, .city-growth-spark { animation: none; } }
.city-card h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.city-card-main p { color: var(--ink-soft); font-size: .9rem; }
.city-card-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid rgba(26,26,46,.16); background: var(--cream); }
.city-card-links a { padding: .62rem .8rem; color: var(--ink-soft); font-size: .72rem; font-weight: 750; text-align: center; border-right: 1px solid rgba(26,26,46,.12); border-bottom: 1px solid rgba(26,26,46,.12); }
.city-card-links a:nth-child(2n) { border-right: 0; }
.city-card-links a:nth-child(n+3) { border-bottom: 0; }
.city-card-links a:hover, .city-card-links a:focus { background: var(--gold); color: var(--ink); }
.city-card[hidden] { display: none; }
.city-empty { margin: 2rem 0; padding: 1.4rem; border: 2px dashed var(--coral); border-radius: var(--radius); text-align: center; }
.location-hero { background: linear-gradient(135deg, rgba(255,200,61,.12), transparent 58%, rgba(255,107,74,.1)); }
.location-heading { display: grid; grid-template-columns: minmax(240px,.75fr) minmax(300px,1.25fr); gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.location-heading h2 { margin: .2rem 0 0; }
.location-heading > p { color: var(--ink-soft); }
.state-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1rem; }
.state-card { scroll-margin-top: 6rem; padding: 1.2rem; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.state-card-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding-bottom: .85rem; border-bottom: 1.5px solid rgba(26,26,46,.14); }
.state-card h2 { margin: .15rem 0 0; font-size: 1.35rem; }
.state-card h2 a { color: var(--ink); }
.state-card h2 a:hover { color: var(--coral-deep); }
.state-abbr { color: var(--coral-deep); font-size: .64rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.state-count { flex: none; padding: .32rem .55rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--gold); font-size: .64rem; font-weight: 850; text-transform: uppercase; }
.state-city-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0 0; }
.state-city-links a { display: inline-flex; align-items: center; gap: .25rem; padding: .42rem .58rem; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: .73rem; font-weight: 750; }
.state-city-links a:hover { background: var(--gold); }
.state-more { display: inline-block; margin-top: .9rem; color: var(--ink); font-size: .73rem; font-weight: 850; border-bottom: 2px solid var(--coral); }
.state-intro { max-width: 78ch; margin-bottom: 1.8rem; }
.state-map-shell { min-height: 430px; grid-template-columns: minmax(220px,.7fr) minmax(480px,1.8fr); margin-bottom: 2.4rem; }
.state-map-shell .city-map { height: 360px; }
.state-map-heading { color: var(--cream); font-family: var(--font-serif); font-size: clamp(2rem,3.6vw,3.2rem); line-height: 1; letter-spacing: -.04em; margin: .75rem 0 1rem; }
.state-city-grid { margin-top: 0; }
.state-city-grid .city-card h2 { margin: .65rem 0 .45rem; font-size: 1.35rem; }
.location-back { margin-top: 1.5rem; font-weight: 800; }
@media (max-width: 860px) {
  .city-map-shell { min-height: 0; grid-template-columns: 1fr; }
  .map-copy { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: .5rem 1rem; }
  .map-copy h3 { grid-column: 1; margin-bottom: .3rem; }
  .map-copy > p:not(.map-eyebrow):not(.map-hint) { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .map-hint { display: none; }
  .city-tools { align-items: stretch; flex-direction: column; }
  .location-heading { grid-template-columns: 1fr; gap: .7rem; }
}
@media (max-width: 600px) {
  .explorer-heading { flex-direction: column; align-items: start; gap: 1rem; }
  .city-total-cluster { justify-content: flex-start; }
  .city-total { padding: .55rem .7rem; }
  .city-total strong { font-size: 1.8rem; }
  .city-growth-badge { padding: .5rem .65rem .47rem; }
  .city-map-shell { padding: 1.2rem .6rem .8rem; border-radius: 22px; box-shadow: 5px 5px 0 var(--coral); }
  .city-map { height: 390px; border-radius: 17px; }
  .state-map-shell .city-map { height: 320px; }
  .map-copy { display: block; padding: .5rem .7rem; }
  .map-copy h3 { font-size: 2rem; }
  .map-copy > p:not(.map-eyebrow):not(.map-hint) { max-width: none; }
  .map-pin text { display: none; }
  .map-pin .pin-halo { r: 17; }
  .city-search { width: 100%; }
  .region-filters { flex-wrap: nowrap; overflow-x: auto; padding: .2rem .1rem .5rem; scrollbar-width: thin; }
  .region-filter { white-space: nowrap; }
  .city-grid { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
.start-note { margin-top: 1rem; color: var(--ink-soft); font-size: .86rem; }
.start-progress-dock { position: sticky; top: var(--start-sticky-top, 76px); z-index: 40; padding: .72rem 0; border-top: 1px solid rgba(26,26,46,.08); border-bottom: 1px solid rgba(26,26,46,.14); background: rgba(251,247,238,.94); box-shadow: 0 10px 24px rgba(26,26,46,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.start-progress-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.start-progress-group { flex: 1 1 520px; max-width: 650px; }
.start-progress-eyebrow { display: block; margin: 0 0 .25rem .75rem; color: var(--coral-deep); font-size: .65rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.start-progress { position: relative; width: 100%; height: 40px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.start-progress > span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); transition: width .25s ease; }
.start-progress > p { position: relative; z-index: 1; margin: 0; padding: .52rem 1rem; font-size: .78rem; font-weight: 800; text-align: center; }
.start-next { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 40px; padding: .62rem .95rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--cream); font-size: .74rem; font-weight: 800; line-height: 1.2; text-align: center; box-shadow: 3px 3px 0 var(--coral); }
.start-next:hover { background: var(--coral); color: var(--ink); }
.start-next:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.start-progress-dock.is-complete { border-color: rgba(26,26,46,.35); background: rgba(255,200,61,.96); }
.start-progress-dock.is-complete .start-progress-eyebrow { color: var(--ink); }
.start-progress-dock.is-complete .start-progress > span { background: #a8d5b5; }
.learning-path { display: grid; gap: 1.25rem; counter-reset: none; }
.learning-step { scroll-margin-top: calc(var(--start-sticky-top, 76px) + 90px); display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 1.1rem; align-items: start; padding: clamp(1.1rem, 3vw, 1.7rem); border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.learning-step:has(input:checked) { border-color: #2d6a3e; box-shadow: 5px 5px 0 #a8d5b5; }
.learning-step h2 { margin: .15rem 0 .55rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.step-number { display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid var(--ink); border-radius: 50%; background: var(--gold); font-family: var(--font-serif); font-size: 1.35rem; font-weight: 900; }
.step-action { margin-top: .8rem; padding: .7rem .9rem; border-left: 4px solid var(--coral); background: var(--cream); }
.step-check { display: flex; align-items: center; gap: .5rem; white-space: nowrap; font-size: .75rem; font-weight: 800; cursor: pointer; }
.step-check input { width: 1.25rem; height: 1.25rem; accent-color: #2d6a3e; }
.start-complete { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); gap: clamp(1rem,3vw,1.8rem); align-items: start; margin-top: 2rem; padding: clamp(1.4rem,4vw,2.4rem); overflow: hidden; border: 3px solid var(--ink); border-radius: calc(var(--radius) + 4px); background: linear-gradient(135deg,#fff7cf 0%,#fff 58%,#ffe1d9 100%); box-shadow: 9px 9px 0 var(--coral); }
.start-complete[hidden] { display: none; }
.start-complete::after { content: ""; position: absolute; right: -55px; bottom: -75px; width: 190px; height: 190px; border: 28px solid rgba(255,200,61,.35); border-radius: 50%; }
.start-complete-mark { position: relative; z-index: 1; display: grid; place-items: center; width: clamp(58px,9vw,82px); aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--font-serif); font-size: clamp(2rem,5vw,3rem); font-weight: 900; box-shadow: 5px 5px 0 var(--ink); }
.start-complete-copy { position: relative; z-index: 1; }
.start-complete h2 { margin: .2rem 0 .6rem; font-size: clamp(1.8rem,4vw,3rem); }
.start-complete p:not(.kicker) { max-width: 65ch; }
.start-complete-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.start-complete-city { color: var(--ink); font-weight: 850; border-bottom: 2px solid var(--coral); }
.start-complete.is-celebrating { animation: start-complete-pop .7s cubic-bezier(.2,.85,.3,1.25); }
.start-confetti { position: fixed; inset: 0; z-index: 1000; overflow: hidden; pointer-events: none; }
.start-confetti i { position: absolute; top: -24px; left: var(--confetti-x); width: 10px; height: 18px; border: 1px solid rgba(26,26,46,.3); border-radius: 2px; background: var(--confetti-color); animation: start-confetti-fall 1.9s cubic-bezier(.15,.65,.35,1) var(--confetti-delay) both; }
@keyframes start-complete-pop { 0% { transform: scale(.96); } 55% { transform: scale(1.015) rotate(-.35deg); } 100% { transform: scale(1); } }
@keyframes start-confetti-fall { 0% { transform: translate3d(0,-5vh,0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate3d(var(--confetti-drift),105vh,0) rotate(720deg); opacity: .9; } }
.visual-explainer { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.visual-explainer img { width: 100%; height: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 6px 6px 0 var(--coral); }
@media (max-width: 700px) {
  .start-progress-dock { padding: .55rem 0; }
  .start-progress-row { align-items: stretch; gap: .55rem; }
  .start-progress-eyebrow { margin-left: .6rem; font-size: .58rem; }
  .start-progress { height: 38px; }
  .start-progress > p { padding: .5rem .5rem; font-size: .7rem; }
  .start-next { max-width: 42%; min-height: 38px; padding: .5rem .7rem; font-size: .68rem; }
  .learning-step { grid-template-columns: 45px 1fr; }
  .step-number { width: 40px; height: 40px; }
  .step-check { grid-column: 2; }
  .start-complete { grid-template-columns: 1fr; }
  .start-complete-mark { width: 58px; }
  .visual-explainer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { .start-progress > span { transition: none; } .start-complete.is-celebrating { animation: none; } .start-confetti { display: none; } }

.site-footer {
  background: var(--ink); color: var(--cream);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .5rem; }
.footer-brand strong { font-weight: 900; }
.footer-tag { color: var(--gold); font-weight: 600; margin-bottom: .75rem; }
.footer-note { color: rgba(251,247,238,0.65); font-size: .9rem; max-width: 40ch; }
.footer-head { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: .85rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer ul a { color: rgba(251,247,238,0.85); font-size: .95rem; border-bottom: 1px solid transparent; }
.site-footer ul a:hover { color: var(--gold); border-bottom-color: currentColor; }
.footer-verse {
  border-top: 1px solid rgba(251,247,238,0.15);
  padding-top: 1.5rem; text-align: center;
  font-family: var(--font-serif); font-style: italic;
  color: rgba(251,247,238,0.7); font-size: .95rem;
}
