@layer reset, base, layout, components, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 28px; }
  body { margin: 0; }
  button, input { font: inherit; }
  button { color: inherit; }
  img, svg { display: block; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    color-scheme: light;
    --ground: #e8e9e1;
    --ground-dim: #dde0d6;
    --paper: #f5f5ef;
    --ink: #181d1b;
    --ink-soft: #323a35;
    --muted: #66716b;
    --line: #c3c9bf;
    --line-dark: #343c37;
    --forest: #13221c;
    --forest-raised: #1b2b23;
    --accent: #c7f25c;
    --accent-ink: #263717;
    --signal: #d77748;
    --sans: "Avenir Next", "SF Pro Display", Avenir, "Helvetica Neue", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-family: var(--sans);
    background: var(--ground);
    color: var(--ink);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  body { min-width: 320px; }
  a { color: inherit; text-underline-offset: 4px; }
  a:focus-visible, button:focus-visible, input:focus-visible, [tabindex="0"]:focus-visible {
    outline: 2px solid #b95b31;
    outline-offset: 3px;
  }
  button { cursor: pointer; }
  p { line-height: 1.6; }
  h1, h2, h3, p, figure { margin: 0; }
  ::selection { background: var(--accent); color: var(--ink); }
}

@layer layout {
  .masthead, .intro, .workspace-section, .details-section, .engine-section, .download-section, .closing, .footer {
    width: min(1440px, calc(100% - 96px));
    margin-inline: auto;
  }
  .masthead {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-bottom: 1px solid var(--line);
  }
  .masthead nav, .footer nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .masthead nav { font-size: 13px; }
  .masthead nav a, .footer nav a { text-decoration: none; }
  .intro { padding-block: 28px; }
  .intro-index, .section-rail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .intro-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr);
    align-items: end;
    gap: 64px;
    padding-top: 22px;
  }
  .workspace-section { padding-bottom: 118px; }
  .demo-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .workbench {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    min-height: 520px;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid #0b100d;
    background: var(--paper);
    box-shadow: 0 28px 70px -48px #172019a3, 0 3px 8px #19241a1c;
  }
  .sidebar {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 17px 13px 12px;
    color: #edf2e9;
    background: var(--forest);
  }
  .browser-area { display: grid; grid-template-rows: 46px minmax(400px, 1fr) 28px; min-width: 0; }
  .browser-toolbar { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 16px; background: #e4e6de; border-bottom: 1px solid #d0d4cb; }
  .tab-strip { display: grid; gap: 2px; min-width: 0; }
  .page-workspace { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; background: #f5f5ef; }
  .page-workspace.has-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sample-page, .split-pane { min-width: 0; min-height: 0; overflow: auto; }
  .split-pane { border-left: 1px solid #cdd2c8; }
  .browser-statusbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: 14px; border-top: 1px solid #d2d6cc; background: #ebece5; }
  .preview-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 13px; }
  .details-section { padding-block: 0 130px; }
  .detail-list { margin-top: 44px; border-top: 1px solid var(--line); }
  .detail-row {
    display: grid;
    grid-template-columns: 56px minmax(220px, .85fr) minmax(280px, 1fr) 80px;
    align-items: center;
    gap: 20px;
    min-height: 116px;
    border-bottom: 1px solid var(--line);
  }
  .engine-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
    gap: 9vw;
    align-items: end;
    padding: 70px max(48px, calc((100vw - 1440px) / 2 + 48px));
    background: var(--forest);
    color: #f1f2e9;
  }
  .engine-copy .section-rail { color: #b0bdb2; }
  .engine-status { max-width: 480px; justify-self: end; }
  .download-section {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 9vw;
    padding-block: 126px;
  }
  .download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .download-option { min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); }
  .closing {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 72px 92px;
    border-top: 1px solid var(--line);
    text-align: center;
  }
  .footer {
    display: flex;
    align-items: center;
    gap: 34px;
    min-height: 86px;
    border-top: 1px solid var(--line);
  }
  .footer p { margin-right: auto; }
}

