:root {
  --container: 1180px;
  --gutter: 20px;
  --grid-gap: clamp(22px, 4vw, 72px);
  --section-y: clamp(72px, 9vw, 118px);
  --bg: #f6f5f1;
  --paper: #ffffff;
  --ink: #141615;
  --muted: #626761;
  --line: #d8d5ca;
  --soft: #e8e5dc;
  --deep: #17231f;
  --deep-2: #22342e;
  --accent: #bf8f4f;
  --accent-dark: #8a6337;
  --green: #2f463d;
  --radius: 8px;
  --shadow: 0 28px 70px rgba(20, 22, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 32px), var(--container));
  min-height: 58px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(246, 245, 241, 0.82);
  box-shadow: 0 18px 60px rgba(20, 22, 21, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  background: var(--paper);
  color: var(--deep);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  font-size: 15px;
}

.button--primary {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 16px 38px rgba(23, 35, 31, 0.22);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button--primary:hover {
  background: var(--green);
  box-shadow: 0 20px 42px rgba(23, 35, 31, 0.28);
}

.hero {
  min-height: 92vh;
  padding: 132px var(--gutter) 56px;
  background:
    linear-gradient(110deg, rgba(246, 245, 241, 0.98) 0%, rgba(246, 245, 241, 0.94) 48%, rgba(232, 229, 220, 0.72) 100%),
    radial-gradient(circle at 88% 12%, rgba(191, 143, 79, 0.22), transparent 32%),
    var(--bg);
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: var(--grid-gap);
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.hero__copy {
  grid-column: span 8;
  padding: 0 0 24px;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(40px, 4.7vw, 64px);
}

h2 {
  font-size: clamp(34px, 3.8vw, 56px);
}

.hero__lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #383d38;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.45;
}

.hero__markers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 850px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero__markers li {
  position: relative;
  min-height: 0;
  padding: 0 0 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #303631;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.hero__markers li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__action {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.hero__action p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero__portrait {
  position: relative;
  grid-column: span 4;
  align-self: stretch;
  min-height: min(600px, calc(100vh - 154px));
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.hero__portrait::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  min-height: min(600px, calc(100vh - 154px));
  object-fit: cover;
  object-position: center top;
}

.portrait-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background: rgba(23, 35, 31, 0.82);
  color: #fff;
  backdrop-filter: blur(14px);
}

.portrait-card strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.portrait-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.section__head {
  display: grid;
  grid-template-columns: minmax(52px, 76px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

.section__head--stack {
  grid-template-columns: 1fr;
  gap: 16px;
}

.section__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-dark);
  font-weight: 800;
}

.section__intro,
.section__closing {
  margin: 0;
  color: #343934;
  font-size: 23px;
  line-height: 1.42;
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: 48px;
}

.pain__grid > .section__intro {
  grid-column: span 5;
}

