/* frostyh.com, black and white (preview 2026-12-01). One stylesheet for every page of the preview.
   Built after the structure of zerobot.eu (home v8): a quiet bar, a big plain headline, rows of real pictures,
   short honest copy, one strong button. Pure black and white with greys; the only colour is the logo itself
   and the real screenshots. Soft text shadow on all text (owner default). Motion: the hero entrance, one
   reveal per section heading, and glides for everything that moves (nav marker, tabs, sheets, FAQ). */

@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/ClashDisplay-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/ClashDisplay-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Tabular"; src: url("/assets/fonts/Tabular-Variable.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg2: #f3f3f1;
  --bg3: #e9e9e6;
  --ink: #0b0b0b;
  --ink2: #3b3b3a;
  --ink3: #6b6b69;
  --line: rgba(11, 11, 11, .09);
  --dark: #0b0b0b;
  --dark2: #161616;
  --dark3: #222221;
  --on: #f5f5f3;
  --on2: #b9b9b5;
  --on3: #8a8a86;
  --ts: 0 1px 1px rgba(0, 0, 0, .05), 0 2px 14px rgba(0, 0, 0, .07);
  --ts-d: 0 1px 2px rgba(0, 0, 0, .55), 0 4px 22px rgba(0, 0, 0, .4);
  --display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Tabular", "Satoshi", system-ui, sans-serif;
  --e: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(18px, 4vw, 56px);
  --max: 1320px;
  --r: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; font-weight: 450; text-shadow: var(--ts); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: #0b0b0b; color: #fff; text-shadow: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; transition: top .2s var(--e); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); }

/* ------------------------------------------------------------ type */
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: 0; text-wrap: balance; margin: 0; color: var(--ink); }
.h1 { font-size: clamp(44px, 6.6vw, 112px); line-height: .98; }
.h2 { font-size: clamp(34px, 4vw, 64px); line-height: 1.02; }
.h3 { font-size: clamp(24px, 2.1vw, 34px); line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; color: var(--ink2); max-width: 36em; }
.t { color: var(--ink2); max-width: 34em; }
.small { font-size: 14px; color: var(--ink3); }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.kick { font-size: 15px; font-weight: 600; color: var(--ink3); margin: 0 0 16px; }
.dark .kick { color: var(--on3); }
code, .mono { font-family: "Tabular", ui-monospace, monospace; font-size: .9em; }

/* the one heading reveal per section: lines rise out of a mask (bw.js splits nothing, the markup holds .ln) */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; }
html.m .rv:not(.in) .ln > span { transform: translate3d(0, 104%, 0); }
html.m .rv .ln > span { transition: transform .9s var(--e); }
html.m .rv .ln:nth-child(2) > span { transition-delay: .07s; }
html.m .rv .ln:nth-child(3) > span { transition-delay: .14s; }

