/* ==========================================================================
   PeekaBooks – design system
   Brand: deep navy ink, warm cream paper, sky-blue mascot accent.
   ========================================================================== */

/* Self-hosted fonts (latin subset): no third-party requests, faster first paint */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/dm-sans-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-latin-700.woff2") format("woff2"); }

:root {
  --ink: #0d3446;
  --ink-2: #134660;
  --ink-3: #1b5574;
  --brand: #1a4e6b;
  --sky: #97c7e1;
  --sky-soft: #dcebf5;
  --cream: #f2eedc;
  --cream-2: #e9e3ca;
  --paper: #fbf9f2;
  --stone: #c7c4b4;
  --taupe: #8c7a65;
  --text: #1d1e20;
  --muted: #4f565c;
  --line: rgba(13, 52, 70, 0.14);
  --line-strong: rgba(13, 52, 70, 0.24);
  --ok: #2c7a57;

  --font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 52, 70, 0.06), 0 4px 14px -6px rgba(13, 52, 70, 0.14);
  --shadow: 0 1px 2px rgba(13, 52, 70, 0.06), 0 22px 48px -22px rgba(13, 52, 70, 0.32);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); font-weight: 400; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75em 1.35em;
  font: 600 0.98rem/1.2 var(--font-head); letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); box-shadow: 0 10px 22px -12px rgba(13, 52, 70, 0.7); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn-light { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.btn-light:hover { --btn-bg: #fff; --btn-bd: #fff; }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(242, 238, 220, 0.4); }
.btn-ghost-light:hover { --btn-bd: var(--cream); }
.btn-sm { min-height: 42px; padding: 0.55em 1.1em; font-size: 0.92rem; white-space: nowrap; }
.btn-lg { min-height: 56px; padding: 0.9em 1.7em; font-size: 1.05rem; }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Mascot ---------- */
.mascot { width: 100%; height: auto; overflow: visible; }
.mascot-face { transform-box: fill-box; }
.mascot-eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes peek { 0% { transform: translateY(34%); } 55% { transform: translateY(-3%); } 100% { transform: translateY(0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 238, 220, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(13, 52, 70, 0.5); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); flex-shrink: 0; }
.brand .mascot { width: 40px; }
.brand:hover .mascot-face { animation: peek 0.6s ease; }
.brand-word { font: 600 1.42rem/1 var(--font-head); letter-spacing: -0.03em; color: var(--brand); }
.brand-light .brand-word { color: var(--cream); }

.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 999px;
  font: 500 0.95rem/1 var(--font-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover { background: rgba(13, 52, 70, 0.07); color: var(--ink); }
.nav-link[aria-current="page"] { background: rgba(13, 52, 70, 0.09); font-weight: 700; }
.chev { width: 12px; height: 12px; transition: transform 0.2s ease; }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.has-sub { position: relative; }
.sub-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 10px); left: -12px; width: 300px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); line-height: 1.3; }
.sub-menu a:hover { background: var(--sky-soft); }
.sub-menu strong { display: block; font: 600 0.95rem/1.3 var(--font-head); letter-spacing: -0.01em; }
.sub-menu span { font-size: 0.86rem; color: var(--muted); }

.nav-toggle { display: none; }

@media (max-width: 1140px) {
  /* backdrop-filter would become the containing block of the fixed menu panel */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
    background: var(--ink); border: 0; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: var(--cream); border-radius: 2px; position: relative; transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 32px; margin: 0;
    background: var(--cream); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; font: 600 1.2rem/1.2 var(--font-head); letter-spacing: -0.02em; }
  .nav-link:hover, .nav-link[aria-current="page"] { background: none; }
  .sub-menu { position: static; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .nav-cta { min-height: 54px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 0.88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--stone); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Generic sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: rgba(242, 238, 220, 0.86); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark a:not(.btn) { color: var(--sky); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.section-dark .section-head p { color: rgba(242, 238, 220, 0.78); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font: 600 0.8rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(151, 199, 225, 0.35); }
.section-dark .eyebrow { color: var(--sky); }
.hl { position: relative; white-space: nowrap; color: var(--brand); }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.04em; height: 0.3em; z-index: -1;
  background: var(--sky); opacity: 0.6; border-radius: 4px; transform: skewX(-8deg);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.26rem); color: var(--muted); max-width: 40em; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  /* faint ledger lines – a nod to the account book */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(13, 52, 70, 0.06) 39px 40px);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(151, 199, 225, 0.55), rgba(151, 199, 225, 0) 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ink);
  display: inline-grid; place-items: center;
}
.check::after { content: ""; width: 9px; height: 5px; border: solid var(--cream); border-width: 0 0 2px 2px; transform: translate(0, -1px) rotate(-45deg); }

