/* Zed Mods web design system — cinematic streaming
   Direction: a dark cinema room lit by real posters and one violet house light.
   Poster artwork leads; chrome recedes. No gradient text, no emoji, no glow. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-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;
}

:root {
  --bg: #0A0A10;
  --bg-2: #0D0D15;
  --surface: #14141D;
  --surface-2: #1B1B26;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --txt: #F4F4F8;
  --muted: #A5A5B8;
  --dim: #7E7E93;
  --brand: #A69AF2;
  --brand-soft: rgba(166, 154, 242, .12);
  --action: #6654C0;
  --action-hi: #7565D4;
  --ok: #57D9A3;
  --warn: #F4B860;
  --err: #F79AA6;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --font: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --shell: 1200px;
  --pad: 18px;
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, .9);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: #C4BCF7; }
p { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px; padding-left: 1.15em; }
li { margin: 0 0 6px; }
li::marker { color: var(--dim); }
b, strong { font-weight: 650; color: var(--txt); }
code, kbd, samp { font-family: var(--mono); font-size: .88em; background: #101018; border: 1px solid var(--line); border-radius: 7px; padding: 2px 7px; color: var(--txt); }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
::selection { background: rgba(166, 154, 242, .3); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 14px; color: var(--txt);
  font-size: 13.5px; font-weight: 600; transition: top .15s ease;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0 0 .4em; font-weight: 700; line-height: 1.14; letter-spacing: -.018em; color: var(--txt); }
h1 { font-size: clamp(30px, 5.2vw, 52px); font-weight: 750; letter-spacing: -.03em; }
h2 { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -.022em; }
h3 { font-size: clamp(19px, 2.2vw, 22px); letter-spacing: -.012em; }
h4 { font-size: 15px; letter-spacing: 0; }
.lead { font-size: clamp(15.5px, 1.9vw, 18px); color: var(--muted); line-height: 1.62; }
.muted { color: var(--muted); }
.dim { color: var(--dim); font-size: 13px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--brand); margin: 0 0 12px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.plain::before { display: none; }
.display { font-weight: 800; letter-spacing: -.035em; }

/* ---------- layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }
.read { max-width: 780px; }
.page { padding: 34px 0 20px; }
.page-head { margin: 0 0 30px; max-width: 760px; }
.page-head h1 { margin-bottom: 10px; }
.sec { margin: 0 0 46px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; }
.sec-head h2 { margin: 0; }
.sec-head .more { margin-left: auto; font-size: 13px; font-weight: 650; white-space: nowrap; }
.stack > * + * { margin-top: 14px; }
.hairline { height: 1px; background: var(--line); border: 0; margin: 40px 0; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 16, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--txt); font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand:hover { color: var(--txt); }
.brand-logo {
  width: 32px; height: 32px; border-radius: 8px; display: block; flex: 0 0 auto;
  object-fit: cover;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: url('/assets/logo-zed.png?v=20261017') center/cover no-repeat;
  color: transparent; font-size: 0; display: inline-block; flex: 0 0 auto; overflow: hidden;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav a {
  color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 8px 11px; border-radius: 9px;
  position: relative;
}
.nav a:hover { color: var(--txt); background: rgba(255, 255, 255, .045); }
.nav a.on { color: var(--txt); }
.nav a.on::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-cta .btn { min-height: 38px; padding: 9px 15px; font-size: 13.5px; }
.subnav { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .subnav {
    display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--pad) 11px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a {
    flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--muted);
    border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 13px;
  }
  .subnav a.on { color: #fff; background: var(--brand-soft); border-color: rgba(166, 154, 242, .5); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 11px 19px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: var(--action); color: #fff; font: inherit; font-size: 14.5px; font-weight: 650;
  letter-spacing: .005em; cursor: pointer; text-align: center; text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, transform .12s ease, color .16s ease;
}
.btn:hover { background: var(--action-hi); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--txt); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--muted); }
.btn.quiet:hover { background: rgba(255, 255, 255, .05); color: var(--txt); }
.btn.lg { min-height: 50px; padding: 13px 24px; font-size: 15.5px; border-radius: 12px; }
.btn.sm { min-height: 38px; padding: 8px 14px; font-size: 13.5px; }
.btn.block { display: flex; width: 100%; }
.btn .ic { width: 17px; height: 17px; flex: 0 0 auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }

/* ---------- tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2);
  border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; color: var(--muted); text-transform: uppercase; white-space: nowrap;
}
.tag.live { color: var(--ok); border-color: rgba(87, 217, 163, .4); }
.tag.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.soon { color: var(--warn); border-color: rgba(244, 184, 96, .38); }
.tag.hot { color: var(--err); border-color: rgba(247, 154, 166, .36); text-transform: none; letter-spacing: .01em; }
.tag.flat { text-transform: none; letter-spacing: .01em; font-weight: 600; color: var(--muted); }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: -8% -4%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; opacity: .3; filter: blur(52px) saturate(130%); pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 16, .55) 0%, rgba(10, 10, 16, .82) 55%, var(--bg) 100%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 62px 0 54px; }
.hero h1 { margin: 0 0 14px; max-width: 17ch; }
.hero .lead { max-width: 52ch; margin-bottom: 22px; }
.hero-poster { width: 216px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--surface); }
.hero-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.hero-poster .cap { padding: 10px 12px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.hero-poster .cap b { display: block; font-size: 13.5px; color: var(--txt); margin-bottom: 2px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.trust .ic { width: 16px; height: 16px; color: var(--brand); flex: 0 0 auto; }

@media (max-width: 780px) {
  .hero-in { grid-template-columns: 1fr; padding: 40px 0 34px; gap: 26px; }
  .hero-poster { width: 172px; }
  .hero h1 { max-width: none; }
}

/* ---------- posters ---------- */
.grid-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 16px 14px; }
@media (min-width: 1000px) { .grid-posters { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); } }
@media (max-width: 560px) {
  .grid-posters { grid-template-columns: repeat(auto-fill, minmax(106px, 1fr)); gap: 14px 10px; }
  .grid-posters .poster b { font-size: 12.5px; }
  .grid-posters .poster small { font-size: 10.5px; }
}

