/* Burnish's homepage. System fonts, no frameworks, nothing loaded from elsewhere. */

:root {
  --bg: #fbf3e6;
  --bg-2: #f6e6cc;
  --ink: #2a1c10;
  --ink-2: #6b5440;
  --ink-3: #9a836b;
  --brass: #c47a24;
  --brass-hi: #f2b452;
  --copper: #d4661e;
  --card: rgba(255, 252, 246, 0.72);
  --card-line: rgba(120, 78, 30, 0.13);
  --line: rgba(80, 50, 20, 0.12);
  --pop: rgba(250, 247, 242, 0.92);
  --pop-ink: #1d1d1f;
  --pop-ink-2: #77706a;
  --pop-line: rgba(0, 0, 0, 0.08);
  --badge: rgba(0, 0, 0, 0.06);
  --shadow: 0 30px 80px -30px rgba(90, 55, 15, 0.45);
  --radius: 22px;
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16110d;
    --bg-2: #22190f;
    --ink: #f6eee4;
    --ink-2: #c4b19b;
    --ink-3: #8c7a66;
    --brass: #eaa64a;
    --brass-hi: #ffd08a;
    --copper: #f08a3c;
    --card: rgba(255, 240, 220, 0.045);
    --card-line: rgba(255, 220, 180, 0.11);
    --line: rgba(255, 230, 200, 0.1);
    --pop: rgba(38, 34, 31, 0.92);
    --pop-ink: #f2f2f7;
    --pop-ink-2: #a39c95;
    --pop-line: rgba(255, 255, 255, 0.09);
    --badge: rgba(255, 255, 255, 0.09);
    --shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.8);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(242, 180, 82, 0.32), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(212, 102, 30, 0.12), transparent 60%),
    var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--brass); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; text-align: center; }
.section-lede { text-align: center; color: var(--ink-2); max-width: 560px; margin: 14px auto 0; }
section { padding: 0 24px; }
section[id] { scroll-margin-top: 84px; }

code { font: 0.88em ui-monospace, "SF Mono", Menlo, monospace; background: var(--badge); padding: 0.1em 0.4em; border-radius: 6px; }

/* Navigation */

