
/* ====== TOKENS ====== */
:root {
  /* Warm cozy palette */
  --paper:        #f6efde;        /* hay-tinted off-white body bg */
  --paper-deep:   #ede4cd;        /* slightly deeper paper */
  --cream:        #fbf6e8;        /* lightest panel */
  --white:        #ffffff;

  --ink:          #1d2116;
  --ink-2:        #3a4032;
  --ink-3:        #6a6f5e;
  --ink-4:        #97977f;
  --line:         #e2d9bf;

  /* Brand */
  --moss-900:     #1f3a24;
  --moss-700:     #2c5a35;
  --moss-600:     #3a7245;
  --moss-500:     #4f8a59;
  --moss-300:     #b9d3ba;
  --moss-100:     #e3eedd;

  --hay-700:      #a4761d;
  --hay-500:      #d99a2b;        /* sianko gold */
  --hay-400:      #e6b145;
  --hay-200:      #f3dc99;
  --hay-100:      #faecbf;

  --berry:        #b8503d;        /* warm clay accent (rare) */

  --shadow-sm:    0 1px 0 rgba(31,58,36,.06), 0 1px 2px rgba(31,58,36,.04);
  --shadow-md:    0 2px 0 rgba(31,58,36,.05), 0 8px 24px rgba(31,58,36,.06);
  --shadow-lg:    0 4px 0 rgba(31,58,36,.05), 0 24px 48px rgba(31,58,36,.10);

  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: 24px;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4 { font-size: 18px; font-family: var(--sans); font-weight: 700; letter-spacing: -0.005em; line-height: 1.3; }

p  { margin: 0 0 .8em; color: var(--ink-2); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.5; max-width: 56ch; }
small, .small { font-size: 13px; color: var(--ink-3); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ====== NAV ====== */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246,239,222,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(31,58,36,.06);
}
.nav-row {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--serif); font-weight: 600;
  color: var(--moss-700);
  font-size: 26px; letter-spacing: -0.02em;
}
.logo .star {
  display: inline-block; width: 8px; height: 8px;
  background: var(--hay-500); border-radius: 2px;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 4px;
}
.nav-links {
  display: flex; gap: 22px; margin-left: 18px; flex: 1;
}
.nav-links a {
  font-size: 15px; color: var(--ink-2); font-weight: 500;
}
.nav-links a:hover { color: var(--moss-700); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 720px) {
  .nav-links { gap: 14px; margin-left: 8px; }
  .nav-links a { font-size: 14px; }
  .nav-cta .ghost { display: none; }
}
@media (max-width: 480px) {
  .nav-links { display: none; }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--sans);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

.btn-primary {
  background: var(--moss-700); color: #fff;
  box-shadow: 0 1px 0 var(--moss-900), 0 6px 18px rgba(44,90,53,.28);
}
.btn-primary:hover { background: var(--moss-900); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(31,33,22,.18);
}
.btn-ghost:hover { background: rgba(31,33,22,.04); border-color: rgba(31,33,22,.32); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--moss-700);
  border-bottom: 1px solid transparent;
  padding: 2px 0;
}
.btn-link:hover { border-color: var(--moss-700); }

