:root {
  color-scheme: dark;
  --bg: #050912;
  --panel: rgba(12, 20, 34, .82);
  --line: rgba(184, 151, 91, .26);
  --gold: #d8b56d;
  --gold-light: #f1d79d;
  --text: #f7f3ea;
  --muted: #b9bdc7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.counter { position: absolute; left: -9999px; }

.topbar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
}
.brand img { width: 138px; height: auto; }
.topbar__cta {
  border: 1px solid rgba(241, 215, 157, .65);
  border-radius: 4px;
  padding: 10px 17px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 18, .98) 8%, rgba(5, 9, 18, .84) 48%, rgba(5, 9, 18, .25) 78%),
    linear-gradient(0deg, var(--bg), transparent 34%);
}
.hero__art {
  position: absolute;
  inset: 0;
  background: url("../presentation/assets/duskveil-key-art.webp") center 20% / cover no-repeat;
  filter: saturate(.88) contrast(1.04);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 126px 0 86px;
}
.wordmark { width: min(530px, 74vw); height: auto; margin: 12px 0 4px; }
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { max-width: 720px; font-size: clamp(35px, 5vw, 66px); letter-spacing: -.03em; }
h1 em { color: var(--gold-light); font-style: normal; }
.hero__lead { max-width: 660px; margin: 22px 0 26px; color: #d7dae1; font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-width: 205px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 14px 24px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: linear-gradient(135deg, #a87528, #d1a657); color: #080b10; box-shadow: 0 14px 34px rgba(190, 138, 50, .24); }
.button--secondary { background: rgba(5, 9, 18, .52); color: var(--gold-light); }
.microcopy { margin: 10px 0 0; color: #9299a8; font-size: 13px; }
.facts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.facts span {
  display: grid;
  min-width: 170px;
  border-left: 2px solid var(--gold);
  padding: 2px 18px;
  color: var(--muted);
  font-size: 13px;
}
.facts b { color: var(--text); font-family: Georgia, serif; font-size: 27px; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0; }
.section__heading { max-width: 780px; margin-bottom: 34px; }
.section__heading h2 { margin-top: 8px; font-size: clamp(31px, 4vw, 48px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  min-height: 250px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17, 28, 45, .84), rgba(9, 15, 26, .82));
  padding: 30px;
}
.card__number { color: var(--gold); font-family: Georgia, serif; font-size: 14px; }
.card h3 { margin-top: 30px; font-size: 28px; }
.card p { margin: 14px 0 0; color: var(--muted); }

.gallery { border-top: 1px solid var(--line); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); background: #09101c; }
.gallery figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.gallery figure:first-child img { object-fit: contain; padding: 20px; }
.gallery figcaption { padding: 13px 16px; color: #d1d4dc; font-size: 14px; }
.details-link { display: inline-block; margin-top: 22px; color: var(--gold-light); text-decoration: none; font-weight: 700; }

.start-steps { border-top: 1px solid var(--line); }
.start-steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 34px; padding: 0; list-style: none; }
.start-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 24px 0; }
.start-steps li > b { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-family: Georgia, serif; }
.start-steps li span { display: grid; color: var(--muted); }
.start-steps li strong { color: var(--text); font-family: Georgia, serif; font-size: 20px; }
.actions--center { justify-content: center; }

footer { display: flex; align-items: center; justify-content: center; gap: 20px; border-top: 1px solid var(--line); padding: 28px 20px 90px; color: #8e95a2; font-size: 13px; }
footer img { width: 110px; height: auto; opacity: .74; }
.mobile-cta { display: none; }

@media (max-width: 820px) {
  .hero { min-height: 720px; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 3%, rgba(5, 9, 18, .88) 56%, rgba(5, 9, 18, .35)); }
  .hero__art { background-position: 62% top; opacity: .72; }
  .hero__content { padding-top: 150px; }
  .cards, .gallery__grid, .start-steps ol { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .facts span { min-width: 140px; }
}

@media (max-width: 560px) {
  body { padding-bottom: 64px; }
  .topbar { width: calc(100% - 28px); }
  .brand img { width: 112px; }
  .topbar__cta { display: none; }
  .hero { min-height: 760px; }
  .hero__content, .section { width: calc(100% - 28px); }
  .wordmark { width: 78vw; }
  h1 { font-size: 38px; }
  .hero__lead { font-size: 17px; }
  .actions { display: grid; }
  .button { width: 100%; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .facts span { min-width: 0; padding: 4px 7px; font-size: 10px; }
  .facts b { font-size: 22px; }
  .section { padding: 62px 0; }
  .section__heading h2 { font-size: 34px; }
  footer { padding-bottom: 28px; }
  .mobile-cta { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: block; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(4, 8, 15, .94); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .mobile-cta a { display: grid; min-height: 48px; place-items: center; border-radius: 4px; background: linear-gradient(135deg, #a87528, #d1a657); color: #080b10; text-decoration: none; font-weight: 900; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
