:root {
  --bg: #f4efe7;
  --bg-alt: #ede5d8;
  --bg-soft: #faf7f1;
  --surface: #fffdf9;
  --text: #151b1f;
  --text-muted: #667177;
  --hero-text: rgba(244, 247, 243, 0.82);
  --line: rgba(216, 205, 189, 0.82);
  --line-soft: rgba(216, 205, 189, 0.58);
  --hero: #111214;
  --hero-strong: #060708;
  --hero-accent: #1d2024;
  --accent: #ba8748;
  --accent-strong: #8e6436;
  --accent-soft: #d9bb8c;
  --shadow: 0 26px 70px rgba(4, 6, 8, 0.18);
  --shadow-soft: 0 16px 38px rgba(4, 6, 8, 0.08);
  --radius: 18px;
  --radius-sm: 14px;
  --container: 1120px;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8f4ed 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

button {
  cursor: pointer;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: min(calc(100% - 1.5rem), var(--container));
  margin: 0 auto;
}

.page-main {
  padding: 0 0 1.6rem;
}

.hero,
.section {
  padding: 0.65rem 0;
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.78) 0%, rgba(5, 6, 8, 0.64) 24%, rgba(5, 6, 8, 0.34) 44%, rgba(5, 6, 8, 0.1) 64%, rgba(5, 6, 8, 0.03) 82%, rgba(5, 6, 8, 0.08) 100%),
    radial-gradient(circle at 82% 18%, rgba(186, 135, 72, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(7, 8, 10, 0.08), rgba(7, 8, 10, 0.22)),
    url("assets/images/nathan-hero.jpg");
  background-size: cover;
  background-position: 69% center;
  pointer-events: none;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10rem;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0) 0%, rgba(244, 239, 231, 0.9) 100%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.45rem;
  align-items: center;
}

.hero__mobile-media,
.hero__title--mobile,
.hero__subtitle--mobile,
.hero__subheadline--mobile {
  display: none;
}

.hero__content {
  position: relative;
  overflow: hidden;
  padding: 1.3rem 1rem 1.05rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(9, 10, 12, 0.64) 0%, rgba(9, 10, 12, 0.5) 48%, rgba(9, 10, 12, 0.12) 100%);
  color: #f4f7f3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 56px rgba(3, 5, 7, 0.18);
  backdrop-filter: blur(6px);
}

.hero__backdrop {
  position: absolute;
  left: 1.2rem;
  top: 1.1rem;
  width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 187, 140, 0.88), rgba(217, 187, 140, 0));
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(244, 247, 243, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: rgba(244, 247, 243, 0.38);
}

h1,
h2 {
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  margin-top: 0.75rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.05rem, 5.8vw, 4.1rem);
  max-width: 11ch;
  text-wrap: pretty;
}

.hero__title {
  margin-top: 0.75rem;
}

.hero__subtitle {
  color: rgba(244, 247, 243, 0.92);
  font-size: 1.02rem;
  line-height: 1.45;
}

.hero__subheadline {
  margin-top: 0.8rem;
  max-width: 46ch;
  color: var(--hero-text);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero__bullets {
  display: grid;
  gap: 0.68rem;
  margin-top: 1rem;
}

.hero__bullets li,
.fit-list li {
  position: relative;
  padding-left: 1.45rem;
  line-height: 1.45;
}

.hero__bullets li {
  color: rgba(244, 247, 243, 0.95);
  font-weight: 500;
  font-size: 0.92rem;
}

.hero__bullets li::before,
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
}

.hero__bullets li::before {
  background: var(--accent-soft);
}

