/* Cairn site. Brand color tokens; dark is the default. */
:root {
  --bg: #121417;
  --sunken: #0d0f11;
  --surface: #1b1e22;
  --surface-hover: #23272c;
  --flyout: #181b1ff2;
  --line: #2a2f34;
  --outline: #30353b;
  --outline-control: #767d79;
  --text: #eef0ec;
  --muted: #9ea4a0;
  --stone: #b9b4aa;
  --primary: #c6e36b;
  --primary-hover: #d3ea8a;
  --primary-subtle: #c6e36b26;
  --on-primary: #121417;
  --focus: #eef0ec;
  --kofi: #ff5e5b; /* Ko-fi's brand color, for its button only */
  --kofi-hover: #ff7c79;
  --on-kofi: #1b0a0a;
  --wallpaper: linear-gradient(160deg, #1d2a2a, #141a1f 60%, #10141a);

  /* Site type: DM Sans throughout, JetBrains Mono for keys. The
     drawings of the app keep Windows' own font so they look like Cairn. */
  --sans: "DM Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: var(--sans);
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --app: "Segoe UI Variable Text", "Segoe UI", var(--sans);
  --r: 4px;
  --r-lg: 8px;
  --wrap: 1120px;
  --section: clamp(64px, 10vw, 120px);
  --ease: cubic-bezier(0, 0, 0, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f2ee;
    --sunken: #ebe8e2;
    --surface: #ffffff;
    --surface-hover: #efece6;
    --flyout: #fffffff2;
    --line: #ddd8d1;
    --outline: #d4cec6;
    --outline-control: #767676;
    --text: #191b1d;
    --muted: #5a605c;
    --stone: #6e675c;
    --primary: #4a6410;
    --primary-hover: #3f560d;
    --primary-subtle: #4a641024;
    --on-primary: #ffffff;
    --focus: #191b1d;
    --wallpaper: linear-gradient(160deg, #dfe6e1, #ecebe6 60%, #e4e2dc);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 2.875rem); }
h3 { font: 600 1.0625rem/1.4 var(--sans); letter-spacing: -.01em; }
/* A pill label with a dot above section titles. */
.badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 13px 5px 11px; color: var(--text); font-size: .8125rem; font-weight: 500; background: var(--surface); border: 1px solid var(--outline); border-radius: 999px; }
.badge::before { content: ""; width: 6px; height: 6px; background: var(--stone); border-radius: 50%; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
ul, ol { list-style: none; }
svg { display: block; }
kbd { display: inline-block; min-width: 1.6em; padding: 0 .4em; font: 500 .8125rem/1.6 var(--mono); text-align: center; background: var(--sunken); border: 1px solid var(--outline); border-bottom-width: 2px; border-radius: var(--r); }
.keys { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r); }
.muted { color: var(--muted); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
section { margin-top: var(--section); scroll-margin-top: 88px; }
.head { margin-bottom: 48px; }
.head h2 { max-width: 16ch; }
.head.center { display: grid; justify-items: center; text-align: center; }
.head.center h2 { max-width: none; }
.head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 64px; }
.desc { max-width: 26em; color: var(--muted); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 8px 16px; background: var(--surface); border-radius: var(--r); }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; font: 600 1rem/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; border: 1px solid transparent; border-radius: 999px; cursor: pointer; transition: background-color .12s, border-color .12s, color .12s, box-shadow .12s; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn.chipped { gap: 14px; padding-right: 6px; }
.chip-ico { display: grid; place-items: center; width: 38px; height: 38px; color: var(--primary); background: var(--on-primary); border-radius: 50%; transition: transform .12s; }
.chip-ico svg { width: 18px; height: 18px; }
.btn.chipped:hover .chip-ico { transform: translateY(2px); }
.btn.primary { background: var(--primary); color: var(--on-primary); box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 1px 2px rgb(0 0 0 / .25), 0 8px 24px -8px color-mix(in srgb, var(--primary) 55%, transparent); }
.btn.primary:hover { background: var(--primary-hover); }
.btn.ghost { background: color-mix(in srgb, var(--surface) 60%, transparent); border-color: var(--outline); color: var(--text); }
.btn.ghost:hover { background: var(--surface-hover); border-color: var(--outline-control); }
.btn.kofi { background: var(--kofi); color: var(--on-kofi); }
.btn.kofi:hover { background: var(--kofi-hover); }

/* Header */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 1.3125rem/1 var(--sans); letter-spacing: -.03em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.bar nav { display: flex; gap: 4px; flex: 1; justify-content: flex-end; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); font-size: .9375rem; text-decoration: none; transition: color .12s; }
.bar nav a:hover { color: var(--text); }
@media (max-width: 760px) { .bar nav { display: none; } .bar .wrap { justify-content: space-between; } }

/* Hero */
.hero { position: relative; margin-top: clamp(64px, 10vw, 128px); text-align: center; }
.hero::before { content: ""; position: absolute; inset: -140px 0 -60px; z-index: -1; background-image: linear-gradient(var(--outline) 1px, transparent 1px), linear-gradient(90deg, var(--outline) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 20%, transparent 75%); opacity: 1; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 5px 14px 5px 10px; color: var(--muted); font-size: .8125rem; font-weight: 500; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--outline); border-radius: 999px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--stone); border-radius: 50%; }
.hero h1 { font-size: clamp(2.625rem, 6.5vw, 4.75rem); margin-inline: auto; }
.hero h1 em { color: var(--muted); font-style: normal; }
.lede { max-width: 34em; margin: 28px auto 0; color: var(--muted); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* Demo illustration: a screenshot of the desktop, drawn at 1120 × 630 */
.demo { margin-top: clamp(48px, 7vw, 80px); }
.demo figure { display: grid; justify-items: center; gap: 18px; }
.demo figcaption { color: var(--muted); font-size: .875rem; text-align: center; }
.shot { width: 100%; border: 1px solid var(--outline); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 40px 80px -32px rgb(0 0 0 / .55); }
.display { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wallpaper); }

