:root {
  --ink: #141c1a;
  --ink-soft: #404845;
  --paper: #f6f8fa;
  --paper-elevated: #fbfcfd;
  --teal: #0f6e56;
  --teal-deep: #085340;
  --teal-soft: #d0f1e5;
  --slate: #3d5a80;
  --sand: #b08968;
  --line: #bfc9c4;
  --max: 72rem;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 110, 86, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(61, 90, 128, 0.12), transparent 50%),
    linear-gradient(180deg, #eef5f2 0%, var(--paper) 38%, #e8eef1 100%);
}

a {
  color: var(--teal-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--teal);
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(246, 248, 250, 0.82);
  border-bottom: 1px solid rgba(191, 201, 196, 0.55);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--teal);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--teal-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 44rem);
  display: grid;
  align-items: end;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(14, 20, 18, 0.72) 0%, rgba(14, 20, 18, 0.35) 45%, rgba(14, 20, 18, 0.55) 100%),
    url("../assets/hero.svg") center / cover no-repeat,
    linear-gradient(135deg, #0e1412, #16352c 45%, #1a3248);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
  color: #f2f7f5;
  max-width: 38rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero__lead {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 28ch;
}

.hero__support {
  margin: 0 0 1.75rem;
  color: rgba(242, 247, 245, 0.86);
  max-width: 36ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: #8fd5bc;
  color: #003828;
}

.button--primary:hover {
  background: #a8f2d8;
  color: #003828;
}

.button--ghost {
  background: transparent;
  border-color: rgba(242, 247, 245, 0.45);
  color: #f2f7f5;
}

.button--ghost:hover {
  border-color: #f2f7f5;
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.section > .wrap > p.lead {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.feature {
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 1.1rem;
  background: color-mix(in srgb, var(--paper-elevated) 88%, white);
  border: 1px solid rgba(191, 201, 196, 0.7);
  box-shadow: 0 1px 0 rgba(20, 28, 26, 0.03);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.legal {
  padding: 3rem 0 5rem;
}

.legal .wrap {
  width: min(100% - 2rem, 48rem);
  background: rgba(251, 252, 253, 0.9);
  border: 1px solid rgba(191, 201, 196, 0.65);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 18px 40px rgba(14, 20, 18, 0.05);
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.legal .meta {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid rgba(191, 201, 196, 0.7);
  padding: 2rem 0 2.5rem;
  background: rgba(238, 245, 242, 0.65);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
