/* Lupine Games: the store. Lupine's identity (indigo, one ember accent, serif headings,
   mono labels, hairlines) carried into a dark, firelit room. Self-hosted fonts only. */
@font-face { font-family: "Schibsted Grotesk"; src: url(../fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0b0c10; --bg-2: #101217; --surface: #15171d; --surface-2: #1c1f26; --surface-3: #252830;
  --rule: #272a33; --rule-2: #3a3e49;
  --ink: #ece9e2; --ink-2: #bdbab2; --ink-3: #94949b;
  --brand: #aebbea; --brand-deep: #2b3a67; --brand-ink: #0b0c10;
  --ember: #ec8a51; --ember-2: #f3a571; --ember-deep: #3a2015; --ember-ink: #1a0d06;
  --ok: #8fd19e;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 6px; --radius-lg: 12px;
  --wrap: 1240px; --pad: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  background-image: radial-gradient(1200px 500px at 85% -10%, rgba(236, 138, 81, .07), transparent 60%),
                    radial-gradient(900px 600px at -10% 20%, rgba(43, 58, 103, .22), transparent 60%);
  background-attachment: fixed;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: #d3dbf6; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--ember); color: var(--ember-ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.label { font: 500 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ember); color: var(--ember-ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--ember-ink); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 16, .88); border-bottom: 1px solid var(--rule); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 5px; }
.brand-name { font-size: 1.05rem; white-space: nowrap; }
.brand-name span { color: var(--ember); }
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 12px; border-radius: var(--radius); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ember); border-radius: var(--radius) var(--radius) 0 0; }

.search { position: relative; margin-left: auto; width: min(320px, 100%); }
.search input {
  width: 100%; height: 40px; padding: 0 14px 0 38px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--rule-2);
  font: inherit; font-size: .95rem;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.search svg { position: absolute; left: 13px; top: 12px; width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.search-results { position: absolute; right: 0; left: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--radius-lg); padding: 6px; margin: 0; list-style: none; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); min-width: 280px; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--surface-3); }
.search-results img { width: 42px; height: 56px; object-fit: cover; border-radius: 4px; flex: none; }
.search-results .r-title { font-weight: 600; display: block; line-height: 1.3; }
.search-results .r-meta { font-size: .82rem; color: var(--ink-3); }
.search-results .empty { padding: 12px; color: var(--ink-3); font-size: .92rem; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ember); color: var(--ember-ink); }
.btn-primary:hover { background: var(--ember-2); color: var(--ember-ink); }
.btn-ghost { background: rgba(236, 233, 226, .08); color: var(--ink); border-color: rgba(236, 233, 226, .22); }
.btn-ghost:hover { background: rgba(236, 233, 226, .16); color: var(--ink); }
.btn-block { width: 100%; font-size: .96rem; padding: 0 16px; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--surface-3); color: var(--ink-2); border-color: var(--rule-2); cursor: not-allowed; }

