:root {
  --garden-950: #073f34;
  --garden-900: #075b45;
  --garden-700: #008c67;
  --garden-600: #00a878;
  --garden-400: #6be585;
  --leaf-100: #e8fbdc;
  --leaf-50: #f4ffe9;
  --paper: #fffef5;
  --ink: #143f38;
  --muted: #5e7d76;
  --purple: #7b2ff7;
  --purple-soft: #f2e9ff;
  --gold: #ffd84d;
  --orange: #ff6b35;
  --line: #b8e5b5;
  --shadow: 0 18px 55px rgba(7, 91, 69, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 216, 77, .24), transparent 24rem),
    radial-gradient(circle at 94% 34%, rgba(107, 229, 133, .25), transparent 28rem),
    linear-gradient(180deg, var(--leaf-50) 0%, #ddf8d0 100%);
  background-attachment: fixed;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  min-height: 100vh;
}

a { color: var(--garden-700); text-underline-offset: 4px; font-weight: 750; }
a:hover { color: var(--purple); }
a:focus-visible, button:focus-visible { outline: 4px solid var(--gold); outline-offset: 4px; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(7, 91, 69, .12);
  background: rgba(244, 255, 233, .91);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header .wrap {
  min-height: 84px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--garden-950);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.12;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid var(--garden-400);
  box-shadow: 0 8px 22px rgba(7, 91, 69, .2);
}

.brand small { color: var(--garden-700); font-size: .72rem; font-weight: 800; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

nav a {
  color: var(--garden-950);
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: .91rem;
  font-weight: 850;
}

nav a:hover, nav a[aria-current="page"] {
  color: white;
  background: var(--garden-900);
}

main { min-height: 70vh; padding: 52px 0 70px; }

.hero {
  overflow: hidden;
  min-height: 470px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: stretch;
  border: 2px solid var(--garden-400);
  border-radius: 38px;
  background: linear-gradient(135deg, var(--garden-900), var(--garden-600));
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy::after {
  content: "";
  width: 180px;
  height: 180px;
  position: absolute;
  left: -65px;
  bottom: -85px;
  border: 28px solid rgba(255, 216, 77, .12);
  border-radius: 50%;
}

.hero .label { color: var(--gold); }
.hero h1 { color: white; max-width: 10ch; }
.hero p { color: #e6fff1; max-width: 39ch; }

.hero-art { min-height: 470px; position: relative; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--garden-600) 0%, transparent 32%);
  pointer-events: none;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

h1 {
  margin: 0 0 18px;
  color: var(--garden-950);
  font-size: clamp(2.25rem, 6vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 950;
}

h2 { margin: 0 0 9px; color: var(--garden-950); font-size: 1.28rem; line-height: 1.2; }
p { max-width: 75ch; }

.label {
  margin: 0 0 12px;
  color: var(--garden-700);
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 950;
}

.contact {
  min-height: 50px;
  color: var(--garden-950);
  background: var(--gold);
  text-decoration: none;
  border: 0;
  border-radius: 16px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  box-shadow: 0 9px 20px rgba(4, 51, 41, .2);
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact:hover { color: var(--garden-950); transform: translateY(-2px); box-shadow: 0 13px 26px rgba(4, 51, 41, .24); }
.contact.secondary { color: var(--garden-900); background: white; box-shadow: none; }
.help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.help-actions .contact { margin: 0; }

.support-note {
  margin: 20px 0 0;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(107, 229, 133, .7);
}

.help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.help section, .doc-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: rgba(255, 254, 245, .93);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 12px 30px rgba(7, 91, 69, .08);
}

.help section::before {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: var(--purple-soft);
  font-size: 1.35rem;
}
.help section:nth-child(1)::before { content: "🛠️"; }
.help section:nth-child(2)::before { content: "☁️"; background: #dff2ff; }
.help section:nth-child(3)::before { content: "🛡️"; background: #dff8ec; }
.help section:nth-child(4)::before { content: "🐍"; background: #ffe9d9; }
.help section:nth-child(2) { border-color: #a9d9fa; }
.help section:nth-child(3) { border-color: #8bddb7; }
.help section:nth-child(4) { border-color: #ffb895; }
.help h2 { margin-top: 0; }
.help p { margin-bottom: 0; }

.legal { max-width: 900px; }
.legal > .label { margin-top: 12px; }
.legal > h1 { max-width: 13ch; margin-bottom: 22px; }
.legal > .muted { font-size: 1.06rem; margin-bottom: 28px; }
.doc-card { margin-top: 14px; }
.doc-card:nth-of-type(3n + 1) { border-left: 7px solid var(--garden-600); }
.doc-card:nth-of-type(3n + 2) { border-left: 7px solid var(--purple); }
.doc-card:nth-of-type(3n) { border-left: 7px solid var(--orange); }
.doc-card p { margin: 10px 0 0; }

footer {
  border-top: 1px solid rgba(7, 91, 69, .18);
  color: var(--muted);
  font-size: .86rem;
  margin-top: 38px;
  padding-top: 20px;
}
.legal footer { border: 0; padding: 0; }
.legal .legal-footer, footer .legal-footer { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 28px; }
.muted { color: var(--muted); }

@media (max-width: 820px) {
  header .wrap { align-items: flex-start; flex-direction: column; gap: 9px; }
  nav { justify-content: flex-start; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 26px 30px; }
  .hero h1 { max-width: 12ch; }
  .hero-art { min-height: 310px; }
  .hero-art::after { background: linear-gradient(180deg, var(--garden-600) 0%, transparent 28%); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 28px, 1120px); }
  main { padding-top: 28px; }
  header { position: static; }
  .brand img { width: 52px; height: 52px; border-radius: 16px; }
  nav { gap: 4px; }
  nav a { padding: 7px 9px; font-size: .78rem; }
  .hero { border-radius: 28px; }
  .hero-art { min-height: 245px; }
  .help { grid-template-columns: 1fr; }
  .contact { width: 100%; text-align: center; }
  .help-actions { width: 100%; }
  .help section, .doc-card { border-radius: 20px; padding: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
