:root {
  color-scheme: dark;
  --bg: #061413;
  --surface: #0b2523;
  --surface-strong: #103834;
  --line: #4b695d;
  --gold: #f2c15b;
  --gold-soft: #ffe39a;
  --cream: #fff2d3;
  --muted: #c7d0c8;
  --green: #53dc8f;
  --red: #d65e52;
  --blue: #73d6db;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--cream);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(242, 193, 91, 0.34);
  background: rgba(6, 20, 19, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 193, 91, 0.64);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 560px;
  height: calc(82svh - 72px);
  max-height: 760px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: url("./hero-bg.jpg");
  background-position: center 42%;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(2, 13, 13, 0.36), rgba(3, 17, 16, 0.72) 58%, rgba(6, 20, 19, 0.94));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  padding: 12px 0;
  text-align: center;
}

.hero-logo {
  width: 285px;
  margin: 0 auto -22px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 18px auto 0;
  color: #f3ead8;
  font-size: 1.12rem;
  line-height: 1.65;
}

.actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid rgba(242, 193, 91, 0.7);
  border-radius: 6px;
  background: rgba(6, 28, 27, 0.86);
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #211205;
}

.button.disabled {
  border-color: var(--line);
  color: #8fa29a;
  cursor: not-allowed;
}

.live-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 14px auto 0;
  padding: 8px 12px;
  border: 1px solid rgba(83, 220, 143, 0.54);
  border-radius: 999px;
  background: rgba(7, 28, 26, 0.8);
  color: #dcffea;
  font-size: 0.88rem;
  font-weight: 750;
}

.live-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.section {
  border-top: 1px solid rgba(75, 105, 93, 0.52);
}

.section.alt {
  background: #0a1e1c;
}

.section-inner,
.legal-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 72px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.section-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-number {
  display: block;
  margin-bottom: 26px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
}

.feature-grid p,
.screen-card p,
.info-grid p,
.legal-card p,
.legal-card li,
.legal-card dd {
  color: var(--muted);
  line-height: 1.65;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #071b19;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
  object-position: top;
}

.screen-card figcaption {
  padding: 16px;
}

.screen-card strong {
  display: block;
  font-size: 1rem;
}

.screen-card p {
  margin: 6px 0 0;
  font-size: 0.91rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.info-grid article {
  padding-top: 20px;
  border-top: 3px solid var(--gold);
}

.info-grid article:nth-child(2) {
  border-color: var(--green);
}

.info-grid article:nth-child(3) {
  border-color: var(--red);
}

.info-grid .button {
  margin-top: 8px;
}

.legal-hero {
  border-bottom: 1px solid rgba(242, 193, 91, 0.34);
  background-image: linear-gradient(rgba(5, 22, 21, 0.68), rgba(5, 22, 21, 0.94)), url("./hero-bg.jpg");
  background-position: center 40%;
  background-size: cover;
}

.legal-hero .legal-inner {
  padding-top: 78px;
  padding-bottom: 68px;
}

.legal-hero h1 {
  max-width: 900px;
  font-size: 48px;
  line-height: 1.05;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--gold-soft);
  font-size: 0.92rem;
}

.legal-stack {
  display: grid;
  gap: 14px;
}

.legal-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 37, 35, 0.72);
}

.legal-card h2 {
  font-size: 24px;
}

.legal-card p:last-child,
.legal-card ul:last-child,
.legal-card ol:last-child,
.legal-card dl:last-child {
  margin-bottom: 0;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-list {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) 1fr;
  gap: 12px 22px;
}

.legal-list dt {
  color: var(--gold-soft);
  font-weight: 850;
}

.legal-list dd {
  margin: 0;
}

.contact-callout {
  border-left: 4px solid var(--blue);
}

.danger-callout {
  border-left: 4px solid var(--red);
}

.english-summary {
  border-left: 4px solid var(--green);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #030d0c;
}

.footer-inner {
  width: min(var(--max), 100%);
  min-height: 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 0 auto;
  padding: 20px 24px;
  color: #9cb0a8;
  font-size: 0.9rem;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 920px) {
  .nav {
    gap: 14px;
  }

  .nav a:nth-child(1),
  .nav a:nth-child(2) {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

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

  .feature-grid article:nth-child(2) {
    border-right: 0;
  }

  .feature-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
    padding: 8px 14px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    display: none;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .hero {
    min-height: 520px;
    height: calc(82svh - 64px);
  }

  .hero-logo {
    width: 230px;
    margin-bottom: -10px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .actions .button {
    width: 100%;
  }

  .section-inner,
  .legal-inner {
    padding: 54px 18px;
  }

  h2 {
    font-size: 29px;
  }

  .feature-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .feature-grid article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .screen-grid {
    gap: 14px;
  }

  .screen-card {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .legal-hero h1 {
    font-size: 36px;
  }

  .legal-card {
    padding: 20px;
  }

  .legal-list {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .legal-list dd + dt {
    margin-top: 12px;
  }
}
