/* Wheal Pixel Studios: shared styles
   Studio look: dark and quiet. Each product page brings its own colours (see .fn below). */

:root {
  --bg: #111317;
  --bg-deep: #0C0E11;
  --card: #16191E;
  --line: #22262C;
  --line-2: #3A4048;
  --text: #E6E8EB;
  --muted: #A9AEB6;
  --copper: #E07B39;
  --copper-2: #F0A06A;
  --pink: #F07AA0;
  --violet: #B49CFF;
  --teal: #5FD0C7;
  --radius: 20px;
  --max: 1200px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-2); }
a:hover { color: #FFC08F; }
:focus-visible { outline: 3px solid var(--copper-2); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 88px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--copper); margin: 0; }
h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 800; }
h1 { font-size: clamp(40px, 6.2vw, 74px); letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 700 16px/1.2 var(--font); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: #111317; }
.btn-primary:hover { background: var(--copper-2); color: #111317; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--copper); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pixel art (drawn by site.js) */
.px { display: inline-block; line-height: 0; flex: none; }
.px svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; overflow: visible; }
.px .pop { transform-box: fill-box; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 14, 17, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .px { width: 40px; height: 40px; }
.brand-name { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.brand-name b { font-size: 16px; font-weight: 800; letter-spacing: 0.08em; }
.brand-name span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.5em; color: var(--copper); }
.brand:hover .pop { animation: pop .55s ease; }
.brand:hover .pop.d2 { animation-delay: .08s; }
.brand:hover .pop.d3 { animation-delay: .16s; }
@keyframes pop { 0% { transform: translateY(0); } 45% { transform: translateY(-1.6px); } 100% { transform: translateY(0); } }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #C9CDD3; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a.btn { color: #111317; font-weight: 700; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--card); border: 1px solid var(--line); color: var(--text); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line); padding: 4px 24px 24px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a.btn { margin-top: 18px; border-bottom: 0; }
}

/* Sections */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.deep { background: var(--bg-deep); }
.wrap.section { padding-left: 24px; padding-right: 24px; }

/* Home hero */
.hero { background: var(--bg-deep); padding-top: clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 800px; }
.hero h1 .glint { color: var(--copper); }
.dig { position: relative; height: 170px; margin-top: 56px; }
.soil { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: #1E1510; border-top: 4px solid #3A2A20; }
.soil::before {
  content: ""; position: absolute; inset: 8px 0 0;
  background-image: radial-gradient(#3A2A20 2px, transparent 2.5px);
  background-size: 28px 14px; opacity: .7;
}
.spark {
  position: absolute; bottom: 44px; left: var(--x);
  width: var(--s, 14px); height: var(--s, 14px); border-radius: 30%;
  background: var(--c); opacity: 0;
  animation: rise var(--t, 5s) ease-out var(--d, 0s) infinite;
}
.spark.dot { width: 5px; height: 5px; border-radius: 1px; }
/* Little books: taller blocks with a lighter spine down the left edge */
.spark.book {
  width: var(--w, 11px); height: var(--h, 15px); border-radius: 2px;
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .18);
}
@keyframes rise {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: .9; }
  100% { transform: translateY(-120px) rotate(var(--r, 18deg)); opacity: 0; }
}

/* Shelves */
.shelves { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.shelf {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 14px; color: var(--text);
  transition: transform .2s ease, border-color .2s ease;
}
.shelf .px { width: 60px; height: 60px; margin-bottom: 6px; }
.shelf .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .35em; color: var(--c); }
.shelf h3 { font-size: 24px; }
.shelf p { color: var(--muted); }
.shelf:hover .px { animation: wiggle .5s ease; }
/* The list of products on a shelf. Add one <li> per app, game or book. */
.shelf-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.shelf-item {
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px;
  background: var(--bg-deep); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.shelf-item:hover { border-color: var(--c); color: var(--text); transform: translateX(3px); }
.shelf-thumb { width: 48px; height: 48px; border-radius: 12px; flex: none; object-fit: cover; }
.shelf-thumb.fn-thumb { display: grid; place-items: center; background: #7C5CFF; color: #fff; font: 600 24px 'Fredoka', 'Nunito', sans-serif; }
.shelf-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.shelf-item-text b { font-size: 17px; }
.shelf-item-text span { font-size: 13px; color: var(--muted); }
.shelf-item .chip { align-self: flex-start; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--c); color: #111317; }
.shelf-item > svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 65% { transform: rotate(5deg); } }
.pill { align-self: flex-start; margin-top: auto; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--c); color: var(--c); }
.pill.solid { background: var(--c); color: #111317; }

/* Why Wheal */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > :first-child { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.split > :last-child { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: var(--muted); }

/* Signup */
.signup {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.signup-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.signup form { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: #C9CDD3; }
.field input {
  height: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-deep);
  color: var(--text); padding: 0 16px; font: 500 16px var(--font);
}
.field input:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px rgba(224, 123, 57, .35); }
.form-note { flex-basis: 100%; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-note.ok { color: #8FE3B5; }

/* Footer */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 44px 0; font-size: 14px; color: #8E95A0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-inner > div { display: flex; flex-direction: column; gap: 8px; }
.footer-inner b { color: var(--text); letter-spacing: .08em; font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footer-nav a { color: #C9CDD3; }

/* Prose pages: privacy, support */
.page-head { background: var(--bg-deep); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.prose { font-size: 17px; color: #CDD1D6; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); color: var(--text); margin: 56px 0 16px; }
.prose h3 { font-size: 20px; color: var(--text); margin: 32px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-top: 32px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc a { color: var(--text); }
.app-block { margin-top: 64px; padding-top: 8px; border-top: 1px solid var(--line); }
.app-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--pink); margin-top: 40px; }
.app-label .px { width: 28px; height: 28px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 18px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: #CDD1D6; }
.faq details > div p + p { margin-top: 10px; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Fuelnauts theme ("Berry pop") ===== */
.fn {
  --fn-purple: #7C5CFF; --fn-deep: #3E27B0; --fn-night: #2A1C6B; --fn-ink: #1E1442;
  --fn-lav: #F4F0FF; --fn-pink: #FF4F8B; --fn-mint: #3DDC97; --fn-gold: #FFC83D; --fn-sky: #2EC5E6;
  --fn-body: #3A2F66; --fn-soft: #5B4F8C;
  background: var(--fn-lav); color: var(--fn-ink);
  font-family: 'Nunito', system-ui, sans-serif; font-weight: 700;
}
.fn h1, .fn h2, .fn h3, .fn .fn-display { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; letter-spacing: 0; color: var(--fn-ink); }
.fn a:not(.btn) { color: var(--fn-deep); }
.fn .eyebrow { color: var(--fn-deep); font-family: 'Nunito', sans-serif; font-weight: 800; letter-spacing: .14em; font-size: 13px; }
.fn .lead, .fn p { color: var(--fn-body); }
.fn .btn { font-family: 'Nunito', sans-serif; font-weight: 800; }
.fn .btn-primary { background: var(--fn-deep); color: #fff; }
.fn .btn-primary:hover { background: var(--fn-night); color: #fff; }
.fn .btn-ghost { color: var(--fn-deep); border: 2px solid #C9BEFF; }
.fn .btn-ghost:hover { border-color: var(--fn-purple); color: var(--fn-deep); }
.fn-badge { align-self: flex-start; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--fn-deep); padding: 7px 14px; border-radius: 999px; }
.fn-meta { font-size: 14px; color: var(--fn-soft); }
.fn-hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 72px); }
.fn-hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.fn-hero-copy h1, .fn-hero-copy h2 { font-size: clamp(48px, 7vw, 80px); line-height: 1; }
.fn-tagline { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); color: var(--fn-deep) !important; }
.fn-shots { flex: 1.25 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fn-shots img { border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(42, 28, 107, .45); }
.fn-shots img:nth-child(2) { margin-top: 44px; }
.fn-hero-shot { flex: 0 1 340px; min-width: 0; margin: 0 auto; }
@media (max-width: 600px) { .fn-hero-shot { flex-basis: 100%; max-width: 270px; } }
.fn-hero-shot img { border-radius: 28px; box-shadow: 0 30px 60px -24px rgba(42, 28, 107, .55); }
.fn-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; color: var(--fn-ink); }
.fn-list li { display: flex; gap: 12px; align-items: baseline; }
.fn-list .sq { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; transform: translateY(-1px); }

.fn-section { padding: clamp(64px, 8vw, 104px) 0; }
.fn-section.alt { background: #fff; }
.fn-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 720px; }
.fn-head h2 { font-size: clamp(32px, 4.4vw, 48px); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; border: 2px solid #E6DEFF; }
.fn-section.alt .step { background: var(--fn-lav); border-color: transparent; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 20px; color: #fff; background: var(--c, var(--fn-purple));
}
.step h3 { font-size: 20px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.feature {
  background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px;
  border: 2px solid transparent; transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--c); }
.feature .dot { width: 44px; height: 44px; border-radius: 14px; background: var(--c); display: grid; place-items: center; }
.feature .dot svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 21px; }

.gallery-wrap { position: relative; --item: clamp(230px, 64vw, 290px); }
.gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 12px calc(50% - var(--item) / 2) 20px; margin: 0; list-style: none; outline-offset: -3px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery li { flex: 0 0 var(--item); scroll-snap-align: center; transition: opacity .3s ease, transform .3s ease; }
.gallery li:not(.is-active) { opacity: .55; transform: scale(.93); }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery .shot { display: block; padding: 0; border: 0; background: none; border-radius: 22px; cursor: zoom-in; }
.gallery img { border-radius: 22px; box-shadow: 0 18px 36px -20px rgba(42, 28, 107, .5); }
.gallery figcaption { font-size: 15px; color: var(--fn-soft); padding: 0 4px; text-align: center; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: #C9BEFF; cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.dot[aria-current="true"] { width: 26px; border-radius: 999px; background: var(--fn-deep); }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid #C9BEFF; background: #fff; color: var(--fn-deep);
  display: grid; place-items: center; cursor: pointer; transition: border-color .15s ease, transform .15s ease;
}
.round-btn:hover { border-color: var(--fn-purple); transform: translateY(-1px); }
.round-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:disabled { opacity: .4; cursor: default; transform: none; }

/* Larger view of a screenshot */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; gap: 16px; }
.lightbox::backdrop { background: rgba(30, 20, 66, .88); }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100vw - 140px); }
.lb-figure img { max-height: calc(100vh - 110px); width: auto; max-width: 100%; border-radius: 26px; }
.lb-figure figcaption { color: #fff; font: 800 16px 'Nunito', sans-serif; text-align: center; }
.lb-close, .lb-nav {
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .28); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-nav:disabled { opacity: .3; cursor: default; }
@media (max-width: 600px) {
  .lb-nav { position: absolute; bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .lb-figure { max-width: calc(100vw - 32px); }
  .lb-figure img { max-height: calc(100vh - 170px); }
}

.sidekicks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.sidekick { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease; }
.sidekick:hover { transform: translateY(-3px) rotate(-.6deg); }
.sidekick .portrait {
  width: 92px; height: 92px; border-radius: 26px; overflow: hidden; background: var(--bg); flex: none;
  box-shadow: inset 0 0 0 3px var(--c);
}
.sidekick .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidekick:hover .portrait img { animation: wiggle .5s ease; }
.sidekick h3 { font-size: 22px; }
.note { margin-top: 20px; font-size: 15px; color: var(--fn-soft); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; border: 2px solid #E6DEFF; }
.plan.premium { background: var(--fn-night); border-color: var(--fn-night); }
.plan.premium h3, .plan.premium p, .plan.premium li { color: #fff; }
.plan.premium .plan-price { color: var(--fn-gold) !important; }
.plan h3 { font-size: 28px; }
.plan-price { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px; color: var(--fn-deep) !important; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: baseline; color: var(--fn-ink); }
.plan li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--fn-mint); flex: none; transform: translateY(-2px); }
.plan.premium li::before { background: var(--fn-gold); }
.offer { margin-top: 20px; background: #fff; border-radius: 20px; padding: 20px 24px; border: 2px dashed #C9BEFF; color: var(--fn-ink); }

.fn .signup { background: var(--fn-night); border: 0; }
.fn .signup h2 { color: #fff; }
.fn .signup p { color: #D9D2FF; }
.fn .signup .field { color: #E6E1FF; font-family: 'Nunito', sans-serif; }
.fn .signup .field input { background: #fff; border-color: transparent; color: var(--fn-ink); font-family: 'Nunito', sans-serif; font-weight: 700; }
.fn .signup .field input:focus { box-shadow: 0 0 0 3px rgba(255, 200, 61, .6); }
.fn .signup .btn-primary { background: var(--fn-gold); color: var(--fn-ink); }
.fn .signup .btn-primary:hover { background: #FFD666; color: var(--fn-ink); }
.fn .signup .form-note { color: #D9D2FF; }
.fn .signup .form-note.ok { color: var(--fn-mint); }

.health { display: flex; flex-wrap: wrap; gap: 20px; }
.health > div { flex: 1 1 300px; background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }

/* ===== Book page theme ===== */
.hs {
  --hs-green: #1F3528; --hs-green-2: #2F4A3C; --hs-gold: #A68440; --hs-gold-ink: #7A5F2A;
  --hs-cream: #F6F3EC; --hs-paper: #FBF9F4; --hs-red: #B3403A; --hs-ink: #1F2A22; --hs-body: #3B463F; --hs-line: #DDD5C3;
  background: var(--hs-cream); color: var(--hs-ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif; font-weight: 400;
}
.hs h1, .hs h2, .hs h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; letter-spacing: 0; color: var(--hs-green); }
.hs p, .hs .lead { color: var(--hs-body); }
.hs a:not(.btn) { color: var(--hs-green); }
.hs .eyebrow { font-family: 'IBM Plex Mono', ui-monospace, monospace; color: var(--hs-gold-ink); letter-spacing: .22em; font-size: 12px; }
.hs .btn { font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; }
.hs .btn-primary { background: var(--hs-green); color: var(--hs-cream); }
.hs .btn-primary:hover { background: var(--hs-green-2); color: var(--hs-cream); }
.hs .btn-ghost { color: var(--hs-green); border: 1.5px solid var(--hs-gold); }
.hs .btn-ghost:hover { border-color: var(--hs-green); color: var(--hs-green); }
.hs-section { padding: clamp(64px, 8vw, 104px) 0; }
.hs-section.paper { background: var(--hs-paper); border-top: 1px solid var(--hs-line); border-bottom: 1px solid var(--hs-line); }
.hs-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 680px; }
.hs-head h2 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; }
.hs-rule { width: 96px; height: 2px; background: var(--hs-gold); border: 0; margin: 4px 0 0; }

.hs-hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 6vw, 80px); }
.hs-hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hs-badge { align-self: flex-start; font: 500 12px 'IBM Plex Mono', monospace; letter-spacing: .14em; color: var(--hs-cream); background: var(--hs-green); padding: 7px 14px; border-radius: 999px; }
.hs-hero h1 { font-size: clamp(56px, 8.4vw, 96px); line-height: .95; }
.hs-volume { font: 500 italic clamp(22px, 2.6vw, 30px) 'Cormorant Garamond', Georgia, serif; color: var(--hs-gold-ink) !important; }
.hs-tagline { font: 500 15px 'IBM Plex Mono', monospace; color: var(--hs-green) !important; }
.hs-meta { font-size: 14px; color: var(--hs-body); }
.hs-author { font-size: 15px; color: var(--hs-body); }

.cover { flex: 0 1 320px; min-width: 0; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cover-book {
  width: 100%; max-width: 320px; aspect-ratio: 2 / 3; background: var(--hs-green); border-radius: 4px 10px 10px 4px;
  box-shadow: inset 10px 0 0 rgba(0, 0, 0, .18), 0 30px 50px -22px rgba(31, 53, 40, .55);
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 30px 24px 26px;
}
.cover-book::before { content: ""; position: absolute; inset: 12px 12px 12px 20px; border: 1px solid rgba(166, 132, 64, .7); pointer-events: none; }
.cover-title { font: 600 clamp(30px, 3.4vw, 40px) 'Cormorant Garamond', Georgia, serif; color: #D9BF7A; letter-spacing: .14em; text-align: center; line-height: 1; }
.cover-vol { font: 500 11px 'IBM Plex Mono', monospace; letter-spacing: .3em; color: #C9AE6A; text-align: center; margin-top: 8px; }
.cover-book img { width: 74%; border-radius: 6px; }
.cover-author { font: 500 italic 16px 'Cormorant Garamond', Georgia, serif; color: #D9BF7A; }
.cover-note { font-size: 13px; color: var(--hs-body); }
@media (max-width: 600px) { .cover { flex-basis: 100%; } .cover-book { max-width: 250px; } }

.hs-split { display: flex; flex-wrap: wrap; gap: 48px; }
.hs-split > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px; }

.radio { background: var(--hs-paper); border: 1px solid var(--hs-line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.radio-label { font: 500 12px 'IBM Plex Mono', monospace; letter-spacing: .2em; color: var(--hs-gold-ink); }
.radio ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.radio li { display: flex; gap: 14px; font: 400 15px/1.5 'IBM Plex Mono', monospace; color: var(--hs-ink); }
.radio li span { color: var(--hs-gold-ink); font-weight: 500; flex: none; }
.radio li b { font-weight: 600; }
.radio-answer { border-top: 1px solid var(--hs-line); padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.radio-answer p { font: 500 italic 20px 'Cormorant Garamond', Georgia, serif; color: var(--hs-green); }
.reg { display: flex; align-items: center; gap: 6px; font: 600 18px 'IBM Plex Mono', monospace; color: var(--hs-green); }
.reg i { width: 28px; height: 32px; border: 1.5px solid var(--hs-green); border-radius: 3px; display: inline-block; }
.spread { border-radius: 10px; box-shadow: 0 24px 50px -28px rgba(31, 53, 40, .55); border: 1px solid var(--hs-line); }
.spread-pages { display: none; gap: 14px; }
@media (max-width: 700px) {
  .spread-wide { display: none; }
  .spread-pages { display: grid; }
}
.figcap { font-size: 14px; color: var(--hs-body); margin-top: 12px; }

.flights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; counter-reset: flight; }
.flights li {
  counter-increment: flight; background: var(--hs-paper); border: 1px solid var(--hs-line); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.flights li::before { content: "FLIGHT " counter(flight); font: 500 11px 'IBM Plex Mono', monospace; letter-spacing: .18em; color: var(--hs-gold-ink); }
.flights b { font: 600 22px 'Cormorant Garamond', Georgia, serif; color: var(--hs-green); }
.dots { display: flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--hs-green); }
.dots i.on { background: var(--hs-green); }
.inside { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 32px; }
.inside li { display: flex; gap: 12px; align-items: baseline; color: var(--hs-ink); font-size: 16px; }
.inside li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg) translateY(-2px); background: var(--hs-gold); flex: none; }

.specs { width: 100%; border-collapse: collapse; font-size: 16px; }
.specs th, .specs td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--hs-line); vertical-align: top; }
.specs th { font: 500 12px 'IBM Plex Mono', monospace; letter-spacing: .16em; color: var(--hs-gold-ink); width: 38%; padding-right: 16px; }
.specs td { color: var(--hs-ink); }

.hs .signup { background: var(--hs-green); border: 0; }
.hs .signup h2 { color: var(--hs-cream); }
.hs .signup p { color: #CFD8D0; }
.hs .signup .field { color: #E7EDE8; font-family: 'IBM Plex Sans', sans-serif; }
.hs .signup .field input { background: var(--hs-cream); border-color: transparent; color: var(--hs-ink); font-family: 'IBM Plex Sans', sans-serif; }
.hs .signup .field input:focus { box-shadow: 0 0 0 3px rgba(217, 191, 122, .7); }
.hs .signup .btn-primary { background: #D9BF7A; color: var(--hs-green); }
.hs .signup .btn-primary:hover { background: #E6CF92; color: var(--hs-green); }
.hs .signup .form-note { color: #CFD8D0; }
.hs .signup .form-note.ok { color: #BFE6C8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .spark { opacity: .9; transform: translateY(-40px) rotate(var(--r, 12deg)); }
  .spark:nth-child(3n) { transform: translateY(-96px) rotate(var(--r, -10deg)); }
  .spark:nth-child(3n+1) { transform: translateY(-66px); }
}
