:root {
  --ink: #17130f;
  --muted: #5f574f;
  --paper: #fbfaf8;
  --surface: #ffffff;
  --soft: #f7efe6;
  --line: #eadccd;
  --accent: #b55c18;
  --accent-dark: #8f4210;
  --shadow: 0 7px 24px rgba(70, 42, 20, 0.08);
  --content: 1040px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
  letter-spacing: 0;
}

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

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(181, 92, 24, 0.38);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(235px, 1fr) auto auto;
  align-items: center;
  gap: 42px;
  width: calc(100% - 20px);
  min-height: 58px;
  margin: 8px auto 0;
  padding: 8px 18px 8px 38px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #eee7df;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(58, 33, 14, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1;
}

.brand__mark {
  width: 27px;
  height: 27px;
  color: var(--accent);
  stroke-width: 1.8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  min-height: 44px;
  padding: 0 25px;
  border-radius: 7px;
  font-weight: 700;
  cursor: default;
}

.button--primary {
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 5px 15px rgba(181, 92, 24, 0.16);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid #b9aea5;
}

.header-cta {
  min-height: 42px;
  padding-inline: 24px;
  font-size: 13px;
}

.menu-button {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-button svg {
  width: 21px;
  height: 21px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(430px, 42%) 1fr;
  height: 475px;
  min-height: 475px;
  margin-top: -1px;
  overflow: hidden;
  background: #f8f3ed;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  background: var(--paper);
}

.hero__copy::after {
  position: absolute;
  z-index: -1;
  top: -4%;
  right: -100px;
  width: 205px;
  height: 108%;
  background: var(--paper);
  border-radius: 50%;
  content: "";
}

.hero__content {
  width: min(100%, 515px);
  padding: 30px 68px 44px 66px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: none;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 460px;
  font-size: clamp(44px, 4.45vw, 63px);
  line-height: 0.98;
}

.hero__description {
  max-width: 440px;
  margin: 23px 0 0;
  color: #2d2925;
  font-size: 15px;
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 25px;
}

.hero__visual {
  min-width: 0;
  background-color: #9b653d;
  background-image: url("assets/background.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 16px 0 0;
}

.section-heading {
  margin-bottom: 13px;
  text-align: center;
}

.section-heading .eyebrow {
  display: none;
}

.section-heading h2 {
  display: inline-block;
  position: relative;
  font-size: 31px;
  line-height: 1.2;
}

.section-heading h2::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 40px;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: translateX(-50%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 132px;
  padding: 18px 17px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon-disc {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--accent);
  background: var(--soft);
  border-radius: 50%;
}

.icon-disc svg {
  width: 37px;
  height: 37px;
  stroke-width: 1.65;
}

.benefit-card h3,
.step-card h3,
.faq-item h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.benefit-card p,
.step-card p,
.faq-item p {
  margin: 8px 0 0;
  color: #3d3833;
  font-size: 11px;
  line-height: 1.52;
}

.section--steps {
  padding-top: 13px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 62px 1fr 62px 1fr;
  align-items: center;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 25px 22px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-card__number {
  position: absolute;
  top: -15px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #fff;
  background: var(--accent);
  border: 3px solid var(--paper);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 16px;
  transform: translateX(-50%);
}

.step-card__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
  color: var(--accent);
  stroke-width: 1.6;
}

.step-connector {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 25px;
  color: #bfa99b;
}

.step-connector::before {
  position: absolute;
  right: 10px;
  left: 7px;
  border-top: 3px dotted #c8afa0;
  content: "";
}

.step-connector svg {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  background: var(--paper);
  stroke-width: 2;
}

.section--faq {
  padding-top: 11px;
  padding-bottom: 12px;
}

.faq-list {
  display: grid;
  gap: 6px;
}

.faq-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
  min-height: 65px;
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-item > svg {
  width: 18px;
  height: 18px;
  margin-top: 10px;
}

.faq-item p {
  margin-top: 2px;
}

.site-footer {
  padding: 15px 38px 0;
  background: #faf6f1;
  border-top: 1px solid #efe2d5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1fr;
  gap: 58px;
  width: min(100%, var(--content));
  margin: 0 auto;
}

.brand--footer {
  gap: 9px;
  font-size: 24px;
}

.brand--footer .brand__mark {
  width: 24px;
  height: 24px;
}

.footer-about > p {
  max-width: 240px;
  margin: 12px 0;
  font-size: 11px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  cursor: default;
}

.socials svg {
  width: 17px;
  height: 17px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 5px;
  font-size: 11px;
}

.footer-column h2 {
  margin: 0 0 5px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--accent-dark);
}

.footer-contact p {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 8px;
  margin: 0;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
}

.copyright {
  width: min(100%, var(--content));
  margin: 17px auto 0;
  padding: 9px 0 8px;
  border-top: 1px solid #eadbcd;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 1023px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    padding-left: 22px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: minmax(390px, 48%) 1fr;
  }

  .hero__content {
    padding-left: 42px;
    padding-right: 45px;
  }

  .benefit-card {
    grid-template-columns: 58px 1fr;
    padding-inline: 13px;
  }

  .icon-disc {
    width: 56px;
    height: 56px;
  }

  .icon-disc svg {
    width: 29px;
    height: 29px;
  }

  .steps-grid {
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .site-header {
    position: sticky;
    top: 6px;
    grid-template-columns: 1fr auto;
    width: calc(100% - 16px);
    min-height: 58px;
    margin-top: 6px;
    padding: 7px 9px 7px 15px;
  }

  .brand {
    gap: 8px;
    font-size: 22px;
  }

  .brand__mark {
    width: 23px;
    height: 23px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    margin-top: 8px;
    overflow: visible;
  }

  .hero__copy {
    display: block;
  }

  .hero__copy::after {
    display: none;
  }

  .hero__content {
    width: 100%;
    padding: 46px 22px 35px;
  }

  .hero .eyebrow {
    display: block;
  }

  h1 {
    max-width: 540px;
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.02;
  }

  .hero__description {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 23px;
  }

  .hero__actions .button {
    padding-inline: 12px;
  }

  .hero__visual {
    min-height: 285px;
  }

  .section {
    width: min(calc(100% - 32px), 560px);
    padding-top: 40px;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .section-heading .eyebrow {
    display: block;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .benefit-card {
    grid-template-columns: 65px 1fr;
    min-height: 120px;
    padding: 16px;
  }

  .icon-disc {
    width: 62px;
    height: 62px;
  }

  .benefit-card h3,
  .step-card h3,
  .faq-item h3 {
    font-size: 14px;
  }

  .benefit-card p,
  .step-card p,
  .faq-item p {
    font-size: 12px;
  }

  .section--steps {
    padding-top: 46px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step-card {
    min-height: 165px;
    padding: 30px 24px 20px;
  }

  .step-card p {
    max-width: 310px;
  }

  .step-connector {
    justify-content: center;
    width: 24px;
    height: 45px;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .step-connector::before {
    right: 2px;
    left: 2px;
  }

  .section--faq {
    padding-top: 45px;
    padding-bottom: 36px;
  }

  .faq-list {
    gap: 9px;
  }

  .faq-item {
    gap: 8px;
    padding: 15px;
  }

  .faq-item > svg {
    margin-top: 2px;
  }

  .site-footer {
    padding: 34px 22px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-about > p {
    max-width: 420px;
    font-size: 12px;
  }

  .footer-column {
    font-size: 12px;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  .hero__actions {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-about,
  .footer-contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}