/* ==========================================================================
   The Fablekin Universe — "Storybook" theme
   Warm paper, sunny skies, jewel-toned realms. Built to feel friendly for a
   toddler and timeless for a grandparent reading along.
   ========================================================================== */

:root {
  --paper: #FFF9EF;
  --paper-2: #FFF2DD;
  --paper-3: #FDE8C8;
  --card: #FFFFFF;
  --ink: #2B2250;
  --ink-soft: #5B537E;
  --ink-faint: #8A83A6;
  --line: rgba(43, 34, 80, 0.12);
  --line-strong: rgba(43, 34, 80, 0.22);

  --grape: #6B3FA0;
  --grape-deep: #4B2A7B;
  --grape-soft: #EFE6FA;
  --sun: #FFC23D;
  --sun-deep: #E9A10F;
  --sun-soft: #FFF1C9;
  --coral: #FF7B5C;
  --coral-deep: #E85C3D;
  --coral-soft: #FFE3DA;
  --sky: #56B4F0;
  --sky-deep: #2E8FD0;
  --sky-soft: #DDF0FF;
  --leaf: #3FAE7A;
  --leaf-deep: #2B8A5D;
  --leaf-soft: #DBF3E6;
  --berry: #E0567E;

  --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --shadow-sticker: 0 5px 0 rgba(43, 34, 80, 0.10), 0 12px 28px rgba(43, 34, 80, 0.10);
  --shadow-soft: 0 10px 30px rgba(43, 34, 80, 0.10);
  --shadow-lift: 0 8px 0 rgba(43, 34, 80, 0.12), 0 22px 44px rgba(43, 34, 80, 0.16);

  --nav-h: 68px;
  --wrap: 1180px;
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--grape); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--sun); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 700; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; }
[hidden] { display: none !important; }
.sec-head h2 { margin: 14px 0 12px; }
.h-hero { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; }
.h-sec { font-size: clamp(2rem, 4vw, 3.1rem); }
.h-card { font-size: 1.25rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--ink-soft); }
.tiny { font-size: .85rem; color: var(--ink-faint); }
.hand { font-family: var(--font-hand); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  letter-spacing: .02em; color: var(--grape);
  background: var(--grape-soft); border-radius: 999px; padding: 6px 14px 6px 10px;
  margin-bottom: 16px;
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: .8rem; }
.eyebrow.sun { background: var(--sun-soft); color: #8A5A00; }
.eyebrow.leaf { background: var(--leaf-soft); color: var(--leaf-deep); }
.eyebrow.coral { background: var(--coral-soft); color: var(--coral-deep); }
.eyebrow.sky { background: var(--sky-soft); color: var(--sky-deep); }

.sec { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.sec-head .lead { margin-top: 14px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  --b: var(--sun); --bd: var(--sun-deep); --t: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2;
  background: var(--b); color: var(--t); text-decoration: none; text-align: center;
  border: 0; border-radius: 999px; padding: 15px 26px;
  box-shadow: 0 5px 0 var(--bd), 0 10px 22px rgba(43,34,80,.14);
  transition: transform .18s var(--ease-bounce), box-shadow .18s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--bd), 0 16px 28px rgba(43,34,80,.18); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--bd), 0 4px 10px rgba(43,34,80,.14); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.grape { --b: var(--grape); --bd: var(--grape-deep); --t: #fff; }
.btn.coral { --b: var(--coral); --bd: var(--coral-deep); --t: #fff; }
.btn.leaf { --b: var(--leaf); --bd: var(--leaf-deep); --t: #fff; }
.btn.sky { --b: var(--sky); --bd: var(--sky-deep); --t: #fff; }
.btn.ghost { --b: #fff; --bd: rgba(43,34,80,.16); --t: var(--ink); }
.btn.sm { font-size: .92rem; padding: 10px 18px; box-shadow: 0 4px 0 var(--bd); }
.btn.block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  background: #fff; color: var(--ink); border: 2px solid var(--line);
  border-radius: 999px; padding: 7px 14px; white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s var(--ease-bounce), color .18s;
}
.chip:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .sw { width: 12px; height: 12px; border-radius: 50%; flex: none; }

/* ── Top navigation ───────────────────────────────────────────────────── */
#fk-topnav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 9000;
  display: flex; align-items: center;
  background: rgba(255, 249, 239, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
#fk-topnav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(43,34,80,.07); background: rgba(255,249,239,.95); }
#fk-topnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sun); }
.brand b { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1; display: block; }
.brand small { font-family: var(--font-hand); font-size: 1.05rem; color: var(--grape); line-height: 1; display: block; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink-soft);
  text-decoration: none; padding: 8px 13px; border-radius: 999px; transition: background .18s, color .18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--paper-3); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; place-items: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
.nav-spacer { height: var(--nav-h); }

@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  #fk-topnav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: calc(var(--nav-h) - 4px); left: 12px; right: 12px;
    background: #fff; border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-lift);
  }
  #fk-topnav.open .nav-links a { padding: 13px 16px; font-size: 1.05rem; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .brand b { font-size: 1rem; }
  .nav-cta .btn { padding: 10px 14px; font-size: .88rem; }
}

/* ── Loading screen ───────────────────────────────────────────────────── */
#fk-loading {
  position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(circle at 50% 40%, #fff 0%, var(--paper) 55%, var(--paper-2) 100%);
  font-family: var(--font-display); color: var(--ink);
}
#fk-loading img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff, 0 0 0 9px var(--sun); animation: fk-bob 1.6s ease-in-out infinite; }
#fk-loading .t { font-size: 1.35rem; font-weight: 600; }
#fk-loading .s { font-family: var(--font-body); color: var(--ink-soft); font-size: .95rem; margin-top: 2px; }
#fk-loading .bar { width: 200px; height: 10px; background: var(--paper-3); border-radius: 999px; overflow: hidden; }
#fk-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sun), var(--coral), var(--grape)); transition: width .3s; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #CFEAFF 0%, #E6F4FF 38%, #FFF6E6 78%, var(--paper) 100%);
  padding: clamp(40px, 7vw, 88px) 0 0;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; z-index: 2; }
.hero-copy { padding-bottom: clamp(60px, 9vw, 130px); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .swash { position: relative; white-space: nowrap; color: var(--grape); }
.hero h1 .swash svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .42em; }
.hero .lead { max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.8); border: 2px solid #fff; border-radius: 999px;
  padding: 7px 14px 7px 8px; font-family: var(--font-display); font-weight: 500; font-size: .93rem;
  box-shadow: 0 4px 14px rgba(43,34,80,.07);
}
.stat-pill i { font-style: normal; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sun-soft); }

