/*
Theme Name: Website.yoga
Theme URI: https://website.yoga
Author: eCommerce Services B.V.
Author URI: https://website.yoga
Description: Zen-styled marketing theme for Website.yoga, an AI-powered brand creation platform. Sage-green palette, editorial typography, single-language (English), interactive vibe selector on the homepage. Built as a WordPress port of the standalone Website.yoga preview design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: website-yoga
Tags: business, one-column, custom-menu, editor-style, featured-images, threaded-comments
*/

/* ============================================================
   1. Design tokens
   ============================================================ */
:root {
  /* Ground */
  --cream: #FAF6EF;
  --paper: #FFFFFF;
  --sand: #F0E8D6;
  --stone: #D9D1BE;
  --line: rgba(35, 48, 29, 0.10);
  --line-strong: rgba(35, 48, 29, 0.18);

  /* Sage */
  --sage-50:  #F1F3E9;
  --sage-100: #E1E7CE;
  --sage-200: #C7D0AB;
  --sage-300: #A7B682;
  --sage-500: #7A9A5E;
  --sage-700: #4B6538;
  --moss:     #23301D;
  --moss-2:   #2C3D24;

  /* Warm accent */
  --terra:   #E27D5F;
  --terra-2: #C4644A;
  --ochre:   #D9AF6C;
  --sky:     #B8CDD9;
  --clay:    #A6604B;
  --peach:   #F4C4B0;

  /* Ink */
  --ink:      #1F2A1B;
  --ink-soft: #55604D;
  --ink-fade: #7B8574;

  /* Interactive vibe */
  --vibe-primary: var(--sage-500);
  --vibe-primary-dark: var(--sage-700);
  --vibe-accent: var(--terra);
  --vibe-highlight: rgba(122, 154, 94, 0.28);

  /* Type */
  --font-display: "Instrument Serif", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", ui-monospace, Menlo, Consolas, monospace;

  /* Rhythm */
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadow */
  --shadow-soft: 0 2px 6px rgba(35, 48, 29, 0.04), 0 12px 32px rgba(35, 48, 29, 0.06);
  --shadow-lift: 0 4px 12px rgba(35, 48, 29, 0.06), 0 24px 48px rgba(35, 48, 29, 0.10);
  --shadow-plate: 0 1px 2px rgba(35, 48, 29, 0.06), 0 8px 20px rgba(35, 48, 29, 0.08);
}

