/* fennekos.org v2: light, plain, readable. One accent (the Fennek violet), one type family (Geist). */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/geist-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/geist-mono-latin.woff2) format("woff2"); }

:root {
  --bg: #ffffff; --bg-alt: #f6f6f9; --ink: #111218; --text: #383c47; --muted: #5e6372; --line: #e3e4ea; --line-2: #d3d5dd;
  --accent: #6a46d9; --accent-2: #5634c4; --accent-soft: #f0ebff;
  --ok: #1f8a55; --ok-soft: #e5f5ec; --unk: #6a46d9; --bad: #c8382f; --bad-soft: #fdecea;
  --font: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", "Cascadia Code", Consolas, monospace;
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }
code { font: 500 .86em var(--mono); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: .1em .38em; color: var(--ink); white-space: nowrap; }
kbd { font: 600 .78em var(--font); display: inline-block; min-width: 1.9em; text-align: center; padding: .12em .5em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--ink); }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(900px, 100% - 40px); }

/* type */
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; letter-spacing: -.028em; font-weight: 720; color: var(--ink); text-wrap: balance; }
h3 { font-size: 1.1rem; line-height: 1.3; font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.accent { color: var(--accent); }
.eyebrow { font-size: .9rem; font-weight: 650; color: var(--accent); margin-bottom: 12px; }
.intro { font-size: 1.12rem; color: var(--muted); margin-top: 16px; max-width: 62ch; }
.note { font-size: .95rem; color: var(--muted); margin-top: 20px; text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 1.4em; border-radius: 11px; font-size: 1rem; font-weight: 620; line-height: 1; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 1em; font-size: .92rem; border-radius: 9px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px #2c1a6b33, 0 6px 18px -6px #6a46d988; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--accent-2); }
.btn-light:hover { color: var(--accent-2); background: #f3efff; }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff88; }
.btn-outline-light:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta.center { justify-content: center; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: #ffffffe6; backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.solid { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 720; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { color: var(--text); font-size: .96rem; font-weight: 520; }
.nav a:hover { color: var(--ink); }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); }
.icon-btn:hover { background: var(--bg-alt); color: var(--ink); }
.menu-btn { display: none; width: 40px; height: 40px; place-content: center; gap: 5px; border-radius: 9px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { display: grid; gap: 4px; padding: 10px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
.menu[hidden] { display: none; }
.menu a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; font-weight: 560; color: var(--ink); border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 12px; }
@media (max-width: 960px) { .nav { display: none; } .menu-btn { display: grid; } .hdr-cta .btn { display: none; } }

/* hero */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(28px, 4vw, 44px); text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 0%, #f1ecff, transparent 70%); }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .9rem; font-weight: 560; color: var(--text); margin-bottom: 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #e8913a; box-shadow: 0 0 0 4px #e8913a26; }
.sub { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 40ch; margin-top: 22px; }
.hero .cta { justify-content: center; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 26px; font-size: .95rem; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 7px; }
.checks .i { color: var(--ok); }

/* the desktop, shown like a product screenshot */
.tour { padding-bottom: clamp(48px, 6vw, 80px); }
.shot { max-width: 1040px; margin: 0 auto; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px #2a1d5a55, 0 12px 30px -18px #11121833; }
.shot .desk { border-radius: 14px; box-shadow: none; }
.scenes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 1040px; margin: 22px auto 0; }
.scene { padding: 12px 12px 10px; border-radius: 12px; text-align: left; box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; transition: box-shadow .2s, background .2s; }
.scene b { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.scene span { display: block; margin-top: 2px; font-size: .86rem; color: var(--muted); line-height: 1.3; }
.scene:hover { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg-alt); }
.scene.on { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.scene.on b { color: var(--accent-2); }
.scene::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.scenes.auto .scene.on::after { animation: scene var(--dur, 7s) linear both; }
@keyframes scene { to { transform: scaleX(1); } }
.scene-note { max-width: 680px; margin: 22px auto 0; text-align: center; font-size: 1.12rem; color: var(--ink); font-weight: 520; min-height: 3.2em; }
.demo-hint { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .scenes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shot { padding: 6px; border-radius: 16px; } }

/* built-on strip */
.strip { border-block: 1px solid var(--line); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 34px; padding: 22px 0; font-weight: 650; color: #8a8f9c; font-size: 1rem; }
.strip-lbl { font-weight: 520; color: var(--muted); font-size: .92rem; }

/* sections */
.sect { padding: clamp(64px, 8vw, 104px) 0; }
.sect.alt { background: var(--bg-alt); }
.head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 4.5vw, 56px); }
.head .intro { margin-inline: auto; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card, .feat, .mini { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); padding: 28px; }
.card h3, .feat h3 { margin-top: 18px; }
.card p, .feat p, .mini p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.feat { padding: 24px; }
.ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.ico .i { width: 22px; height: 22px; }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid3, .grid4 { grid-template-columns: 1fr; } }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: .9rem; font-weight: 650; color: var(--muted); background: #fbfbfd; }
.compare { min-width: 620px; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--text); }
.compare .us { background: var(--accent-soft); color: var(--ink); font-weight: 650; }
.compare thead .us { color: var(--accent-2); background: #e8e0ff; }
.compare .yes::before, .compare .no::before { display: inline-block; width: 1.2em; font-weight: 800; }
.compare .yes::before { content: "✓"; color: var(--ok); }
.compare .no::before { content: "✕"; color: var(--bad); }
.manifest { min-width: 640px; }
.manifest .host { font: 550 .92rem var(--mono); color: var(--ink); overflow-wrap: anywhere; min-width: 11em; }
.manifest .when { white-space: nowrap; color: var(--muted); font-size: .95rem; }
.manifest .nil td { background: var(--ok-soft); }
.manifest .nil .when { color: var(--ok); font-weight: 700; }
.manifest td:nth-child(2) { color: var(--text); }

/* habits */
.pairs { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.pairs div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 24px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.pairs div:last-child { border-bottom: 0; }
.pairs dt { font-weight: 620; color: var(--ink); }
.pairs dd { color: var(--muted); }
@media (max-width: 680px) { .pairs div { grid-template-columns: 1fr; gap: 4px; } }

/* split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.flow { display: grid; gap: 14px; margin-top: 28px; }
.flow li { display: flex; gap: 14px; align-items: baseline; color: var(--text); }
.tag { flex: none; min-width: 92px; text-align: center; padding: 4px 10px; border-radius: 999px; font-size: .85rem; font-weight: 650; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.unk { background: var(--accent-soft); color: var(--accent-2); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.stack { display: grid; gap: 14px; }
.mini { padding: 22px 24px; }

/* battery */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats div { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; }
.stats b { display: block; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; font-weight: 760; letter-spacing: -.04em; color: var(--ink); }
.stats div:last-of-type b { color: var(--accent); }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; }
.stats p { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); }

/* roadmap */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); padding: 24px; }
.steps h3 { margin-top: 14px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: .96rem; }
.state { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .82rem; font-weight: 650; background: var(--bg-alt); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.steps .done .state { background: var(--ok-soft); color: var(--ok); box-shadow: none; }
.steps .now { box-shadow: 0 0 0 2px var(--accent); }
.steps .now .state { background: var(--accent); color: #fff; box-shadow: none; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* code */
.code { background: #15161c; color: #e9e9ef; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -24px #11121866; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #ffffff14; font-size: .88rem; color: #a7aab6; }
.copy-btn { padding: 6px 12px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: #fff; background: #ffffff14; }
.copy-btn:hover { background: #ffffff24; }
.code pre { padding: 18px 20px; font: 500 .92rem/1.7 var(--mono); overflow-x: auto; color: #fff; -webkit-user-select: text; user-select: text; }
.c-dim { color: #7f8392; }
.code-warn { padding: 0 20px 16px; font-size: .88rem; color: #f2b766; }

/* faq */
.qs { display: grid; gap: 10px; }
.qs details { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.qs summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 620; color: var(--ink); position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.qs details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qs details p { padding: 0 22px 20px; color: var(--muted); }

/* final call */
.final { padding: clamp(64px, 8vw, 100px) 0; background: linear-gradient(160deg, #5a37cf, #7a55e6); color: #fff; text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final img { border-radius: 16px; box-shadow: 0 10px 30px -10px #0006; }
.final h2 { color: #fff; margin-top: 22px; }
.final p { color: #ece6ff; max-width: 52ch; margin-top: 14px; font-size: 1.1rem; }
.final .mail { font-size: .98rem; margin-top: 24px; }
.final .mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.ftr { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: .95rem; }
.ftr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr nav a, .socials a { color: var(--text); }
.ftr nav a:hover, .socials a:hover { color: var(--accent); }
.socials { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; }
.maker { margin-top: 18px; color: var(--muted); }
.legal { margin-top: 12px; font-size: .84rem; color: #7b8090; max-width: 110ch; }

/* reveal: a short, quiet fade */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scenes.auto .scene.on::after { animation: none; }
}
@media (max-width: 480px) { h1 { font-size: 2.3rem; } .hero .btn { width: 100%; } .hero .cta { width: 100%; } }

/* the fennec switch to the desert version */
.style-switch { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; transition: box-shadow .2s, transform .2s; }
.style-switch img { border-radius: 8px; transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.style-switch:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
@media (max-width: 960px) { .style-switch span { display: none; } .style-switch { padding: 0 6px; } }

/* switch animation: the other version's colours sweep across the pill, the fennec hops, then the page changes */
.style-switch { position: relative; isolation: isolate; overflow: hidden; transition: box-shadow .25s, transform .25s, color .3s .1s; }
.style-switch::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.65,0,.35,1); }
.style-switch:hover { transform: translateY(-1px); }
.style-switch:hover img { transform: rotate(-8deg); }
.style-switch.go img, .style-switch:hover.go img { transform: none; animation: sw-hop .55s cubic-bezier(.3,1.5,.5,1); }
.style-switch.go::before { transform: scaleX(1); }
@keyframes sw-hop { 0% { transform: none; } 40% { transform: translateY(-5px) scale(1.12); } 70% { transform: translateY(1px) scale(.96); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .style-switch::before, .style-switch img { transition: none; animation: none !important; } }
.style-switch::before { background: linear-gradient(120deg, #2d2150, #7a3f45 60%, #c8743a); }
.style-switch.go { color: #f7dca3; box-shadow: inset 0 0 0 1.5px #b8873f, 0 8px 20px -8px #7a3f45aa; }

/* phones: the switch is a round night-mode button (dark circle, fennec, a little crescent moon) */
@media (max-width: 960px) {
  .style-switch { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a2d6b, #241a3f 70%); box-shadow: 0 0 0 1.5px #b8873f66, 0 6px 16px -6px #2d215088; }
  .style-switch img { width: 24px; height: 24px; border-radius: 7px; }
  .style-switch::after { content: ""; position: absolute; right: 4px; top: 4px; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset -2.5px -1.5px 0 0 #f7dca3; transform: rotate(-20deg); }
}
@media (max-width: 960px) { .style-switch { width: 32px; height: 32px; } .style-switch img { width: 18px; height: 18px; border-radius: 5px; } .style-switch::after { right: 2px; top: 2px; transform: scale(.8); } }
/* phones: the switch looks like its neighbour, the Discord button (same size, quiet, fits the white header) */
@media (max-width: 960px) {
  .style-switch { width: 40px; height: 40px; border-radius: 9px; background: none; box-shadow: none; }
  .style-switch:hover { background: var(--bg-alt); box-shadow: none; transform: none; }
  .style-switch img { width: 22px; height: 22px; border-radius: 6px; }
  .style-switch::after { right: 6px; top: 6px; transform: none; box-shadow: inset -2.5px -1.5px 0 0 var(--accent); }
}

/* the switch shows a theme icon (moon to go dark, sun to go light), not a second fennec */
.style-switch .sw-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.style-switch:hover .sw-ico { transform: rotate(-18deg); }
.style-switch.go .sw-ico { animation: sw-hop .55s cubic-bezier(.3,1.5,.5,1); }
.style-switch { padding-left: 12px; }
.style-switch::after { display: none !important; }
@media (max-width: 960px) { .style-switch { padding: 0; } }
/* typeable demo terminal */
.wterm .tin { width: 60%; min-width: 120px; background: none; border: 0; outline: 0; padding: 0; color: #fff; font: inherit; caret-color: var(--sand); }
.style-switch .sw-ico { color: #5634c4; }

/* privacy table: group rows, and the on-use connections behind a disclosure */
.manifest .group th { font-size: .9rem; font-weight: 650; color: var(--ink); background: var(--bg-alt); }
.more-rows { margin-top: 14px; }
.more-rows > summary { cursor: pointer; padding: 14px 18px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 620; color: var(--accent-2); }
.more-rows > summary:hover { box-shadow: 0 0 0 1px var(--accent); }
.more-rows[open] > summary { margin-bottom: 14px; }
.manifest .when { white-space: normal; min-width: 9em; max-width: 15em; }
/* phones: each privacy row is a small stacked card instead of a sideways-scrolling table */
@media (max-width: 680px) {
  .manifest { min-width: 0; }
  .manifest, .manifest tbody, .manifest tr, .manifest td, .manifest th { display: block; width: auto; }
  .manifest thead { display: none; }
  .manifest tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .manifest tbody tr:last-child { border-bottom: 0; }
  .manifest td, .manifest th { padding: 0; border: 0; }
  .manifest td + td { margin-top: 6px; }
  .manifest .when { max-width: none; font-size: .88rem; }
  .manifest .group { background: var(--bg-alt); }
  .manifest .group th { background: none; }
  .manifest .nil { background: var(--ok-soft); }
  .manifest .nil td { background: none; }
}

/* donation progress (js/goal.js) */
.goal { width: min(440px, 100%); margin-top: 30px; padding: 16px 18px; border-radius: 12px; background: #ffffff14; box-shadow: inset 0 0 0 1px #ffffff2e; text-align: left; }
.final .goal p { margin: 0; max-width: none; font-size: .95rem; color: #fff; }
.final .goal .goal-next { color: #ece6ff; margin-top: 8px; }
.goal-bar { height: 8px; margin-top: 10px; border-radius: 99px; background: #ffffff26; overflow: hidden; }
.goal-bar i { display: block; height: 100%; background: #fff; border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1s ease; }
.goal-link { display: inline-block; margin-top: 12px; font-size: .95rem; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .goal-bar i { transition: none; } }
