:root {
  --green: #84c55c;
  --green-deep: #5f9a3a;
  --black: #050505;
  --ink: #f4f6f3;
  --muted: rgba(244, 246, 243, 0.68);
  --faint: rgba(244, 246, 243, 0.42);
  --line: rgba(255, 255, 255, 0.1);
  --card: #101110;
  --danger: #ffb4a8;
  --ok: #c8efb0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 42% at 50% -8%, rgba(132, 197, 92, 0.22), transparent 58%),
    var(--black);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #b6e392;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header,
.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 8px;
}

.brand img,
.hero-logo {
  display: block;
  mix-blend-mode: screen;
}

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--green);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero-logo {
  width: min(420px, 86vw);
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.lead {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(132, 197, 92, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.button {
  background: var(--green);
  border-color: var(--green);
  color: #102006;
  font-weight: 700;
}

.hero-links a:hover,
.button:hover {
  background: #9ad46f;
  border-color: #9ad46f;
  color: #102006;
}

.page {
  flex: 1;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.page h1 {
  margin: 8px 0 18px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.meta {
  color: var(--faint);
  margin: 0 0 6px;
}

.policy h2 {
  margin: 34px 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.policy p,
.policy li {
  color: var(--muted);
}

.policy strong {
  color: var(--ink);
  font-weight: 600;
}

.policy ul {
  padding-left: 1.2rem;
}

.policy li + li {
  margin-top: 6px;
}

.panel {
  margin-top: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.wide {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0c0b;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(132, 197, 92, 0.55);
  border-color: var(--green);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.note,
.banner {
  margin: 0 0 18px;
  color: var(--muted);
}

.banner {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.banner.ok {
  color: var(--ok);
  border-color: rgba(132, 197, 92, 0.4);
}

.banner.bad {
  color: var(--danger);
  border-color: rgba(255, 180, 168, 0.4);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
