:root {
  --green: #0B6B3A;
  --green-dark: #084D2A;
  --green-tint: #E8F4ED;
  --gold: #F5A524;
  --ink: #12201A;
  --muted: #55665D;
  --line: #D9E3DD;
  --bg: #F7FAF8;
  --card: #FFFFFF;
  --error: #B42318;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green: #2FA866;
    --green-dark: #5CC48A;
    --green-tint: #11291C;
    --ink: #E9F1EC;
    --muted: #A3B5AA;
    --line: #2A3A31;
    --bg: #0C1410;
    --card: #131F18;
    --error: #F97066;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

.top, main, .foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-tint);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
}

main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 span { color: var(--green); }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 24px;
}

.points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.points li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 32px;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
}

.points li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--gold);
}

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

.card h2 { margin: 0 0 4px; font-size: 1.4rem; }
.sub { margin: 0 0 20px; color: var(--muted); }

form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 14px 0 6px;
}

.opt { font-weight: 400; color: var(--muted); }

input, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

input:focus, select:focus, button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 35%, transparent);
  outline-offset: 1px;
  border-color: var(--green);
}

.roles {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.roles legend {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  padding: 0;
}

.roles label {
  margin: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
}

.roles input { width: auto; margin: 0; accent-color: var(--green); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button {
  width: 100%;
  margin-top: 20px;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
}

button:hover { background: var(--green-dark); }
button[disabled] { opacity: 0.6; cursor: wait; }

.msg { min-height: 1.4em; margin: 12px 0 0; font-weight: 600; }
.msg.ok { color: var(--green); }
.msg.err { color: var(--error); }

.privacy { font-size: 0.82rem; color: var(--muted); margin: 8px 0 0; }

.foot {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}

.foot p { margin: 0; }
.social { display: flex; gap: 16px; }
.social a { text-decoration: none; font-weight: 600; }

@media (max-width: 820px) {
  main { grid-template-columns: 1fr; gap: 32px; padding-top: 8px; }
  .card { padding: 22px; }
}