.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
}
.nav::before {
  content: ""; position: absolute; inset: 0 -100vmax; z-index: -1;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand img { transition: transform 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav nav { display: flex; gap: 26px; font-size: 0.95rem; }
.nav nav a { color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */

.hero {
  max-width: var(--max); margin: 0 auto; padding: 72px 24px 56px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.new-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 600;
  color: var(--ink); background: var(--card); border: 1px solid var(--card-line);
}
.new-pill:hover { text-decoration: none; border-color: var(--brass); }
.new-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 0 var(--copper); animation: pulse 2.4s infinite; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.7rem); font-weight: 850; margin-top: 22px; letter-spacing: -0.035em; }
.shine {
  background: linear-gradient(100deg, var(--copper) 0%, var(--brass) 30%, var(--brass-hi) 50%, var(--brass) 70%, var(--copper) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s ease-in-out infinite;
}
.lede { font-size: 1.2rem; color: var(--ink-2); margin: 22px 0 0; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fineprint { color: var(--ink-3); font-size: 0.85rem; margin-top: 16px; }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 14px; font-weight: 650; font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, #e39a3c, #c8681d);
  box-shadow: 0 10px 30px -10px rgba(200, 104, 29, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
}
.btn-primary:hover::after { animation: sweep 0.9s ease; }
.btn-ghost { color: var(--ink); background: var(--card); border: 1px solid var(--card-line); }

/* The animated menu bar scene */

.hero-stage { perspective: 1400px; }
.desktop {
  position: relative; height: 470px; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 0%, #ffcf7a 0%, transparent 55%),
    radial-gradient(90% 90% at 0% 100%, #c2541c 0%, transparent 60%),
    linear-gradient(160deg, #f3a447, #b65a1e);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform 0.8s cubic-bezier(.2, .8, .2, 1);
}
.hero-stage:hover .desktop { transform: rotateY(0) rotateX(0); }
@media (prefers-color-scheme: dark) {
  .desktop {
    background:
      radial-gradient(120% 80% at 80% 0%, #8a4a12 0%, transparent 55%),
      radial-gradient(90% 90% at 0% 100%, #3a160a 0%, transparent 60%),
      linear-gradient(160deg, #4a2610, #1c0e07);
  }
}
.menubar {
  display: flex; justify-content: space-between; align-items: center;
  height: 30px; padding: 0 14px; font-size: 13px; color: #1d1d1f;
  background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
@media (prefers-color-scheme: dark) { .menubar { background: rgba(30, 26, 24, 0.55); color: #f2f2f7; } }
.mb-left { display: flex; gap: 16px; align-items: center; }
.mb-left i { width: 12px; height: 14px; border-radius: 6px 6px 7px 7px; background: currentColor; opacity: 0.85; }
.mb-left span { opacity: 0.85; }
.mb-right { display: flex; gap: 14px; align-items: center; }
.mb-bell { position: relative; display: flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 5px; }
.mb-bell.open { background: rgba(0, 0, 0, 0.12); }
@media (prefers-color-scheme: dark) { .mb-bell.open { background: rgba(255, 255, 255, 0.16); } }
.mb-bell svg { width: 19px; height: 17px; fill: currentColor; overflow: visible; transform-origin: 50% 20%; }
.mb-bell .ring { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; opacity: 0; }
.mb-bell.ringing svg { animation: wiggle 0.9s ease; }
.mb-bell.ringing .ring-in { animation: ring 0.9s ease 0.05s; }
.mb-bell.ringing .ring-out { animation: ring 0.9s ease 0.2s; }
.mb-count { font-variant-numeric: tabular-nums; font-weight: 500; min-width: 0.6em; transition: opacity 0.3s; }
.mb-count.zero { opacity: 0; }

.popover {
  position: absolute; top: 40px; right: 18px; width: min(340px, calc(100% - 36px));
  border-radius: 16px; padding: 12px 0 10px; color: var(--pop-ink);
  background: var(--pop); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.5), inset 0 0 0 0.5px rgba(255, 255, 255, 0.4);
  transform-origin: 82% 0;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2, 1.2, .3, 1);
}
.popover.closed { opacity: 0; transform: translateY(-8px) scale(0.94); }
.pop-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 16px 10px; }
.pop-head strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.pop-head small { color: var(--pop-ink-2); font-size: 12px; }
.pop-more { color: var(--pop-ink-2); font-size: 10px; letter-spacing: 1px; margin-top: 4px; }
.pop-progress { height: 3px; margin: 0 16px 6px; border-radius: 3px; background: var(--pop-line); overflow: hidden; transition: opacity 0.3s; }
.pop-progress span { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--copper), var(--brass-hi)); transition: width 1.6s ease; }
.pop-progress.hidden { opacity: 0; }
.pop-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pop-line); }
.pop-rows li {
  display: flex; align-items: center; gap: 11px; padding: 10px 16px; border-bottom: 1px solid var(--pop-line);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.2, 1, .3, 1), max-height 0.5s ease, padding 0.5s ease;
  max-height: 64px;
}
.pop-rows li.hidden, .pop-rows li.gone { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-bottom-color: transparent; }
.pop-rows li.hidden { transform: translateX(16px); }
.tile {
  flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tile) 75%, white), var(--tile));
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15);
}
.row-text { flex: 1; min-width: 0; }
.row-text b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.row-text em { font-style: normal; font-weight: 600; font-size: 10.5px; color: var(--pop-ink-2); background: var(--badge); padding: 1px 6px; border-radius: 5px; margin-left: 4px; }
.row-text small { color: var(--pop-ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.pill {
  flex: none; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.9); color: #1d1d1f; box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background 0.3s, color 0.3s;
}
@media (prefers-color-scheme: dark) { .pill { background: rgba(255, 255, 255, 0.16); color: #f2f2f7; } }
.pill.pressed { transform: scale(0.92); }
.pill.working { color: var(--pop-ink-2); }
.pill.working::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: -1px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
.pill.ok { background: transparent; box-shadow: none; color: var(--brass); font-weight: 600; }
.pill-strong { font-weight: 600; }
.pop-foot { display: flex; justify-content: space-between; padding: 10px 16px 0; }
.pop-done {
  display: flex; align-items: center; gap: 10px; justify-content: center; padding: 0 16px; max-height: 0; opacity: 0;
  color: var(--pop-ink-2); font-size: 13px; transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.5s ease;
}
.pop-done.show { max-height: 80px; opacity: 1; padding: 22px 16px; }
.pop-done svg { width: 22px; height: 22px; fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Sources marquee */

.sources { padding: 26px 0 70px; text-align: center; }
.sources-title { color: var(--ink-3); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: flex; align-items: center; gap: 9px; white-space: nowrap; padding: 9px 18px 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink-2); background: var(--card); border: 1px solid var(--card-line);
  transition: color 0.25s, border-color 0.25s;
}
.marquee-track li:hover { color: var(--ink); border-color: color-mix(in srgb, var(--brass) 45%, transparent); }
.marquee-track svg { flex: none; width: 19px; height: 19px; }
.marquee-track .mark { fill: currentColor; }
.marquee-track .glyph { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.marquee-track li:hover svg { color: var(--brass); }

/* Screenshot */

.showcase { max-width: var(--max); margin: 0 auto 120px; }
.showcase img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Features */

.features, .promises, .whats-new, .install, .privacy, .faq { max-width: var(--max); margin: 0 auto 130px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card {
  padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line);
  transition: transform 0.35s cubic-bezier(.2, .9, .3, 1), border-color 0.3s, box-shadow 0.35s;
}
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brass) 45%, transparent); box-shadow: 0 22px 50px -28px rgba(160, 90, 20, 0.55); }
.card svg { width: 34px; height: 34px; fill: none; stroke: var(--brass); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.card .ledger { margin-top: 10px; font-size: 0.86rem; color: var(--ink-3); }
.card .ledger b { color: var(--ink-2); font-weight: 600; }
.card .ledger a { color: inherit; }

/* Promises */

.promise-list { list-style: none; counter-reset: promise; padding: 0; margin: 46px auto 0; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.promise-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); }
.promise-list svg { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--brass) 16%, transparent); fill: none; stroke: var(--brass); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.promise-list svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.7s ease 0.25s; }
.promise-list li.in svg path { stroke-dashoffset: 0; }
.promise-list span { color: var(--ink-2); font-size: 0.97rem; }
.promise-list b { color: var(--ink); }