/* ====== ATOMS ====== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--moss-700);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor;
  display: inline-block; opacity: .6;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  background: var(--moss-100); color: var(--moss-700);
}
.chip-hay { background: var(--hay-100); color: var(--hay-700); }
.chip-clay { background: #f4dbd2; color: var(--berry); }

/* ====== SECTIONS ====== */
section { padding: 96px 0; }
.section-tight { padding: 56px 0; }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 56px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin-top: 24px;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--moss-700);
}
.hero h1 .underline {
  position: relative; display: inline-block;
}
.hero h1 .underline::after {
  content: ""; position: absolute;
  left: -2%; right: -2%; bottom: -4px; height: 12px;
  background: var(--hay-200); border-radius: 6px;
  z-index: -1;
}
.hero-sub { margin-top: 28px; font-size: clamp(17px, 1.35vw, 19px); max-width: 54ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.hero-meta {
  margin-top: 28px; display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: "✓"; color: var(--moss-600); font-weight: 700; }

.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  display: grid; place-items: center;
}
.hero-card {
  position: absolute;
  background: #fff; border-radius: var(--r-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  border: 1px solid var(--line);
  z-index: 2;
}
.hero-card-1 {
  top: 8%; left: -4%;
  transform: rotate(-3deg);
}
.hero-card-2 {
  bottom: 18%; right: -2%;
  transform: rotate(3deg);
}
.hero-card-3 {
  bottom: 4%; left: 8%;
  transform: rotate(-2deg);
}
.hero-card .pic {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 18px;
}
.hero-card .pic.green { background: var(--moss-100); }
.hero-card .pic.hay { background: var(--hay-100); }
.hero-card .pic.tree { background: #d6e7c4; }
.hero-card b { display: block; font-weight: 700; color: var(--ink); font-size: 13px; }
.hero-card .meta { color: var(--ink-3); font-size: 12px; }

.hero-mascot-wrap {
  width: 88%;
  aspect-ratio: 4/5;
  position: relative;
  display: grid; place-items: end center;
}
.hero-mascot-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(217,154,43,.18), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(31,58,36,.10), transparent 65%);
  z-index: 0;
}
.hero-mascot-wrap img {
  position: relative; z-index: 1;
  max-height: 100%; width: auto;
  filter: drop-shadow(0 18px 24px rgba(31,58,36,.18));
}
/* Hay sun behind mascot */
.hero-sun {
  position: absolute;
  width: 70%; aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--hay-200) 0%, var(--hay-100) 60%, transparent 75%);
  top: 18%; left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

@media (max-width: 900px) {
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { aspect-ratio: 1/1; max-width: 460px; margin: 0 auto; }
  .hero-card-1 { left: 0; }
  .hero-card-2 { right: 0; }
}

/* ====== SLOGAN STRIP ====== */
.slogan-strip {
  background: var(--moss-900); color: #f6efde;
  padding: 18px 0;
  overflow: hidden;
}
.slogan-strip-inner {
  display: flex; gap: 44px;
  font-family: var(--serif);
  font-size: 22px; font-style: italic; font-weight: 500;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  width: max-content;
}
.slogan-strip-inner span {
  display: inline-flex; align-items: center; gap: 44px;
}
.slogan-strip .dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--hay-500); border-radius: 50%;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== TWO TILES (Pomoc rodzinie / Zadania dodatkowe) ====== */
.duo-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.duo-head .eyebrow { margin-bottom: 18px; }
.duo-head .lead { margin: 16px auto 0; }

.duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.duo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.duo-card.help {
  background: linear-gradient(180deg, var(--moss-100), #f3f8ee);
  border-color: rgba(58,114,69,.15);
}
.duo-card.paid {
  background: linear-gradient(180deg, var(--hay-100), #fdf6e0);
  border-color: rgba(217,154,43,.20);
}
.duo-card .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.duo-card.help .tag { background: var(--moss-700); color: #fff; }
.duo-card.paid .tag { background: var(--hay-500); color: #1f1402; }

.duo-card h3 { font-family: var(--serif); margin-bottom: 12px; }
.duo-card .desc { color: var(--ink-2); }
.duo-list {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: grid; gap: 10px;
}
.duo-list li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.6);
  padding: 12px 14px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
}
.duo-list li .ico {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 16px; background: #fff;
}
.duo-list li .reward {
  margin-left: auto;
  font-size: 12px; font-weight: 700;
  color: var(--moss-700);
  letter-spacing: 0.02em;
}
.duo-card.paid .duo-list li .reward { color: var(--hay-700); }
.duo-card .footnote {
  margin-top: 22px;
  font-size: 13px; color: var(--ink-3);
  font-style: italic;
}
@media (max-width: 760px) {
  .duo { grid-template-columns: 1fr; }
}

/* ====== HOW IT WORKS — 4 STEPS ====== */
.how-section { background: var(--cream); border-radius: 0; }
.how-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: end; margin-bottom: 56px;
}
.how-head h2 { max-width: 18ch; }
.how-head p { max-width: 36ch; margin: 0; }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  min-height: 240px;
}
.step .num {
  font-family: var(--serif);
  font-size: 56px; font-weight: 500;
  color: var(--moss-700); line-height: 1;
  letter-spacing: -0.04em;
}
.step .num sub {
  font-size: 12px; font-weight: 700;
  font-family: var(--sans);
  color: var(--ink-3);
  vertical-align: super;
  margin-left: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.step h4 { margin: 0; font-size: 18px; }
.step p { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.step .role {
  margin-top: auto;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 6px;
}
.step .role::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--hay-500);
}
.step.role-child .role::before { background: var(--moss-500); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .how-head { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ====== OFFLINE SECTION ====== */
.offline {
  background: var(--moss-900);
  color: #f6efde;
  position: relative;
  overflow: hidden;
}
.offline::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(217,154,43,.10), transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(217,154,43,.08), transparent 40%);
  pointer-events: none;
}
.offline .container { position: relative; z-index: 1; }
.offline h2, .offline h3 { color: #fff; }
.offline .eyebrow { color: var(--hay-400); }
.offline-head { max-width: 760px; margin: 0 0 56px; }
.offline-head p { color: rgba(246,239,222,.7); font-size: clamp(17px, 1.4vw, 20px); margin-top: 18px; }
.offline-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.offline-tile {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.offline-tile:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(217,154,43,.30);
  transform: translateY(-2px);
}
.offline-tile .tree {
  position: absolute; top: 18px; right: 18px;
  font-size: 18px;
}
.offline-tile .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(217,154,43,.18); color: var(--hay-400);
  display: grid; place-items: center; font-size: 20px;
  margin-bottom: 4px;
}
.offline-tile .name { font-weight: 700; color: #fff; font-size: 16px; }
.offline-tile .desc { font-size: 13px; color: rgba(246,239,222,.6); margin: 0; }
.offline-tile .reward {
  font-size: 12px; font-weight: 700;
  color: var(--hay-400);
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.offline-quote {
  margin-top: 64px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  color: #fff;
  max-width: 26ch;
  margin-left: auto; margin-right: auto;
  line-height: 1.25;
}
.offline-quote .underline {
  background: linear-gradient(180deg, transparent 60%, rgba(217,154,43,.35) 60%);
  padding: 0 4px;
}
@media (max-width: 900px) { .offline-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .offline-grid { grid-template-columns: 1fr; } }

/* ====== MONEY SECTION ====== */
.money-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
}
.money-bullets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.money-bullets li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px;
  align-items: start;
}
.money-bullets li .check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--moss-100); color: var(--moss-700);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 14px; font-weight: 800;
  margin-top: 2px;
}
.money-bullets li b { display: block; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.money-bullets li span { color: var(--ink-2); font-size: 15px; }

/* Settlement card */
.ledger {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
}
.ledger-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.ledger-head .who { font-weight: 700; font-size: 16px; }
.ledger-head .who span { font-weight: 400; color: var(--ink-3); font-size: 13px; display: block; }
.ledger-head .balance { text-align: right; }
.ledger-head .balance .amt { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--moss-700); letter-spacing: -0.02em; }
.ledger-head .balance small { color: var(--ink-3); font-size: 12px; }
.ledger-rows { display: grid; gap: 6px; margin: 18px 0; }
.ledger-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px;
  align-items: center;
  padding: 10px 4px;
  font-size: 14px;
}
.ledger-row + .ledger-row { border-top: 1px solid #f0e9d3; }
.ledger-row .ico {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--moss-100); font-size: 16px;
}
.ledger-row.paid .ico { background: var(--hay-100); }
.ledger-row .label { color: var(--ink); font-weight: 500; }
.ledger-row .label small { display: block; color: var(--ink-3); font-weight: 400; font-size: 12px; }
.ledger-row .amt-row { font-weight: 700; color: var(--moss-700); font-size: 14px; white-space: nowrap; }
.ledger-row.xp .amt-row { color: var(--moss-700); }
.ledger-row.paid .amt-row { color: var(--hay-700); }
.ledger-foot {
  margin-top: 14px;
  padding: 14px;
  background: var(--cream);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  border: 1px dashed var(--line);
}
.ledger-foot b { color: var(--ink); }
.ledger-foot .actions { display: flex; gap: 8px; }
.ledger-foot button.mini {
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-2);
}
.ledger-foot button.mini.primary {
  background: var(--moss-700); color: #fff; border-color: var(--moss-700);
}
@media (max-width: 900px) { .money-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ====== FOR PARENT / FOR CHILD ====== */
.audience-section { background: var(--cream); }
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.audience-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 40px;
}
.audience-card .role-tag {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--ink-3);
  margin-bottom: 8px;
}
.audience-card h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 22px; }
.audience-card ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.audience-card ul li {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px;
  font-size: 15px; color: var(--ink-2); line-height: 1.45;
  align-items: start;
}
.audience-card ul li::before {
  content: "✓";
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--moss-100); color: var(--moss-700);
  display: inline-grid; place-items: center;
  font-weight: 800; font-size: 13px;
  margin-top: 1px;
}
.audience-card.child {
  background: linear-gradient(180deg, #fff, #fbf6e8);
}
.audience-card.child ul li::before {
  background: var(--hay-100); color: var(--hay-700);
}
.audience-card .quote {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--moss-500);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-2);
}
.audience-card.child .quote { border-color: var(--hay-500); }
@media (max-width: 760px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { padding: 28px; }
}

