/* ==========================================================================
   Nebu — website/styles.css
   Brand: sage green + warm cream, editorial layout, mascot-forward visuals.
   ========================================================================== */

/* ───────────────────────── Design Tokens ───────────────────────── */
:root {
  /* Palette */
  --sage-900: #1C4030;
  --sage-800: #2A5C40;
  --sage-600: #3E9A6C;
  --sage-400: #7BC9A0;
  --sage-200: #C6E4D4;
  --sage-100: #E6F2EC;

  --cream-50: #FBF9F4;
  --cream-100: #F4F1EA;
  --cream-200: #E9E3D4;

  --ink-900: #1A1D1B;
  --ink-700: #363B38;
  --ink-500: #6B7470;
  --ink-400: #8C948F;
  --ink-300: #B4BAB6;

  --amber-600: #F0A030;
  --amber-100: #FCEBC9;
  --rose-600: #E5644E;

  /* Surfaces */
  --bg: var(--cream-50);
  --surface: #FFFFFF;
  --surface-muted: var(--cream-100);
  --border: rgba(26, 29, 27, 0.08);
  --border-strong: rgba(26, 29, 27, 0.14);

  /* Text */
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-faint: var(--ink-400);

  /* Type */
  --font-sans: 'DM Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', var(--font-sans);

  /* Radius + shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-soft: 0 1px 2px rgba(26, 29, 27, 0.04), 0 8px 24px -8px rgba(26, 29, 27, 0.08);
  --shadow-raised: 0 2px 6px rgba(26, 29, 27, 0.06), 0 24px 48px -16px rgba(26, 29, 27, 0.14);
  --shadow-glow: 0 32px 64px -24px rgba(62, 154, 108, 0.35);

  /* Layout */
  --page-max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1411;
    --surface: #17201C;
    --surface-muted: #1C2620;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #F0F3F1;
    --text-muted: #A7B0AC;
    --text-faint: #6F7874;

    --cream-100: #1C2620;
    --cream-200: #25302A;
    --sage-100: rgba(62, 154, 108, 0.12);
    --sage-200: rgba(62, 154, 108, 0.2);

    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -8px rgba(0, 0, 0, 0.6);
    --shadow-raised: 0 2px 6px rgba(0, 0, 0, 0.5), 0 24px 48px -16px rgba(0, 0, 0, 0.8);
  }
}

