@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* Cool neutral greys, one brand colour (pine), marigold for the screenshot selection only. */
:root {
  --paper: #f3f5f5; --surface: #fff; --sunk: #e7ebeb; --ink: #12171a; --ink-2: #3f484c; --ink-3: #5c666a;
  --rule: rgb(18 30 36 / .11); --pine: #0e5a4b; --on-pine: #fff; --accent-ink: #0e5a4b; --mark: #ffb627; --brand-field: #0e5a4b;
  --lift: 0 1px 2px rgb(18 30 36 / .06), 0 14px 34px -18px rgb(18 30 36 / .28);
  --display: "Bricolage Grotesque", system-ui, sans-serif; --body: "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1); color-scheme: light;
}
:root[data-theme="dark"] { --paper: #0e1214; --surface: #161b1e; --sunk: #1f2528; --ink: #ecf0f1; --ink-2: #bbc4c7; --ink-3: #8d989c; --rule: rgb(230 240 242 / .11); --pine: #1a6e5b; --accent-ink: #b8d4cc; --lift: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -20px rgb(0 0 0 / .7); color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.35rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.028em; max-width: 22ch; }
h3 { font-size: 1.15rem; line-height: 1.3; }
h4 { font-size: .95rem; font-weight: 600; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
::selection { background: var(--mark); color: #1c1c1c; }
[hidden] { display: none !important; }
html:not(.js) .js-only, html:not(.js) .skeleton { display: none; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px; z-index: 30; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon { width: 18px; height: 18px; flex: none; }

/* Floating bar, as on LocalDrop */
.top { position: sticky; top: 0; z-index: 10; padding: 12px 20px 0; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: min(1100px, 100%); margin-inline: auto; height: 60px; padding: 0 10px 0 16px; border: 1px solid var(--rule); border-radius: 18px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px); transition: box-shadow .25s var(--ease); }
.top[data-scrolled="true"] .bar { box-shadow: 0 10px 30px -18px rgb(0 0 0 / .3); }
.brand { display: flex; align-items: center; gap: 9px; font: 650 1.2rem var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.bar-end { display: flex; align-items: center; gap: 4px; }
.bar-link { color: var(--ink-2); text-decoration: none; font-size: .95rem; padding: 7px 11px; border-radius: 9px; transition: background-color .15s, color .15s; }
.bar-link:hover, .bar-link[aria-current="true"] { background: var(--sunk); color: var(--ink); }
.icon-button .sun, :root[data-dark="true"] .icon-button .moon { display: none; }
.icon-button .moon, :root[data-dark="true"] .icon-button .sun { display: block; }


.hero { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: 40px; align-items: center; min-height: min(740px, calc(100svh - 72px)); padding-block: 40px 56px; }
.pitch { display: grid; gap: 20px; justify-items: start; }
.news { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border: 1px solid var(--rule); border-radius: 99px; background: var(--surface); font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.news-tag { padding: 2px 10px; border-radius: 99px; background: var(--pine); color: var(--on-pine); font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fine { font-size: .9rem; color: var(--ink-3); max-width: 40ch; }
.command { display: flex; gap: 12px; align-items: flex-start; max-width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 10px 10px 16px; }
.command pre { flex: 1; min-width: 0; margin: 0; padding: 5px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .88rem; line-height: 1.7; }

.demo-slot { position: relative; min-width: 0; }
.demo, .skeleton { display: grid; grid-template-columns: minmax(0, 1fr) 212px; gap: 12px; }
.js .demo { visibility: hidden; }
.js .demo-slot.ready .demo { visibility: visible; }
.demo-slot.ready .skeleton { display: none; }
.skeleton { position: absolute; inset: 0; }
.skeleton > div { display: flex; flex-direction: column; gap: 18px; padding: 22px; border: 1px solid var(--rule); border-radius: 18px; background: var(--surface); overflow: hidden; }
.skel { display: block; flex: none; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--sunk) 30%, var(--rule) 50%, var(--sunk) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.skel.block { height: 64px; width: 100%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.window, .clipboard { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--lift); }
.window { display: flex; flex-direction: column; overflow: hidden; }
.titlebar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-weight: 600; font-size: .9rem; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--sunk); }
.canvas { position: relative; flex: 1; min-height: 290px; padding: 22px; cursor: crosshair; user-select: none; touch-action: none; overflow: hidden; }
.canvas p, .canvas-copy p { margin-bottom: 13px; }
.selection { position: absolute; border: 2px dashed var(--mark); background: color-mix(in srgb, var(--mark) 22%, transparent); pointer-events: none; }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 12px 10px 16px; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--ink-3); }
.clipboard { display: flex; flex-direction: column; gap: 8px; padding: 14px; font-size: .86rem; min-width: 0; }
.mock-title { font-weight: 600; font-size: .95rem; }
.clipboard ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.clipboard li { border: 1px solid var(--rule); border-radius: 10px; padding: 6px; }
.clipboard li.pinned { border-color: var(--mark); box-shadow: inset 0 0 0 1px var(--mark); }
.clipboard li.new { animation: arrive .35s var(--ease) both; }
.clip { display: block; position: relative; height: 42px; overflow: hidden; border-radius: 6px; background: var(--sunk); }
.clip.text { height: auto; padding: 6px 8px; white-space: nowrap; text-overflow: ellipsis; }
.clip-actions { display: flex; gap: 6px; margin-top: 6px; }
.clip-actions button[aria-pressed="true"] { background: var(--mark); border-color: var(--mark); color: #1c1c1c; }
.clip-actions button[aria-pressed="true"]:focus-visible { outline-color: var(--ink); }
.pad-label { margin-top: auto; font-weight: 600; }
.pad { position: relative; height: 54px; flex: none; overflow: hidden; border: 1px dashed var(--ink-3); border-radius: 10px; padding: 4px; }
.flyer { position: fixed; z-index: 20; border: 2px solid var(--mark); background: color-mix(in srgb, var(--mark) 30%, transparent); border-radius: 6px; pointer-events: none; transform-origin: 0 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }

.section { padding-block: 96px; border-top: 1px solid var(--rule); }
.section > p, .copy p { color: var(--ink-2); max-width: 36em; }
.section > h2 + p { margin-top: 12px; }
.copy { display: grid; gap: 16px; justify-items: start; }
.feature-icon { width: 28px; height: 28px; color: var(--accent-ink); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; width: 100%; margin-top: 6px; font-size: .95rem; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .icon { color: var(--accent-ink); margin-top: 3px; }

.pitch > * { animation: arrive .5s var(--ease) both; }
.pitch > :nth-child(2) { animation-delay: .06s; }
.pitch > :nth-child(3) { animation-delay: .12s; }
.pitch > :nth-child(n+4) { animation-delay: .18s; }

/* Three steps on one line that fills with the scroll */
.steps { --run: 1; position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.steps::before, .steps::after { content: ""; position: absolute; z-index: -1; top: 17px; left: 18px; width: calc((100% - 80px) / 3 * 2 + 80px); height: 2px; background: var(--rule); }
.steps::after { background: var(--pine); transform: scaleX(var(--run)); transform-origin: left; }
.steps li { display: grid; gap: 8px; align-content: start; }
.steps p { color: var(--ink-2); }
.num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border: 2px solid var(--pine); border-radius: 50%; background: var(--pine); color: var(--on-pine); font-weight: 600; transition: background-color .25s, border-color .25s, color .25s; }
.js .steps li:not(.lit) .num { background: var(--paper); border-color: var(--rule); color: var(--ink-3); }
.updates { display: flex; gap: 14px; margin-top: 48px; padding: 18px 20px; border-radius: 14px; background: var(--sunk); }
.updates .icon { color: var(--accent-ink); margin-top: 4px; }

.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 12px; background: var(--sunk); }
.tabs button { font: 600 .92rem var(--body); color: var(--ink-2); background: none; border: 0; border-radius: 9px; padding: 8px 16px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .14); }
.panel { margin: 24px 0 0; }
.panel.shown { animation: arrive .3s var(--ease) both; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-block: 36px 24px; }
.ledger h3 { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; }
.ledger h3 .icon { color: var(--accent-ink); }
.ledger li { padding: 12px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; margin-top: 36px; }
.faq h3 { margin-bottom: 8px; }
.faq p { color: var(--ink-2); }
.end { display: grid; justify-items: center; gap: 14px; text-align: center; padding-block: 104px; border-top: 1px solid var(--rule); }
.end p { color: var(--ink-2); }

.doc { max-width: 720px; padding-block: 56px 96px; display: grid; gap: 18px; align-content: start; }
.doc h2 { font-size: 1.35rem; margin-top: 20px; }
.doc ul { display: grid; gap: 12px; }
.doc li { padding-top: 12px; border-top: 1px solid var(--rule); }
.log li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.tag { justify-self: start; align-self: start; padding: 1px 9px; border-radius: 6px; background: var(--sunk); font-size: .8rem; }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
}
@media (max-width: 760px) {
  .bar-link:not([href="install.html"]) { display: none; }
  .section { padding-block: 64px; }
  .ledger, .faq, .steps { grid-template-columns: minmax(0, 1fr); }
  .steps::before, .steps::after { top: 18px; left: 17px; width: 2px; height: calc(100% - 100px); }
  .steps::after { transform: scaleY(var(--run)); transform-origin: top; }
  .steps li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; }
  .num { grid-row: span 2; }
}
@media (max-width: 600px) {
  .demo, .skeleton { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .tabs { width: 100%; }
  .tabs button { flex: 1 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Real screenshots, one per theme */
.zoomable { display: block; max-width: 100%; margin-inline: auto; padding: 0; border: 0; border-radius: 14px; background: none; cursor: zoom-in; box-shadow: var(--lift); transition: transform .25s var(--ease); }
.zoomable:hover { transform: translateY(-3px); }
.zoomable img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.zoomable.on-dark { display: none; }
:root[data-theme="dark"] .zoomable.on-dark { display: block; }
:root[data-theme="dark"] .zoomable.on-light { display: none; }
figure { margin: 0; min-width: 0; }
#zoom { max-width: min(94vw, 1100px); max-height: 94vh; padding: 12px; border: 1px solid var(--rule); border-radius: 18px; background: var(--surface); color: var(--ink); }
#zoom::backdrop { background: rgb(0 0 0 / .65); }
#zoom form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
#zoom img { display: block; max-width: 100%; max-height: calc(94vh - 90px); margin-inline: auto; border-radius: 10px; }

.tour { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 32px; border: 1px solid var(--rule); border-radius: 22px; background: var(--surface); min-height: 600px; }
.tour.wide { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.tour h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.tour .checks { grid-template-columns: 1fr; }
.looks { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.looks .panel { margin: 0; }
.after { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 56px; }
.after .copy h3 { margin-top: 8px; }
.after .command { width: 100%; }
#setup > .command { margin-top: 36px; }
#setup > .fine { margin-top: 12px; max-width: none; overflow-wrap: anywhere; }

.keylist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 32px 0 24px; }
.keylist div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--rule); }
.keylist dd { margin: 0; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.cards a { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), border-color .2s; }
.cards a:hover { transform: translateY(-3px); border-color: var(--accent-ink); }
.cards .icon { width: 24px; height: 24px; color: var(--accent-ink); }
.cards p { color: var(--ink-2); font-size: .93rem; }
.ledger.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wide-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin-top: 28px; font-size: 1.02rem; }
@media (max-width: 600px) { .wide-checks { grid-template-columns: minmax(0, 1fr); } }

/* Documentation pages */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 40px 80px; }
.docs aside { position: sticky; top: 96px; display: grid; gap: 24px; font-size: .93rem; }
.docs nav { display: grid; gap: 2px; }
.docs nav a { padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.docs nav a:hover, .docs nav a[aria-current="page"] { background: var(--sunk); color: var(--ink); }
.docs .toc b { padding: 0 10px 6px; }
.docs .toc a { padding-block: 4px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin-bottom: 20px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; max-width: none; }
.prose h3 { margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol, .prose .command, .prose .table { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose code, .fine code { font-size: .88em; background: var(--sunk); border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
.prose pre code { background: none; padding: 0; overflow-wrap: normal; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .tour, .tour.wide, .looks, .after { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: 0; }
  .tour { padding: 20px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger.three { grid-template-columns: minmax(0, 1fr); }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .docs aside { position: static; }
  .docs .toc { display: none; }
}
@media (max-width: 600px) {
  .cards, .keylist { grid-template-columns: minmax(0, 1fr); }
  .command { flex-direction: column; align-items: stretch; }
}
@media (max-width: 430px) {
  .bar .button { display: none; }
}

/* ---------- Life: the hero story, the selection sweep, framed screenshots ---------- */
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes press { 0% { transform: none; } 35% { transform: translateY(2px); border-bottom-width: 1px; } 100% { transform: none; } }
@keyframes wake { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pine) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes shutter { 0% { opacity: .85; } 100% { opacity: 0; } }

kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; font: 600 .82rem var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-bottom-width: 3px; border-radius: 7px; }
.press.in .keylist-key, .keylist.press.in kbd { animation: press .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }

/* Backdrop behind the top: a soft pine glow and a dot grid, as on LocalDrop */
.sweep, .sweep-stage { position: relative; }
.backdrop { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; top: -220px; right: -160px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgb(14 90 75 / .26), rgb(14 90 75 / 0) 66%); }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgb(18 30 36 / .2) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 88%); mask-image: linear-gradient(180deg, #000 0, transparent 88%); }
:root[data-theme="dark"] .orb { background: radial-gradient(circle at 50% 50%, rgb(40 170 140 / .22), rgb(40 170 140 / 0) 66%); }
:root[data-theme="dark"] .dots { background-image: radial-gradient(rgb(230 240 242 / .16) 1px, transparent 1.2px); }
.sweep-layer { position: relative; z-index: 1; }
.sweep-brand, .sweep-frame, .sweep-over { display: none; }
.hero .demo-home { min-width: 0; }

/* The sweep: scrolling drags a screenshot selection out from the headline. What it covers turns pine. */
.sweeping { --t: 24%; --l: 8%; --r: 92%; --b: 76%; height: calc(100svh + 80vh); margin-top: -72px; }
.sweeping .sweep-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; border-radius: 0 0 32px 32px; }
.sweeping .sweep-layer { position: absolute; inset: 0; display: grid; align-items: center; padding-top: 72px; }
.sweeping .hero { width: min(1100px, 100% - 40px); min-height: 0; padding-block: 24px; }
.sweeping .sweep-over { display: grid; pointer-events: none; z-index: 3; }
.sweeping .demo-dock { pointer-events: auto; min-width: 0; }
.sweeping .demo-home, .sweeping .demo-hole { height: var(--demo-h, 360px); }
.sweeping .sweep-brand { display: grid; z-index: 2; background: var(--brand-field); color: #fff; clip-path: inset(var(--t) var(--r) var(--b) var(--l) round 6px); }
.sweeping .sweep-frame { display: block; position: absolute; z-index: 2; inset: var(--t) var(--r) var(--b) var(--l); border: 2px dashed var(--mark); border-radius: 6px; box-shadow: 0 0 0 200vmax rgb(0 0 0 / var(--dim, .14)); opacity: var(--frame, 0); pointer-events: none; }
.sweep-frame i { position: absolute; width: 11px; height: 11px; background: var(--paper); border: 2px solid var(--mark); border-radius: 3px; }
.sweep-frame i:nth-child(1) { left: -7px; top: -7px; } .sweep-frame i:nth-child(2) { right: -7px; top: -7px; }
.sweep-frame i:nth-child(3) { left: -7px; bottom: -7px; } .sweep-frame i:nth-child(4) { right: -7px; bottom: -7px; }
.sweep-frame .size { position: absolute; right: 14px; bottom: 14px; padding: 3px 9px; border-radius: 7px; background: rgb(20 24 26 / .88); color: #fff; font: 600 .78rem var(--body); font-variant-numeric: tabular-nums; }
.sweep-brand .pitch { color: #fff; }
.sweep-brand .lead, .sweep-brand .fine { color: rgb(255 255 255 / .78); }
.sweep-brand .news { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .22); color: #fff; }
.sweep-brand .news-tag { background: #fff; color: var(--brand-field); }
.sweep-brand .button { background: #fff; color: var(--brand-field); border-color: #fff; }
.sweep-brand .button.quiet { background: transparent; color: #fff; border-color: rgb(255 255 255 / .45); }
.sweep-brand .pitch > * { animation: none; }

/* The hero story: a pointer, key caps, a shutter flash and a toast. Played once, then it is yours. */
.demo-slot { --ring: color-mix(in srgb, var(--pine) 55%, transparent); }
.ghost { position: absolute; left: 0; top: 0; z-index: 6; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .35)); will-change: transform; }
.ghost.on { opacity: 1; }
.ghost.click { scale: .8; transition: scale .1s; }
.keys { position: absolute; left: 50%; bottom: -40px; z-index: 6; display: flex; gap: 6px; padding: 8px 12px; margin: 0; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); box-shadow: var(--lift); opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.keys.on { opacity: 1; transform: translate(-50%, 0); }
.keys kbd { transition: transform .1s, border-bottom-width .1s; }
.keys.down kbd { transform: translateY(2px); border-bottom-width: 1px; background: var(--sunk); }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: shutter .38s ease-out both; }
.toast { position: absolute; left: 50%; bottom: 56px; z-index: 5; margin: 0; padding: 7px 14px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: .85rem; font-weight: 600; opacity: 0; transform: translate(-50%, 10px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.selection .chip { position: absolute; right: -2px; top: -26px; padding: 2px 8px; border-radius: 6px; background: rgb(20 24 26 / .88); color: #fff; font: 600 .74rem var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.selection.grow { transition: width .65s var(--ease), height .65s var(--ease); }
.clipboard.wake { animation: wake .9s ease-out; }
.window { position: relative; }

/* Screenshots sit on a tinted stage and tilt a little toward the pointer */
.tour figure, .looks figure { position: relative; padding: 30px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--pine) 16%, var(--sunk)), var(--sunk) 70%); overflow: hidden; }
.tour figure::before, .looks figure::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(18 30 36 / .16) 1px, transparent 1.2px); background-size: 20px 20px; opacity: .6; pointer-events: none; }
:root[data-theme="dark"] .tour figure::before, :root[data-theme="dark"] .looks figure::before { background-image: radial-gradient(rgb(230 240 242 / .14) 1px, transparent 1.2px); }
.tour figure .zoomable, .looks figure .zoomable { position: relative; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); box-shadow: 0 30px 60px -28px rgb(0 0 0 / .55); }
.tour figure .zoomable:hover, .looks figure .zoomable:hover { translate: 0 -3px; }
.tour.shown .copy > * { animation: arrive .5s var(--ease) both; }
.tour.shown .copy > :nth-child(2) { animation-delay: .05s; } .tour.shown .copy > :nth-child(3) { animation-delay: .1s; } .tour.shown .copy > :nth-child(n+4) { animation-delay: .15s; }
.tour.shown .checks li { animation: arrive .45s var(--ease) both; }
.tour.shown .checks li:nth-child(1) { animation-delay: .22s; } .tour.shown .checks li:nth-child(2) { animation-delay: .3s; } .tour.shown .checks li:nth-child(3) { animation-delay: .38s; } .tour.shown .checks li:nth-child(n+4) { animation-delay: .46s; }
.tour.shown figure, .looks .panel.shown .zoomable { animation: rise .7s var(--ease) .1s both; }
.tour { background: var(--surface); box-shadow: var(--lift); }
.tabs button { transition: background-color .2s, color .2s, box-shadow .2s; }

/* The closing call in the brand colour, with a selection that draws itself */
.end-band { background: var(--brand-field); color: #fff; }
.end-band .end { border-top: 0; padding-block: 96px; }
.end-band .end p { color: rgb(255 255 255 / .8); }
.end-band .button { background: #fff; color: var(--brand-field); border-color: #fff; }
.end-card { position: relative; display: grid; justify-items: center; gap: 14px; padding: 40px 56px; }
.end-card i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--mark); transition: transform .6s var(--ease), opacity .6s; }
.end-card i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; transform-origin: 0 0; } .end-card i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; transform-origin: 100% 0; }
.end-card i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; transform-origin: 0 100%; } .end-card i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; transform-origin: 100% 100%; }
.js .end-card:not(.in) i { opacity: 0; }
.js .end-card:not(.in) i:nth-child(1) { transform: translate(24px, 24px); } .js .end-card:not(.in) i:nth-child(2) { transform: translate(-24px, 24px); }
.js .end-card:not(.in) i:nth-child(3) { transform: translate(24px, -24px); } .js .end-card:not(.in) i:nth-child(4) { transform: translate(-24px, -24px); }
@media (max-width: 600px) { .end-card { padding: 28px 12px; } .keys { bottom: -34px; } .tour figure, .looks figure { padding: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .tour figure .zoomable, .looks figure .zoomable { transform: none; }
  .ghost, .keys { display: none; }
}

/* Icon and heading share a line */
.head { display: flex; align-items: flex-start; gap: 12px; }
.head h3 { margin: 0; }
.head .icon { margin-top: 3px; }
.tour .head .icon { margin-top: 3px; }
.cards .head .icon { margin-top: 0; }

/* The four looks as full-width bars, each with a small picture of its style */
.looklist { display: grid; gap: 10px; width: 100%; margin-top: 28px; }
.look-tab { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 16px 12px 12px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.look-tab:hover { transform: translateX(3px); }
.look-tab[aria-selected="true"] { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine), var(--lift); }
.look-name { display: grid; gap: 2px; flex: 1; min-width: 0; }
.look-name strong { font: 650 1.05rem var(--display); }
.look-name small { color: var(--ink-3); font-size: .88rem; line-height: 1.35; }
.look-check { color: var(--pine); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
:root[data-theme="dark"] .look-check { color: var(--accent-ink); }
.look-tab[aria-selected="true"] .look-check { opacity: 1; transform: none; }
.swatch { position: relative; flex: none; width: 84px; height: 56px; overflow: hidden; border-radius: 11px; background: linear-gradient(135deg, #b9cdc6 0%, #8fa8a2 55%, #6b8fb0 100%); }
.swatch::before { content: ""; position: absolute; right: -14px; top: -16px; width: 44px; height: 44px; border-radius: 50%; background: #dfbf6a; opacity: .85; }
.swatch i { position: absolute; left: 14px; top: 8px; right: 14px; bottom: 8px; border-radius: 8px; background: rgb(255 255 255 / .72); box-shadow: 0 4px 10px -4px rgb(0 0 0 / .35); }
.swatch b { position: absolute; left: 22px; top: 17px; width: 22px; height: 4px; border-radius: 2px; background: var(--dot, #2f8a6f); box-shadow: 0 9px 0 -1px rgb(20 30 34 / .16), 0 17px 0 -1px rgb(20 30 34 / .16); }
.swatch-look-glass i { background: rgb(255 255 255 / .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 4px 10px -4px rgb(0 0 0 / .3), inset 0 0 0 1px rgb(255 255 255 / .6); }
.swatch-look-gradient { --dot: #f26b4a; } .swatch-look-gradient i { background: linear-gradient(135deg, #fbd9d2, #f0c8e2); }
.swatch-look-solid { --dot: #1a8f68; } .swatch-look-solid i { background: #eef2f1; }
.swatch-look-grape { --dot: #7c3aed; } .swatch-look-grape i { background: linear-gradient(135deg, #e0d4fb, #f2cde0); }
.looks > .copy { align-content: center; }
@media (max-width: 600px) { .swatch { width: 68px; height: 48px; } .look-tab { gap: 12px; } }

.tabs button { display: inline-flex; align-items: center; gap: 8px; }
.tabs .icon { width: 17px; height: 17px; }

/* The tool tabs span the full width, each tab taking an equal share */
.tabs { display: flex; width: 100%; }
.tabs button { flex: 1 1 112px; justify-content: center; padding-inline: 10px; white-space: nowrap; }


/* One footer on every page, always at the bottom */
body { display: flex; flex-direction: column; min-height: 100svh; }
main { flex: 1 0 auto; }
.foot-band { flex: none; background: var(--surface); border-top: 1px solid var(--rule); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; padding-block: 28px; border-top: 0; font-size: .92rem; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin: 0; }
.foot-brand span { display: grid; gap: 1px; }
.foot-brand strong { font: 650 1.05rem var(--display); color: var(--ink); }
.foot-brand small { color: var(--ink-3); font-size: .85rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Buttons: one clean set, themed by the page colours */
.button { --btn: var(--pine); --btn-hover: color-mix(in srgb, var(--pine) 86%, #000); --btn-ink: var(--on-pine); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; font: 600 .98rem/1 var(--body); letter-spacing: .005em; color: var(--btn-ink); background: var(--btn); border: 1px solid color-mix(in srgb, var(--btn) 82%, #000); border-radius: 12px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 1px 2px rgb(18 30 36 / .18); text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, box-shadow .18s, transform .12s var(--ease); }
.button:hover { background: var(--btn-hover); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 4px 12px -4px color-mix(in srgb, var(--btn) 70%, transparent); }
.button:active { transform: translateY(1px); box-shadow: inset 0 1px 2px rgb(0 0 0 / .25); }
.button.small { min-height: 36px; padding: 0 15px; font-size: .9rem; border-radius: 10px; }
.button.quiet { --btn-ink: var(--ink); color: var(--ink); background: var(--surface); border-color: var(--rule); box-shadow: 0 1px 2px rgb(18 30 36 / .06); }
.button.quiet:hover { background: var(--sunk); border-color: color-mix(in srgb, var(--ink) 22%, transparent); box-shadow: 0 1px 2px rgb(18 30 36 / .06); }
:root[data-theme="dark"] .button { --btn-hover: color-mix(in srgb, var(--pine) 80%, #fff); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 1px 2px rgb(0 0 0 / .5); }
:root[data-theme="dark"] .button.quiet { background: var(--sunk); border-color: var(--rule); }
:root[data-theme="dark"] .button.quiet:hover { background: color-mix(in srgb, var(--sunk) 80%, #fff); }
.button:focus-visible, .icon-button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.sweep-brand .button, .end-band .button { box-shadow: 0 1px 2px rgb(0 0 0 / .25); border-color: #fff; }
.sweep-brand .button:hover, .end-band .button:hover { background: #e6f0ed; }
.sweep-brand .button.quiet { border-color: rgb(255 255 255 / .45); }
.sweep-brand .button.quiet:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; margin-right: 4px; color: var(--ink); background: none; border: 1px solid transparent; border-radius: 11px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.icon-button:hover { background: var(--sunk); border-color: var(--rule); }
.clip-actions button { flex: 1; min-height: 30px; font: 600 .8rem var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.clip-actions button:hover { background: var(--sunk); border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
.clip-actions button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.tabs button:focus-visible, .look-tab:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.tabs button:not([aria-selected="true"]):hover { color: var(--ink); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.copy-button { min-height: 34px; }

/* Icons in buttons and footer links: small, thin lines, same colour as the text */
.button .icon { width: 17px; height: 17px; stroke-width: 1.9; }
.button.small .icon { width: 15px; height: 15px; }
.foot-links a { display: inline-flex; align-items: center; gap: 7px; }
.foot-links .icon { width: 16px; height: 16px; color: var(--ink-3); transition: color .15s; }
.foot-links a:hover .icon { color: var(--accent-ink); }

/* "Install from the source code" folds away under the main command */
.more { margin-top: 18px; }
.more summary { display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px; color: var(--ink-2); font-size: .93rem; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { color: var(--ink); }
.more[open] summary { margin-bottom: 10px; }
.more .command { margin-top: 0; }