.pain__grid > .check-list {
  grid-column: 7 / -1;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list p,
.result__grid p {
  position: relative;
  margin: 0;
  padding: 15px 18px 15px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  color: #2c312d;
  font-size: 16px;
  font-weight: 700;
}

.check-list p::before,
.result__grid p::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list--dense p {
  background: rgba(255, 255, 255, 0.72);
}

.section__closing {
  max-width: 900px;
  margin-top: 46px;
  padding-left: 104px;
}

.section--image {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: var(--grid-gap);
}

.section--image > .media-frame {
  grid-column: span 5;
}

.section--image > .section__body {
  grid-column: 7 / -1;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: clamp(420px, 44vw, 540px);
  object-fit: cover;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 94px;
  padding: 20px 22px 20px 78px;
  border-top: 1px solid var(--line);
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 4px;
  font-size: 19px;
}

.process-list span {
  color: var(--muted);
}

.fit {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

.fit__column {
  grid-column: span 6;
  padding: 42px;
  border-radius: var(--radius);
}

.fit__column--positive {
  background: var(--deep);
  color: #fff;
}

.fit__column--positive .section__head span,
.fit__column--negative .section__head span {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--accent);
}

.fit__column--positive .check-list p {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.fit__column--negative {
  background: #ebe7db;
}

.fit__column .check-list {
  margin-top: 34px;
}

.check-list--muted p::before {
  background: #7e8580;
}

.fit__note {
  margin: 28px 0 0;
  color: #4f554f;
  font-weight: 700;
}

.trust {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.trust__copy {
  grid-column: span 8;
}

.trust__portrait {
  grid-column: span 4;
}

.trust__copy p,
.start__grid p,
.payment p,
.final__copy p,
.modal__panel p {
  color: #3b403b;
  font-size: 18px;
  line-height: 1.72;
}

.trust__copy p:first-of-type {
  margin-top: 34px;
}

.trust__portrait {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.trust__portrait img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.start {
  padding: clamp(40px, 6vw, 72px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(20, 22, 21, 0.08);
}

.start__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: 38px;
}

.start__grid p {
  grid-column: span 6;
}

.start__grid p {
  margin: 0;
}

.payment {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.payment > .section__body {
  grid-column: span 5;
}

.payment > .media-frame {
  grid-column: 7 / -1;
}

.payment .media-frame img {
  height: clamp(380px, 38vw, 500px);
}

.media-frame--dark {
  background: var(--deep);
}

.result__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.result__grid p {
  grid-column: span 4;
}

.final {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto 80px;
  padding: clamp(40px, 6vw, 68px);
  border-radius: var(--radius);
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.final__copy {
  grid-column: span 7;
}

.selection-form {
  grid-column: span 5;
}

.final h2 {
  max-width: 680px;
}

.final__copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
}

.selection-form,
.modal-form {
  display: grid;
  gap: 14px;
}

.selection-form label,
.modal-form label {
  display: grid;
  gap: 7px;
}

.selection-form span,
.modal-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.selection-form input,
.modal-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.selection-form input::placeholder,
.modal-form input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.selection-form input:focus,
.modal-form input:focus {
  border-color: rgba(191, 143, 79, 0.9);
  box-shadow: 0 0 0 4px rgba(191, 143, 79, 0.16);
}

.selection-form .button,
.modal-form .button {
  margin-top: 6px;
  background: var(--accent);
  color: #1b1711;
}

.lead-form__note,
.lead-form__status {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 21, 0.58);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--deep);
  color: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.modal__panel h2 {
  font-size: 42px;
}

.modal__panel p {
  color: rgba(255, 255, 255, 0.72);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 98px 18px 42px;
  }

  .hero__content,
  .section--image,
  .pain__grid,
  .fit,
  .trust,
  .start__grid,
  .final {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .hero__portrait,
  .pain__grid > .section__intro,
  .pain__grid > .check-list,
  .section--image > .media-frame,
  .section--image > .section__body,
  .fit__column,
  .trust__copy,
  .trust__portrait,
  .start__grid p,
  .payment > .section__body,
  .payment > .media-frame,
  .result__grid p,
  .final__copy,
  .selection-form {
    grid-column: auto;
  }

  .hero__content {
    gap: 34px;
  }

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

  .hero__portrait,
  .hero__portrait img {
    min-height: 560px;
  }

  .section,
  .final {
    width: min(100% - 36px, 720px);
  }

  .section {
    padding: 76px 0;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section__closing {
    padding-left: 0;
  }

  .start,
  .final {
    padding: 42px 24px;
  }

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

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 52px;
    padding: 6px 6px 6px 12px;
  }

  .brand {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero__action {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero__portrait,
  .hero__portrait img {
    min-height: 470px;
  }

  .media-frame img,
  .payment .media-frame img,
  .trust__portrait img {
    height: 330px;
  }

  .fit__column {
    padding: 28px 20px;
  }

  .check-list p,
  .result__grid p {
    padding-right: 14px;
    font-size: 15px;
  }

  .section__intro,
  .section__closing {
    font-size: 19px;
  }

  .modal__panel {
    padding: 34px 20px 24px;
  }

  .modal__panel h2 {
    font-size: 34px;
  }
}