/* ───────────────────────── Reset ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: var(--sage-600);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--sage-800); }

button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--text-muted); }
strong { color: var(--text); }

/* ───────────────────────── Layout Shell ───────────────────────── */
.page-shell {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

section.section {
  padding: clamp(48px, 9vw, 96px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-800);
  background: var(--sage-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow span {
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sage-600);
  text-transform: none;
  font-size: 0.72rem;
}

/* Global decorative backdrop */
.site-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(700px circle at 10% -10%, rgba(62, 154, 108, 0.12), transparent 60%),
    radial-gradient(600px circle at 95% 15%, rgba(240, 160, 48, 0.08), transparent 60%),
    radial-gradient(800px circle at 50% 110%, rgba(62, 154, 108, 0.10), transparent 60%);
}

/* ───────────────────────── Top Bar ───────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--border); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 6px 14px -6px rgba(62, 154, 108, 0.55);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.93rem;
  font-weight: 500;
}
.nav a { color: var(--text-muted); }
.nav a:hover { color: var(--text); }

.nav-docs {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-docs a { color: var(--text-muted); }
.nav-docs a:hover { color: var(--text); }

.doc-cta {
  background: var(--sage-600);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(62, 154, 108, 0.6);
}
.doc-cta:hover { background: var(--sage-800); }

/* Language switch (segmented pill) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] {
  background: var(--sage-600);
  color: #fff;
}

@media (max-width: 780px) {
  .nav { display: none; }
  .topbar { gap: 12px; }
}
@media (max-width: 520px) {
  .nav-docs a:not(.doc-cta) { display: none; }
}

/* ───────────────────────── Buttons ───────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.button:active { transform: translateY(1px) scale(0.99); }

.button-primary {
  background: var(--sage-600);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.button-primary:hover { background: var(--sage-800); color: #fff; }

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.button-secondary:hover { background: var(--cream-100); color: var(--text); }

.button-ghost {
  background: transparent;
  color: var(--sage-800);
}
.button-ghost:hover { color: var(--sage-600); }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-top: clamp(40px, 8vw, 96px);
  padding-bottom: clamp(48px, 9vw, 120px);
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-text {
  font-size: 1.08rem;
  max-width: 46ch;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
}
.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.hero-metric strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sage-800);
  letter-spacing: -0.02em;
}
.hero-metric span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  background: radial-gradient(closest-side, rgba(62, 154, 108, 0.25), transparent 70%);
  filter: blur(40px);
}
.hero-art .mascot {
  position: relative;
  width: min(420px, 85%);
  filter: drop-shadow(0 30px 40px rgba(28, 64, 48, 0.25));
  animation: hero-float 4.2s ease-in-out infinite;
}
.hero-art .chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--border);
}
.hero-art .chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-600);
  box-shadow: 0 0 0 4px rgba(62, 154, 108, 0.18);
}
.chip-a { top: 10%; right: 6%; animation: chip-float 5s ease-in-out infinite; }
.chip-b { bottom: 18%; left: 4%; animation: chip-float 6s ease-in-out infinite 0.7s; }
.chip-b .dot { background: var(--amber-600); box-shadow: 0 0 0 4px rgba(240, 160, 48, 0.25); }

@keyframes hero-float {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(8px); }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(-4px); }
  50%      { transform: translateY(4px); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { min-height: 320px; order: -1; }
  .hero-art .mascot { width: min(300px, 70%); }
  .hero-metrics { max-width: none; }
}

/* ───────────────────────── Feature Grid ───────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised);
  border-color: var(--border-strong);
}
.feature-card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sage-100);
  color: var(--sage-800);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 6px; }
.feature-card p  { margin: 0; font-size: 0.94rem; }

/* ───────────────────────── Section Titles ───────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-header .title-block { max-width: 640px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p  { margin: 0; color: var(--text-muted); }

/* ───────────────────────── Steps (How It Works) ───────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--sage-400);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.step-card h3 { margin-bottom: 6px; }
.step-card p  { margin: 0; font-size: 0.94rem; }

/* ───────────────────────── Split Panel (feature showcase) ───────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 48px);
  background: linear-gradient(135deg, var(--sage-900), var(--sage-800));
  border-radius: var(--radius-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.showcase::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 600px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(123, 201, 160, 0.35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.showcase h2 { color: #fff; margin-bottom: 14px; }
.showcase p  { color: rgba(255, 255, 255, 0.82); margin-bottom: 24px; }
.showcase .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(123, 201, 160, 0.2);
  color: var(--sage-400);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.showcase-art {
  position: relative;
  display: grid;
  place-items: center;
}
.showcase-art img {
  width: min(360px, 100%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; text-align: left; }
  .showcase-art img { width: min(240px, 70%); }
}

/* ───────────────────────── Privacy Highlight Strip ───────────────────────── */
.privacy-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.privacy-strip .art {
  background: linear-gradient(135deg, var(--sage-100), var(--cream-100));
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}
.privacy-strip .art img { width: 80%; }
.privacy-strip ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}
.privacy-strip li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}
.privacy-strip li::before {
  content: "✓";
  color: var(--sage-600);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .privacy-strip { grid-template-columns: 1fr; }
  .privacy-strip .art { aspect-ratio: auto; }
}

/* ───────────────────────── FAQ ───────────────────────── */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--sage-400); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--sage-600);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ───────────────────────── Final CTA ───────────────────────── */
.final-cta {
  text-align: center;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 5vw, 56px);
  background: linear-gradient(135deg, var(--sage-100), var(--cream-100));
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.final-cta img {
  width: 140px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 18px 30px rgba(28, 64, 48, 0.18));
}
.final-cta h2 { margin-bottom: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }
.final-cta p  { max-width: 540px; margin-left: auto; margin-right: auto; margin-bottom: 28px; }