/* ---------------------------------------------------------------- hero carousel */
.hero { padding-top: 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
.hero-grid > *, .product > * { min-width: 0; }
.hero-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8.2; background: var(--surface); min-height: 380px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.slide-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 12, .92) 0%, rgba(8, 9, 12, .62) 38%, rgba(8, 9, 12, 0) 70%), linear-gradient(0deg, rgba(8, 9, 12, .7), rgba(8, 9, 12, 0) 45%); }
.slide-body { position: absolute; z-index: 1; left: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); max-width: 440px; }
.slide-body .label { color: var(--ember-2); }
.slide-body .slide-title { color: var(--ink); font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: .2em; margin: 6px 0 10px; line-height: 1; }
.slide-body .slide-title.small { letter-spacing: 0; font-size: clamp(1.8rem, 4.4vw, 3rem); }
.slide-body p { color: var(--ink-2); font-size: 1.04rem; }
.slide-price { font-weight: 700; margin: 0 0 14px; color: var(--ink); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.art-lupine { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-side { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hero-tab { position: relative; display: flex; width: 100%; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-lg); background: transparent; border: 0; color: var(--ink-2); text-align: left; cursor: pointer; overflow: hidden; font: inherit; }
.hero-tab:hover { background: var(--surface-2); color: var(--ink); }
.hero-tab[aria-selected="true"] { background: var(--surface-2); color: var(--ink); }
.hero-tab img, .hero-tab .tab-art { width: 52px; height: 68px; border-radius: 6px; object-fit: cover; flex: none; }
.tab-art { background: radial-gradient(circle at 50% 30%, #3b4a7e, #141a2e 70%); display: grid; place-items: center; }
.tab-art img { width: 26px !important; height: 26px !important; border-radius: 4px !important; }
.hero-tab .t-title { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.hero-tab .t-sub { display: block; font-size: .8rem; color: var(--ink-3); }
.hero-tab .progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--ember); }
.hero-tab[aria-selected="true"] .progress { width: var(--p, 0%); }
.hero-controls { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 0 4px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--surface-3); }
.icon-btn svg { width: 16px; height: 16px; }
.hero-controls .label { font-size: .68rem; }

/* ---------------------------------------------------------------- rows + cards */
.section { padding-top: 48px; padding-bottom: 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.card { position: relative; display: block; color: var(--ink); text-decoration: none; }
.card:hover { color: var(--ink); }
.card-cover { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.card:hover .card-cover img, .card:focus-visible .card-cover img { transform: scale(1.04); filter: brightness(1.15); }
.card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 12, .85), rgba(8, 9, 12, 0) 45%); }
.card-word { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font: 700 1.6rem/1 var(--serif); letter-spacing: .18em; }
.card-badge { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 3px 8px; border-radius: 4px; font: 500 .68rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(11, 12, 16, .8); color: var(--ink); border: 1px solid var(--rule-2); }
.card-badge.ember { background: var(--ember); color: var(--ember-ink); border-color: var(--ember); }
.card-meta { padding: 10px 2px 0; }
.card-kind { font-size: .78rem; color: var(--ink-3); }
.card-title { display: block; font-weight: 600; margin: 2px 0; }
.card-price { font-size: .92rem; color: var(--ink-2); }
.card-price strong { color: var(--ink); }
.card-wip .card-cover { display: grid; place-items: center; border: 1px dashed var(--rule-2); background: linear-gradient(160deg, #161a27, #0d0e13); }
.card-wip .card-cover::after { display: none; }
.card-wip .card-cover img { width: 54px; height: 54px; border-radius: 8px; opacity: .8; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 56px 0 24px; }
.promise { padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--bg-2); }
.promise h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.promise p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ---------------------------------------------------------------- product page */
.crumbs { margin: 28px 0 6px; font-size: .88rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.product-head h1 { letter-spacing: .14em; margin-bottom: 8px; }
.product-head h1 small { display: inline-block; font: 500 .45em/1 var(--sans); letter-spacing: 0; color: var(--ink-2); vertical-align: middle; margin-left: .4em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.tags li { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .82rem; border: 1px solid var(--rule); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "gallery panel" "content panel"; gap: 0 40px; align-items: start; }
.gallery { grid-area: gallery; }
.panel { grid-area: panel; position: sticky; top: 88px; }
.content { grid-area: content; padding-bottom: 40px; }

.g-main { position: relative; margin: 0; }
.g-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: var(--surface); }
.g-main figcaption { padding: 10px 2px 0; font: 400 1rem/1.4 var(--serif); font-style: italic; color: var(--ink-2); min-height: 2.2em; }
.g-nav { position: absolute; top: calc(50% - 1.1em); transform: translateY(-50%); z-index: 2; background: rgba(11, 12, 16, .7); }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 10px; margin: 12px 0 0; padding: 2px 2px 8px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.g-thumbs a, .g-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .15s; }
.g-thumbs a:hover, .g-thumbs button:hover, .g-thumbs [aria-current="true"] { opacity: 1; }
.g-thumbs [aria-current="true"] { border-color: var(--ember); }
.g-thumbs img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.shot-note { font-size: .82rem; color: var(--ink-3); margin: 2px 0 0; }

.panel-card { border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--bg-2); padding: 22px; }
.panel-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.panel-logo img { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--rule-2); }
.panel-logo .word { font: 700 1.7rem/1 var(--serif); letter-spacing: .2em; display: block; }
.panel-logo .sub { font-size: .85rem; color: var(--ink-3); }
.price { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.price-tag { font-size: 1.3rem; font-weight: 700; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 4px; font: 500 .68rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ember-deep); color: var(--ember-2); }
.dl-note { margin: 10px 0 0; font-size: .85rem; color: var(--ink-3); text-align: center; }
.facts { margin: 18px 0 0; padding: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: .92rem; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; text-align: right; color: var(--ink); }
.hash { margin-top: 14px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule); }
.hash code { display: block; font: 400 .74rem/1.5 var(--mono); color: var(--ink-2); word-break: break-all; margin-top: 4px; }
.full-game { margin-top: 16px; }
.full-game .row-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.full-game p { font-size: .9rem; color: var(--ink-2); margin: 8px 0 12px; }

