/* Krate -- shared styles.
 *
 * Every page linked this in duplicate: four pages each carried their own copy
 * of about 1,500 identical lines, and two had already drifted from the others.
 * A page that needs something of its own keeps it in its own <style> block
 * below this file, so page-specific work stays visible and the shared base
 * stays one thing.
 */


    /* Geist, the site's face since the 2026 shell (site.css). Declared here
       too so pages still on this stylesheet match the rebuilt ones. */
    @font-face {
      font-family: "Geist";
      src: url("/fonts/geist-400.woff2") format("woff2");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Geist";
      src: url("/fonts/geist-500.woff2") format("woff2");
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }

    /* Palette aligned to site.css (the 2026 shell): neutral near-black, one
       muted alpha, hairline borders. Pages that still link this file keep
       their layout but stop looking like a different site. */
    :root {
      color-scheme: dark;
      --bg: #0a0a0a;
      --panel: #0f1012;
      --panel-raised: #16171b;
      --line: #1f2228;
      --line-strong: #2e323a;
      --text: #ffffff;
      --muted: rgba(255, 255, 255, 0.55);
      --quiet: rgba(255, 255, 255, 0.35);
      --blue: #6291ff;
      --blue-soft: #a9c2ff;
      --cyan: #6cf4d7;
      --yellow: #f4dc74;
      --danger: #ff7f95;
      --max: 1100px;
      --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, Consolas, monospace;
      --sans: "Geist", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }


    * {
      box-sizing: border-box;
    }


    html {
      scroll-behavior: smooth;
      scroll-padding-top: 84px;
    }


    body {
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(circle at 50% -20%, rgba(98, 145, 255, .13), transparent 34rem),
        var(--bg);
      font-family: var(--mono);
      font-size: 15px;
      line-height: 1.65;
    }


    body::before {
      content: "";
      position: fixed;
      z-index: 100;
      inset: 0;
      pointer-events: none;
      opacity: .035;
      background: repeating-linear-gradient(
        to bottom,
        #ffffff 0,
        #ffffff 1px,
        transparent 1px,
        transparent 4px
      );
    }


    a {
      color: inherit;
    }


    button {
      font: inherit;
    }


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


    ::selection {
      color: var(--bg);
      background: var(--cyan);
    }


    .skip {
      position: fixed;
      z-index: 999;
      top: 12px;
      left: 12px;
      padding: 9px 13px;
      color: var(--bg);
      background: var(--cyan);
      transform: translateY(-160%);
    }


    .skip:focus {
      transform: translateY(0);
    }


    .wrap {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
    }


    .site-nav {
      position: sticky;
      z-index: 80;
      top: 0;
      background: rgba(11, 13, 18, .88);
      border-bottom: 1px solid rgba(65, 74, 92, .55);
      backdrop-filter: blur(18px);
    }


    .nav-inner {
      min-height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }


    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--text);
      text-decoration: none;
      font-weight: 800;
      letter-spacing: -.02em;
    }


    .brand img {
      width: 34px;
      height: 34px;
    }


    .nav-links {
      display: flex;
      align-items: center;
      gap: 3px;
      margin-left: auto;
    }


    .nav-link {
      padding: 8px 10px;
      color: var(--muted);
      text-decoration: none;
      font-size: 13px;
      border-radius: 6px;
    }


    .nav-link:hover,
    .nav-link:focus-visible {
      color: var(--text);
      background: var(--panel-raised);
      outline: none;
    }


    .nav-cta {
      margin-left: 12px;
      padding: 8px 13px;
      color: var(--text);
      text-decoration: none;
      font-size: 13px;
      border: 1px solid var(--line-strong);
      border-radius: 6px;
    }


    .nav-cta:hover,
    .nav-cta:focus-visible {
      color: var(--bg);
      background: var(--cyan);
      border-color: var(--cyan);
      outline: none;
    }


    .menu-button {
      display: none;
      width: 40px;
      height: 40px;
      color: var(--text);
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 6px;
      cursor: pointer;
    }


    .hero {
      min-height: calc(100vh - 69px);
      display: grid;
      place-items: center;
      padding: 80px 0 92px;
      text-align: center;
    }


    .hero-inner {
      max-width: 980px;
    }


    .hero-logo {
      width: 156px;
      height: 156px;
      margin: 0 auto 28px;
      filter: drop-shadow(0 14px 28px rgba(98, 145, 255, .2));
    }


    .eyebrow {
      margin: 0 0 22px;
      color: var(--cyan);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .11em;
      text-transform: uppercase;
    }


    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }


    h1 {
      max-width: 980px;
      margin-right: auto;
      margin-bottom: 24px;
      margin-left: auto;
      font-family: var(--mono);
      font-size: clamp(46px, 8vw, 94px);
      line-height: 1.02;
      letter-spacing: -.075em;
    }


    .hero-lead strong {
      color: var(--text);
      font-weight: 600;
    }


    .actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
    }


    .button {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 11px 17px;
      color: var(--text);
      background: transparent;
      border: 1px solid var(--line-strong);
      border-radius: 6px;
      text-decoration: none;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }


    .button.primary {
      color: var(--bg);
      background: var(--text);
      border-color: var(--text);
    }


    .button:hover,
    .button:focus-visible {
      color: var(--bg);
      background: var(--cyan);
      border-color: var(--cyan);
      outline: none;
    }


    .hero-proof {
      margin: 28px 0 0;
      color: var(--quiet);
      font-size: 12px;
    }


    .hero-proof span {
      color: var(--blue-soft);
    }


    .section {
      padding: 116px 0;
      border-top: 1px solid var(--line);
    }


    .section-heading {
      max-width: 730px;
      margin-bottom: 44px;
    }


    .label {
      margin-bottom: 13px;
      color: var(--cyan);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
    }


    h2 {
      margin-bottom: 18px;
      font-size: clamp(31px, 4.4vw, 51px);
      line-height: 1.12;
      letter-spacing: -.05em;
    }


    .section-heading > p:last-child,
    .section-copy {
      color: var(--muted);
      font-family: var(--sans);
      font-size: 18px;
      line-height: 1.65;
    }


    .product-window {
      overflow: hidden;
      background: #0d1016;
      border: 1px solid var(--line-strong);
      border-radius: 11px;
      box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
    }


    .window-bar {
      min-height: 54px;
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 0 17px;
      color: var(--muted);
      background: #181b22;
      border-bottom: 1px solid var(--line);
      font-size: 12px;
    }


    .window-dots {
      display: flex;
      gap: 7px;
    }


    .window-dots i {
      width: 10px;
      height: 10px;
      display: block;
      background: var(--quiet);
      border-radius: 50%;
    }


    .window-dots i:first-child {
      background: #ff6d78;
    }


    .window-dots i:nth-child(2) {
      background: var(--yellow);
    }


    .window-dots i:last-child {
      background: var(--cyan);
    }


    .window-name {
      margin: 0 auto;
      transform: translateX(-25px);
    }


    .journey-tabs {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-bottom: 1px solid var(--line);
    }


    .journey-tab {
      min-height: 55px;
      padding: 11px 15px;
      color: var(--muted);
      background: var(--panel);
      border: 0;
      border-right: 1px solid var(--line);
      cursor: pointer;
      text-align: left;
      font-size: 12px;
    }


    .journey-tab:last-child {
      border-right: 0;
    }


    .journey-tab strong {
      color: var(--quiet);
      margin-right: 7px;
    }


    .journey-tab.active {
      color: var(--text);
      background: #0d1016;
      box-shadow: inset 0 2px 0 var(--blue);
    }


    .journey-tab:focus-visible {
      position: relative;
      z-index: 2;
      outline: 2px solid var(--cyan);
      outline-offset: -3px;
    }


    .journey-panel {
      min-height: 380px;
      padding: clamp(25px, 5vw, 58px);
    }


    .panel-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
      align-items: center;
      gap: 58px;
    }


    .panel-copy h3 {
      margin-bottom: 13px;
      font-size: 26px;
      letter-spacing: -.03em;
    }


    .panel-copy p {
      color: var(--muted);
      font-family: var(--sans);
      font-size: 17px;
    }


    .panel-copy code {
      color: var(--cyan);
      font-family: var(--mono);
    }


    .terminal {
      min-width: 0;
      padding: 22px;
      color: #dce4f7;
      background: #090b0f;
      border: 1px solid var(--line);
      border-radius: 7px;
      font-size: 12px;
      line-height: 1.8;
    }


    .terminal .prompt {
      color: var(--cyan);
    }


    .terminal .command {
      color: var(--text);
    }


    .terminal .muted {
      color: var(--quiet);
    }


    .terminal .success {
      color: var(--yellow);
    }


    .terminal .blue {
      color: var(--blue-soft);
    }


    .terminal .danger {
      color: var(--danger);
    }


    .copy-row {
      margin-top: 17px;
      display: flex;
      align-items: center;
      gap: 12px;
    }


    .copy-button {
      padding: 7px 11px;
      color: var(--muted);
      background: var(--panel-raised);
      border: 1px solid var(--line);
      border-radius: 5px;
      cursor: pointer;
      font-size: 11px;
    }


    .copy-button:hover,
    .copy-button:focus-visible {
      color: var(--text);
      border-color: var(--line-strong);
      outline: none;
    }


    .copy-status {
      color: var(--quiet);
      font-size: 11px;
    }


    .demo-panel {
      min-height: 500px;
    }


    .demo-layout {
      display: grid;
      grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
      gap: 46px;
      align-items: stretch;
    }


    .demo-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 8px 0;
    }


    .demo-state {
      margin-bottom: 20px;
      padding: 5px 8px;
      color: var(--bg);
      background: var(--cyan);
      border-radius: 4px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }


    .demo-state.planned {
      color: var(--yellow);
      background: rgba(244, 220, 116, .1);
      border: 1px solid rgba(244, 220, 116, .34);
    }


    .demo-copy h3 {
      margin-bottom: 15px;
      font-size: clamp(24px, 3vw, 34px);
      line-height: 1.16;
      letter-spacing: -.045em;
    }


    .demo-copy p {
      margin-bottom: 24px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.65;
    }


    .demo-copy .demo-note {
      margin-top: auto;
      margin-bottom: 0;
      color: var(--quiet);
      font-family: var(--mono);
      font-size: 11px;
      line-height: 1.65;
    }


    .demo-terminal {
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      background: #080a0e;
      border: 1px solid var(--line-strong);
      border-radius: 8px;
      box-shadow: 0 24px 58px rgba(0, 0, 0, .22);
    }


    .demo-terminal-bar {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 0 14px;
      color: var(--quiet);
      background: #151820;
      border-bottom: 1px solid var(--line);
      font-size: 10px;
      letter-spacing: .04em;
      text-transform: uppercase;
    }


    .demo-terminal-status {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--muted);
    }


    .demo-terminal-status::before {
      content: "";
      width: 7px;
      height: 7px;
      background: var(--cyan);
      border-radius: 50%;
      box-shadow: 0 0 12px rgba(108, 244, 215, .5);
    }


    .demo-output {
      min-height: 350px;
      flex: 1;
      padding: 20px;
      overflow: auto;
      color: #dce4f7;
      font-size: 11px;
      line-height: 1.7;
    }


    .demo-line {
      min-height: 19px;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
    }


    .demo-line.command {
      margin: 4px 0 8px;
      color: var(--text);
    }


    .demo-line.command::before {
      content: "$ ";
      color: var(--cyan);
    }


    .demo-line.label {
      margin-top: 5px;
      color: var(--blue-soft);
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }


    .demo-line.muted {
      color: var(--quiet);
    }


    .demo-line.info {
      color: var(--blue-soft);
    }


    .demo-line.success {
      color: var(--yellow);
    }


    .demo-line.planned {
      color: var(--muted);
    }


    .demo-line.gap {
      min-height: 14px;
    }


    .demo-controls {
      min-height: 45px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 8px 12px;
      color: var(--quiet);
      background: #0d1016;
      border-top: 1px solid var(--line);
      font-size: 10px;
    }


    .demo-replay {
      padding: 6px 9px;
      color: var(--muted);
      background: transparent;
      border: 1px solid var(--line);
      border-radius: 4px;
      cursor: pointer;
      font-size: 10px;
    }


    .demo-replay:hover,
    .demo-replay:focus-visible {
      color: var(--text);
      border-color: var(--line-strong);
      outline: none;
    }


    .demo-link {
      color: var(--blue-soft);
      text-decoration: none;
    }


    .demo-link:hover,
    .demo-link:focus-visible {
      color: var(--cyan);
      outline: none;
    }


    .tab-planned {
      margin-left: 5px;
      color: var(--yellow);
      font-size: 9px;
      text-transform: uppercase;
    }


    .file-object {
      width: 220px;
      margin: 0 auto;
      padding: 29px 20px 23px;
      text-align: center;
      background: var(--panel-raised);
      border: 1px solid var(--line-strong);
      border-radius: 8px;
      box-shadow: 15px 17px 0 rgba(98, 145, 255, .09);
    }


    .file-object img {
      width: 90px;
      margin: 0 auto 20px;
    }


    .file-object strong,
    .file-object span {
      display: block;
    }


    .file-object strong {
      font-size: 15px;
    }


    .file-object span {
      margin-top: 5px;
      color: var(--quiet);
      font-size: 11px;
    }


    .permission-box {
      max-width: 390px;
      margin: 0 auto;
      overflow: hidden;
      background: var(--panel-raised);
      border: 1px solid var(--line-strong);
      border-radius: 8px;
    }


    .permission-title {
      padding: 13px 16px;
      border-bottom: 1px solid var(--line);
      font-weight: 700;
      font-size: 12px;
    }


    .permission-body {
      padding: 16px;
    }


    .permission-row {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 0;
      color: var(--muted);
      border-bottom: 1px solid var(--line);
      font-size: 11px;
    }


    .permission-row:last-of-type {
      border-bottom: 0;
    }


    .permission-check {
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
      display: grid;
      place-items: center;
      color: var(--bg);
      background: var(--cyan);
      border-radius: 4px;
      font-weight: 900;
    }


    .permission-actions {
      margin-top: 17px;
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }


    .mini-button {
      padding: 7px 11px;
      color: var(--muted);
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 5px;
      font-size: 10px;
    }


    .mini-button.open {
      color: var(--bg);
      background: var(--text);
      border-color: var(--text);
    }


    .journey-note {
      margin-top: 18px;
      color: var(--quiet);
      font-size: 11px;
    }


    .video-frame {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      background: #06070a;
      border: 1px solid var(--line-strong);
      border-radius: 10px;
      box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
    }


    .video-frame iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }


    .path-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
    }


    .path-card {
      min-height: 290px;
      display: flex;
      flex-direction: column;
      padding: 25px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
      text-decoration: none;
      transition: transform .18s ease, border-color .18s ease, background .18s ease;
    }


    .path-card:hover,
    .path-card:focus-visible {
      background: var(--panel-raised);
      border-color: var(--blue);
      transform: translateY(-4px);
      outline: none;
    }


    .path-number {
      margin-bottom: 44px;
      color: var(--blue-soft);
      font-size: 12px;
    }


    .path-card h3 {
      margin-bottom: 11px;
      font-size: 21px;
      letter-spacing: -.03em;
    }


    .path-card p {
      color: var(--muted);
      font-family: var(--sans);
      font-size: 15px;
    }


    .path-link {
      margin-top: auto;
      padding-top: 25px;
      color: var(--cyan);
      font-size: 12px;
    }


    /* Install command, copy button, and the common-issues box. Built from the
       same tokens as the rest of the page so it reads as one surface. */
    .install-block {
      max-width: 760px;
      margin: 0 auto 40px;
    }


    .install-line + .install-line {
      margin-top: 16px;
    }


    .install-label {
      margin: 0 0 7px;
      color: var(--quiet);
      font-family: var(--mono);
      font-size: 12px;
    }


    .install-code {
      display: flex;
      align-items: stretch;
      gap: 10px;
      padding: 12px 12px 12px 15px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
    }


    .install-code code {
      flex: 1;
      overflow-x: auto;
      color: var(--blue-soft);
      font-family: var(--mono);
      font-size: 14px;
      line-height: 1.5;
      white-space: nowrap;
    }


    .copy-button {
      flex: none;
      align-self: center;
      min-height: 32px;
      padding: 6px 14px;
      color: var(--text);
      background: transparent;
      border: 1px solid var(--line-strong);
      border-radius: 6px;
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: color .15s ease, background .15s ease, border-color .15s ease;
    }


    .copy-button:hover,
    .copy-button:focus-visible {
      color: var(--bg);
      background: var(--cyan);
      border-color: var(--cyan);
      outline: none;
    }


    .copy-button.copied {
      color: var(--bg);
      background: var(--cyan);
      border-color: var(--cyan);
    }


    .install-foot {
      margin: 14px 0 0;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 14px;
    }


    .issues-box {
      margin-top: 22px;
      padding: 4px 18px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
    }


    .issues-box summary {
      padding: 14px 0;
      color: var(--text);
      font-family: var(--sans);
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
    }


    .issues-box summary:hover {
      color: var(--cyan);
    }


    .issues-list {
      margin: 4px 0 0;
      padding: 0 0 8px;
      list-style: none;
    }


    .issues-list li {
      padding: 13px 0;
      border-top: 1px solid var(--line);
    }


    .issue-q,
    .issue-a {
      display: block;
      font-family: var(--sans);
      font-size: 14px;
      line-height: 1.5;
    }


    .issue-q {
      color: var(--text);
    }


    .issue-a {
      margin-top: 4px;
      color: var(--muted);
    }


    .issues-list code,
    .issues-report code {
      color: var(--blue-soft);
      font-family: var(--mono);
      font-size: 13px;
    }


    .issues-report {
      margin: 6px 0 14px;
      padding-top: 13px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-family: var(--sans);
      font-size: 14px;
      line-height: 1.5;
    }


    .issues-report a {
      color: var(--cyan);
    }


    .paths-lead {
      margin: 0 0 18px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 15px;
      text-align: center;
    }


    .proof-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      border-top: 1px solid var(--line);
      border-left: 1px solid var(--line);
    }


    .proof {
      min-height: 185px;
      padding: 27px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }


    .proof strong {
      display: block;
      margin-bottom: 9px;
      font-size: 18px;
    }


    .proof p {
      margin-bottom: 0;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 15px;
    }


    .proof code {
      color: var(--blue-soft);
      font-family: var(--mono);
      font-size: 13px;
    }


    /* The measured chart. Every vertex in the SVG is a real run, so the shape
       is a result rather than an illustration: the line falls from 5.25x to
       1.00x because Krate's overhead is a fixed startup cost that a longer
       job amortizes away. */
    .chart-figure {
      margin: 0;
    }


    .chart-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      align-items: center;
      gap: 40px;
      padding: 30px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 12px;
    }


    .chart {
      width: 100%;
      height: auto;
      overflow: visible;
    }


    .chart-label-native,
    .chart-axis {
      fill: var(--quiet);
      font-family: var(--sans);
      font-size: 13px;
    }


    .chart-point {
      fill: var(--cyan);
      font-family: var(--mono);
      font-size: 19px;
      font-variant-numeric: tabular-nums;
    }


    /* The big numbers, set beside the chart rather than inside it, so the
       chart proves the claim and the claim stays readable on its own. */
    .callout-lead {
      margin-bottom: 2px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 14px;
    }


    .callout-figure {
      margin-bottom: 2px;
      color: var(--text);
      font-family: var(--mono);
      /* Headline-sized, not caption-sized. These are the two facts the page
         exists to deliver, and they compete with a 51px h2 above them. */
      font-size: clamp(58px, 6vw, 84px);
      font-variant-numeric: tabular-nums;
      line-height: 1;
      letter-spacing: -.05em;
    }


    .callout-figure span {
      margin-left: 3px;
      font-size: .4em;
      letter-spacing: 0;
    }


    .callout-sub {
      margin-bottom: 0;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 14px;
    }


    .callout-rule {
      height: 0;
      margin: 26px 0;
      border: 0;
      border-top: 1px solid var(--line);
    }


    /* The asterisk. It marks where the claim is qualified, and the note it
       points at is on the same page -- a star that hides a weakness is a lie
       with extra steps, a star that shows the method is how you get believed. */
    .chart-star {
      color: var(--cyan);
      text-decoration: none;
      font-size: .85em;
      vertical-align: super;
    }


    .chart-notes {
      max-width: 74ch;
      margin-top: 26px;
    }


    .chart-notes p {
      margin-bottom: 12px;
      color: var(--quiet);
      font-family: var(--sans);
      font-size: 13.5px;
      line-height: 1.6;
    }


    .chart-notes p:last-child {
      margin-bottom: 0;
    }


    .chart-notes .chart-star {
      margin-right: 4px;
      vertical-align: baseline;
    }


    /* Who built this. Set as reading text rather than a card, because it is
       the one part of the page that is a person talking rather than a product
       claiming. */
    .about-block {
      max-width: 68ch;
    }


    .about-lead {
      margin-bottom: 20px;
      color: var(--text);
      font-family: var(--sans);
      font-size: 20px;
      line-height: 1.55;
    }


    .about-lead strong {
      font-weight: 600;
    }


    .about-body {
      margin-bottom: 16px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.7;
    }


    .about-body:last-of-type {
      margin-bottom: 0;
    }


    .about-block a {
      color: var(--blue-soft);
      text-decoration-color: rgba(169, 194, 255, .4);
      text-underline-offset: 3px;
    }


    .about-block a:hover,
    .about-block a:focus-visible {
      text-decoration-color: var(--blue-soft);
    }





    .stat {
      padding: 27px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }


    .stat-figure {
      display: block;
      margin-bottom: 12px;
      color: var(--blue-soft);
      font-family: var(--mono);
      /* Tabular figures so the four numbers sit on a common baseline grid
         rather than drifting with digit widths. */
      font-variant-numeric: tabular-nums;
      font-size: 34px;
      line-height: 1;
    }


    .stat strong {
      display: block;
      margin-bottom: 8px;
      font-size: 16px;
      /* These are short sentences in a narrow column, so let the browser even
         out the line lengths rather than leaving one word stranded. */
      text-wrap: balance;
      line-height: 1.35;
    }


    .stat p {
      margin-bottom: 0;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 14px;
    }


    /* The caveats. Deliberately not hidden in small grey type -- someone
       technical will ask for the worst case, and the answer should be on the
       same page as the good numbers. */
    .stat-note {
      max-width: 62ch;
      margin-top: 22px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 14px;
      line-height: 1.6;
    }


    .cloud-section {
      background:
        linear-gradient(120deg, rgba(98, 145, 255, .08), transparent 50%),
        #0d1016;
    }


    .cloud-layout {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      align-items: center;
      gap: 72px;
    }


    .future-pill {
      width: fit-content;
      margin-bottom: 19px;
      padding: 5px 9px;
      color: var(--yellow);
      border: 1px solid rgba(244, 220, 116, .35);
      border-radius: 99px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }


    .cloud-copy p {
      color: var(--muted);
      font-family: var(--sans);
      font-size: 17px;
    }


    .cloud-map {
      padding: 24px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 9px;
    }


    /* The store shelf. Cards are the product here, so they carry the weight:
       a real listing shows what an app is asking for, not just a name and a
       download button. */
    .future-pill.soon {
      color: var(--cyan);
      border-color: rgba(108, 244, 215, .4);
    }


    /* Plain prose, set large and narrow so it reads like a sentence someone
       said rather than a feature list. */
    .plain-block {
      max-width: 640px;
    }


    .plain-block h2 {
      margin-bottom: 22px;
    }


    .plain-block p {
      margin-bottom: 18px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: clamp(16px, 2vw, 19px);
      line-height: 1.65;
    }


    .faq-more {
      margin-top: 22px;
    }


    .faq-more a {
      color: var(--cyan);
      text-decoration: none;
      font-size: 13px;
    }


    .store-shelf {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
      gap: 16px;
      margin-bottom: 34px;
    }


    .store-card {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 20px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 10px;
      transition: border-color .15s ease, transform .15s ease;
    }


    .store-card:hover {
      border-color: var(--line-strong);
      transform: translateY(-2px);
    }


    .store-top {
      display: flex;
      align-items: center;
      gap: 12px;
    }


    .store-icon {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      flex: none;
      color: var(--blue-soft);
      background: var(--panel-raised);
      border: 1px solid var(--line);
      border-radius: 9px;
      font-size: 19px;
    }


    .store-top h3 {
      margin: 0;
      font-size: 16px;
    }


    .store-by {
      margin: 2px 0 0;
      color: var(--quiet);
      font-size: 11.5px;
    }


    .store-verified {
      margin-left: auto;
      align-self: flex-start;
      padding: 3px 7px;
      color: var(--cyan);
      background: rgba(108, 244, 215, .08);
      border-radius: 99px;
      font-size: 10px;
      letter-spacing: .04em;
      text-transform: uppercase;
    }


    .store-desc {
      margin: 0;
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.55;
    }


    /* The list that makes this a Krate store rather than any store: every
       listing states its asks in the same words the permission window uses. */
    .store-asks {
      margin: 0;
      padding: 12px 0 0;
      list-style: none;
      border-top: 1px solid var(--line);
    }


    .store-asks li {
      display: flex;
      align-items: baseline;
      gap: 8px;
      padding: 3px 0;
      color: var(--text);
      font-size: 12.5px;
    }


    .store-asks span {
      color: var(--cyan);
      font-size: 8px;
    }


    .store-asks span.warn {
      color: var(--yellow);
    }


    .store-foot {
      margin-top: auto;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      color: var(--quiet);
      font-size: 12px;
    }


    .store-foot code {
      color: var(--blue-soft);
    }


    .store-why {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 22px;
      margin-bottom: 30px;
      padding-top: 28px;
      border-top: 1px solid var(--line);
    }


    .store-why h4 {
      margin: 0 0 7px;
      font-size: 14px;
    }


    .store-why p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }


    .store-why strong {
      color: var(--cyan);
    }


    .store-why code {
      color: var(--blue-soft);
      font-size: 12px;
    }


    .store-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }


    .cloud-note {
      padding: 14px 16px;
      border-left: 2px solid var(--cyan);
      background: rgba(108, 244, 215, .05);
      color: var(--muted);
      font-size: 13.5px;
    }


    .cloud-note strong {
      color: var(--text);
    }


    .cloud-note code {
      color: var(--cyan);
    }


    .cloud-step {
      display: grid;
      grid-template-columns: 40px 1fr auto;
      align-items: center;
      gap: 12px;
      min-height: 62px;
      border-bottom: 1px solid var(--line);
    }


    .cloud-step:last-child {
      border-bottom: 0;
    }


    .cloud-step > span:first-child {
      color: var(--blue-soft);
      font-size: 11px;
    }


    .cloud-step strong {
      font-size: 13px;
    }


    .cloud-step small {
      color: var(--quiet);
      font-size: 10px;
    }


    .faq-list {
      border-top: 1px solid var(--line);
    }


    .faq-item {
      border-bottom: 1px solid var(--line);
    }


    .faq-item summary {
      min-height: 78px;
      display: grid;
      grid-template-columns: 82px 1fr 28px;
      align-items: center;
      gap: 18px;
      padding: 15px 0;
      color: var(--text);
      cursor: pointer;
      list-style: none;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.4;
    }


    .faq-item summary::-webkit-details-marker {
      display: none;
    }


    .faq-item summary::after {
      content: "+";
      color: var(--blue-soft);
      font-size: 23px;
      font-weight: 400;
      text-align: right;
    }


    .faq-item[open] summary::after {
      content: "×";
      color: var(--cyan);
    }


    .faq-item summary:hover,
    .faq-item summary:focus-visible {
      color: var(--cyan);
      outline: none;
    }


    .faq-index {
      color: var(--quiet);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: .07em;
      text-transform: uppercase;
    }


    .faq-answer {
      max-width: 880px;
      padding: 0 46px 28px 100px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.7;
    }


    .faq-answer p {
      margin-bottom: 12px;
    }


    .faq-answer p:last-child {
      margin-bottom: 0;
    }


    .faq-answer strong {
      color: var(--text);
      font-weight: 650;
    }


    .faq-answer code {
      color: var(--blue-soft);
      font-family: var(--mono);
      font-size: 13px;
    }


    .faq-answer a {
      color: var(--blue-soft);
    }


    .faq-answer a:hover,
    .faq-answer a:focus-visible {
      color: var(--cyan);
      outline: none;
    }


    .public-links {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }


    .public-link {
      min-height: 126px;
      padding: 20px;
      color: var(--muted);
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 7px;
      text-decoration: none;
    }


    .public-link:hover,
    .public-link:focus-visible {
      color: var(--text);
      border-color: var(--line-strong);
      outline: none;
    }


    .public-link strong {
      display: block;
      margin-bottom: 12px;
      color: var(--text);
      font-size: 14px;
    }


    .public-link span {
      font-size: 11px;
    }


    .final {
      padding: 130px 0;
      border-top: 1px solid var(--line);
      text-align: center;
    }


    .final img {
      width: 58px;
      height: 58px;
      margin: 0 auto 26px;
    }


    .final h2 {
      max-width: 760px;
      margin-right: auto;
      margin-left: auto;
    }


    .final p {
      max-width: 650px;
      margin: 0 auto 28px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 18px;
    }


    footer {
      padding: 28px 0 38px;
      color: var(--quiet);
      border-top: 1px solid var(--line);
      font-size: 11px;
    }


    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }


    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
    }


    .footer-links a {
      color: var(--muted);
      text-decoration: none;
    }


    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: var(--text);
      outline: none;
    }


    @media (max-width: 840px) {
      /* The callouts need ~260px to hold a 62px figure and its caption. Below
         this the chart is squeezed to nothing, so stack them instead. */
      .chart-row {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .callout-figure {
        font-size: 52px;
      }

      .nav-links {
        position: fixed;
        top: 69px;
        right: 0;
        left: 0;
        display: none;
        padding: 16px 20px 22px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
      }

      .nav-links.open {
        display: grid;
      }

      .nav-link,
      .nav-cta {
        margin: 0;
        padding: 11px;
      }

      .menu-button {
        display: inline-grid;
        place-items: center;
      }

      .hero {
        min-height: auto;
        padding: 98px 0 106px;
      }

      .panel-grid,
      .demo-layout,
      .cloud-layout {
        grid-template-columns: 1fr;
      }

      .panel-grid {
        gap: 35px;
      }

      .demo-layout {
        gap: 30px;
      }

      .demo-copy .demo-note {
        margin-top: 0;
      }

      .path-grid,
      .public-links {
        grid-template-columns: 1fr;
      }

      .path-card {
        min-height: 235px;
      }

      .path-number {
        margin-bottom: 28px;
      }
    }


    @media (max-width: 600px) {
      .wrap {
        width: min(100% - 28px, var(--max));
      }

      .hero {
        text-align: left;
      }

      .hero-logo {
        width: 118px;
        height: 118px;
        margin-left: 0;
      }

      h1 {
        letter-spacing: -.06em;
      }

      .hero-lead {
        margin-left: 0;
      }

      .actions {
        justify-content: flex-start;
      }

      .button {
        width: 100%;
      }

      .hero-proof {
        line-height: 1.8;
      }

      .section {
        padding: 84px 0;
      }

      .journey-tabs {
        grid-template-columns: 1fr;
      }

      .journey-tab {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .journey-tab:last-child {
        border-bottom: 0;
      }

      .journey-tab.active {
        box-shadow: inset 3px 0 0 var(--blue);
      }

      .journey-panel {
        padding: 25px 20px 31px;
      }

      .terminal {
        overflow-x: auto;
        padding: 17px;
        white-space: nowrap;
      }

      .demo-panel {
        min-height: 0;
      }

      .demo-output {
        min-height: 390px;
        padding: 16px;
        font-size: 10px;
      }

      .demo-controls {
        align-items: flex-start;
        flex-direction: column;
      }

      .file-object {
        width: 190px;
      }

      .proof-grid {
        grid-template-columns: 1fr;
      }


      .faq-item summary {
        grid-template-columns: 46px 1fr 22px;
        gap: 10px;
        font-size: 14px;
      }

      .faq-answer {
        padding: 0 22px 25px 56px;
        font-size: 15px;
      }

      .footer-inner {
        align-items: flex-start;
        flex-direction: column;
      }
    }


    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
      }
    }