.desk { position: absolute; left: 0; top: 0; width: 1120px; height: 630px; transform: scale(var(--s, .87)); transform-origin: 0 0; font-family: var(--app); color: var(--text); }
.app { position: absolute; left: 84px; top: 84px; width: 500px; height: 390px; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-lg); box-shadow: 0 16px 40px rgb(0 0 0 / .35); overflow: hidden; }
.app-bar { height: 38px; padding: 0 16px; font-size: 13px; font-weight: 600; line-height: 38px; background: var(--surface-hover); border-bottom: 1px solid var(--line); }
.app-body { display: grid; grid-template-rows: auto auto auto 1fr; gap: 14px; padding: 16px; }
.field { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.field span { width: 56px; }
.field i, .lines i { display: block; height: 7px; background: var(--line); border-radius: 4px; }
.lines { display: grid; gap: 10px; padding-top: 4px; }
.attach { display: grid; place-items: center; color: var(--text); font-size: 13px; font-weight: 600; background: var(--primary-subtle); border: 1.5px dashed var(--primary); border-radius: var(--r-lg); }
.ctl { float: right; display: inline-flex; gap: 14px; align-items: center; height: 100%; }
.ctl i { position: relative; display: block; width: 9px; height: 9px; }
.ctl i:nth-child(1)::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--muted); }
.ctl i:nth-child(2) { border: 1px solid var(--muted); }
.ctl i:nth-child(3)::before, .ctl i:nth-child(3)::after { content: ""; position: absolute; left: -1px; right: -1px; top: 4px; height: 1px; background: var(--muted); rotate: 45deg; }
.ctl i:nth-child(3)::after { rotate: -45deg; }
.drag-chip { position: absolute; left: 546px; top: 380px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r); box-shadow: 0 10px 24px rgb(0 0 0 / .35); rotate: -3deg; }
.drag-chip svg { width: 16px; height: 16px; }