/* ============================================================
   2. Base
   ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--sage-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--moss); }
:focus-visible { outline: 2px solid var(--sage-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sage-100); color: var(--moss); }

.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: var(--moss); color: #fff; padding: 10px 16px; border-radius: 8px;
  z-index: 999;
}
.skip-link:focus { left: 12px; }

/* ============================================================
   3. Layout primitives
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}
.container-sm { max-width: 780px; }
.container-md { max-width: 940px; }

.section { padding: 6rem 0; position: relative; }
.section--tight { padding: 4rem 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--muted-soft { background: linear-gradient(to bottom, var(--cream), var(--sand) 100%); }
.section--dark {
  background: var(--moss);
  color: var(--cream);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark p { color: rgba(250, 246, 239, 0.75); }

@media (max-width: 900px) {
  .section { padding: 4.5rem 0; }
  .section--tight { padding: 3rem 0; }
}

/* ============================================================
   4. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
em, .accent { font-family: var(--font-display); font-style: italic; color: var(--sage-700); }
.accent-highlight {
  background: linear-gradient(180deg, transparent 65%, var(--vibe-highlight) 65%);
  padding: 0 0.15em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-700);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px; background: var(--sage-500);
  display: inline-block;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); line-height: 1.65; max-width: 44rem; }
.text-muted { color: var(--ink-soft); }
.text-fade { color: var(--ink-fade); }
.text-accent { color: var(--sage-700); }
.text-center { text-align: center; }
.text-serif { font-family: var(--font-display); }
.text-mono  { font-family: var(--font-mono); }

/* ============================================================
   5. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--moss); color: var(--cream); }
.btn-primary:hover { background: #17200f; color: var(--cream); box-shadow: var(--shadow-plate); }

.btn-accent { background: var(--terra); color: #fff; }
.btn-accent:hover { background: var(--terra-2); color: #fff; }

.btn-cream { background: var(--cream); color: var(--moss); }
.btn-cream:hover { background: #fff; color: var(--moss); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--moss); background: rgba(35, 48, 29, 0.04); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--moss); color: var(--moss); }

.btn-outline-cream { background: transparent; color: var(--cream); border-color: rgba(250,246,239,0.3); }
.btn-outline-cream:hover { border-color: var(--cream); color: var(--cream); background: rgba(250,246,239,0.05); }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   6. Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--moss); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--sage-700);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream);
  flex-shrink: 0;
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--terra);
  animation: breathe 3.6s ease-in-out infinite;
  margin-left: 0.25rem;
}
.brand em { font-style: italic; color: var(--sage-700); }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.3); opacity: 1; }
}

.nav-list { display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav-list > li > a,
.nav-list > li > button {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color .15s ease;
}
.nav-list > li > a:hover,
.nav-list > li > button:hover { color: var(--moss); }
.nav-list > li > a.is-active,
.nav-list > li > button.is-active { color: var(--moss); font-weight: 600; }
.nav-list > li > a > svg,
.nav-list > li > button > svg { width: 14px; height: 14px; }

/* Mega menu */
.nav-item { position: relative; }
.nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}
.nav-panel--mega {
  width: 880px;
  max-width: calc(100vw - 48px);
}
@media (max-width: 1180px) {
  .nav-panel--mega { width: 680px; padding: 1.5rem; }
  .nav-panel--mega .nav-panel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .nav-panel--mega .nav-promo { display: none; }
}
.nav-item.is-open .nav-panel,
.nav-item:hover .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 220px;
  gap: 1.5rem;
}
.nav-panel-grid.is-dropdown {
  display: block;
  min-width: 320px;
}
.nav-panel-col { min-width: 0; }
.nav-panel-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin: 0 0 0.75rem;
}
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel li { margin: 0; }
.nav-panel-col ul a,
.nav-panel-grid.is-dropdown ul a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  transition: background .15s ease;
  margin: 0 -0.4rem;
  text-decoration: none;
}
.nav-panel-col ul a:hover,
.nav-panel-grid.is-dropdown ul a:hover { background: var(--sage-50); }
.nav-panel-col ul a span,
.nav-panel-grid.is-dropdown ul a span { display: block; font-weight: 600; color: var(--ink); font-size: 0.9rem; line-height: 1.3; }
.nav-panel-col ul a small,
.nav-panel-grid.is-dropdown ul a small { display: block; color: var(--ink-soft); font-size: 0.75rem; margin-top: 0.2rem; line-height: 1.4; }
.nav-promo {
  background: var(--sage-50);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.nav-promo-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-700);
  display: block;
  margin-bottom: 0.5rem;
}
.nav-promo h3 { font-size: 1.05rem; margin: 0 0 0.5rem; line-height: 1.15; }
.nav-promo p { color: var(--ink-soft); font-size: 0.8rem; margin: 0 0 1rem; line-height: 1.5; flex: 1; }
.nav-promo .btn { justify-content: center; }

