:root {
  --green-950: #05241d;
  --green-900: #07362c;
  --green-800: #0b4a3c;
  --green-700: #0e5c4b;
  --green-600: #147a62;
  --green-500: #1b8a6a;
  --green-200: #b7e0d2;
  --green-100: #e7f6f0;
  --orange: #f05a28;
  --orange-dark: #d44a1c;
  --cream: #f7f4ee;
  --white: #ffffff;
  --ink: #16332c;
  --muted: #5a726b;
  --line: #d9e8e2;
  --danger: #b42318;
  --ok: #0f7a4c;
  --shadow: 0 24px 60px rgba(5, 36, 29, 0.18);
  --radius: 22px;
  --font: "Outfit", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--green-800);
  line-height: 1.45;
}

img {
  max-width: 100%;
}

a {
  color: var(--green-600);
}

.page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-bottom: env(safe-area-inset-bottom);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  padding-top: max(14px, env(safe-area-inset-top));
  background: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.partner {
  display: flex;
  align-items: center;
  max-width: 46%;
}

.partner img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  filter: invert(1);
}

.kicker-logo {
  height: 16px;
  width: auto;
  display: block;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 56px 48px 72px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(240, 90, 40, 0.18), transparent 32%),
    linear-gradient(160deg, var(--green-700), var(--green-950));
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -90px;
  bottom: -140px;
  border-radius: 50%;
  border: 28px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-200);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
}

h1 span {
  color: #f4b39a;
}

.lead {
  max-width: 34rem;
  margin: 0 0 28px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}

.steps {
  display: grid;
  gap: 12px;
  max-width: 28rem;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.step b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.step strong {
  display: block;
  margin-bottom: 2px;
}

.panel {
  background: var(--cream);
  padding: 36px 32px 40px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px 24px;
}

.card h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.card .hint {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.84rem;
  font-weight: 600;
}

.req {
  color: var(--orange);
}

input,
select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(27, 138, 106, 0.12);
}

.choice {
  display: flex;
  gap: 8px;
}

.choice label {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.choice input {
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
  accent-color: var(--green-700);
}

.choice label:has(input:checked) {
  background: var(--green-100);
  border-color: var(--green-500);
  color: var(--green-800);
}

.checks {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}

.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.88rem;
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green-700);
}

.check a {
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.12s, background 0.12s;
}

.btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.error {
  display: none;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 600;
}

.error.duplicate {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdecec;
  border: 1px solid #f3c1c1;
}

.error[hidden] {
  display: none !important;
}

.legal {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green-800);
}

.legal p {
  margin: 8px 0 0;
}

.success {
  text-align: center;
  padding: 12px 8px 6px;
}

.success h2 {
  margin: 8px 0 8px;
}

.ticket {
  margin: 18px auto 10px;
  padding: 18px 16px;
  max-width: 280px;
  border-radius: 18px;
  border: 1.5px dashed var(--green-500);
  background: var(--green-100);
}

.ticket small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.ticket strong {
  display: block;
  margin-top: 4px;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--green-800);
}

.site-footer {
  padding: 16px 22px 22px;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.site-footer a {
  color: #fff;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

@media (max-width: 920px) {
  .layout {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero {
    padding: 22px 18px 28px;
  }

  h1 {
    font-size: 2.15rem;
  }

  .lead {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .steps {
    display: none;
  }

  .panel {
    padding: 18px 14px 28px;
  }

  .card {
    padding: 20px 16px 18px;
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand img {
    height: 40px;
    max-width: 58vw;
  }

  .partner img {
    height: 18px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .btn {
    height: 52px;
    position: sticky;
    bottom: 12px;
  }
}