.content section { padding-top: 36px; }
.content .lede { font: 400 1.22rem/1.55 var(--serif); color: var(--ink); }
.content p, .content li { color: var(--ink-2); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.features li { padding: 16px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--rule); }
.features strong { display: block; color: var(--ink); margin-bottom: 4px; }
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 16px 16px 16px 60px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--rule); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--ember); color: var(--ember-ink); font-weight: 800; }
.steps strong { color: var(--ink); }
.callout { padding: 14px 16px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2); font-size: .94rem; }
.rating { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--rule-2); border-radius: var(--radius-lg); background: var(--bg-2); }
.rating-badge { flex: none; width: 74px; height: 74px; border-radius: 10px; border: 2px dashed var(--ink-3); display: grid; place-items: center; text-align: center; font: 700 1.3rem/1 var(--sans); color: var(--ink); }
.rating-badge small { display: block; font: 500 .56rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.rating p { margin: 0; }
.rating strong { color: var(--ink); }
.reqs { width: 100%; border-collapse: collapse; font-size: .94rem; }
.reqs th, .reqs td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--rule); vertical-align: top; }
.reqs th { width: 38%; color: var(--ink-3); font-weight: 500; }
.reqs td { color: var(--ink); }
.links-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.links-list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule-2); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.links-list a:hover { background: var(--surface-2); }

/* ---------------------------------------------------------------- prose pages */
.page-head { padding-top: 48px; padding-bottom: 8px; }
.page-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 640px; }
.prose { max-width: 720px; padding-bottom: 56px; }
.prose h2 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; color: var(--ink); }
.post-meta { color: var(--ink-3); font-size: .92rem; margin-bottom: 24px; }
.post-figure { margin: 24px 0; }
.post-figure img { border-radius: var(--radius-lg); width: 100%; }
.post-figure figcaption { font-size: .85rem; color: var(--ink-3); margin-top: 8px; }
.post-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.post-item { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--rule); }
.post-item img { border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a:hover { text-decoration: underline; }
.post-item p { color: var(--ink-2); }
.feed-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--rule-2); border-radius: var(--radius-lg); background: var(--bg-2); max-width: 820px; margin: 28px 0 56px; }
.feed-box svg { width: 22px; height: 22px; color: var(--ember); flex: none; margin-top: 3px; }
.feed-box p { margin: 0; color: var(--ink-2); }
.notfound { text-align: center; padding: 96px 0; }
.notfound img { margin: 0 auto 24px; width: 120px; border-radius: 14px; }
.notfound p { color: var(--ink-2); }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--bg-2); margin-top: 48px; padding: 32px 0; font-size: .9rem; color: var(--ink-3); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.site-footer p { margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { flex-direction: row; overflow-x: auto; }
  .hero-side li { flex: 1 0 200px; }
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "panel" "content"; }
  .panel { position: static; margin-top: 24px; }
}
@media (max-width: 760px) {
  .nav { gap: 6px 14px; padding-top: 10px; padding-bottom: 10px; }
  .nav-links { margin-left: auto; }
  .nav-links a { padding: 8px 9px; font-size: .9rem; }
  .search { order: 3; width: 100%; margin-left: 0; }
  .hero { padding-top: 16px; }
  .hero-stage { aspect-ratio: auto; min-height: 460px; }
  .slide::after { background: linear-gradient(0deg, rgba(8, 9, 12, .96) 0%, rgba(8, 9, 12, .7) 48%, rgba(8, 9, 12, .1) 100%); }
  .slide-body { right: 20px; }
  .hero-side li { flex: 1 0 170px; }
  .hero-tab img, .hero-tab .tab-art { width: 40px; height: 52px; }
  .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card-word { font-size: 1.2rem; }
  .promises { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .post-item { grid-template-columns: 1fr; gap: 12px; }
  .reqs th { width: 44%; }
  .g-nav { display: none; }
}
@media (max-width: 400px) {
  .brand-name { font-size: .98rem; }
  .brand img { width: 26px; height: 26px; }
  .nav-links a { padding: 8px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .hero-tab, .icon-btn { border: 1px solid CanvasText; }
}