.hero-art { position: relative; aspect-ratio: 1 / 1.02; max-width: 580px; width: 100%; margin-left: auto; align-self: end; }
.hero-art .sun-disc { position: absolute; width: 46%; aspect-ratio: 1; top: 3%; left: 27%; border-radius: 50%; background: radial-gradient(circle, #FFE58A 0%, #FFC23D 60%, rgba(255,194,61,0) 71%); filter: blur(.5px); }
.hero-art .sun-disc::after { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,102,.45), transparent 62%); }
.pal {
  position: absolute; border-radius: 30px; background: #fff; padding: 7px;
  box-shadow: var(--shadow-lift); animation: fk-float 6s ease-in-out infinite;
}
.pal img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.pal .tag {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  background: #fff; border-radius: 999px; padding: 5px 13px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; box-shadow: var(--shadow-soft);
}
.pal-wrap { position: absolute; }
.pal-wrap .pal { position: relative; width: 100%; height: 100%; }
.pal-1 { width: 44%; height: 44%; left: 28%; top: 20%; z-index: 3; }
.pal-2 { width: 29%; height: 29%; left: 2%; top: 32%; z-index: 2; }
.pal-3 { width: 29%; height: 29%; right: 0; top: 30%; z-index: 2; }
.pal-4 { width: 25%; height: 25%; left: 14%; top: 68%; z-index: 2; }
.pal-5 { width: 25%; height: 25%; right: 12%; top: 68%; z-index: 2; }
.pal-2 .pal { transform: rotate(-6deg); animation-delay: -1.5s; }
.pal-3 .pal { transform: rotate(5deg); animation-delay: -3s; }
.pal-4 .pal { transform: rotate(4deg); animation-delay: -4s; }
.pal-5 .pal { transform: rotate(-4deg); animation-delay: -2.2s; }
.letter-float {
  position: absolute; z-index: 4; left: 50%; top: 66%; width: 32%; transform: translateX(-50%) rotate(-4deg);
  filter: drop-shadow(0 12px 18px rgba(43,34,80,.2)); animation: fk-bob 4.5s ease-in-out infinite;
}
.hero-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 14vw, 190px); z-index: 1; }
.cloud { position: absolute; z-index: 0; opacity: .95; animation: fk-drift linear infinite; }
.cloud svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { margin: 0 auto; max-width: 420px; }
}

