/* Shardbound website (site/README.md). Gold on dark, Cinzel for headings, Fira Sans for text: the game's own look. */

@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/FiraSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/FiraSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/FiraSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0a0d10;
  --stone: #12161a;
  --stone2: #1a1f23;
  --stone3: #252a2e;
  --line: #8a6c38;
  --line-soft: #5c4727;
  --line-faint: #2f271a;
  --gold: #d7b56c;
  --gold-bright: #f2d98f;
  --gold-wash: rgba(215, 181, 108, 0.1);
  --text: #e9e1cf;
  --muted: #b3ac9b;
  --blue: #173d66;
  --blue-light: #5aa5dd;
  --violet: #b08ae0;
  --danger: #ee9a83;
  --success: #a6d891;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Fira Sans", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-bright); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; color: #f4ead4; }
p { margin: 0 0 1em; }
code { font: 0.92em var(--mono); color: var(--gold-bright); background: var(--stone2); padding: 1px 5px; border-radius: 3px; }
::selection { background: rgba(90, 165, 221, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
.todo { color: var(--danger); font-style: italic; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--stone2); border: 1px solid var(--gold); color: var(--gold-bright); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.eyebrow { display: block; margin: 0 0 6px; font: 600 12px/1.5 var(--serif); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.eyebrow a { color: inherit; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px auto; color: var(--gold); font-size: 13px; }
.ornament i { height: 1px; width: 72px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament.left { justify-content: flex-start; }
.ornament.left i:first-child { display: none; }
.lede { font-size: 1.12em; color: #d9d0bc; }
.notice { border: 1px solid var(--line-soft); border-left: 3px solid var(--gold); background: var(--gold-wash); padding: 12px 16px; margin: 0 0 28px; color: #eadfc4; }

/* ---------- badges ---------- */
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border: 1px solid var(--line-soft); border-radius: 999px;
  font: 600 10.5px/1.5 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--stone); }
.badge-ok { color: var(--success); border-color: rgba(166, 216, 145, 0.45); }
.badge-free { color: var(--blue-light); border-color: rgba(90, 165, 221, 0.5); margin-left: 0; }
.badge-soon { color: var(--gold-bright); border-color: var(--line); }

/* ---------- brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: inline-block; width: 26px; height: 34px; flex: 0 0 auto; filter: drop-shadow(0 0 8px rgba(54, 136, 206, 0.5)); }
.brand-mark svg { width: 100%; height: 100%; fill: #194875; stroke: #f1cb72; stroke-width: 2.4; }
.brand-word { font: 700 21px var(--serif); letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(180deg, #f7e3ad, #c99d4f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; min-height: 48px; border: 1px solid #ebcf88;
  text-transform: uppercase; letter-spacing: 0.12em; font: 700 12.5px var(--serif); text-align: center; text-decoration: none; cursor: pointer;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  transition: filter 0.2s ease, background-color 0.2s ease; }
.button-gold { background: linear-gradient(180deg, #f2d98f, #b98f45); color: #1c1407; }
.button-gold:hover { filter: brightness(1.08); }
.button-ghost { background: rgba(10, 13, 16, 0.55); color: var(--gold-bright); border-color: var(--line); }
.button-ghost:hover { background: var(--gold-wash); }
.button-small { min-height: 38px; padding: 0 18px; font-size: 11.5px; }
.button[aria-disabled="true"], .button:disabled { filter: grayscale(0.8) brightness(0.7); cursor: not-allowed; }
.text-link { font-family: var(--serif); font-weight: 600; letter-spacing: 0.04em; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(8, 10, 13, 0.92); border-bottom: 1px solid var(--line-faint);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header-inner { max-width: 1280px; margin: 0 auto; height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a, .account-link { padding: 8px 12px; font: 600 12.5px var(--serif); letter-spacing: 0.1em; text-transform: uppercase; color: #cfc6b2; text-decoration: none; }
.main-nav a:hover, .account-link:hover { color: var(--gold-bright); }
.main-nav a[aria-current="page"], .account-link[aria-current="page"] { color: var(--gold-bright); box-shadow: inset 0 -2px 0 var(--gold); }
.main-nav .nav-account { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-soft); cursor: pointer; padding: 11px 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--gold); margin: 4px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .account-link { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; margin: 0;
    background: rgba(8, 10, 13, 0.98); border-bottom: 1px solid var(--line-soft); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-faint); font-size: 14px; }
  .main-nav a[aria-current="page"] { box-shadow: none; }
  .main-nav .nav-account { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 420px) { .header-actions .button-small { display: none; } .brand-word { font-size: 18px; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tight { padding-top: 8px; }
.section-alt { background: linear-gradient(180deg, #0d1114, #0b0e11); border-top: 1px solid var(--line-faint); border-bottom: 1px solid var(--line-faint); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-more { text-align: center; margin: 36px 0 0; }
.page-head { padding: clamp(48px, 8vw, 88px) 0 clamp(28px, 4vw, 44px); text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(23, 61, 102, 0.35), transparent 70%); }
.page-head h1 { font-size: clamp(32px, 5.2vw, 54px); }
.page-head .lede { max-width: 720px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split .section-head { text-align: left; margin: 0 0 20px; }
.split .ornament { justify-content: flex-start; }
.split .ornament i:first-child { display: none; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- hero: the key art carries the logo at its top, so the text starts below it ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 18%, rgba(10, 13, 16, 0.6) 50%, var(--bg) 100%); }
.hero-content { position: relative; max-width: 900px; width: 100%; margin: 0 auto; padding: clamp(200px, 24vw, 330px) var(--gutter) clamp(44px, 7vw, 80px); text-align: center; }
.hero-content::before { content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: clamp(150px, 20vw, 280px); bottom: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(8, 10, 13, 0.82), rgba(8, 10, 13, 0.55) 55%, transparent 75%); }
.hero-content { isolation: isolate; }
.hero-content .eyebrow { color: var(--gold-bright); text-shadow: 0 1px 6px #000, 0 0 2px #000; }
.hero-content h1 { font-size: clamp(26px, 3.6vw, 44px); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8); }
.hero-content h1 em { font-style: normal; color: var(--gold-bright); }
.hero-sub { max-width: 640px; margin: 16px auto 26px; font-size: 1.06em; color: #e3dac6; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) {
  .hero { display: block; min-height: 0; }
  .hero-art { position: relative; display: block; }
  .hero-art img { position: static; height: auto; aspect-ratio: 900 / 846; }
  .hero-shade { top: auto; height: 60%; bottom: auto; top: calc(100vw * 846 / 900 * 0.4); background: linear-gradient(180deg, transparent, var(--bg) 66%); }
  .hero-content { margin-top: -28vw; padding-top: 0; }
  .hero-content::before { top: -10px; }
}

.facts-strip { border-top: 1px solid var(--line-faint); border-bottom: 1px solid var(--line-faint); background: var(--stone); }
.facts-strip ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.facts-strip li { padding: 22px 8px; text-align: center; border-left: 1px solid var(--line-faint); }
.facts-strip li:first-child { border-left: 0; }
.facts-strip b { display: block; font: 700 clamp(22px, 3vw, 30px) var(--serif); color: var(--gold-bright); }
.facts-strip span { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) {
  .facts-strip ul { grid-template-columns: repeat(2, 1fr); }
  .facts-strip li { border-left: 0; border-top: 1px solid var(--line-faint); }
  .facts-strip li:nth-child(-n+2) { border-top: 0; }
  .facts-strip li:last-child { grid-column: 1 / -1; }
}

/* ---------- cards and grids ---------- */
.pillars { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillars li { padding: 22px; background: var(--stone); border: 1px solid var(--line-faint); border-top: 2px solid var(--line); }
.pillars b { display: block; margin-bottom: 6px; font: 600 17px var(--serif); color: var(--gold-bright); }
.pillars span { color: #d3cab7; font-size: 15.5px; }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.faction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.faction-card { display: grid; grid-template-columns: 180px 1fr; background: var(--stone); border: 1px solid var(--line-faint); overflow: hidden; }
.faction-art img { width: 100%; height: 100%; object-fit: cover; }
.faction-body { padding: 20px 22px; }
.faction-body h3 { font-size: 21px; margin-bottom: 6px; }
.faction-card.covenant { border-top: 2px solid var(--blue-light); }
.faction-card.remnant { border-top: 2px solid var(--violet); }
@media (max-width: 900px) { .faction-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .faction-card { grid-template-columns: 1fr; } .faction-art img { aspect-ratio: 16 / 9; } }

.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.shot { margin: 0; background: var(--stone); border: 1px solid var(--line-faint); }
.shot img { width: 100%; aspect-ratio: 1280 / 774; object-fit: cover; }
.shot figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }
.shot-wide { grid-column: 1 / -1; }
.press-shots { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .press-shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shot-grid, .press-shots { grid-template-columns: 1fr; } }

.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.status-card { padding: 24px 26px; background: var(--stone); border: 1px solid var(--line-faint); }
.status-card h3 { font-size: 20px; margin-bottom: 12px; }
.status-card ul, .check-list { margin: 0; padding-left: 0; list-style: none; }
.status-card li, .check-list li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px solid var(--line-faint); font-size: 15.5px; }
.status-card li:last-child, .check-list li:last-child { border-bottom: 0; }
.status-card li::before, .check-list li::before { position: absolute; left: 2px; top: 6px; }
.is-done li::before { content: "✓"; color: var(--success); }
.is-todo li::before { content: "○"; color: var(--muted); }
@media (max-width: 820px) { .status-grid { grid-template-columns: 1fr; } }

.metric-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.metric-list li { padding: 18px 22px; background: var(--stone); border: 1px solid var(--line-faint); border-left: 3px solid var(--gold); }
.metric-list b { display: block; font: 700 26px var(--serif); color: var(--gold-bright); }
.metric-list span { color: var(--muted); font-size: 15px; }

.art-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.art-copy h2 { font-size: clamp(28px, 4vw, 40px); }
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.board-grid a { display: block; position: relative; border: 1px solid var(--line-faint); text-decoration: none; }
.board-grid img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.board-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 13px; color: #eadfc4;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85)); }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr; } }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 28px 26px; background: var(--stone); border: 1px solid var(--line-faint); }
.tier h3 { font-size: 24px; }
.tier .eyebrow .badge { margin-left: 4px; letter-spacing: 0.06em; }
.tier-price { margin: 10px 0 14px; color: var(--muted); }
.tier-price b { font: 700 28px var(--serif); color: var(--gold-bright); }
.tier ul { margin: 0 0 24px; padding-left: 18px; flex: 1; }
.tier li { margin: 6px 0; font-size: 15.5px; }
.tier .button { align-self: stretch; white-space: normal; padding: 10px 22px; }
.tier-featured { border-color: var(--line); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow); }
.tier-founder { border-top: 2px solid var(--violet); }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }
.support-band { background: linear-gradient(180deg, rgba(10, 13, 16, 0.92), rgba(10, 13, 16, 0.97)), url("/assets/play-bg.webp") center / cover; }
.founders { margin-top: 36px; text-align: center; }
.founders ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-family: var(--serif); color: var(--gold-bright); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-list { display: grid; gap: 18px; }
.news-card { padding: 22px 24px; background: var(--stone); border: 1px solid var(--line-faint); }
.news-card time { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.news-card h3 { font-size: 20px; margin: 6px 0 8px; }
.news-card h3 a { color: #f4ead4; text-decoration: none; }
.news-card h3 a:hover { color: var(--gold-bright); }
.news-card p { margin: 0; color: #d3cab7; font-size: 15.5px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- the game page ---------- */
.continent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 36px; }
.continent { padding: 24px 26px; background: var(--stone); border: 1px solid var(--line-faint); border-top: 2px solid var(--line); }
.continent h3 { font-size: 22px; margin-bottom: 12px; }
.levels { font: 400 14px var(--sans); color: var(--muted); white-space: nowrap; }
.zone-list { list-style: none; margin: 0; padding: 0; }
.zone-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-faint); }
.zone-list li:last-child { border-bottom: 0; }
.zone-list li span:first-child { flex: 1; }
.wide-figure { margin: 0; }
.wide-figure img { width: 100%; border: 1px solid var(--line-faint); }
.wide-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 820px) { .continent-grid { grid-template-columns: 1fr; } }

.faction-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.faction-columns h3 { font-size: 22px; margin-bottom: 4px; }
@media (max-width: 820px) { .faction-columns { grid-template-columns: 1fr; } }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card-list.two { grid-template-columns: 1fr 1fr; margin-top: 22px; }
@media (max-width: 760px) { .card-list.two { grid-template-columns: 1fr; } }
.info-card { padding: 18px 20px; background: var(--stone); border: 1px solid var(--line-faint); }
.info-card h4 { font-size: 18px; margin-bottom: 6px; }
.info-card p { margin: 0 0 6px; font-size: 15.5px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card.is-locked { opacity: 0.82; }
.trait { color: var(--gold); font-size: 14.5px !important; }
.role { color: var(--gold); font-family: var(--serif); letter-spacing: 0.06em; }
.dungeon-card img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; margin-bottom: 12px; }

.class-feature { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 26px; background: var(--stone); border: 1px solid var(--line-faint); border-top: 2px solid var(--gold); }
.class-art img { width: 100%; max-height: 520px; object-fit: cover; object-position: top; }
.class-body h3 { font-size: 26px; }
.skill-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.skill-table th, .skill-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-faint); vertical-align: top; }
.skill-table thead th { font: 600 12px var(--serif); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.skill-table tbody th { font-weight: 600; white-space: nowrap; color: #f4ead4; }
.skill-table td:first-child { color: var(--muted); width: 3.5em; }
@media (max-width: 760px) {
  .class-feature { grid-template-columns: 1fr; padding: 18px; }
  .class-art img { max-height: 280px; }
  .skill-table thead { display: none; }
  .skill-table tr { display: grid; grid-template-columns: 3em 1fr; border-bottom: 1px solid var(--line-faint); padding: 6px 0; }
  .skill-table th, .skill-table td { border: 0; padding: 2px 6px; }
  .skill-table tbody th { white-space: normal; }
  .skill-table td:last-child { grid-column: 2; color: #d3cab7; }
}

/* ---------- engine ---------- */
.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engine-card { display: flex; flex-direction: column; padding: 24px; background: var(--stone); border: 1px solid var(--line-faint); }
.engine-card h2 { font-size: 19px; margin-bottom: 10px; }
.engine-card > p:not(.metric) { flex: 1; font-size: 15.5px; color: #d3cab7; }
.metric { margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line-faint); }
.metric b { display: block; font: 700 22px var(--serif); color: var(--gold-bright); }
.metric span { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .engine-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .engine-grid { grid-template-columns: 1fr; } }
.spec-list { margin: 0; display: grid; gap: 0; }
.spec-list div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-faint); }
.spec-list dt { font: 600 13px var(--serif); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.spec-list dd { margin: 0; }
@media (max-width: 520px) { .spec-list div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- roadmap ---------- */
.road-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.road-col { padding: 22px; background: var(--stone); border: 1px solid var(--line-faint); }
.road-col h2 { font-size: 20px; margin-bottom: 14px; }
.road-col.is-done { border-top: 2px solid var(--success); }
.road-col.is-now { border-top: 2px solid var(--gold); }
.road-col.is-todo { border-top: 2px solid var(--muted); }
.road-col .info-card { background: var(--stone2); }
.road-col .card-list { margin-top: 14px; }
@media (max-width: 980px) { .road-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ, plain lists, prose ---------- */
.faq-inner { max-width: 860px; }
details { border-bottom: 1px solid var(--line-faint); }
details summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 600 18px var(--serif); color: #f4ead4; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 22px; color: var(--gold); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: #d3cab7; }
.plain-list { margin: 0; }
.plain-list div { padding: 16px 0; border-bottom: 1px solid var(--line-faint); }
.plain-list dt { font: 600 17px var(--serif); color: var(--gold-bright); margin-bottom: 4px; }
.plain-list dd { margin: 0; color: #d3cab7; }
.prose { font-size: 17px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.press-split h2 { font-size: 20px; margin: 0 0 12px; }
.press-split div > h2 + p, .press-split p + h2 { margin-top: 0; }
.press-split p + h2 { margin-top: 24px; }
.logo-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; padding: 48px 20px; background: var(--stone); border: 1px solid var(--line-faint); }
.brand-mark.big { width: 64px; height: 84px; }
.brand-word.big { font-size: clamp(28px, 5vw, 44px); }

/* ---------- account ---------- */
.account-page { position: relative; padding: clamp(40px, 7vw, 88px) 0; min-height: calc(100vh - var(--header-h)); }
.account-art { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 16, 0.6), var(--bg) 70%), url("/assets/loading-vale.webp") left center / cover; opacity: 0.55; }
.account-inner { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(28px, 6vw, 80px); align-items: start; }
.account-intro { padding-top: 24px; }
.account-intro h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 12px; }
.account-intro p { max-width: 460px; color: #d9d0bc; font-size: 1.08em; }
.account-panel { padding: 28px; background: rgba(18, 22, 26, 0.96); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.account-panel h2 { font-size: 26px; }
@media (max-width: 860px) { .account-inner { grid-template-columns: 1fr; } .account-intro { padding-top: 0; } }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border-bottom: 1px solid var(--line-faint); }
.form-tab { background: none; border: 0; padding: 12px 6px; font: 600 13px var(--serif); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.form-tab.selected { color: var(--gold-bright); box-shadow: inset 0 -2px 0 var(--gold); }
.service-banner { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.service-banner strong { color: #e8dcc0; font-weight: 600; }
.field { margin-bottom: 14px; }
.field label, .key-redeem label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14.5px; }
.field-hint { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
input { width: 100%; min-height: 46px; padding: 10px 12px; background: #0c0f12; border: 1px solid #3a3326; color: var(--text); font: 16px var(--sans); border-radius: 0; }
input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px rgba(215, 181, 108, 0.25); }
.password-wrap { display: flex; }
.password-wrap input { flex: 1; min-width: 0; }
.show-password { flex: 0 0 auto; padding: 0 14px; background: var(--stone2); border: 1px solid #3a3326; border-left: 0; color: var(--gold-bright); cursor: pointer; font: 600 13px var(--sans); }
.form-options { margin: 4px 0 18px; font-size: 14.5px; }
.submit-button { width: 100%; }
.submit-button.loading { opacity: 0.7; }
.form-feedback { min-height: 1.4em; margin: 12px 0 0; font-size: 14.5px; }
.form-feedback:empty { min-height: 0; margin: 0; }
.form-feedback.error { color: var(--danger); }
.form-feedback.success { color: var(--success); }
.mode-links { margin: 6px 0 0; font-size: 14.5px; text-align: center; }
.legal-copy { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.supporter-panel { margin: 22px 0; padding: 20px; background: var(--stone2); border: 1px solid var(--line-faint); }
.supporter-panel h3 { font-size: 18px; margin-bottom: 8px; }
.plan-buttons { display: grid; gap: 10px; margin: 14px 0 4px; }
.plan-buttons .button, #supporter-button { width: 100%; white-space: normal; }
.key-redeem { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-faint); }
.key-row { display: flex; gap: 8px; }
.key-row input { flex: 1; min-width: 0; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.key-row .button { padding: 0 18px; }
#sign-out-button { width: 100%; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-faint); background: #080a0d; padding: 52px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 18px var(--serif); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-bright); text-decoration: none; margin-bottom: 10px; }
.footer-about p { color: var(--muted); max-width: 360px; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer nav b { font: 600 12px var(--serif); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.site-footer nav a { color: #cfc6b2; text-decoration: none; padding: 3px 0; }
.site-footer nav a:hover { color: var(--gold-bright); }
.footer-note { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line-faint); font-size: 13px; color: var(--muted); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
