:root {
  --ink: #2f2a25;
  --muted: #75685b;
  --beige: #b7a58f;
  --beige-soft: #fbf7f0;
  --line: #eadfce;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 22px clamp(20px, 6vw, 92px);
  backdrop-filter: blur(12px);
}

.brand {
  color: #8b765e;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #7c6c5b;
  font-size: 15px;
}

nav a {
  text-decoration: none;
}

.nav-button,
.primary,
.secondary,
.modal-cta {
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.nav-button {
  border-radius: 999px;
  background: var(--beige);
  color: var(--white);
  padding: 12px 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(42px, 5vw, 72px);
  max-width: 1280px;
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 94px) clamp(20px, 6vw, 72px);
}

.eyebrow,
.modal-eyebrow {
  color: #a9957d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 0;
  color: #2c2722;
  font-size: clamp(58px, 7.6vw, 96px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.intro {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.primary,
.secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 16px;
}

.primary {
  background: var(--ink);
  color: var(--white);
}

.secondary {
  border: 1px solid #decfbd;
  background: var(--white);
  color: #6f6255;
}

.hero-image {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 660px);
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-image figcaption {
  position: absolute;
  left: 36px;
  bottom: 28px;
  min-width: 280px;
  background: rgba(47, 42, 37, 0.78);
  color: #cbbba4;
  padding: 22px 26px;
  font-size: 14px;
  line-height: 1.7;
}

.hero-image span {
  display: block;
  margin-bottom: 4px;
  color: #b7a58f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.details span {
  padding: 28px 18px;
  text-align: center;
  color: #7c6c5b;
  font-size: 15px;
}

.details span + span {
  border-left: 1px solid var(--line);
}

.faq {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 72px);
}

.faq article {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 7vw, 96px);
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.faq h2 {
  margin: 0;
  color: #2c2722;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
}

.faq p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.95;
}

.faq a {
  text-decoration-color: #b7a58f;
  text-underline-offset: 6px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(47, 42, 37, 0.9);
  padding: 22px;
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(100%, 760px);
  background: var(--beige-soft);
  padding: clamp(34px, 5vw, 72px);
}

.close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid #e4d8c8;
  border-radius: 999px;
  background: transparent;
  color: #746656;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal h2 {
  margin: 18px 0 0;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1.1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
}

.steps div {
  padding: 0 28px;
}

.steps div:first-child {
  padding-left: 0;
}

.steps div + div {
  border-left: 1px solid #e4d8c8;
}

.steps span {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.steps h3 {
  margin: 24px 0 0;
  font-size: 23px;
  line-height: 1.25;
}

.steps p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.modal-cta {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    padding: 18px 20px;
  }

  nav a {
    display: none;
  }

  .hero,
  .faq article {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 48px;
  }

  .hero-image {
    justify-self: stretch;
  }

  .details,
  .steps {
    grid-template-columns: 1fr;
  }

  .details span + span,
  .steps div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .steps div,
  .steps div:first-child {
    padding: 26px 0;
  }

  .steps {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 14px;
  }

  .nav-button {
    padding: 10px 16px;
  }

  .actions {
    flex-direction: column;
  }

  .hero-image figcaption {
    position: static;
    min-width: 0;
  }
}