/* ── Generations band ─────────────────────────────────────────────────── */
.gen-band { background: var(--paper); padding: 26px 0 8px; }
.gen-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gen {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md);
  background: #fff; border: 2px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .2s var(--ease-bounce), border-color .2s, box-shadow .2s;
}
.gen:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-sticker); }
.gen .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; flex: none; }
.gen b { font-family: var(--font-display); font-weight: 600; display: block; font-size: 1.05rem; line-height: 1.2; }
.gen span { font-size: .86rem; color: var(--ink-soft); line-height: 1.35; display: block; }
@media (max-width: 900px) { .gen-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gen-row { grid-template-columns: 1fr; } }

/* ── Story / about ────────────────────────────────────────────────────── */
.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-portrait { position: relative; max-width: 440px; margin: 0 auto; }
.story-portrait .frame {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1; background: #fff; padding: 12px;
  box-shadow: 0 0 0 10px var(--sun-soft), var(--shadow-lift);
}
.story-portrait .frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.story-portrait .badge-note {
  position: absolute; right: -6%; bottom: 6%; background: #fff; border-radius: 18px; padding: 12px 16px;
  box-shadow: var(--shadow-sticker); transform: rotate(4deg); max-width: 210px;
}
.story-portrait .badge-note .hand { font-size: 1.35rem; color: var(--grape); line-height: 1.1; }
.letter {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-soft); border: 2px solid var(--paper-3);
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(86,180,240,.14) 33px 34px);
  background-position: 0 18px;
}
.letter::before {
  content: ""; position: absolute; top: -14px; right: 34px; width: 64px; height: 28px; transform: rotate(6deg);
  background: rgba(255,194,61,.7); border-radius: 4px;
}
.letter .salute { font-family: var(--font-hand); font-size: 1.9rem; color: var(--grape); line-height: 1; margin-bottom: 14px; }
.letter p { margin-bottom: 14px; color: var(--ink-soft); line-height: 34px; }
.letter p strong { color: var(--ink); }
.letter .sig { font-family: var(--font-hand); font-size: 1.6rem; color: var(--ink); line-height: 1.1; margin-top: 6px; }
.letter .more { display: none; }
.letter.open .more { display: block; }
.link-btn { background: none; border: 0; color: var(--grape); font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; padding: 0; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .story-portrait { max-width: 300px; } }

/* ── Difference cards ─────────────────────────────────────────────────── */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.diff { background: #fff; border-radius: var(--r-md); padding: 22px; border: 2px solid var(--line); }
.diff .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 1.45rem; margin-bottom: 12px; }
.diff h3 { font-size: 1.12rem; margin-bottom: 6px; }
.diff p { font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 980px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .diff-grid { grid-template-columns: 1fr; } }

/* ── Wavy divider ─────────────────────────────────────────────────────── */
.wave { display: block; width: 100%; height: 56px; }

