:root {
  --ink: #17201f;
  --ink-soft: #26312f;
  --paper: #ece7dc;
  --paper-light: #f8f5ed;
  --signal: #d55234;
  --signal-dark: #af361f;
  --olive: #8d9170;
  --line: rgba(23, 32, 31, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
}

.yandex-noscript-pixel {
  position: absolute;
  left: -9999px;
}

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

button,
input {
  font: inherit;
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

button,
a {
  -webkit-tap-highlight-color: rgba(213, 82, 52, 0.24);
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(141, 145, 112, 0.18), transparent 27%),
    var(--ink);
  color: var(--paper-light);
}

.hero::after {
  content: "";
  position: absolute;
  left: -10vw;
  bottom: -20vw;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255, 255, 255, 0.018), 0 0 0 14vw rgba(255, 255, 255, 0.014);
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--signal);
  color: white;
  font-size: 15px;
  transform: rotate(-4deg);
}

.header-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--paper-light);
  color: var(--ink);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.72fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: center;
  padding-block: clamp(60px, 8vh, 96px) 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: rgba(248, 245, 237, 0.66);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 3px;
  background: var(--signal);
}

.eyebrow.dark {
  color: rgba(23, 32, 31, 0.62);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(72px, 9.4vw, 146px);
  font-stretch: condensed;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  margin-top: 0.16em;
  color: var(--signal);
}

.hero-lead {
  max-width: 560px;
  margin: 36px 0 32px;
  color: rgba(248, 245, 237, 0.72);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 420px);
  min-height: 72px;
  padding: 0 24px 0 28px;
  background: var(--signal);
  color: white;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-cta span {
  font-size: 28px;
  font-weight: 400;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: var(--signal-dark);
  transform: translate(3px, 3px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.18);
}

.form-wrap {
  position: relative;
  scroll-margin-top: 28px;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 18px 18px 0 rgba(141, 145, 112, 0.18);
}

.form-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 88px;
  height: 9px;
  background: var(--signal);
}

.lead-form,
.success-card {
  padding: clamp(28px, 3.4vw, 46px);
}

.form-kicker {
  margin: 0 0 12px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead-form h2,
.success-card h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.form-intro {
  margin: 14px 0 26px;
  color: #616763;
  font-size: 14px;
}

.lead-form label:not(.check-label) {
  display: block;
  margin-top: 17px;
}

.lead-form label > span:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input:not([type="checkbox"]) {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #cfcabc;
  border-radius: 0;
  outline: none;
  background: #fffdf8;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-form input:not([type="checkbox"])::placeholder {
  color: #98998f;
}

.lead-form input:not([type="checkbox"]):focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(213, 82, 52, 0.14);
}

.contact-method {
  min-width: 0;
  margin: 19px 0 0;
  padding: 0;
  border: 0;
}

.contact-method legend {
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-options label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.contact-options input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-options span {
  display: grid;
  min-height: 46px;
  place-items: center;
  margin: 0;
  border: 1px solid #cfcabc;
  background: #fffdf8;
  color: #565d59;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.contact-options input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.contact-options input:focus-visible + span {
  outline: 3px solid #f2ad54;
  outline-offset: 2px;
}

.check-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  margin: 20px 0;
  color: #656b67;
  font-size: 12px;
  line-height: 1.45;
}

.check-label input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--signal);
}

.check-label span {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.submit-button,
.success-card button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease;
}

.submit-button span {
  font-size: 23px;
}

.submit-button:hover,
.submit-button:focus-visible,
.success-card button:hover,
.success-card button:focus-visible {
  background: var(--signal);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-error {
  margin: 0 0 14px;
  color: #a92d1f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.privacy-note {
  margin: 13px 0 0;
  color: #7b7e78;
  font-size: 10px;
  line-height: 1.4;
}

.success-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: center;
}

.success-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 28px;
  background: var(--signal);
  color: white;
  font-size: 30px;
}

.success-card > p:not(.form-kicker) {
  margin: 20px 0 30px;
  color: #616763;
  font-size: 15px;
  line-height: 1.6;
}

