:root {
  color-scheme: dark;
  --ink: #f6edd2;
  --muted: #c8bea4;
  --gold: #e7bd64;
  --line: rgba(231, 189, 100, 0.28);
  --deep: #04110d;
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--deep);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--deep);
  background-image: linear-gradient(rgba(2, 13, 10, 0.18), rgba(2, 13, 10, 0.8)), url("/assets/background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

a {
  color: var(--gold);
  text-underline-offset: 4px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: 96px;
  height: 74px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 24px;
}

nav a,
.account-menu summary {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
}

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

.account-menu {
  position: relative;
}

.account-menu summary {
  cursor: pointer;
  list-style: none;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu summary::after {
  display: inline-block;
  margin-left: 8px;
  content: "▾";
  font-size: 11px;
}

.account-menu-list {
  position: absolute;
  z-index: 10;
  top: 30px;
  right: 0;
  display: grid;
  width: 170px;
  border: 1px solid var(--line);
  background: rgba(4, 17, 13, 0.97);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.account-menu-list a {
  padding: 13px 16px;
}

.account-menu-list a + a {
  border-top: 1px solid var(--line);
}

.hero {
  display: flex;
  min-height: calc(100vh - 148px);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 36px 20px 72px;
  text-align: center;
}

.hero-logo {
  width: min(470px, 86vw);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.52));
}

.eyebrow {
  margin: 22px 0 10px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 8px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 400;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  min-height: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
}

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

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

.content-page {
  background-attachment: fixed;
}

.legal-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.legal-content .eyebrow {
  margin-top: 0;
}

.legal-content h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 400;
}

.legal-content .lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.policy-meta {
  margin: 22px 0 34px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 400;
}

.legal-content li,
.legal-content section p {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

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

.back-link {
  display: inline-block;
  margin-top: 20px;
  font-family: Arial, sans-serif;
}

.start-content {
  width: min(820px, calc(100% - 40px));
  min-height: calc(100vh - 164px);
  margin: 0 auto;
  padding: 54px 0 76px;
  text-align: center;
}

.start-content .eyebrow {
  margin-top: 0;
}

.start-content h1 {
  margin-bottom: 38px;
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 400;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.platform-card {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(4, 17, 13, 0.76);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.platform-name {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 24px;
}

.platform-card strong {
  margin-top: 20px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

.fake-qr {
  position: relative;
  width: min(210px, 100%);
  aspect-ratio: 1;
  border: 12px solid #f6f1df;
  background-color: #f6f1df;
  background-image:
    conic-gradient(from 90deg at 2px 2px, #07130f 25%, transparent 0 50%, #07130f 0 75%, transparent 0),
    linear-gradient(37deg, transparent 45%, #07130f 46% 57%, transparent 58%);
  background-size: 10px 10px, 31px 27px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

.fake-qr-alt {
  background-position: 3px 7px, 11px 4px;
  transform: rotate(0.01deg);
}

.finder {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 7px solid #07130f;
  background: #f6f1df;
  box-shadow: inset 0 0 0 7px #f6f1df, inset 0 0 0 15px #07130f;
}

.finder-one {
  top: 6px;
  left: 6px;
}

.finder-two {
  top: 6px;
  right: 6px;
}

.finder-three {
  bottom: 6px;
  left: 6px;
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 18px;
    padding: 8px 0;
  }

  nav {
    width: auto;
    justify-content: flex-end;
  }

  .brand {
    width: 88px;
    height: 68px;
  }

  .hero {
    min-height: calc(100vh - 196px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 18px 0;
  }

  .legal-content {
    width: min(100% - 32px, 760px);
    padding-top: 48px;
  }

  .start-content {
    width: min(100% - 32px, 820px);
    padding-top: 44px;
  }

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

  .platform-card {
    padding: 24px;
  }
}
