@font-face {
    font-family: "Righteous";
    src: url("fonts/righteous-v18.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
  }
  :root {
    --bg: #f8f9fc;
    --bg-alt: #eef3f6;
    --surface: #ffffff;
    --surface-tint: #f4f7fb;
    --text: #171720;
    --text-soft: #505466;
    --text-muted: #62687a;
    --accent: #4d43c7;
    --accent-soft: #ecebff;
    --accent-contrast: #ffffff;
    --teal: #05645f;
    --teal-soft: #e1f5f1;
    --coral: #d94f45;
    --coral-soft: #fff0eb;
    --gold: #755700;
    --gold-soft: #fff5d7;
    --border: transparent;
    --code-bg: #16161d;
    --code-text: #e6e6ef;
    --code-comment: #8b8ba0;
    --code-accent: #a5b4fc;
    --shadow: 0 14px 36px rgba(33, 36, 63, 0.08), 0 2px 8px rgba(33, 36, 63, 0.05);
    --shadow-soft: 0 10px 28px rgba(33, 36, 63, 0.06);
    --radius-card: 0.875rem;
    --radius-media: 0.625rem;
    --space-section: clamp(2.9rem, 4vw, 3.75rem);
    --space-card: clamp(1rem, 1.8vw, 1.25rem);
    --measure-copy: 42rem;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #101014;
      --bg-alt: #16161d;
      --surface: #1b1b24;
      --surface-tint: #20212d;
      --text: #ecebf0;
      --text-soft: #a3a3b2;
      --text-muted: #9699aa;
      --accent: #a5a0f0;
      --accent-soft: #262347;
      --accent-contrast: #12121a;
      --teal: #4fcac0;
      --teal-soft: #123735;
      --coral: #ff8b78;
      --coral-soft: #3c211e;
      --gold: #f2c957;
      --gold-soft: #3a3111;
      --border: transparent;
      --code-bg: #0b0b10;
      --code-text: #dcdce8;
      --code-comment: #6f6f84;
      --code-accent: #a5b4fc;
      --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    }
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 8.5rem; }
  body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, var(--accent-soft)) 0%, var(--bg) 34rem),
      var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  a { color: var(--accent); text-decoration: none; }
  a:hover { text-decoration: underline; }
  :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 62%, transparent);
    outline-offset: 3px;
  }
  code, pre { font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace; }
  code { overflow-wrap: anywhere; }
  .wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

  /* ---------- header ---------- */
  header {
    position: sticky; top: 0; z-index: 10;
    background: var(--bg);
    box-shadow: 0 1px 0 rgba(23, 23, 32, 0.06);
  }
  .nav { display: flex; align-items: center; gap: 0.95rem; padding: 0.55rem 0; }
  .logo {
    display: flex; align-items: center; gap: 0.55rem; color: var(--text);
    font-family: "Righteous", ui-sans-serif, system-ui, sans-serif; font-size: 1.18rem; font-weight: 400;
  }
  .logo:hover { text-decoration: none; }
  .logo svg { display: block; }
  .nav-toggle {
    display: none; place-items: center; width: 2.75rem; height: 2.75rem;
    border: 0; border-radius: 999px; background: var(--surface);
    box-shadow: var(--shadow-soft); color: var(--text); cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block; width: 1.15rem; height: 2px; border-radius: 999px;
    background: currentColor; transition: transform 0.16s ease, opacity 0.16s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { transform: translateY(-0.38rem); }
  .nav-toggle-bars::after { transform: translateY(0.38rem); }
  body.nav-open .nav-toggle-bars { background: transparent; }
  body.nav-open .nav-toggle-bars::before { transform: rotate(45deg); }
  body.nav-open .nav-toggle-bars::after { transform: rotate(-45deg); }
  .nav-links { display: flex; gap: 0.24rem; margin-left: auto; flex-wrap: wrap; align-items: center; min-width: 0; }
  .nav-links a { color: var(--text-soft); font-size: 0.82rem; font-weight: 650; }
  .nav-links a:hover { color: var(--accent); text-decoration: none; }
  .nav-link, .nav-trigger {
    display: inline-flex; align-items: center; min-height: 2rem;
    border-radius: 999px; padding: 0.28rem 0.5rem;
  }
  .nav-link-featured {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent-soft) 78%, var(--surface));
  }
  .nav-link:hover, .nav-trigger:hover, .nav-item:focus-within .nav-trigger, .nav-item:hover .nav-trigger {
    color: var(--accent); background: var(--accent-soft); text-decoration: none;
  }
  .nav-link[aria-current="page"], .nav-trigger[aria-current="page"], footer a[aria-current="page"] {
    color: var(--accent); background: var(--accent-soft); text-decoration: none;
  }
  .nav-links .nav-contact {
    color: var(--accent-contrast); background: var(--accent); padding-inline: 0.8rem;
  }
  .nav-links .nav-contact:hover, .nav-links .nav-contact:focus-visible {
    color: var(--accent-contrast); background: color-mix(in srgb, var(--accent) 86%, black);
  }
  .nav-item { position: relative; }
  .nav-trigger::after {
    content: ""; width: 0.36rem; height: 0.36rem; margin-left: 0.4rem;
    border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg) translateY(-0.12rem); opacity: 0.72;
  }
  .mega-menu {
    position: absolute; top: calc(100% + 0.45rem); left: 50%; transform: translateX(-50%) translateY(0.35rem);
    width: min(58rem, calc(100vw - 2rem)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.72rem; padding: 0.85rem; background: var(--surface); border: 0; border-radius: 14px;
    box-shadow: 0 22px 54px rgba(33, 36, 63, 0.16), 0 2px 8px rgba(33, 36, 63, 0.05);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  }
  .mega-menu::before {
    content: ""; position: absolute; left: 0; right: 0; top: -0.55rem; height: 0.55rem;
  }
  .mega-menu.compact { width: min(50rem, calc(100vw - 2rem)); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .mega-section {
    display: grid; gap: 0.42rem; align-content: start; min-width: 0;
    border-radius: 10px; padding: 0.35rem;
  }
  .mega-heading {
    display: flex; align-items: center; gap: 0.4rem; color: var(--accent); font-size: 0.68rem; font-weight: 850;
    text-transform: uppercase; margin: 0 0.22rem 0.12rem; min-height: 2.1rem;
  }
  .mega-illo {
    width: 2rem; height: 2rem; object-fit: contain; flex: 0 0 auto;
    filter: drop-shadow(0 5px 8px rgba(33, 36, 63, 0.14));
  }
  .mega-link {
    display: block; border-radius: 9px; padding: 0.48rem 0.56rem; min-width: 0;
    color: var(--text); background: transparent;
  }
  .mega-link:hover, .mega-link:focus {
    color: var(--text); background: color-mix(in srgb, var(--accent-soft) 65%, var(--surface));
    text-decoration: none; outline: none;
  }
  .mega-link.is-priority {
    background: color-mix(in srgb, var(--accent-soft) 48%, var(--surface));
  }
  .mega-link.is-priority strong { color: var(--accent); }
  .mega-link strong { display: block; font-size: 0.84rem; line-height: 1.25; color: var(--text); }
  .mega-link span { display: block; margin-top: 0.12rem; color: var(--text-soft); font-size: 0.74rem; line-height: 1.35; }

  .crumbbar {
    position: sticky; top: 3.1rem; z-index: 9;
    background: var(--bg);
    box-shadow: 0 1px 0 rgba(23, 23, 32, 0.05);
  }
  .crumbbar .wrap { padding-top: 0.48rem; padding-bottom: 0.48rem; }
  .jumpbar {
    position: sticky; top: 5.37rem; z-index: 8;
    background: var(--bg);
    box-shadow: 0 1px 0 rgba(23, 23, 32, 0.04);
  }
  .jumpbar .wrap {
    display: flex; gap: 0.35rem; overflow-x: auto; padding-top: 0.36rem; padding-bottom: 0.42rem;
    scrollbar-width: thin;
  }
  .jumpbar a {
    flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 2rem;
    border-radius: 999px; padding: 0.24rem 0.65rem;
    color: var(--text-soft); background: color-mix(in srgb, var(--surface) 76%, transparent);
    font-size: 0.78rem; font-weight: 700;
  }
  .jumpbar a:hover { color: var(--accent); text-decoration: none; background: var(--accent-soft); }
  .jumpbar a[aria-current="location"] {
    color: var(--accent); background: var(--accent-soft);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent);
  }

  /* ---------- hero ---------- */
  .hero {
    padding: 4.5rem 0 3.5rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--bg) 88%, var(--accent-soft)) 0%, var(--bg) 48%, color-mix(in srgb, var(--bg) 86%, var(--teal-soft)) 100%);
  }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
  .hero-grid > * { min-width: 0; }
  .kicker {
    display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0;
    text-transform: uppercase; color: var(--accent);
    background: var(--accent-soft); border-radius: 999px; padding: 0.25rem 0.8rem; margin-bottom: 1.1rem;
  }
  h1 {
    font-family: "Righteous", ui-sans-serif, system-ui, sans-serif;
    font-size: 3.35rem; font-weight: 400; line-height: 1.04; letter-spacing: 0; margin-bottom: 1rem;
  }
  h3 { line-height: 1.3; }
  h1 .accent { color: var(--accent); }
  .lede { font-size: 1.13rem; color: var(--text-soft); max-width: 34rem; margin-bottom: 1.6rem; }
  .quickstart {
    background: var(--code-bg); color: var(--code-text); border-radius: 12px;
    padding: 1rem 1.2rem; font-size: 0.86rem; line-height: 1.75;
    overflow-x: auto; box-shadow: var(--shadow); max-width: min(34rem, 100%);
  }
  .quickstart code { display: block; width: max-content; max-width: none; overflow-wrap: normal; }
  .quickstart .c { color: var(--code-comment); }
  .quickstart .k { color: var(--code-accent); }
  .code-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.15rem;
  }
  .hero-art { display: flex; justify-content: center; }
  .hero-art img { width: 100%; max-width: 32rem; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 20px 34px rgba(20, 20, 40, 0.18)); }
  .hero-assurance { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.83rem; }
  .home-hero-output {
    width: min(100%, 30rem); margin: 0 auto; overflow: hidden;
    border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow);
  }
  .home-hero-output > a { display: block; }
  .home-hero-output > a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
  .home-hero-output img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
  .home-hero-output figcaption { display: grid; gap: 0.25rem; padding: 0.85rem 1rem 1rem; }
  .home-hero-output figcaption strong { font-size: 0.98rem; }
  .home-hero-output figcaption span { color: var(--text-soft); font-size: 0.83rem; }
  .home-hero-output figcaption a { margin-top: 0.25rem; font-size: 0.83rem; font-weight: 800; }
  .start-next-panel { width: min(100%, 27rem); margin: 0 auto; padding: var(--space-card); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
  .start-next-panel h2 { margin: 0.2rem 0 1rem; font-size: 1.5rem; }
  .start-next-panel ol { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; counter-reset: start-step; }
  .start-next-panel li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0 0.7rem; }
  .start-next-panel li::before { counter-increment: start-step; content: counter(start-step, decimal-leading-zero); grid-row: 1 / 3; color: var(--accent); font-size: 0.88rem; font-weight: 850; }
  .start-next-panel li strong { font-size: 0.92rem; }
  .start-next-panel li span { color: var(--text-soft); font-size: 0.83rem; line-height: 1.45; }
  .outcome-mark {
    background-color: #eef2f7;
    background-image: linear-gradient(45deg, #dbe1e9 25%, transparent 25%), linear-gradient(-45deg, #dbe1e9 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #dbe1e9 75%), linear-gradient(-45deg, transparent 75%, #dbe1e9 75%);
    background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  }
  .proof-row {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem;
    max-width: 38rem; margin: 1.35rem 0 0;
  }
  .proof {
    border: 0; border-radius: 10px; background: var(--surface);
    padding: 0.85rem 0.95rem; box-shadow: var(--shadow-soft);
  }
  a.proof { color: var(--text); text-decoration: none; }
  a.proof:hover, a.proof:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .proof strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
  .proof span { display: block; font-size: 0.8rem; color: var(--text-soft); line-height: 1.45; }

  /* ---------- sections: borderless panels use shadow/color separation ---------- */
  section { padding: var(--space-section) 0; }
  main > section:not(:first-child) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 52rem;
  }
  .feature-detail main > section:not(:first-child) {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
  .features-overview main > section:not(:first-child) {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
  .workflow-overview main > section:not(:first-child) {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
  .use-cases-overview main > section:not(:first-child) {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
  section.alt {
    background: linear-gradient(135deg, var(--bg-alt) 0%, color-mix(in srgb, var(--bg-alt) 78%, var(--teal-soft)) 52%, color-mix(in srgb, var(--bg-alt) 82%, var(--gold-soft)) 100%);
  }
  h2 {
    font-family: "Righteous", ui-sans-serif, system-ui, sans-serif;
    font-size: 2.2rem; font-weight: 400; line-height: 1.18; letter-spacing: 0; margin-bottom: 0.5rem;
  }
  .section-lede { color: var(--text-soft); max-width: var(--measure-copy); margin-bottom: 2.25rem; }
  .cta .section-lede { margin-inline: auto; }
  .section-tight { margin-bottom: 1.2rem; }

  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.1rem; }
  .card {
    background: var(--surface); border: 0; border-radius: var(--radius-card);
    padding: var(--space-card); box-shadow: var(--shadow);
  }
  .card h3 { font-size: 1.02rem; margin-bottom: 0.45rem; display: flex; align-items: center; gap: 0.55rem; }
  .card p { font-size: 0.9rem; color: var(--text-soft); }
  .card .icon { flex: none; width: 1.55rem; height: 1.55rem; display: grid; place-items: center; background: var(--accent-soft); border-radius: 7px; color: var(--accent); }
  .card .icon svg { width: 0.95rem; height: 0.95rem; }
  .card-art { width: min(100%, 10rem); aspect-ratio: 1; object-fit: contain; display: block; margin: -0.3rem 0 0.75rem; }
  .surface-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .surface-card {
    display: grid; grid-template-rows: auto 1fr; gap: 1rem; min-width: 0; overflow: hidden;
    padding: 1rem; min-height: 0;
  }
  .surface-art {
    display: block; width: 100%; max-width: 8.5rem; height: 7rem; object-fit: contain;
    margin: 0 auto; filter: drop-shadow(0 12px 18px rgba(33, 36, 63, 0.12));
  }
  .surface-card h3 { align-items: flex-start; line-height: 1.25; }
  .surface-card p { margin-bottom: 0.8rem; }
  .surface-points { list-style: none; display: grid; gap: 0.42rem; margin-top: 0.85rem; }
  .surface-points li {
    display: flex; gap: 0.45rem; color: var(--text-soft); font-size: 0.82rem; line-height: 1.4;
  }
  .surface-points li::before {
    content: ""; flex: 0 0 auto; width: 0.42rem; height: 0.42rem; border-radius: 50%;
    background: var(--accent); margin-top: 0.45rem;
  }
  .section-art { width: min(100%, 19rem); height: auto; display: block; margin: 1.15rem 0 0; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 14px 24px rgba(20, 20, 40, 0.14)); }
  .proof-art { width: min(100%, 34rem); height: auto; display: block; margin: -0.25rem auto 1.5rem; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(20, 20, 40, 0.16)); }
  .page-illo {
    width: min(100%, 22rem); height: auto; display: block;
    margin: 1.4rem 0 0; filter: drop-shadow(0 16px 26px rgba(20, 20, 40, 0.15));
  }
  .screenshot-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 0.9rem;
    align-items: stretch;
  }
  .screen-card {
    background: var(--surface); border: 0; border-radius: var(--radius-card); padding: 0.8rem;
    box-shadow: var(--shadow); min-width: 0;
  }
  .screen-frame {
    aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-media);
    background: var(--surface-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 5%, transparent);
  }
  .screen-frame img {
    display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  }
  .screen-card strong { display: block; margin: 0.7rem 0 0.18rem; font-size: 0.9rem; }
  .screen-card span { display: block; color: var(--text-soft); font-size: 0.82rem; line-height: 1.4; }
  .features-hero-showcase { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0.75rem; align-items: end; min-width: 0; }
  .features-hero-tile {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    border-radius: var(--radius-card); color: var(--text); background: var(--surface);
    box-shadow: var(--shadow); text-decoration: none;
  }
  .features-hero-tile:hover, .features-hero-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; text-decoration: none; }
  .features-hero-tile img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
  .features-hero-logo img, .feature-proof-mark { background-color: #eef2f7; background-image: linear-gradient(45deg, #dbe1e9 25%, transparent 25%), linear-gradient(-45deg, #dbe1e9 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #dbe1e9 75%), linear-gradient(-45deg, transparent 75%, #dbe1e9 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
  .features-hero-logo img { object-fit: contain; padding: 1rem; }
  .features-hero-tile span { display: grid; gap: 0.12rem; padding: 0.7rem 0.8rem; color: var(--text-soft); font-size: 0.75rem; }
  .features-hero-tile strong { color: var(--text); font-size: 0.88rem; }
  .features-proof .section-lede { margin-bottom: 1.5rem; }
  .feature-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .feature-proof-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
  .feature-proof-media, .feature-proof-card video { display: block; width: 100%; height: clamp(14rem, 27vw, 20rem); }
  .feature-proof-mark { display: grid; place-items: center; }
  .feature-proof-mark img { display: block; width: min(54%, 13rem); height: auto; aspect-ratio: 1; object-fit: contain; }
  .feature-proof-studio { height: auto; aspect-ratio: 1; }
  .feature-proof-studio img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .feature-proof-card video { object-fit: contain; background: #146e69; }
  .feature-proof-card video:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
  .feature-proof-body { display: flex; flex: 1; flex-direction: column; padding: var(--space-card); }
  .feature-proof-body h3 { margin: 0.35rem 0 0.45rem; font-size: 1.3rem; }
  .feature-proof-body p { margin: 0; color: var(--text-soft); font-size: 0.9rem; }
  .feature-proof-links { display: flex; flex-wrap: wrap; gap: 0.55rem 1rem; margin-top: auto; padding-top: 1rem; }
  .feature-proof-links a, .feature-workflow-preview a { color: var(--accent); font-size: 0.86rem; font-weight: 800; }
  .feature-workflow-preview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.5rem; align-items: center; margin-top: 1.5rem; padding: 1rem; border-radius: var(--radius-card); background: var(--surface-tint); }
  .feature-workflow-preview > * { min-width: 0; }
  .feature-workflow-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .feature-workflow-images img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; border-radius: var(--radius-media); }
  .feature-workflow-preview h3 { margin: 0.35rem 0 0.4rem; font-size: 1.15rem; }
  .feature-workflow-preview p { margin-bottom: 0.65rem; color: var(--text-soft); font-size: 0.86rem; }
  .feature-task-section { padding: 3rem 0; }
  .feature-task-heading { display: grid; grid-template-columns: 1fr minmax(0, 0.8fr); gap: 1rem; align-items: end; margin-bottom: 1rem; }
  .feature-task-heading h2 { margin: 0.25rem 0 0; }
  .feature-task-heading p { margin: 0; color: var(--text-soft); }
  .feature-task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); gap: 0.8rem; }
  .feature-task-grid .feature-page-card { min-height: 12rem; padding: 1.15rem; }
  .feature-task-grid .feature-page-card h3 { margin: 0.4rem 0 0.5rem; font-size: 1.05rem; line-height: 1.3; }
  .feature-task-grid .feature-page-card p { margin: 0; font-size: 0.86rem; line-height: 1.5; }
  .feature-task-grid .feature-card-link { padding-top: 0.8rem; }
  .feature-output-figure { margin: 0; padding: 0.75rem; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
  .feature-output-figure a { display: block; border-radius: var(--radius-media); overflow: hidden; }
  .feature-output-figure a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
  .feature-output-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
  .feature-output-figure figcaption { padding: 0.6rem 0.2rem 0.15rem; color: var(--text-soft); font-size: 0.8rem; }
  .connected-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .connected-proof-card { min-width: 0; padding: 0.85rem; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft); }
  .connected-proof-card .mini-label { display: block; margin: 0 0 0.65rem; }
  .connected-proof-card > a { display: block; border-radius: var(--radius-media); overflow: hidden; }
  .connected-proof-card > a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
  .connected-proof-card img, .connected-proof-card video { display: block; width: 100%; height: clamp(12rem, 20vw, 16rem); object-fit: contain; border-radius: var(--radius-media); background: var(--surface-tint); }
  .connected-proof-card h3 { margin: 0.8rem 0 0.35rem; font-size: 1.08rem; }
  .connected-proof-card p { margin: 0; color: var(--text-soft); font-size: 0.85rem; line-height: 1.5; }
  .connected-handoff-intro { max-width: 46rem; margin: 2.5rem 0 1.2rem; }
  .connected-handoff-intro h3 { margin: 0.25rem 0 0.5rem; font-size: 1.35rem; }
  .connected-handoff-intro p { margin: 0; color: var(--text-soft); }
  @media (max-width: 68rem) and (min-width: 46.01rem) {
    .feature-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 46rem) {
    .features-hero-showcase { max-width: 30rem; }
    .feature-proof-grid, .feature-workflow-preview, .feature-task-heading { grid-template-columns: 1fr; }
    .feature-task-grid .feature-page-card { min-height: 0; }
  }
  .outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .outcome-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft);
  }
  .outcome-media, .outcome-card > video {
    display: block; width: 100%; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden;
    background: var(--surface-tint);
  }
  .outcome-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  }
  .outcome-mark { display: grid; place-items: center; }
  .outcome-mark img { width: min(62%, 11rem); height: auto; object-fit: contain; }
  .outcome-ui:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
  .outcome-card > video { height: auto; object-fit: contain; background: #146e69; }
  .outcome-body { display: flex; flex: 1; flex-direction: column; gap: 0.6rem; padding: var(--space-card); }
  .outcome-body .mini-label { margin: 0; }
  .outcome-body h3 { font-size: 1.18rem; margin: 0; }
  .outcome-body p { color: var(--text-soft); font-size: 0.9rem; line-height: 1.5; margin: 0; }
  .outcome-body .outcome-sequence { color: var(--text); font-weight: 700; font-size: 0.78rem; }
  .outcome-body a { margin-top: auto; font-size: 0.86rem; font-weight: 750; }
  .proof-disclosure { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.78rem; line-height: 1.5; }
  .story-steps, .path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .home-path-grid, .audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; }
  .audience-card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft); }
  .audience-main { display: grid; gap: 0.5rem; padding: var(--space-card); color: var(--text); text-decoration: none; }
  .audience-main:hover, .audience-main:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-card); text-decoration: none; }
  .audience-main .mini-label { margin: 0; }
  .audience-main strong { font-size: 1.05rem; line-height: 1.25; }
  .audience-main span:not(.mini-label) { color: var(--text-soft); font-size: 0.86rem; line-height: 1.45; }
  .audience-main b { color: var(--accent); font-size: 0.82rem; }
  .audience-card p { margin: auto 1.15rem 0; padding: 0.7rem 0 1rem; color: var(--text-muted); font-size: 0.8rem; }
  .audience-card p a { font-weight: 750; }
  .story-steps article, .path-card {
    min-width: 0; padding: var(--space-card); border-radius: var(--radius-card);
    color: var(--text); background: var(--surface); box-shadow: var(--shadow-soft);
  }
  .story-number { display: block; margin-bottom: 0.7rem; color: var(--accent); font-weight: 850; }
  .story-steps h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
  .story-steps p, .path-card span { margin: 0; color: var(--text-soft); font-size: 0.88rem; line-height: 1.5; }
  .story-steps + .btn-row { margin-top: 1.25rem; }
  .path-card { display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; }
  .path-card:hover, .path-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; text-decoration: none; }
  .path-card strong { font-size: 1.05rem; }
  .path-card b { margin-top: auto; color: var(--accent); font-size: 0.84rem; }
  .ownership-strip { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 2rem; }
  .ownership-facts { display: grid; gap: 0.6rem; }
  .ownership-facts p { margin: 0; padding: 0.85rem 1rem; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-soft); }
  .ownership-facts strong, .ownership-facts span { display: block; }
  .ownership-facts strong { margin-bottom: 0.18rem; }
  .ownership-facts span { color: var(--text-soft); font-size: 0.86rem; }
  .operator-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 1.5rem; }
  .operator-proof > * { min-width: 0; }
  .screen-frame-link { position: relative; display: block; height: auto; aspect-ratio: 16 / 10; }
  .screen-frame-link:hover, .screen-frame-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
  .screen-card > .screen-frame-link::after {
    content: "View full size ↗"; position: absolute; right: 0.4rem; bottom: 0.4rem;
    padding: 0.2rem 0.42rem; border-radius: 5px; color: #fff; background: rgba(17, 24, 39, 0.86);
    font-size: 0.65rem; font-weight: 750;
  }
  .signal-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.85rem;
  }
  .signal-card {
    background: var(--surface); border: 0; border-radius: var(--radius-card); padding: 1rem;
    box-shadow: var(--shadow); min-width: 0;
  }
  .signal-card strong { display: block; margin-bottom: 0.25rem; }
  .signal-card span { display: block; color: var(--text-soft); font-size: 0.86rem; line-height: 1.45; }
  .compact-proof-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem;
  }
  .compact-proof {
    background: var(--surface); border: 0; border-radius: var(--radius-card);
    padding: 1rem; box-shadow: var(--shadow-soft); min-width: 0;
  }
  .compact-proof strong { display: block; font-size: 0.95rem; margin-bottom: 0.3rem; }
  .compact-proof span { display: block; color: var(--text-soft); font-size: 0.84rem; line-height: 1.44; }
  .comparison-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem;
  }
  .comparison-card {
    min-width: 0; border-radius: var(--radius-card); padding: 1rem;
    background: var(--surface); box-shadow: var(--shadow);
  }
  .comparison-card span {
    display: block; color: var(--accent); font-size: 0.72rem; font-weight: 850;
    text-transform: uppercase; margin-bottom: 0.35rem;
  }
  .comparison-card strong { display: block; font-size: 0.95rem; line-height: 1.25; margin-bottom: 0.35rem; }
  .comparison-card p { color: var(--text-soft); font-size: 0.84rem; line-height: 1.44; }
  .impact-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2rem; align-items: start; }
  .impact-grid > * { min-width: 0; }
  .argument { list-style: none; display: grid; gap: 0.85rem; }
  .argument li {
    border-radius: 10px; padding: 0.72rem 0.9rem;
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent-soft) 70%, transparent), transparent 86%);
  }
  .argument strong { display: block; margin-bottom: 0.12rem; }
  .argument span { display: block; color: var(--text-soft); font-size: 0.92rem; }
  .mini-label {
    display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0;
    text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem;
  }
  .formula {
    display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin-top: 1rem;
    font-weight: 650; color: var(--text);
  }
  .formula span {
    border: 0; background: var(--surface); border-radius: 8px;
    padding: 0.35rem 0.55rem; font-size: 0.86rem; box-shadow: var(--shadow);
  }
  .matrix-example {
    display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem;
    align-items: stretch; margin-top: 1.4rem;
  }
  .matrix-example > * { min-width: 0; }
  .metric {
    background: var(--surface); border: 0; border-radius: var(--radius-card);
    padding: 1rem; box-shadow: var(--shadow);
  }
  .metric strong { display: block; font-size: 1.5rem; line-height: 1; margin-bottom: 0.35rem; color: var(--accent); }
  .metric span { display: block; font-size: 0.86rem; color: var(--text-soft); }
  .recipe-strip {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.85rem;
    margin-top: 1.2rem;
  }
  .recipe {
    background: var(--surface); border: 0; border-radius: 10px;
    padding: 0.9rem 1rem; box-shadow: var(--shadow);
  }
  .recipe code { display: block; color: var(--accent); font-size: 0.78rem; margin-bottom: 0.3rem; white-space: nowrap; overflow-x: auto; }
  .recipe span { display: block; color: var(--text-soft); font-size: 0.84rem; }
  .matrix-support {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.85rem;
    margin-top: 1rem;
  }
  .timeline {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem;
    margin-top: 1.25rem;
  }
  .timeline-step {
    border: 0; background: var(--surface); border-radius: 10px;
    padding: 0.85rem 0.9rem; box-shadow: var(--shadow); position: relative;
  }
  .timeline-step strong { display: block; font-size: 0.9rem; margin-bottom: 0.18rem; }
  .timeline-step span { display: block; color: var(--text-soft); font-size: 0.82rem; line-height: 1.45; }
  .feature-groups { display: grid; gap: 2rem; }
  .feature-group h3 { font-size: 1rem; margin-bottom: 0.25rem; }
  .feature-group > p { color: var(--text-soft); max-width: 42rem; font-size: 0.9rem; margin-bottom: 1rem; }
  .code-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem; margin-top: 1.2rem;
  }
  .code-grid > * { min-width: 0; }

  /* ---------- how it works ---------- */
  .flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1rem; counter-reset: step; }
  .step {
    background: var(--surface); border: 0; border-radius: var(--radius-card);
    padding: 1.15rem 1.2rem; position: relative; counter-increment: step; box-shadow: var(--shadow);
  }
  .step::before {
    content: counter(step);
    display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem;
    border-radius: 50%; background: var(--accent); color: var(--accent-contrast);
    font-weight: 700; font-size: 0.85rem; margin-bottom: 0.6rem;
  }
  .step h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
  .step p { font-size: 0.85rem; color: var(--text-soft); }
  .flow-diagram { margin-top: 2.25rem; max-width: 100%; overflow-x: auto; }
  .flow-diagram svg { display: block; min-width: 40rem; width: 100%; height: auto; overflow: hidden; }
  .workflow-map {
    display: grid; grid-template-columns: minmax(12rem, 0.85fr) minmax(20rem, 1.5fr) minmax(12rem, 0.85fr);
    gap: 1rem; align-items: stretch; margin-top: 1.35rem;
  }
  .workflow-map > * { min-width: 0; }
  .workflow-lane {
    display: grid; gap: 0.7rem; align-content: start;
    border: 0; border-radius: var(--radius-card); background: var(--surface);
    padding: 1rem; box-shadow: var(--shadow);
  }
  .workflow-lane h3, .workflow-loop h3 { font-size: 0.98rem; margin-bottom: 0.2rem; }
  .workflow-node {
    border: 0; border-radius: 10px;
    padding: 0.8rem 0.85rem; background: color-mix(in srgb, var(--surface) 72%, var(--surface-tint));
  }
  .workflow-node strong { display: block; font-size: 0.92rem; margin-bottom: 0.25rem; }
  .workflow-node span { display: block; color: var(--text-soft); font-size: 0.82rem; line-height: 1.45; }
  .workflow-node.primary {
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
    box-shadow: 0 8px 18px rgba(77, 67, 199, 0.08);
  }
  .workflow-loop {
    border: 0; border-radius: var(--radius-card);
    background: color-mix(in srgb, var(--accent-soft) 42%, var(--surface));
    padding: 1rem; box-shadow: var(--shadow);
  }
  .workflow-loop p { color: var(--text-soft); font-size: 0.86rem; margin-bottom: 0.85rem; }
  .loop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .loop-grid > * { min-width: 0; }
  .loop-arrow {
    margin-top: 0.9rem; color: var(--accent); font-size: 0.84rem; font-weight: 650; text-align: center;
    border: 0; border-radius: 10px; padding: 0.65rem 0.75rem; background: var(--surface);
    box-shadow: var(--shadow-soft);
  }
  .workflow-note {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.8rem;
    margin-top: 1rem;
  }
  .workflow-note .recipe {
    box-shadow: none;
  }
  .execution-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.85rem;
    margin-top: 1rem;
  }
  .execution-card {
    background: var(--surface); border: 0; border-radius: var(--radius-card); padding: 1rem;
    box-shadow: var(--shadow);
  }
  .execution-card .mini-label { margin-bottom: 0.25rem; }
  .execution-card strong { display: block; margin-bottom: 0.25rem; }
  .execution-card span { color: var(--text-soft); font-size: 0.86rem; line-height: 1.45; display: block; }
  .feature-band {
    margin-top: 1.35rem; border: 0; border-radius: var(--radius-card);
    background: var(--surface); box-shadow: var(--shadow); padding: 1.2rem;
  }
  .feature-band h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
  .feature-band p { color: var(--text-soft); max-width: 46rem; font-size: 0.92rem; margin-bottom: 1rem; }
  .feature-heading { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.35rem; }
  .feature-heading h3 { margin-bottom: 0; }
  .tier {
    display: inline-block; border-radius: 999px; padding: 0.14rem 0.52rem;
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase;
    border: 0; color: var(--text-soft); background: var(--bg);
  }
  .tier-killer { color: var(--accent); background: var(--accent-soft); }
  .tier-major { color: var(--teal); background: var(--teal-soft); }
  .tier-secondary { color: var(--gold); background: var(--gold-soft); }
  @media (prefers-color-scheme: dark) {
    .tier-major { color: #7dd3c7; background: #113631; }
    .tier-secondary { color: #f8e38d; background: #3a3111; }
  }
  .feature-card[data-tier="killer"] { box-shadow: 0 18px 42px rgba(77, 67, 199, 0.12), 0 2px 8px rgba(33, 36, 63, 0.05); }
  .feature-card[data-tier="major"] { box-shadow: 0 18px 42px rgba(7, 138, 131, 0.1), 0 2px 8px rgba(33, 36, 63, 0.05); }
  .feature-card[data-tier="secondary"] { box-shadow: none; }
  .persona-paths {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.85rem;
    margin-top: 1.2rem;
  }
  .persona-paths details {
    background: var(--surface); border: 0; border-radius: var(--radius-card); padding: 0.95rem 1rem;
    box-shadow: var(--shadow-soft);
  }
  .persona-paths summary { cursor: pointer; font-weight: 700; }
  .persona-paths p { color: var(--text-soft); font-size: 0.86rem; margin-top: 0.5rem; }

  /* ---------- delivery api ---------- */
  .delivery-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem;
    align-items: start;
  }
  .delivery-grid > * { min-width: 0; }
  .api-route-list { display: grid; gap: 0.7rem; }
  .api-route {
    background: var(--surface); border: 0; border-radius: 10px; padding: 0.85rem 0.95rem;
    box-shadow: var(--shadow-soft);
  }
  .api-route code { display: block; color: var(--accent); font-size: 0.8rem; margin-bottom: 0.25rem; overflow-x: auto; overflow-wrap: anywhere; }
  .api-route span { display: block; color: var(--text-soft); font-size: 0.84rem; }

  /* ---------- self-hosted ---------- */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .checklist { list-style: none; display: grid; gap: 0.85rem; }
  .checklist li { display: flex; gap: 0.7rem; font-size: 0.95rem; }
  .checklist li strong { display: block; }
  .checklist li span.desc { color: var(--text-soft); font-size: 0.88rem; }
  .check { flex: none; width: 1.3rem; height: 1.3rem; margin-top: 0.15rem; color: var(--accent); }

  /* ---------- FAQ ---------- */
  .qa-list { display: grid; gap: 0.85rem; }
  details.qa {
    background: var(--surface); border: 0; border-radius: var(--radius-card);
    padding: 1rem 1.1rem; box-shadow: var(--shadow);
  }
  details.qa summary { cursor: pointer; font-weight: 650; }
  details.qa p { color: var(--text-soft); font-size: 0.92rem; margin-top: 0.6rem; }

  /* ---------- interfaces strip ---------- */
  .strip { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
  .pill {
    font-size: 0.82rem; font-weight: 500; color: var(--text-soft);
    border: 0; background: var(--surface);
    border-radius: 999px; padding: 0.3rem 0.85rem;
  }
  .pill code { font-size: 0.78rem; color: var(--accent); }

  /* ---------- CTA ---------- */
  .cta { text-align: center; }
  .cta .quickstart { margin: 1.5rem auto 0; text-align: left; }
  .btn-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
  .btn-row-start { justify-content: flex-start; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 2.8rem; padding: 0.65rem 1.25rem;
    border-radius: var(--radius-media); font-size: 0.95rem; font-weight: 750;
    line-height: 1.25; text-align: center;
  }
  .btn-primary { background: var(--accent); color: var(--accent-contrast); }
  .btn-primary:hover { text-decoration: none; color: var(--accent-contrast); background: color-mix(in srgb, var(--accent) 88%, black); }
  .btn-ghost { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent), var(--shadow-soft); }
  .btn-ghost:hover { text-decoration: none; color: var(--accent); background: var(--accent-soft); }

  /* ---------- multipage layouts ---------- */
  .page-hero {
    padding: 3.2rem 0 2.25rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--bg) 90%, var(--accent-soft)) 0%, var(--bg) 52%, color-mix(in srgb, var(--bg) 86%, var(--teal-soft)) 100%);
  }
  .page-hero h1 { max-width: 48rem; }
  .page-hero .lede { max-width: 46rem; }
  .page-hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(16rem, 0.72fr);
    gap: 2.2rem; align-items: center;
  }
  .page-hero-grid > * { min-width: 0; }
  .page-hero-grid .page-illo { justify-self: end; margin: 0; width: min(100%, 24rem); aspect-ratio: 1; object-fit: contain; }
  .page-links {
    display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem;
  }
  .page-links a {
    display: inline-flex; align-items: center; min-height: 2rem;
    border-radius: 999px; padding: 0.28rem 0.82rem;
    background: var(--surface); box-shadow: var(--shadow-soft);
    color: var(--text-soft); font-size: 0.84rem; font-weight: 650;
  }
  .page-links a:hover { color: var(--accent); text-decoration: none; }
  .spaced-top { margin-top: 1.2rem; }
  .spaced-bottom { margin-bottom: 1rem; }
  .lede-compact { margin-bottom: 1.5rem; }
  .breadcrumbs {
    display: flex; flex-wrap: wrap; gap: 0.38rem; align-items: center;
    color: var(--text-soft); font-size: 0.82rem; font-weight: 650;
    min-width: 0;
  }
  .breadcrumbs a, .breadcrumbs span {
    color: var(--text-soft); min-width: 0; overflow: hidden; text-overflow: ellipsis;
  }
  .breadcrumbs a:hover { color: var(--accent); text-decoration: none; }
  .breadcrumbs span::before { content: "/"; margin-right: 0.38rem; color: color-mix(in srgb, var(--text-soft) 52%, transparent); }
  .breadcrumbs span:first-child::before { content: none; }
  .persona-grid, .feature-page-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem;
  }
  .persona-card, .feature-page-card {
    background: var(--surface); border: 0; border-radius: var(--radius-card);
    padding: var(--space-card); box-shadow: var(--shadow); min-width: 0;
  }
  .feature-page-card { display: flex; flex-direction: column; }
  .feature-card-link {
    display: inline-flex; align-self: flex-start; margin-top: auto; padding-top: 1.1rem;
    color: var(--accent); font-size: 0.88rem; font-weight: 800; text-decoration: none;
  }
  .feature-card-link:hover { text-decoration: underline; text-underline-offset: 0.2rem; }
  .feature-card-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
  .feature-detail-hero-art {
    width: min(100%, 24rem); max-height: 21rem; object-fit: contain;
    justify-self: end; filter: drop-shadow(0 16px 26px rgba(20, 20, 40, 0.15));
  }
  .feature-detail-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 1.4rem; align-items: center; }
  .feature-detail-example > * { min-width: 0; }
  .feature-detail-example .screen-card { padding: 0.7rem; }
  .feature-detail-example video { display: block; width: 100%; max-height: 24rem; border-radius: 10px; background: #146e69; }
  .feature-detail-example .sample-mark { display: block; width: min(100%, 16rem); margin: auto; }
  .feature-detail-list { display: grid; gap: 0.65rem; padding-left: 1.2rem; color: var(--text-soft); }
  .feature-detail-note { padding: 1rem 1.2rem; border-radius: 10px; background: var(--surface-tint); color: var(--text-soft); font-size: 0.88rem; }
  .feature-detail-note a { text-decoration: underline; text-underline-offset: 0.16em; }
  .feature-brief-card {
    padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius-card);
    color: var(--text); background: var(--surface); box-shadow: var(--shadow);
    border-top: 5px solid var(--accent);
  }
  .feature-brief-card h3 { margin: 0.3rem 0 1.2rem; font-size: 1.5rem; }
  .feature-brief-card dl { display: grid; gap: 0.8rem; margin: 0; }
  .feature-brief-card dl div { padding-top: 0.75rem; border-top: 1px solid var(--bg-alt); }
  .feature-brief-card dt { color: var(--accent); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; }
  .feature-brief-card dd { margin: 0.18rem 0 0; color: var(--text-soft); font-size: 0.92rem; }
  @media (max-width: 46rem) {
    .feature-detail-hero-art { justify-self: start; width: min(100%, 18rem); }
    .feature-detail-example { grid-template-columns: 1fr; }
  }
  .persona-card h2, .feature-page-card h2 {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem; font-weight: 800; margin-bottom: 0.25rem;
  }
  .guided-paths { margin-top: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guided-paths .feature-page-card { display: flex; flex-direction: column; }
  .guided-paths h3 { font-size: 1.03rem; line-height: 1.25; margin: 0.5rem 0; }
  .guided-paths .support-links { align-items: center; gap: 0.3rem 0.65rem; padding-top: 0.25rem; }
  .guided-paths .support-links a {
    display: inline-flex; align-items: center; min-height: 2.75rem;
    padding: 0.55rem 0.7rem; border-radius: var(--radius-media);
    font-size: 0.84rem; text-transform: none;
  }
  .guided-paths .support-links a:first-child { color: var(--accent); background: var(--accent-soft); }
  .guided-paths .support-links a:first-child:hover { box-shadow: inset 0 0 0 2px var(--accent); text-decoration: none; }
  .guided-paths .support-links a:not(:first-child) { background: transparent; text-decoration: underline; text-underline-offset: 0.2em; }
  @media (max-width: 46rem) { .guided-paths { grid-template-columns: 1fr; } }
  .persona-card p, .feature-page-card p { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 0.9rem; }
  .workflow-list { display: grid; gap: 0.48rem; margin: 0.75rem 0 1rem; padding-left: 1.1rem; }
  .workflow-list li { color: var(--text-soft); font-size: 0.88rem; line-height: 1.45; padding-left: 0.1rem; }
  .support-links {
    display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto;
  }
  .support-links a, .support-links span {
    border-radius: 999px; background: var(--bg-alt); color: var(--text-soft);
    padding: 0.16rem 0.55rem; font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  }
  .support-links a:hover { color: var(--accent); text-decoration: none; }
  .feature-stack { display: grid; gap: 0.75rem; margin-top: 0.85rem; }
  .feature-stack li { list-style: none; color: var(--text-soft); font-size: 0.88rem; line-height: 1.45; }
  .feature-stack strong { color: var(--text); }
  .maturity-row { display: flex; flex-wrap: wrap; gap: 0.42rem; margin: 0.9rem 0 0.15rem; }
  .maturity {
    border-radius: 999px; padding: 0.16rem 0.52rem; font-size: 0.7rem; font-weight: 800;
    color: var(--teal); background: var(--teal-soft); text-transform: uppercase;
  }
  .feature-cluster-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  }
  .feature-cluster {
    min-width: 0; border-radius: var(--radius-card); padding: var(--space-card);
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, var(--accent-soft)) 0%, var(--surface) 52%, color-mix(in srgb, var(--surface) 82%, var(--teal-soft)) 100%);
    box-shadow: var(--shadow);
  }
  .cluster-top { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.55rem; }
  .cluster-icon {
    flex: 0 0 auto; display: inline-grid; place-items: center;
    width: 2.2rem; height: 2.2rem; border-radius: 50%;
    color: var(--accent); background: var(--accent-soft);
    font-family: "Righteous", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.78rem;
  }
  .feature-cluster h3 { font-size: 1rem; line-height: 1.2; }
  .feature-cluster p { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 0.85rem; }
  .mini-feature-list { list-style: none; display: grid; gap: 0.58rem; margin: 0; padding: 0; }
  .mini-feature-list li {
    color: var(--text-soft); font-size: 0.86rem; line-height: 1.45;
    padding-left: 0.9rem; position: relative;
  }
  .mini-feature-list li::before {
    content: ""; position: absolute; left: 0; top: 0.56em;
    width: 0.34rem; height: 0.34rem; border-radius: 50%; background: var(--accent);
  }
  .mini-feature-list strong { color: var(--text); }
  .pricing-grid {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1rem;
    align-items: stretch;
  }
  .pricing-grid > * { min-width: 0; }
  .pricing-panel {
    background: var(--surface); border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow);
    padding: 1.35rem; min-width: 0;
  }
  .pricing-panel h2, .pricing-panel h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
  .pricing-statement {
    font-family: "Righteous", ui-sans-serif, system-ui, sans-serif;
    font-size: 2rem; line-height: 1.08; margin: 0.5rem 0 0.9rem;
  }
  .pricing-list { list-style: none; display: grid; gap: 0.72rem; margin-top: 1rem; }
  .pricing-list li {
    color: var(--text-soft); font-size: 0.9rem; line-height: 1.45;
    background: color-mix(in srgb, var(--surface) 68%, var(--surface-tint));
    border-radius: 10px; padding: 0.72rem 0.82rem;
  }
  .pricing-list strong { color: var(--text); display: block; margin-bottom: 0.12rem; }
  .license-table {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.85rem;
    margin-top: 1rem;
  }
  .license-card {
    background: var(--surface); border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow);
    padding: 1rem; min-width: 0;
  }
  .license-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
  .license-card p { color: var(--text-soft); font-size: 0.88rem; margin-bottom: 0.75rem; }
  .value-equation {
    display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin-top: 1rem;
    font-weight: 750;
  }
  .value-equation span {
    border-radius: 999px; padding: 0.3rem 0.62rem; background: var(--surface);
    box-shadow: var(--shadow-soft); color: var(--text-soft); font-size: 0.84rem;
  }
  .value-equation .equals { color: var(--accent); background: var(--accent-soft); }

  /* ---------- footer ---------- */
  footer { padding: 2.9rem 0 3.35rem; font-size: 0.88rem; color: var(--text-soft); }
  .foot {
    display: grid; grid-template-columns: minmax(14rem, 1.05fr) minmax(11rem, 0.7fr) minmax(20rem, 1.55fr);
    gap: 1.5rem; align-items: start;
  }
  .footer-brand p { max-width: 24rem; margin-top: 0.35rem; }
  .footer-mark {
    display: inline-flex; color: var(--text);
    font-family: "Righteous", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.05rem; line-height: 1.1;
  }
  .footer-mark:hover { color: var(--accent); text-decoration: none; }
  .footer-heading {
    display: block; color: var(--text); font-weight: 800; font-size: 0.8rem;
    text-transform: uppercase; margin-bottom: 0.58rem;
  }
  .foot-links, .product-links { list-style: none; margin: 0; padding: 0; }
  .foot-links { flex-direction: column; }
  .foot-links {
    display: grid; gap: 0.5rem;
  }
  .product-links {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(8.35rem, 1fr));
    gap: 0.46rem; align-items: stretch;
  }
  .foot-links a, .product-links a {
    color: var(--text-soft); font-weight: 650; border-radius: 10px;
  }
  .foot-links a {
    display: inline-flex; line-height: 1.25;
  }
  .product-links a {
    display: grid; gap: 0.1rem; min-height: 3.2rem; padding: 0.58rem 0.66rem;
    background: color-mix(in srgb, var(--surface) 64%, transparent);
    box-shadow: var(--shadow-soft);
  }
  .product-links a span { color: var(--text); font-weight: 850; line-height: 1.1; }
  .product-links a small { color: var(--text-muted); font-size: 0.74rem; line-height: 1.18; }
  .foot-links a:hover, .product-links a:hover { color: var(--accent); text-decoration: none; }
  .product-links a:hover { transform: translateY(-1px); background: var(--accent-soft); }
  .product-links a:hover span, .product-links a:hover small { color: var(--accent); }
  .footer-note { font-size: 0.82rem; }
  .footer-family-copy { max-width: 32rem; margin: -0.18rem 0 0.75rem; font-size: 0.84rem; color: var(--text-muted); }

  @media (max-width: 68rem) {
    h1 { font-size: clamp(2.55rem, 6vw, 3.15rem); }
    html { scroll-padding-top: 7.75rem; }
    .nav { gap: 0.75rem; padding: 0.5rem 0; align-items: center; flex-wrap: wrap; }
    .logo { flex: none; min-height: 2.75rem; }
    .nav-toggle { display: inline-grid; margin-left: auto; }
    .js .nav-links {
      display: none; flex: 1 0 100%; width: 100%; margin: 0; gap: 0.28rem;
      overflow: visible; padding: 0.25rem 0 0.2rem;
    }
    .js body.nav-open .nav-links { display: grid; }
    .nav-links a { flex: 0 0 auto; font-size: 0.9rem; }
    .nav-item { display: block; }
    .nav-trigger::after, .mega-menu { display: none; }
    .nav-link, .nav-trigger { width: 100%; min-height: 2.75rem; justify-content: flex-start; padding: 0.52rem 0.72rem; }
    .crumbbar { top: 2.5rem; }
    .jumpbar { top: 4.62rem; }
    .page-hero-grid .page-illo { width: min(100%, 20rem); }
    .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-path-grid, .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .connected-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 56rem) {
    .mega-menu, .mega-menu.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(32rem, calc(100vw - 2rem)); }
    .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-brand, .foot nav[aria-label="Hackadia product family"] { grid-column: 1 / -1; }
    .feature-cluster-grid, .compact-proof-grid, .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 46rem) {
    .hero-grid, .split, .impact-grid { grid-template-columns: 1fr; }
    .use-cases-hero .page-illo { display: none; }
    .matrix-example { grid-template-columns: 1fr; }
    .code-grid { grid-template-columns: 1fr; }
    .delivery-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .feature-cluster-grid { grid-template-columns: 1fr; }
    .screenshot-grid {
      display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory;
      padding-bottom: 0.35rem; scrollbar-width: thin;
      -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 2.5rem), transparent);
      mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 2.5rem), transparent);
    }
    .screenshot-grid:hover, .screenshot-grid:focus-within {
      -webkit-mask-image: none;
      mask-image: none;
    }
    .screen-card { flex: 0 0 min(86vw, 21rem); scroll-snap-align: start; }
    .surface-grid { grid-template-columns: 1fr; }
    .feature-cluster-grid, .compact-proof-grid, .comparison-grid, .code-pair { grid-template-columns: 1fr; }
    .journey-grid { grid-template-columns: 1fr; }
    .outcome-grid, .story-steps, .path-grid, .home-path-grid, .audience-grid, .connected-proof-grid, .ownership-strip, .operator-proof { grid-template-columns: 1fr; }
    .outcome-media, .outcome-card > video { aspect-ratio: 16 / 10; }
    .surface-card { grid-template-columns: 5.25rem minmax(0, 1fr); grid-template-rows: auto; align-items: center; }
    .surface-art { max-width: 5.25rem; height: 5.25rem; }
    .wrap { padding: 0 1rem; }
    .crumbbar .wrap { padding-top: 0.42rem; padding-bottom: 0.42rem; }
    .breadcrumbs { flex-wrap: nowrap; white-space: nowrap; }
    h1 { font-size: 2.15rem; }
    h2 { font-size: 1.55rem; }
    .jumpbar .wrap { padding-top: 0.3rem; padding-bottom: 0.35rem; }
    .jumpbar a { min-height: 2rem; font-size: 0.76rem; }
    .workflow-map { grid-template-columns: minmax(0, 1fr); }
    .loop-grid { grid-template-columns: 1fr; }
    .proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
    .proof { padding: 0.7rem; }
    .page-hero-grid { grid-template-columns: 1fr; }
    .page-hero-grid .page-illo, .hero-art img { justify-self: start; width: min(100%, 18rem); }
    .page-links {
      flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
      padding-bottom: 0.35rem; scrollbar-width: thin;
    }
    .page-links a { flex: 0 0 auto; min-height: 2.75rem; scroll-snap-align: start; }
    .btn-row { justify-content: stretch; }
    .btn-row .btn { flex: 1 1 12rem; text-align: center; min-height: 2.75rem; }
    .quickstart code { width: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
    .api-route code { white-space: normal; overflow-wrap: anywhere; }
    .foot { grid-template-columns: 1fr; }
    .foot-links { flex-direction: row; }
    .foot-links a {
      display: inline-flex; align-items: center; min-height: 2.75rem;
      padding: 0.38rem 0.65rem; background: color-mix(in srgb, var(--surface) 72%, transparent);
    }
    .product-links a { min-height: 3.1rem; padding: 0.52rem 0.62rem; }
    .hero { padding-top: 3rem; }
  }
  @media (max-width: 32rem) {
    .wrap { padding: 0 0.88rem; }
    h1 { font-size: 1.9rem; }
    .lede { font-size: 1rem; }
    .surface-card { grid-template-columns: 1fr; }
    .surface-art { max-width: 6.5rem; height: 6.5rem; }
  }
  @media (max-width: 23rem) {
    .logo { font-size: 1rem; gap: 0.38rem; }
    .nav-toggle { width: 2.75rem; height: 2.75rem; }
    .nav-link, .nav-trigger, .page-links a, .btn-row .btn { min-height: 2.75rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }
  }
  @supports not (background: color-mix(in srgb, white, black)) {
    body { background: var(--bg); }
    header, .crumbbar { background: rgba(248, 249, 252, 0.96); }
    .hero, .page-hero { background: var(--bg); }
    section.alt { background: var(--bg-alt); }
    .mega-link:hover, .mega-link:focus, .pricing-list li, .api-route, .template-pill {
      background: var(--surface-tint);
    }
    .breadcrumbs span::before { color: var(--text-soft); }
  }