/* ====== SAFETY ====== */
.safety {
  background: var(--paper-deep);
}
.safety-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
  align-items: center;
}
.safety h2 { max-width: 14ch; }
.safety .lead { margin-top: 24px; }
.safety .pill-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.safety .pill-list li {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.safety .pill-list li::before {
  content: "✕"; color: var(--berry); font-weight: 800; font-size: 13px;
}
.safety .pill-list li.yes::before {
  content: "✓"; color: var(--moss-600);
}

.safety-shield {
  position: relative;
  aspect-ratio: 4/5;
  display: grid; place-items: center;
}
.safety-shield::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(58,114,69,.10), transparent 65%);
}
.safety-shield img {
  position: relative; z-index: 1;
  max-height: 100%; width: auto;
  filter: drop-shadow(0 16px 24px rgba(31,58,36,.18));
}
@media (max-width: 900px) {
  .safety-grid { grid-template-columns: 1fr; gap: 24px; }
  .safety-shield { aspect-ratio: 1/1; max-width: 360px; margin: 0 auto; }
}

/* ====== FINAL CTA ====== */
.final-cta {
  background: var(--moss-900);
  color: #f6efde;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  margin: 96px auto;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; top: -40%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(217,154,43,.18), transparent 65%);
  pointer-events: none;
}
.final-cta-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  position: relative;
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 60px);
  max-width: 16ch;
}
.final-cta h2 em {
  font-style: italic; color: var(--hay-400);
}
.final-cta p { color: rgba(246,239,222,.75); font-size: 18px; margin-top: 18px; max-width: 44ch; }
.final-cta .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.final-cta .btn-primary {
  background: var(--hay-500); color: #1f1402;
  box-shadow: 0 1px 0 var(--hay-700), 0 6px 18px rgba(217,154,43,.35);
}
.final-cta .btn-primary:hover { background: var(--hay-400); }
.final-cta .btn-ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.20);
}
.final-cta .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.40); }

.final-cta .signoff {
  font-family: var(--serif); font-style: italic;
  font-size: 14px;
  color: rgba(246,239,222,.5);
  margin-top: 24px;
}

.final-mascot {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1/1;
}
.final-mascot::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(217,154,43,.20), transparent 55%);
}
.final-mascot img { position: relative; z-index: 1; max-height: 360px; }
@media (max-width: 760px) {
  .final-cta-grid { grid-template-columns: 1fr; }
  .final-mascot { display: none; }
}

/* ====== FOOTER ====== */
footer.foot {
  background: var(--paper);
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
}
.foot-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.foot p { color: var(--ink-3); font-size: 14px; max-width: 36ch; margin-top: 12px; }
.foot a { color: var(--ink-2); display: block; padding: 4px 0; font-size: 14px; }
.foot a:hover { color: var(--moss-700); }
.foot h5 {
  color: var(--ink); font-family: var(--sans);
  font-size: 13px; margin: 0 0 10px;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
}
.foot-bottom {
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
@media (max-width: 760px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Misc */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { margin: 0 auto; }

/* Decorative grain (very subtle) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 100;
  mix-blend-mode: multiply;
}


/* ====== FAQ ====== */
.faq { display: grid; gap: 8px; max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .15s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--moss-300); }
.faq summary {
  list-style: none;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  cursor: pointer;
  font-weight: 600; font-size: 16px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--moss-700); }