/* ── What's in every delivery ─────────────────────────────────────────── */
.delivery { background: var(--paper-2); }
.deliv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliv {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 28px 26px 26px; overflow: hidden;
  box-shadow: var(--shadow-sticker); transition: transform .25s var(--ease-bounce);
}
.deliv:hover { transform: translateY(-4px) rotate(-.4deg); }
.deliv .num { position: absolute; right: 18px; top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--paper-2); }
.deliv .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 16px; position: relative; }
.deliv h3 { font-size: 1.25rem; margin-bottom: 8px; }
.deliv p { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
@media (max-width: 900px) { .deliv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .deliv-grid { grid-template-columns: 1fr; } }

/* ── Subscribe (React) ────────────────────────────────────────────────── */
.subscribe { background: var(--paper); }
.pkg-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.pkg-tab {
  text-align: left; background: #fff; border: 3px solid var(--line); border-radius: var(--r-md); padding: 16px 18px;
  transition: border-color .2s, transform .2s var(--ease-bounce), box-shadow .2s; position: relative;
}
.pkg-tab:hover { transform: translateY(-2px); }
.pkg-tab.on { border-color: var(--grape); box-shadow: 0 6px 0 var(--grape-soft); }
.pkg-tab .bdg { font-family: var(--font-display); font-weight: 600; font-size: .75rem; letter-spacing: .06em; color: var(--grape); }
.pkg-tab b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 3px 0 2px; }
.pkg-tab .from { font-size: .88rem; color: var(--ink-soft); }
.pkg-tab .from strong { color: var(--ink); font-size: 1.05rem; }
.pkg-tab .soon { position: absolute; top: -11px; right: 12px; background: var(--coral); color: #fff; font-family: var(--font-display); font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pkg-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; background: #fff; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-soft); border: 2px solid var(--paper-3); }
.tier-label { font-family: var(--font-display); font-weight: 600; margin-bottom: 12px; font-size: 1.05rem; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tier {
  text-align: center; background: var(--paper); border: 2px solid transparent; border-radius: 16px; padding: 12px 6px;
  transition: background .18s, border-color .18s, transform .18s var(--ease-bounce);
}
.tier:hover { transform: translateY(-2px); background: var(--paper-2); }
.tier.on { background: var(--sun-soft); border-color: var(--sun-deep); }
.tier .em { font-size: 1.5rem; line-height: 1; }
.tier b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; margin-top: 5px; }
.tier span { display: block; font-size: .78rem; color: var(--ink-soft); }
.tier .pr { font-family: var(--font-display); font-weight: 600; color: var(--grape); font-size: .95rem; margin-top: 2px; }
.pkg-summary { background: linear-gradient(160deg, var(--grape) 0%, var(--grape-deep) 100%); color: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.pkg-summary h3 { color: #fff; font-size: 1.35rem; }
.pkg-summary .price { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; }
.pkg-summary .price small { font-size: 1rem; font-weight: 500; opacity: .85; }
.pkg-summary ul { list-style: none; display: grid; gap: 7px; font-size: .95rem; }
.pkg-summary li { display: flex; gap: 9px; }
.pkg-summary li::before { content: "★"; color: var(--sun); }
.pkg-summary .btn.ghost { --b: rgba(255,255,255,.14); --bd: rgba(0,0,0,.18); --t: #fff; }
.pkg-summary .fine { font-size: .82rem; opacity: .85; }
@media (max-width: 980px) { .pkg-tabs { grid-template-columns: repeat(2, 1fr); } .pkg-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tiers { grid-template-columns: repeat(2, 1fr); } }

.promise {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 26px;
  background: var(--leaf-soft); border-radius: var(--r-lg); padding: 22px 26px; border: 2px dashed rgba(43,138,93,.35);
}
.promise .ico { font-size: 2.2rem; }
.promise h3 { font-size: 1.2rem; margin-bottom: 3px; }
.promise p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; text-align: center; } }

/* ── Gift cards ───────────────────────────────────────────────────────── */
.gifts { background: linear-gradient(180deg, var(--paper) 0%, #FFEFF3 100%); }
.gift-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.gift-card-art {
  position: relative; aspect-ratio: 1.6; border-radius: 26px; padding: 26px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--coral) 0%, var(--berry) 45%, var(--grape) 100%);
  box-shadow: var(--shadow-lift); transform: rotate(-3deg); max-width: 460px; margin: 0 auto;
}
.gift-card-art::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -12%; top: -24%; border-radius: 50%; background: rgba(255,255,255,.14); }
.gift-card-art::after { content: ""; position: absolute; width: 40%; aspect-ratio: 1; left: -10%; bottom: -24%; border-radius: 50%; background: rgba(255,194,61,.3); }
.gift-card-art .gc-top { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; position: relative; z-index: 1; }
.gift-card-art .gc-top img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.7); }
.gift-card-art .gc-amt { position: absolute; left: 26px; bottom: 22px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; z-index: 1; }
.gift-card-art .gc-for { position: absolute; right: 26px; bottom: 26px; font-family: var(--font-hand); font-size: 1.6rem; z-index: 1; }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-soft); border: 2px solid var(--paper-3); }
.field { margin-bottom: 14px; }
.field label, .lbl { display: block; font-family: var(--font-display); font-weight: 500; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field label small { font-weight: 400; color: var(--ink-faint); }
.input, .form-card input, .form-card select, .form-card textarea, .signup input {
  width: 100%; background: var(--paper); border: 2px solid var(--line); border-radius: 14px;
  padding: 12px 14px; font-size: 1rem; color: var(--ink); outline: none; transition: border-color .18s, background .18s, box-shadow .18s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus, .signup input:focus { border-color: var(--grape); background: #fff; box-shadow: 0 0 0 4px var(--grape-soft); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
#gc-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 10px; }
#gc-presets button {
  background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 12px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  transition: background .18s, border-color .18s, transform .18s var(--ease-bounce);
}
#gc-presets button:hover { transform: translateY(-2px); }
#gc-presets button.on { background: var(--sun); border-color: var(--sun-deep); }
.amt-wrap { position: relative; margin-bottom: 16px; }
.amt-wrap span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 600; color: var(--grape); }
.amt-wrap input { padding-left: 30px !important; }
#gc-note { font-size: .88rem; color: var(--ink-soft); text-align: center; margin-top: 12px; }
#gc-note.bad { color: var(--coral-deep); }
@media (max-width: 900px) { .gift-grid { grid-template-columns: 1fr; } }
.gc-check { margin-top: clamp(28px, 4vw, 48px); }
.gc-check-card { background: #fff; border: 3px dashed rgba(107,63,160,.35); border-radius: 28px; padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px 28px; align-items: center; }
.gc-check-card h3 { font-family: var(--font-display, Fredoka), sans-serif; margin: 0 0 6px; font-size: 1.3rem; color: var(--ink, #2B2250); }
.gc-check-card p { margin: 0; color: var(--ink-soft, #5B537E); font-size: .95rem; }
#gc-check-form { display: flex; gap: 10px; flex-wrap: wrap; }
#gc-code { flex: 1 1 200px; min-width: 0; font: inherit; font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; padding: 12px 16px; border-radius: 999px; border: 2px solid rgba(43,34,80,.2); background: #FFFDF8; color: #2B2250; }
#gc-code:focus { outline: none; border-color: #6B3FA0; }
#gc-check-out { grid-column: 1 / -1; font-weight: 700; min-height: 1.2em; }
#gc-check-out.good { color: #23794F; } #gc-check-out.warn { color: #9A6200; } #gc-check-out.bad { color: var(--coral-deep, #B8432A); }
@media (max-width: 760px) { .gc-check-card { grid-template-columns: 1fr; } }

/* ── Pillar program ───────────────────────────────────────────────────── */
.pillar { background: var(--sky-soft); }
.pillar-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 34px; }
.ptier { background: #fff; border-radius: var(--r-md); padding: 22px; text-align: center; border: 3px solid transparent; }
.ptier.best { border-color: var(--sky); }
.ptier .ico { font-size: 1.8rem; }
.ptier b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-top: 6px; }
.ptier .off { font-family: var(--font-display); font-weight: 600; color: var(--leaf-deep); font-size: 1.05rem; }
.ptier span { font-size: .9rem; color: var(--ink-soft); }
.pillar .form-card { max-width: 620px; margin: 0 auto; }
.msg-err { display: none; background: var(--coral-soft); color: var(--coral-deep); border-radius: 12px; padding: 10px 14px; font-size: .92rem; margin-bottom: 10px; }
.msg-ok { display: none; background: var(--leaf-soft); color: var(--leaf-deep); border-radius: 12px; padding: 12px 16px; font-size: .95rem; text-align: center; margin-bottom: 10px; }
@media (max-width: 760px) { .pillar-tiers { grid-template-columns: 1fr; } }

/* ── Newsletter ───────────────────────────────────────────────────────── */
.signup-sec { background: var(--paper); padding-bottom: clamp(64px, 9vw, 112px); }
.signup {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(135deg, var(--sun) 0%, #FFD76E 100%); text-align: center;
}
.signup::before, .signup::after { content: "✉"; position: absolute; font-size: 8rem; opacity: .12; line-height: 1; }
.signup::before { left: 4%; top: 6%; transform: rotate(-14deg); }
.signup::after { right: 5%; bottom: 2%; transform: rotate(12deg); }
.signup h2 { margin-bottom: 10px; }
.signup p { color: #5A4200; max-width: 560px; margin: 0 auto; }
#email-list-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 26px auto 0; max-width: 560px; position: relative; z-index: 1; }
#email-list-form input { flex: 1 1 240px; background: #fff; border-color: #fff; }
#el-message { margin-top: 14px; font-weight: 600; display: none; position: relative; z-index: 1; }
.signup .tiny { color: #6B5210; margin-top: 12px; position: relative; z-index: 1; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #D9D3F0; padding: 70px 0 34px; position: relative; }
.site-footer .wave-top { position: absolute; top: -55px; left: 0; width: 100%; height: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #D9D3F0; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--sun); }
.foot-tag { margin-top: 14px; color: #B7AFDA; font-size: .95rem; max-width: 320px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #9C94C4; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }

@keyframes fk-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes fk-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes fk-drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 9px 12px; font-size: .84rem; }
  .mp-full { display: none; }
  .brand { gap: 8px; }
  .brand b { font-size: .9rem; }
  .brand img { width: 36px; height: 36px; }
  .nav-burger { width: 40px; height: 40px; }
}

/* Pillar seat checkout */
.pillar-buy { margin-bottom: 26px; border-color: var(--sky); }
.seat-step { display: flex; gap: 8px; align-items: center; }
.seat-step input { text-align: center; font-weight: 700; flex: 1; min-width: 0; }
.seat-step .btn { min-width: 44px; justify-content: center; font-size: 1.2rem; }
.pb-quote { background: var(--paper, #FFF9EF); border: 2px dashed var(--sky); border-radius: var(--r-md); padding: 14px 16px; margin: 6px 0 14px; }
.pb-quote p { margin: 0; text-align: center; }
.pbq-row, .pbq-total { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 3px 0; flex-wrap: wrap; }
.pbq-row s { opacity: .6; }
.pbq-tag { background: var(--leaf, #3FAE7A); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .85rem; }
.pbq-total { border-top: 1px solid rgba(43,34,80,.15); margin-top: 6px; padding-top: 8px; font-family: var(--font-display); font-size: 1.15rem; }
.pbq-total b { color: var(--grape, #6B3FA0); font-size: 1.35rem; }
.pb-fine { font-size: .85rem; text-align: center; margin: 12px 0 0; opacity: .8; }
#pb-buy:disabled { opacity: .5; cursor: not-allowed; }
