@font-face {
  font-family: Anton;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Anton-Regular.woff2") format("woff2");
}

:root {
  --bg: #0d0d0d;
  --panel: #161616;
  --text: #efeae2;
  --muted: #a59f95;
  --accent: #ff8a1f;
  --line: #2a2a2a;
  --ink: #111;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3, .logo, .display {
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: .95;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--accent); color: var(--ink); padding: 8px 12px; }

header.top {
  border-bottom: 1px solid var(--line);
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: nowrap;
}
.brand { text-decoration: none; color: var(--text); display: block; flex: 0 0 auto; }
.logo {
  font-size: 1.35rem;
  letter-spacing: .08em;
  color: var(--text);
  margin: 0;
}
.logo span { color: var(--accent); }
.byline {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
}
.nav-toggle:hover,
.nav-toggle:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
  content: "";
}
.nav-toggle-bars::before { position: absolute; top: -5px; }
.nav-toggle-bars::after { position: absolute; top: 5px; }
nav#site-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: flex-end; }
nav#site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  white-space: nowrap;
}
nav#site-nav a:hover,
nav#site-nav a[aria-current="page"] { color: var(--text); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .15s ease, transform .15s ease;
}
.card-link:hover,
.card-link:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}
.card-link .tag { margin-bottom: 10px; }
.card-link p { margin-bottom: 0; }

