  /* Roslindale Variable Display — editorial serif used for the brand wordmark,
     matching the Propaganda CMS app (app/src/index.css). */
  @font-face {
    font-family: "Roslindale Display";
    src: url("/fonts/RoslindaleVariableDisplay-VF.ttf") format("truetype-variations");
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
  }
  :root {
    /* zinc neutral scale (MedusaJS @medusajs/ui tokens) */
    --bg-base: #ffffff;
    --bg-subtle: #fafafa;     /* zinc-50  */
    --bg-hover: #f4f4f5;      /* zinc-100 */
    --border: #e4e4e7;        /* zinc-200 */
    --border-strong: #d4d4d8; /* zinc-300 */
    --fg-base: #18181b;       /* zinc-900 */
    --fg-muted: #71717a;      /* zinc-500 */
    --fg-subtle: #a1a1aa;     /* zinc-400 */
    --fg-on-inverted: #ffffff;
    --inverted: #0a0a0a;      /* primary button: black */
    --inverted-hover: #333333;
    /* no accent colour: black and the neutral scale only (Ayadi, 2026-10-09) */

    --frame: 1280px;
    --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --serif: "Roslindale Display", "Georgia", serif;
    --dur: 6s; /* carousel auto-advance interval: long enough to read a screen */
  }

  * { 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(--fg-base);
    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, 5rem) 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: 0.45rem;
    font-size: 0.9rem; font-weight: 500;
    padding: 0.5rem 0.95rem; 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: 0.65rem 1.2rem; 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: 0.6rem; 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: 0.85rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 1.15rem 1.35rem;
    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: 0.35rem;
    transition: color 0.15s;
  }
  .tab[aria-selected="true"] { background: var(--bg-subtle); }
  .tab[aria-selected="true"] .tab-num { color: var(--fg-muted); }
  .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: 5px; 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 11px; 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 11px; 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: 7px; 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: 7px 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 7px; 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: 5px; 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: 9px; }
  .kb-col-h { display: flex; align-items: center; gap: 7px; 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 11px; display: flex; flex-direction: column; gap: 9px; }
  .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: 7px; }
  .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 9px; 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 0.9rem; font-weight: 500;
  }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
  .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: 0.85rem 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, 3.25rem); 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: 0.85rem 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: 1.75rem 0 0; display: flex; flex-direction: column; gap: 0.8rem; }
  .flist li { display: flex; gap: 0.7rem; 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: 22px; 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: 13px 14px; display: flex; align-items: center; gap: 11px; 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 h1, .pricing-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.025em; font-weight: 500; margin: 0.85rem 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: 1.7rem 1.45rem; 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(--fg-muted); 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: 0.35rem 0 0; line-height: 1.4; }
  .plan .pp { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; margin: 0.9rem 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: 1.1rem 0 0; text-align: center; font-size: 0.86rem; font-weight: 500; padding: 0.55rem; 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: 1.2rem 0 0; margin: 1.2rem 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.55rem; 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: 2.25rem; }
    .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; }
/* A screenshot sits whole on the panel's canvas, framed like a window, whatever the panel's height. */
.illo.slot.has-img { display: flex; align-items: center; justify-content: center; padding: 1.75rem; background: linear-gradient(180deg, #f6f6f7, #eeeeef); }
.illo.slot.has-img > img { width: 100%; height: auto; max-height: 100%; object-fit: contain; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--sh-lg); background: #fff; }
.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: 1.2rem; border-left: 2px solid var(--fg-base); color: var(--fg-muted); }
.prose ul, .prose ol { padding-left: 1.3rem; 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 1.2rem; 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: 0.85rem 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: 0.85rem; padding: 1.4rem 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(--fg-muted); }
.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: 1.75rem 0 0; display: flex; flex-direction: column; gap: 0.95rem; }
.weekly li { display: flex; gap: 0.7rem; 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: 1.4rem 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(--fg-muted); }
.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: 1.7rem 1.6rem; }
.fit > div + div { border-left: 1px solid var(--border); background: var(--bg-subtle); }
.fit h3 { margin: 0 0 1.1rem; 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: 0.6rem; 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 1.2rem; 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, 5rem); }

.plan .pcta { display: block; }
.plan .pdesc { color: var(--fg-muted); font-size: 0.84rem; line-height: 1.5; margin: 1.2rem 0 0; padding-top: 1.2rem; 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: 1.15rem 1.4rem; 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 1.4rem 1.3rem; 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: 0.4rem; 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: 0.65rem 0.8rem; 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(--fg-base); outline-offset: -1px; border-color: transparent; }
.form textarea { min-height: 96px; resize: vertical; }
.form .btn { justify-self: start; padding: 0.65rem 1.2rem; 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: 1.4rem 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: 0.4rem 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: 0.4rem; }
}
@media (max-width: 520px) {
  .numbers { grid-template-columns: 1fr; }
  .num { border-right: none; }
  .tbl th, .tbl td { padding: 0.8rem 0.9rem; }
}

