:root {
  color-scheme: light;
  --ink: #17231d;
  --muted: #5d6d64;
  --green: #397453;
  --green-dark: #28563d;
  --green-soft: #e8f4ec;
  --line: #d8e3dc;
  --paper: #ffffff;
  --background: #f3f8f5;
  --focus: #0b6bc8;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(88, 153, 112, 0.15), transparent 32rem),
    var(--background);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.nav {
  display: flex;
  width: min(100% - 32px, 960px);
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green-dark);
}

main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.3rem, 8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.panel {
  margin-top: 42px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(31, 62, 44, 0.07);
}

.panel h2,
.policy h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.panel p,
.policy p,
.policy li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.steps {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  gap: 16px;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 14px;
  color: var(--muted);
  line-height: 1.6;
  counter-increment: steps;
}

.steps li::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  content: counter(steps);
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--green);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--green-dark);
}

.button.disabled {
  background: #78867e;
  cursor: not-allowed;
}

.setup-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 4px solid #b16b1f;
  border-radius: 8px;
  background: #fff7eb;
  color: #70461e;
  font-size: 0.94rem;
  line-height: 1.55;
}

.policy {
  margin-top: 44px;
}

.policy section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

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

.policy strong {
  color: var(--ink);
}

.meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: flex;
  width: min(100% - 32px, 960px);
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 620px) {
  .nav {
    min-height: 64px;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  main {
    padding: 52px 0 64px;
  }

  .panel {
    padding: 22px;
    border-radius: 18px;
  }

  .footer-inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