.faq .caret {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--moss-100); color: var(--moss-700);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
  transition: transform .2s ease, background .15s ease;
}
.faq details[open] .caret { transform: rotate(45deg); background: var(--moss-700); color: #fff; }
.faq .ans {
  padding: 0 22px 22px;
  color: var(--ink-2); font-size: 15px; line-height: 1.6;
}
.faq .ans a { color: var(--moss-700); border-bottom: 1px solid currentColor; }

/* ====== ARTICLE / DOC PAGES ====== */
.doc-page {
  background: var(--paper);
  padding: 64px 0 96px;
}
.doc {
  max-width: 760px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 64px);
}
.doc h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 8px; }
.doc .doc-meta { color: var(--ink-3); font-size: 14px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px dashed var(--line); }
.doc h2 { font-family: var(--serif); font-size: 26px; margin: 40px 0 16px; }
.doc h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin: 28px 0 10px; letter-spacing: -0.005em; }
.doc h4 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.doc p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.65; font-size: 16px; }
.doc ul, .doc ol { margin: 0 0 18px 0; padding-left: 22px; color: var(--ink-2); line-height: 1.65; }
.doc li { margin-bottom: 6px; }
.doc strong, .doc b { color: var(--ink); font-weight: 700; }
.doc a { color: var(--moss-700); border-bottom: 1px solid currentColor; }
.doc hr { border: 0; border-top: 1px dashed var(--line); margin: 32px 0; }
.doc blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--moss-500);
  background: var(--cream);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink-2); font-size: 15px;
}
.doc blockquote p:last-child { margin: 0; }
.doc code { background: var(--cream); padding: 1px 6px; border-radius: 4px; font-size: 14px; }

/* ====== BLOG ====== */
.blog-hero { padding: 64px 0 32px; }
.blog-hero h1 { max-width: 16ch; }
.blog-hero p { margin-top: 18px; max-width: 56ch; font-size: 19px; color: var(--ink-2); }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
.blog-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-card .img {
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  font-size: 64px;
  overflow: hidden;
  min-height: 0;
}
.blog-card .img > img {
  max-width: 62%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.blog-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.25; margin: 4px 0; }
.blog-card p { font-size: 14px; color: var(--ink-3); margin: 0; }
.blog-card .meta { font-size: 12px; color: var(--ink-4); margin-top: auto; padding-top: 12px; }
.blog-card.coming .img { background: var(--cream); color: var(--ink-4); }
.blog-card.coming { opacity: 0.85; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

.cat-strip {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 32px 0 0;
}
.cat-strip a {
  padding: 10px 18px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.cat-strip a:hover { border-color: var(--moss-700); color: var(--moss-700); }
.cat-strip a.active { background: var(--moss-700); color: #fff; border-color: var(--moss-700); }

/* ====== PRODUKT PAGE ====== */
.product-hero { padding: 64px 0 32px; text-align: center; }
.product-hero .eyebrow { justify-content: center; }
.product-hero h1 { max-width: 18ch; margin: 18px auto 18px; }
.product-hero p { max-width: 56ch; margin: 0 auto; font-size: 19px; color: var(--ink-2); }

.shot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}
.shot.flip .shot-text { order: 2; }
.shot-text h2 { font-family: var(--serif); margin-bottom: 16px; }
.shot-text .lead { margin-bottom: 18px; max-width: 52ch; }
.shot-text ul {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 12px;
}
.shot-text ul li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  align-items: start; font-size: 15px; color: var(--ink-2);
}
.shot-text ul li::before {
  content: "✓"; color: var(--moss-600); font-weight: 800; margin-top: 1px;
}

.shot-art {
  display: grid; place-items: center;
  position: relative;
}
.shot-art::before {
  content: "";
  position: absolute; inset: -10% -10% -10% -10%;
  background: radial-gradient(circle at 50% 50%, rgba(217,154,43,.10), transparent 65%);
  z-index: 0;
}
.shot-art .phone, .shot-art .desktop { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .shot { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .shot.flip .shot-text { order: 0; }
}

/* iPhone-ish frame */
.phone {
  width: 100%;
  max-width: 320px;
  height: 660px;
  overflow: hidden;
  background: #1d2116;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(31,33,22,.18), 0 8px 16px rgba(31,33,22,.10);
  position: relative;
}
.phone-screen {
  background: #f9f7ee;
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border-radius: 36px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-tabbar { flex-shrink: 0; }
.phone-statusbar { flex-shrink: 0; }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #1d2116; border-radius: 14px; z-index: 4;
}
.phone-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 0; font-size: 11px; font-weight: 600; color: var(--ink);
}
.phone-content {
  padding: 12px 16px 6px;
  flex: 1 1 0; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px;
}
.phone-tabbar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px 12px;
  border-top: 1px solid #ece4cb;
  background: #fff;
}
.phone-tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 9px; color: var(--ink-3);
}
.phone-tab .ico {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; font-size: 16px;
  background: transparent;
}
.phone-tab.active { color: var(--moss-700); font-weight: 700; }
.phone-tab.active .ico { background: var(--moss-700); }

