* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #5b5b5b;
  --accent: #8b1f2b;
  --accent-soft: #f6e8ea;
  --night: #0f0f14;
  --cream: #fff9f2;
  --line: #e4d7c9;
  --shadow: 0 24px 60px rgba(15, 15, 20, 0.12);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #faf7f4;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 7%;
  gap: 24px;
}

.nav-logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 7% 60px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.hero-card {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: 20px;
}

.section {
  padding: 64px 7%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.section.light {
  background: #fff;
}

.section.dark {
  background: var(--night);
  color: #fff;
}

.section.cream {
  background: var(--cream);
}

.section .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--muted);
}

.section.dark .eyebrow {
  color: #b3b3b3;
}

.section-title {
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  line-height: 1.2;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
}

.section.dark .section-lead {
  color: #d0d0d0;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.split .panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.story-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-item {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
}

.story-item strong {
  font-size: 1.05rem;
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
  font-weight: 600;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.card img {
  border-radius: 16px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.timeline-row span {
  font-weight: 700;
  color: var(--accent);
  min-width: 72px;
}

.testimonial {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: italic;
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #f0e1d5;
}

.price-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.form-wrap {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d8c9ba;
  background: #fff;
  font-size: 1rem;
}

.form-field label {
  font-weight: 600;
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 6;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  max-width: 320px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
}

.footer {
  padding: 48px 7%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #111;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 18px;
}

.list li {
  list-style: disc;
}

.layered::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 160px;
  height: 160px;
  background: rgba(139, 31, 43, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.layered > * {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 12px;
}

@media (min-width: 860px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-top {
    flex: 1.1;
  }

  .hero-card {
    flex: 1;
  }

  .split {
    flex-direction: row;
  }

  .cards {
    flex-direction: row;
  }

  .story-grid {
    flex-direction: row;
  }

  .pricing {
    flex-direction: row;
  }

  .form-wrap {
    max-width: 620px;
  }

  .contact-grid {
    flex-direction: row;
  }
}
