@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --gold: #ffb900;
  --gold-glow: #ffcb2e;
  --gold-dark: #e8a500;
  --ink: #0f0f1a;
  --bg: #f9f8f3;
  --surface: #ffffff;
  --surface-soft: #fffbef;
  --text: #0f0f1a;
  --text-2: #2d2d3f;
  --muted: #63637b;
  --line: #d5d5e2;
  --field-line: #7a7a95;
  --accent: #8f6200;
  --error: #b91c1c;
  --success: #15803d;
  --glow: rgba(255, 185, 0, 0.22);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f1a;
    --surface: #181827;
    --surface-soft: #1c1708;
    --text: #f9f8f3;
    --text-2: #d5d5e2;
    --muted: #9a9ab0;
    --line: #2d2d3f;
    --field-line: #7a7a95;
    --accent: #ffb900;
    --error: #f87171;
    --success: #22c55e;
    --glow: rgba(255, 185, 0, 0.1);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  z-index: 2;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand svg {
  flex: none;
}

.lang {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 10px 4px;
}

main {
  padding-bottom: 48px;
}

.hero {
  position: relative;
  padding: 24px 0 8px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px -16px auto -16px;
  height: 320px;
  background: radial-gradient(closest-side, var(--glow), transparent);
  z-index: -1;
  pointer-events: none;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.375rem;
  font-weight: 600;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.lede {
  font-size: 1.125rem;
  color: var(--text-2);
  margin: 0 0 20px;
}

.benefits {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.benefits li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--gold-glow), var(--gold) 60%, var(--gold-dark));
}

.benefits strong {
  color: var(--text);
}

.fine {
  font-size: 0.875rem;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px;
}

.card h2 {
  margin-bottom: 4px;
}

.card > p:first-of-type {
  margin-top: 0;
}

.field {
  margin: 0 0 16px;
}

label,
.label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
  color: var(--text);
}

.opt {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.875rem;
}

input[type="email"],
input[type="text"],
select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--field-line);
  border-radius: 10px;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

input::placeholder {
  color: var(--muted);
  opacity: 1;
}

input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

input:user-invalid {
  border-color: var(--error);
}

.row2 {
  display: grid;
  gap: 0 12px;
  align-items: end;
}

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 14px;
}

.check input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.check label {
  font-weight: 500;
  margin: 0;
}

.check .hint {
  display: block;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--muted);
}

.consent label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold-glow);
}

.btn:active {
  background: var(--gold-dark);
}

.btn:disabled {
  cursor: progress;
  opacity: 0.7;
}

.status {
  margin: 12px 0 0;
  font-size: 0.9375rem;
}

.status.error {
  color: var(--error);
  font-weight: 600;
}

.notice {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

.notice p {
  margin: 0 0 8px;
}

.panel h2 {
  margin-top: 4px;
}

.panel:focus {
  outline: none;
}

.tick {
  display: block;
  margin-bottom: 8px;
}

.prose {
  padding-top: 8px;
}

.prose > * {
  max-width: 720px;
}

.prose h1 {
  font-size: 2rem;
}

.prose h2 {
  margin-top: 32px;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose .meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0;
}

.foot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 32px;
  font-size: 0.875rem;
  color: var(--muted);
}

.foot p {
  margin: 0 0 8px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 12px;
}

.foot nav a {
  padding: 6px 0;
}

.center {
  text-align: center;
  padding-top: 64px;
}

.center .btn {
  width: auto;
  text-decoration: none;
}

@media (min-width: 600px) {
  .row2 {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 28px 28px;
  }

  h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 900px) {
  .top {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .lede {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color 120ms ease;
  }
}
