:root {
  --bg: #f7f7f5;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #1f1f1c;
  --muted: #5e5e57;
  --accent: #2f5d62;
  --border: rgba(31, 31, 28, 0.1);
  --shadow: 0 20px 60px rgba(29, 34, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #fbfbf9 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  width: 1px;
  background: linear-gradient(180deg, rgba(47, 93, 98, 0.18), rgba(47, 93, 98, 0));
}

.page-shell::before {
  top: 128px;
  right: max(24px, calc((100vw - 1120px) / 2) - 8px);
  height: 320px;
}

.page-shell::after {
  bottom: 72px;
  left: max(24px, calc((100vw - 1120px) / 2) - 8px);
  height: 180px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
}

.site-nav a:hover,
.site-footer a:hover,
.primary-link:hover,
.section-copy a:hover {
  color: var(--accent);
}

main {
  padding: 72px 0 48px;
}

.hero {
  padding: 72px 0 88px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.92;
}

.hero-copy,
.section-copy,
.feature-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 36px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(47, 93, 98, 0.22);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--accent);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.content-section {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 36px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.98;
}

.section-copy {
  max-width: 700px;
  margin: 0;
}

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

.feature-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 14px;
}

.feature-card p {
  margin: 0;
}

.contact-section {
  align-items: center;
}

.section-copy a {
  color: var(--accent);
}

.site-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand p {
  color: var(--text);
  font-weight: 600;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 32px, 1120px);
  }

  .site-header,
  .site-footer,
  .content-section {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .feature-grid {
    width: 100%;
  }

  .site-nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .content-section,
  .hero {
    padding: 36px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .page-shell::before {
    top: 156px;
    right: 12px;
    height: 180px;
  }

  .page-shell::after {
    left: 12px;
    bottom: 48px;
    height: 120px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

  main {
    padding-top: 40px;
  }
}