.success-card button {
  justify-content: center;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(248, 245, 237, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-foot span:nth-child(2) {
  text-align: center;
}

.hero-foot span:last-child {
  text-align: right;
}

.process {
  padding-block: clamp(82px, 11vw, 145px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading .eyebrow {
  margin: 0 0 8px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

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

.step-card {
  min-height: 260px;
  padding: 24px 28px 30px;
  border-right: 1px solid var(--line);
}

.step-card:first-child {
  padding-left: 0;
}

.step-card:last-child {
  border-right: 0;
}

.step-number {
  display: block;
  margin-bottom: 76px;
  color: var(--signal);
  font-size: 13px;
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 13px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.step-card p {
  max-width: 280px;
  margin: 0;
  color: rgba(23, 32, 31, 0.66);
  font-size: 14px;
  line-height: 1.6;
}

.notice {
  background: var(--signal);
  color: white;
}

.notice-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  padding-block: clamp(52px, 7vw, 86px);
}

.notice-label {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.notice-inner > p:last-child {
  max-width: 750px;
  margin: 0;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer span:last-child {
  color: rgba(23, 32, 31, 0.5);
}

.mobile-sticky-cta {
  display: none;
}

:focus-visible {
  outline: 3px solid #f2ad54;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(76px, 17vw, 126px);
  }

  .form-wrap {
    width: min(100%, 640px);
  }

  .section-heading,
  .notice-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .grid-lines {
    background-size: 46px 46px;
  }

  .site-header {
    min-height: calc(64px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }

  .brand {
    font-size: 10px;
    letter-spacing: 0.09em;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .header-cta {
    display: none;
  }

  .hero-layout {
    gap: 30px;
    padding-block: 30px 0;
  }

  .hero-copy .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(54px, 18.5vw, 76px);
    line-height: 0.84;
    letter-spacing: -0.068em;
  }

  .hero-lead {
    margin: 22px 0 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .primary-cta {
    min-height: 56px;
    padding-inline: 19px;
    font-size: 12px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.18);
  }

  .form-wrap {
    width: calc(100% + 28px);
    margin-left: -14px;
    scroll-margin-top: 12px;
    box-shadow: none;
  }

  .lead-form,
  .success-card {
    padding: 30px 20px;
  }

  .lead-form h2,
  .success-card h2 {
    font-size: 30px;
  }

  .lead-form .form-kicker,
  .lead-form .form-intro {
    display: none;
  }

  .lead-form label:not(.check-label) {
    margin-top: 18px;
  }

  .lead-form input:not([type="checkbox"]) {
    height: 56px;
    padding-inline: 16px;
    font-size: 16px;
  }

  .contact-method {
    margin-top: 18px;
  }

  .contact-options span {
    min-height: 50px;
    font-size: 10px;
  }

  .check-label {
    grid-template-columns: 22px 1fr;
    margin-block: 22px;
    font-size: 14px;
  }

  .check-label input {
    width: 20px;
    height: 20px;
  }

  .submit-button,
  .success-card button {
    min-height: 60px;
  }

  .privacy-note {
    font-size: 12px;
  }

  .primary-cta:active,
  .submit-button:active,
  .mobile-sticky-cta:active {
    transform: scale(0.985);
  }

  body:has(#apply:focus-within) .mobile-sticky-cta {
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
    opacity: 0;
    pointer-events: none;
  }

  .success-card {
    min-height: 480px;
  }

  .hero-foot {
    display: none;
  }

  .process {
    padding-block: 80px;
  }

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

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

  .step-card,
  .step-card:first-child {
    display: grid;
    grid-template-columns: 56px 1fr;
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step-number {
    margin: 3px 0 0;
  }

  .notice-inner {
    padding-block: 50px;
  }

  .notice-inner > p:last-child {
    font-size: 18px;
  }

  .site-footer {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 50;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 18px;
    background: var(--signal);
    color: white;
    box-shadow: 0 10px 30px rgba(23, 32, 31, 0.28);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-sticky-cta span:last-child {
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
  }

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

  .hero h1 {
    font-size: clamp(54px, 19vw, 68px);
  }

  .form-wrap {
    width: calc(100% + 22px);
    margin-left: -11px;
  }

  .contact-options {
    gap: 5px;
  }

  .contact-options span {
    font-size: 9px;
    letter-spacing: 0;
  }
}

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

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