.hero { padding: 72px 0 56px; }
.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  margin: 0 0 16px;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  margin: 0 0 18px;
  max-width: 16ch;
}
.hero .theme-grid { margin-top: 10px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 28px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .88rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { filter: brightness(1.1); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  margin-left: 10px;
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: default;
  filter: none;
  opacity: .9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
}
.section-lead { color: var(--muted); margin: 0 0 28px; max-width: 38em; }

.kit {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.kit-cover {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.kit-cover img { width: 100%; }
.kit h3 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin: 0 0 12px;
}
.kit .blurb { color: var(--muted); margin: 0 0 20px; max-width: 36em; font-size: 1.05rem; }
.meta {
  margin: 0 0 16px;
  max-width: 36em;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--muted);
}
.coming {
  display: inline-block;
  background: none;
  color: var(--accent);
  border: 0;
  padding: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 700;
}

.kit-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 14px;
}
.kit-buy .price {
  margin: 0;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--text);
}
.kit-buy .btn { margin: 0; }
.buy-list { margin: 0 0 8px; }
.pack-block { max-width: 40em; }
footer .wrap a { margin: 0 0.15em; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 20px 18px 22px;
  border-radius: 4px;
}
.step .num {
  font-family: Anton, Impact, sans-serif;
  color: var(--accent);
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.step h3 { font-size: 1.35rem; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 20px;
  border-radius: 4px;
}
.card h3 { font-size: 1.5rem; margin: 0 0 8px; }
.card p { margin: 0 0 14px; color: var(--muted); }
.tag {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 700;
}

.about p { color: var(--muted); max-width: 40em; }
.news {
  margin-top: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 22px 24px;
  border-radius: 4px;
  max-width: 520px;
}
.news h3 { font-size: 1.4rem; margin: 0 0 8px; }
.news p { margin: 0; color: var(--muted); }
.news-form { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.news-form input {
  flex: 1 1 200px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 11px 12px;
  border-radius: 4px;
  font: inherit;
}
.news-form button { opacity: .7; cursor: not-allowed; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: .9rem;
}
footer .wrap { text-align: left; }

/* Subpages */
.page { padding: 48px 0 64px; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 12px; }
.page .lead { color: var(--muted); max-width: 40em; margin: 0 0 28px; }
.warn {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 44em;
}

.puzzle {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 18px 20px;
  margin: 0 0 14px;
}
.puzzle h2 { font-size: 1.45rem; margin: 0 0 4px; }
.puzzle .env { color: var(--muted); font-size: .85rem; margin: 0 0 14px; }
.hint {
  display: none;
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
}
.hint strong { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; display: block; margin-bottom: 4px; }
.hint.show { display: block; }
.answer-box {
  display: none;
  margin-top: 8px;
  padding: 14px 16px;
  background: #1a140c;
  border: 1px solid var(--accent);
  border-radius: 4px;
}
.answer-box.show { display: block; }
.answer-box .label { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; }
.answer-box .val {
  font-family: Anton, Impact, sans-serif;
  font-size: 2rem;
  letter-spacing: .08em;
  margin-top: 4px;
}
.confirm {
  display: none;
  margin-top: 10px;
  color: var(--muted);
  font-size: .95rem;
}
.confirm.show { display: block; }
.puzzle .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Timer */
.timer-wrap { text-align: center; padding: 20px 0 40px; }
.clock {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(4.5rem, 18vw, 9rem);
  letter-spacing: .04em;
  line-height: 1;
  margin: 10px 0 24px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.clock.warn { color: var(--accent); }
.clock.done { color: #e04a2f; }
.timer-controls, .timer-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.timer-presets button {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}
.timer-presets button[aria-pressed="true"],
.timer-presets button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.custom {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  margin-top: 8px;
}
.custom input {
  width: 88px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 4px;
  font: inherit;
  text-align: center;
}


.peek { margin-top: 48px; }
.peek h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 10px;
}
.peek .blurb { color: var(--muted); margin: 0 0 22px; max-width: 40em; }
.peek-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.peek-grid a {
  display: block;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: border-color .15s ease, transform .15s ease;
}
.peek-grid a:hover,
.peek-grid a:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}
.peek-grid img { width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; object-position: top; background: #fffdf8; }
.peek-grid span {
  display: block;
  padding: 10px 12px 12px;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8,8,8,.92);
  padding: 28px 16px 16px;
  overflow: auto;
  align-items: flex-start;
  justify-content: center;
}
.lightbox:target { display: flex; }
.lightbox img {
  width: min(920px, 100%);
  height: auto;
  margin: 48px auto 24px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  background: #fffdf8;
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 18px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
  font-weight: 800;
}
.lightbox-close:hover,
.lightbox-close:focus-visible { border-color: var(--accent); color: var(--accent); }

@media (max-width: 1100px) {
  header.top .wrap { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  nav#site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding: 4px 0 6px;
  }
  nav#site-nav.is-open { display: flex; }
  nav#site-nav a {
    display: block;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 1rem;
    white-space: normal;
  }
}

@media (max-width: 860px) {
  .kit, .steps, .grid-3, .theme-grid { grid-template-columns: 1fr; }
  .peek-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 0 40px; }
  .btn.ghost { margin-left: 0; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ------------------------------------------------------------------ */
/* Homepage only: warm, inviting light theme. Other pages stay dark.  */
/* ------------------------------------------------------------------ */
body.page-home {
  --bg: #f4ece0;
  --panel: #fffdf8;
  --text: #2a2218;
  --muted: #6a5c4e;
  --accent: #c45c26;
  --line: #e4d6c4;
  --ink: #2a2218;
  background:
    radial-gradient(1200px 500px at 10% -10%, #fbf3e6 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #f8e6d4 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}
body.page-home header.top {
  background: rgba(250, 244, 234, .92);
  border-bottom-color: var(--line);
}
body.page-home .logo { color: var(--text); }
body.page-home .logo span { color: var(--accent); }
body.page-home .byline { color: var(--muted); }
body.page-home .nav-toggle {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 253, 248, .7);
}
body.page-home .nav-toggle:hover,
body.page-home .nav-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
body.page-home nav#site-nav a { color: var(--muted); }
body.page-home nav#site-nav a:hover,
body.page-home nav#site-nav a:focus-visible,
body.page-home nav#site-nav a[aria-current="page"] { color: var(--text); }
body.page-home footer {
  color: var(--muted);
  border-top-color: var(--line);
  background: transparent;
}
body.page-home .hero h1 {
  color: var(--text);
  margin: 0 0 28px;
  max-width: none;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
}
body.page-home .hero .theme-grid { margin-top: 0; }
body.page-home .theme-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) {
  body.page-home .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
body.page-home .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 5px solid var(--card-accent, var(--accent));
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(80, 50, 20, .08);
  padding: 26px 24px 28px;
}
body.page-home .card-link:hover,
body.page-home .card-link:focus-visible {
  border-color: var(--line);
  border-top-color: var(--card-accent, var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(80, 50, 20, .12);
  outline: none;
}
body.page-home .card-escape { --card-accent: #d15a1a; }
body.page-home .card-fantasy { --card-accent: #2c7a6c; }
body.page-home .card-bachelorette { --card-accent: #c4547a; }
body.page-home .card-mystery { --card-accent: #7a3b3b; }
body.page-home .card-baby { --card-accent: #6a9ad0; }
body.page-home .card-planners { --card-accent: #1B3A2F; }
body.page-home .card-christmas { --card-accent: #9a2b2b; }
body.page-home .card .tag { color: var(--card-accent, var(--accent)); }
body.page-home .card h3 { color: var(--text); margin-bottom: 10px; }
body.page-home .card p { color: var(--muted); }
body.page-home #how { border-top-color: var(--line); }
body.page-home #how h2,
body.page-home #about h2 { color: var(--text); }
body.page-home .section-lead,
body.page-home .about p { color: var(--muted); }
body.page-home .step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(80, 50, 20, .06);
}
body.page-home .step .num { color: var(--accent); }
body.page-home .step h3 { color: var(--text); }
body.page-home .step p { color: var(--muted); }
body.page-home .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  body.page-home .steps { grid-template-columns: 1fr; }
}
body.page-home .news {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(80, 50, 20, .06);
}
body.page-home .news h3 { color: var(--text); }
body.page-home .news-form input {
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
}
body.page-home .btn {
  background: var(--accent);
  color: #fffdf8;
}
body.page-home .btn:disabled,
body.page-home .btn[aria-disabled="true"] { opacity: .7; }
body.page-home a { color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Baby Shower page only: pastel blue + blush, light and readable.    */
/* ------------------------------------------------------------------ */
body.page-baby-shower {
  --bg: #eef4fb;
  --panel: #ffffff;
  --text: #2a2a32;
  --muted: #5b5866;
  --accent: #c96b8a;
  --accent-blue: #7eadd4;
  --line: #ddd4e0;
  --ink: #2a2a32;
  background:
    linear-gradient(180deg, #e7f1fb 0%, #f4eef6 48%, #fdeef4 100%);
  color: var(--text);
  min-height: 100vh;
  font-size: 17px;
  line-height: 1.7;
}
body.page-baby-shower header.top {
  background: rgba(236, 244, 251, .92);
  border-bottom: 1px solid #d5e4f2;
}
body.page-baby-shower .logo { color: var(--text); }
body.page-baby-shower .logo span { color: var(--accent); }
body.page-baby-shower .byline { color: var(--muted); }
body.page-baby-shower .nav-toggle {
  color: var(--text);
  border-color: #d5e4f2;
  background: rgba(255, 255, 255, .7);
}
body.page-baby-shower .nav-toggle:hover,
body.page-baby-shower .nav-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
body.page-baby-shower nav#site-nav a { color: var(--muted); }
body.page-baby-shower nav#site-nav a:hover,
body.page-baby-shower nav#site-nav a:focus-visible { color: var(--text); }
body.page-baby-shower nav#site-nav a[aria-current="page"] { color: var(--accent); }
body.page-baby-shower footer {
  color: var(--muted);
  border-top: 1px solid #edd6e0;
  background: transparent;
}
body.page-baby-shower .kicker { color: var(--accent-blue); }
body.page-baby-shower .page h1 { color: var(--text); }
body.page-baby-shower .page .lead { color: var(--muted); }
body.page-baby-shower .coming { color: var(--accent); }
body.page-baby-shower a { color: var(--accent); }
body.page-baby-shower a:hover { color: #a84e6e; }

/* Baby Shower: Hello, Little One product card */
body.page-baby-shower .baby-kit { margin-top: 44px; padding: 40px 0 8px; border-top: 1px solid #edd6e0; }
body.page-baby-shower .baby-kit .kit h3 { color: var(--text); }
body.page-baby-shower .baby-kit .kicker { margin: 0 0 6px; }
body.page-baby-shower .kit-cover { box-shadow: 0 14px 34px rgba(126, 173, 212, .28); border-color: #d5e4f2; }
body.page-baby-shower .peek-grid a { box-shadow: 0 8px 20px rgba(126, 173, 212, .22); border-color: #d5e4f2; }
body.page-baby-shower .peek-grid span { color: var(--muted); }
body.page-baby-shower .peek-grid a:hover span,
body.page-baby-shower .peek-grid a:focus-visible span { color: var(--accent); }
body.page-baby-shower .lightbox { background: rgba(42, 42, 50, .9); }
body.page-baby-shower .lightbox img { background: #fff; }
body.page-baby-shower .baby-kit .peek-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 1100px) { body.page-baby-shower .baby-kit .peek-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ */
/* SEO: keyword H1 above the "Print it. Play it." tagline; kit pages.  */
/* ------------------------------------------------------------------ */
html body .hero h1.h1-kicker,
html body .page h1.h1-kicker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  max-width: none;
}
body.page-baby-shower .page h1.h1-kicker { color: var(--accent-blue); }
.hero .tagline {
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  margin: 0 0 18px;
  max-width: 16ch;
  color: var(--text);
}
.hero .tagline em { font-style: normal; color: var(--accent); }
body.page-home .hero .tagline {
  margin: 0 0 28px;
  max-width: none;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
}
.page .tagline { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 12px; color: var(--text); }
.kit h2.kit-title { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 12px; }
.peek h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 10px; }
.kit-details { font-size: .9rem; font-weight: 700; }
.kit-more { margin: 0 0 14px; font-size: .95rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.kit-page h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); margin: 0 0 14px; max-width: 18ch; }
.kit-page .kit h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 12px; }
.kit-page .kit-detail h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 28px 0 10px; }
.kit-list { color: var(--muted); max-width: 40em; padding-left: 1.2em; margin: 0 0 18px; }
.kit-list li { margin: 0 0 6px; }
.kit-list ul { padding-left: 1.2em; margin: 6px 0 0; }
.kit-detail p { color: var(--muted); max-width: 40em; }
.ai-note { font-size: .85rem; color: var(--muted); max-width: 40em; margin-top: 24px; }

/* ------------------------------------------------------------------ */
/* 日本語 (lang="ja"): CJK type stack, no forced uppercase, looser lines */
/* ------------------------------------------------------------------ */
html:lang(ja) body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  line-height: 1.85;
  line-break: strict;
}
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3, html:lang(ja) .display {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: none;
  line-height: 1.3;
}
html:lang(ja) .logo { font-family: Anton, Impact, "Arial Black", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; line-height: .95; }
html:lang(ja) body .hero h1.h1-kicker, html:lang(ja) body .page h1.h1-kicker {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  letter-spacing: .04em; text-transform: none; font-size: 1rem;
}
html:lang(ja) .hero .tagline { max-width: none; line-height: 1.2; font-size: clamp(2.1rem, 8vw, 4rem); }
html:lang(ja) body.page-home .hero .tagline { font-size: clamp(2.1rem, 8vw, 4rem); }
html:lang(ja) .kit-page h1 { max-width: none; font-size: clamp(1.8rem, 5.2vw, 3rem); }
html:lang(ja) .kit-page .kit h2 { font-size: clamp(1.3rem, 3.2vw, 1.9rem); }
html:lang(ja) .kit-page .kit-detail h2 { font-size: clamp(1.2rem, 2.8vw, 1.6rem); }
html:lang(ja) .card h3 { font-size: 1.2rem; }
html:lang(ja) .kicker, html:lang(ja) .tag, html:lang(ja) .byline, html:lang(ja) .btn, html:lang(ja) .nav-toggle { letter-spacing: .04em; text-transform: none; }
html:lang(ja) .kit-list, html:lang(ja) .kit-detail p, html:lang(ja) .blurb, html:lang(ja) .section-lead { max-width: 42em; }

/* Language-editions blurb: one language per line; nowrap on desktop, wrap on narrow mobile. */
.lang-editions {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--muted);
  max-width: none;
  line-height: 1.45;
}
.page .lang-editions { margin: 0 0 28px; }
.lang-editions-item {
  margin: 0 0 0.35em;
  white-space: nowrap;
}
.lang-editions-item:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .lang-editions-item { white-space: normal; }
}


/* ------------------------------------------------------------------ */
/* Consent banner (self-hosted; blocks Google Analytics until opt-in)  */
/* ------------------------------------------------------------------ */
#pg-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--panel);
  color: var(--text);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .2);
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
}
#pg-consent .wrap {
  display: flex;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
#pg-consent p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text);
}
#pg-consent a { color: var(--accent); }
#pg-consent .pg-consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: wrap;
}
#pg-consent .pg-consent-actions button {
  display: inline-block;
  min-width: 8.75rem;
  margin: 0;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.2;
}
#pg-consent .pg-accept {
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--accent);
}
#pg-consent .pg-reject {
  background: var(--text);
  color: var(--bg);
  border: 2px solid var(--text);
}
#pg-consent .pg-accept:hover,
#pg-consent .pg-reject:hover { filter: brightness(1.08); }
#pg-consent .pg-accept:focus-visible,
#pg-consent .pg-reject:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
html:lang(ja) #pg-consent .pg-consent-actions button {
  letter-spacing: .04em;
  text-transform: none;
}
html.pg-consent-open body { padding-bottom: 8.5rem; }

.page h2.legal-h {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 2rem 0 0.65rem;
  line-height: 1.3;
}
html:lang(ja) .page h2.legal-h {
  letter-spacing: .04em;
  text-transform: none;
}
.consent-reset {
  margin-top: 8px;
}

.badge-free {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
}
.free-callout {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: .95rem;
}
.card-waking-free {
  border-color: var(--accent);
}
.card-waking-free .badge-free {
  margin-bottom: 10px;
}

.bundle-callout {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line, #d9cbb8);
  border-left: 4px solid #9a2b2b;
  border-radius: 10px;
  background: #fffaf3;
  color: var(--text, #1a1a1a);
}
.bundle-callout a { font-weight: 700; }

.footer-biz{margin:.7rem 0 0;font-size:.82rem;opacity:.85}
.footer-biz a{color:inherit}