.poster { display: block; color: inherit; min-width: 0; }
.poster:hover { color: inherit; }
.poster .art {
  position: relative; border-radius: var(--r-sm); overflow: hidden; background: #191924;
  border: 1px solid var(--line); aspect-ratio: 2/3;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.poster .art img { width: 100%; height: 100%; object-fit: cover; }
.poster:hover .art { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.poster .art .badge { position: absolute; top: 8px; left: 8px; z-index: 2; }
.poster .art .badge.right { left: auto; right: 8px; }
.poster .art .dur {
  position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(6, 6, 10, .78);
  border-radius: 6px; padding: 2px 7px; font-size: 10.5px; font-weight: 650; color: var(--txt);
}
.poster .art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 6, 10, .5)); opacity: 0; transition: opacity .18s ease; }
.poster:hover .art::after { opacity: 1; }
.poster b { display: block; margin: 9px 0 2px; font-size: 13.5px; font-weight: 650; line-height: 1.32; letter-spacing: -.008em; color: var(--txt); }
.poster small { display: block; color: var(--dim); font-size: 11.5px; font-weight: 500; }
.poster.plain .art { border-radius: var(--r-sm); }

/* rail */
.rail { position: relative; }
.rail-strip {
  display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px;
  scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%);
}
.rail-strip::-webkit-scrollbar { display: none; }
.rail-strip .poster { flex: 0 0 152px; width: 152px; scroll-snap-align: start; }
@media (min-width: 1000px) { .rail-strip .poster { flex-basis: 168px; width: 168px; } }
@media (max-width: 560px) { .rail-strip .poster { flex-basis: 132px; width: 132px; } }

