:root {
  --background: #f7f3ef;
  --surface: #fffaf7;
  --surface-strong: #d8c8ba;
  --text: #2c211c;
  --text-muted: #5e5149;
  --accent: #6a1e2c;
  --accent-dark: #4f1722;
  --border: rgba(44, 33, 28, 0.12);
  --shadow: 0 18px 40px rgba(44, 33, 28, 0.08);
  --radius: 24px;
  --container: 1160px;
}

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

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 200, 186, 0.35), transparent 36%),
    linear-gradient(180deg, #fcf9f6 0%, var(--background) 100%);
}

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

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

p,
ul {
  margin: 0;
}

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

h1 {
  font-size: clamp(3.25rem, 7vw, 5.25rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

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

.narrow {
  width: min(calc(100% - 2rem), 820px);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 239, 0.96);
  border-bottom: 1px solid rgba(44, 33, 28, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
}

.brand-text {
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  color: var(--text);
}

.hero,
.page-hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: end;
}

.hero-copy,
.hero-card,
.card,
.cta-card,
.contact-panel,
.steps article,
.error-shell {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem 0;
}

.hero-card,
.card,
.contact-panel,
.steps article {
  background: rgba(255, 250, 247, 0.88);
  border-radius: var(--radius);
}

.hero-card {
  padding: 2rem;
}

.eyebrow,
.card-kicker,
.footer-heading,
.contact-note {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.lead,
.section-copy,
.rich-text p,
.contact-panel p,
.card p,
.steps p,
.footer-grid p {
  color: var(--text-muted);
}

.lead {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 42rem;
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
}

.hero-actions {
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.button {
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--border);
}

.feature-list {
  display: grid;
  gap: 1rem;
  padding-left: 1.15rem;
  margin-top: 1.25rem;
  color: var(--text-muted);
}

.section {
  padding: 3rem 0;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(216, 200, 186, 0.26), rgba(216, 200, 186, 0.12));
}

.intro-grid,
.split-layout,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.intro-grid,
.split-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  padding: 1.8rem;
}

.card h2,
.card h3 {
  margin: 0.5rem 0 0.8rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 600;
}

.steps {
  display: grid;
  gap: 1.25rem;
}

.steps article {
  display: grid;
  gap: 0.75rem;
  padding: 1.6rem;
}

.steps span {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.cta-section {
  padding-bottom: 5rem;
}

.cta-card {
  background: linear-gradient(135deg, var(--accent) 0%, #7f2334 100%);
  color: #fff;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-card .eyebrow,
.cta-card h2 {
  color: #fff;
}

.cta-card .button-primary {
  background: #fff;
  color: var(--accent);
}

.site-footer {
  padding: 1.5rem 0 3rem;
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  color: var(--text);
}

.footer-grid a {
  display: block;
  margin-top: 0.55rem;
  color: var(--text-muted);
}

.footer-note {
  margin-top: 1rem;
}

.contact-panel {
  padding: 1.8rem;
}

.contact-link {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.error-shell {
  width: min(calc(100% - 2rem), 640px);
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 250, 247, 0.9);
  text-align: center;
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    backdrop-filter: blur(12px);
    background: rgba(247, 243, 239, 0.88);
  }
}

@supports (-moz-appearance: none) {
  .site-header {
    backdrop-filter: none;
    background: rgba(247, 243, 239, 0.98);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .intro-grid,
  .split-layout,
  .cards-three,
  .footer-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-card {
    align-items: flex-start;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 250, 247, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero,
  .section {
    padding: 2.5rem 0;
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .hero-card,
  .card,
  .steps article,
  .contact-panel,
  .cta-card,
  .error-shell {
    padding: 1.4rem;
  }
}