.nav-cta { display: inline-flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .nav-cta .btn-ghost { display: none; }
  .nav { height: 68px; gap: 1rem; }
  .brand { font-size: 1.3rem; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-mark svg { width: 14px; height: 14px; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(35, 48, 29, 0.5);
  backdrop-filter: blur(4px);
}
.mobile-drawer-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(88vw, 400px);
  background: var(--cream);
  overflow-y: auto;
  padding: 1.5rem;
  animation: slideIn .25s ease-out;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mobile-drawer-close {
  width: 40px; height: 40px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.mobile-drawer nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer nav a, .mobile-drawer nav > ul > li > button {
  display: block;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  background: none;
  border-left: none; border-right: none; border-top: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
}
.mobile-drawer-sub { padding: 0.5rem 0 0.5rem 1rem; display: none; }
.mobile-drawer-sub.is-open { display: block; }
.mobile-drawer-sub a { border-bottom: none; padding: 0.5rem; font-weight: 500; font-size: 0.9rem; color: var(--ink-soft); }
.mobile-drawer-foot { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }

/* ============================================================
   7. Home hero
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #F1F3E9 0%, var(--cream) 60%, #F5EEE1 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.14  0 0 0 0 0.18  0 0 0 0 0.11  0 0 0 0.06 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  transition: transform .4s ease-out;
}
.hero-blob-a { width: 480px; height: 480px; background: var(--sage-200); top: -140px; left: -140px; }
.hero-blob-b { width: 380px; height: 380px; background: var(--peach); bottom: -80px; right: -80px; }
.hero-blob-c { width: 260px; height: 260px; background: var(--ochre); top: 30%; right: 20%; opacity: 0.2; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 3rem 0 4rem; }
}
.hero-title { margin: 0 0 1.5rem; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; }
.hero-title em { display: block; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); line-height: 1.65; margin: 0 0 2rem; max-width: 30rem; }
.hero-trust {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--ink-soft);
  margin-top: 1.5rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { color: var(--sage-700); width: 14px; height: 14px; }

/* Prompt input */
.prompt-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .25s ease, border-color .2s ease;
}
.prompt-shell:focus-within {
  border-color: var(--sage-500);
  box-shadow: 0 0 0 4px var(--sage-100), var(--shadow-lift);
}
.prompt-input {
  width: 100%;
  min-height: 96px;
  border: none;
  resize: vertical;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  outline: none;
}
.prompt-input::placeholder { color: var(--ink-fade); }
.prompt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
}
.prompt-count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-fade); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; align-items: center; }
.hero-chips-label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-fade); margin-right: 0.5rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--sage-50); border-color: var(--sage-300); color: var(--moss); }
.chip svg { width: 14px; height: 14px; color: var(--sage-700); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sand), var(--peach) 100%);
  padding: 1.5rem;
  box-shadow: var(--shadow-lift);
}
.hero-visual-frame {
  height: 100%;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.hero-visual-frame::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 32px;
  background: var(--sage-50);
  border-bottom: 1px solid var(--line);
}
.hero-visual-frame::after {
  content: ""; position: absolute; top: 12px; left: 14px;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--terra);
  box-shadow: 14px 0 0 var(--ochre), 28px 0 0 var(--sage-300);
}
.hero-visual-bar {
  position: absolute; top: 6px; left: 60px; right: 14px; height: 20px;
  background: #fff; border-radius: 6px;
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-fade);
  display: flex; align-items: center; padding: 0 0.5rem;
}
.hero-visual-body { margin-top: 40px; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.brand-tile {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--vibe-primary-dark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  transition: background .5s ease;
}
.brand-tile-eyebrow {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.7;
}
.brand-tile-mark {
  width: 68px; height: 68px; border-radius: 999px;
  background: var(--cream); color: var(--vibe-primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem;
  transition: background .5s ease, color .5s ease;
}
.brand-tile-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.brand-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.brand-mini-card { background: var(--cream); border-radius: 10px; padding: 0.75rem; }
.brand-mini-label {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-fade); margin-bottom: 0.4rem;
}
.palette-row { display: flex; gap: 0.35rem; }
.palette-swatch {
  width: 26px; height: 26px; border-radius: 6px;
  transition: background .5s ease;
}
.type-sample {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--ink);
  line-height: 1;
}
.type-sample small { display: block; font-family: var(--font-body); font-size: 0.7rem; color: var(--ink-fade); margin-top: 0.4rem; }

.sticker {
  position: absolute;
  background: var(--paper);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
}
.sticker svg { width: 14px; height: 14px; color: var(--sage-500); }
.sticker-a { top: 1.5rem; right: -0.75rem; transform: rotate(4deg); animation: float 5s ease-in-out infinite; }
.sticker-b { bottom: 2rem; left: -1rem; transform: rotate(-3deg); animation: float 5s ease-in-out 2s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}
.sticker-b { animation-name: floatB; }
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
}

/* ============================================================
   8. Vibe selector
   ============================================================ */
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .vibe-grid { grid-template-columns: repeat(2, 1fr); } }
.vibe-card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vibe-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.vibe-card.is-active { border-color: var(--vibe-primary); box-shadow: 0 0 0 4px var(--vibe-highlight); }
.vibe-swatches { display: flex; gap: 0.3rem; margin-bottom: 0.75rem; }
.vibe-swatches span { width: 26px; height: 26px; border-radius: 8px; }
.vibe-card h4 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 0.35rem; }
.vibe-card p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* ============================================================
   9. Stats
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.25rem; gap: 1.5rem; } }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--moss); margin-bottom: 0.35rem; }
.stat-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-fade); }