@layer components {
  .skip {
    position: absolute;
    z-index: 20;
    top: -60px;
    left: 18px;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--accent);
  }
  .skip:focus { top: 12px; }
  .brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
  .brand img, .mini-brand img { width: 28px; height: auto; }
  .brand > span:first-of-type { font-size: 23px; line-height: 1; font-weight: 720; letter-spacing: -.08em; }
  .brand-edition { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font: 9px/1.4 var(--mono); letter-spacing: .04em; }
  .masthead nav a:not(.nav-download):hover, .footer a:hover { color: #5d772b; }
  .nav-download {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    padding: 10px 13px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
  }
  .nav-download:hover { background: #b6e34d; }
  .eyebrow, .index-code, .status-label, .sidebar-label, .sidebar-version, .local-mark, .option-index {
    font: 10px/1.5 var(--mono);
    letter-spacing: .08em;
  }
  .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
  .status-mark { width: 7px; height: 7px; display: inline-block; background: var(--signal); transform: rotate(45deg); }
  .index-code { color: var(--muted); }
  .intro h1 {
    font-size: clamp(40px, 4.6vw, 66px);
    font-weight: 600;
    letter-spacing: -.07em;
    line-height: 1;
  }
  .intro-aside { max-width: 410px; padding-bottom: 3px; }
  .intro-aside > p { max-width: 385px; font-size: 15px; line-height: 1.45; letter-spacing: -.025em; }
  .compatibility { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .015em; }
  .compatibility i { width: 3px; height: 3px; background: var(--signal); border-radius: 50%; }
  .demo-heading h2 { display: flex; align-items: center; gap: 14px; font: 11px/1.5 var(--mono); letter-spacing: .08em; }
  .demo-heading h2 > span:first-child { color: var(--ink); }
  .demo-live { display: inline-flex; align-items: center; gap: 7px; color: #527225; }
  .demo-live i { width: 6px; height: 6px; border-radius: 50%; background: #86aa3c; }
  .demo-heading > p { color: var(--muted); font-size: 12px; }
  .sidebar-top { display: flex; padding: 0 4px 11px; border-bottom: 1px solid #314038; }
  .mini-brand { display: flex; align-items: center; gap: 8px; color: #f5f7ef; text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -.07em; }
  .mini-brand img { filter: brightness(0) saturate(100%) invert(87%) sepia(45%) saturate(747%) hue-rotate(24deg) brightness(102%) contrast(94%); }
  .search-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 13px;
    padding: 9px 8px;
    border: 1px solid #344139;
    background: #1a2a21;
    color: #c9d0c7;
    text-align: left;
    font-size: 12px;
  }
  .search-trigger:hover { border-color: #8aa850; background: #213329; }
  .search-trigger svg, .command-search svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  kbd { margin-left: auto; color: #9ba79c; font: 9px/1 var(--mono); }
  .sidebar-group { margin-top: 16px; }
  .sidebar-label { display: flex; justify-content: space-between; padding-inline: 5px; margin-bottom: 7px; color: #87968b; font-size: 9px; }
  .space-list { display: grid; gap: 2px; }
  .space-button {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 34px;
    padding: 4px 6px;
    border: 1px solid transparent;
    background: transparent;
    color: #c9d1c9;
    text-align: left;
    font-size: 12px;
    transition: background 120ms ease, border-color 120ms ease;
  }
  .space-button:hover { background: #213329; }
  .space-button.is-active { border-color: #455742; background: #26392b; color: #f1f5e8; }
  .space-button[aria-pressed="true"] .space-symbol { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
  .space-symbol { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid #58645a; color: #abb7a9; font: 9px/1 var(--mono); }
  .space-count { color: #869488; font: 9px/1 var(--mono); }
  .pinned-group { padding-top: 10px; border-top: 1px solid #314038; }
  .pinned-list { display: grid; gap: 2px; }
  .pinned-empty { padding: 4px 5px; color: #87968b; font-size: 10px; line-height: 1.5; }
  .pinned-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 5px;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: #ccd4ca;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
  }
  .pinned-link:hover { background: #213329; }
  .pinned-link svg { flex: 0 0 12px; width: 12px; height: 12px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
  .sidebar-bottom { display: flex; flex-direction: column; gap: 7px; margin-top: auto; padding: 12px 4px 0; border-top: 1px solid #314038; }
  .local-mark { display: flex; align-items: center; gap: 7px; color: #b8c5b4; font-size: 8px; }
  .local-mark i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
  .sidebar-version { color: #758479; font-size: 8px; }
  .address-bar { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; height: 29px; padding-inline: 9px; border: 1px solid #d0d5ca; background: #f3f4ed; color: #58635c; font: 10px/1 var(--mono); }
  .address-bar > span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .address-status { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #697b49; font-size: 8px; }
  .toolbar-button { display: inline-flex; flex: 0 0 auto; gap: 5px; height: 30px; padding-inline: 7px; align-items: center; justify-content: center; border: 1px solid #c5cdbf; background: transparent; color: #48563f; font-size: 11px; }
  .toolbar-button:hover, .toolbar-button[aria-pressed="true"] { border-color: #c2cab8; background: #d8decf; color: #263c27; }
  .toolbar-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    width: 100%;
    min-height: 31px;
    padding: 5px 7px;
    border: 0;
    background: transparent;
    color: #bcc8bb;
    text-align: left;
    font-size: 11px;
  }
  .tab:hover { color: #f5f7ef; background: #213329; }
  .tab[aria-selected="true"] { color: #f5f7ef; background: #2b3c30; }
  .tab[aria-selected="true"]::after { position: absolute; top: 7px; bottom: 7px; left: 0; width: 2px; background: var(--accent); content: ""; }
  .tab-favicon { display: grid; width: 15px; height: 15px; place-items: center; background: #dce4ce; color: #39542b; font: 8px/1 var(--mono); }
  .tab-pin { margin-left: auto; color: var(--accent); font-size: 9px; }
  .page-content { width: min(620px, calc(100% - 76px)); margin: 40px auto 46px; }
  .page-metadata { display: flex; align-items: center; gap: 9px; color: #758070; font: 9px/1.5 var(--mono); letter-spacing: .06em; }
  .page-metadata::before { width: 14px; height: 1px; background: #9aac71; content: ""; }
  .sample-title { max-width: 560px; margin-top: 20px; font-size: clamp(24px, 2.8vw, 39px); font-weight: 560; letter-spacing: -.055em; line-height: 1.04; }
  .page-deck { max-width: 540px; margin-top: 12px; color: #59645a; font-size: 13px; line-height: 1.55; }
  .contour-card {
    position: relative;
    height: 140px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #d9ded1;
    background-color: #e9eddf;
    background-image:
      url("data:image/svg+xml,%3Csvg viewBox='0 0 700 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2394a883' stroke-width='1' opacity='.55'%3E%3Cpath d='M-20 129c55-52 75-49 117-5s68 47 122 2 62-76 117-42 52 68 96 33 51-80 106-48 66 80 112 44 60-54 89-20'/%3E%3Cpath d='M-20 143c55-52 75-49 117-5s68 47 122 2 62-76 117-42 52 68 96 33 51-80 106-48 66 80 112 44 60-54 89-20'/%3E%3Cpath d='M-20 157c55-52 75-49 117-5s68 47 122 2 62-76 117-42 52 68 96 33 51-80 106-48 66 80 112 44 60-54 89-20'/%3E%3Cpath d='M-20 115c55-52 75-49 117-5s68 47 122 2 62-76 117-42 52 68 96 33 51-80 106-48 66 80 112 44 60-54 89-20'/%3E%3Cpath d='M-20 101c55-52 75-49 117-5s68 47 122 2 62-76 117-42 52 68 96 33 51-80 106-48 66 80 112 44 60-54 89-20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
  }
  .contour-label { position: absolute; right: 10px; bottom: 9px; padding: 4px 6px; background: #f5f5efdb; color: #546149; font: 8px/1.3 var(--mono); letter-spacing: .06em; }
  .art-build { background-color: #e2e7e1; background-image: linear-gradient(#a9b9a660 1px, transparent 1px), linear-gradient(90deg, #a9b9a660 1px, transparent 1px); background-size: 23px 23px; }
  .art-build::before, .art-build::after { position: absolute; top: 21px; bottom: 30px; border: 1px solid #708d5e; background: #d2e1be; content: ""; }
  .art-build::before { left: 8%; width: 23%; }
  .art-build::after { right: 8%; width: 56%; background: #f1f4e7; }
  .art-weekend { background-color: #dce8e5; }
  .page-excerpt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 17px; }
  .page-excerpt p { color: #515d53; font-size: 11px; line-height: 1.65; }
  .page-excerpt strong { color: #252e27; font-weight: 650; }
  .page-byline { display: flex; justify-content: space-between; gap: 15px; margin-top: 19px; padding-top: 9px; border-top: 1px solid #dce0d7; color: #7b857b; font: 8px/1.5 var(--mono); letter-spacing: .04em; }
  .split-pane .page-content { width: calc(100% - 42px); margin-top: 28px; }
  .has-split .sample-title { font-size: clamp(19px, 2vw, 26px); }
  .split-pane .contour-card { height: 90px; }
  .browser-statusbar > span { display: inline-flex; align-items: center; gap: 7px; color: #738072; font: 8px/1.2 var(--mono); letter-spacing: .03em; }
  .browser-statusbar > span:first-child i { width: 5px; height: 5px; border-radius: 50%; background: #8ba744; }
  .preview-caption > span { color: #606a61; font-size: 10px; line-height: 1.5; }
  .preview-caption b { color: #27342a; font: 9px/1.4 var(--mono); letter-spacing: .04em; }
  .text-action { padding: 0; border: 0; background: transparent; color: #4c652e; text-align: right; text-decoration: underline; text-underline-offset: 3px; font-size: 10px; }
  .text-action:hover { color: #26391b; }
  .text-action span { margin-left: 5px; font: 9px/1 var(--mono); text-decoration: none; }
  .details-section h2, .engine-copy h2, .download-intro h2 {
    margin-top: 30px;
    font-size: clamp(42px, 5.3vw, 74px);
    font-weight: 560;
    letter-spacing: -.075em;
    line-height: .98;
  }
  .details-section h2 span { color: #768075; }
  .detail-row .detail-number { color: #7a847a; font: 11px/1 var(--mono); }
  .detail-row h3 { font-size: 17px; font-weight: 600; letter-spacing: -.035em; }
  .detail-row p { max-width: 440px; color: #5c675e; font-size: 12px; }
  .detail-glyph { position: relative; display: flex; justify-content: center; align-items: center; width: 56px; height: 44px; justify-self: end; color: #607d37; }
  .glyph-stack i { position: absolute; width: 28px; height: 22px; border: 1px solid currentColor; background: var(--ground); }
  .glyph-stack i:nth-child(1) { transform: translate(-5px, 4px); opacity: .45; }
  .glyph-stack i:nth-child(2) { transform: translate(0, 0); opacity: .7; }
  .glyph-stack i:nth-child(3) { transform: translate(5px, -4px); background: var(--accent); }
  .glyph-pin i { position: relative; width: 12px; height: 20px; border: 1.5px solid currentColor; border-radius: 7px 7px 4px 4px; transform: rotate(35deg); }
  .glyph-pin i::after { position: absolute; top: 15px; left: 5px; width: 1px; height: 14px; background: currentColor; transform: rotate(-35deg); content: ""; }
  .glyph-split i { width: 19px; height: 24px; border: 1px solid #718263; }
  .glyph-split i:first-child { background: #d9e0ce; }
  .glyph-split i:last-child { margin-left: 3px; background: var(--accent); }
  .engine-copy h2 { margin-top: 26px; font-size: clamp(38px, 4.5vw, 62px); }
  .engine-copy h2 span { color: var(--accent); }
  .engine-copy > p { max-width: 580px; margin-top: 24px; color: #c4cec4; font-size: 14px; }
  .text-link { display: inline-flex; align-items: center; gap: 8px; color: #4d692e; font-size: 11px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .text-link:hover { color: #243a18; }
  .engine-copy .text-link { margin-top: 24px; color: var(--accent); }
  .engine-copy .text-link:hover { color: #e1f4ba; }
  .engine-status { border-top: 1px solid #3d4a40; }
  .status-line { display: flex; justify-content: space-between; gap: 14px; padding-block: 13px; border-bottom: 1px solid #3d4a40; color: #e3e8de; font-size: 11px; }
  .status-label { color: #a6b1a5; font-size: 9px; }
  .status-bullet { display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
  .status-bullet-warn { background: #e69b69; }
  .engine-status > p { margin-top: 16px; color: #aebbb0; font-size: 10px; line-height: 1.7; }
  .download-intro h2 { margin-top: 25px; }
  .download-intro > p:not(.eyebrow) { max-width: 355px; margin-top: 22px; color: #5b665c; font-size: 13px; }
  .download-intro .text-link { margin-top: 18px; }
  .option-header { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
  .option-index { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #aeb7aa; color: #506349; }
  .option-header .eyebrow { font-size: 9px; }
  .download-option h3 { font-size: 17px; font-weight: 600; letter-spacing: -.035em; }
  .download-option > p:not(.eyebrow) { margin-top: 9px; color: #5c675d; font-size: 11px; }
  pre { max-width: 100%; overflow-x: auto; margin: 16px 0; padding: 12px; border: 1px solid #d2d7cc; background: #dfe2d8; color: #27342a; font-size: 9px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
  code { font-family: var(--mono); }
  .download-option .download-notice { padding-left: 10px; border-left: 2px solid var(--signal); color: #715039; font-size: 10px; }
  .download-option .text-link { margin-top: 15px; }
  .closing-mark { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 18px; border: 1px solid #a8b19f; color: #4a6136; font: 11px/1 var(--mono); }
  .closing p { font-size: clamp(26px, 3.5vw, 44px); font-weight: 550; line-height: 1.1; letter-spacing: -.06em; }
  .closing p span { color: #707b71; }
  .closing .text-link { margin-top: 20px; }
  .footer .brand img { width: 22px; }
  .footer .brand > span:first-of-type { font-size: 19px; }
  .footer p { max-width: 390px; color: var(--muted); font-size: 9px; }
  .footer nav { gap: 22px; font-size: 10px; }
  .command-backdrop {
    position: fixed;
    z-index: 50;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border: 0;
    display: grid;
    align-items: start;
    justify-items: center;
    padding: min(19vh, 150px) 20px 20px;
    background: #11191280;
    backdrop-filter: blur(4px);
  }
  .command-backdrop:not([open]) { display: none; }
  .command-backdrop::backdrop { background: transparent; }
  .command-open { overflow: hidden; }
  .command-dialog { width: min(540px, 100%); border: 1px solid #c9d0c2; background: #f4f5ee; box-shadow: 0 28px 80px #09100bb0; }
  .command-search { display: flex; align-items: center; gap: 12px; padding: 15px 17px; border-bottom: 1px solid #d5dbd0; color: #67745f; }
  .command-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font-size: 14px; }
  .command-search input::placeholder { color: #8b9589; }
  .command-close { padding: 7px; border: 1px solid #d1d7ca; background: transparent; color: #596653; font: 9px/1 var(--mono); }
  .command-meta { display: flex; justify-content: space-between; padding: 13px 17px 6px; color: #808a7e; font: 8px/1.4 var(--mono); letter-spacing: .08em; }
  .command-meta h2 { font: inherit; }
  .command-list { display: grid; gap: 2px; max-height: min(55vh, 370px); overflow-y: auto; padding: 4px 8px 12px; }
  .command-option { display: flex; align-items: center; gap: 11px; min-height: 39px; padding: 7px 10px; border: 1px solid transparent; background: transparent; color: #354039; text-align: left; font-size: 11px; }
  .command-option:hover, .command-option[aria-selected="true"] { border-color: #d9e2ca; background: #e9efdf; }
  .command-option svg { width: 14px; height: 14px; fill: none; stroke: #668044; stroke-width: 1.5; }
  .command-option kbd { color: #778374; }
  .command-empty { padding: 15px 10px; color: #768174; font-size: 11px; }
  .command-foot { padding: 11px 17px; border-top: 1px solid #d5dbd0; color: #7f897d; font: 8px/1.5 var(--mono); }
  .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}

@layer motion {
  html:not(.reduce-motion) .intro > *, html:not(.reduce-motion) .workspace-section > * { animation: arrive 520ms both; }
  html:not(.reduce-motion) .intro-copy { animation-delay: 70ms; }
  html:not(.reduce-motion) .workbench { animation-delay: 130ms; }
  html:not(.reduce-motion) .preview-caption { animation-delay: 190ms; }
  .nav-download, .toolbar-button, .space-button, .command-option { transition: background-color 130ms ease, color 130ms ease, border-color 130ms ease; }
  @keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}

@media (max-width: 1000px) {
  .masthead, .intro, .workspace-section, .details-section, .download-section, .closing, .footer { width: calc(100% - 56px); }
  .workbench { grid-template-columns: 194px minmax(0, 1fr); min-height: 490px; }
  .browser-area { grid-template-rows: 43px minmax(400px, 1fr) 27px; }
  .sidebar { padding-inline: 10px; }
  .detail-row { grid-template-columns: 38px minmax(190px, .85fr) minmax(250px, 1fr) 58px; gap: 16px; }
  .engine-section { padding-inline: 28px; gap: 6vw; }
  .download-section { gap: 6vw; }
}

@media (max-width: 700px) {
  .masthead, .intro, .workspace-section, .details-section, .download-section, .closing, .footer { width: calc(100% - 36px); }
  .masthead { min-height: 68px; gap: 12px; }
  .brand-edition { display: none; }
  .masthead nav { gap: 16px; font-size: 11px; }
  .masthead nav a:first-child, .masthead nav a:nth-child(2) { display: none; }
  .nav-download { padding: 9px 10px; }
  .intro { padding-top: 26px; }
  .intro-index { align-items: start; }
  .intro-index .eyebrow { font-size: 8px; }
  .index-code { font-size: 8px; }
  .intro-copy { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
  .intro h1 { font-size: clamp(37px, 9vw, 60px); }
  .intro-aside { max-width: 480px; }
  .intro-aside > p { font-size: 16px; }
  .compatibility { margin-top: 12px; font-size: 9px; }
  .workspace-section { padding-bottom: 82px; }
  .demo-heading { align-items: start; flex-direction: column; gap: 4px; }
  .demo-heading > p { font-size: 10px; }
  .workbench { grid-template-columns: 1fr; min-height: 0; margin-top: 9px; }
  .sidebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 11px 10px 9px; }
  .sidebar-top { grid-column: 1; grid-row: 1; padding: 0; border: 0; }
  .mini-brand { font-size: 16px; }
  .mini-brand img { width: 20px; }
  .sidebar-bottom, .pinned-group { display: none; }
  .search-trigger { grid-column: 2; grid-row: 1; width: auto; min-width: 40px; height: 32px; margin: 0; padding: 7px; }
  .search-trigger > span, .search-trigger kbd { display: none; }
  .sidebar-group:not(.pinned-group) { grid-column: 1 / -1; grid-row: 2; margin-top: 9px; }
  .sidebar-group.tabs-group { grid-row: 3; margin-top: 9px; padding-top: 5px; border-top: 1px solid #314038; }
  .sidebar-label { display: none; }
  .space-list { display: flex; gap: 5px; overflow-x: auto; }
  .space-button { display: flex; width: auto; min-width: 0; min-height: 30px; padding: 4px 8px; }
  .space-count { display: none; }
  .browser-area { grid-template-rows: 43px minmax(310px, 1fr) 26px; }
  .browser-toolbar { gap: 7px; padding-inline: 9px; }
  .address-bar { height: 25px; padding-inline: 6px; font-size: 8px; }
  .address-status { display: none; }
  .toolbar-button { height: 28px; padding-inline: 5px; font-size: 10px; }
  .toolbar-button svg { width: 14px; }
  .tab-strip { display: flex; gap: 3px; overflow-x: auto; padding-bottom: 3px; }
  .tab { width: auto; min-width: 82px; padding-inline: 8px; font-size: 10px; }
  .page-content { width: calc(100% - 36px); margin-block: 29px 32px; }
  .sample-title { font-size: clamp(25px, 7vw, 37px); }
  .page-deck { font-size: 11px; }
  .contour-card { height: 110px; margin-top: 17px; }
  .page-excerpt { gap: 12px; margin-top: 13px; }
  .page-excerpt p { font-size: 9px; }
  .page-byline { font-size: 7px; }
  .page-workspace.has-split { grid-template-columns: minmax(0, 1fr); }
  .page-workspace.has-split .sample-page { max-height: 300px; border-bottom: 1px solid #cdd2c8; }
  .page-workspace.has-split .split-pane { border-left: 0; }
  .split-pane .page-content { width: calc(100% - 36px); margin-block: 22px; }
  .has-split .sample-title { font-size: 22px; }
  .split-pane .contour-card { height: 70px; }
  .browser-statusbar { padding-inline: 8px; }
  .browser-statusbar > span { font-size: 7px; }
  .preview-caption { align-items: start; flex-direction: column; gap: 8px; }
  .text-action { text-align: left; }
  .details-section { padding-bottom: 80px; }
  .section-rail { align-items: start; gap: 10px; }
  .section-rail .eyebrow, .section-rail .index-code { font-size: 8px; }
  .details-section h2, .engine-copy h2, .download-intro h2 { margin-top: 24px; font-size: clamp(39px, 10vw, 58px); }
  .detail-list { margin-top: 28px; }
  .detail-row { grid-template-columns: 30px minmax(0, 1fr) 45px; gap: 10px; min-height: 115px; padding-block: 17px; }
  .detail-row h3 { font-size: 14px; }
  .detail-row p { grid-column: 2; grid-row: 2; font-size: 10px; }
  .detail-glyph { grid-column: 3; grid-row: 1 / span 2; transform: scale(.8); }
  .engine-section { grid-template-columns: 1fr; gap: 28px; padding: 43px 18px; }
  .engine-copy > p { margin-top: 17px; font-size: 12px; }
  .engine-status { width: 100%; justify-self: stretch; }
  .download-section { grid-template-columns: 1fr; gap: 40px; padding-block: 83px; }
  .download-intro > p:not(.eyebrow) { max-width: 480px; }
  .download-options { grid-template-columns: 1fr; gap: 30px; }
  .download-option h3 { font-size: 16px; }
  pre { font-size: 9px; }
  .closing { padding-block: 50px 66px; }
  .footer { flex-wrap: wrap; gap: 17px; padding-block: 18px; }
  .footer p { order: 3; width: 100%; max-width: none; }
  .footer nav { gap: 15px; margin-left: auto; font-size: 9px; }
  .command-backdrop { padding-top: 10vh; }
}

@media (max-width: 380px) {
  .masthead nav { gap: 10px; }
  .masthead nav a:nth-child(3) { font-size: 10px; }
  .masthead nav a:nth-child(3) span { display: none; }
  .brand > span:first-of-type { font-size: 21px; }
  .intro-index .index-code { display: none; }
  .browser-toolbar { gap: 6px; }
  .address-bar { margin-left: 0; }
  .page-content { width: calc(100% - 28px); }
  .status-line { font-size: 10px; }
  .status-label { font-size: 8px; }
}