/* nav: a Product dropdown, then Pricing, Why, Blog; a Menu below 860px */
.nav-drop { position: relative; }
.nav-drop > button {
  font: inherit; font-size: 0.9rem; color: var(--fg-muted); background: none; border: 0;
  padding: 0.4rem 0; cursor: pointer;
}
.nav-drop > button::after { content: " +"; font-family: var(--mono); color: var(--fg-subtle); }
.nav-drop:hover > button, .nav-drop:focus-within > button { color: var(--fg-base); }
.nav-drop-panel, .nav-menu nav {
  position: absolute; top: calc(100% + 0.6rem); left: 0; min-width: 200px;
  display: flex; flex-direction: column; background: var(--bg-base);
  border: 1px solid var(--border); padding: 0.4rem 0;
}
.nav-drop-panel { display: none; }
.nav-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { display: flex; }
.nav-links .nav-drop-panel a, .nav-menu nav a { font-size: 0.9rem; color: var(--fg-muted); padding: 0.55rem 1rem; }
.nav-links .nav-drop-panel a:hover, .nav-menu nav a:hover { color: var(--fg-base); background: var(--bg-subtle); }
.nav-menu { display: none; justify-self: start; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; font-size: 0.9rem; color: var(--fg-muted); padding: 0.4rem 0; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: " +"; font-family: var(--mono); color: var(--fg-subtle); }
.nav-menu[open] summary::after { content: " −"; }
@media (max-width: 860px) { .nav-menu { display: block; } }
.nav-right .signin { white-space: nowrap; }
@media (max-width: 480px) { .nav-right .signin { display: none; } }
.form-error { color: #b42318; font-size: 0.9rem; margin: 0; }

/* ---------- home: How it's done, one process (4 beats, 3 hops) ---------- */
.process { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr) 56px minmax(0,1fr) 56px minmax(0,1fr); align-items: start; }
.beat { display: flex; flex-direction: column; gap: 0.55rem; }
.beat h3 { font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; margin: 0; }
.beat p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.5; margin: 0; }
.beat .tab-num { font-family: var(--mono); font-size: 0.7rem; color: var(--fg-muted); margin-top: 0.6rem; }
.beat-vis { height: 176px; border: 1px solid var(--border); background: var(--bg-base); border-radius: 10px; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.45rem; overflow: hidden; font-size: 0.74rem; }
.hop { height: 176px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; }
.hop-line { position: relative; width: 100%; height: 2px; background: var(--border-strong); }
.hop-line::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--border-strong); border-right: 0; }
/* The dot rides a full-length track, so translate(100%) is the line's length: transform and opacity only. */
.hop-line i { position: absolute; top: -3px; left: 0; width: calc(100% - 8px); height: 8px; animation: hop 2.4s ease-in-out infinite; will-change: transform; }
.hop-line i::before { content: ""; position: absolute; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--fg-base); }
.hop:nth-of-type(4) .hop-line i { animation-delay: 0.8s; }
.hop:nth-of-type(6) .hop-line i { animation-delay: 1.6s; }
@keyframes hop { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
.hop-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-subtle); }