/* ───────────────────────── Footer ───────────────────────── */
.footer {
  margin-top: clamp(48px, 7vw, 88px);
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer strong {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ───────────────────────── Document Pages (privacy / terms / guide) ───────────────────────── */
.doc-page main { padding-bottom: 40px; }

.doc-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.doc-hero h1 { max-width: 20ch; margin-bottom: 16px; }
.doc-hero > div > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 28px;
}
.doc-hero img {
  width: min(340px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(28, 64, 48, 0.18));
  animation: hero-float 4.2s ease-in-out infinite;
}
.doc-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .doc-hero { grid-template-columns: 1fr; }
  .doc-hero img { width: min(220px, 60%); order: -1; }
}

.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; }
}

.side-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}
.side-nav strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.side-nav a {
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}
.side-nav a:hover {
  background: var(--sage-100);
  color: var(--sage-800);
}
@media (max-width: 900px) {
  .side-nav { position: static; }
}

.doc-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  scroll-margin-top: 96px;
}
.doc-card h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.doc-card p,
.doc-card li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.doc-card ul,
.doc-card ol {
  padding-left: 20px;
  margin: 8px 0 16px;
}
.doc-card li { margin-bottom: 6px; }
.doc-card strong { color: var(--text); }

.doc-card .legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) {
  .doc-card .legal-grid { grid-template-columns: 1fr; }
}
.legal-note {
  background: var(--surface-muted);
  border-radius: var(--radius-md);
  padding: 18px;
}
.legal-note strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
}
.legal-note p { margin: 0; font-size: 0.92rem; }

.info-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--sage-100), var(--cream-100));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.info-banner strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 6px;
}
.info-banner p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.info-banner img { width: 88px; height: 88px; }
@media (max-width: 560px) {
  .info-banner { grid-template-columns: 1fr; }
  .info-banner img { width: 72px; height: 72px; }
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.doc-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.doc-card th, .doc-card td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.doc-card thead th {
  background: var(--surface-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.doc-card tbody td { color: var(--text-muted); }
.doc-card tbody tr:last-child td { border-bottom: 0; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.insight-card {
  background: var(--surface-muted);
  border-radius: var(--radius-md);
  padding: 18px;
}
.insight-card strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.insight-card p { margin: 0; font-size: 0.9rem; }
@media (max-width: 640px) {
  .insight-grid { grid-template-columns: 1fr; }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tag-row span {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--sage-800);
  font-size: 0.8rem;
  font-weight: 600;
}

.doc-meta {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.contact-card {
  background: linear-gradient(135deg, var(--sage-100), var(--cream-100));
  border: 1px solid var(--border);
}

/* Liability notice — prominent red-bordered warning on privacy/terms */
.liability-notice {
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(135deg, rgba(229, 100, 78, 0.08), rgba(229, 100, 78, 0.03));
  border: 2px solid var(--rose-600);
  border-radius: var(--radius-lg);
  scroll-margin-top: 96px;
}
.liability-notice .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--rose-600);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.liability-notice .badge::before {
  content: "⚠";
  font-size: 0.95rem;
  line-height: 1;
}
.liability-notice h2 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--rose-600);
  margin-bottom: 14px;
  line-height: 1.3;
}
.liability-notice p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text);
}
.liability-notice p + p { margin-top: 10px; }
.liability-notice strong { color: var(--ink-900); font-weight: 700; }
@media (prefers-color-scheme: dark) {
  .liability-notice { background: rgba(229, 100, 78, 0.10); }
  .liability-notice strong { color: var(--text); }
}

/* ───────────────────────── Reveal Animation ───────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-art .mascot, .chip-a, .chip-b, .doc-hero img { animation: none; }
}

/* ───────────────────────── Utilities ───────────────────────── */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0 !important; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