/* ============================================================
   10. Feature bento
   ============================================================ */
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } }
.bento-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
@media (max-width: 900px) {
  .bento-card.span-2,
  .bento-card.span-3,
  .bento-card.span-4,
  .bento-card.span-6 { grid-column: span 1; }
}
.bento-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage-50);
  color: var(--sage-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.bento-icon svg { width: 20px; height: 20px; }
.bento-card h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.bento-card p { color: var(--ink-soft); margin: 0; line-height: 1.6; font-size: 0.95rem; }
.bento-visual-swatches { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.bento-visual-swatches span { width: 44px; height: 44px; border-radius: 10px; }

/* ============================================================
   11. Steps
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
}
.step-num {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--sage-50);
  color: var(--sage-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.step-num::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 999px;
  border: 2px dashed var(--sage-300);
  animation: rotate 20s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.step-card h3 { font-size: 1.4rem; margin: 0 0 0.75rem; }
.step-card p { color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ============================================================
   12. Why us / two-col
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }
.pill-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.pill-item { display: flex; gap: 1rem; align-items: flex-start; }
.pill-check {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--sage-50); color: var(--sage-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pill-check svg { width: 16px; height: 16px; }
.pill-item h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin: 0 0 0.3rem; }
.pill-item p { color: var(--ink-soft); margin: 0; line-height: 1.6; font-size: 0.95rem; }

.lotus-visual {
  aspect-ratio: 1;
  max-width: 480px;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sage-50), var(--cream));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.lotus-visual svg { width: 60%; height: 60%; color: var(--sage-700); animation: rotate 80s linear infinite; }

/* ============================================================
   13. Testimonials
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-mark {
  color: var(--sage-500); font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: -0.2em;
  margin-bottom: 1rem;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.testimonial-who {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line);
}
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--terra); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--ink-fade); }

/* ============================================================
   14. Pricing
   ============================================================ */
.pricing-head { text-align: center; margin-bottom: 3rem; }
.pricing-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.15rem;
}
.pricing-toggle button {
  padding: 0.5rem 1.25rem;
  border: none;
  background: transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background .2s ease, color .2s ease;
}
.pricing-toggle button.is-active { background: var(--moss); color: var(--cream); }
.pricing-save {
  display: inline-block;
  margin-left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--terra);
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card--popular { background: var(--moss); color: var(--cream); border-color: var(--moss); }
.plan-card--popular h3 { color: var(--cream); }
.plan-card--popular .plan-price-amt { color: var(--cream); }
.plan-card--popular .plan-tagline { color: rgba(250,246,239,0.75); }
.plan-card--popular .plan-features li { color: rgba(250,246,239,0.9); }
.plan-card--popular .plan-features svg { color: var(--sage-300); }
.plan-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--terra);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.plan-card h3 { font-size: 1.6rem; margin: 0 0 0.35rem; }
.plan-tagline { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 1.5rem; }
.plan-price { margin-bottom: 0.35rem; }
.plan-price-amt { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--ink); }
.plan-price-per { color: var(--ink-fade); font-size: 0.9rem; margin-left: 0.15rem; }
.plan-billing { font-size: 0.8rem; color: var(--ink-fade); margin: 0 0 1.5rem; }
.plan-card--popular .plan-billing { color: rgba(250,246,239,0.6); }
.plan-cta { width: 100%; }
.plan-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.plan-features { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.plan-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink); }
.plan-features svg { width: 16px; height: 16px; color: var(--sage-500); flex-shrink: 0; }

/* ============================================================
   15. FAQ
   ============================================================ */
.faq-list { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--sage-50); color: var(--sage-700);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-icon { transform: rotate(135deg); background: var(--moss); color: var(--cream); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.is-open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 0 1.5rem; color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* ============================================================
   16. Final CTA
   ============================================================ */
.final-cta {
  background: radial-gradient(circle at 30% 30%, var(--moss-2), var(--moss));
  color: var(--cream);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  opacity: 0.6;
}
.final-cta-mark {
  width: 88px; height: 88px; border-radius: 999px;
  background: rgba(250,246,239,0.08);
  border: 1px solid rgba(250,246,239,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}
.final-cta-mark svg { width: 32px; height: 32px; color: var(--cream); }
.final-cta-mark::before,
.final-cta-mark::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 999px;
  border: 1px solid rgba(250,246,239,0.15);
  animation: pulse 3s ease-out infinite;
}
.final-cta-mark::after { animation-delay: 1.5s; inset: -16px; }
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 0; }
}
.final-cta h2 { color: var(--cream); font-size: clamp(2.4rem, 5vw, 4rem); position: relative; z-index: 2; }
.final-cta h2 em { color: var(--sage-300); display: block; }
.final-cta p { color: rgba(250, 246, 239, 0.7); font-size: 1.15rem; max-width: 32rem; margin-inline: auto; position: relative; z-index: 2; }
.final-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; position: relative; z-index: 2; }

/* ============================================================
   17. Footer
   ============================================================ */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--ink-soft); font-size: 0.9rem; margin: 1rem 0 1.5rem; max-width: 22rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--sage-50); color: var(--sage-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { background: var(--sage-100); color: var(--moss); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin: 0 0 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--ink); font-size: 0.9rem; }
