:root {
  --bg: #f3f0e8;
  --surface: #fffdfa;
  --surface-strong: #e3ddd0;
  --text: #1c2a2d;
  --muted: #56676a;
  --line: rgba(28, 42, 45, 0.12);
  --brand: #0f5b78;
  --brand-deep: #123847;
  --accent: #c97f37;
  --shadow: 0 18px 50px rgba(18, 56, 71, 0.14);
  --radius: 22px;
  --shell: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(201, 127, 55, 0.14), transparent 26%),
    linear-gradient(180deg, #f8f5ee 0%, var(--bg) 50%, #ece6da 100%);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.6;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.narrow {
  max-width: 720px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(248, 245, 238, 0.8);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.hero-grid,
.split-panel,
.contact-panel {
  display: grid;
  gap: 2rem;
}

.header-inner {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 1rem 0;
}

.brand img {
  width: 210px;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a,
.footer-inner a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--brand);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
}

.hero h1,
.section h2,
.section h1 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy,
.hero-card,
.card,
.step,
.contact-card {
  animation: rise-in 700ms ease both;
}

.hero-card {
  animation-delay: 140ms;
}

.card:nth-child(2),
.step:nth-child(2) {
  animation-delay: 120ms;
}

.card:nth-child(3),
.step:nth-child(3) {
  animation-delay: 220ms;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  max-width: 12ch;
}

.lede {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-actions,
.hero-points,
.cards,
.steps {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--brand-deep);
  color: #fff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-points {
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.6rem;
}

.hero-card,
.card,
.step,
.contact-card {
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid rgba(18, 56, 71, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-card {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.stat-block {
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 91, 120, 0.08), rgba(255, 255, 255, 0.9));
}

.stat-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section {
  padding: 2rem 0 4.5rem;
}

.section-accent {
  background: linear-gradient(180deg, rgba(18, 56, 71, 0.04), rgba(201, 127, 55, 0.06));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section h2,
.section h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.cards-3,
.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step,
.contact-card {
  padding: 1.6rem;
}

.card h3,
.step h3 {
  margin-top: 0;
}

.card:hover,
.step:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 91, 120, 0.18);
  box-shadow: 0 24px 58px rgba(18, 56, 71, 0.18);
}

.step span {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 700;
}

.split-panel {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.checklist {
  display: grid;
  gap: 1rem;
}

.checklist div {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 253, 250, 0.75);
}

.contact-panel {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.section-contact {
  padding-bottom: 5.5rem;
}

.contact-card p {
  margin: 0 0 1rem;
}

.site-footer {
  padding: 1.4rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-brand {
  margin-bottom: 0.2rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-panel,
  .contact-panel,
  .cards-3,
  .steps,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.4rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 0.8rem 1rem;
  }

  .brand img {
    width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