/* In-phone components */
.p-wordmark {
  font-family: var(--serif); font-weight: 700;
  font-size: 22px; color: var(--moss-700);
  letter-spacing: -0.02em;
}
.p-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.p-pill {
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--moss-100); color: var(--moss-700);
  font-size: 10px; font-weight: 700;
}
.p-pill.dark { background: #1d2116; color: #fff; }
.p-pill.hay { background: var(--hay-100); color: var(--hay-700); }
.p-card {
  background: #fff; border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 0 rgba(31,33,22,.04);
  display: flex; gap: 10px; align-items: center;
}
.p-card .ico-sq {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--moss-100); display: grid; place-items: center;
  font-size: 18px; flex-shrink: 0;
}
.p-card .body { flex: 1; min-width: 0; }
.p-card .body b { display: block; font-size: 13px; color: var(--ink); font-weight: 700; }
.p-card .body small { color: var(--ink-3); font-size: 11px; }
.p-card .amt { font-size: 13px; font-weight: 700; color: var(--moss-700); }
.p-card .amt.hay { color: var(--hay-700); }
.p-greet {
  background: var(--hay-100);
  border-radius: 18px; padding: 14px;
  display: grid; grid-template-columns: 1fr 60px; gap: 10px;
  align-items: end;
}
.p-greet .hello { font-family: var(--serif); font-style: italic; font-size: 11px; color: var(--hay-700); }
.p-greet .name { font-size: 18px; font-weight: 800; color: var(--ink); margin-top: 2px; line-height: 1; }
.p-greet .stats { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.p-greet .stat { background: #fff; padding: 4px 8px; border-radius: var(--r-pill); font-size: 10px; font-weight: 600; color: var(--ink-2); display: inline-flex; gap: 4px; align-items: center;}
.p-greet .mascot {
  width: 60px; height: 60px;
  background: radial-gradient(circle at 50% 50%, var(--hay-300, #f3dc99), transparent 70%);
  display: grid; place-items: center; font-size: 36px;
}
.p-section-h {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; color: var(--ink);
  margin: 4px 4px 0;
}
.p-section-h a { color: var(--moss-700); font-weight: 600; font-size: 11px; }

.p-fab {
  display: flex; gap: 6px; margin-bottom: 4px;
}
.p-fab button {
  flex: 1; padding: 8px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.p-fab button.primary { background: var(--moss-700); color: #fff; border-color: var(--moss-700); }

/* Desktop dashboard */
.desktop {
  width: 100%;
  max-width: 560px;
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: 0 30px 60px rgba(31,33,22,.14), 0 8px 16px rgba(31,33,22,.08);
  border: 1px solid var(--line);
}
.dt-frame {
  background: #fff; border-radius: 18px;
  display: grid; grid-template-columns: 180px 1fr;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.dt-side {
  background: var(--cream);
  padding: 18px 14px;
  border-right: 1px solid var(--line);
}
.dt-side .me {
  display: flex; gap: 10px; align-items: center;
  padding: 6px 4px; margin-bottom: 14px;
}
.dt-side .me .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--moss-100); display: grid; place-items: center;
  font-weight: 800; color: var(--moss-700); font-size: 14px;
}
.dt-side .me b { font-size: 13px; color: var(--ink); display: block; }
.dt-side .me small { color: var(--ink-3); font-size: 11px; }
.dt-side nav { display: grid; gap: 2px; }
.dt-side nav a {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 10px; border-radius: 8px;
  font-size: 12px; color: var(--ink-2); font-weight: 500;
}
.dt-side nav a.active { background: var(--moss-100); color: var(--moss-700); font-weight: 700; }
.dt-side nav a .ico { font-size: 14px; width: 18px; }
.dt-main { padding: 20px; min-width: 0; }
.dt-main h4 { margin: 0 0 12px; }
.dt-main .row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.dt-main .row:last-child { border: 0; }
.dt-main .row b { display: block; font-weight: 700; color: var(--ink); }
.dt-main .row small { color: var(--ink-3); font-size: 11px; }
.dt-main .amt { font-weight: 700; color: var(--moss-700); }
.dt-main .pill {
  background: var(--hay-100); color: var(--hay-700);
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
}

/* Banner */
.banner {
  background: var(--hay-100);
  color: var(--hay-700);
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  margin-bottom: 24px;
  border: 1px solid var(--hay-200);
  display: flex; gap: 10px; align-items: flex-start;
}
.banner b { color: var(--ink); }



/* phone mascot as image */
.mascot.mascot-img {
  background: transparent !important;
  padding: 0 !important;
  overflow: visible;
}
.mascot.mascot-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}


/* ====== 10 LEVELS GRID ====== */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.level {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 12px 14px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.level:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.level img {
  width: 110px; height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(31,33,22,.10));
}
.level figcaption {
  font-size: 13px; color: var(--ink-2);
  line-height: 1.3;
}
.level figcaption b {
  display: block; color: var(--ink); font-weight: 700;
  font-size: 14px; margin-bottom: 2px;
}
.level.legend {
  background: linear-gradient(135deg, #fff8e1, #fef3c7);
  border-color: var(--hay-200);
}
@media (max-width: 900px) {
  .levels-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ====== p-greet BIG mascot variant ====== */
.p-greet.p-greet-big {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 8px;
  align-items: end;
  padding-right: 10px;
  padding-bottom: 0;
  overflow: hidden; /* crops the mascot at waist */
  min-height: 150px;
}
.p-greet.p-greet-big .p-greet-text {
  z-index: 2;
  padding: 12px 0 12px 14px;
  max-width: calc(100% - 110px);
  align-self: start;
}
.p-greet.p-greet-big .p-greet-text .stats { white-space: nowrap; }
.p-greet.p-greet-big .p-greet-text .stats .stat { white-space: nowrap; }
.p-greet.p-greet-big .mascot-crop {
  position: absolute;
  right: -8px;
  bottom: -32px;
  width: 150px;
  height: 180px;
  z-index: 1;
  pointer-events: none;
}
.p-greet.p-greet-big .mascot-crop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(31,33,22,.10));
}
/* kid variant: smaller mascot so the whole card is ~20px shorter */
.p-greet.p-greet-big.p-greet-kid {
  min-height: 130px;
  align-items: start;
}
.p-greet.p-greet-big.p-greet-kid .p-greet-text { padding-top: 10px; padding-bottom: 8px; }
.p-greet.p-greet-big.p-greet-kid .mascot-crop {
  width: 130px;
  height: 155px;
  bottom: -28px;
}

/* speech bubble */
.p-bubble {
  position: absolute;
  top: 8px; right: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  max-width: 130px;
  box-shadow: 0 2px 8px rgba(31,33,22,.12);
  z-index: 3;
  text-align: left;
}
.p-bubble small {
  display: block;
  font-weight: 400;
  font-size: 9px;
  color: var(--ink-3);
  margin-top: 2px;
  line-height: 1.3;
}
.p-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px; right: 24px;
  width: 12px; height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 2px 2px 4px rgba(31,33,22,.06);
}
.p-bubble.bubble-kid {
  background: #fff;
  color: var(--ink);
}


/* Fix for shot-text list rendering on Trofea section */
.shot-text { min-width: 0; }
.shot-text ul { min-width: 0; }
.shot-text ul li { min-width: 0; word-break: normal; overflow-wrap: anywhere; }
.shot-text ul li > * { min-width: 0; }

/* ====== ARTICLE — RICH LAYOUT ====== */
.article-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.article-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
}
.article-hero .eyebrow { margin-bottom: 14px; }
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.article-hero .meta-row {
  display: flex; gap: 14px; align-items: center;
  color: var(--ink-3); font-size: 14px;
  margin-bottom: 22px;
}
.article-hero .meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); display: inline-block; }
.article-hero .lead {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  font-weight: 500; max-width: 56ch;
}
.article-hero .mascot-wrap {
  display: flex; justify-content: center;
}
.article-hero .mascot-wrap img {
  max-width: 280px; width: 100%; height: auto;
  filter: drop-shadow(0 18px 28px rgba(31,33,22,.10));
}
@media (max-width: 760px) {
  .article-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .article-hero .mascot-wrap { order: -1; }
  .article-hero .mascot-wrap img { max-width: 200px; }
}