.footer-col a:hover { color: var(--moss); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-fade);
}
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--ink-fade); }
.footer-bottom-links a:hover { color: var(--moss); }

/* ============================================================
   18. Inner hero (subpages)
   ============================================================ */
.inner-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.inner-hero::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px; border-radius: 50%;
  background: var(--peach); opacity: 0.2; filter: blur(80px);
  bottom: -140px; right: -80px;
  pointer-events: none;
}
.inner-hero-inner { text-align: center; max-width: 44rem; margin-inline: auto; position: relative; z-index: 1; }
.inner-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.inner-hero p { font-size: 1.15rem; color: var(--ink-soft); line-height: 1.6; max-width: 34rem; margin-inline: auto; }
.inner-hero-actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Split inner hero with image */
.inner-hero--split .inner-hero-inner {
  max-width: none;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.inner-hero--split h1, .inner-hero--split p { max-width: none; }
.inner-hero--split .inner-hero-actions { justify-content: flex-start; }
@media (max-width: 900px) {
  .inner-hero--split .inner-hero-inner { grid-template-columns: 1fr; text-align: left; }
  .inner-hero--split .inner-hero-actions { justify-content: flex-start; }
}
.inner-hero-image {
  aspect-ratio: 4/5;
  max-width: 420px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sand), var(--peach));
  padding: 1.25rem;
  box-shadow: var(--shadow-lift);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.inner-hero-image-inner {
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-500);
  padding: 2rem;
}
.inner-hero-image-inner svg { width: 40%; height: auto; }

/* ============================================================
   19. Reusable content components
   ============================================================ */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.card--hover { transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--sage-200); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.icon-tile {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--sage-50); color: var(--sage-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.icon-tile svg { width: 22px; height: 22px; }

.tag {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  background: var(--sage-50);
  color: var(--sage-700);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Form fields (contact) */
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--sage-500);
  box-shadow: 0 0 0 4px var(--sage-100);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ============================================================
   20. Blog / posts
   ============================================================ */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr; } }
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.post-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--sage-100), var(--peach));
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-700);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--ink-fade); margin-bottom: 0.5rem; }
.post-card h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--moss); }
.post-excerpt { color: var(--ink-soft); font-size: 0.95rem; margin: 0; flex: 1; }
.post-more { margin-top: 1.25rem; display: inline-flex; gap: 0.4rem; align-items: center; color: var(--sage-700); font-weight: 600; font-size: 0.9rem; }

.single-post { max-width: 780px; margin: 0 auto; padding: 4rem 1.5rem; }
.single-post h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.single-post .post-meta { font-size: 0.9rem; margin-bottom: 2rem; }
.single-post .entry-content { font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
.single-post .entry-content p { margin: 0 0 1.25rem; }
.single-post .entry-content h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.single-post .entry-content h3 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.single-post .entry-content a { color: var(--sage-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.single-post .entry-content blockquote {
  border-left: 3px solid var(--sage-500);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
}
.single-post .entry-content img { border-radius: var(--radius); margin: 2rem 0; }
.single-post .entry-content pre { background: var(--sage-50); padding: 1rem; border-radius: var(--radius-sm); overflow-x: auto; }
.single-post .entry-content code { font-family: var(--font-mono); font-size: 0.9em; }

/* ============================================================
   21. 404
   ============================================================ */
.error-404 {
  padding: 6rem 0;
  text-align: center;
}
.error-404 .display-xl { color: var(--sage-700); }
.error-404 h1 { font-size: 2rem; margin: 1rem 0; }
.error-404 p { color: var(--ink-soft); max-width: 32rem; margin: 0 auto 2rem; }

/* ============================================================
   22. Legal pages
   ============================================================ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.legal .legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-fade);
  margin-bottom: 3rem;
}
.legal h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; font-family: var(--font-body); font-weight: 700; }
.legal p, .legal li { line-height: 1.75; color: var(--ink-soft); }
.legal ul, .legal ol { padding-left: 1.5rem; margin: 1rem 0; }
.legal li { margin-bottom: 0.5rem; }
.legal strong { color: var(--ink); }

/* ============================================================
   23. Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation-duration: 0.01s !important; }
}

/* ============================================================
   24. Comments (WP)
   ============================================================ */
.comments-area { max-width: 720px; margin: 3rem auto; padding: 0 1.5rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.comment-author { font-weight: 600; }
.comment-metadata { font-size: 0.8rem; color: var(--ink-fade); }

/* ============================================================
   25. WP admin bar spacing
   ============================================================ */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ============================================================
   26. Utilities
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