.skel-card { flex: 0 0 152px; }
.skel-card .art { border-radius: var(--r-sm); background: linear-gradient(100deg, #14141D 20%, #1D1D29 50%, #14141D 80%); background-size: 220% 100%; animation: sk 1.3s ease-in-out infinite; aspect-ratio: 2/3; }
.skel-card b { display: block; height: 11px; width: 80%; margin: 11px 0 6px; border-radius: 5px; background: #1D1D29; }
.skel-card small { display: block; height: 9px; width: 45%; border-radius: 5px; background: #17171f; }
@keyframes sk { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px;
}
.card + .card { margin-top: 14px; }
.card h2 { font-size: 23px; margin-bottom: 8px; letter-spacing: -.015em; }
.card h3 { font-size: 18px; margin: 14px 0 6px; }
.card > :last-child { margin-bottom: 0; }
.card .lead { font-size: 14.5px; }
.card.tight { padding: 16px 18px; }
.card.flat { background: transparent; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid .card { margin: 0; }

/* app / mod card */
.app { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.app .glyph {
  width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--brand);
}
.app .glyph .ic { width: 22px; height: 22px; }
.app h3 { margin: 1px 0 4px; font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app .tagline { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.app p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.app .btn-row { margin-top: 2px; }

/* step / method */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { position: relative; padding: 0 0 18px 44px; margin: 0; }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--txt);
  display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700;
}
.steps > li::after { content: ''; position: absolute; left: 14px; top: 33px; bottom: 4px; width: 1px; background: var(--line); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps > li > b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.steps > li > p, .steps > li > div { color: var(--muted); font-size: 13.5px; margin: 0; }
.steps.plain > li::before { border-radius: 8px; }

/* ---------- callouts ---------- */
.note {
  border: 1px solid rgba(166, 154, 242, .28);
  background: var(--brand-soft); border-radius: var(--r-sm); padding: 14px 16px;
  color: var(--muted); font-size: 13.5px; line-height: 1.6;
}
.note b { color: var(--txt); }
.note + .note { margin-top: 10px; }
.note.warn { border-color: rgba(244, 184, 96, .32); background: rgba(244, 184, 96, .08); }
.note.quiet { border-color: var(--line); background: transparent; }
.note .ic { width: 16px; height: 16px; vertical-align: -3px; color: var(--brand); margin-right: 4px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); padding-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 30px 16px 0; position: relative;
  font-size: 15px; font-weight: 650; color: var(--txt);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 22px; width: 9px; height: 9px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); top: 26px; }
.faq .a { padding: 0 0 18px; color: var(--muted); font-size: 14px; max-width: 70ch; }
.faq .a :last-child { margin-bottom: 0; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); padding: 0 12px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
table.data td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
table.data td:first-child, table.data th:first-child { padding-left: 0; }
table.data td:last-child, table.data th:last-child { padding-right: 0; }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--txt); font-weight: 650; }
table.data .name { color: var(--txt); font-weight: 650; }
table.data .sub { display: block; font-size: 12px; color: var(--dim); font-weight: 500; margin-top: 2px; }
table.data tr.hi td { background: rgba(166, 154, 242, .06); }
table.data tr.hi td:first-child { box-shadow: inset 2px 0 0 var(--brand); }

/* ---------- plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 12px; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; display: flex; flex-direction: column; gap: 4px; min-height: 150px;
}
.plan .label { font-size: 14.5px; font-weight: 650; color: var(--txt); }
.plan .days { font-size: 12.5px; color: var(--dim); }
.plan .price { margin-top: auto; font-size: 24px; font-weight: 750; letter-spacing: -.03em; color: var(--txt); }
.plan .price small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 3px; }
.plan .tag { align-self: flex-start; margin-bottom: 6px; }
.plan.hi { border-color: rgba(166, 154, 242, .5); background: linear-gradient(180deg, rgba(166, 154, 242, .08), rgba(166, 154, 242, 0) 60%), var(--surface); }
.plan.hi::after { content: var(--badge, 'Most popular'); position: absolute; top: -10px; right: 14px; background: var(--action); color: #fff; font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.plan .was { color: var(--dim); font-weight: 600; font-size: 14px; text-decoration: line-through; margin-right: 6px; }
.promo { border: 1px solid rgba(87, 217, 163, .35); background: rgba(87, 217, 163, .07); border-radius: var(--r-sm); padding: 12px 14px; color: var(--txt); font-size: 13.5px; }

/* ---------- forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 650; color: var(--muted); margin-bottom: 6px; letter-spacing: .01em; }
.input {
  width: 100%; background: #0E0E16; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--txt); font: inherit; font-size: 16px; padding: 13px 14px; outline: none;
}
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(166, 154, 242, .16); }
.input.mono { font-family: var(--mono); letter-spacing: .04em; }
.hint { font-size: 12.5px; color: var(--dim); line-height: 1.55; margin-top: 6px; }

/* ---------- section bands ---------- */
.band { border-top: 1px solid var(--line); border-radius: 0; margin-top: 48px; padding: 46px 0; }
.band .shell { display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { margin: 0 0 8px; }
.band p { color: var(--muted); margin: 0; max-width: 56ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 42px 0 34px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot h3, .foot h4 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 9px; }
.foot a { color: var(--muted); font-size: 13.5px; }
.foot a:hover { color: var(--txt); }
.foot .about p { color: var(--muted); font-size: 13px; max-width: 40ch; }
.foot .socs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.soc {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2);
  background: var(--surface); border-radius: var(--r-sm); padding: 9px 13px; color: var(--txt);
  font-size: 13px; font-weight: 600;
}
.soc:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .28); color: var(--txt); }
.soc .ic { width: 16px; height: 16px; color: var(--brand); }
.foot-base {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between;
  color: var(--dim); font-size: 12px;
}
.foot-base a { color: var(--dim); }
.foot-base a:hover { color: var(--muted); }