.article-body {
  padding: 56px 0 80px;
  background: var(--paper);
}
.article-body .doc {
  background: transparent;
  border: 0;
  padding: 0;
  max-width: 720px;
}
.article-body .doc h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 32px);
  letter-spacing: -0.015em;
  margin: 56px 0 18px;
  position: relative;
  padding-left: 16px;
}
.article-body .doc h2::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 4px;
  background: var(--moss-500);
  border-radius: 2px;
}
.article-body .doc h2:first-child { margin-top: 0; }
.article-body .doc h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--ink);
}
.article-body .doc p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.article-body .doc p strong { color: var(--ink); }
.article-body .doc ul, .article-body .doc ol {
  font-size: 17px; line-height: 1.7;
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
}
.article-body .doc ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.article-body .doc ul li::before {
  content: "";
  position: absolute;
  left: 6px; top: 12px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--moss-500);
}
.article-body .doc ol {
  counter-reset: stepnum;
  padding-left: 0;
}
.article-body .doc ol > li {
  counter-increment: stepnum;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
  min-height: 32px;
}
.article-body .doc ol > li::before {
  content: counter(stepnum);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--moss-700);
  color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  font-family: var(--sans);
}

/* Pull quote */
.pull-quote {
  margin: 36px 0;
  padding: 28px 32px 28px 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--hay-500);
  border-radius: var(--r-lg);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
  letter-spacing: -0.005em;
}
.pull-quote::before {
  content: "“";
  position: absolute;
  left: 18px; top: -8px;
  font-family: var(--serif);
  font-size: 72px;
  color: var(--hay-500);
  line-height: 1;
}