/* Answer pages: one question, answered completely. Set narrow and large so a
   long read stays readable, with transcripts that scroll rather than pushing
   the page sideways. */
    .answer-title {
      max-width: 18ch;
      font-size: clamp(32px, 5.4vw, 56px);
      letter-spacing: -.04em;
      line-height: 1.06;
    }

    .answer-lead {
      max-width: 48ch;
      color: var(--muted);
      font-family: var(--sans);
      font-size: clamp(16px, 2vw, 20px);
      line-height: 1.6;
    }

    .answer-cmd {
      margin: 0 0 18px;
      padding: 16px 18px;
      overflow-x: auto;
      color: var(--blue-soft);
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
      font-size: 13px;
      line-height: 1.65;
      white-space: pre;
    }

    /* Proof-by-pixels gallery. Cards hold a real headless screenshot of each
       app; the checkered frame reads as "this is a captured image" and keeps a
       dark app screenshot legible on the dark page. The chip is the measured
       fact each shot proves, in cyan to match the site's success accent. */
    .shot-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 8px;
    }

    .shot-card {
      margin: 0;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: border-color .18s ease, transform .18s ease;
    }

    .shot-card:hover {
      border-color: var(--blue);
      transform: translateY(-2px);
    }

    .shot-frame {
      aspect-ratio: 4 / 3;
      border-bottom: 1px solid var(--line);
      background-color: #0e1016;
      background-image:
        linear-gradient(45deg, #14171f 25%, transparent 25%),
        linear-gradient(-45deg, #14171f 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #14171f 75%),
        linear-gradient(-45deg, transparent 75%, #14171f 75%);
      background-size: 20px 20px;
      background-position: 0 0, 0 10px, 10px -10px, -10px 0;
      overflow: hidden;
    }

    /* contain, not cover: these are proof shots, and cover cropped the claim
       out of the picture -- the balance was sliced off the money dashboard and
       half the clock faces were gone. The app windows are portrait and
       ultra-wide, so nothing but the whole window is worth showing. The
       checkerboard behind fills what letterboxing leaves. */
    .shot-frame img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
    }

    .shot-card figcaption {
      padding: 15px 17px 18px;
    }

    .shot-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 7px;
    }

    .shot-head strong {
      font-size: 16px;
    }

    .shot-chip {
      flex: none;
      padding: 3px 9px;
      border-radius: 999px;
      color: var(--cyan);
      background: rgba(108, 244, 215, .12);
      border: 1px solid rgba(108, 244, 215, .3);
      font-family: var(--mono);
      font-size: 11.5px;
      white-space: nowrap;
    }

    .shot-card figcaption p {
      margin: 0;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 14px;
      line-height: 1.5;
    }

    .shot-note {
      margin: 22px 0 0;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 15px;
    }

    .shot-note code {
      color: var(--blue-soft);
      font-family: var(--mono);
      font-size: 13px;
    }

    @media (max-width: 860px) {
      .shot-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 560px) {
      .shot-grid { grid-template-columns: 1fr; }
    }
