/* ============================================================
   Keystone Kraftworks — color-block editorial system
   Warm paper canvas, flat saturated panels, bold grotesque type.
   ============================================================ */

:root {
  --paper: #fff6e5;
  --paper-deep: #f6e9cf;
  --ink: #0b1a33;
  --ink-soft: #3b4a63;
  --line: rgba(11, 26, 51, 0.14);
  --blue: #1b4dff;
  --blue-deep: #1238c4;
  --sun: #ffb400;
  --sun-deep: #e69c00;
  --coral: #ff5a36;
  --coral-deep: #d9421f;
  --teal: #00b3a4;
  --teal-deep: #008f83;
  --white: #ffffff;

  --display: "Bricolage Grotesque", "Arial Black", Impact, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 15.5px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
/* The browser's own [hidden]-hides-the-element default loses to this file's
   own `img { display: block }` reset (an author rule always beats a user-
   agent one, regardless of selector specificity) — restore it explicitly
   so a plain hidden attribute on an <img> actually hides it. */
[hidden] { display: none; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 800; margin: 0; line-height: 0.98;
  letter-spacing: -0.025em; font-variation-settings: "opsz" 96, "wdth" 100;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); letter-spacing: -0.015em; }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }

/* ---------- utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: currentColor; }
.lead { font-size: clamp(1rem, 1.1vw, 1.12rem); line-height: 1.5; max-width: 60ch; color: var(--ink-soft); }
.on-color .lead, .door .lead, .studio-band .lead, .bg-ink .lead, .bg-blue .lead, .bg-teal .lead, .bg-coral .lead { color: inherit; opacity: 0.92; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  border-radius: 8px; border: 2px solid transparent; transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #142848; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffc233; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.on-ink .btn-outline:hover { background: rgba(255,255,255,0.1); }

.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* ---------- color themes ---------- */
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-sun { background: var(--sun); color: var(--ink); }
.bg-coral { background: var(--coral); color: #fff; }
.bg-teal { background: var(--teal); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: var(--ink); color: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.site-header .bar { display: flex; align-items: center; gap: 32px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1; }
.brand small { display: block; font-family: var(--body); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a {
  font-family: var(--display); font-weight: 700; font-size: 0.98rem; padding: 10px 14px; border-radius: 6px;
  transition: background .2s, color .2s;
}
.site-nav a:hover { background: rgba(255,246,229,.14); }
.site-nav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.header-cta { padding: 12px 20px; font-size: 0.95rem; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 2px solid var(--paper); border-radius: 6px; background: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--paper); margin: 4px auto; }
.mobile-nav { display: none; }
.mobile-nav[data-open="true"] { display: flex; flex-direction: column; border-top: 2px solid rgba(255,246,229,.18); padding: 8px var(--gutter) 18px; gap: 2px; background: var(--ink); }
.mobile-nav a { font-family: var(--display); font-weight: 700; font-size: 1.2rem; padding: 12px 0; border-bottom: 1px solid rgba(255,246,229,.18); }
.mobile-nav a:last-child { border: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 36px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot-brand h4 { font-size: 1.6rem; margin-bottom: 6px; }
.foot-brand p { opacity: .8; max-width: 34ch; }
.foot-col h5 { font-family: var(--display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 8px; opacity: .6; }
.foot-col a { display: block; padding: 3px 0; font-weight: 600; }
.foot-col a:hover { color: var(--sun); }
.foot-legal { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,246,229,.18); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; opacity: .7; }

/* ---------- HOME: hero ---------- */
.hero-full { position: relative; height: clamp(340px, 50svh, 460px); display: flex; align-items: flex-end; background: var(--ink); color: #fff; overflow: hidden; }
.hero-full .media { position: absolute; inset: 0; }
.hero-full .media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero-full .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,51,0) 35%, rgba(11,26,51,.55) 70%, rgba(11,26,51,.85) 100%); }
.hero-full .content { position: relative; padding: 32px 0 24px; }
.hero-full .eyebrow { color: var(--sun); margin-bottom: 16px; }
.hero-full h1 { max-width: 12ch; }
.hero-full h1 .alt { color: var(--sun); }
.hero-full .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.hero-full .lead { color: #fff; opacity: .92; max-width: 46ch; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 24px; font-family: var(--display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; opacity: .7; }

/* ---------- HOME: statement ---------- */
.statement { padding: clamp(22px, 2.4vw, 36px) 0; }
.statement .grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.statement-art { display: block; margin: 28px 0 0 -27px; max-width: 320px; }
.statement h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.statement .lead { margin-top: 6px; }
.statement .list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.statement .list li { display: flex; gap: 12px; font-weight: 700; border-top: 2px solid var(--ink); padding-top: 10px; }
.statement .list li span { font-family: var(--display); color: var(--blue); }

/* ---------- HOME: doors ---------- */
.door { display: block; position: relative; overflow: hidden; }
.door .inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; align-items: center; gap: clamp(18px, 2.2vw, 32px); padding: clamp(20px, 2.5vw, 32px) 0; }
.door.flip .inner > .copy { order: 2; }
.door .num { font-family: var(--display); font-weight: 800; font-size: .92rem; letter-spacing: .1em; opacity: .75; margin-bottom: 14px; display: block; }
.door h2 { margin-bottom: 12px; }
.door .lead { margin-bottom: 18px; }
.door .go { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 800; font-size: 1.02rem; border-bottom: 3px solid currentColor; padding-bottom: 4px; }
.door .go .arr { transition: transform .3s var(--ease); }
.door:hover .go .arr { transform: translateX(8px); }
.door .art { position: relative; min-height: 400px; }
.door .art img { transition: transform 1s var(--ease); }
.door:hover .art .photo img { transform: scale(1.03); }
.art .photo { position: absolute; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.art .photo img { width: 100%; height: 100%; object-fit: cover; }
.art .frame { position: absolute; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.5); }
.art .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.door-books .photo { left: 0; top: 0; width: 70%; height: 100%; }
.door-books .covers { position: absolute; right: 0; bottom: -10px; width: 190px; height: 190px; }
.door-books .covers img {
  position: absolute; width: 120px; border-radius: 3px 8px 8px 3px;
  box-shadow: 8px 12px 26px -10px rgba(0,0,0,.5);
}
.door-books .covers img:nth-child(1) { right: 55px; bottom: 22px; transform: rotate(-9deg); z-index: 1; }
.door-books .covers img:nth-child(2) { right: 0; bottom: 0; transform: rotate(7deg); z-index: 2; }

.door-pro .photo { left: 0; top: 8%; width: 46%; height: 84%; }
.door-pro .laptop { position: absolute; right: 0; top: 0; width: 78%; }
.door-pro .laptop img { width: 100%; border-radius: 10px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); border: 6px solid #0b1a33; }

.door-play .photo { right: 0; top: 0; width: 62%; height: 100%; }
.door-play .frame { width: 190px; aspect-ratio: 9 / 19; border: 8px solid #0b1a33; background: #0b1a33; }
.door-play .frame.a { left: 0; bottom: 0; }
.door-play .frame.b { left: 164px; top: 0; }

.door-kids .photo { left: 0; top: 0; width: 64%; height: 100%; }
.door-kids .frame { width: 190px; aspect-ratio: 9 / 19; border: 8px solid #0b1a33; background: #0b1a33; }
.door-kids .frame.a { right: 0; top: 0; }
.door-kids .frame.b { right: 130px; bottom: 0; transform: rotate(6deg); }

/* Kids game screens not ready to show yet — real screenshots stay in the
   DOM (hidden, not deleted) behind this placeholder. Remove the [hidden]
   attributes and this card to bring them back. */
.coming-soon-card {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--ink); color: var(--paper); font-family: var(--display);
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem;
  line-height: 1.4;
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marq 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.9rem); padding: 0 24px; white-space: nowrap; letter-spacing: -0.02em; }
.marquee-track span::after { content: "◆"; font-size: .6em; margin-left: 56px; color: var(--sun); vertical-align: middle; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- studio band (home) ---------- */
.studio-band { position: relative; min-height: 260px; display: flex; align-items: center; overflow: hidden; color: #fff; scroll-margin-top: 90px; }
.studio-band .media { position: absolute; inset: 0; }
.studio-band .media img { width: 100%; height: 100%; object-fit: cover; }
.studio-band .tint { position: absolute; inset: 0; background: rgba(27,77,255,.72); mix-blend-mode: multiply; }
.studio-band .content { position: relative; padding: 28px 0; max-width: 760px; }
.studio-band h2 { margin: 10px 0 12px; }
.studio-band .company-note { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.28); font-size: .96rem; max-width: 56ch; }

/* ---------- PAGE hero (product pages) ---------- */
.page-hero { padding: clamp(20px, 2.4vw, 32px) 0 0; overflow: hidden; }
.page-hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(18px, 2.2vw, 32px); align-items: end; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); max-width: 11ch; margin-bottom: 12px; }
.page-hero .lead { margin-bottom: 14px; }
.page-hero .actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: clamp(16px, 1.8vw, 24px); }
.page-hero .visual { position: relative; align-self: end; }
.page-hero .visual img { width: 100%; }
.page-hero .visual.photo img { height: 400px; object-fit: cover; border-radius: 14px 14px 0 0; }
.page-hero .visual.laptop img { border-radius: 12px 12px 0 0; border: 6px solid #0b1a33; border-bottom: 0; }
.page-hero .phones { display: flex; gap: 20px; align-items: flex-end; justify-content: center; }
.page-hero .phones img { width: 30%; border-radius: 26px 26px 0 0; border: 8px solid #0b1a33; border-bottom: 0; }
.page-hero .phones img:nth-child(2) { width: 34%; }
.page-hero .phones img:only-child { width: 44%; }
.page-hero .phones img:first-child:nth-last-child(2), .page-hero .phones img:first-child:nth-last-child(2) ~ img { width: 40%; }

/* pro-hero: this page's headline runs 3 lines, much taller than the wide/short
   canvas screenshot — center instead of bottom-align so the gap doesn't collect
   above the image the way it would with the shared end-aligned hero pages. */
.pro-hero .grid { align-items: center; }
.pro-hero .visual.laptop img { border-radius: 12px; border-bottom: 6px solid #0b1a33; }

/* ---------- kdp stat table ---------- */
.split.kdp-split { grid-template-columns: 1fr 1fr; align-items: stretch; gap: clamp(16px, 2.5vw, 32px); }
.kdp-stat-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; }
.kdp-chart-stack { display: flex; flex-direction: column; }
.kdp-chart { flex: 1; }
.kdp-chart { border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--paper-deep); padding: 14px; }
.kdp-chart img { width: 100%; display: block; border-radius: 4px; }
.kdp-stat-table tr { border-top: 1px solid var(--line); }
.kdp-stat-table tr:first-child { border-top: 0; }
.kdp-stat-table tr:nth-child(even) { background: var(--paper-deep); }
.kdp-stat-table th, .kdp-stat-table td { padding: 12px 18px; text-align: left; font-weight: 400; }
.kdp-stat-table th { font-size: .92rem; color: var(--ink-soft); white-space: nowrap; }
.kdp-stat-table td { font-family: var(--display); font-weight: 800; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }

/* ---------- generic sections ---------- */
.section { padding: clamp(22px, 2.4vw, 36px) 0; }
.section-head { max-width: 820px; margin-bottom: clamp(14px, 1.6vw, 22px); }
.section-head h2 { margin: 10px 0 12px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid currentColor; }
.steps li { list-style: none; padding: 18px 20px 18px 0; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li + li { padding-left: 24px; }
.steps .n { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--blue); display: block; margin-bottom: 12px; }
.on-color .steps .n { color: inherit; }
.steps h4 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: .98rem; }
.on-color .steps p { color: inherit; opacity: .85; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.feature-grid > div { background: var(--paper); padding: 22px 20px; }
.feature-grid h4 { margin-bottom: 10px; }
.feature-grid p { color: var(--ink-soft); font-size: .98rem; }
.feature-grid .k { font-family: var(--display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 16px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: 12px; border: 3px solid var(--ink); }
.gallery:not(.phones) img { height: 320px; object-fit: contain; background: rgba(255,255,255,.05); }
.gallery figcaption { margin-top: 12px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.gallery figcaption small { font-weight: 600; opacity: .6; }
.gallery.phones { grid-template-columns: repeat(4, 1fr); }
.gallery.phones img { border-radius: 24px; border-width: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split .photo img { width: 100%; height: 100%; min-height: 460px; max-height: 640px; object-fit: cover; border-radius: 12px; }
.split h2 { margin: 16px 0 18px; }
.split .list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.split .list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding-top: 14px; border-top: 1px solid var(--line); }
.split .list .i { width: 44px; height: 44px; border-radius: 8px; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.split .list strong { display: block; margin-bottom: 4px; }
.split .list p { color: var(--ink-soft); font-size: .96rem; }

.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #fff; border: 2px solid #fff; }
.games-grid div { background: var(--teal); padding: 26px 22px; }
.games-grid h4 { font-size: 1.35rem; margin-bottom: 4px; }
.games-grid p { font-size: .9rem; opacity: .9; }

.shelf-lg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.book-card { display: flex; flex-direction: column; background: var(--paper-deep); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; transition: transform .3s var(--ease); }
.book-card:hover { transform: translateY(-6px); }
.book-card .cover { position: relative; }
.book-card .cover img { width: 100%; display: block; }
.book-card .badge {
  position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--paper);
  font-family: var(--display); font-size: .66rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 9px; border-radius: 5px;
}
.book-card .badge.featured { top: 38px; background: var(--sun); color: var(--ink); }
.book-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.book-card .cat { font-family: var(--display); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0; }
.book-card h3 { font-size: 1.2rem; margin: 4px 0 0; }
.book-card .byline { font-size: .8rem; color: var(--ink-soft); font-weight: 600; margin: 2px 0 0; }
.book-card .desc {
  font-size: .86rem; color: var(--ink-soft); line-height: 1.4; margin: 8px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.book-card .cta { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.book-card .cta .btn { width: 100%; justify-content: center; padding: 10px 16px; font-size: .86rem; }
.book-card .cta .soon {
  display: block; text-align: center; padding: 10px 16px; font-size: .86rem; font-weight: 700;
  border-radius: 8px; border: 2px solid var(--line); color: var(--ink-soft);
}

/* ---------- pricing ---------- */
.billing-toggle {
  display: inline-flex; gap: 4px; padding: 4px; background: var(--paper-deep);
  border: 2px solid var(--ink); border-radius: 10px; margin-bottom: 40px;
}
.billing-toggle button {
  font-family: var(--display); font-weight: 700; font-size: .92rem; padding: 9px 18px;
  border: 0; border-radius: 7px; background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: background .2s, color .2s;
}
.billing-toggle button.on { background: var(--ink); color: var(--paper); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; max-width: 900px; }
.price-card .save { font-size: .78rem; color: var(--teal-deep); font-weight: 700; margin: 4px 0 0; }
.price-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper-deep);
  border: 2px solid var(--ink); border-radius: 12px; padding: 26px 20px; min-height: 100%;
}
.price-card.popular { border-color: var(--blue); border-width: 3px; box-shadow: 0 20px 40px -24px rgba(27,77,255,.35); }
.price-card .badge-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-family: var(--display); font-weight: 700;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px;
  white-space: nowrap;
}
.price-card .tier-eyebrow { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin: 0; }
.price-card .tier-sub { font-size: .84rem; color: var(--blue); font-weight: 700; margin: 2px 0 0; }
.price-card .price { margin: 16px 0 0; display: flex; align-items: baseline; gap: 6px; }
.price-card .price .amt { font-family: var(--display); font-weight: 800; font-size: 2.2rem; }
.price-card .price .per { font-size: .84rem; color: var(--ink-soft); font-weight: 600; }
.price-card .pitch { font-size: .88rem; color: var(--ink-soft); margin: 10px 0 0; }
.price-card .features { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; flex: 1; }
.price-card .features li { font-size: .86rem; padding-left: 24px; position: relative; }
.price-card .features li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal-deep); font-weight: 800;
}
.price-card .btn { width: 100%; justify-content: center; }
.pricing-footnote { text-align: center; color: var(--ink-soft); font-size: .88rem; margin: 32px 0 0; }

