@font-face { font-family: "Satoshi"; src: url(/assets/fonts/Satoshi-Variable.woff2) format("woff2"); font-weight: 300 600; font-display: swap; }

  :root {
    /* Tailwind neutral scale for text, grounds and lines; teal only for H1 and the brand */
    --bg-base: #ffffff;
    --bg-subtle: #fafafa;     /* neutral-50 */
    --bg-hover: #f5f5f5;      /* neutral-100 */
    --border: #e5e5e5;        /* neutral-200 */
    --border-strong: #d4d4d4; /* neutral-300 */
    --fg-base: #404040;       /* neutral-700, body text */
    --fg-heading: #171717;    /* neutral-900, H2 to H6 */
    --fg-h1: #022f2e;         /* teal-950, H1 only */
    --fg-muted: #737373;      /* neutral-500 */
    --fg-subtle: #a3a3a3;     /* neutral-400 */
    --fg-on-inverted: #ffffff;
    --inverted: #00796a;      /* brand teal, primary button */
    --inverted-hover: #00675a;
    --accent: #00ab93;        /* Gaia brand teal (gaia-platform primary.main) */
    --brand: #00ab93;
    --brand-strong: #00796a;  /* teal dark enough for white text and text links (AA) */
    --brand-tint: #eaf4f3;    /* gaia-platform states.hover */

    --frame: 1280px;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* UI labels: Inter (was Geist Mono) */
    --code: ui-monospace, SFMono-Regular, Menlo, monospace;
    --display: "Satoshi", "Inter", sans-serif;
    --serif: var(--display); /* the wordmark and display lines use Satoshi */
    --dur: 7s; /* carousel auto-advance interval: long enough for each screen to animate */
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: var(--sans);
    background: var(--bg-subtle);
    color: var(--fg-base);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }

  /* mono eyebrow label */
  .eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-subtle);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
  }
  .eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 1px;
    display: inline-block;
  }

  /* framed column with side rails */
  .frame {
    max-width: var(--frame);
    margin: 0 auto;
    background: var(--bg-base);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  /* sections sit inside the frame, divided by hairlines with plus-corners on the rails */
  .sec {
    position: relative;
    border-bottom: 1px solid var(--border);
    padding: 0;
  }
  .sec::before, .sec::after {
    content: "";
    position: absolute;
    top: -5px;
    width: 9px; height: 9px;
    z-index: 3;
    background:
      linear-gradient(var(--border-strong), var(--border-strong)) center / 9px 1px no-repeat,
      linear-gradient(var(--border-strong), var(--border-strong)) center / 1px 9px no-repeat;
  }
  .sec::before { left: -5px; }
  .sec::after  { right: -5px; }
  .pad { padding: clamp(2rem, 5vw, 72px) clamp(1.25rem, 4vw, 4rem); }

  /* ---------- nav ---------- */
  .nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,0.8);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    max-width: var(--frame); margin: 0 auto;
    height: 64px; padding: 0 clamp(1.25rem, 4vw, 4rem);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  }
  .brand {
    font-family: var(--serif);
    font-weight: 500; letter-spacing: 0; color: var(--fg-base);
    line-height: 1;
  }
  .nav .brand { justify-self: center; font-size: 1.6rem; }
  .brand svg { display: block; height: 30px; width: auto; }
  .footer-brand .brand svg { height: 32px; }
  .nav-left { justify-self: start; }
  .nav-links { display: flex; gap: 1.5rem; align-items: center; }
  .nav-links a { font-size: 0.9rem; color: var(--fg-muted); }
  .nav-links a:hover { color: var(--fg-base); }
  .nav-right { justify-self: end; display: flex; align-items: center; gap: 1rem; }
  .nav-right .signin { font-size: 0.9rem; color: var(--fg-muted); }
  .nav-right .signin:hover { color: var(--fg-base); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 0.9rem; font-weight: 500;
    padding: 0.5rem 16px; border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
  }
  .btn-primary { background: var(--inverted); color: var(--fg-on-inverted); }
  .btn-primary:hover { background: var(--inverted-hover); }
  .btn-ghost { background: var(--bg-base); color: var(--fg-base); border-color: var(--border); }
  .btn-ghost:hover { background: var(--bg-hover); border-color: var(--border-strong); }

  /* ---------- hero ---------- */
  .hero { display: flex; flex-direction: column; gap: 1.5rem; }
  .hero h1 {
    margin: 0;
    font-size: clamp(2.75rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 500;
    max-width: 16ch;
  }
  .hero .subhead {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.5;
    color: var(--fg-muted);
    max-width: 46ch;
  }
  .hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
  .hero-ctas .btn { padding: 10px 20px; font-size: 0.95rem; }

  /* media placeholder, framed with plus crosshairs */
  .media {
    position: relative;
    margin-top: 2.5rem;
    border: 1px solid var(--border);
    background:
      linear-gradient(var(--bg-subtle), var(--bg-subtle)) padding-box,
      repeating-linear-gradient(0deg, transparent, transparent 23px, #ededf0 23px, #ededf0 24px),
      repeating-linear-gradient(90deg, transparent, transparent 23px, #ededf0 23px, #ededf0 24px);
    min-height: 440px;
    display: flex; align-items: center; justify-content: center;
    padding: 2rem;
  }
  .media-label {
    max-width: 48ch; text-align: center;
    display: flex; flex-direction: column; gap: 10px; align-items: center;
  }
  .media-label .tag {
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--fg-subtle);
  }
  .media-label .desc { color: var(--fg-muted); font-size: 0.98rem; line-height: 1.5; }

  .cross { position: absolute; width: 13px; height: 13px; color: var(--border-strong); z-index: 2; pointer-events: none; }
  .cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
  .cross::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
  .cross::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
  .cross.tl { left: -6.5px; top: -6.5px; }
  .cross.tr { right: -6.5px; top: -6.5px; }
  .cross.bl { left: -6.5px; bottom: -6.5px; }
  .cross.br { right: -6.5px; bottom: -6.5px; }

  /* ---------- carousel section ---------- */
  .feature-head { display: flex; flex-direction: column; gap: 1rem; max-width: 60ch; }
  .feature-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 500;
  }
  .feature-head p { margin: 0; color: var(--fg-muted); font-size: 1.05rem; line-height: 1.55; }

  .carousel {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 0;
    border: 1px solid var(--border);
  }
  .tabs { border-right: 1px solid var(--border); }
  .tab {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 20px;
    transition: background 0.15s;
  }
  .tab:last-child { border-bottom: none; }
  .tab:hover { background: var(--bg-subtle); }
  .tab-num {
    font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
    color: var(--fg-subtle); padding-top: 0.15rem; transition: color 0.15s;
  }
  .tab-title { font-size: 1.02rem; font-weight: 450; color: var(--fg-muted); transition: color 0.15s; letter-spacing: -0.01em; }
  /* description is always visible so row heights never change (no hover jump) */
  .tab-desc {
    grid-column: 2;
    color: var(--fg-subtle); font-size: 0.9rem; line-height: 1.45;
    margin-top: 6px;
    transition: color 0.15s;
  }
  .tab[aria-selected="true"] { background: var(--bg-subtle); }
  .tab[aria-selected="true"] .tab-num { color: var(--accent); }
  .tab[aria-selected="true"] .tab-title { color: var(--fg-base); font-weight: 500; }
  .tab[aria-selected="true"] .tab-desc { color: var(--fg-muted); }
  /* auto-advance progress bar on the active tab's far-left edge */
  .tab[aria-selected="true"]::before,
  .tab[aria-selected="true"]::after {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  }
  .tab[aria-selected="true"]::before { background: var(--border-strong); }
  .tab[aria-selected="true"]::after {
    background: var(--fg-base);
    transform: scaleY(0); transform-origin: top;
    animation: tabfill var(--dur) linear forwards;
  }
  @keyframes tabfill { to { transform: scaleY(1); } }
  .carousel:hover .tab[aria-selected="true"]::after { animation-play-state: paused; }
  @media (prefers-reduced-motion: reduce) {
    .tab[aria-selected="true"]::after { animation: none; transform: scaleY(1); }
  }

  .panel { position: relative; overflow: hidden; min-height: 480px; background: var(--bg-subtle); }

  /* ---------- product-UI illustrations (high fidelity to the Propaganda app) ---------- */
  .illo {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
    /* canvas */
    background: linear-gradient(180deg, #f6f6f7, #eeeeef);
    /* product design tokens (Untitled UI neutral scale) */
    --p-bg: #ffffff; --p-bg2: #fafafa; --p-bg3: #f3f3f3;
    --p-fg: #171717; --p-fg2: #404040; --p-fg3: #737373; --p-fg4: #a3a3a3;
    --p-bd: #e5e5e5; --p-bd2: #d4d4d4; --p-accent: #404040;
    --sh-xs: 0 1px 2px rgba(0,0,0,.05);
    --sh-md: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.05);
    --sh-lg: 0 16px 28px -10px rgba(0,0,0,.18), 0 6px 12px -6px rgba(0,0,0,.08);
    color: var(--p-fg); font-size: 13px; line-height: 1.4;
  }
  .illo[data-active="true"] { opacity: 1; visibility: visible; }
  .illo::after {  /* faint design-surface grid on the canvas */
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
      repeating-linear-gradient(0deg, transparent 0 23px, rgba(0,0,0,.025) 23px 24px),
      repeating-linear-gradient(90deg, transparent 0 23px, rgba(0,0,0,.025) 23px 24px);
  }
  .illo > * { position: relative; z-index: 1; }

  /* shared mockup primitives */
  .surface { position: absolute; background: var(--p-bg); border: 1px solid var(--p-bd); border-radius: 12px; box-shadow: var(--sh-lg); overflow: hidden; }
  .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 9999px; border: 1px solid transparent; line-height: 1.45; white-space: nowrap; }
  .pill .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
  .pill.gray   { background:#fafafa; color:#404040; border-color:#e5e5e5; } .pill.gray .dot{background:#737373;}
  .pill.blue   { background:#eff6ff; color:#1d4ed8; border-color:#bfdbfe; } .pill.blue .dot{background:#2563eb;}
  .pill.orange { background:#fff7ed; color:#c2410c; border-color:#fed7aa; } .pill.orange .dot{background:#ea580c;}
  .pill.purple { background:#faf5ff; color:#7e22ce; border-color:#e9d5ff; } .pill.purple .dot{background:#9333ea;}
  .pill.green  { background:#f0fdf4; color:#15803d; border-color:#bbf7d0; } .pill.green .dot{background:#16a34a;}
  .pill.pink   { background:#fdf2f8; color:#be185d; border-color:#fbcfe8; } .pill.pink .dot{background:#db2777;}
  .av { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: #fff; box-shadow: 0 0 0 1.5px var(--p-bg); flex: none; }
  .avstack { display: inline-flex; } .avstack .av + .av { margin-left: -6px; }
  .btn-d { background: var(--p-accent); color: #fff; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), inset 0 -1px 0 rgba(0,0,0,.06); display: inline-flex; align-items: center; gap: 6px; }
  .btn-s { background: #fff; color: var(--p-fg2); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--p-bd2); display: inline-flex; align-items: center; gap: 6px; }
  .seg { display: inline-flex; background: #f3f3f3; border: 1px solid var(--p-bd); border-radius: 8px; padding: 2px; gap: 2px; }
  .seg span { font-size: 11px; padding: 3px 10px; border-radius: 6px; color: var(--p-fg3); }
  .seg span.on { background: #fff; color: var(--p-fg); box-shadow: var(--sh-xs); }
  .m-ttl { font-family: var(--serif); }
  .m-mono { font-family: var(--mono); }
  .m-row { display: flex; align-items: center; gap: 8px; }
  .m-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--p-bd); }
  .m-input { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--p-bd); border-radius: 8px; color: var(--p-fg4); font-size: 12px; background: #fff; }
  .m-ico { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .5; flex: none; }

  /* calendar */
  .cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--p-bd); }
  .cal-dow span { padding: 8px 10px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--p-fg4); }
  .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 92px; }
  .cal-cell { border-right: 1px solid var(--p-bd); border-bottom: 1px solid var(--p-bd); padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
  .cal-cell .d { font-size: 11px; color: var(--p-fg3); font-weight: 500; }
  .cal-cell.dim .d { color: var(--p-fg4); opacity: .6; }
  .cal-ev { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 500; padding: 2px 6px; border-radius: 5px; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .cal-ev .dot { width: 5px; height: 5px; border-radius: 50%; flex: none; }
  .cal-ev.blue{background:#eff6ff;color:#1d4ed8;} .cal-ev.blue .dot{background:#2563eb;}
  .cal-ev.orange{background:#fff7ed;color:#c2410c;} .cal-ev.orange .dot{background:#ea580c;}
  .cal-ev.purple{background:#faf5ff;color:#7e22ce;} .cal-ev.purple .dot{background:#9333ea;}
  .cal-ev.green{background:#f0fdf4;color:#15803d;} .cal-ev.green .dot{background:#16a34a;}
  .cal-ev.gray{background:#f5f5f5;color:#404040;} .cal-ev.gray .dot{background:#737373;}

  /* kanban */
  .kb { display: flex; gap: 12px; padding: 16px; }
  .kb-col { width: 168px; flex: none; display: flex; flex-direction: column; gap: 10px; }
  .kb-col-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--p-fg2); }
  .kb-col-h .dot { width: 7px; height: 7px; border-radius: 50%; }
  .kb-col-h .ct { margin-left: auto; color: var(--p-fg4); font-weight: 500; font-size: 11px; }
  .kb-card { background: #fff; border: 1px solid var(--p-bd); border-radius: 10px; box-shadow: var(--sh-xs); padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
  .kb-card .t { font-size: 12.5px; font-weight: 500; color: var(--p-fg); line-height: 1.35; }
  .kb-card .mt { display: flex; align-items: center; justify-content: space-between; }
  .kb-card .dt { font-size: 10.5px; color: var(--p-fg4); }

  /* diff */
  .df { display: grid; grid-template-columns: 1fr 1fr; }
  .df-col { border-right: 1px solid var(--p-bd); }
  .df-col:last-child { border-right: none; }
  .df-col-h { padding: 8px 12px; font-size: 11px; font-weight: 600; color: var(--p-fg3); border-bottom: 1px solid var(--p-bd); background: var(--p-bg2); display: flex; align-items: center; gap: 8px; }
  .df-line { display: grid; grid-template-columns: 22px 1fr; font-size: 12px; line-height: 1.7; min-height: 24px; }
  .df-line .g { text-align: center; color: var(--p-fg4); font-size: 11px; user-select: none; border-right: 1px solid #00000008; }
  .df-line .c { padding: 0 10px; color: var(--p-fg2); white-space: nowrap; overflow: hidden; }
  .df-line.add { background: #f0fdf4; } .df-line.add .g { color: #16a34a; }
  .df-line.del { background: #fef2f2; } .df-line.del .g { color: #dc2626; }
  .df-line.del .c { color: #b91c1c; }
  .df-line.add .c { color: #15803d; }

  /* ---------- footer ---------- */
  .footer { background: var(--bg-base); }
  .footer-inner {
    max-width: var(--frame); margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 4rem) 2rem;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem;
  }
  .footer-brand .brand { display: inline-block; font-size: 1.5rem; margin-bottom: 0.75rem; }
  .footer-brand p { margin: 0; color: var(--fg-muted); font-size: 0.9rem; max-width: 30ch; }
  .footer-col h4 {
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--fg-subtle); margin: 0 0 16px; font-weight: 500;
  }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
  .footer-col a { font-size: 0.9rem; color: var(--fg-muted); }
  .footer-col a:hover { color: var(--fg-base); }

  .footer-word {
    max-width: var(--frame); margin: 0 auto;
    padding: 1.5rem clamp(1.25rem, 4vw, 4rem) 0;
    border-top: 1px solid var(--border);
  }
  .footer-word .wordmark {
    font-family: var(--serif);
    font-weight: 500; letter-spacing: -0.01em; line-height: 0.9;
    font-size: clamp(3rem, 12vw, 8rem); color: var(--bg-hover);
    user-select: none;
  }
  .footer-bottom {
    max-width: var(--frame); margin: 0 auto;
    padding: 1.25rem clamp(1.25rem, 4vw, 4rem) 2.5rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
    color: var(--fg-subtle); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em;
  }

  /* ---------- feature sections (varied layouts) ---------- */
  .split { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .split.rev .split-media { order: -1; }
  .split-text { max-width: 46ch; }
  .split-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 500; margin: 12px 0 1rem; }
  .split-text .lead { margin: 0; color: var(--fg-muted); font-size: 1.05rem; line-height: 1.55; }
  .feat-center { max-width: 60ch; margin: 0 auto clamp(2rem, 4vw, 48px); text-align: center; }
  .feat-center .eyebrow { justify-content: center; }
  .feat-center h2 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 500; margin: 12px 0 1rem; }
  .feat-center .lead { margin: 0; color: var(--fg-muted); font-size: 1.08rem; line-height: 1.55; }
  .flist { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 12px; }
  .flist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--fg-base); }
  .flist li::before { content: "✓"; color: var(--fg-base); font-weight: 600; flex: none; }

  /* framed media stage holding a static illustration */
  .stage { position: relative; overflow: hidden; min-height: 440px; border: 1px solid var(--border); background: var(--bg-subtle); }
  .stage.tall { min-height: 520px; }
  .illo.static { opacity: 1; visibility: visible; }

  /* product-token scope for free compositions (no stage) */
  .mock { font-family: var(--sans); color: #171717;
    --p-bg:#fff; --p-bg2:#fafafa; --p-bg3:#f3f3f3; --p-fg:#171717; --p-fg2:#404040; --p-fg3:#737373; --p-fg4:#a3a3a3; --p-bd:#e5e5e5; --p-bd2:#d4d4d4; --p-accent:#404040;
    --sh-xs:0 1px 2px rgba(0,0,0,.05); --sh-md:0 4px 6px -1px rgba(0,0,0,.08),0 2px 4px -2px rgba(0,0,0,.05); --sh-lg:0 16px 28px -10px rgba(0,0,0,.18),0 6px 12px -6px rgba(0,0,0,.08);
  }

  /* analytics bits */
  .stat .n { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
  .stat .l { font-size: 11px; color: var(--p-fg3); margin-top: 2px; }
  .up { color: #16a34a; } .down { color: #dc2626; }
  .bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
  .bars i { flex: 1; background: #e5e5e5; border-radius: 3px 3px 0 0; }
  .bars i.hi { background: #404040; }

  /* sharing bento */
  .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .asset { border-radius: 14px; overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--p-bd); background: #fff; }
  .asset .cover { padding: 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }

  /* headless integrations */
  .intg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .intg .c { border: 1px solid var(--p-bd); border-radius: 12px; background: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh-xs); }
  .intg .c .nm { font-weight: 600; font-size: 13px; }
  .intg .c .ds { font-size: 11px; color: var(--p-fg3); }
  .mark { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 12px; flex: none; }

  /* pricing (Medusa-framed) */
  .pricing-head { text-align: center; max-width: 48ch; margin: 0 auto 3rem; }
  .pricing-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.025em; font-weight: 500; margin: 12px 0 1rem; line-height: 1.1; }
  .pricing-head .lead { color: var(--fg-muted); font-size: 1.05rem; margin: 0; }
  .plans { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); }
  .plan { border-right: 1px solid var(--border); padding: 24px 24px; display: flex; flex-direction: column; }
  .plan:last-child { border-right: none; }
  .plan.pf { background: var(--bg-subtle); }
  .plan .ptag { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; min-height: 0.85rem; }
  .plan .pn { font-size: 0.95rem; font-weight: 600; }
  .plan .ptl { color: var(--fg-muted); font-size: 0.82rem; min-height: 2.5em; margin: 6px 0 0; line-height: 1.4; }
  .plan .pp { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; margin: 16px 0 0; line-height: 1; }
  .plan .pp small { font-size: 0.78rem; font-weight: 400; color: var(--fg-muted); letter-spacing: 0; }
  .plan .pcta { margin: 16px 0 0; text-align: center; font-size: 0.86rem; font-weight: 500; padding: 8px; border-radius: 8px; border: 1px solid var(--rule); color: var(--fg-base); }
  .plan.pf .pcta { background: var(--inverted); color: #fff; border-color: var(--inverted); }
  .pf-list { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: 0.84rem; color: var(--fg-muted); }
  .pf-list li { display: flex; gap: 0.5rem; align-items: flex-start; } .pf-list li::before { content: "✓"; color: var(--fg-base); flex: none; }
  .pricing-foot { text-align: center; color: var(--fg-muted); font-size: 0.92rem; margin: 2rem 0 0; }

  /* final cta */
  .cta { text-align: center; }
  .cta h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; font-weight: 500; margin: 0 0 1rem; line-height: 1.05; }
  .cta .lead { color: var(--fg-muted); font-size: 1.15rem; margin: 0 0 2rem; }

  /* ---------- responsive ---------- */
  @media (max-width: 860px) {
    .nav-links { display: none; }
    .carousel { grid-template-columns: 1fr; }
    .tabs { border-right: none; border-bottom: 1px solid var(--border); }
    .panel { order: -1; min-height: 300px; }
    .split, .split.rev { grid-template-columns: 1fr; gap: 40px; }
    .split.rev .split-media { order: 0; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento .asset { grid-column: span 2 !important; }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .plan:nth-child(2) { border-right: none; }
    .plan:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 520px) {
    .media { min-height: 300px; }
    .stage { min-height: 340px; }
    .intg { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .plan { border-right: none; border-bottom: 1px solid var(--border); }
    .footer-inner { grid-template-columns: 1fr; }
  }

/* ======================================================================
   Added for the 0.2 site (multi-page). Same tokens and rhythm as above.
   ====================================================================== */

/* image slots: placeholder with its spec until images/<id>.png exists */
.illo.slot { display: flex; align-items: center; justify-content: center; padding: 2rem; }
.illo.slot .media-label { position: relative; z-index: 1; }
.stage.slot { display: flex; align-items: center; justify-content: center; padding: 2rem;
  background:
    linear-gradient(var(--bg-subtle), var(--bg-subtle)) padding-box,
    repeating-linear-gradient(0deg, transparent, transparent 23px, #ededf0 23px, #ededf0 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, #ededf0 23px, #ededf0 24px); }
.slot.has-img { padding: 0; min-height: 0; background: var(--bg-subtle); display: block; }
.slot.has-img > img { display: block; width: 100%; height: auto; }
.illo.slot.has-img > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.slot.has-img .media-label { display: none; }

/* page head for inner pages */
.page-head { display: flex; flex-direction: column; gap: 1.25rem; }
.page-head h1 {
  margin: 0; font-size: clamp(2.5rem, 5.5vw, 3.6rem); line-height: 1.05;
  letter-spacing: -0.035em; font-weight: 500; max-width: 20ch;
}
.page-head .subhead { margin: 0; font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.55; color: var(--fg-muted); max-width: 58ch; }

/* long text: manifesto, blog posts */
.prose { max-width: 66ch; font-size: 1.08rem; line-height: 1.7; color: var(--fg-base); }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.02em; font-weight: 500; line-height: 1.2; margin: 2.2em 0 0.7em; }
.prose h3 { font-size: 1.2rem; font-weight: 500; margin: 1.8em 0 0.6em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.prose a:hover { text-decoration-color: var(--fg-base); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--fg-base); color: var(--fg-muted); }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin: 0.3em 0; }
.prose img { max-width: 100%; height: auto; border: 1px solid var(--border); }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-hover); padding: 0.1em 0.35em; border-radius: 4px; }
.prose pre { font-family: var(--mono); font-size: 0.85rem; background: var(--inverted); color: #fafafa; padding: 1rem 20px; border-radius: 8px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5em 0; }
.prose .sign { font-family: var(--serif); font-size: 1.6rem; margin-top: 1.5rem; }

/* the manifesto section on Home */
.manifesto { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.manifesto h2 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; margin: 12px 0 0; }
.manifesto .prose { font-size: 1.1rem; }
.manifesto .kicker { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; margin: 0.5rem 0 0; }

/* numbered rows (how it works, goals): the carousel's tab rows, static */
.rows { margin-top: 3rem; border: 1px solid var(--border); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 24px 1.5rem; border-bottom: 1px solid var(--border); }
.row:nth-child(odd) { border-right: 1px solid var(--border); }
.row:nth-last-child(-n+2) { border-bottom: none; }
.rows.one { grid-template-columns: 1fr; }
.rows.one .row { border-right: none; border-bottom: 1px solid var(--border); }
.rows.one .row:last-child { border-bottom: none; }
.row .tab-num { color: var(--accent); }
.row .tab-title { color: var(--fg-base); font-weight: 500; }
.row .tab-desc { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.55; }
.row .tab-desc em { font-style: normal; font-family: var(--mono); font-size: 0.85rem; }

/* weekly list + five numbers on Home */
.weekly { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.weekly li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--fg-muted); line-height: 1.5; }
.weekly li::before { content: "✓"; color: var(--fg-base); font-weight: 600; flex: none; }
.weekly li b { color: var(--fg-base); font-weight: 500; }
.numbers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--border); margin-top: 3rem; }
.num { padding: 24px 1.25rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.5rem; }
.num:last-child { border-right: none; }
.num .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.num .q { font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.num .d { font-size: 0.86rem; color: var(--fg-muted); line-height: 1.45; }
.footnote { margin: 1.25rem 0 0; color: var(--fg-subtle); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* great for / stinks for */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); }
.fit > div { padding: 24px 24px; }
.fit > div + div { border-left: 1px solid var(--border); background: var(--bg-subtle); }
.fit h3 { margin: 0 0 16px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.fit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.fit li { display: flex; gap: 10px; font-size: 0.96rem; color: var(--fg-muted); line-height: 1.5; }
.fit li::before { content: "✓"; color: var(--fg-base); font-weight: 600; flex: none; }
.fit .stinks li::before { content: "✕"; color: #dc2626; }

/* tables: agents, vs AirOps */
.tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--border); margin-top: 3rem; font-size: 0.95rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 1rem 20px; border-bottom: 1px solid var(--border); line-height: 1.5; }
.tbl thead th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-subtle); font-weight: 500; background: var(--bg-subtle); }
.tbl tbody th { font-weight: 600; white-space: nowrap; }
.tbl td { color: var(--fg-muted); }
.tbl td.us { color: var(--fg-base); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: none; }
.tbl-wrap { overflow-x: auto; }

/* channels list */
.chan + .chan { margin-top: clamp(3rem, 6vw, 72px); }

/* pricing: the models switch */
.switch-row { display: flex; justify-content: center; margin: 0 auto 2.5rem; }
.switch {
  display: inline-flex; align-items: flex-start; gap: 16px; text-align: left;
  border: 1px solid var(--border); background: var(--bg-base); padding: 16px 16px; border-radius: 10px; max-width: 520px;
}
.switch button {
  flex: none; width: 40px; height: 22px; border-radius: 9999px; border: 1px solid var(--border-strong);
  background: var(--bg-hover); position: relative; padding: 0; margin-top: 2px; transition: background 0.15s, border-color 0.15s;
}
.switch button::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform 0.15s;
}
.switch button[aria-checked="true"] { background: var(--inverted); border-color: var(--inverted); }
.switch button[aria-checked="true"]::after { transform: translateX(18px); }
.switch .sw-t { font-size: 0.95rem; font-weight: 500; }
.switch .sw-t small { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-left: 6px; }
.switch .sw-d { font-size: 0.86rem; color: var(--fg-muted); margin-top: 0.2rem; line-height: 1.45; }
.switch .sw-s { font-family: var(--mono); font-size: 0.72rem; color: var(--fg-subtle); margin-top: 8px; letter-spacing: 0.02em; }
.plan .pcta { display: block; }
.plan .pdesc { color: var(--fg-muted); font-size: 0.84rem; line-height: 1.5; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }

/* FAQ */
.faq { border: 1px solid var(--border); margin-top: 3rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 1.02rem; font-weight: 500; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--fg-subtle); }
.faq details[open] summary::after { content: "−"; }
.faq details[open] { background: var(--bg-subtle); }
.faq .a { padding: 0 24px 20px; color: var(--fg-muted); line-height: 1.6; max-width: 70ch; }

/* get started form */
.form { display: grid; gap: 1rem; max-width: 560px; margin-top: 2.5rem; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 500; }
.form label span small { color: var(--fg-subtle); font-weight: 400; }
.form input, .form textarea {
  font: inherit; font-size: 0.95rem; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--bg-base); color: var(--fg-base);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.form textarea { min-height: 96px; resize: vertical; }
.form .btn { justify-self: start; padding: 10px 20px; font-size: 0.95rem; }
.form-done { margin-top: 2.5rem; font-size: 1.1rem; }

/* blog */
.posts { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.post-row { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.post-row h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.15; letter-spacing: -0.01em; }
.post-row p { margin: 6px 0 0; color: var(--fg-muted); font-size: 0.98rem; }
.post-row .meta { font-family: var(--mono); font-size: 0.72rem; color: var(--fg-subtle); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.post-row:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-head { display: flex; flex-direction: column; gap: 1rem; max-width: 66ch; }
.post-head h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.01em; }
.post-head .subhead { margin: 0; color: var(--fg-muted); font-size: 1.2rem; line-height: 1.5; }
.post-head .meta { font-family: var(--mono); font-size: 0.74rem; color: var(--fg-subtle); letter-spacing: 0.06em; text-transform: uppercase; }
.blog-empty { color: var(--fg-muted); margin-top: 2.5rem; }
.back { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.back:hover { color: var(--fg-base); }

@media (max-width: 860px) {
  .manifesto { grid-template-columns: 1fr; }
  .rows { grid-template-columns: 1fr; }
  .row:nth-child(odd) { border-right: none; }
  .row:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { border-bottom: 1px solid var(--border); }
  .num:nth-child(2n) { border-right: none; }
  .fit { grid-template-columns: 1fr; }
  .fit > div + div { border-left: none; border-top: 1px solid var(--border); }
  .post-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 520px) {
  .numbers { grid-template-columns: 1fr; }
  .num { border-right: none; }
  .tbl th, .tbl td { padding: 12px 16px; }
}

/* ---------- Gaia additions (barebones; styling comes later) ---------- */
/* Product megamenu: two thirds back of house, one third front of house. */
.mega { position: relative; }
.mega-trigger::after { content: " ▾"; font-size: 0.7em; }
.mega-panel {
  display: none; position: absolute; top: calc(100% + 18px); left: -1.5rem;
  width: min(1000px, 92vw); background: var(--bg-base);
  border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  grid-template-columns: 2fr 1fr; gap: 1.5rem;
}
.mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel { display: grid; }
.mega-wide { border-right: 1px solid var(--border); padding-right: 1.5rem; }
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mega-h { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-subtle); margin: 0 0 0.75rem; }
.mega-sub { font-size: 0.8rem; color: var(--fg-subtle); margin: 0 0 6px; }
.mega-col { display: flex; flex-direction: column; }
.mega-panel .mega-col a { display: flex; flex-direction: column; gap: 2px; padding: 0.5rem 10px; border-radius: 8px; margin-left: -10px; }
.mega-panel .mega-col a:hover { background: var(--bg-hover); }
.mega-panel .mega-col a b { font-weight: 500; color: var(--fg-base); font-size: 0.9rem; }
.mega-panel .mega-col a span { font-size: 0.8rem; color: var(--fg-muted); }
.mega-all { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 1rem; font-size: 0.85rem; }
@media (min-width: 1000px) { .footer-gaia { grid-template-columns: 1.4fr repeat(4, 1fr); } }
@media (max-width: 900px) { .mega-panel { display: none !important; } }
.footer-col h4 + ul + h4 { margin-top: 1.5rem; }

/* Placeholder pages */
.placeholder-note { margin-top: 1rem; border: 1px dashed var(--border-strong); padding: 1.25rem 1.5rem; max-width: 64ch; background: var(--bg-subtle); }
.placeholder-note .tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-subtle); }
.placeholder-note p { margin: 0.5rem 0 0; color: var(--fg-muted); line-height: 1.55; }

/* Product pages: a short "connects to" list and a status note for unfinished features */
.connects { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.connects a { border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; color: var(--fg-muted); }
.connects a:hover { color: var(--fg-base); border-color: var(--border-strong); }
.status-note { margin-top: 1rem; font-size: 0.9rem; color: var(--fg-muted); border-left: 2px solid var(--border-strong); padding-left: 12px; max-width: 60ch; }

/* Type: Satoshi for headlines, Inter for body and UI. Brand: Gaia teal. */
h1, h2, h3, .hero h1, .page-head h1, .feature-head h2, .split-text h2, .cta h2 { font-family: var(--display); font-weight: 600; }
.brand, .footer-word .wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.eyebrow, .mega-h { color: var(--brand-strong); font-weight: 600; }
.prose code, .prose pre, .row .tab-desc em { font-family: var(--code); }
a.mega-all, .status-note a, .rows .tab-title a { color: var(--brand-strong); }
.connects a:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-tint); }
.mega-panel .mega-col a:hover { background: var(--brand-tint); }
.nav-links a { white-space: nowrap; }

/* Megamenu items with Tabler icons */
.mega-panel .mega-col a { flex-direction: row; align-items: flex-start; gap: 10px; }
.mega-panel .mega-col a .ti { font-size: 1.2rem; color: var(--brand-strong); margin-top: 1px; flex: none; }
.mega-panel .mega-col a .mi { display: flex; flex-direction: column; gap: 2px; }
.mega-all .ti { vertical-align: -2px; }
.nav-left .mega:nth-child(2) .mega-panel { left: -8rem; }

/* Home */
.logos .logo-row { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; }
.logos .logo-row li { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--fg-muted); }
.tab-title .ti { color: var(--brand-strong); vertical-align: -2px; margin-right: 0.15rem; }
.row .tab-num .ti { font-size: 1.25rem; color: var(--brand-strong); }
.house { margin-top: 2.5rem; display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }
.house-card { border: 1px solid var(--border); padding: 1.5rem; background: var(--bg-base); }
.house-card h3 { font-size: 1.35rem; margin: 0 0 1.25rem; letter-spacing: -0.01em; }
.house-links { display: grid; grid-template-columns: 1fr; gap: 0.25rem; }
.house-links.two { grid-template-columns: 1fr 1fr; }
.house-links a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-left: -10px; border-radius: 8px; font-size: 0.95rem; }
.house-links a:hover { background: var(--brand-tint); }
.house-links .ti { font-size: 1.2rem; color: var(--brand-strong); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.35rem; line-height: 1.4; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 1rem; color: var(--fg-muted); font-size: 0.9rem; }
.text-link { color: var(--brand-strong); font-weight: 500; }
.text-link .ti { vertical-align: -2px; }
@media (max-width: 860px) { .house, .quotes { grid-template-columns: 1fr; } }

/* About */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-hero-text { display: flex; flex-direction: column; gap: 1.25rem; }
.about-hero-text h1 { margin: 0; font-size: clamp(2.6rem, 5.5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.035em; }
.about-hero-text .subhead { margin: 0; font-size: 1.1rem; line-height: 1.55; color: var(--fg-muted); max-width: 48ch; }
.about-hero-photo { margin: 0; }
.about-hero-photo img { display: block; width: 100%; height: auto; max-height: 820px; object-fit: cover; border-radius: 6px; }
.we-are { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; max-width: 900px; }
.we-are li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; }
.we-are .ti { font-size: 1.5rem; color: var(--brand-strong); flex: none; margin-top: -1px; }
.we-are b { font-weight: 600; }
.gallery { margin-top: 2.5rem; columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 6px; }
.gallery figcaption { font-size: 0.85rem; color: var(--fg-muted); margin-top: 6px; }
.gallery .g-wide { column-span: all; }
@media (max-width: 860px) { .about-hero, .we-are { grid-template-columns: 1fr; } }
.gallery-wide { margin-top: 2.5rem; }
.gallery-wide figure { margin: 0; }
.gallery-wide img { display: block; width: 100%; height: auto; border-radius: 6px; }
.gallery-wide figcaption { font-size: 0.85rem; color: var(--fg-muted); margin-top: 6px; }
.gallery { margin-top: 1rem; }

/* Megamenus span the full nav width (anchored to .nav-inner), no chevrons */
.nav-inner { position: relative; }
.mega { position: static; }
.mega-trigger::after { content: none; }
.mega-panel, .nav-left .mega:nth-child(2) .mega-panel {
  left: clamp(1.25rem, 4vw, 4rem); right: clamp(1.25rem, 4vw, 4rem); width: auto;
  top: calc(100% - 4px); padding: 2rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 2rem;
}
.mega::after { top: 0; height: 64px; }
.mega-wide { padding-right: 2rem; }
.mega-panel .mega-col a span { overflow-wrap: anywhere; }
.mega::after { content: none; }
.mega-trigger { display: inline-flex; align-items: center; height: 64px; }
.mega-panel, .nav-left .mega:nth-child(2) .mega-panel { top: 100%; }
.about-paper { margin: 0; }
.about-paper img { display: block; width: 100%; height: auto; border-radius: 6px; }

/* About: Souha, a circle photo with a handwritten note and arrow (the PPGD tour-note) */
.souha { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.souha-photo { position: relative; padding-top: 4.5rem; display: flex; justify-content: center; }
.souha-photo img { width: min(380px, 80%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 8px var(--brand-tint), 0 24px 48px -20px rgba(0, 60, 52, .35); }
.hand-note { position: absolute; top: 0; left: 2%; display: flex; align-items: flex-start; gap: 0.25rem; transform: rotate(-4deg); pointer-events: none; }
.hand-note span { font-family: "Caveat", cursive; font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1; color: var(--fg-base); white-space: nowrap; }
.hand-note svg { width: clamp(80px, 8vw, 116px); flex: none; margin-top: 16px; overflow: visible; }
.hand-note path { fill: none; stroke: var(--fg-base); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hand-note.in path { animation: note-draw 0.7s 0.2s ease-out forwards; }
.hand-note.in path.head { animation-delay: 0.85s; animation-duration: 0.25s; }
@keyframes note-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hand-note path { animation: none !important; stroke-dashoffset: 0; } }
.souha-text h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
@media (max-width: 860px) { .souha { grid-template-columns: 1fr; } }
.souha-photo { align-items: flex-start; } .souha-photo img { height: auto; align-self: center; }
.principle { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.principle-line { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -0.025em; max-width: 24ch; }

/* Nav: logo on the left, links beside it, actions on the right. */
.nav-inner { grid-template-columns: auto 1fr auto; column-gap: clamp(1.5rem, 3.5vw, 3rem); }
.nav .brand { justify-self: start; }

/* ---------- real Gaia logo (official word logo, gaia + leaf) ---------- */
.nav .brand.wordmark-nav { display: inline-flex; align-items: center; color: var(--fg-base); line-height: 0; }
.nav .brand .gaia-logo { height: 28px; width: auto; display: block; }
.footer-word .wordmark { line-height: 0; color: var(--bg-hover); }
.footer-word .wordmark .gaia-logo { display: block; height: clamp(3rem, 12vw, 8rem); width: auto; }
.footer-word .wordmark .gaia-leaf { fill: currentColor; }
.footer-brand .brand { color: var(--fg-base); line-height: 0; }
.footer-brand .brand .gaia-logo { height: 30px; width: auto; display: block; }

/* Max font weight is 600, everywhere: the browser default bold (700) is capped here, and the Satoshi face above stops at 600. */
b, strong, th, h1, h2, h3, h4, h5, h6, dt, optgroup { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { color: var(--fg-heading); }
h1 { color: var(--fg-h1); }

/* Section headings in the Product megamenu link to the overview pages. */
.mega-h a { color: inherit; text-decoration: none; }
.mega-h a:hover { text-decoration: underline; }