.hero__person {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.05rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero__portrait {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.1), rgba(5, 6, 8, 0.18)),
    url("assets/images/nathan-hero.jpg");
  background-size: cover;
  background-position: center 18%;
  color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero__portrait--lg {
  width: 5.8rem;
  height: 5.8rem;
  font-size: 1.7rem;
  color: #eff6f2;
  background: linear-gradient(145deg, #244d47 0%, #173631 100%);
  box-shadow: 0 14px 32px rgba(10, 24, 23, 0.16);
}

.hero__person-copy {
  display: grid;
  gap: 0.12rem;
}

.hero__person-copy strong {
  font-size: 0.95rem;
  color: #f4f7f3;
}

  .hero__person-copy span {
    font-size: 0.86rem;
    color: rgba(244, 247, 243, 0.66);
  }

  .hero__form-wrap {
    display: grid;
    gap: 0.65rem;
    align-items: start;
  }

.hero__figure {
  display: none;
}

.hero__figure-frame {
  display: none;
}

.hero__figure-frame::after {
  display: none;
}

.hero__figure-overlay {
  display: none;
}

.hero__figure-badge {
  display: none;
}

.hero__figure-badge strong {
  display: none;
}

.hero__figure-badge span {
  display: none;
}

  .form-card {
    position: relative;
    padding: 0.9rem 0.9rem;
    border-radius: var(--radius);
    background: rgba(255, 253, 250, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(216, 205, 189, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

  .form-card__intro {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
  }

  .lead-form {
    display: grid;
    gap: 0.62rem;
  }

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-field textarea {
  min-height: 4.4rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: #fffdfa;
  box-shadow: 0 0 0 4px rgba(186, 135, 72, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #c89658 0%, #9b6d39 100%);
  color: #f6f2ea;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 12px 28px rgba(77, 49, 20, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #d2a162 0%, #8e6436 100%);
  box-shadow: 0 15px 32px rgba(77, 49, 20, 0.24);
}

.btn--block {
  width: 100%;
}

.form-card__note,
.form-card__microcopy,
.form-card__qualifier,
.section-support,
.faq-item p {
  color: var(--text-muted);
}

.form-card__note,
.form-card__microcopy,
.form-card__qualifier {
  font-size: 0.76rem;
  line-height: 1.35;
}

.form-card__microcopy {
  margin-top: -0.1rem;
}

.form-card__qualifier {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(216, 205, 189, 0.52);
  color: rgba(21, 27, 31, 0.8);
}

.section-heading h2 {
  font-size: clamp(1.38rem, 3vw, 2.05rem);
}

.section__narrow {
  max-width: 46rem;
}

.fit-list {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.5rem;
}

.fit-list li {
  padding: 0.08rem 0 0.08rem 1.45rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 0.94rem;
}

.fit-list li::before {
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.6rem;
}

.faq-item {
  padding: 0.76rem 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(216, 205, 189, 0.56);
  box-shadow: none;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  max-width: 58ch;
  line-height: 1.45;
}

.thank-you-page {
  background:
    radial-gradient(circle at 16% 18%, rgba(186, 135, 72, 0.22), transparent 20rem),
    radial-gradient(circle at 78% 14%, rgba(186, 135, 72, 0.15), transparent 18rem),
    radial-gradient(circle at 50% 100%, rgba(34, 38, 45, 0.34), transparent 34rem),
    linear-gradient(180deg, rgba(8, 9, 11, 0.62), rgba(8, 9, 11, 0.84)),
    url("assets/images/nathan-hero.jpg");
  background-size: cover;
  background-position: 68% center;
  background-attachment: fixed;
}

.thank-you-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(5, 6, 8, 0.84) 0%, rgba(5, 6, 8, 0.72) 44%, rgba(5, 6, 8, 0.88) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.18), rgba(7, 8, 10, 0.44));
  pointer-events: none;
}

.thank-you-main {
  min-height: 100vh;
  display: grid;
  position: relative;
  z-index: 1;
}

.thank-you-shell {
  display: grid;
  align-items: center;
  padding: 2rem 0;
}

.thank-you-card {
  position: relative;
  width: min(100%, 52rem);
  margin: 0 auto;
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(150deg, rgba(255, 254, 251, 0.985) 0%, rgba(247, 240, 229, 0.985) 54%, rgba(240, 230, 215, 0.985) 100%);
  box-shadow:
    0 42px 96px rgba(2, 4, 6, 0.42),
    0 16px 34px rgba(2, 4, 6, 0.22);
}

.thank-you-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(186, 135, 72, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.thank-you-card__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at top right, rgba(186, 135, 72, 0.16), transparent 17rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.thank-you-card__glow {
  position: absolute;
  inset: auto -5rem -6rem auto;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 135, 72, 0.24) 0%, rgba(186, 135, 72, 0) 72%);
  pointer-events: none;
}

.thank-you-card__inner {
  position: relative;
  padding: clamp(2.1rem, 5.6vw, 4rem);
  text-align: center;
}

.thank-you-card__eyebrow {
  color: rgba(21, 27, 31, 0.68);
}

.thank-you-card__eyebrow::before {
  background: rgba(186, 135, 72, 0.58);
}

.thank-you-card__title {
  margin: 0.9rem auto 0;
  max-width: 13ch;
  font-size: clamp(2.15rem, 5vw, 4rem);
  color: var(--text);
  text-wrap: balance;
}

.thank-you-card__lead {
  margin: 1rem auto 0;
  max-width: 44ch;
  font-size: 1.01rem;
  line-height: 1.72;
  color: rgba(21, 27, 31, 0.82);
}

.thank-you-card__support {
  margin: 1.25rem auto 0;
  max-width: 36ch;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(186, 135, 72, 0.24);
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(21, 27, 31, 0.68);
}

.thank-you-card__authority {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(21, 27, 31, 0.08);
}

.thank-you-card__authority-text {
  max-width: 34ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(21, 27, 31, 0.58);
}

.thank-you-card__authority-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  color: #6b6b6b;
  background: transparent;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.thank-you-card__authority-icon {
  width: 1.875rem;
  height: 1.875rem;
}

.thank-you-card__authority-link:hover,
.thank-you-card__authority-link:focus-visible {
  transform: scale(1.05);
  color: #8a8a8a;
}

@media (min-width: 64rem) {
  .hero,
  .section {
    padding: 0.75rem 0;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(22rem, 25.5rem);
    gap: 0.95rem;
    padding-top: 0.6rem;
    align-items: center;
  }

  .hero__content {
    min-height: 28.5rem;
    padding: 1.7rem 1.7rem 1.45rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero__form-wrap {
    padding-top: 0;
  }

  .hero__figure {
    display: none;
  }

  .form-card {
    padding: 1rem 1rem;
  }
}

@media (max-width: 63.99rem) {
  h1 {
    max-width: 11ch;
  }
}

@media (max-width: 47.99rem) {
  .page-main {
    padding-bottom: 1.4rem;
  }

  .thank-you-shell {
    padding: 1rem 0;
  }

  .thank-you-card {
    border-radius: calc(var(--radius) + 2px);
  }

  .thank-you-card__inner {
    padding: 1.35rem 1.05rem 1.2rem;
  }

  .thank-you-card__title {
    max-width: 12ch;
    margin-top: 0.6rem;
    font-size: clamp(1.8rem, 7.8vw, 2.35rem);
    line-height: 1.12;
  }

  .thank-you-card__lead {
    margin-top: 0.82rem;
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .thank-you-card__support {
    margin-top: 0.9rem;
    padding-top: 0.82rem;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .thank-you-card__authority {
    gap: 0.5rem;
    margin-top: 1.45rem;
    padding-top: 0.95rem;
  }

  .thank-you-card__authority-text {
    max-width: 30ch;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .thank-you-card__authority-link {
    width: 3rem;
    height: 3rem;
  }

  .thank-you-card__authority-icon {
    width: 1.875rem;
    height: 1.875rem;
  }

  .hero,
  .section {
    padding: 0.55rem 0;
  }

  .hero {
    position: relative;
  }

  .hero__grid {
    gap: 0.6rem;
    justify-items: stretch;
  }

  .hero__mobile-media {
    display: block;
    max-width: 33rem;
    width: 100%;
    margin: 0 auto;
  }

  .hero__mobile-media-frame {
    position: relative;
    height: clamp(12.5rem, 52vw, 16.25rem);
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }

  .hero__mobile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
  }

  .hero__mobile-media-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 56%, rgba(244, 239, 231, 0.22) 82%, rgba(244, 239, 231, 0.78) 100%);
    pointer-events: none;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero__content {
    max-width: 33rem;
    width: 100%;
    margin: 0 auto;
    padding: 1.3rem 1.35rem 1rem;
    background:
      linear-gradient(180deg, #0b0d10 0%, #090b0d 100%);
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 36px rgba(3, 5, 7, 0.18);
  }

  .hero__title--desktop,
  .hero__subtitle--desktop,
  .hero__subheadline--desktop {
    display: none;
  }

  .hero__title--mobile,
  .hero__subtitle--mobile,
  .hero__subheadline--mobile {
    display: block;
  }

  .hero__title {
    font-size: clamp(1.62rem, 6.6vw, 1.92rem);
    width: 100%;
    max-width: 15ch;
    line-height: 1.13;
    margin-top: 0.4rem;
  }

  .hero__subtitle {
    margin-top: 0.5rem;
    width: 100%;
    max-width: 28ch;
    font-size: 0.94rem;
    line-height: 1.42;
    color: rgba(244, 247, 243, 0.92);
  }

  .hero__subheadline {
    margin-top: 0.58rem;
    width: 100%;
    max-width: 34ch;
    font-size: 0.84rem;
    line-height: 1.48;
    color: rgba(244, 247, 243, 0.74);
  }

  .hero__bullets {
    gap: 0.42rem;
    margin-top: 0.85rem;
    width: 100%;
    max-width: 100%;
  }

  .hero__bullets li,
  .fit-list li {
    text-align: left;
  }

  .hero__bullets li {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .hero__person {
    margin-top: 0.72rem;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    padding: 0.42rem 0.56rem;
    gap: 0.58rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .hero__portrait {
    width: 2.25rem;
    height: 2.25rem;
  }

  .hero__person-copy strong {
    font-size: 0.84rem;
  }

  .hero__person-copy span {
    font-size: 0.74rem;
  }

  .form-card {
    margin-top: 0.25rem;
    max-width: 33rem;
    margin-inline: auto;
    padding: 1.2rem 1.1rem 1.05rem;
    border-radius: calc(var(--radius) + 1px);
    background:
      linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(250, 246, 240, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
      0 18px 40px rgba(10, 12, 16, 0.08),
      0 6px 18px rgba(10, 12, 16, 0.05);
  }

  .form-card,
  .fit-list li,
  .faq-item {
    padding-inline: 0.95rem;
  }

  .form-card::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(217, 187, 140, 0.18));
  }

  .form-card__intro {
    margin-bottom: 0.95rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.35;
  }

  .lead-form {
    gap: 0.85rem;
  }

  .form-field {
    gap: 0.42rem;
  }

  .form-field label {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    min-height: 3.35rem;
    padding: 0.96rem 1rem;
    border-color: rgba(186, 135, 72, 0.14);
    background: rgba(255, 251, 246, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  .form-field textarea {
    min-height: 5.25rem;
  }

  .btn {
    min-height: 3.5rem;
    margin-top: 0.2rem;
    padding: 0.95rem 1.15rem;
    border-radius: 15px;
    box-shadow: 0 14px 28px rgba(77, 49, 20, 0.18);
  }

  .form-card__note,
  .form-card__microcopy,
  .form-card__qualifier {
    max-width: 32ch;
    margin-inline: auto;
    text-align: center;
    line-height: 1.45;
  }

  .form-card__note {
    margin-top: 0.4rem;
  }

  .form-card__microcopy {
    margin-top: 0.15rem;
    font-size: 0.75rem;
  }

  .form-card__qualifier {
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    font-size: 0.75rem;
  }

  .hero__backdrop {
    display: none;
  }

  .section-heading,
  .section-support {
    text-align: center;
  }
}
