:root {
  --bg0: #0c0b10;
  --bg1: #1a1524;
  --fg: #f2efe8;
  --muted: #a8a39a;
  --gold: #d4b46a;
  --gold-dim: #8a6a1a;
  --ink: #121212;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  color: var(--fg);
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(212, 180, 106, 0.2), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(138, 106, 26, 0.12), transparent 50%),
    linear-gradient(165deg, var(--bg1), var(--bg0));
  background-attachment: fixed;
}

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

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 3rem;
}

.hero-inner {
  max-width: 28rem;
  width: 100%;
  text-align: center;
}

.mark {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.15rem;
  color: var(--gold);
  opacity: 0;
  animation: rise 0.9s ease 0.05s forwards;
}

.mark img,
.mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand {
  font-weight: 400;
  font-size: clamp(2.35rem, 8vw, 3.1rem);
  letter-spacing: 0.02em;
  color: var(--gold);
  margin: 0 0 1.15rem;
  line-height: 1.05;
  opacity: 0;
  animation: rise 0.9s ease 0.18s forwards;
}

.headline {
  font-weight: 400;
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  margin: 0 0 0.75rem;
  line-height: 1.35;
  opacity: 0;
  animation: rise 0.9s ease 0.32s forwards;
}

.lede {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 2rem;
  opacity: 0;
  animation: rise 0.9s ease 0.42s forwards;
}

.cta {
  margin: 0;
  opacity: 0;
  animation: rise 0.9s ease 0.52s forwards;
}

.button {
  display: inline-block;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  background: linear-gradient(180deg, #e4c87a, var(--gold));
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.foot {
  padding: 0 1.25rem 1.75rem;
  text-align: center;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.foot a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
}

.foot a:hover {
  color: var(--gold);
}

.lang {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
  opacity: 0;
  animation: rise 0.7s ease forwards;
}

.lang a {
  text-decoration: none;
}

.eyebrow {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  opacity: 0;
  animation: rise 0.7s ease 0.08s forwards;
}

.legal-body {
  background: #f7f4ef;
  color: #1a1a1a;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  .legal-body {
    background: #121212;
    color: #f2efe8;
  }

  .legal-body a {
    color: var(--gold);
  }

  .legal-body .meta {
    color: #a8a39a;
  }

  .legal-body th,
  .legal-body td {
    border-bottom-color: color-mix(in srgb, #a8a39a 35%, transparent);
  }
}

.legal-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.legal-main h1 {
  font-size: 1.6rem;
  margin: 0 0 0.35rem;
}

.legal-main h2 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.5rem;
}

.legal-main .meta {
  color: #5c5c5c;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal-main a {
  color: var(--gold-dim);
}

.legal-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.legal-main th,
.legal-main td {
  border-bottom: 1px solid color-mix(in srgb, #5c5c5c 35%, transparent);
  text-align: left;
  padding: 0.45rem 0.35rem;
  vertical-align: top;
}

.legal-main ul {
  padding-left: 1.2rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.55rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  .brand,
  .headline,
  .lede,
  .cta,
  .lang,
  .eyebrow {
    opacity: 1;
    animation: none;
  }
}
