:root {
  --bg: #080b0d;
  --bg-soft: #10161a;
  --bg-panel: #151b1e;
  --text: #f4efe5;
  --muted: #c8c0b2;
  --dim: #8d928c;
  --brass: #c49a4a;
  --brass-soft: #ead19a;
  --verdigris: #6ea49a;
  --line: rgba(234, 209, 154, 0.18);
  --shadow: rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::selection {
  color: var(--bg);
  background: var(--brass-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand-mark {
  color: var(--brass-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a,
.site-footer a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--brass-soft);
  border-color: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82vh;
  padding: 132px 0 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.96), rgba(8, 11, 13, 0.74) 48%, rgba(8, 11, 13, 0.46)),
    linear-gradient(180deg, rgba(8, 11, 13, 0.15), var(--bg)),
    var(--hero-image, url("/assets/img/hero/relique-temp-splash.png")) center / cover no-repeat,
    radial-gradient(circle at 72% 28%, rgba(196, 154, 74, 0.2), transparent 34%),
    linear-gradient(135deg, #10161a, #080b0d 68%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brass-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: 5.8rem;
}

h2 {
  max-width: 760px;
  font-size: 3.1rem;
}

h3 {
  color: var(--brass-soft);
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.hero__subhead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.35rem;
}

.hero-splash {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin-top: 42px;
  border: 1px solid rgba(234, 209, 154, 0.2);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button--primary {
  color: #171006;
  background: var(--brass-soft);
  border-color: var(--brass-soft);
}

.button--primary:hover {
  background: var(--brass);
  border-color: var(--brass);
}

.button--secondary {
  color: var(--text);
  background: rgba(244, 239, 229, 0.05);
}

.button--secondary:hover {
  border-color: var(--brass-soft);
}

.section {
  padding: 88px 0;
}

.section--band {
  background: linear-gradient(180deg, rgba(110, 164, 154, 0.08), rgba(196, 154, 74, 0.06));
  border-top: 1px solid rgba(110, 164, 154, 0.16);
  border-bottom: 1px solid rgba(110, 164, 154, 0.12);
}

.section__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 860px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.promise-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(244, 239, 229, 0.06), rgba(244, 239, 229, 0.02));
  box-shadow: 0 18px 48px var(--shadow);
}

.promise-card p {
  margin-top: 16px;
  color: var(--muted);
}

.large-copy {
  max-width: 800px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.35rem;
}

.roadmap-list {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.roadmap-list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border: 1px solid rgba(110, 164, 154, 0.24);
  border-radius: 6px;
  color: var(--muted);
  background: var(--bg-soft);
}

.roadmap-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--verdigris);
  box-shadow: 0 0 0 4px rgba(110, 164, 154, 0.16);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  color: var(--dim);
  border-top: 1px solid rgba(234, 209, 154, 0.12);
}

.simple-page {
  width: min(920px, calc(100% - 32px));
  min-height: 72vh;
  margin: 0 auto;
  padding: 128px 0 72px;
}

.simple-page > .brand-mark {
  display: inline-block;
  margin-bottom: 36px;
}

.simple-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 239, 229, 0.06), rgba(244, 239, 229, 0.02)),
    var(--bg-panel);
  box-shadow: 0 18px 48px var(--shadow);
}

.simple-panel h1 {
  max-width: 760px;
  font-size: 3.8rem;
}

.simple-panel p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
}

.simple-panel .button {
  margin-top: 28px;
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    padding: 18px 0;
  }

  .hero {
    min-height: auto;
    padding: 74px 0 70px;
    background:
      linear-gradient(180deg, rgba(8, 11, 13, 0.88), rgba(8, 11, 13, 0.96)),
      var(--hero-image, url("/assets/img/hero/relique-temp-splash.png")) center / cover no-repeat,
      linear-gradient(135deg, #10161a, #080b0d 68%);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero__subhead,
  .large-copy {
    font-size: 1.18rem;
  }

  .simple-panel h1 {
    font-size: 3rem;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .promise-card {
    min-height: 0;
  }

  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__subhead,
  .large-copy {
    font-size: 1.08rem;
  }

  .simple-panel h1 {
    font-size: 2.35rem;
  }

  .simple-panel {
    padding: 26px;
  }
}