@media (max-width: 820px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot .about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- icons ---------- */
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic.solid { fill: currentColor; stroke: none; }

/* ---------- auth ---------- */
.auth { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 26px 18px; }
.auth-card {
  width: 100%; max-width: 430px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px 22px; box-shadow: var(--shadow);
}
.auth-mark {
  width: 46px; height: 46px; border-radius: 13px; background: var(--action); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 27px; font-weight: 800;
  letter-spacing: -.04em; margin-bottom: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .lead { font-size: 14px; margin-bottom: 20px; }
.err {
  border: 1px solid rgba(247, 154, 166, .4); background: rgba(247, 154, 166, .1); color: #FFD2D8;
  border-radius: var(--r-sm); padding: 12px 14px; font-size: 13.5px; line-height: 1.5; margin-top: 14px;
}
.auth-note { color: var(--dim); font-size: 12.5px; line-height: 1.6; margin-top: 16px; }
.auth-note a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); }
.auth-alt { display: block; text-align: center; color: var(--dim); font-size: 12.5px; margin-top: 16px; }
.auth-alt:hover { color: var(--muted); }

/* ---------- misc ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--muted); }
.crumbs span { color: var(--line-2); }
.code-line { display: inline-flex; align-items: center; gap: 10px; }
.detail { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: start; }
.detail .poster-art { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--surface); }
.detail .poster-art img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.detail h1 { margin-bottom: 10px; }
.detail .syn { color: var(--muted); font-size: 15px; max-width: 68ch; }
@media (max-width: 720px) {
  .detail { grid-template-columns: 132px minmax(0, 1fr); gap: 18px; }
  .detail h1 { font-size: clamp(24px, 7vw, 34px); }
}
@media (max-width: 480px) {
  .detail { grid-template-columns: 1fr; }
  .detail .poster-art { width: 148px; }
}
.detail-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.detail-bg { position: absolute; inset: -12% -6%; filter: blur(64px) saturate(140%); opacity: .32; pointer-events: none; }
.detail-bg img { width: 100%; height: 100%; object-fit: cover; }
.detail-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 16, .5), rgba(10, 10, 16, .86) 60%, var(--bg)); }
.detail-hero .shell { position: relative; padding-top: 42px; padding-bottom: 38px; }
.vj-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.vj-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; color: var(--txt); }
.vj-card:hover { border-color: var(--line-2); background: var(--surface-2); color: var(--txt); }
.vj-card b { display: block; font-size: 14.5px; font-weight: 650; }
.vj-card small { color: var(--dim); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; }
.chip:hover { color: var(--txt); border-color: var(--line-2); background: var(--surface-2); }

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