:root {
  --bg: #f6efe6;
  --bg-muted: #efe5d9;
  --text: #2f2521;
  --subtle: #6b5f57;
  --accent: #d4682d;
  --accent-dark: #b75421;
  --accent-soft: #f2c7a9;
  --border: #ead6c7;
  --card: #ffffff;
  --shadow: 0 24px 50px rgba(27, 16, 8, 0.12);
}

* {
  box-sizing: border-box;
  /* outline: 1px dashed rgba(240, 121, 45, 0.4); */
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #fbf6f0 0%, #f6efe6 40%, #f1e7db 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 104, 45, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(31, 122, 114, 0.12), transparent 40%),
    repeating-linear-gradient(
      120deg,
      rgba(47, 37, 33, 0.03) 0px,
      rgba(47, 37, 33, 0.03) 1px,
      transparent 1px,
      transparent 6px
    );
  pointer-events: none;
  z-index: -1;
}

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

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px clamp(24px, 5vw, 48px) 64px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main section {
  animation: fade-up 0.8s ease both;
}

main section:nth-of-type(1) {
  animation-delay: 0.05s;
}

main section:nth-of-type(2) {
  animation-delay: 0.15s;
}

main section:nth-of-type(3) {
  animation-delay: 0.25s;
}

main section:nth-of-type(4) {
  animation-delay: 0.35s;
}

main section:nth-of-type(5) {
  animation-delay: 0.45s;
}

main section:nth-of-type(6) {
  animation-delay: 0.55s;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 0 32px;
  position: relative;
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(61, 34, 20, 0.05),
    rgba(61, 34, 20, 0.3) 20%,
    rgba(61, 34, 20, 0.3) 80%,
    rgba(61, 34, 20, 0.05)
  );
}

.logo {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 1.65rem;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  color: var(--subtle);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  padding: 12px 26px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #f7a061);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(120deg, var(--accent-dark), var(--accent));
  box-shadow: 0 15px 30px rgba(240, 121, 45, 0.2);
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(120deg, var(--accent), #f7a061);
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: linear-gradient(120deg, var(--accent-dark), var(--accent));
  box-shadow: 0 15px 30px rgba(240, 121, 45, 0.2);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(240, 121, 45, 0.08);
  box-shadow: 0 10px 20px rgba(240, 121, 45, 0.15);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 40px 0 80px;
}

.hero-copy h1 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(2.7rem, 5.3vw, 4.2rem);
  margin: 0 0 16px;
}

.hero-copy .lead {
  color: var(--subtle);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 460px;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  width: 100%;
}

.hero-cta .btn {
  justify-content: center;
}

.hero-cta .btn-primary {
  font-size: 1.1rem;
  padding: 14px 28px;
  width: 100%;
}

.subtext {
  color: var(--subtle);
  text-align: center;
}

.hero-media {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: min(640px, 100%);
}

.section {
  padding: 72px 0;
}

.section.muted {
  background: var(--bg-muted);
  border-radius: 32px;
  padding: 72px clamp(24px, 4vw, 72px);
  margin: 32px 0;
  border: 1px solid rgba(47, 37, 33, 0.08);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
}

.section-heading p {
  color: var(--subtle);
  line-height: 1.6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(58, 32, 16, 0.08);
  animation: fade-up 0.7s ease both;
}

.step-card:nth-child(1) {
  animation-delay: 0.1s;
}

.step-card:nth-child(2) {
  animation-delay: 0.2s;
}

.step-card:nth-child(3) {
  animation-delay: 0.3s;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.benefits article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.05);
  animation: fade-up 0.7s ease both;
}

.benefits article:nth-child(1) {
  animation-delay: 0.1s;
}

.benefits article:nth-child(2) {
  animation-delay: 0.2s;
}

.benefits article:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial-slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 230px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 18px;
  opacity: 0;
  animation: testimonialCycle 24s infinite;
}

.testimonial-card:nth-child(2) {
  animation-delay: 8s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 16s;
}

.quote {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 1.5rem;
  line-height: 1.6;
}

.author {
  margin-top: 12px;
  color: var(--subtle);
}

@keyframes testimonialCycle {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  6% {
    opacity: 1;
    transform: translateY(0);
  }
  28% {
    opacity: 1;
    transform: translateY(0);
  }
  34% {
    opacity: 0;
    transform: translateY(-12px);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.pricing-card {
  background: var(--card);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card ul {
  padding-left: 20px;
  color: var(--subtle);
  line-height: 1.6;
}

.pricing-card .price {
  font-size: 2rem;
  margin: 8px 0 16px;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--subtle);
}

.pricing-card.featured {
  background: linear-gradient(140deg, #fff3ec, #ffd7c0);
  border: 1px solid rgba(240, 121, 45, 0.4);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.12);
}

.pricing-card .tag {
  position: absolute;
  top: 8px;
  right: 24px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(240, 121, 45, 0.25);
}

.cta {
  text-align: center;
}

.cta-card {
  background: linear-gradient(120deg, #fbe3d1, #ffd9c2);
  border-radius: 32px;
  padding: clamp(32px, 8vw, 64px);
  box-shadow: var(--shadow);
}

.cta-form {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-form input {
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  min-width: 240px;
  font-size: 1rem;
}

.cta-form .btn-primary {
  font-size: 1rem;
  padding: 12px 26px;
}

.site-footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--subtle);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
  }

  .main-nav {
    order: 3;
  }

  .hero {
    text-align: center;
  }

  .hero-cta {
    align-items: center;
  }

  .cta-form {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .testimonial-slider {
    display: grid;
    gap: 24px;
    min-height: auto;
  }

  .testimonial-card {
    position: relative;
    opacity: 1 !important;
    animation: none;
    transform: none;
  }
}