/* ------------------------------------------------------------ buttons and links */
.btn { --h: 52px; display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 6px 0 20px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; text-shadow: none; border: 0; cursor: pointer; transition: background-color .25s var(--e); white-space: nowrap; }
.btn:hover { background: #2a2a29; }
.btn:active { background: #3a3a39; }
.btn .ar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--ink); flex: none; }
.btn .ar svg { width: 16px; height: 16px; transition: transform .5s var(--e); }
.btn:hover .ar svg { transform: rotate(-45deg); }
.btn.q { background: var(--bg3); color: var(--ink); padding: 0 20px; }
.btn.q:hover { background: #dededa; }
.btn.w { background: #fff; color: var(--ink); }
.btn.w:hover { background: #ececea; }
.btn.w .ar { background: var(--ink); color: #fff; }
.dark .btn.q { background: var(--dark3); color: var(--on); }
.dark .btn.q:hover { background: #2e2e2d; }
.roll { display: block; height: 24px; line-height: 24px; overflow: hidden; }
.roll > span { display: block; transition: transform .5s var(--e); }
.roll > span::after { content: attr(data-t); display: block; }
.btn:hover .roll > span, .go:hover .roll > span { transform: translateY(-50%); }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 6px 0; }
.go svg { width: 16px; height: 16px; transition: transform .45s var(--e); }
.go:hover svg { transform: translateX(3px); }
.go.ext:hover svg { transform: rotate(-45deg); }
.dark .go { color: var(--on); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.tl { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(11, 11, 11, .3); transition: text-decoration-color .2s; }
.tl:hover { text-decoration-color: currentColor; }
.dark .tl { text-decoration-color: rgba(245, 245, 243, .35); }

/* ------------------------------------------------------------ the bar */
.bar { position: fixed; z-index: 50; left: 0; right: 0; top: calc(10px + env(safe-area-inset-top, 0px)); pointer-events: none; }
.bar-in { pointer-events: auto; display: flex; align-items: center; gap: 18px; height: 60px; max-width: calc(var(--max) + 24px); margin: 0 auto; padding: 0 8px 0 14px; border-radius: 16px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); transition: box-shadow .35s var(--e), background-color .35s var(--e); }
@media (max-width: 1367px) { .bar-in { margin-inline: 12px; } }
.bar.up .bar-in { box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 10px 34px rgba(0, 0, 0, .1); background: rgba(255, 255, 255, .92); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--ink); }
.mark img { width: 30px; height: 30px; border-radius: 8px; }
.nav { position: relative; display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; z-index: 1; padding: 9px 13px; border-radius: 10px; text-decoration: none; font-weight: 550; font-size: 15px; color: var(--ink2); transition: color .2s var(--e); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .ind { position: absolute; z-index: 0; left: 0; top: 0; height: 100%; width: 0; border-radius: 10px; background: var(--bg2); opacity: 0; transition: transform .22s var(--e), width .22s var(--e), opacity .2s var(--e); pointer-events: none; }
.bar .btn { --h: 44px; font-size: 15px; padding-left: 16px; gap: 10px; }
.bar .btn .ar { width: 34px; height: 34px; border-radius: 9px; }
.menu-b { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--bg2); cursor: pointer; place-items: center; }
.menu-b i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .3s var(--e), background-color .2s; }
.menu-b i::before, .menu-b i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--e); }
.menu-b i::before { top: -6px; } .menu-b i::after { top: 6px; }
.bar.open .menu-b i { background: transparent; }
.bar.open .menu-b i::before { transform: translateY(6px) rotate(45deg); }
.bar.open .menu-b i::after { transform: translateY(-6px) rotate(-45deg); }
.sheet { pointer-events: auto; position: absolute; left: 12px; right: 12px; top: 68px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .16); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s var(--e), transform .3s var(--e), visibility 0s .3s; }
.bar.open .sheet { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--e), transform .3s var(--e), visibility 0s; }
.sheet a { display: block; padding: 14px 14px; border-radius: 12px; text-decoration: none; font-family: var(--display); font-size: 26px; font-weight: 500; }
.sheet a:hover { background: var(--bg2); }
.sheet .btn { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--body); font-size: 16px; padding: 0 6px 0 18px; }
@media (max-width: 900px) {
  .nav, .bar-in > .btn { display: none; }
  .menu-b { display: grid; }
}