.hero-visual { position: relative; padding-top: 92px; }
.filing-card {
  position: relative; z-index: 2;
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  padding: 28px clamp(20px, 3vw, 32px) 24px;
}
/* The mascot sits behind the card, so it looks like it's peeking over the top */
.hero-visual > .mascot-peek {
  position: absolute; z-index: 1; left: 50%; top: 0; width: 150px; transform: translateX(-50%);
}
.hero-visual > .mascot-peek .mascot-face { animation: peek 1.1s 0.35s cubic-bezier(.3,1.4,.5,1) both; }
.fc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-strong); margin-bottom: 8px; }
.fc-head strong { font: 600 1.05rem/1.3 var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.fc-head span { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.fc-rows { list-style: none; margin: 0; padding: 0; }
.fc-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.fc-rows li:last-child { border-bottom: 0; }
.fc-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--ok); background: rgba(44, 122, 87, 0.1); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.fc-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fc-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 16px 18px; background: var(--ink); color: var(--cream); border-radius: 16px; }
.fc-total span { font-size: 0.92rem; opacity: 0.85; }
.fc-total strong { font: 700 1.6rem/1 var(--font-head); letter-spacing: -0.03em; }
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  font: 600 0.88rem/1.2 var(--font-head); color: var(--ink); letter-spacing: -0.01em;
}
.float-chip small { display: block; font: 500 0.75rem/1.2 var(--font-body); color: var(--muted); letter-spacing: 0; }
.chip-a { left: -24px; bottom: -28px; animation: float 6s ease-in-out infinite; }
.chip-b { right: -16px; top: 22px; animation: float 6s 1.5s ease-in-out infinite; }
.chip-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-soft); color: var(--brand); flex-shrink: 0; }
.chip-icon svg { width: 18px; height: 18px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(151, 199, 225, 0.5), rgba(151, 199, 225, 0) 65%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-hero.wide h1 { max-width: 22ch; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.price-badge {
  min-width: 240px; padding: 24px 26px; border-radius: var(--radius); background: var(--ink); color: var(--cream); box-shadow: var(--shadow);
}
.price-badge .label { font: 600 0.78rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); }
.price-badge .amount { font: 700 3.4rem/1 var(--font-head); letter-spacing: -0.04em; margin: 10px 0 6px; color: var(--cream); }
.price-badge .amount span { font-size: 0.55em; vertical-align: 0.6em; margin-right: 2px; }
.price-badge p { margin: 0 0 16px; font-size: 0.92rem; opacity: 0.85; }
.price-badge .btn { width: 100%; }

/* ---------- Answer box (AEO) ---------- */
.answer-box {
  position: relative; padding: 24px 26px 24px 28px; margin: 0 0 40px;
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--sky); border-radius: var(--radius-md);
}
.answer-box .answer-label { font: 600 0.78rem/1 var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 10px; display: block; }
.answer-box p:last-child { margin-bottom: 0; }
.answer-box p { font-size: 1.08rem; color: var(--ink); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--sky); margin-bottom: 22px; }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar p { color: var(--muted); margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-tag { align-self: flex-start; font: 600 0.75rem/1 var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--sky-soft); color: var(--brand); margin-bottom: 18px; }
.price-title { font-size: 1.14rem; min-height: 2.5em; margin-bottom: 14px; }
.price-title a { color: inherit; text-decoration: none; }
.price-title a:hover { text-decoration: underline; }
.price { font: 700 3.3rem/1 var(--font-head); letter-spacing: -0.045em; color: var(--ink); margin: 0 0 6px; }
.price-cur { font-size: 0.5em; vertical-align: 0.75em; margin-right: 2px; font-weight: 600; }
.price-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 0.96rem; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4 7.7 12 13 6.5' fill='none' stroke='%231a4e6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.price-card .btn { margin-top: auto; width: 100%; }
.price-card-feature { background: var(--ink); border-color: var(--ink); color: rgba(242, 238, 220, 0.88); }
.price-card-feature .price-title, .price-card-feature .price { color: var(--cream); }
.price-card-feature .price-tag { background: rgba(151, 199, 225, 0.18); color: var(--sky); }
.price-card-feature .price-sub { color: rgba(242, 238, 220, 0.7); }
.price-card-feature .ticks li::before { background-color: rgba(151, 199, 225, 0.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4 7.7 12 13 6.5' fill='none' stroke='%2397c7e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.other-services {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px;
  padding: 26px 28px; border-radius: var(--radius); border: 1.5px dashed var(--line-strong);
}
.other-services h3 { margin-bottom: 6px; }
.other-services p { margin: 0; color: var(--muted); max-width: 62ch; }
.other-services .btn { flex-shrink: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(151, 199, 225, 0.14); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 700 0.9rem/1 var(--font-head); color: var(--ink); background: var(--sky);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; font-size: 0.98rem; color: rgba(242, 238, 220, 0.78); }
.steps-light .step { background: var(--paper); border-color: var(--line); }
.steps-light .step p { color: var(--muted); }
.steps-light .step::before { background: var(--ink); color: var(--cream); }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.aud-card {
  display: flex; gap: 20px; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.aud-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.aud-card .pillar-icon { margin: 0; flex-shrink: 0; background: var(--sky-soft); color: var(--brand); }
.aud-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.aud-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.aud-card .more { display: inline-block; margin-top: 10px; font: 600 0.9rem/1 var(--font-head); color: var(--brand); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-visual {
  position: relative; aspect-ratio: 1 / 0.9; border-radius: 32px; background: var(--ink); overflow: hidden;
  display: grid; place-items: center;
}
.split-visual::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(151, 199, 225, 0.09) 35px 36px);
}
.split-visual .mascot { width: 52%; position: relative; }
.split-visual .mascot .mascot-face { animation: peek 1.2s cubic-bezier(.3,1.4,.5,1) both; animation-play-state: paused; }
.split-visual.is-visible .mascot .mascot-face { animation-play-state: running; }
.quote { font: 500 clamp(1.25rem, 2.2vw, 1.55rem)/1.4 var(--font-head); color: var(--ink); letter-spacing: -0.02em; margin: 24px 0; padding-left: 20px; border-left: 4px solid var(--sky); }

/* ---------- Calculator teaser & tool ---------- */
.tool-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--sky-soft); border: 1px solid rgba(26, 78, 107, 0.16);
}
.tool-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.mini-cal { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.mini-cal dl { margin: 0; display: grid; gap: 0; }
.mini-cal dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.mini-cal dl > div:last-child { border: 0; }
.mini-cal dt { color: var(--muted); }
.mini-cal dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

.calc { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start; }
.calc-form, .calc-results { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.calc-results { background: var(--ink); color: rgba(242, 238, 220, 0.85); border-color: var(--ink); }
.calc-results h2 { color: var(--cream); font-size: 1.35rem; }
.deadline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.deadline { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--ink-2); border: 1px solid rgba(151, 199, 225, 0.14); }
.deadline-name { font: 600 1rem/1.3 var(--font-head); color: var(--cream); letter-spacing: -0.01em; }
.deadline-who { font-size: 0.85rem; color: rgba(242, 238, 220, 0.65); }
.deadline-date { grid-row: 1 / span 2; grid-column: 2; text-align: right; font: 700 1.15rem/1.2 var(--font-head); color: var(--sky); }
.deadline-date small { display: block; font: 500 0.8rem/1.3 var(--font-body); color: rgba(242, 238, 220, 0.7); }
.deadline.is-overdue .deadline-date { color: #f2b8a2; }
.calc-empty { padding: 26px; border-radius: 16px; border: 1.5px dashed rgba(151, 199, 225, 0.3); text-align: center; }
.calc-note { font-size: 0.88rem; color: rgba(242, 238, 220, 0.65); margin: 18px 0 0; }
.calc-period { margin: 0 0 14px; font-size: 0.92rem; color: rgba(242, 238, 220, 0.75); }
.calc-notice { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(151, 199, 225, 0.14); border: 1px solid rgba(151, 199, 225, 0.3); font-size: 0.9rem; line-height: 1.5; color: var(--cream); }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--cream-2); border-radius: 14px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 11px 10px; border-radius: 10px; text-align: center; font: 600 0.92rem/1.2 var(--font-head); color: var(--muted); transition: background-color 0.15s ease, color 0.15s ease; }
.segmented input:checked + span { background: var(--ink); color: var(--cream); }
.segmented input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.form-error { margin: 0 0 14px; color: #8a3418; font-weight: 500; font-size: 0.95rem; }
.form-error:empty { display: none; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field .label { font: 600 0.92rem/1.3 var(--font-head); color: var(--ink); letter-spacing: -0.005em; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(151, 199, 225, 0.45); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; margin-bottom: 18px; }
.check-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: rgba(44, 122, 87, 0.12); color: #1e5a40; }
.form-status.is-error { display: block; background: rgba(180, 70, 40, 0.1); color: #8a3418; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.info-stack { display: grid; gap: 16px; }
.info-card { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.info-card h2, .info-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.info-card p:last-child, .info-card ol:last-child { margin-bottom: 0; }
.info-card ol { padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-list.center { margin: 0 auto; }
.faq-item { border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); transition: box-shadow 0.2s ease; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 64px 20px 24px; font: 600 1.06rem/1.4 var(--font-head); color: var(--ink); letter-spacing: -0.012em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M10 15h10M15 10v10' stroke='%230d3446' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--muted); }
.faq-a p:last-child, .faq-a ul:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 18px; }

/* ---------- Prose (service / legal pages) ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--brand); }
.prose .ticks { margin-bottom: 1.4em; }
.prose .ticks li { margin: 0; }
.updated { font-size: 0.88rem; color: var(--muted); }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.aside-card li a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.aside-card li:last-child a { border: 0; }
.aside-card li a:hover { color: var(--brand); }
.aside-card li a span { color: var(--muted); font-weight: 600; }
.aside-dark { background: var(--ink); border-color: var(--ink); color: rgba(242, 238, 220, 0.85); }
.aside-dark h2 { color: var(--cream); }
.aside-dark .btn { width: 100%; margin-top: 6px; }

.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.table-wrap table { min-width: 560px; font-size: 0.97rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { font: 600 0.85rem/1.3 var(--font-head); color: var(--ink); background: var(--cream-2); letter-spacing: 0; }
.table-wrap tbody tr:last-child td, .table-wrap tbody tr:last-child th { border-bottom: 0; }
.table-wrap tbody th { font-weight: 600; color: var(--ink); }
.table-wrap td.num, .table-wrap th.num { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); overflow: hidden; }
.facts > div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts dt { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: block; padding: 22px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related strong { display: block; font: 600 1.05rem/1.3 var(--font-head); letter-spacing: -0.01em; margin-bottom: 4px; }
.related span { font-size: 0.92rem; color: var(--muted); }

.decision { display: grid; gap: 12px; counter-reset: q; list-style: none; padding: 0; margin: 0; }
.decision li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.decision li p { margin: 0; color: var(--ink); font-weight: 500; }
.decision li a { font: 600 0.95rem/1.2 var(--font-head); white-space: nowrap; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.partner-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-card-logo { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 32px 40px; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(151, 199, 225, 0.22), transparent 70%); border-bottom: 1px solid var(--line); }
.partner-card-logo img { width: 100%; max-width: 300px; max-height: 100%; height: auto; object-fit: contain; transition: transform 0.3s ease; }
.partner-card:hover .partner-card-logo img { transform: scale(1.03); }
.partner-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 26px 28px 28px; }
.partner-card-body h3 { margin: 0; font-size: 1.35rem; }
.partner-card-body p { margin: 0; color: var(--muted); }
.partner-card-body .partner-card-tag { font: 600 0.78rem/1.2 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.partner-card-link { margin-top: auto; padding-top: 12px; font: 600 0.95rem/1.2 var(--font-head); text-decoration: none; }
.partner-card-link:hover { text-decoration: underline; }
/* Only one partner: a wide card that gives the logo room */
.partner-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.partner-grid.is-single .partner-card { flex-direction: row; }
.partner-grid.is-single .partner-card-logo { flex: 0 0 46%; aspect-ratio: auto; min-height: 280px; padding: 48px 56px; border-bottom: 0; border-right: 1px solid var(--line); }
.partner-grid.is-single .partner-card-logo img { max-width: 380px; }
.partner-grid.is-single .partner-card-body { justify-content: center; gap: 12px; padding: clamp(28px, 4vw, 48px); }
.partner-grid.is-single .partner-card-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.partner-grid.is-single .partner-card-body p:not(.partner-card-tag) { font-size: 1.08rem; max-width: 46ch; }
.partner-grid.is-single .partner-card-link { flex: 0; }

/* ---------- CTA band ---------- */
.cta-section { padding-top: 0; }
.cta-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--ink); color: rgba(242, 238, 220, 0.82);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 92% 10%, rgba(151, 199, 225, 0.28), transparent 45%);
}
.cta-band h2 { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.3em; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-mascot { width: 120px; position: relative; }
.cta-mascot .mascot-face { animation: peek 1.2s cubic-bezier(.3,1.4,.5,1) both; animation-play-state: paused; }
.cta-band.is-visible .cta-mascot .mascot-face { animation-play-state: running; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(242, 238, 220, 0.75); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 0.96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer a { color: rgba(242, 238, 220, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { max-width: 34ch; margin: 18px 0 20px; }
.footer-brand .brand .mascot { width: 44px; }
.footer-title { font: 600 0.8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; color: var(--sky); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col address { margin-bottom: 12px; line-height: 1.7; }
.footer-col address strong { color: var(--cream); }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(242, 238, 220, 0.22); transition: background-color 0.2s ease, border-color 0.2s ease; }
.social a:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(242, 238, 220, 0.14); font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; }

/* ---------- Blog ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cat-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font: 600 0.9rem/1 var(--font-head); color: var(--ink); text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.cat-pill:hover { border-color: var(--ink); color: var(--ink); }
.cat-pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-featured { margin-bottom: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-media { display: block; }
.post-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--cream-2); }
.post-cover-fallback {
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: var(--ink) repeating-linear-gradient(to bottom, transparent 0 27px, rgba(151, 199, 225, 0.1) 27px 28px);
}
.post-cover-fallback span { font: 700 clamp(1.1rem, 2.4vw, 1.6rem)/1 var(--font-head); color: var(--sky); letter-spacing: -0.02em; }
.post-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.post-cat { align-self: flex-start; font: 600 0.74rem/1 var(--font-head); letter-spacing: 0.05em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--sky-soft); color: var(--brand); text-decoration: none; }
.post-cat:hover { background: var(--ink); color: var(--cream); }
.post-card-title { font-size: 1.2rem; line-height: 1.25; margin: 0; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; }
.post-card-excerpt { margin: 0; color: var(--muted); font-size: 0.97rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { margin: auto 0 0; font-size: 0.86rem; color: var(--muted); }
.post-card-featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card-featured .post-card-media { height: 100%; }
.post-card-featured .post-cover { height: 100%; }
.post-card-featured .post-card-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.post-card-featured .post-card-title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.025em; }
.post-card-featured .post-card-excerpt { -webkit-line-clamp: 4; font-size: 1.05rem; }
.post-card-featured .post-meta { margin-top: 6px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.page-link { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); color: var(--ink); text-decoration: none; font: 600 0.92rem/1 var(--font-head); }
.page-link:hover { border-color: var(--ink); color: var(--ink); }
.page-link.is-current { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.feed-link { margin: 28px 0 0; text-align: center; font-size: 0.9rem; }

.post-header { padding-top: clamp(20px, 4vw, 40px); padding-bottom: clamp(24px, 4vw, 36px); }
.post-header h1, .post-header .lead { max-width: 860px; }
.post-header h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 18px 0 16px; }
.post-header .lead { margin-bottom: 14px; }
.post-header .post-meta { font-size: 0.92rem; }
.post-cover-wrap .post-cover { border-radius: 28px; box-shadow: var(--shadow); }
.post-cover-wrap .post-cover-fallback { border-radius: 28px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--section); }
.post-body { font-size: 1.1rem; line-height: 1.75; max-width: 70ch; }
.post-body h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.post-body h3 { font-size: 1.25rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.post-body blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--sky); background: var(--paper); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--ink); }
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body code { font-size: 0.92em; background: var(--cream-2); padding: 2px 6px; border-radius: 6px; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post-body .table-wrap table { min-width: 480px; font-size: 0.97rem; line-height: 1.5; }
.post-body table th, .post-body table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body table thead th { font: 600 0.88rem/1.3 var(--font-head); background: var(--cream-2); color: var(--ink); }
.post-body table tbody tr:last-child td { border-bottom: 0; }

.toc { padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.toc-title { font: 600 0.78rem/1 var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 0.93rem; line-height: 1.4; }
.toc li::marker { color: var(--brand); font-weight: 600; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.toc-mobile { display: none; margin-bottom: 28px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); }
.toc-mobile summary { cursor: pointer; padding: 16px 20px; font: 600 1rem/1.3 var(--font-head); color: var(--ink); }
.toc-mobile .toc { border: 0; padding-top: 0; background: none; }
.toc-mobile .toc-title { display: none; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 36px 0 0; }
.post-tags li { font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; background: var(--cream-2); color: var(--muted); }
.post-author { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.post-author-mascot { width: 72px; flex-shrink: 0; }
.post-author p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.post-author .post-author-name { font: 600 1.05rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.post-disclaimer { margin: 20px 0 0; font-size: 0.86rem; color: var(--muted); }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }
.notfound .mascot { width: 180px; margin: 0 auto 28px; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { display: none; }
  .toc-mobile { display: block; }
  .post-body { max-width: none; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .partner-grid.is-single .partner-card { flex-direction: column; }
  .partner-grid.is-single .partner-card-logo { flex: none; min-height: 0; aspect-ratio: 16 / 7; padding: 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-grid, .split, .tool-card, .calc, .contact-grid, .content-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .price-badge { min-width: 0; max-width: 360px; }
  .cta-band { grid-template-columns: 1fr; text-align: left; }
  .cta-mascot { width: 92px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .aside-sticky { position: static; }
  .other-services { flex-direction: column; align-items: flex-start; }
  .split-visual { order: -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .price-grid, .steps { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-card-featured { grid-template-columns: minmax(0, 1fr); }
  .post-body { font-size: 1.04rem; }
  .post-cover-wrap .post-cover, .post-cover-wrap .post-cover-fallback { border-radius: 18px; }
  .post-author { flex-direction: column; align-items: flex-start; }
  .price-title { min-height: 0; }
  .field-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div:nth-child(odd) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual > .mascot-peek { left: 30%; width: 132px; top: 8px; }
  .chip-a { left: 8px; bottom: -30px; }
  .chip-b { right: -4px; top: 14px; }
  .fc-head { flex-direction: column; gap: 4px; }
  .decision li { grid-template-columns: 1fr; gap: 6px; }
  .aud-card { flex-direction: column; gap: 14px; }
  .hl { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-section, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