/* The stack, beside the edge tab on the right. */
.edge-tab { position: absolute; right: 0; top: 231px; width: 6px; height: 120px; background: color-mix(in srgb, var(--outline-control) 60%, transparent); border-radius: 999px 0 0 999px; }
.flyout { position: absolute; right: 22px; top: 146px; width: 432px; padding: 12px; background: var(--flyout); border: 1px solid var(--outline); border-radius: var(--r-lg); box-shadow: 0 8px 24px rgb(0 0 0 / .35); }
.flyout-head { display: flex; align-items: center; gap: 4px; height: 28px; margin-bottom: 8px; font: 600 14px/1 var(--app); }
.pill { padding: 7px 10px; color: var(--muted); border-radius: 6px; }
.pill.on { color: var(--text); background: var(--surface); }
.add { width: 28px; color: var(--muted); font-weight: 400; text-align: center; }
.count { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 400; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { display: grid; justify-items: center; align-content: start; gap: 2px; min-width: 0; height: 92px; padding: 10px 6px 8px; background: var(--surface); border: 1px solid transparent; border-radius: var(--r-lg); box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.tile svg { width: 28px; height: 28px; margin-bottom: 4px; color: var(--text); }
.tile b { max-width: 100%; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.tile i { color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.3; }
.tile.sel { background: color-mix(in srgb, var(--primary) 15%, var(--surface)); }
.tile.focus { border-color: var(--primary); }
.flyout-foot { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }

/* A Windows 11 style taskbar: apps in the middle, tray on the right. */
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; background: color-mix(in srgb, var(--sunken) 86%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
.taskbar .apps { display: inline-flex; align-items: center; gap: 6px; }
.taskbar .apps > svg { width: 20px; height: 20px; margin: 0 10px; color: #4cc2ff; }
.app-ico { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; color: var(--text); }
.app-ico svg { width: 20px; height: 20px; }
.app-ico.on { background: color-mix(in srgb, var(--text) 8%, transparent); }
.app-ico.on::after { content: ""; position: absolute; bottom: 2px; width: 16px; height: 3px; background: #4cc2ff; border-radius: 2px; }
.taskbar .tray { position: absolute; right: 14px; display: inline-flex; align-items: center; gap: 14px; line-height: 1.3; text-align: right; }
.taskbar .tray svg { width: 16px; height: 16px; }

/* How it works: one picture beside the steps; the active step has the accent bar. */
.tour { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.tour-stage { display: grid; gap: 16px; }
.js .tour-stage .pic:not(.on) { display: none; }
.tour-steps li { padding: 18px 0 18px 24px; border-left: 2px solid var(--line); transition: border-color .2s; }
.js .tour-steps li { cursor: pointer; }
.tour-steps li.on { border-left-color: var(--primary); }
.js .tour-steps li:not(.on) h3 { color: var(--muted); }
@media (min-width: 861px) { .js .tour-steps li:not(.on) p { display: none; } }
.tour-steps li:focus-visible { outline-offset: 4px; }
.num { display: block; margin-bottom: 8px; color: var(--stone); font: 500 .8125rem/1 var(--mono); letter-spacing: .04em; }
.tour-steps p, .card p { margin-top: 8px; color: var(--muted); }
.tour-steps h3 { font-size: 1.25rem; transition: color .2s; }
@media (max-width: 860px) { .tour { grid-template-columns: 1fr; } }

/* Step pictures: a desktop drawn at 880 × 495 and scaled to fit. Your apps
   fill the screen. Cairn's parts are drawn with the app's own proportions
   (tab pill 4 × 96 at 3 px, drop zone 88 × 160 at 6 px, tiles 96 × 88, stack
   8 px from the tab) inside .s-dock, which shrinks them toward the right edge
   so the apps stay the focus. One loop is 4.8 s. */
.pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wallpaper); border: 1px solid var(--outline); border-radius: 12px; }
.scene { position: absolute; left: 0; top: 0; width: 880px; height: 495px; transform: scale(var(--s, 1)); transform-origin: 0 0; font-family: var(--app); color: var(--text); }

/* The user's app windows. */
.s-app { position: absolute; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--outline); border-radius: 8px; box-shadow: 0 16px 40px rgb(0 0 0 / .3); overflow: hidden; }
.s-app-bar { height: 34px; padding: 0 14px; font-size: 13px; font-weight: 600; line-height: 34px; background: var(--surface-hover); border-bottom: 1px solid var(--line); }
.s-files { position: relative; display: grid; grid-template-columns: repeat(auto-fill, 96px); gap: 14px; align-content: start; padding: 18px; border: 1.5px dashed transparent; border-radius: 0 0 8px 8px; }
.s-file { display: grid; justify-items: center; gap: 6px; height: 92px; padding-top: 6px; font-size: 12px; }
.s-file span { display: grid; place-items: center; width: 64px; height: 50px; color: var(--muted); background: var(--surface-hover); border-radius: 6px; }
.s-file svg { width: 26px; height: 26px; }
.s-mail { display: grid; grid-template-columns: 180px 1fr; }
.s-mail aside { display: grid; align-content: start; gap: 10px; padding: 18px 14px; border-right: 1px solid var(--line); }
.s-mail article { display: grid; align-content: start; gap: 12px; padding: 22px; }
.s-mail i { display: block; height: 9px; background: var(--line); border-radius: 5px; }

.s-dock { position: absolute; inset: 0; transform: scale(.7); transform-origin: 100% 50%; }

/* The idle edge tab. */
.s-pill { position: absolute; right: 3px; top: 199px; width: 4px; height: 96px; background: color-mix(in srgb, var(--outline-control) 40%, transparent); border-radius: 2px; }

/* Step 1: the pill grows into the drop zone, takes the drop, says so, folds back. */
.s-zone { position: absolute; right: 6px; top: 167px; width: 88px; height: 160px; background: color-mix(in srgb, var(--primary) 15%, var(--flyout)); border: 1.5px dashed var(--primary); border-radius: 8px; box-shadow: 0 6px 12px rgb(0 0 0 / .25); transform-origin: 100% 50%; }
.s-zone svg { position: absolute; left: 28px; top: 44px; width: 32px; height: 32px; }
.s-cap { position: absolute; left: 0; right: 0; top: 92px; font-size: 12px; text-align: center; }
.s-here { color: var(--muted); }
.s-added { color: var(--text); opacity: 0; }
.s-drop .s-zone { animation: s-zone 4.8s var(--ease) infinite; }
.s-drop .s-pill { animation: s-pill 4.8s step-end infinite; }
.s-drop .s-here { animation: s-here 4.8s step-end infinite; }
.s-drop .s-added { animation: s-added 4.8s step-end infinite; }
@keyframes s-zone {
  0%, 30% { opacity: 0; transform: scale(.05, .6); }
  33%, 78% { opacity: 1; transform: none; }
  81%, 100% { opacity: 0; transform: scale(.05, .6); }
}
@keyframes s-pill { 0% { opacity: 1; } 30% { opacity: 0; } 81% { opacity: 1; } }
@keyframes s-here { 0% { opacity: 1; } 56% { opacity: 0; } }
@keyframes s-added { 0% { opacity: 0; } 56% { opacity: 1; } 81% { opacity: 0; } }

/* A Windows drag image: the file, its name and the "+ Copy" hint. */
.s-ghost { position: absolute; left: 0; top: 0; z-index: 2; display: grid; justify-items: center; gap: 2px; width: 96px; padding: 8px 4px; font-size: 12px; opacity: .85; }
.s-ghost svg { width: 32px; height: 32px; }
.s-ghost b { font-weight: 600; }
.s-copy { position: absolute; left: 46px; top: 50px; padding: 1px 6px; color: var(--text); font-size: 11px; white-space: nowrap; background: var(--surface); border: 1px solid var(--outline); border-radius: 3px; box-shadow: 0 2px 6px rgb(0 0 0 / .3); }
.s-drop .s-ghost { animation: s-carry 4.8s var(--ease) infinite; }
@keyframes s-carry {
  0% { opacity: 0; transform: translate(152px, 80px); }
  6% { opacity: .85; transform: translate(156px, 84px); }
  30% { transform: translate(700px, 196px); }
  52% { opacity: .85; transform: translate(778px, 205px); }
  56%, 100% { opacity: 0; transform: translate(778px, 205px) scale(.8); }
}

/* Steps 2 and 3: the stack, opened beside the tab. */
.s-flyout { position: absolute; right: 18px; top: 155px; width: 432px; padding: 12px; background: var(--flyout); border: 1px solid var(--outline); border-radius: 8px; box-shadow: 0 8px 24px rgb(0 0 0 / .35); }
.s-flyout .tile { height: 88px; padding: 8px 6px 6px; }
.s-stack .s-flyout { animation: s-open 4.8s var(--ease) infinite; }
.s-stack .tile.new { animation: s-settle 4.8s var(--ease) infinite; }
@keyframes s-open { 0% { opacity: 0; transform: translateX(8px); } 6%, 100% { opacity: 1; transform: none; } }
@keyframes s-settle {
  0%, 30% { opacity: 0; transform: translateY(-4px); }
  34%, 100% { opacity: 1; transform: none; }
}

/* Step 3: the photo leaves the stack and lands among the documents. */
.s-files .got { opacity: 0; }
.s-out .s-files { animation: s-receive 4.8s step-end infinite; }
.s-out .s-files .got { animation: s-arrive 4.8s step-end infinite; }
.s-out .s-ghost { animation: s-deliver 4.8s var(--ease) infinite; }
@keyframes s-deliver {
  0%, 8% { opacity: 0; transform: translate(572px, 212px); }
  14% { opacity: .85; transform: translate(566px, 216px); }
  50% { opacity: .85; transform: translate(42px, 206px); }
  56%, 100% { opacity: 0; transform: translate(42px, 206px) scale(.8); }
}
@keyframes s-receive {
  0% { background: transparent; border-color: transparent; }
  36% { background: color-mix(in srgb, var(--primary) 10%, transparent); border-color: var(--primary); }
  56% { background: transparent; border-color: transparent; }
}
@keyframes s-arrive { 0% { opacity: 0; } 56% { opacity: 1; } }

/* Features */
/* One panel split by hairlines, rather than six floating cards. */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card { padding: clamp(24px, 3vw, 36px); background: var(--bg); transition: background-color .12s; }
.card:hover { background: color-mix(in srgb, var(--surface) 60%, var(--bg)); }
.ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; color: var(--stone); background: var(--surface); border: 1px solid var(--outline); border-radius: 10px; }
.ico svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 64px; align-items: start; }
.faq h2 { margin-bottom: 0; }
.faq .desc { margin-top: 14px; }
.faq .desc a { color: var(--text); }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding-block: 14px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); rotate: 45deg; translate: 0 -2px; transition: rotate .12s; }
.qs details[open] summary::after { rotate: 225deg; translate: 0 2px; }
.qs summary:hover { color: var(--text); }
.qs details p { padding-bottom: 20px; max-width: 40em; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Download: text and buttons beside a few plain facts */
.cta { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; padding: clamp(28px, 6vw, 72px); background: var(--sunken); border: 1px solid var(--outline); border-radius: 20px; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 0% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 0% 100%, #000, transparent 70%); opacity: .6; pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.cta-text > p:not(.badge) { max-width: 30em; margin-top: 14px; color: var(--muted); }
.cta .actions { justify-content: flex-start; margin-top: 28px; }
.facts { padding: 6px 22px; background: var(--surface); border: 1px solid var(--outline); border-radius: 16px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; text-align: right; }
.fine { font-size: .875rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* Footer */
.foot { margin-top: var(--section); padding-top: 40px; border-top: 1px solid var(--line); overflow: hidden; }
.wordmark { margin: clamp(32px, 6vw, 64px) 0 -.12em; color: transparent; font: 700 clamp(7rem, 30vw, 24rem)/.86 var(--sans); letter-spacing: -.065em; text-align: center; background: linear-gradient(var(--outline) 10%, var(--bg) 95%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.foot .brand { font-size: 1.125rem; }
.foot .brand svg { width: 24px; height: 24px; }
.foot p { flex: 1; font-size: .875rem; }
.foot p a { color: var(--muted); }
.foot ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; text-decoration: none; }
.foot li a:hover { color: var(--text); }
.foot-support { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-support p { flex: 1 1 24em; max-width: 46em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  /* Hold each scene at its key moment instead. */
  .s-drop .s-pill, .s-ghost, .s-drop .s-here { opacity: 0 !important; }
  .s-drop .s-added, .s-out .s-files .got { opacity: 1 !important; }
}
