:root {
  color-scheme: dark;
  --background: #15120f;
  --surface: #211b16;
  --surface-soft: #2a221b;
  --ink: #fff8eb;
  --muted: #c6b9a7;
  --gold: #e2b65c;
  --gold-light: #f5d995;
  --line: rgba(255, 248, 235, 0.14);
  --green: #b7ef75;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 80% 0%,
      rgba(226, 182, 92, 0.12),
      transparent 28rem
    ),
    var(--background);
  line-height: 1.65;
}

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

header,
main,
footer {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

main {
  padding-block: 72px 96px;
}

.hero {
  min-height: 62vh;
  display: grid;
  align-content: center;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.12;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.9rem);
  letter-spacing: -0.055em;
}

.legal h1,
.support h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

h2 {
  margin-top: 48px;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.32rem);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #1d170f;
  background: var(--gold-light);
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
}

.card p,
.meta,
.legal p,
.legal li,
.support p {
  color: var(--muted);
}

.meta {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal,
.support {
  max-width: 820px;
}

.legal section {
  scroll-margin-top: 24px;
}

.legal strong {
  color: var(--ink);
}

form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #110f0d;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: #1d170f;
  background: var(--gold-light);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.notice {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(183, 239, 117, 0.12);
}

.notice.visible {
  display: block;
}

.notice.error {
  background: rgba(245, 115, 115, 0.14);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 28px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

footer div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  header {
    align-items: flex-start;
    padding-block: 18px;
  }

  nav {
    gap: 10px 14px;
  }

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

  main {
    padding-block: 52px 72px;
  }
}