/* What's new */

.release {
  position: relative; max-width: 760px; margin: 44px auto 0; padding: 36px 40px; border-radius: 26px;
  background: var(--card); border: 1px solid var(--card-line); overflow: hidden;
}
.release::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(130deg, var(--brass-hi), transparent 35%, transparent 65%, var(--copper));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.7;
}
.release-meta { display: flex; gap: 12px; align-items: center; color: var(--ink-3); font-size: 0.9rem; }
.release-version { font-weight: 700; color: var(--brass); background: color-mix(in srgb, var(--brass) 14%, transparent); padding: 3px 10px; border-radius: 8px; }
.release-headline { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 22px; display: flex; align-items: center; gap: 12px; }
.ding { width: 34px; height: 30px; fill: var(--brass); overflow: visible; transform-origin: 50% 25%; flex: none; }
.ding .ring { fill: none; stroke: var(--brass); stroke-width: 1.3; stroke-linecap: round; opacity: 0; }
.release.in .ding { animation: wiggle 1s ease 0.5s; }
.release.in .ding .ring { animation: ring 1s ease 0.55s; }
.short { position: relative; padding: 22px 24px 20px; border-radius: 18px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--brass) 10%, transparent); border: 1px dashed color-mix(in srgb, var(--brass) 45%, transparent); }
.short-badge { position: absolute; top: -11px; left: 20px; padding: 2px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #e39a3c, #c8681d); }
.short ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.short li { position: relative; padding-left: 26px; font-size: 1.06rem; color: var(--ink); }
.short li::before { content: "→"; position: absolute; left: 2px; color: var(--brass); font-weight: 700; }
.full-notes summary { cursor: pointer; list-style: none; font-weight: 650; color: var(--ink-2); padding: 10px 0; display: flex; align-items: center; gap: 8px; }
.full-notes summary::-webkit-details-marker { display: none; }
.full-notes summary::after { content: "+"; color: var(--brass); font-size: 1.3rem; line-height: 1; transition: transform 0.3s ease; }
.full-notes[open] summary::after { transform: rotate(45deg); }
.full-notes[open] .release-items { animation: unfold 0.4s ease; }
.release-items { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.release-items li { position: relative; padding-left: 26px; color: var(--ink-2); }
.release-items li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--brass-hi), var(--copper)); }
.release-items strong { color: var(--ink); }
.release-extra { color: var(--ink-2); margin: 22px 0 0; }
.release-all { display: inline-block; margin-top: 24px; font-weight: 650; }