.vis-sources .chip { display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.55rem; border: 1px solid var(--border); border-radius: 7px; background: var(--bg-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ico { width: 8px; height: 8px; border-radius: 2px; flex: none; background: var(--fg-subtle); }
.ico.call { background: var(--fg-base); } .ico.slack { background: #a855f7; } .ico.web { background: #0ea5e9; } .ico.mail { background: #22c55e; }
.vis-kb .claim { display: flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.1rem; border-bottom: 1px dashed var(--border); flex-wrap: wrap; }
.vis-kb .claim b { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.vis-kb b.ok { background: #16a34a; } .vis-kb b.bad { background: #ea580c; }
.vis-kb .claim em { font-style: normal; color: #c2410c; font-size: 0.68rem; margin-left: 1rem; flex-basis: 100%; }
.vis-kb .hot { position: relative; border-radius: 6px; }
.vis-kb .hot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 6px; background: #fff4ed; transform: scale(0.96); opacity: 0; animation: pulse 2.4s ease-in-out infinite; }
.vis-kb { isolation: isolate; }
@keyframes pulse { 50% { transform: none; opacity: 1; } }
.vis-signals .sig { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.35rem 0.1rem; border-bottom: 1px dashed var(--border); }
.vis-signals .sig span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-muted); }
.vis-signals .sig b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.up { color: #16a34a; } .down { color: #dc2626; }
.vis-pitch { gap: 0.5rem; }
.vis-pitch .pitch-tag { align-self: flex-start; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); background: var(--bg-hover); padding: 0.15rem 0.45rem; border-radius: 99px; }
.vis-pitch .pitch-title { font-size: 0.92rem; font-weight: 500; line-height: 1.3; }
.vis-pitch .pitch-why { color: var(--fg-muted); line-height: 1.4; }
.vis-pitch .pitch-btns { margin-top: auto; display: flex; gap: 0.4rem; }
.vis-pitch .pitch-btns span { padding: 0.3rem 0.6rem; border-radius: 6px; font-weight: 500; border: 1px solid var(--border); }
.vis-pitch .b-yes { position: relative; background: var(--inverted); color: var(--fg-on-inverted); border-color: var(--inverted) !important; }
.vis-pitch .b-yes::after { content: ""; position: absolute; inset: -1px; border-radius: 6px; box-shadow: 0 0 0 4px rgba(201,151,26,.35); opacity: 0; transform: scale(0.9); animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { opacity: 0; transform: scale(0.9); } 80% { opacity: 1; transform: none; } }

/* ---------- home: Every week, five cards ---------- */
.week-cards { margin-top: 3rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.wcard { border: 1px solid var(--border); background: var(--bg-base); border-radius: 12px; padding: 0.9rem; display: flex; flex-direction: column; gap: 0.5rem; }
.wcard h3 { font-size: 0.98rem; font-weight: 500; letter-spacing: -0.01em; margin: 0.4rem 0 0; line-height: 1.3; }
.wcard p { font-size: 0.86rem; color: var(--fg-muted); line-height: 1.45; margin: 0; }
.wvis { height: 108px; border-radius: 8px; background: var(--bg-subtle); border: 1px solid var(--border); position: relative; overflow: hidden; font-size: 0.7rem; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.35rem; }
.wv-pitches .wp { display: flex; justify-content: space-between; gap: 0.4rem; padding: 0.25rem 0.45rem; background: var(--bg-base); border: 1px solid var(--border); border-radius: 6px; opacity: 0; animation: slidein 6s ease-out infinite; }
.wv-pitches .wp i { font-style: normal; color: var(--fg-muted); white-space: nowrap; }
.wv-pitches .wp:nth-child(2) { animation-delay: 0.4s; } .wv-pitches .wp:nth-child(3) { animation-delay: 0.8s; }
@keyframes slidein { 0% { opacity: 0; transform: translateY(6px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.wv-draft .ln { display: block; height: 6px; border-radius: 3px; background: var(--border-strong); width: var(--w); transform: scaleX(0); transform-origin: left; animation: type 6s steps(24, end) infinite; }
.wv-draft .ln:nth-child(2) { animation-delay: 0.5s; } .wv-draft .ln:nth-child(3) { animation-delay: 1s; } .wv-draft .ln:nth-child(4) { animation-delay: 1.5s; }
@keyframes type { 0% { transform: scaleX(0); } 30%, 90% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.wv-draft .ln { margin-top: 0.15rem; }
.wv-draft .caret { width: 2px; height: 12px; background: var(--fg-base); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.wv-check .ck { display: flex; align-items: center; gap: 0.45rem; padding: 0.2rem 0; }
.wv-check .ck b { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--border-strong); position: relative; flex: none; }
.wv-check .ck b::before { content: ""; position: absolute; inset: -1.5px; border-radius: 4px; background: #16a34a; transform: scale(0); animation: tick 6s infinite; }
.wv-check .ck b::after { content: "✓"; position: absolute; inset: -3px 0 0 1px; font-size: 11px; color: #fff; opacity: 0; animation: tickmark 6s infinite; }
.wv-check .ck:nth-child(2) b::before, .wv-check .ck:nth-child(2) b::after { animation-delay: 0.6s; }
.wv-check .ck:nth-child(3) b::before, .wv-check .ck:nth-child(3) b::after { animation-delay: 1.2s; }
@keyframes tick { 0%, 15% { transform: scale(0); } 25%, 90% { transform: none; } 100% { transform: scale(0); } }
@keyframes tickmark { 0%, 15% { opacity: 0; } 25%, 90% { opacity: 1; } 100% { opacity: 0; } }
.wv-stale .old, .wv-stale .new { padding: 0.25rem 0.45rem; border-radius: 6px; }
.wv-stale .old { position: relative; background: #fef2f2; color: #b91c1c; }
.wv-stale .old::after { content: ""; position: absolute; left: 0.45rem; right: 0.45rem; top: 50%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; animation: strike 6s infinite; }
.wv-stale .new { background: #f0fdf4; color: #15803d; opacity: 0; animation: appear 6s infinite; }
.wv-stale .where { color: var(--fg-subtle); font-family: var(--mono); font-size: 0.62rem; }
@keyframes strike { 0%, 25% { transform: scaleX(0); } 35%, 100% { transform: none; } }
@keyframes appear { 0%, 40% { opacity: 0; transform: translateY(-4px); } 50%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.wv-publish { flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; gap: 0.35rem; }
.wv-publish .ch { position: relative; z-index: 0; padding: 0.25rem 0.55rem; border-radius: 99px; border: 1px solid var(--border); background: var(--bg-base); color: var(--fg-muted); }
.wv-publish .ch::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 99px; background: var(--bg-hover); border: 1px solid var(--fg-base); transform: scale(0.85); opacity: 0; animation: lit 6s infinite; }
.wv-publish .ch:nth-child(2)::before { animation-delay: 0.5s; } .wv-publish .ch:nth-child(3)::before { animation-delay: 1s; } .wv-publish .ch:nth-child(4)::before { animation-delay: 1.5s; }
@keyframes lit { 0%, 10% { transform: scale(0.85); opacity: 0; } 20%, 85% { transform: none; opacity: 1; } 100% { transform: scale(0.85); opacity: 0; } }

/* ---------- home: Four numbers ---------- */
.gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); margin-top: 3rem; background: var(--bg-base); }
.gcard { padding: 1.4rem 1.25rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.gcard:last-child { border-right: none; }
.gcard .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.gcard .q { font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; min-height: 2.7em; }
.g-volume { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.55rem 0.6rem; margin-top: 0.8rem; font-size: 0.8rem; }
.g-volume .vt { color: var(--fg-muted); }
.g-volume .vn { font-family: var(--mono); font-size: 0.72rem; color: var(--fg-muted); }
.g-volume .ticks {
  --t: 6px; --g: 4px; --unit: calc(var(--t) + var(--g)); height: 16px;
  width: calc(max(var(--goal), calc(var(--done) + var(--pitched))) * 3 * var(--unit));
  background:
    repeating-linear-gradient(90deg, var(--fg-base) 0 var(--t), transparent var(--t) var(--unit)) 0 0 / calc(var(--done) * 3 * var(--unit)) 100% no-repeat,
    repeating-linear-gradient(90deg, var(--fg-subtle) 0 var(--t), transparent var(--t) var(--unit)) calc(var(--done) * 3 * var(--unit)) 0 / calc(var(--pitched) * 3 * var(--unit)) 100% no-repeat,
    repeating-linear-gradient(90deg, var(--border-strong) 0 var(--t), transparent var(--t) var(--unit));
  max-width: 100%;
}
.legend { margin-top: auto; padding-top: 0.8rem; font-size: 0.7rem; color: var(--fg-subtle); display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.legend i { display: inline-block; width: 4px; height: 10px; }
.legend .l-done { background: var(--fg-base); } .legend .l-pitched { background: var(--fg-subtle); margin-left: 0.4rem; } .legend .l-left { background: var(--border-strong); margin-left: 0.4rem; }
.g-dial { width: 100%; max-width: 240px; margin: 0.6rem auto 0; display: block; overflow: visible; }
.dial-needle { transform-origin: 110px 110px; animation: needle 1.6s cubic-bezier(.3,1.6,.5,1) both; transform: rotate(52deg); }
@keyframes needle { from { transform: rotate(-80deg); } to { transform: rotate(52deg); } }
.grade { text-align: center; font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; margin-top: -0.2rem; color: #15803d; }
.g-line { width: 100%; margin-top: 0.8rem; overflow: visible; }
.g-line .trace { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.figure { font-size: 0.86rem; color: var(--fg-muted); margin-top: auto; }
.figure b { font-family: var(--mono); font-weight: 500; margin-left: 0.3rem; }
.g-ticker { list-style: none; margin: 0.6rem 0 0; padding: 0; font-size: 0.8rem; }
.g-ticker li { display: grid; grid-template-columns: 1fr auto 3.2rem; gap: 0.6rem; align-items: baseline; padding: 0.42rem 0; border-bottom: 1px dashed var(--border); }
.g-ticker li:last-child { border-bottom: none; }
.g-ticker span { color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-ticker b { font-family: var(--mono); font-weight: 500; }
.g-ticker i { font-style: normal; font-family: var(--mono); font-size: 0.72rem; text-align: right; }

@media (max-width: 1100px) {
  .week-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gcard:nth-child(2) { border-right: none; }
  .gcard:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .hop { height: 56px; flex-direction: row; }
  .hop-line { width: 2px; height: 36px; }
  .hop-line::after { right: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid var(--border-strong); border-bottom: 0; }
  .hop-line i { left: -3px; top: 0; width: 8px; height: calc(100% - 8px); animation-name: hopdown; }
  @keyframes hopdown { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
}
@media (max-width: 640px) {
  .week-cards, .gauges { grid-template-columns: 1fr; }
  .gcard { border-right: none; border-bottom: 1px solid var(--border); }
  .gcard:last-child { border-bottom: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hop-line i, .vis-kb .hot::before, .vis-pitch .b-yes::after, .wvis *, .wvis *::before, .wvis *::after, .dial-needle, .g-line .trace { animation: none !important; }
  .hop-line i { opacity: 0; }
  .wv-pitches .wp, .wv-stale .new { opacity: 1; }
  .wv-draft .ln, .wv-stale .old::after { transform: none; }
  .wv-check .ck b::before { transform: none; }   /* every check ticked */
  .wv-check .ck b::after { opacity: 1; }
  .wv-publish .ch::before { transform: none; opacity: 1; }
  .g-line .trace { stroke-dashoffset: 0; }
}

/* Endless animations run only while their section is on screen (site.js adds .in-view). */
.js .process:not(.in-view) *, .js .process:not(.in-view) *::before, .js .process:not(.in-view) *::after,
.js .week-cards:not(.in-view) *, .js .week-cards:not(.in-view) *::before, .js .week-cards:not(.in-view) *::after { animation-play-state: paused !important; }

/* below the frame's width the rails' plus-corners would poke 4px past the screen */
@media (max-width: 1290px) { .frame { overflow-x: clip; } }

/* blog: the empty state and the collection over each title */
.blog-none { margin-top: 2.5rem; padding: 2rem; border: 1px dashed var(--border-strong); border-radius: 10px; max-width: 40rem; display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.blog-none p { margin: 0; color: var(--fg-muted); line-height: 1.55; }
.blog-none .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-base); }
.post-row .kick { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 0.35rem; }

/* voice: a feature that is not built yet */
.soon { display: inline-block; vertical-align: middle; margin-left: 0.45rem; padding: 0.1rem 0.4rem; border: 1px solid var(--border-strong); border-radius: 4px; font-family: var(--mono); font-size: 0.62rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }
.eyebrow .soon { margin-left: 0.6rem; }

/* tour: a screen held still while the steps beside it scroll past (strategy page) */
.tour { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.tour-steps { padding: 18vh 0 34vh; }
.tour-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; opacity: 0.3; transition: opacity 0.35s ease; }
.tour-step.on { opacity: 1; }
.tour-step h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.tour-step p { margin: 0; color: var(--fg-muted); font-size: 1.02rem; line-height: 1.6; max-width: 42ch; }
.tour-view { position: sticky; top: 88px; height: calc(100vh - 120px); max-height: 860px; }
.tour-window { position: relative; height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 16px 28px -10px rgba(0,0,0,.14), 0 6px 12px -6px rgba(0,0,0,.06); }
.tour-window .stage { transition: transform 0.75s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.tour-window .stage.has-ui .ui-fit { border: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .tour-window .stage, .tour-step { transition: none; } }
@media (max-width: 900px) {
  .tour { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tour-view { order: -1; top: 72px; height: 48vh; z-index: 2; background: var(--bg-base); padding-bottom: 0.75rem; }
  .tour-steps { padding: 1rem 0 30vh; }
  .tour-step { min-height: 52vh; justify-content: flex-start; padding-top: 1.5rem; }
}

/* a handwritten note with an arrow, over the top of a tour's screen (strategy page) */
.tour-note { position: absolute; z-index: 3; right: 4%; bottom: calc(100% - 0.9rem); display: flex; align-items: flex-start; gap: 0.25rem; pointer-events: none; transform: rotate(-3deg); transition: opacity 0.3s ease; }
.tour:not([data-active="0"]) .tour-note { opacity: 0; }
.tour-note span { font-family: "Caveat", cursive; font-weight: 600; font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.05; color: var(--fg-base); padding-top: 0.1rem; }
.tour-note svg { width: clamp(78px, 8vw, 118px); flex: none; margin-top: 0.6rem; overflow: visible; }
.tour-note path { fill: none; stroke: var(--fg-base); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: note-draw 0.7s 0.5s ease-out forwards; }
.tour-note path.head { animation-delay: 1.15s; animation-duration: 0.25s; }
@keyframes note-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .tour-note path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 900px) { .tour-note { right: 0; } .tour-view:has(.tour-note) { margin-top: 4.5rem; } }

/* voice page: the four stages, each a small screen over its text */
.vsteps { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); }
.vstep { display: flex; flex-direction: column; border-bottom: 1px solid var(--border); }
.vstep:nth-child(odd) { border-right: 1px solid var(--border); }
.vstep:nth-last-child(-n+2) { border-bottom: none; }
.vstep > .stage { padding: 1.5rem !important; background: linear-gradient(180deg, #f6f6f7, #eeeeef); border-bottom: 1px solid var(--border); }
.vstep-text { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.vstep-text h3 { margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.vstep-text p { margin: 0; color: var(--fg-muted); line-height: 1.6; }
@media (max-width: 760px) {
  .vsteps { grid-template-columns: minmax(0, 1fr); }
  .vstep:nth-child(odd) { border-right: none; }
  .vstep:nth-last-child(2) { border-bottom: 1px solid var(--border); }
}

/* a red correction under a table cell (voice page) */
.redline { text-decoration: underline wavy #dc2626; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.rednote { display: block; margin-top: 0.5rem; font-family: "Caveat", cursive; font-weight: 600; font-size: 1.3rem; line-height: 1.15; color: #dc2626; transform: rotate(-1deg); }

/* the Why page: blue links (Ayadi, 2026-10-18) */
.prose.why a { color: #2563eb; text-decoration-color: rgba(37, 99, 235, 0.35); }
.prose.why a:hover { text-decoration-color: #2563eb; }

/* Privacy and terms */
.prose.legal h2 { font-size: 1.3rem; margin: 1.8em 0 0.5em; }
.prose.legal b { font-weight: 500; }
.form-legal { margin: 0; font-size: 0.85rem; color: var(--fg-muted); }
.form-legal a { text-decoration: underline; text-underline-offset: 3px; }
.prose.legal > h2:first-child { margin-top: 0; }

/* Grid columns may shrink below their content, so a long code line scrolls inside its block instead of widening the column. */
.split > * { min-width: 0; }

/* ---------- /fingerprint: the free W10 tool ---------- */
/* Two columns: the draft (sticky) on the left, the result on the right; one column on a phone. */
.fp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.fp [hidden] { display: none !important; }
.fp-in { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.25rem; }
.fp-form { display: flex; flex-direction: column; gap: 0.75rem; }
.fp-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; flex-wrap: wrap; }
.fp-label { font-size: 0.88rem; font-weight: 500; }
.fp-meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--fg-subtle); margin-top: -0.25rem; }
.fp-form textarea, .fp-inline input {
  font: inherit; font-size: 0.95rem; padding: 0.85rem 0.95rem; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--bg-base); color: var(--fg-base);
}
.fp-form textarea { height: clamp(320px, calc(100vh - 340px), 720px); resize: vertical; line-height: 1.6; }
.fp-form textarea:focus, .fp-inline input:focus { outline: 2px solid var(--fg-base); outline-offset: -1px; border-color: transparent; }
.fp-bar { display: flex; align-items: center; gap: 0.6rem; }
.fp-bar .btn { padding: 0.65rem 1.2rem; font-size: 0.95rem; }
.fp-bar .btn:disabled { opacity: 0.6; cursor: progress; }
.fp-count { font-family: var(--mono); font-size: 0.75rem; color: var(--fg-muted); }
.fp-left { margin: 0; font-family: var(--mono); font-size: 0.75rem; color: var(--fg-muted); }
.fp-left:empty { display: none; }
.fp-gate { border: 1px solid var(--border-strong); border-radius: 10px; padding: 1.4rem; display: flex; flex-direction: column; gap: 0.85rem; background: var(--bg-base); }
.fp-gate h2 { margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; }
.fp-gate p { margin: 0; color: var(--fg-muted); line-height: 1.55; }
.fp-inline { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.fp-inline input { flex: 1 1 200px; min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fp-out { display: flex; flex-direction: column; gap: 2rem; min-width: 0;
  --fp-green: #22b45e; --fp-amber: #f5a524; --fp-red: #ef4a3c; --fp-green-t: #1a8a48; --fp-amber-t: #b8740a; --fp-red-t: #d23a2d; --fp-sheath: #ececec;
  font-size: 0.92rem; line-height: 1.5; }
/* Three text styles only: the text, its muted note, and the score. */
.fp-out p { margin: 0; }
.fp-out b { font-weight: 500; }
.fp-note { color: var(--fg-muted); font-size: inherit; }
a.fp-note { text-decoration: underline; text-underline-offset: 3px; }
.fp-head { display: flex; flex-direction: column; gap: 0.6rem; }
.fp-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.fp-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-top: 0.4rem; }
.fp-tile { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.85rem 0.8rem; background: var(--bg-base); }
.fp-tile:hover { background: var(--bg-subtle); }
.fp-dots { display: flex; gap: 4px; margin-top: 0.15rem; }
.fp-dots i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.fp-dots i.green, .fp-sw.green { background: var(--fp-green); } .fp-dots i.amber, .fp-sw.amber { background: var(--fp-amber); } .fp-dots i.red, .fp-sw.red { background: var(--fp-red); }
.fp-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; }
.fp-key { display: inline-flex; align-items: center; gap: 0.4rem; }
.fp-sw { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.fp-g { display: flex; flex-direction: column; gap: 0.2rem; scroll-margin-top: 90px; }
.fp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-variant-numeric: tabular-nums; }
.fp-ms { list-style: none; margin: 0.6rem 0 0; padding: 0; border-top: 1px solid var(--border); }
.fp-m { padding: 0.9rem 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.2rem; }
.fp-tag { white-space: nowrap; color: var(--fg-muted); }
.fp-tag.green { color: var(--fp-green-t); } .fp-tag.amber { color: var(--fp-amber-t); } .fp-tag.red { color: var(--fp-red-t); }
/* One sheath, the same everywhere, with one 1px line whose colour changes by zone. */
.fp-scale { position: relative; height: 10px; margin: 0.5rem 0 0.1rem; border-radius: 5px; background: var(--fp-sheath); }
.fp-line-c { position: absolute; left: 4px; right: 4px; top: 4px; height: 2px; border-radius: 1px; }
.fp-pt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-base); border: 2px solid var(--fg-base); box-sizing: border-box; }
.fp-scale .fp-pt { position: absolute; top: calc(50% - 6.5px); width: 13px; height: 13px; margin-left: -6.5px; z-index: 1; }
.fp-scale .fp-pt.hi::after, .fp-scale .fp-pt.lo::after { position: absolute; top: -5px; font-size: 0.9rem; color: var(--fg-base); font-style: normal; }
.fp-scale .fp-pt.hi::after { content: "›"; right: -12px; }
.fp-scale .fp-pt.lo::after { content: "‹"; left: -12px; }
.fp-colours .tab-num { display: flex; align-items: center; }
.fp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.fp-dot.g { --c: #22b45e; } .fp-dot.a { --c: #f5a524; } .fp-dot.r { --c: #ef4a3c; }
.fp-measures tbody th { white-space: nowrap; }
.fp-measures tr.fp-grp th { background: var(--bg-subtle); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.fp-measures tr.fp-grp th span { margin-left: 0.6rem; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 0.85rem; color: var(--fg-muted); font-weight: 400; }
.fp-code { margin: 2rem 0 0; padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-subtle); overflow-x: auto; font-family: var(--mono); font-size: 0.82rem; line-height: 1.6; }
.fp-cta-h { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
@media (max-width: 900px) {
  .fp { grid-template-columns: minmax(0, 1fr); }
  .fp-in { position: static; }
  .fp-form textarea { height: 280px; }
  .fp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-tile:last-child:nth-child(odd) { grid-column: span 2; }
}

/* ---------- /fingerprint/<group>: the five explainer pages ---------- */
.fpc-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fpc-nav a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.7rem; border: 1px solid var(--border); border-radius: 99px; color: var(--fg-muted); }
.fpc-nav a:hover { color: var(--fg-base); border-color: var(--border-strong); }
.fpc-nav a[aria-current="page"] { background: var(--inverted); color: var(--fg-on-inverted); border-color: var(--inverted); }
.fpc-body { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; max-width: 980px; }
.fpc-p { margin: 0; max-width: 68ch; font-size: 1.04rem; line-height: 1.7; color: var(--fg-base); }
.fpc-p a { text-decoration: underline; text-underline-offset: 3px; }
.fpc-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 0.5rem; }
.fpc-q { margin: 0; border: 1px solid var(--border); border-radius: 10px; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--bg-base); }
.fpc-q figcaption { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); display: flex; align-items: center; gap: 0.45rem; }
.fpc-q figcaption::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.fpc-c { --c: #dc2626; } .fpc-w { --c: #16a34a; }
.fpc-q blockquote { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: 1.12rem; line-height: 1.55; color: var(--fg-base); }
.fpc-one { max-width: 760px; }
.fpc-note { margin: 0; max-width: 68ch; font-size: 0.92rem; line-height: 1.6; color: var(--fg-muted); padding-left: 0.9rem; border-left: 2px solid var(--border-strong); }
.fpc-tbl th small { display: block; font-weight: 400; color: var(--fg-subtle); font-size: 0.78rem; }
.fpc-tbl td.fpc-n { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--fg-base); }
.fpc-tbl td.fpc-n span { color: var(--fg-muted); font-size: 0.85rem; margin-left: 0.3rem; }
.fpc-tbl .fp-dot { margin-right: 0.45rem; }
@media (max-width: 760px) { .fpc-pair { grid-template-columns: minmax(0, 1fr); } }
.fp-measures tr.fp-grp a { text-decoration: underline; text-underline-offset: 3px; }

/* /fingerprint: the score out of 100 */
.fp-total { margin: 0; display: flex; align-items: baseline; gap: 0.4rem; }
.fp-total b { font-size: clamp(3rem, 7vw, 4.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fp-score-h { margin: 2rem 0 0.4rem; font-size: 1.1rem; font-weight: 500; }

/* /fingerprint: plain Claude against our writer */
.fp-vs td { font-variant-numeric: tabular-nums; }
.fp-vs th small { color: var(--fg-subtle); font-family: var(--mono); font-size: 0.72rem; margin-left: 0.3rem; }
.fp-vs-total th, .fp-vs-total td { font-weight: 600; font-size: 1.05rem; }
.fp-vs-notes { margin-top: 1.5rem; }
.fp-tip { margin: 0; font-size: 0.8rem; line-height: 1.45; color: var(--fg-muted); }
/* The result's colours (Ayadi, 2026-10-31): bright green, amber and red for the line and dots; a deeper shade of each for text on white. */

/* /research: the article layout is the concept-page format (hero on a dotted grid, chapter rail, one dark close), in the site's own tokens */
.rs-hero { position: relative; padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 4rem) clamp(2.5rem, 5vw, 4rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; }
.rs-index .rs-hero { padding-inline: 0; }
.rs-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(var(--border-strong) 1px, transparent 1px); background-size: 16px 16px; opacity: 0.7; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 0%, transparent 70%); }
.rs-hero > * { position: relative; z-index: 1; }
.rs-hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; max-width: 18ch; text-wrap: balance; }
.rs-sub { margin: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.5; color: var(--fg-muted); max-width: 52ch; text-wrap: balance; }
.rs-meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); }

.rs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.rs-card { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.6rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-base); transition: border-color 0.15s ease, background 0.15s ease; }
.rs-card:hover { border-color: var(--border-strong); background: var(--bg-subtle); }
.rs-card h2 { margin: 0; font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.rs-card p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--fg-muted); }
.rs-k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); }
.rs-k b { font-weight: 600; color: var(--fg-base); margin-right: 0.5rem; }
.rs-more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; }

.rs-layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding: 0 clamp(1.25rem, 4vw, 4rem); border-top: 1px solid var(--border); }
.rs-rail { position: sticky; top: 88px; padding-top: 3rem; max-height: calc(100vh - 96px); overflow-y: auto; scrollbar-width: none; }
.rs-rail::-webkit-scrollbar { display: none; }
.rs-rail-k { font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0.9rem; }
.rs-chap { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.rs-chap a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px; margin-left: -1px; padding: 0.45rem 0 0.45rem 0.9rem; border-left: 2px solid transparent; font-size: 0.88rem; line-height: 1.4; color: var(--fg-muted); transition: color 0.15s ease, border-color 0.15s ease; }
.rs-chap a .n { font-family: var(--mono); font-size: 0.68rem; line-height: 1.3rem; color: var(--fg-subtle); }
.rs-chap a:hover, .rs-chap a[aria-current="true"] { color: var(--fg-base); }
.rs-chap a[aria-current="true"] { border-left-color: var(--fg-base); }
.rs-chap a[aria-current="true"] .n { color: var(--fg-base); }

.rs-body { min-width: 0; padding-block: 1rem 3rem; max-width: 70ch; }
.rs-sec { padding-block: 2.5rem; scroll-margin-top: 80px; border-top: 1px solid var(--border); font-size: 1.04rem; line-height: 1.7; color: var(--fg-muted); }
.rs-sec:first-child { border-top: 0; }
.rs-sec > * { margin: 0 0 1.15em; }
.rs-sec > :last-child { margin-bottom: 0; }
.rs-sec h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; color: var(--fg-base); margin-bottom: 0.8em; }
.rs-sec h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.35; color: var(--fg-base); margin-top: 1.6em; }
.rs-sec strong { color: var(--fg-base); font-weight: 600; }
.rs-sec a { color: var(--fg-base); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.rs-sec a:hover { text-decoration-color: var(--fg-base); }
.rs-sec:first-child > p:first-child { font-size: 1.25rem; line-height: 1.5; color: var(--fg-base); }
.rs-sec ul, .rs-sec ol { padding-left: 1.3rem; }
.rs-sec li { margin: 0.3em 0; }
.rs-sec blockquote { padding-left: 1.2rem; border-left: 2px solid var(--fg-base); }
.rs-sec img { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; }
.rs-sec code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-hover); padding: 0.1em 0.35em; border-radius: 4px; }
.rs-sec pre { font-family: var(--mono); font-size: 0.85rem; background: var(--inverted); color: #fafafa; padding: 1rem 1.2rem; border-radius: 10px; overflow-x: auto; }
.rs-sec pre code { background: none; padding: 0; }
.rs-sec .tbl-wrap { border: 1px solid var(--border); border-radius: 10px; background: var(--bg-base); }
.rs-sec table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.rs-sec th, .rs-sec td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); }
.rs-sec th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--fg-subtle); background: var(--bg-subtle); }
.rs-sec tr:last-child td { border-bottom: 0; }

/* the one dark band, at the end */
.rs-close { background: var(--inverted); color: var(--fg-on-inverted); border-bottom: 0; }
.rs-close-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.rs-close .eyebrow { color: #a1a1aa; margin-bottom: 1.1rem; }
.rs-close .eyebrow::before { background: #fff; }
.rs-close h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; max-width: 16ch; }
.rs-close-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.rs-lnk { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.2rem; border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; background: rgba(255,255,255,0.04); transition: background 0.15s ease, border-color 0.15s ease; }
.rs-lnk:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.28); }
.rs-lnk-primary { background: #fff; color: var(--inverted); border-color: #fff; }
.rs-lnk-primary:hover { background: #f4f4f5; border-color: #f4f4f5; }
.rs-lnk .t { font-size: 0.95rem; font-weight: 600; }
.rs-lnk .d { font-size: 0.82rem; line-height: 1.5; color: #a1a1aa; }
.rs-lnk-primary .d { color: #52525b; }

@media (max-width: 1023px) {
  .rs-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-inline: clamp(1.25rem, 4vw, 4rem); }
  .rs-rail { top: 64px; z-index: 15; padding: 0; max-height: none; overflow: visible; margin-inline: calc(-1 * clamp(1.25rem, 4vw, 4rem)); background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
  .rs-rail-k { display: none; }
  .rs-chap { flex-direction: row; border-left: 0; overflow-x: auto; scrollbar-width: none; padding-inline: clamp(1.25rem, 4vw, 4rem); }
  .rs-chap::-webkit-scrollbar { display: none; }
  .rs-chap a { display: flex; gap: 6px; white-space: nowrap; margin: 0; padding: 0.8rem 0.6rem 0.65rem; border-left: 0; border-bottom: 2px solid transparent; }
  .rs-chap a[aria-current="true"] { border-bottom-color: var(--fg-base); }
  .rs-sec { scroll-margin-top: 130px; }
  .rs-body { max-width: none; }
}
@media (max-width: 900px) {
  .rs-cards { grid-template-columns: minmax(0, 1fr); }
  .rs-close-in { grid-template-columns: minmax(0, 1fr); }
  .rs-close-links { grid-template-columns: minmax(0, 1fr); }
}

/* ---- authors: the byline, the author card and the author page ---- */
.post-head .meta.by { display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.by-who { display: inline-flex; align-items: center; gap: 0.45rem; color: inherit; }
.by-who:hover { color: var(--fg-base); }
.by-avatar { width: 1.4rem; height: 1.4rem; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-muted, #eee); }
.by-initials { display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0; color: var(--fg-subtle); border: 1px solid var(--line, currentColor); }
.by-avatar-md { width: 3.25rem; height: 3.25rem; font-size: 0.9rem; }
.by-avatar-lg { width: 7rem; height: 7rem; font-size: 1.8rem; }
.author-card { display: flex; gap: 1rem; align-items: flex-start; max-width: 66ch; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line, #ddd); }
.author-card .k { margin: 0 0 0.2rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.author-name { font-family: var(--serif); font-size: 1.35rem; color: inherit; }
.author-bio { margin: 0.4rem 0 0; color: var(--fg-muted); line-height: 1.55; }
.author-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 66ch; margin: 2rem 0 3rem; }
.author-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; }
.author-hero .subhead { margin: 0; color: var(--fg-muted); font-size: 1.15rem; line-height: 1.5; }

/* HTML blocks in posts (assets/md.js): the writer's own HTML, scrolling sideways when wider than the column */
.pg-html { overflow-x: auto; margin: 0 0 1.2em; }

/* /research: whitepaper gate under the scorer note */
.rs-gate { scroll-margin-top: 90px; margin-top: 3rem; padding: 1.6rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-subtle, #fafafa); }
.rs-gate h2 { margin: 0 0 0.5rem; font-size: 1.4rem; letter-spacing: -0.02em; font-weight: 600; }
.rs-gate p { margin: 0 0 1rem; }
.rs-gate-form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.rs-gate-form input { flex: 1 1 14rem; min-width: 0; padding: 0.7rem 0.85rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; background: #fff; }
.rs-gate-form .form-legal, .rs-gate-form .form-error { flex: 1 1 100%; margin: 0.2rem 0 0; }
.rs-gate [hidden] { display: none; }

/* whitepaper gate, sent: the card turns green and only the confirmation shows */
.rs-gate.is-sent { background: #f0faf3; border-color: #bfe6cc; }
.rs-gate.is-sent > :not(.rs-gate-done) { display: none; }
.rs-gate-done { display: flex; gap: 1rem; align-items: flex-start; }
.rs-gate-check { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #22b45e; color: #fff; }
.rs-gate-done h2 { margin: 0.3rem 0 0.4rem; color: #14532d; }
.rs-gate-done p { margin: 0 0 0.6rem; color: var(--fg-base); }
.rs-gate-done .rs-gate-note { margin: 0; font-size: 0.9rem; color: var(--fg-muted); }
.rs-gate-again { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rs-gate-done b { font-weight: 600; }

/* /contact and the footer's "Talk to Ayadi": a person, with a face and a way to reach him */
.contact-card { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-top: 0.75rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-base); max-width: 40rem; }
.contact-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.contact-body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.contact-name { margin: 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.contact-role { margin: 0 0 0.75rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.contact-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.contact-more { margin: 0.5rem 0 0; color: var(--fg-muted); }
.contact-more a { color: var(--fg-base); text-decoration: underline; text-underline-offset: 3px; }
.footer-founder { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem; font-size: 0.9rem; color: var(--fg-muted); }
.footer-founder img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.footer-founder:hover { color: var(--fg-base); }
@media (max-width: 560px) { .contact-card { flex-direction: column; align-items: flex-start; } }