/* ------------------------------------------------------------ sections */
.sec { position: relative; padding-block: clamp(72px, 9vw, 150px); }
.g1 { background: var(--bg); }
.g2 { background: var(--bg2); }
.dark { background: var(--dark); color: var(--on); text-shadow: var(--ts-d); }
.dark h1, .dark h2, .dark h3 { color: var(--on); }
.dark .t, .dark .lede { color: var(--on2); }
.dark .small { color: var(--on3); }
.head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 72px); }
.head .t, .head .lede { margin-top: 18px; }
.head .go { margin-top: 18px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.split-head .t { justify-self: end; }
@media (max-width: 820px) { .split-head { grid-template-columns: 1fr; } .split-head .t { justify-self: start; } }

/* a framed real picture: outer 20, padding 8, inner 12 (nested radius rule) */
.pic { position: relative; display: block; margin: 0; padding: 8px; border-radius: var(--r); background: var(--bg2); overflow: hidden; }
.g2 .pic { background: #fff; }
.dark .pic { background: var(--dark2); }
.pic img { width: 100%; height: auto; border-radius: 12px; background: var(--bg3); transition: transform .8s var(--e); }
.dark .pic img { background: var(--dark3); }
a.pic:hover img { transform: scale(1.015); }
.pic figcaption, .cap { margin: 12px 4px 2px; font-size: 14px; color: var(--ink3); text-shadow: none; }
.dark .pic figcaption, .dark .cap { color: var(--on3); }
.pic.tall img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

/* ------------------------------------------------------------ rows (zerobot.eu v8): copy beside a real picture */
.rows { display: grid; gap: clamp(72px, 9vw, 150px); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .row-c { order: 2; }
.row-c .h2 { font-size: clamp(32px, 3.4vw, 54px); }
.row-c .t { margin-top: 18px; }
.row-c .links { margin-top: 22px; }
.row-c .tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 8px; background: var(--bg3); font-size: 13px; font-weight: 600; color: var(--ink2); text-shadow: none; }
.g2 .row-c .tag { background: #fff; }
@media (max-width: 860px) {
  .row, .row.flip { grid-template-columns: 1fr; }
  .row.flip .row-c { order: 0; }
}
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.covers img { aspect-ratio: 2 / 1; object-fit: cover; }

/* ------------------------------------------------------------ home hero: the top of the 2026-11-26 home (hero v7), in black and white.
   The giant FROSTYH word across the screen, the F tile (the logo, the one colour) in front of it and woven through it,
   his work floating around at different depths in greyscale, a two-tone line and two buttons at the bottom. */
.h7 { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
.h7-stage { position: absolute; inset: 0; }
.h7-word { position: absolute; z-index: 2; left: 50%; top: 47%; transform: translate(-50%, -50%); margin: 0; font-family: var(--display); font-weight: 600; font-size: var(--wfs, 22vw); line-height: .9; letter-spacing: 0; color: var(--ink); white-space: nowrap; pointer-events: none; user-select: none; text-shadow: 0 2px 2px rgba(0, 0, 0, .06), 0 8px 28px rgba(0, 0, 0, .09); }
.h7-word .ln { display: block; overflow: hidden; padding: .2em .12em; margin: -.2em -.12em; }
.h7-word .ln > span { display: block; }
.h7-word.front { z-index: 4; clip-path: inset(50% 57% 0 33%); text-shadow: none; }
.h7-tile { position: absolute; z-index: 3; left: 50%; top: 48%; width: min(27vw, 48vh); height: auto; transform: translate(-50%, -50%) translate3d(var(--px, 0px), var(--py, 0px), 0); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); will-change: transform; pointer-events: none; }
.ob { position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); height: auto; transform: translate(-50%, -50%) translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--r, 0deg)); filter: grayscale(1) contrast(1.05) drop-shadow(0 18px 22px rgba(0, 0, 0, .22)); will-change: transform; pointer-events: none; user-select: none; }
.h7-word ~ .ob { z-index: 5; }
.ob.fg { z-index: 7; filter: grayscale(1) blur(var(--b, 10px)); opacity: .9; }
.h7-copy { position: absolute; z-index: 8; left: 0; right: 0; bottom: clamp(52px, 9vh, 96px); display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 0 22px; }
.h7-sub { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; color: var(--ink); }
.h7-sub span { color: var(--ink3); }
.h7-scroll { position: absolute; z-index: 8; right: var(--pad); bottom: clamp(20px, 3.4vh, 34px); display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ink3); }
.h7-scroll i { position: relative; width: 1px; height: 34px; background: var(--line); overflow: hidden; }
.h7-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: h7s 2.4s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes h7s { to { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .h7-scroll i::after { animation: none; top: 30%; } }
html.m .h7 .ent { opacity: 0; }
@media (max-aspect-ratio: 1/1) {
  .h7-word { top: 34%; }
  .h7-word.front { display: none; }
  .h7-tile { top: 47%; width: min(50vw, 30vh); }
  .ob { left: var(--mx, var(--x)); top: var(--my, var(--y)); width: var(--mw, var(--w)); }
  .ob.desk { display: none; }
  .h7-copy { bottom: clamp(64px, 10vh, 110px); gap: 16px; }
  .h7-sub { font-size: clamp(18px, 5vw, 22px); max-width: 20ch; }
  .h7-scroll { right: 50%; transform: translateX(50%); bottom: 18px; }
}
@media (max-height: 520px) and (min-aspect-ratio: 1/1) {
  .ob.fg { display: none; }
  .h7-copy { bottom: 16px; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
  .h7-sub { font-size: 16px; }
  .h7-scroll { display: none; }
}
/* ------------------------------------------------------------ page head (sub pages) */
.ph { padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 6vw, 96px); }
.ph-top { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(26px, 4vw, 48px); }
.ph-top img { width: 52px; height: 52px; }
.ph-top .kick { margin: 0; }
.ph-top b { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.1; }
.ph .h1 { max-width: 13em; }
.ph-bot { display: grid; grid-template-columns: minmax(0, 36rem) auto; gap: 24px 48px; align-items: end; margin-top: clamp(22px, 3vw, 36px); }
@media (max-width: 860px) { .ph-bot { grid-template-columns: 1fr; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; list-style: none; }
.facts li { display: grid; gap: 2px; }
.facts b { font-family: var(--num); font-weight: 600; font-size: 22px; color: var(--ink); }
.facts span { font-size: 14px; color: var(--ink3); }
.dark .facts b { color: var(--on); }
.shot { margin-top: clamp(36px, 5vw, 72px); }

/* ------------------------------------------------------------ apps rail (dark band on the home page) */
.rail-wrap { position: relative; }
.rail { list-style: none; margin: 0; padding: 4px var(--pad) 8px; display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail > li { flex: 0 0 clamp(280px, 30vw, 430px); scroll-snap-align: start; }
@media (min-width: 1440px) { .rail { padding-inline: calc((100vw - var(--max)) / 2); scroll-padding-inline: calc((100vw - var(--max)) / 2); } }
.app { display: flex; flex-direction: column; height: 100%; padding: 8px 8px 22px; border-radius: var(--r); background: var(--dark2); text-decoration: none; color: var(--on); transition: background-color .3s var(--e); }
.app:hover { background: #1c1c1b; }
.app img.s { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 12px; background: var(--dark3); }
.app-h { display: flex; align-items: center; gap: 12px; margin: 18px 12px 8px; }
.app-h img { width: 36px; height: 36px; }
.app-h b { font-family: var(--display); font-weight: 500; font-size: 24px; }
.app p { margin: 0 12px; color: var(--on2); font-size: 15px; }
.app .v { margin: auto 12px 0; padding-top: 16px; font-size: 13px; color: var(--on3); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--dark3); color: var(--on); cursor: pointer; display: grid; place-items: center; transition: background-color .2s var(--e), opacity .2s; }
.rail-nav button:hover { background: #333331; }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail-nav svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ the "new" list */
.nl { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 88px); }
.nl-h { position: sticky; top: 120px; align-self: start; }
.nl ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nl li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--bg); }
.nl li img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; background: var(--bg3); }
.nl h3 { font-size: 22px; }
.nl .when { font-size: 13px; font-weight: 600; color: var(--ink3); margin-bottom: 4px; }
.nl p.t { font-size: 15px; margin-top: 4px; }
@media (max-width: 860px) {
  .nl { grid-template-columns: 1fr; }
  .nl-h { position: static; }
  .nl li { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ two cards (setup, merch) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { display: flex; flex-direction: column; padding: 8px 8px 28px; border-radius: var(--r); background: var(--bg2); text-decoration: none; color: var(--ink); transition: background-color .3s var(--e); }
.g2 .card { background: #fff; }
.card:hover { background: var(--bg3); }
.g2 .card:hover { background: #fafaf8; }
.card .im { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg3); }
.card .im img, .card .im svg { width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin: 22px 16px 8px; font-size: clamp(24px, 2vw, 32px); }
.card p { margin: 0 16px; color: var(--ink2); }
.card .go { margin: 14px 16px 0; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ grids */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid, .grid.two, .grid.four { grid-template-columns: 1fr; } }
.box { padding: 26px 26px 28px; border-radius: var(--r); background: var(--bg2); }
.g2 .box { background: #fff; }
.dark .box { background: var(--dark2); }
.box h3 { font-size: 22px; margin-bottom: 8px; }
.box p { color: var(--ink2); font-size: 15.5px; }
.dark .box p { color: var(--on2); }
.box ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink2); font-size: 15.5px; }
.box li + li { margin-top: 4px; }

/* bullets inside rows */
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; color: var(--ink2); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translateY(-50%); }
.dark .ticks { color: var(--on2); }
.dark .ticks li::before { border-color: var(--on); }

/* ------------------------------------------------------------ download box */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
.dl .box { display: flex; flex-direction: column; gap: 14px; }
.file { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 14px; background: var(--dark3); text-decoration: none; color: var(--on); text-shadow: none; transition: background-color .2s var(--e); }
.file:hover { background: #2c2c2b; }
.file b { font-weight: 600; word-break: break-all; }
.file span { color: var(--on3); font-size: 14px; font-family: var(--num); }
.sha { font-family: "Tabular", ui-monospace, monospace; font-size: 12.5px; color: var(--on3); word-break: break-all; text-shadow: none; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; font-size: 15px; }
.spec dt { color: var(--on3); }
.spec dd { margin: 0; color: var(--on2); }
.g1 .spec dt, .g2 .spec dt { color: var(--ink3); }
.g1 .spec dd, .g2 .spec dd { color: var(--ink2); }

/* ------------------------------------------------------------ FAQ (height glides, bw.js) */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 88px); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.qa { display: grid; gap: 8px; }
.qa details { border-radius: 16px; background: var(--bg2); overflow: hidden; }
.g2 .qa details { background: #fff; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; position: relative; width: 14px; height: 14px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--e); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0deg); }
.qa .a { padding: 0 22px 22px; color: var(--ink2); }
.qa .a p + p { margin-top: 10px; }

/* ------------------------------------------------------------ changelog */
.log { display: grid; gap: 14px; }
.log article { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px 32px; padding: 24px 26px; border-radius: var(--r); background: var(--bg2); }
.log h3 { font-family: var(--num); font-size: 22px; font-weight: 600; }
.log time { display: block; font-size: 14px; color: var(--ink3); margin-top: 4px; }
.log ul { margin: 0; padding-left: 1.1em; color: var(--ink2); }
.log li + li { margin-top: 6px; }
@media (max-width: 700px) { .log article { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ tabs with a gliding marker (plugins, merch, setup) */
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 14px; background: var(--bg2); margin-bottom: 28px; }
.g2 .tabs { background: #fff; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 15px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink3); cursor: pointer; transition: color .2s var(--e); text-shadow: none; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs .mk { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 10px; background: var(--ink); transition: transform .22s var(--e), width .22s var(--e), height .22s var(--e); }
.tabs button .n { font-family: var(--num); font-weight: 500; opacity: .6; margin-left: 4px; }

/* plugins */
.pl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; transition: opacity .16s var(--e); }
.pl.fade { opacity: 0; }
@media (max-width: 1000px) { .pl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pl { grid-template-columns: 1fr; } }
.plc { display: flex; flex-direction: column; padding: 8px 8px 22px; border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink); transition: background-color .25s var(--e); }
.plc:hover { background: #fafaf8; }
.plc img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; background: var(--bg3); }
.plc .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 16px 12px 6px; }
.plc b { font-family: var(--display); font-weight: 500; font-size: 22px; }
.plc .st { font-size: 13px; font-weight: 600; color: var(--ink3); white-space: nowrap; }
.plc p { margin: 0 12px; font-size: 15px; color: var(--ink2); }
.plc[hidden] { display: none; }

/* ------------------------------------------------------------ setup */
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kit { grid-template-columns: 1fr; } }
.it { display: flex; flex-direction: column; padding: 8px 8px 22px; border-radius: var(--r); background: var(--bg2); }
.it .im { aspect-ratio: 4 / 3; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.it .im img { width: 100%; height: 100%; object-fit: contain; }
.it .im .txt { font-family: var(--display); font-size: 44px; font-weight: 500; color: var(--ink); }
.it .k { margin: 18px 12px 2px; font-size: 13px; font-weight: 600; color: var(--ink3); }
.it h3 { margin: 0 12px 8px; font-size: 21px; line-height: 1.2; }
.it p { margin: 0 12px; font-size: 15px; color: var(--ink2); }
.it .buy { margin: auto 12px 0; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.it .buy .go { font-size: 15px; }
.it .aff { font-size: 12px; color: var(--ink3); }
.pc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.pc div { padding: 18px 20px; border-radius: 16px; background: var(--bg2); }
.pc span { display: block; font-size: 13px; color: var(--ink3); font-weight: 600; }
.pc b { display: block; font-weight: 600; margin-top: 2px; }
.pc small { color: var(--ink3); font-size: 13.5px; }
@media (max-width: 760px) { .pc { grid-template-columns: 1fr 1fr; } }
.note { margin-top: 28px; font-size: 14px; color: var(--ink3); max-width: 46em; }

/* ------------------------------------------------------------ merch */
.mx { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .mx { grid-template-columns: 1fr; } }
.mx-stage { position: relative; aspect-ratio: 1 / 1; max-height: 78vh; width: 100%; margin-inline: auto; border-radius: var(--r); background: var(--bg2); overflow: hidden; }
.g2 .mx-stage { background: #fff; }
.mx-stage img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; transition: opacity .35s var(--e); }
.mx-stage img.out { opacity: 0; }
.mx-stage .lbl { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 600; color: var(--ink3); text-shadow: none; }
.sw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sw button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 8px 14px 8px 8px; border-radius: 12px; background: var(--bg2); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink2); transition: background-color .2s var(--e), color .2s var(--e); text-shadow: none; }
.g2 .sw button { background: #fff; }
.sw button i { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sw button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ice-tee { position: absolute; inset: 7%; width: 86%; height: 86%; }

/* ------------------------------------------------------------ contact */
.cta { text-align: left; }
.cta .h1 { font-size: clamp(48px, 8vw, 132px); }
.cta .lede { margin-top: 22px; }
.cta .acts { margin-top: 32px; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }
.way { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r); background: var(--bg2); text-decoration: none; color: var(--ink); transition: background-color .25s var(--e); }
.way:hover { background: var(--bg3); }
.way b { font-family: var(--display); font-weight: 500; font-size: 26px; }
.way span { color: var(--ink2); }
.way .go { margin-top: auto; padding-top: 14px; }

/* ------------------------------------------------------------ footer */
.ft { background: var(--dark); color: var(--on); text-shadow: var(--ts-d); padding: clamp(64px, 8vw, 120px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.ft-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.ft-top p { color: var(--on2); max-width: 24em; margin-top: 14px; }
.ft-mail { display: inline-block; margin-top: 22px; font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 36px); color: var(--on); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--e); }
.ft-mail:hover { background-size: 100% 1px; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ft-cols h2 { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--on3); margin-bottom: 12px; }
.ft-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-cols a { color: var(--on2); text-decoration: none; transition: color .2s; }
.ft-cols a:hover { color: var(--on); }
.ft-word { margin-top: clamp(56px, 8vw, 110px); font-family: var(--display); font-weight: 600; font-size: 19.4vw; line-height: .78; color: var(--on); white-space: nowrap; letter-spacing: 0; user-select: none; margin-left: -.04em; }
@media (min-width: 1500px) { .ft-word { font-size: 290px; } }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 32px; font-size: 13.5px; color: var(--on3); }
.ft-bot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ft-bot a { color: var(--on3); text-decoration: none; }
.ft-bot a:hover { color: var(--on); }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr; } .ft-cols { grid-template-columns: 1fr 1fr; } }

/* preview strip, so nobody mistakes the preview for the live site */
.pv { position: fixed; z-index: 60; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 8px 12px; border-radius: 10px; background: #4a4a48; color: #fff; font-size: 12.5px; font-weight: 600; text-shadow: none; text-decoration: none; opacity: .9; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