/* Install */

.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #e39a3c, #c8681d); margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.code { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #1d1712; overflow-x: auto; }
.code code { background: none; color: #f6e2c4; white-space: nowrap; }
.hero-brew { margin-top: 18px; max-width: 470px; }
.hero-brew span { display: block; margin-bottom: 6px; font-size: 0.9rem; color: var(--ink-3); }
.hero-brew .code { margin-top: 0; padding: 10px 14px; }
.hero-brew .code code { white-space: normal; overflow-wrap: anywhere; }
.copy { flex: none; margin-left: auto; font: inherit; font-size: 0.85rem; font-weight: 600; color: #1d1712; background: var(--brass-hi); border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; }

/* Privacy */

.privacy-list { list-style: none; padding: 0; margin: 40px auto 0; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.privacy-list li { padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); display: grid; gap: 4px; }
.privacy-list span { color: var(--ink-2); font-size: 0.95rem; }

/* FAQ */

.faq h2 { margin-bottom: 36px; }
.faq details { max-width: 760px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 650; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-size: 1.4rem; line-height: 1; transition: transform 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); }

/* Final call */

.final { text-align: center; padding: 30px 24px 140px; }
.final-icon { filter: drop-shadow(0 18px 30px rgba(160, 90, 20, 0.35)); transition: transform 0.5s cubic-bezier(.3, 1.6, .5, 1); }
.final:hover .final-icon { transform: rotate(-8deg) scale(1.06); }
.final h2 { margin-top: 18px; }
.final p { color: var(--ink-2); margin: 12px 0 28px; }

.footer { max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 0.88rem; }
.footer a { color: var(--ink-2); }

/* Scroll reveals (only once the script has run, so nothing hides without it) */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes sweep { to { transform: translateX(120%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(11deg); } 45% { transform: rotate(-7deg); } 60% { transform: rotate(4deg); } 75% { transform: rotate(-2deg); } }
@keyframes ring { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Phones and small windows */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 48px; }
  .desktop { transform: none; height: 440px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav a:not(.nav-github) { display: none; }
  .hero { padding: 36px 16px 40px; }
  section { padding: 0 16px; }
  .grid, .steps, .promise-list, .privacy-list { grid-template-columns: 1fr; }
  .release { padding: 28px 22px; }
  .features, .promises, .whats-new, .install, .privacy, .faq { margin-bottom: 96px; }
  .footer { padding: 24px 16px 36px; }
}

/* Motion, only for those who want it */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .promise-list svg path { stroke-dashoffset: 0; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track li[aria-hidden] { display: none; }
  .desktop { transform: none; }
}

/* Micro-interactions: small replies to the pointer. None of them is needed to read the page, and
   the reduced-motion rule above switches every one of them off. */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.nav nav a { position: relative; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.3s cubic-bezier(.2, .8, .2, 1); }
.nav nav a:hover::after, .nav nav a:focus-visible::after { transform: scaleX(1); }
.new-pill span[aria-hidden]:last-child { display: inline-block; transition: transform 0.3s cubic-bezier(.3, 1.4, .5, 1); }
.new-pill:hover span[aria-hidden]:last-child { transform: translateX(4px); }
.btn svg { transition: transform 0.35s cubic-bezier(.3, 1.5, .5, 1); }
.btn-primary:hover svg { transform: translateY(2px); }
.btn-ghost:hover { border-color: var(--brass); }
.seal-line { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 0.92rem; color: var(--ink-2); }
.seal-line .seal { width: 20px; height: 20px; fill: none; stroke: var(--brass); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; transition: transform 0.45s cubic-bezier(.3, 1.6, .5, 1), filter 0.4s; }
.seal-line .seal .tick { stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset 0.6s ease 0.5s; }
.seal-line.in .seal .tick { stroke-dashoffset: 0; }
.seal-line:hover .seal { transform: rotate(-10deg) scale(1.15); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--brass) 55%, transparent)); }
.marquee-track li svg { transition: transform 0.3s cubic-bezier(.3, 1.5, .5, 1), color 0.25s; }
.marquee-track li:hover svg { transform: scale(1.18) rotate(-6deg); }
.card svg { transition: transform 0.45s cubic-bezier(.3, 1.4, .5, 1), stroke 0.3s; }
.card:hover svg { transform: translateY(-2px) rotate(-5deg) scale(1.06); stroke: var(--copper); }
.card h3 { transition: color 0.3s; }
.card:hover h3 { color: var(--brass); }
.promise-list li { transition: transform 0.35s cubic-bezier(.2, .9, .3, 1), border-color 0.3s; }
.promise-list li:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--brass) 45%, transparent); }
.promise-list li svg { transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.promise-list li:hover svg { transform: scale(1.15) rotate(-6deg); }
.release-version { display: inline-block; transition: transform 0.3s cubic-bezier(.3, 1.6, .5, 1); }
.release:hover .release-version { transform: rotate(-3deg) scale(1.05); }
.release-all { transition: transform 0.3s cubic-bezier(.3, 1.4, .5, 1); }
.release-all:hover { transform: translateX(4px); text-decoration: none; }
.full-notes[open] .release-extra, .faq details[open] p { animation: unfold 0.35s ease; }
.steps li { transition: transform 0.35s cubic-bezier(.2, .9, .3, 1), border-color 0.3s, box-shadow 0.35s; }
.steps li:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brass) 45%, transparent); box-shadow: 0 18px 40px -26px rgba(120, 70, 20, 0.5); }
.step-n { transition: transform 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.steps li:hover .step-n { transform: rotate(-8deg) scale(1.1); }
.copy { transition: transform 0.15s, background 0.3s, color 0.3s; }
.copy:hover { transform: translateY(-1px); }
.copy:active { transform: scale(0.95); }
.copy.copied { background: var(--brass); color: #fff; animation: pop 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.privacy-list li { transition: transform 0.35s cubic-bezier(.2, .9, .3, 1), border-color 0.3s; }
.privacy-list li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brass) 45%, transparent); }
.privacy-list li b { transition: color 0.3s; }
.privacy-list li:hover b { color: var(--brass); }
.faq summary { transition: color 0.25s, padding-left 0.3s cubic-bezier(.2, .9, .3, 1); }
.faq summary:hover { color: var(--brass); padding-left: 6px; }
.faq summary:hover::after { transform: scale(1.2); }
.faq details[open] summary:hover::after { transform: rotate(45deg) scale(1.2); }
.footer a { transition: color 0.25s; }
.footer a:hover { color: var(--brass); }
@keyframes pop { 0% { transform: scale(0.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }
