/* Forever Guides — black + old red, modern and minimal */
@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #0b0b0d;
  --surface: #121214;
  --surface-2: #1a191c;
  --inset: #0d0d0f;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  --text: #eeeae5;
  --text-2: #a29fa3;
  --text-3: #8e898e;

  --red: #9b2a2a;          /* old red */
  --red-hover: #ad3131;
  --red-press: #841f20;
  --red-text: #e0716a;     /* readable red on black */
  --red-tint: rgba(155, 42, 42, 0.14);
  --red-ring: rgba(173, 49, 49, 0.35);

  --ok: #6cc08a;
  --ok-tint: rgba(108, 192, 138, 0.1);

  --radius: 8px;
  --radius-sm: 5px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Cascadia Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { color-scheme: dark; scrollbar-color: #3a3333 transparent; }

body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* single, quiet red wash at the top */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 40% at 50% -10%, rgba(155, 42, 42, 0.16), transparent 70%);
}

.wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wrap.wide { max-width: 880px; }

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.logo img { width: 30px; height: 30px; display: block; }
.logo .tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 2px;
}

/* ---------- hero ---------- */
.hero { padding: 28px 0 12px; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-text);
}
.hero h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lead {
  margin: 14px 0 0;
  max-width: 46ch;
  color: var(--text-2);
  font-size: 16px;
}

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 8px;
  font-variant-numeric: tabular-nums;
}

/* ---------- product ---------- */
.product-head { display: flex; align-items: center; gap: 14px; }
.icon-tile {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--red-tint);
  border: 1px solid rgba(173, 49, 49, 0.25);
  color: var(--red-text);
}
.icon-tile svg { width: 22px; height: 22px; }
.product-head h2 { margin: 0; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.sub { margin: 2px 0 0; color: var(--text-2); font-size: 13.5px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.card-head + .stats { margin-top: 0; }
.stats > div { padding: 12px 14px; min-width: 0; }
.stats > div + div { border-left: 1px solid var(--border); }
.stats dt { font-size: 12px; color: var(--text-3); margin: 0 0 2px; }
.stats dd { margin: 0; font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }

/* ---------- status pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill.ready { color: var(--text); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-tint); }
.dot.err { background: var(--red-text); box-shadow: 0 0 0 3px var(--red-tint); }

/* ---------- form ---------- */
.field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.row { display: flex; gap: 8px; }
.row input { flex: 1; min-width: 0; }

input[type="text"], input[type="password"] {
  width: 100%;
  height: 46px;
  background: var(--inset);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder { color: var(--text-3); }
input:hover { border-color: rgba(255, 255, 255, 0.18); }
input:focus { border-color: var(--red-hover); box-shadow: 0 0 0 3px var(--red-ring); }

/* ---------- buttons ---------- */
.btn-primary, .btn-secondary, .btn-ghost {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.06s;
}
.btn-primary {
  color: #fff;
  background: var(--red);
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-primary:hover:not(:disabled) { background: var(--red-hover); }
.btn-primary:active:not(:disabled) { background: var(--red-press); transform: translateY(1px); }

.btn-secondary {
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover:not(:disabled) { background: #211d1e; border-color: rgba(255, 255, 255, 0.18); }
.btn-secondary:active:not(:disabled) { transform: translateY(1px); }

.btn-ghost {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }

.btn-primary:disabled, .btn-secondary:disabled { opacity: 0.5; cursor: default; }
.btn-primary:focus-visible, .btn-secondary:focus-visible, .btn-ghost:focus-visible, .drop:focus-visible, a:focus-visible {
  outline: 2px solid var(--red-text);
  outline-offset: 2px;
}

.hint { color: var(--text-3); font-size: 13px; margin: 10px 0 0; line-height: 1.55; }

/* ---------- status messages ---------- */
.status {
  margin: 14px 0 0;
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
}
.status:empty { display: none; }
.status.ok  { color: #cfeedd; background: var(--ok-tint);  border-color: rgba(108, 192, 138, 0.25); }
.status.err { color: #f4c9c5; background: var(--red-tint); border-color: rgba(173, 49, 49, 0.35); }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--red-text);
  font-variant-numeric: tabular-nums;
}

/* ---------- footer ---------- */
.foot {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-3);
  font-size: 13px;
}
.foot p { margin: 0; max-width: 48ch; }
.foot a, .back-link { color: var(--text-3); text-decoration: none; white-space: nowrap; font-size: 13px; }
.foot a:hover, .back-link:hover { color: var(--text); }

/* ---------- admin ---------- */
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack[hidden], .card[hidden] { display: none; }

.login { max-width: 420px; width: 100%; margin: 48px auto 0; }
.login .card-title { font-size: 18px; margin-bottom: 4px; }
.login .sub { margin-bottom: 20px; }

.page-head { padding: 8px 0 4px; }
.page-head h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.page-head p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }

.table-wrap {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  padding: 10px 14px;
  background: var(--inset);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td { padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
td:last-child { text-align: right; width: 1%; }
td:nth-child(3) { color: var(--text-2); font-variant-numeric: tabular-nums; }
.mono, td.mono { font-family: var(--mono); font-size: 13px; font-weight: 400; }
td.mono { color: var(--text-2); }
td .del {
  font: inherit;
  font-size: 13px;
  color: var(--text-3);
  background: none;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 4px 10px;
  cursor: pointer;
}
td .del:hover { color: var(--red-text); background: var(--red-tint); border-color: rgba(173, 49, 49, 0.3); }
.table-wrap:has(tbody:empty) { display: none; }
.empty { color: var(--text-3); font-size: 13.5px; padding: 28px 12px 8px; text-align: center; }
.empty[hidden] { display: none; }

.drop {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.drop strong { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.drop .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.drop .icon-tile svg { width: 20px; height: 20px; }
.drop:hover, .drop.over { border-color: var(--red-hover); background: var(--red-tint); }

.config-note { color: var(--text-3); font-size: 13px; }
.config-note .mono { color: var(--text-2); }
.admin-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 2px 0; }

@media (max-width: 600px) {
  .hero { padding-top: 16px; }
  .card { padding: 18px; }
  .row { flex-direction: column; }
  .row input { flex: 0 0 auto; }
  .row .btn-primary, .row .btn-secondary { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
}

/* Customer portal — readable type and atmospheric artwork. */
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; left: 20px; top: -60px; z-index: 10; background: var(--red); padding: 10px 18px; color: #fff; border-radius: 4px; }
.skip-link:focus { top: 10px; }
.storefront { --page-gutter: 48px; --art-bleed: var(--page-gutter); position: relative; background: #0b0b0d; font-size: 15px; letter-spacing: .005em; }
.sanctum-backdrop { position: absolute; z-index: -1; inset: 330px 0 0; max-height: 1250px; background: url('/assets/shadow-sanctum.webp') center top / cover no-repeat; opacity: .3; mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 60%, transparent); pointer-events: none; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid #ffffff0c; background: #0b0b0dbd; }
.header-inner, .store-wrap, .footer-inner { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.header-inner { height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-avatar { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; border: 1px solid #74504766; box-shadow: 0 0 20px #a3312512; }
.brand-wordmark { font-size: 21px; line-height: 1.25; letter-spacing: .005em; font-weight: 600; }
.brand-wordmark > span { display: block; margin-top: 3px; color: #aaa1a6; font-size: 12px; font-weight: 400; letter-spacing: .02em; }
.main-nav { display: flex; gap: 32px; align-items: center; height: 100%; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #aaa5ab; font-size: 14px; transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.main-nav a { min-height: 44px; }
.main-nav .store-link { border: 1px solid #ffffff15; border-radius: 4px; padding: 9px 14px; color: #d8d0ce; }
.main-nav .icon { width: 15px; height: 15px; color: #b0a4a9; }
.journey-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 32px;
  padding-block: 54px 0;
  isolation: isolate;
}
.hero-art-frame {
  position: absolute;
  z-index: -1;
  inset: -90px calc(-1 * var(--art-bleed)) -112px;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 90%, transparent);
}
.hero-art {
  position: absolute;
  width: 1040px;
  height: auto;
  max-width: none;
  right: calc(var(--art-bleed) - 85px);
  top: 14px;
  mask-image: linear-gradient(to right, transparent 12%, #000 40%, #000 80%, transparent), linear-gradient(to bottom, transparent, #000 16%, #000 65%, transparent 98%);
  mask-composite: intersect;
}
.hero-copy { grid-column: 1; margin-bottom: 28px; }
.section-kicker { margin: 0; color: #d2948c; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.journey-hero h1 {
  text-wrap: balance;
  font-size: clamp(39px, 4.2vw, 57px);
  font-weight: 650;
  line-height: 1.13;
  margin: 12px 0;
  color: #f0eae4;
  text-shadow: 0 2px 24px #0008;
}
.hero-description { margin: 0; color: #c4babd; line-height: 1.55; font-size: 16px; }
.hero-description span { color: #c17e77; margin-inline: 4px; }
.delivery-card, .guide-release {
  background: #151417f5;
  border: 1px solid #ffffff16;
  border-radius: 8px;
  box-shadow: 0 12px 42px #0003;
}
.delivery-card {
  grid-column: 1;
  container-type: inline-size;
  position: relative;
  min-width: 0;
  padding: 25px 26px 22px;
  border-top-color: #b25a5366;
}
.delivery-card::before { content: ''; position: absolute; top: -1px; left: 26px; width: 42px; height: 2px; background: #b04c47; }
.delivery-card h2 { margin: 0 0 18px; font-size: 22px; line-height: 1.35; font-weight: 600; }
.storefront .field-label { font-size: 14px; margin-bottom: 8px; color: #ded6dc; font-weight: 500; }
.username-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 8px; margin-bottom: 8px; }
.username-label .field-label { margin: 0; }
.username-label span { color: #b8adb6; font-size: 13px; }
.username-field { position: relative; }
.username-field > .icon { position: absolute; left: 14px; top: 17px; color: #a0949e; width: 17px; height: 17px; pointer-events: none; }
.storefront .username-field input {
  padding-left: 41px;
  height: 50px;
  border-color: #ffffff28;
  border-radius: 5px;
  font-size: 16px;
  background: #0e0e10;
}
.storefront .username-field input:focus { border-color: #b4645e; box-shadow: 0 0 0 3px #a74d462a; }
.storefront .username-field input[aria-invalid="true"] { border-color: #ca7771; }
.download-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.storefront .btn-primary, .storefront .btn-secondary { min-height: 48px; border-radius: 5px; font-size: 14px; font-weight: 600; gap: 8px; padding: 0 12px; }
.storefront .btn-primary { background: linear-gradient(120deg, #a63d38, #8e2c2c); border-color: #d8756044; box-shadow: inset 0 1px #ffffff18, 0 4px 16px #5a121327; }
.storefront .btn-primary:hover:not(:disabled) { background: linear-gradient(120deg, #b74a43, #a23734); }
.storefront .btn-secondary { background: #ffffff04; color: #e0d6de; border-color: #ffffff26; }
.storefront .btn-secondary:hover:not(:disabled) { background: #ffffff09; border-color: #ffffff35; }
.download-actions .icon { width: 17px; height: 17px; }
.download-actions .is-loading .icon { animation: button-pulse 1s ease-in-out infinite; }
.account-note { display: flex; align-items: flex-start; gap: 8px; color: #bfb3bd; font-size: 13px; line-height: 1.65; margin: 16px 0 0; }
.account-note .icon { margin-top: 3px; width: 15px; height: 15px; color: #ac929b; }
.delivery-result .status { font-size: 14px; padding: 11px 13px; border-radius: 5px; line-height: 1.6; overflow-wrap: anywhere; }
.delivery-result .status:empty { display: block; margin: 0; padding: 0; border: 0; }
.result-link { margin: 9px 0 0; font-size: 14px; }
.result-link a { display: inline-block; padding-block: 5px; color: #ecb3a9; text-underline-offset: 4px; }
.result-link a:hover { color: #f5dbd4; }
.manual-copy {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #ffffff19;
  border-radius: 5px;
  background: var(--inset);
}
.manual-copy textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  resize: vertical;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font: 13px/1.5 var(--mono);
}
.manual-copy textarea:focus-visible { outline: 2px solid var(--red-text); outline-offset: 2px; }
.noscript-note { color: var(--text-2); font-size: 14px; }
.guide-release {
  display: flex;
  align-items: center;
  justify-self: end;
  align-self: end;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  min-height: 102px;
  padding: 9px 22px 9px 8px;
  background: #141316ef;
}
.tome-art { flex: 0 0 89px; width: 89px; height: 82px; overflow: hidden; }
.tome-art img { display: block; width: 100%; height: auto; mask-image: radial-gradient(ellipse 66% 62% at 50% 48%, #000 22%, transparent 80%); }
.release-details { display: flex; flex-wrap: wrap; column-gap: 26px; row-gap: 7px; margin: 0; }
.release-details dt { color: #bbadb7; font-size: 13px; line-height: 1.45; }
.release-details dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: #e9dde4; font-variant-numeric: tabular-nums; }
.release-status { margin: 0; font-size: 13px; color: #bfb1ba; }
.how-section { margin-top: 42px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: .005em; }
.manual-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; }
.manual-link, .journey-steps a, .help-heading a { color: #e1aaa1; text-underline-offset: 4px; text-decoration-color: #966864; }
.manual-link:hover, .journey-steps a:hover, .help-heading a:hover { color: #f9d4c9; }
.manual-link .icon { width: 15px; height: 15px; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.journey-steps li { position: relative; }
.journey-steps li::before { content: ''; position: absolute; top: 15px; left: 42px; right: 0; height: 1px; background: linear-gradient(to right, #87585088, #44333655); }
.step-number { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 14px; color: #e5b9ab; font: 500 15px var(--font); font-variant-numeric: tabular-nums; border: 1px solid #79504a; background: #23191a; border-radius: 50%; }
.journey-steps h3 { font-size: 18px; font-weight: 600; color: #eae1db; margin: 0 0 7px; line-height: 1.4; }
.journey-steps p { margin: 0; color: #c2b8b6; font-size: 15px; line-height: 1.7; max-width: 40ch; }
.journey-steps strong, .answer strong { color: #dcd0d9; font-weight: 500; }
.journey-steps code, .answer code { color: #dfb7b0; font-size: 13px; }
.help-section { margin: 38px 0 40px; padding: 24px 0 0; border-top: 1px solid #ffffff16; display: grid; grid-template-columns: .7fr 1fr; gap: 50px; }
.help-heading { display: flex; align-items: flex-start; gap: 13px; padding-top: 8px; }
.help-heading > .icon { margin-top: 3px; color: #ba7d74; width: 22px; height: 22px; }
.help-heading h2 { font-size: 21px; font-weight: 500; line-height: 1.4; margin: 0; }
.help-heading p { margin: 8px 0 0; max-width: 35ch; font-size: 15px; line-height: 1.65; color: #c2b8b6; }
.help-questions details + details { border-top: 1px solid #ffffff0d; }
.help-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding: 16px 0; cursor: pointer; font-size: 16px; color: #dfd2cf; }
.help-questions summary::-webkit-details-marker { display: none; }
.help-questions summary:hover { color: #f0dfd9; }
.help-questions summary:focus-visible { outline: 2px solid var(--red-text); outline-offset: 4px; border-radius: 2px; }
.expand-icon { width: 10px; height: 10px; position: relative; flex: 0 0 auto; color: #ba8e87; }
.expand-icon::before, .expand-icon::after { position: absolute; content: ''; background: currentColor; top: 4px; left: 0; width: 10px; height: 1px; }
.expand-icon::after { transform: rotate(90deg); transition: transform .15s; }
.help-questions details[open] .expand-icon::after { transform: rotate(0); }
.answer { padding: 0 24px 18px 0; color: #c2b8b6; font-size: 15px; line-height: 1.7; }
.site-footer { position: relative; border-top: 1px solid #ffffff0d; background: #09090b80; padding: 26px 0; }
.publisher-link { display: inline-flex; align-items: center; gap: 6px; color: #cbbbc5; font-size: 14px; text-underline-offset: 4px; }
.publisher-link:hover { color: var(--text); }
.publisher-link .icon { width: 15px; height: 15px; }
.admin-page { background: #0b0b0d; position: relative; }
.admin-page::before { content: ''; position: absolute; inset: 0; height: 1000px; z-index: -1; background: url('/assets/shadow-sanctum.webp') center top / max(1400px, 100vw) auto no-repeat; opacity: .45; mask-image: linear-gradient(#000 40%, transparent 95%); }
.admin-page .topbar { padding-top: 16px; border-bottom: 1px solid #ffffff0b; }
.admin-page .logo img { border-radius: 50%; width: 36px; height: 36px; }
.admin-page .login { background: #141316f5; box-shadow: 0 20px 80px #0005; border-top-color: #a14b434d; }
.admin-page .login .card-title { font-size: 23px; font-weight: 500; letter-spacing: 0; }
@keyframes button-pulse { 50% { opacity: .35; } }
@media (max-width: 1000px) {
  .storefront { --page-gutter: 32px; }
  .header-inner, .store-wrap, .footer-inner { width: calc(100% - 64px); }
  .header-inner { height: 76px; }
  .journey-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 18px; padding-top: 45px; }
  .hero-art-frame { top: -76px; }
  .hero-art { width: 900px; right: calc(var(--art-bleed) - 130px); top: 45px; }
  .guide-release { padding-right: 15px; }
  .release-details { column-gap: 16px; }
  .journey-steps { gap: 22px; }
}
@media (max-width: 700px) {
  .storefront { --page-gutter: 20px; }
  .header-inner, .store-wrap, .footer-inner { width: calc(100% - 40px); }
  .header-inner { height: 68px; gap: 12px; }
  .main-nav { gap: 14px; }
  .main-nav > a:first-child { display: none; }
  .main-nav .store-link { padding: 7px 10px; gap: 6px; }
  .brand { gap: 9px; }
  .brand-wordmark { font-size: 17px; }
  .brand-avatar { width: 37px; height: 37px; }
  .journey-hero { grid-template-columns: minmax(0, 1fr); padding-top: 27px; }
  .hero-art-frame { inset: 0 calc(-1 * var(--art-bleed)) auto auto; width: clamp(135px, 39vw, 245px); height: 245px; mask-image: none; }
  .hero-art {
    width: 100%;
    right: 0;
    top: 4px;
    mask-image: linear-gradient(to right, transparent, #000 42%, #000 90%, #0008), linear-gradient(to bottom, transparent, #000 15%, #000 65%, transparent 100%);
  }
  .hero-copy { margin-bottom: 21px; }
  .section-kicker { font-size: 13px; }
  .journey-hero h1 { max-width: calc(100% - clamp(80px, 20vw, 145px)); font-size: clamp(28px, 7.4vw, 43px); margin: 10px 0; }
  .hero-description { font-size: 14px; }
  .delivery-card { padding: 20px; }
  .delivery-card::before { left: 20px; }
  .delivery-card h2 { font-size: 21px; margin-bottom: 15px; }
  .guide-release { justify-self: stretch; margin-top: 13px; min-height: 77px; padding: 7px 14px 7px 8px; }
  .tome-art { width: 65px; height: 60px; flex-basis: 65px; }
  .how-section { margin-top: 31px; }
  .section-heading { flex-wrap: wrap; gap: 0 14px; margin-bottom: 15px; }
  .section-heading h2 { font-size: 21px; }
  .journey-steps { grid-template-columns: 1fr; gap: 22px; }
  .journey-steps li { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 14px; }
  .journey-steps li::before { left: 15px; top: 38px; right: auto; bottom: -15px; width: 1px; height: auto; background: #64433e99; }
  .journey-steps li:last-child::before { display: none; }
  .journey-steps h3 { padding-top: 3px; }
  .journey-steps p { max-width: 48ch; }
  .help-section { grid-template-columns: 1fr; gap: 16px; margin-block: 28px 32px; padding-top: 22px; }
  .help-heading { padding-top: 0; }
  .help-questions summary { padding-block: 18px; }
  .sanctum-backdrop { top: 370px; opacity: .2; }
}
@media (max-width: 520px) {
  .main-nav .store-link { display: none; }
}
@container (max-width: 325px) {
  .download-actions { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 380px) {
  .storefront { --page-gutter: 16px; }
  .header-inner, .store-wrap, .footer-inner { width: calc(100% - 32px); }
  .brand { gap: 8px; }
  .brand-avatar { width: 33px; height: 33px; }
  .main-nav { gap: 9px; }
  .main-nav a { font-size: 13px; }
  .main-nav .store-link { padding-inline: 7px; }
  .delivery-card { padding-inline: 17px; }
  .release-details { column-gap: 12px; }
  .release-details dd { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

