/* Tailwind UI-style tokens: slate neutrals, amber accent (the keyboard's yellow button). */
    :root {
      --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1;
      --slate-500: #64748b; --slate-600: #475569; --slate-700: #334155; --slate-900: #0f172a;
      --amber-300: #fcd34d; --amber-400: #fbbf24; --amber-500: #f59e0b;
      --sky-100: #e0f2fe; --violet-100: #ede9fe;
      --ring: rgba(15, 23, 42, .06);
      --shadow-panel: 0 30px 60px -20px rgba(15, 23, 42, .35), 0 12px 24px -12px rgba(15, 23, 42, .25);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0; color: var(--slate-900); background: var(--slate-50);
      font: 18px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    /* The pattern: a quiet dot grid, with two soft colour washes behind the hero. */
    .pattern {
      background-image: radial-gradient(var(--slate-300) 1px, transparent 1px);
      background-size: 22px 22px;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; }
    .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

    /* Big, easy targets — the people reading this aim with their head. */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 56px; padding: 0 28px; border-radius: 14px;
      font-weight: 600; font-size: 18px; text-decoration: none; transition: transform .15s, box-shadow .15s;
    }
    .btn-primary { background: var(--amber-400); color: var(--slate-900); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 16px -6px rgba(245,158,11,.7); }
    .btn-primary:hover { background: var(--amber-300); transform: translateY(-1px); }
    .btn-white { background: #fff; color: var(--slate-900); box-shadow: 0 0 0 1px var(--slate-200), 0 4px 12px -6px rgba(15,23,42,.2); }
    .btn-white:hover { transform: translateY(-1px); }

    .badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
      background: #fff; box-shadow: 0 0 0 1px var(--slate-200); font-size: 15px; font-weight: 600; color: var(--slate-600); }
    .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-400); }

    header.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(12px);
      background: rgba(248, 250, 252, .8); border-bottom: 1px solid var(--slate-200); }
    header.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
    .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; }
    .brand .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--slate-900); display: grid; place-items: center; }
    .brand .mark span { width: 14px; height: 5px; border-radius: 3px; background: var(--amber-400); }
    nav a { margin-left: 28px; color: var(--slate-600); text-decoration: none; font-size: 16px; font-weight: 500; }
    nav a:hover { color: var(--slate-900); }

    /* Hero */
    .hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
    .hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; }
    .hero::before { width: 520px; height: 520px; background: var(--sky-100); top: -140px; left: -120px; }
    .hero::after { width: 560px; height: 560px; background: #fef3c7; bottom: -220px; right: -160px; }
    .hero .container { position: relative; z-index: 1; text-align: center; }
    .hero h1 { font-size: clamp(44px, 7.4vw, 80px); line-height: 1.02; letter-spacing: -0.035em; margin: 22px 0 0; font-weight: 800; }
    .hero h1 .soft { color: var(--slate-500); }
    .hero .lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--slate-600); max-width: 780px; margin: 26px auto 0; }
    .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

    /* The two apps, as if open on the page: keyboard on the left, clicker panel at the right,
       both drawn at the same scale (they are captured from the same Retina screen). */
    .desk { position: relative; margin: 64px auto 0; max-width: 1040px; display: flex; align-items: center; justify-content: center; gap: 6%; }
    .desk .keyboard { width: 74%; }
    .desk .clicker { width: 4.35%; }        /* 50 pt against the keyboard's 851 pt, at the keyboard's width */
    .desk img { filter: drop-shadow(0 28px 40px rgba(15,23,42,.30)) drop-shadow(0 8px 14px rgba(15,23,42,.18)); }
    .desk .clicker img { border-radius: 10px; }
    .desk figcaption { margin-top: 18px; font-size: 15px; color: var(--slate-500); font-weight: 500; }

    section { padding: 96px 0; }
    section.alt { background: #fff; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
    .subtitle { margin: -6px 0 18px; font-size: clamp(21px, 2.4vw, 26px); font-weight: 600; color: var(--slate-600); letter-spacing: -0.01em; line-height: 1.4; text-wrap: balance; }
    .eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b45309; margin: 0 0 12px; }
    h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 18px; font-weight: 800;
      text-wrap: balance; }          /* lines of even length, no word left alone on the last */
    h1, .lead, .muted { text-wrap: pretty; }
    h3 { font-size: 22px; margin: 0 0 8px; letter-spacing: -0.01em; }
    p { margin: 0 0 16px; }
    .muted { color: var(--slate-600); }
    .center { text-align: center; }
    .narrow { max-width: 760px; }
    .center.narrow { margin-left: auto; margin-right: auto; }

    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
    .card { position: relative; background: #fff; border-radius: 22px; padding: 32px; box-shadow: 0 0 0 1px var(--slate-200), 0 10px 30px -18px rgba(15,23,42,.25); }
    .card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; font-size: 22px; }
    .icon.always { background: #dbeafe; }
    .icon.demand { background: #fef3c7; }
    .pill { position: absolute; top: 28px; right: 28px; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
    .pill.always { background: #dbeafe; color: #1d4ed8; }
    .pill.demand { background: #fef3c7; color: #92400e; }

    .feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
    .feature.flip { grid-template-columns: 1.15fr 1fr; }
    .feature.flip .art { order: -1; }
    ul.checks { list-style: none; padding: 0; margin: 26px 0 30px; }
    ul.checks li { position: relative; padding-left: 36px; margin-bottom: 14px; }
    ul.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
      background: var(--amber-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f172a'%3E%3Cpath d='M8.1 13.3 4.8 10l-1.1 1.1 4.4 4.4 8.8-8.8-1.1-1.1z'/%3E%3C/svg%3E") center/14px no-repeat; }
    .art { position: relative; border-radius: 26px; padding: 40px; }
    .art.pattern { background-color: var(--slate-100); box-shadow: inset 0 0 0 1px var(--slate-200); }
    .art img.panel { filter: drop-shadow(0 24px 34px rgba(15,23,42,.30)) drop-shadow(0 6px 12px rgba(15,23,42,.16)); margin: 0 auto; }
    .typing { position: relative; aspect-ratio: 851 / 460; }
    .typing img.panel { position: absolute; top: 0; left: 0; width: 100%; margin: 0; }
    .typing img.balloon { left: 33.26%; top: 69.13%; width: 32.08%; }   /* 283/851 across, 318/460 down, 273/851 wide */
    .art img.gif { border-radius: 16px; box-shadow: 0 0 0 1px var(--slate-200), 0 18px 40px -16px rgba(15,23,42,.35); }

    .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; counter-reset: s; }
    .step { counter-increment: s; background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 0 0 1px var(--slate-200), 0 10px 30px -20px rgba(15,23,42,.3); }
    .step::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
      background: var(--slate-900); color: var(--amber-400); font-weight: 800; margin-bottom: 16px; }
    .step strong { display: block; font-size: 19px; margin-bottom: 6px; }
    .step span { color: var(--slate-600); font-size: 17px; }

    figure.quote { margin: 0 auto; max-width: 860px; text-align: center; }
    figure.quote blockquote { margin: 0; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.5; letter-spacing: -0.01em; color: var(--slate-700); }
    figure.quote blockquote p:last-child { color: var(--slate-900); font-weight: 700; }
    figure.quote figcaption { margin-top: 22px; color: var(--slate-500); font-weight: 600; font-size: 16px; }

    .install { background: var(--slate-900); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
    .install h2 { color: #fff; }
    .install .muted { color: var(--slate-300); }
    pre { background: #020617; color: #e2e8f0; border-radius: 16px; padding: 22px 24px; margin: 0; overflow-x: auto;
      font: 16px/1.7 ui-monospace, "SF Mono", Menlo, monospace; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
    pre .c { color: var(--slate-300); }
    .install .actions { justify-content: flex-start; margin-top: 26px; }
    .fine { font-size: 15px; color: var(--slate-300); margin-top: 18px; }

    footer { padding: 48px 0 64px; color: var(--slate-500); font-size: 16px; }
    footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; border-top: 1px solid var(--slate-200); padding-top: 28px; }
    footer a { color: var(--slate-600); }

    @media (max-width: 900px) {
      nav { display: none; }
      .grid-2, .feature, .feature.flip, .install { grid-template-columns: 1fr; }
      .feature.flip .art { order: 0; }
      .steps { grid-template-columns: 1fr 1fr; }
      .install { padding: 36px 24px; }
      section { padding: 72px 0; }
    }
    @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .desk { gap: 4%; } }

    /* AllyClicker demo: tabs and animated scenes. */
    .clicker-demo { margin-top: 40px; }
    .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
    .tabs button { min-height: 52px; padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
      font: 600 17px/1 inherit; font-family: inherit; color: var(--slate-600); background: #fff;
      box-shadow: 0 0 0 1px var(--slate-200); transition: background .15s, color .15s; }
    .tabs button:hover { color: var(--slate-900); }
    .tabs button[aria-pressed="true"] { background: var(--slate-900); color: #fff; box-shadow: none; }
    .stage { position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto; border-radius: 26px;
      background-color: var(--slate-100); box-shadow: inset 0 0 0 1px var(--slate-200); overflow: hidden; }
    .panel-wrap { position: absolute; left: 6%; top: 12%; height: 76%; aspect-ratio: 1 / 5; }
    .clicker-img { width: 100%; height: 100%; border-radius: 10px;
      filter: drop-shadow(0 20px 30px rgba(15,23,42,.30)) drop-shadow(0 6px 10px rgba(15,23,42,.16)); }
    .armed { position: absolute; left: 8%; width: 84%; height: 17%; border-radius: 9px; background: #ff3b30;
      mix-blend-mode: lighten; opacity: 0; transition: opacity .15s, top .25s ease; }
    .armed.on { opacity: 1; }
    .window { position: absolute; left: 22%; top: 9%; width: 72%; height: 82%; background: #fff; border-radius: 16px;
      box-shadow: 0 0 0 1px var(--slate-200), 0 24px 48px -20px rgba(15,23,42,.35); overflow: hidden; }
    .window-bar { height: 34px; background: var(--slate-50); border-bottom: 1px solid var(--slate-200); display: flex; gap: 8px; align-items: center; padding: 0 14px; }
    .window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--slate-300); }
    .window-body { position: absolute; inset: 34px 0 0 0; }
    .scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
    .scene.active { opacity: 1; visibility: visible; }

    .dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62%; padding: 26px;
      border-radius: 16px; background: var(--slate-50); box-shadow: 0 0 0 1px var(--slate-200); display: grid; gap: 6px; }
    .dialog strong { font-size: 20px; } .dialog span { color: var(--slate-500); font-size: 15px; }
    .send { justify-self: start; margin-top: 12px; min-height: 44px; padding: 0 26px; border: 0; border-radius: 10px;
      background: #0066cc; color: #fff; font: 600 17px inherit; font-family: inherit; transition: transform .1s, background .2s; }
    .fired .send { transform: scale(.94); background: #34c759; }
    .fired .send::after { content: " ✓"; }

    .file { position: absolute; display: grid; justify-items: center; gap: 6px; font-size: 15px; color: var(--slate-700);
      padding: 10px; border-radius: 12px; width: 120px; }
    .doc, .fold { display: block; width: 54px; height: 62px; border-radius: 8px; }
    .doc { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--slate-300), var(--slate-300)) border-box;
      border: 2px solid transparent; box-shadow: inset 0 -16px 0 -8px #e2e8f0; }
    .fold { width: 66px; height: 52px; background: #60a5fa; border-radius: 6px 10px 10px 10px; box-shadow: inset 0 10px 0 #3b82f6; }
    .scene[data-scene="right"] .file { left: 18%; top: 22%; }
    .menu { position: absolute; left: 38%; top: 30%; margin: 0; padding: 6px; list-style: none; width: 190px; border-radius: 12px;
      background: rgba(255,255,255,.96); box-shadow: 0 0 0 1px var(--slate-200), 0 16px 34px -12px rgba(15,23,42,.35);
      font-size: 15px; opacity: 0; transform: scale(.96); transform-origin: top left; transition: opacity .15s, transform .15s; }
    .menu li { padding: 6px 12px; border-radius: 7px; } .menu .danger { color: #dc2626; }
    .menu li.hover { background: #0066cc; color: #fff; }
    .fired .menu { opacity: 1; transform: none; }
    .chosen .menu { opacity: 0; transition: opacity .2s .15s; }
    .info { position: absolute; left: 44%; top: 18%; width: 230px; padding: 18px; border-radius: 14px; background: #fff; display: grid; gap: 4px;
      box-shadow: 0 0 0 1px var(--slate-200), 0 18px 40px -14px rgba(15,23,42,.35); font-size: 15px; color: var(--slate-600);
      opacity: 0; transform: translateY(6px); transition: opacity .2s .3s, transform .2s .3s; }
    .info strong { color: var(--slate-900); font-size: 16px; }
    .chosen .info { opacity: 1; transform: none; }

    .folder-view .file { left: 40%; top: 26%; }
    .opened { position: absolute; inset: 0; padding: 22px; background: #fff; opacity: 0; transition: opacity .2s; }
    .opened p { margin: 0 0 14px; font-weight: 700; }
    .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .thumbs i { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, #bae6fd, #fde68a); }
    .thumbs i:nth-child(2n) { background: linear-gradient(135deg, #c7d2fe, #fecaca); }
    .fired .opened { opacity: 1; }

    .scene[data-scene="drag"] .moving { left: 14%; top: 30%; z-index: 2; transition: none; }
    .scene[data-scene="drag"] .dest { left: 64%; top: 30%; }
    .dest.hover .fold { box-shadow: inset 0 10px 0 #3b82f6, 0 0 0 4px #93c5fd; }

    .page { position: absolute; inset: 0; padding: 22px 30px; display: grid; align-content: start; gap: 13px;
      background: #fff; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
    .page.shown { opacity: 1; visibility: visible; }
    .page.dense { gap: 7px; padding-top: 18px; }
    .page.dense .line { height: 9px; }
    .page-title { margin: 0 0 2px; font-weight: 800; font-size: 19px; }
    .page a { color: #0a66c2; text-decoration: underline; text-underline-offset: 3px; font-size: 17px; width: max-content; }
    .page a.hover { background: #e0f2fe; border-radius: 6px; }
    .page .line { height: 10px; margin: 0; border-radius: 6px; background: var(--slate-200); }
    .page .line.short { width: 60%; margin-bottom: 8px; }
    .page .line:has(.inline) { height: auto; background: none; font-size: 15px; color: var(--slate-500); }
    .page .inline { font-size: 15px; }
    .next-label { margin: 6px 0 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-500); }
    .calm { position: absolute; padding: 6px 12px; border-radius: 999px; background: var(--slate-900); color: #fff; font-size: 14px;
      font-weight: 600; white-space: nowrap; transform: translate(18px, 22px); opacity: 0; transition: opacity .2s; z-index: 3; }
    .calm.on { opacity: 1; }
    .article { position: absolute; inset: 0; overflow: hidden; }
    .article-inner { padding: 22px 28px; will-change: transform; }
    .article h4 { margin: 0 0 14px; font-size: 19px; }
    .article p { height: 11px; border-radius: 6px; background: var(--slate-200); margin: 0 0 12px; }
    .article p.short { width: 62%; margin-bottom: 26px; }
    .anchor { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 5px rgba(255,59,48,.2);
      transform: translate(-50%, -50%); opacity: 0; z-index: 4; }
    .anchor.on { opacity: 1; }

    .pointer { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 5; pointer-events: none; transition: opacity .18s; }
    .pointer.hidden { opacity: 0; }
    .pointer .arrow { position: absolute; left: -3px; top: -2px; width: 26px; height: 26px; fill: #0f172a; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
    /* AllyClicker's click feedback (ClickFeedback.swift): one red ring, 45 pt across, 3 pt stroke,
       a faint red fill, growing from a quarter of its size and fading out over 0.4 s, ease-out. */
    .ripple { position: absolute; width: 45px; height: 45px; margin: -22.5px 0 0 -22.5px; border-radius: 50%; z-index: 4;
      border: 3px solid rgba(255,59,48,.9); background: rgba(255,59,48,.18); pointer-events: none;
      animation: ripple .4s ease-out forwards; }
    @keyframes ripple { from { transform: scale(.25); opacity: 1; } to { transform: scale(1); opacity: 0; } }
    /* Room for the longest caption, so the page below does not move as they change. */
    .caption { text-align: center; color: var(--slate-600); margin: 20px auto 0; max-width: 680px; min-height: 5em; }

    @media (max-width: 640px) {
      .tabs button { flex: 1 1 40%; }
      .stage { aspect-ratio: 4 / 5; }
      .panel-wrap { top: 8%; height: 56%; left: 5%; }
      .window { left: 26%; width: 70%; top: 6%; height: 88%; }
      .file { width: 96px; }
      .menu { left: 20%; top: 40%; }
    }

/* ---- Detail pages ---- */
nav a.current { color: var(--slate-900); font-weight: 700; }
.page-hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px);
  background: #fef3c7; top: -160px; right: -140px; }
.page-hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; margin: 14px 0 0; font-weight: 800; text-wrap: balance; }
.page-hero .lead { font-size: clamp(19px, 2.1vw, 22px); color: var(--slate-600); margin: 22px 0 0; text-wrap: pretty; }
.page-hero .actions { justify-content: flex-start; }
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art img { filter: drop-shadow(0 28px 40px rgba(15,23,42,.30)) drop-shadow(0 8px 14px rgba(15,23,42,.18)); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-600); text-decoration: none; font-weight: 600; font-size: 16px; }
.back:hover { color: var(--slate-900); }

.row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.row.flip { grid-template-columns: 1.1fr 1fr; }
.row.flip .art { order: -1; }
.row + .row { margin-top: 88px; }
.row h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; text-wrap: balance; }
.row p { color: var(--slate-600); }
.row .art img.framed { border-radius: 14px; margin: 0 auto; box-shadow: 0 0 0 1px var(--slate-200), 0 18px 40px -16px rgba(15,23,42,.35); }
.art .pair { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }

table.actions-table { width: 100%; border-collapse: collapse; margin: 18px 0 0; font-size: 17px; }
.actions-table th, .actions-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.actions-table th { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); }
.actions-table td:first-child { font-weight: 700; white-space: nowrap; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.tile { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 0 0 1px var(--slate-200), 0 10px 30px -20px rgba(15,23,42,.3); }
.tile h3 { font-size: 20px; margin: 0 0 8px; }
.tile p { color: var(--slate-600); margin: 0; font-size: 17px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; box-shadow: 0 0 0 1px var(--slate-200), 0 18px 40px -18px rgba(15,23,42,.35); }
.gallery figcaption { margin-top: 14px; font-size: 16px; color: var(--slate-600); }
.gallery figcaption strong { color: var(--slate-900); }

/* A key marked on the keyboard picture, as the README's screenshots mark it. */
.marked { position: relative; }
.marked .mark-ring { position: absolute; border: 4px solid var(--amber-400); border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(15,23,42,.35); pointer-events: none; }

.note-box { margin-top: 28px; padding: 22px 26px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--slate-200); color: var(--slate-600); }
.note-box strong { color: var(--slate-900); }

@media (max-width: 900px) {
  .page-hero .container, .row, .row.flip { grid-template-columns: minmax(0, 1fr); }
  .row.flip .art { order: 0; }
  .grid-3, .gallery { grid-template-columns: 1fr; }
}
.pill.inline { position: static; display: inline-block; margin-bottom: 14px; }

/* Auto-scroll demo on the AllyClicker page: drawn, so the scroll speed follows the cursor. */
.as-demo { width: 100%; max-width: 560px; margin: 0 auto; }
.as-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  background-color: var(--slate-100); box-shadow: inset 0 0 0 1px var(--slate-200); }
.as-stage .panel-wrap { left: 5%; top: 12%; height: 74%; }
.as-window { left: 24%; top: 7%; width: 72%; height: 86%; border-radius: 14px; }
.as-tabs { height: 36px; display: flex; align-items: flex-end; gap: 6px; padding: 0 10px; background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200); }
.as-tabs i { align-self: center; width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); flex: none; }
.as-tabs i:nth-of-type(3) { margin-right: 6px; }
.as-tab { min-width: 0; max-width: 46%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px;
  font-weight: 600; color: var(--slate-500); padding: 7px 10px 6px; border-radius: 8px 8px 0 0; }
.as-tab.on { background: #fff; color: var(--slate-900); box-shadow: 0 0 0 1px var(--slate-200); }
.as-tab.as-new { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.as-tab.as-new.in { opacity: 1; transform: none; }
.as-view { position: absolute; inset: 36px 0 0 0; overflow: hidden; }
.as-inner { padding: 18px 26px 40px 22px; will-change: transform; transition: opacity .22s; }
.as-inner h4 { margin: 0 0 12px; font-size: 18px; letter-spacing: -.01em; }
.as-inner h5 { margin: 22px 0 10px; font-size: 14px; color: var(--slate-700); }
.as-inner p { height: 9px; border-radius: 5px; background: var(--slate-200); margin: 0 0 9px; }
.as-inner p.short { width: 58%; }
.as-inner .pic { height: 52px; border-radius: 10px; margin: 14px 0; background: linear-gradient(135deg, var(--sky-100), var(--violet-100)); }
.as-inner .link-line { height: auto; background: none; font-size: 13px; color: var(--slate-500); margin: 4px 0 12px; }
.as-inner .as-link { color: #0a66c2; text-decoration: underline; text-underline-offset: 3px; border-radius: 5px; padding: 1px 2px; }
.as-inner .as-link.hover { background: var(--sky-100); }
.as-bar { position: absolute; right: 3px; top: 4px; bottom: 4px; width: 5px; }
.as-bar i { position: absolute; left: 0; width: 100%; border-radius: 3px; background: var(--slate-300); }
.as-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible;
  opacity: 0; transition: opacity .2s; }
.as-line.on { opacity: 1; }
.as-line line { stroke: #ff3b30; stroke-width: 2; stroke-dasharray: 4 5; stroke-linecap: round; opacity: .55; }
.as-stage .anchor { transition: opacity .25s; }
.as-chip { position: absolute; left: 0; top: 0; z-index: 6; padding: 4px 10px; border-radius: 999px; background: var(--slate-900); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.as-chip.on { opacity: 1; }
.as-hold { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; z-index: 4; opacity: 0;
  transform: rotate(-90deg); pointer-events: none; }
.as-hold circle { fill: none; stroke: var(--slate-900); stroke-width: 3; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; }
.as-hold.on { opacity: .75; }
.as-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 16px 0 0; }
.as-steps li { font-size: 12.5px; font-weight: 600; color: var(--slate-500); background: #fff; padding: 5px 10px; border-radius: 999px;
  box-shadow: 0 0 0 1px var(--slate-200); transition: background .2s, color .2s; }
.as-steps li.on { background: var(--slate-900); color: #fff; box-shadow: none; }
.as-caption { text-align: center; color: var(--slate-600); font-size: 16px; margin: 12px auto 0; min-height: 3em; }

/* Install guide. body[data-app] picks the app; [data-for] lists the apps an element is for. */
body[data-app="both"] [data-for]:not([data-for~="both"]),
body[data-app="clicker"] [data-for]:not([data-for~="clicker"]),
body[data-app="keyboard"] [data-for]:not([data-for~="keyboard"]) { display: none !important; }
.guide-hero { padding-bottom: 64px; }
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.picker-label { font-weight: 600; color: var(--slate-600); margin-right: 6px; }
.picker button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; cursor: pointer; font: 600 16px/1 inherit;
  font-family: inherit; color: var(--slate-600); background: #fff; box-shadow: 0 0 0 1px var(--slate-200); }
.picker button:hover { color: var(--slate-900); }
.picker button[aria-pressed="true"] { background: var(--slate-900); color: #fff; box-shadow: none; }
.quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.quick li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 0 0 1px var(--slate-200), 0 10px 24px -16px rgba(15,23,42,.3); }
.quick b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-400);
  color: var(--slate-900); font-size: 17px; }
.quick strong { display: block; font-size: 18px; }
.quick span { color: var(--slate-600); font-size: 16px; }
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 2px; }
.toc p { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); }
.toc a { color: var(--slate-600); text-decoration: none; padding: 7px 12px; border-radius: 9px; font-weight: 500; }
.toc a:hover { background: #fff; color: var(--slate-900); }
.toc em { font-style: normal; font-size: 12px; color: #b45309; font-weight: 700; margin-left: 4px; }
.guide-doc { max-width: 760px; font-size: 18px; line-height: 1.65; }
.guide-doc section { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--slate-200); scroll-margin-top: 96px; }
.guide-doc section:last-child { border-bottom: 0; margin-bottom: 0; }
.guide-doc h2 { font-size: clamp(28px, 3.2vw, 36px); }
.guide-doc h3 { font-size: 20px; margin: 30px 0 8px; letter-spacing: -.01em; }
.guide-doc p { margin: 0 0 14px; color: var(--slate-700); }
.guide-doc a { color: #0a66c2; }
.guide-doc .btn { color: var(--slate-900); }
.guide-doc kbd { font: 15px ui-monospace, "SF Mono", Menlo, monospace; background: var(--slate-100); border-radius: 6px; padding: 2px 6px;
  box-shadow: inset 0 0 0 1px var(--slate-200); white-space: nowrap; }
.guide-doc .small { font-size: 16px; color: var(--slate-500); }
.code { position: relative; margin: 14px 0 18px; }
.code pre { font-size: 15px; padding-right: 96px; white-space: pre-wrap; word-break: break-all; }
.code .copy { position: absolute; top: 12px; right: 12px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; cursor: pointer;
  font: 600 14px/1 inherit; font-family: inherit; color: #fff; background: rgba(255,255,255,.12); }
.code .copy:hover { background: rgba(255,255,255,.22); }
.note { background: #fff; border-radius: 14px; padding: 16px 20px; margin: 18px 0; color: var(--slate-700); font-size: 17px;
  box-shadow: 0 0 0 1px var(--slate-200); border-left: 4px solid var(--amber-400); }
.note.warn { border-left-color: #ff3b30; }
.gsteps { list-style: none; counter-reset: s; margin: 22px 0; padding: 0; }
.gsteps > li { counter-increment: s; position: relative; padding: 0 0 22px 56px; }
.gsteps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--slate-900); color: #fff; font-weight: 700; font-size: 16px; }
.gsteps > li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 2px; background: var(--slate-200); }
.gsteps h3 { margin: 4px 0 6px; }
.actions.left { justify-content: flex-start; margin: 10px 0 12px; }
.next { font-weight: 600; }
.next a { text-decoration: none; }
.done { background: var(--sky-100); border-radius: 14px; padding: 16px 20px; }
.reqs, .paths { padding-left: 22px; color: var(--slate-700); }
.reqs li, .paths li { margin-bottom: 8px; }
details { background: #fff; border-radius: 14px; margin: 10px 0; box-shadow: 0 0 0 1px var(--slate-200); }
details summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+"; display: inline-block; width: 22px; color: var(--amber-500); font-weight: 800; }
details[open] summary::before { content: "−"; }
details p { padding: 0 20px 4px 42px; }
@media (max-width: 900px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
  .toc { display: none; }
  .guide-doc { font-size: 17px; }
}

/* "Star on GitHub" in the header of each app's page: a link to its repository, no count.
   On a phone the menu is hidden; the button stays, as the GitHub mark alone. */
header.nav nav { display: flex; align-items: center; }
nav .star { display: inline-flex; border: 0; cursor: pointer; font-family: inherit; margin-left: 28px; text-decoration: none; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 11px;
  background: #fff; color: var(--slate-900); font-weight: 600; font-size: 15px;
  box-shadow: 0 0 0 1px var(--slate-200), 0 2px 6px -3px rgba(15,23,42,.2); transition: box-shadow .15s, transform .15s; }
nav .star:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--slate-300), 0 6px 14px -8px rgba(15,23,42,.35); }
nav .star svg { width: 17px; height: 17px; fill: currentColor; }
nav .star .chev { width: 14px; height: 14px; fill: none; margin-left: -1px; transition: transform .15s; }
nav .star[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (max-width: 900px) {
  header.nav nav > a:not(.star) { display: none; }
  nav .star { padding: 0 11px; margin-left: 0; }
  nav .star span { display: none; }
}

/* AllyKeyboard hero: a note being typed into, the keyboard over its lower edge, and the
   suggestion balloon under the keyboard. Positions are in parts of the keyboard's width. */
@media (min-width: 901px) { .page-hero .container:has(.kb-scene) { grid-template-columns: 1fr 1.15fr; } }
.kb-scene { position: relative; display: block; width: 100%; aspect-ratio: 1 / .83; }
.kb-scene .kb-note { position: absolute; left: 7%; right: 7%; top: 0; height: 40%; background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px var(--slate-200), 0 30px 50px -28px rgba(15,23,42,.35); overflow: hidden; }
.kb-note-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200); }
.kb-note-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--slate-300); }
.kb-note-bar span { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--slate-500); }
.kb-note-text { margin: 0; padding: 16px 20px; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.5; color: var(--slate-900); }
.kb-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: #0a66c2;
  animation: kb-blink 1s steps(1) infinite; }
@keyframes kb-blink { 50% { opacity: 0; } }
.kb-board-wrap { position: absolute; left: 0; top: 31%; width: 100%; }
.kb-scene .kb-board { display: block; width: 100%; height: auto; }
/* The suggestion balloon, drawn as SuggestionBarView draws it: the keyboard's colour, a tail
   toward the keyboard, one word a row, the typed part white and the rest dimmed. Sizes follow
   its width (the app makes it 0.32 of the keyboard's). */
.kb-balloon { position: absolute; left: 33.26%; top: 75.3%; width: 32.08%; container-type: inline-size; opacity: 0;
  transform: translateY(-6px) scale(.97); transform-origin: 50% 0; transition: opacity .15s, transform .15s; }
.kb-balloon.on { opacity: 1; transform: none; }
.kb-balloon-body { position: relative; margin-top: 2.6cqw; background: rgb(30, 30, 30); border-radius: 2.2cqw; overflow: visible;
  filter: drop-shadow(0 18px 26px rgba(15,23,42,.28)) drop-shadow(0 4px 8px rgba(15,23,42,.18)); }
.kb-balloon-body::before { content: ""; position: absolute; left: 50%; top: -2.5cqw; margin-left: -2.8cqw;
  border: 2.8cqw solid transparent; border-top: 0; border-bottom: 2.6cqw solid rgb(30, 30, 30); }
.kb-row { font: 400 7.1cqw/1.7 -apple-system, BlinkMacSystemFont, "Inter", sans-serif; padding-left: .6em; border-radius: 2.2cqw;
  color: rgba(255, 255, 255, .45); white-space: nowrap; overflow: hidden; }
.kb-row b { font-weight: 400; color: #fff; }
.kb-row.hover { background: rgb(92, 92, 92); color: #fff; }
.kb-row.down { background: rgb(184, 33, 33); color: #fff; }
@media (max-width: 900px) { .kb-scene { max-width: 560px; margin: 8px auto 0; } }
@media (max-width: 600px) {
  .kb-note-bar { height: 26px; padding: 0 10px; gap: 5px; }
  .kb-note-bar i { width: 8px; height: 8px; }
  .kb-note-text { padding: 9px 14px; font-size: 13px; }
  .kb-board-wrap { top: 33%; }
  .kb-balloon { top: 77.5%; }
}
/* Keys lit over the picture, in AllyKeyboard's colours: grey under the cursor (keyHover),
   red while pressed (keyPressed), bright red while ⇧ waits for its letter (keyActive).
   "lighten" keeps the white glyphs on top. */
.kb-keys { position: absolute; inset: 0; }
.kb-key { position: absolute; border-radius: 9% / 11%; mix-blend-mode: lighten; opacity: 0; transition: opacity .12s; }
.kb-key.hover { background: rgb(92, 92, 92); opacity: 1; }
.kb-key.down { background: rgb(184, 33, 33); opacity: 1; transition: none; }
.kb-key.active { background: rgb(255, 59, 48); opacity: 1; }
.kb-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -2px 0 0 -3px; z-index: 3; fill: #0f172a; stroke: #fff;
  stroke-width: 1.5; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.kb-cursor.on { opacity: 1; }

/* AllyKeyboard: suggestions that learn. A highlighted block, with a chain of next-word picks. */
#learning { padding-top: 24px; }
.learn { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 48px; background: #fff;
  box-shadow: 0 0 0 1px var(--slate-200), 0 30px 60px -36px rgba(15,23,42,.35); }
.learn::before { content: ""; position: absolute; width: 560px; height: 560px; left: 50%; top: -320px; margin-left: -280px;
  border-radius: 50%; background: var(--amber-300); opacity: .28; filter: blur(90px); pointer-events: none; }
.learn > * { position: relative; }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.learn-card { background: var(--slate-50); border-radius: 18px; padding: 24px; box-shadow: inset 0 0 0 1px var(--slate-200); }
.learn-card h3 { margin: 14px 0 8px; font-size: 20px; }
.learn-card p { margin: 0; color: var(--slate-600); }
.learn-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber-400);
  font-weight: 800; color: var(--slate-900); }
.chain { display: flex; align-items: flex-start; justify-content: center; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.chain-step { width: 210px; }
.chain-field { height: 46px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 1px var(--slate-200), 0 6px 16px -10px rgba(15,23,42,.3); font-size: 18px; white-space: pre; }
.chain-balloon { position: relative; margin: 12px 0 0 14px; width: 130px; padding: 4px 0; border-radius: 9px; background: rgb(30,30,30);
  box-shadow: 0 14px 24px -12px rgba(15,23,42,.5); }
.chain-balloon::before { content: ""; position: absolute; left: 22px; top: -7px; border: 8px solid transparent; border-top: 0;
  border-bottom: 7px solid rgb(30,30,30); }
.chain-row { margin: 0 4px; padding: 3px 10px; border-radius: 6px; font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: rgba(255,255,255,.45); }
.chain-row.picked { background: rgb(92,92,92); color: #fff; }
.chain-arrow { align-self: center; margin-top: -60px; font-size: 26px; color: var(--slate-300); }
.chain-caption { text-align: center; margin: 18px 0 0; font-weight: 600; color: var(--slate-700); }
.learn-fine { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: 16px; color: var(--slate-500); }
@media (max-width: 900px) {
  .learn { padding: 36px 22px; }
  .learn-grid { grid-template-columns: 1fr; }
  .chain-arrow { transform: rotate(90deg); margin: 0; }
  .chain { flex-direction: column; align-items: center; }
}
/* The home page's GitHub list. */
.star-menu { position: relative; }
.star-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 290px; padding: 8px; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 1px var(--slate-200), 0 24px 40px -18px rgba(15,23,42,.35); }
.star-list[hidden] { display: none; }
nav .star-list a { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  margin: 0; padding: 10px 12px; min-height: 56px; border-radius: 11px; color: var(--slate-900); font-weight: 700; font-size: 16px; }
nav .star-list a:hover { background: var(--slate-100); }
.star-list small { grid-column: 2; font-weight: 500; font-size: 14px; color: var(--slate-500); }
.star-ic { grid-row: 1 / 3; justify-self: center; width: 44px; height: auto; border-radius: 4px; }
.star-ic.tall { width: auto; height: 40px; }

/* The menu button and the panel it slides in from the right, on narrow screens only. */
.menu-btn, .mnav, .mnav-shade { display: none; }
@media (max-width: 900px) {
  header.nav nav { display: flex; align-items: center; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: 10px; padding: 0; border: 0;
    border-radius: 12px; cursor: pointer; background: #fff; color: var(--slate-900);
    box-shadow: 0 0 0 1px var(--slate-200), 0 2px 6px -3px rgba(15,23,42,.2); }
  .menu-btn svg, .mnav-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .mnav-shade { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(15,23,42,.35); opacity: 0;
    pointer-events: none; transition: opacity .25s ease; }
  .mnav { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(320px, 86vw);
    background: #fff; transform: translateX(100%); visibility: hidden;
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, visibility 0s .3s; overflow-y: auto; }
  .mnav-open .mnav-shade { opacity: 1; pointer-events: auto; }
  .mnav-open .mnav { transform: none; visibility: visible; box-shadow: -24px 0 48px -24px rgba(15,23,42,.45);
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s; }
  .mnav-open body { overflow: hidden; }
  .mnav-top { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 12px 0 24px;
    border-bottom: 1px solid var(--slate-200); }
  .mnav-top span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); }
  .mnav-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; cursor: pointer;
    background: var(--slate-100); color: var(--slate-900); }
  .mnav-close:hover { background: var(--slate-200); }
  .mnav-links { display: grid; gap: 4px; padding: 14px 12px; }
  .mnav-links a { display: flex; align-items: center; min-height: 54px; margin: 0; padding: 0 14px; border-radius: 12px;
    font-size: 19px; font-weight: 600; color: var(--slate-900); text-decoration: none; }
  .mnav-links a:hover, .mnav-links a.current { background: var(--slate-100); }
  .mnav-row { display: flex; align-items: center; gap: 0; }
  .mnav-row > a:first-child { flex: none; padding-right: 10px; }
  .mnav-links a.mnav-more { flex: none; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
    letter-spacing: .02em;
    background: #fef3c7; color: #92400e; }
  .mnav-links a.mnav-more:hover { background: var(--amber-300); color: var(--slate-900); }
  .mnav-gh { margin-top: auto; padding: 16px 12px 24px; border-top: 1px solid var(--slate-200); }
  .mnav-gh p { margin: 0 14px 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); }
  .mnav-gh a { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; border-radius: 12px;
    font-size: 17px; font-weight: 600; color: var(--slate-700); text-decoration: none; }
  .mnav-gh a:hover { background: var(--slate-100); }
  .mnav-gh .gh { width: 20px; height: 20px; fill: currentColor; }
}
@media (prefers-reduced-motion: reduce) { .mnav, .mnav-shade { transition: none; } }

/* Accessibility. A clear focus ring for keyboard, switch and voice users; text only screen
   readers read; the skip link; the pause buttons of the animations. */
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.install :focus-visible, .code :focus-visible, pre:focus-visible { outline-color: var(--amber-400); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--slate-900);
  color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.anim-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  cursor: pointer; font: 600 15px/1 inherit; font-family: inherit; color: var(--slate-700); background: #fff;
  box-shadow: 0 0 0 1px var(--slate-200), 0 2px 6px -3px rgba(15,23,42,.2); }
.anim-toggle:hover { color: var(--slate-900); }
.anim-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.anim-bar { display: flex; justify-content: center; margin-top: 14px; }
.kb-scene .anim-toggle { position: absolute; right: 0; bottom: 0; z-index: 4; min-height: 34px; padding: 0 12px; font-size: 13px; }
.install .eyebrow { color: var(--amber-400); }
/* Long paths and settings names may break, so the text column fits a 320 px screen (WCAG 1.4.10). */
.paths kbd, .guide-doc b { overflow-wrap: anywhere; }
.paths kbd { white-space: normal; }
img { max-width: 100%; height: auto; }
/* Commands wrap instead of scrolling sideways, so no part of them is out of reach. */
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
