:root {
  --paper: #f4e7db;
  --charcoal: #202020;
  --ochre: #caa65d;
  --ink: #4d435f;
  --cream: #f8f0e5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100dvh;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 2rem) 1rem;
  background: var(--paper);
  color: var(--charcoal);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background: radial-gradient(circle at 12% 16%, rgba(224, 183, 198, 0.42), transparent 44%),
    radial-gradient(circle at 86% 22%, rgba(202, 166, 93, 0.36), transparent 42%),
    radial-gradient(circle at 78% 88%, rgba(77, 67, 95, 0.22), transparent 40%);
}

body::after {
  background-image: radial-gradient(rgba(32, 32, 32, 0.08) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
  opacity: 0.16;
}

.hero {
  position: relative;
  width: min(92vw, 860px);
  padding: clamp(28px, 5vw, 56px);
  border: 2px solid rgba(32, 32, 32, 0.15);
  background: color-mix(in srgb, var(--cream) 88%, white 12%);
  border-radius: 26px;
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.18);
  text-align: center;
  z-index: 1;
  animation: riseIn 900ms cubic-bezier(0.24, 0.8, 0.28, 1) both;
}

.page-stack {
  width: min(92vw, 860px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}

h1 {
  margin: 0.4rem 0 0;
  font-family: "Outfit", "Manrope", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 0.95;
  color: var(--charcoal);
}

.subtitle {
  margin: 1rem auto 0;
  max-width: 50ch;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.cta-btn {
  margin-top: 1.6rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.55rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  background: linear-gradient(130deg, var(--ochre), #dec38a);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 20px rgba(77, 67, 95, 0.26);
}

.cta-btn:hover,
.cta-btn:focus-visible {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 14px 30px rgba(77, 67, 95, 0.34);
  outline: 3px solid rgba(32, 32, 32, 0.16);
  outline-offset: 2px;
}

.process-card {
  border: 2px solid rgba(32, 32, 32, 0.14);
  background: color-mix(in srgb, var(--cream) 92%, white 8%);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 26px);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
}

.process-card h2 {
  margin: 0;
  font-family: "Outfit", "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2.7vw, 1.7rem);
  color: var(--ink);
}

.process-illustration {
  width: 100%;
  height: auto;
  margin-top: 0.85rem;
  display: block;
}

.flow-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2 11;
  opacity: 0.72;
}

.step circle {
  fill: rgba(255, 255, 255, 0.72);
  stroke: rgba(77, 67, 95, 0.55);
  stroke-width: 2;
}

.step text {
  fill: var(--charcoal);
  text-anchor: middle;
  dominant-baseline: middle;
  font-family: "Outfit", "Manrope", "Segoe UI", sans-serif;
  font-size: 23px;
  font-weight: 600;
}

.process-copy {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.9vw, 1.08rem);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 700px) {
  body {
    padding: 1rem;
  }

  .page-stack {
    width: min(94vw, 520px);
  }

  .hero {
    width: 100%;
    padding: clamp(20px, 6vw, 34px);
    border-radius: 18px;
  }

  .process-card {
    border-radius: 16px;
  }

  .step text {
    font-size: 20px;
  }

  body::after {
    opacity: 0.1;
  }

  .living-room-overlay {
    opacity: 0.45;
  }
}
