:root {
  --forest-950: #031d17;
  --forest-900: #06271f;
  --forest-800: #0b3a2e;
  --cream: #f7f1df;
  --cream-deep: #eadfc2;
  --ink: #27251f;
  --muted: #6e6859;
  --saffron: #f2ad2f;
  --saffron-dark: #9b6210;
  --green: #176b4b;
  --line: rgba(65, 56, 35, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(1rem, 4vw, 3.5rem) 1rem;
  color: var(--ink);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 15% 0%, rgba(242, 173, 47, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 28%, rgba(66, 142, 103, 0.16), transparent 32rem),
    var(--forest-950);
}

a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.shell {
  width: min(100%, 760px);
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: #c7d9d1;
  font-size: 0.9rem;
  opacity: 0.85;
  text-decoration: none;
}

.back-link:hover {
  opacity: 1;
}

.brand {
  display: grid;
  justify-items: center;
  margin: 0.25rem 0 1.5rem;
  text-align: center;
}

.brand-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 0.8rem;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

.wordmark {
  margin: 0;
  color: #fffdf5;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: clamp(2.4rem, 9vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.wordmark span {
  color: var(--saffron);
}

.brand-subtitle {
  margin: 0.4rem 0 0;
  color: #bdd2c9;
  font-weight: 700;
}

.suits {
  margin-top: 0.7rem;
  color: var(--saffron);
  font-size: 1.1rem;
  letter-spacing: 0.65rem;
}

.paper {
  padding: clamp(1.4rem, 5vw, 2.6rem);
  overflow: hidden;
  border: 1px solid var(--cream-deep);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.paper h1,
.paper h2,
.paper h3 {
  font-family: "Baloo 2", system-ui, sans-serif;
  line-height: 1.2;
}

.paper h1 {
  margin: 0;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
}

.paper h2 {
  margin: 2rem 0 0.45rem;
  font-size: 1.25rem;
}

.paper p,
.paper ul {
  margin: 0 0 0.9rem;
}

.paper ul {
  padding-left: 1.25rem;
}

.paper li + li {
  margin-top: 0.35rem;
}

.lede,
.effective {
  color: var(--muted);
}

.lede {
  margin-top: 0.25rem !important;
  font-size: 1.05rem;
}

.effective {
  font-size: 0.9rem;
}

.summary,
.contact-card,
.feature {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf0;
}

.summary,
.contact-card {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
}

.summary p,
.contact-card p {
  margin: 0;
}

.contact-card .email {
  display: inline-block;
  margin: 0.25rem 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.feature {
  padding: 1rem;
}

.feature h2 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
}

.button.secondary {
  color: var(--green);
  background: transparent;
}

.site-footer {
  padding: 1.4rem 0 0.2rem;
  color: #b7cbc2;
  font-size: 0.88rem;
  text-align: center;
}

.site-footer a {
  color: #fff;
}

.site-footer .separator {
  margin: 0 0.45rem;
  opacity: 0.45;
}

.copyright {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  opacity: 0.55;
}

@media (max-width: 580px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