/* Mascot callout */
.mascot-callout {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: center;
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--moss-50, #ecf3e3);
  border: 1px solid var(--moss-100, #d3e3c2);
  border-radius: var(--r-lg);
}
.mascot-callout.warm {
  background: var(--cream);
  border-color: var(--line);
}
.mascot-callout.warn {
  background: #fff7e6;
  border-color: #f4dba6;
}
.mascot-callout > img {
  width: 110px; height: auto;
  filter: drop-shadow(0 10px 18px rgba(31,33,22,.08));
}
.mascot-callout .mc-body { min-width: 0; }
.mascot-callout .mc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss-700);
  margin-bottom: 4px;
}
.mascot-callout.warn .mc-label { color: #b87900; }
.mascot-callout .mc-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.mascot-callout p {
  margin: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
}
@media (max-width: 600px) {
  .mascot-callout { grid-template-columns: 1fr; text-align: center; }
  .mascot-callout > img { width: 90px; margin: 0 auto; }
}

/* Age cards / structured cards */
.cat-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px 0 32px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  position: relative;
}
.cat-card .cat-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.cat-card.cat-free .cat-tag { background: var(--moss-100,#dbecc6); color: var(--moss-700); }
.cat-card.cat-paid .cat-tag { background: #fff1cf; color: #8a6500; }
.cat-card .cat-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.cat-card p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

/* Key stat block */
.stat-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin: 28px 0;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.stat-block .stat-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  color: var(--moss-700);
  letter-spacing: -0.02em;
}
.stat-block .stat-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.stat-block .stat-text strong { color: var(--ink); }

/* Article footer / next */
.article-foot {
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.article-foot a {
  color: var(--moss-700);
  font-weight: 600;
  font-size: 15px;
}
.article-foot .read-more-card {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 12px 16px;
  text-decoration: none;
  max-width: 380px;
  transition: transform .15s, box-shadow .15s;
}
.article-foot .read-more-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-foot .read-more-card img { width: 50px; height: 50px; object-fit: contain; }
.article-foot .read-more-card .rmc-text { color: var(--ink-3); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.article-foot .read-more-card .rmc-title { color: var(--ink); font-family: var(--serif); font-size: 15.5px; line-height: 1.25; margin-top: 2px; }

/* Section eyebrow inline (for inside article) */
.inline-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss-700);
  background: var(--moss-100,#dbecc6);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
