:root {
  --page: #fbfaf6;
  --page-warm: #f5f1ea;
  --paper: #fffefa;
  --ink: #2c2924;
  --muted: #6f6960;
  --hairline: rgba(44, 41, 36, 0.14);
  --hairline-strong: rgba(44, 41, 36, 0.26);
  --shadow-soft: 0 28px 70px rgba(44, 41, 36, 0.08);
  --shadow-air: 0 18px 44px rgba(44, 41, 36, 0.055);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --title-stretch: 1.5;
  --title-thin-stroke: 2.2px var(--page);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.section-shell {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 74px 0 88px;
  text-align: center;
}

.hero__inner {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
}

h1,
.section-title,
.faq-title,
.application-form h2,
.process-card h2,
.lead-card h3,
.price-row strong {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1,
.section-title,
.faq-title {
  display: inline-block;
  font-weight: 200;
  letter-spacing: -0.014em;
  transform: scaleY(var(--title-stretch));
  transform-origin: center;
  -webkit-text-stroke: var(--title-thin-stroke);
  paint-order: stroke fill;
}

h1 {
  max-width: 950px;
  margin: 0 auto 92px;
  font-size: clamp(4.8rem, 56vw, 7.2rem);
  line-height: 0.76;
}

.hero__subtitle {
  max-width: 650px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
}

.oval-button {
  min-height: 54px;
  padding: 0 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--page);
  color: var(--ink);
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease;
}

.oval-button:hover {
  background: var(--page-warm);
  border-color: rgba(44, 41, 36, 0.52);
}

.oval-button:focus {
  outline: none;
}

.oval-button:focus-visible {
  outline: none;
}

.oval-button--compact {
  justify-self: center;
  margin-top: 10px;
}

.oval-button--full {
  width: 100%;
}

.process {
  padding: 34px 0 124px;
}

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

.process-card {
  min-height: 172px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 30px 26px;
  border: 1px solid var(--hairline);
  border-radius: 34px;
  background: rgba(255, 254, 250, 0.72);
  box-shadow: var(--shadow-air);
  text-align: center;
}

.process-card__number {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.process-card h2 {
  max-width: 265px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.02;
}

.leads {
  padding: 0 0 94px;
}

.leads__layout,
.pricing__layout {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-title {
  margin: 0 0 72px;
  font-size: clamp(3.1rem, 4.5vw, 5.2rem);
  line-height: 0.78;
}

.lead-card,
.pricing-card,
.application-form {
  width: min(720px, 100%);
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: rgba(255, 254, 250, 0.74);
  box-shadow: var(--shadow-soft);
}

.lead-card {
  padding: clamp(24px, 28px, 36px);
}

.lead-card__header {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-bottom: 34px;
}

.lead-card h3 {
  max-width: 610px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.lead-card__badge {
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.lead-details {
  display: grid;
  gap: 0;
  margin: 6px 0 30px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.lead-details div {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  text-align: center;
}

.lead-details div + div {
  border-top: 1px solid var(--hairline);
}

.lead-details dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  justify-self: center;
}

.lead-details dd {
  margin: 0;
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(53, 123, 75, 0.42);
  border-radius: 999px;
  color: #357b4b;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: lowercase;
}

.lead-note {
  max-width: 540px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.soft-divider {
  width: min(760px, 100%);
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: var(--ink);
  opacity: 0.18;
}

.pricing {
  padding: 104px 0 108px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card {
  display: grid;
  gap: 0;
  padding: clamp(24px, 30px, 40px);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.price-row:first-child {
  padding-top: 0;
}

.price-row span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.price-row strong {
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.price-row strong small {
  font-size: 0.7rem;
  padding: 0 6px;
  margin-left: 8px;
  border: 1px solid rgba(176, 68, 56, 0.72);
  border-radius: 999px;
  color: #b04438;
  background: transparent;
  vertical-align: middle;
}

.savings-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  margin-left: 8px;
  border: 1px solid rgba(176, 68, 56, 0.72);
  border-radius: 999px;
  color: #b04438;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
}

.faq {
  padding: 10px 0 100px;
}

.faq .section-shell {
  display: grid;
  justify-items: center;
}

.faq-title {
  margin: 0 auto 64px;
  font-size: clamp(3rem, 4vw, 4.5rem);
  line-height: 0.78;
  text-align: center;
}

.faq-list {
  width: min(780px, calc(100% - 56px));
  display: grid;
  gap: 12px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--hairline);
  border-radius: 26px;
  background: transparent;
  padding: 0;
  overflow: hidden;
}

details[open] {
  border-radius: 30px;
}

summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  list-style: none;
  text-align: left;
  padding: 18px 28px;
  cursor: pointer;
}

summary:focus {
  outline: none;
}

summary:focus-visible {
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "›";
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 160ms ease;
}

details[open] summary::before {
  transform: rotate(90deg) translateX(-1px);
}

details p {
  margin: 0;
  padding: 0 28px 22px 56px;
  color: var(--muted);
  line-height: 1.65;
  text-align: left;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 41, 36, 0.44);
}

.application-form {
  position: relative;
  z-index: 1;
  max-width: 600px;
  max-height: calc(100svh - 40px);
  overflow: auto;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 28px, 38px);
  background: var(--page);
}

.application-form__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.application-form h2 {
  max-width: 420px;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.icon-button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--page);
  color: var(--ink);
  padding: 13px 14px;
  font-weight: 500;
  text-transform: none;
}

.application-form select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--hairline-strong);
  outline: 1px solid var(--hairline-strong);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 820px) {
  .process-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .process-card {
    width: min(460px, 100%);
    min-height: 118px;
    border-radius: 30px;
    padding: 24px 22px;
  }

  .process-card h2 {
    font-size: clamp(1.35rem, 4vw, 1.6rem);
  }
}

@media (max-width: 560px) {
  .section-shell,
  .hero__inner {
    width: min(100% - 28px, 1040px);
  }

  .hero {
    min-height: 92svh;
  }

  h1 {
    font-size: clamp(3.8rem, 12vw, 5.5rem);
    margin-bottom: 72px;
  }

  .section-title {
    margin-bottom: 56px;
  }

  .faq-title {
    margin-bottom: 50px;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .oval-button {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
  }

  .lead-details div,
  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .lead-details dd {
    flex-wrap: wrap;
  }
}