@media (max-width: 840px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

.cta-band { padding: clamp(20px, 2.2vw, 32px) 0; }
.cta-band .inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { max-width: 14ch; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.cta-band .act { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.ruled { border-top: 2px solid var(--ink); }

/* ---------- support form ---------- */
.support-section { scroll-margin-top: 90px; }
.support-form { max-width: 580px; }
.support-form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.support-form label { font-family: var(--display); font-weight: 700; font-size: .92rem; }
.support-form input,
.support-form select,
.support-form textarea {
  font-family: var(--body); font-size: .96rem; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 8px; background: var(--white);
  color: var(--ink); width: 100%; transition: border-color .2s;
}
.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus { outline: none; border-color: var(--blue); }
.support-form textarea { resize: vertical; min-height: 120px; }
.support-form select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230b1a33' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.support-form .btn { margin-top: 6px; }

/* ---------- resources rail (docked left nav, puzzle-pro + pricing only) ---------- */
.resource-rail { background: var(--ink); color: var(--paper); }
.rail-inner { padding: 26px 20px 40px; }
.rail-title { font-family: var(--display); font-weight: 800; font-size: 1.05rem; margin: 0 0 4px; }
.rail-kicker { font-size: .76rem; opacity: .6; margin: 0 0 26px; }
.rail-group { margin-bottom: 28px; }
.rail-group:last-child { margin-bottom: 0; }
.rail-group h4 {
  display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: .68rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .55; margin: 0 0 10px;
}
.rail-group h4 .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--sun); flex-shrink: 0; }
.rail-group a {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px; margin: 0 -6px;
  border-radius: 7px; font-weight: 600; font-size: .87rem; color: var(--paper); opacity: .82;
  transition: background .15s, opacity .15s;
}
.rail-group a:hover { background: rgba(255,246,229,.1); opacity: 1; }
.rail-group .soon-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px; margin: 0 -6px;
  font-weight: 600; font-size: .87rem; color: var(--paper); opacity: .5;
}
.rail-group a .i, .rail-group .soon-row .i {
  width: 22px; height: 22px; border-radius: 5px; background: rgba(255,246,229,.12);
  display: grid; place-items: center; font-family: var(--display); font-size: .64rem; font-weight: 800;
  flex-shrink: 0; color: var(--sun);
}

@media (min-width: 1240px) {
  body.page-has-rail main, body.page-has-rail .site-footer { padding-left: 264px; }
  .resource-rail {
    position: fixed; top: 78px; left: 0; bottom: 0; width: 264px; z-index: 50;
    overflow-y: auto; border-right: 2px solid var(--ink);
  }
  .frame-overlay {
    position: fixed; top: 78px; left: 264px; right: 0; bottom: 0; z-index: 40;
    background: var(--paper); display: flex; flex-direction: column;
  }
}
.frame-overlay[hidden] { display: none; }
.frame-close {
  align-self: flex-start; margin: 12px 16px; padding: 8px 16px; border: 2px solid var(--ink);
  border-radius: 7px; background: var(--paper-deep); color: var(--ink); font-family: var(--display);
  font-weight: 700; font-size: .85rem; cursor: pointer; flex-shrink: 0;
}
.frame-close:hover { background: var(--sun); }
.frame-overlay iframe { flex: 1; width: 100%; border: 0; }
.big-quote { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 1.8vw, 1.8rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .door .inner { grid-template-columns: 1fr; min-height: auto; gap: 16px; padding: 20px 0; }
  .door.flip .inner > .copy { order: 0; }
  .page-hero .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { border-right: 0; padding-left: 0 !important; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery.phones { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .shelf-lg { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .statement .grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  body { font-size: 15px; }
  .hero-full .content { padding: 88px 0 32px; }
  .hero-full h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .scroll-cue { display: none; }
  .door .art { min-height: 340px; }
  .door-books .covers { width: 133px; height: 133px; }
  .door-books .covers img { width: 84px; }
  .door-books .covers img:nth-child(1) { right: 39px; bottom: 15px; }
  .door-pro .laptop { width: 100%; }
  .door-pro .photo { display: none; }
  .door-play .frame, .door-kids .frame { width: 160px; }
  .door-play .frame.b { left: 138px; }
  .door-kids .frame.b { right: 109px; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid, .gallery, .gallery.phones, .games-grid, .shelf-lg { grid-template-columns: 1fr; }
  .gallery.phones { grid-template-columns: repeat(2, 1fr); }
  .statement .list { grid-template-columns: 1fr; }
  .page-hero .phones { gap: 10px; }
  .page-hero .phones img { width: 30% !important; border-width: 5px; }
  .page-hero .visual.photo img { height: 340px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
