@font-face {
  font-family: "Newsreader";
  src: url("/assets/Newsreader.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --surface: #fbf9f4;
  --surface-low: #f5f3ee;
  --surface-high: #e4e2dd;
  --ink: #1b1c19;
  --muted: #554242;
  --burgundy: #3c000a;
  --burgundy-light: #5d0e1a;
  --amber: #fed488;
  --gold: #775a19;
  --white: #ffffff;
  --line: #dbc0c0;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(251, 249, 244, 0.16);
  color: var(--surface);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.home-header {
  position: sticky;
  background: rgba(251, 249, 244, 0.94);
  color: var(--ink);
  border-bottom: 1px solid rgba(228, 226, 221, 0.75);
  backdrop-filter: blur(14px);
}

.site-header.light {
  position: sticky;
  background: rgba(251, 249, 244, 0.92);
  color: var(--ink);
  border-color: var(--surface-high);
  backdrop-filter: blur(16px);
}

.nav {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--burgundy);
  border-radius: 4px;
  background: var(--burgundy);
  color: var(--surface);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--burgundy-light);
  border-color: var(--burgundy-light);
}

.button.secondary {
  background: transparent;
  color: var(--burgundy);
}

.home-header .button.secondary,
.home-hero .button.secondary {
  border-color: rgba(119, 90, 25, 0.38);
  color: var(--ink);
}

.button.light {
  border-color: var(--surface);
  background: var(--surface);
  color: var(--burgundy);
}

.button.ghost {
  border-color: rgba(251, 249, 244, 0.65);
  background: transparent;
  color: var(--surface);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link::after {
  content: "";
  width: 42px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
  opacity: 0.42;
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 56px;
}

.home-hero {
  min-height: clamp(590px, 70svh, 720px);
  background:
    radial-gradient(circle at 72% 18%, rgba(254, 212, 136, 0.24), transparent 26%),
    linear-gradient(90deg, #fbf9f4 0%, #f5f0e6 58%, #ede4d5 100%);
  color: var(--ink);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.home-hero-inner {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(410px, 0.84fr) minmax(440px, 1.16fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 610px;
  padding: 42px 0 48px;
}

.hero-text::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 42px;
  bottom: 56px;
  width: 1px;
  background: rgba(157, 63, 71, 0.34);
}

.sa-logo-mark {
  width: 86px;
  height: auto;
  margin: 0 0 26px;
  object-fit: contain;
  filter: contrast(1.12) saturate(0.82);
}

.home-hero .eyebrow {
  color: var(--gold);
  margin-bottom: 18px;
}

.home-hero h1 {
  max-width: 600px;
  font-size: clamp(52px, 5.9vw, 78px);
  line-height: 1.05;
}

.home-hero .hero-copy {
  max-width: 500px;
  margin-top: 20px;
  color: var(--ink);
  font-size: 20px;
}

.hero-steps {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  max-width: 570px;
}

.hero-steps p {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.hero-steps span {
  display: inline-block;
  min-width: 0;
  margin: 0;
  color: rgba(119, 90, 25, 0.58);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-hero .actions {
  margin-top: 28px;
}

.hero-image-plane {
  position: relative;
  min-height: min(520px, calc(70svh - 112px));
  margin: 30px 0;
  align-self: stretch;
  overflow: hidden;
  border-left: 1px solid rgba(119, 90, 25, 0.24);
}

.hero-image-plane::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(251, 249, 244, 0.52) 0%, rgba(251, 249, 244, 0.08) 34%, rgba(60, 0, 10, 0.03) 100%),
    linear-gradient(180deg, rgba(251, 249, 244, 0.06), rgba(251, 249, 244, 0.2));
}

.hero-image-plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.82) contrast(1.02) brightness(1.06);
  transform: scale(1.08);
}

.home-path-section {
  padding: 62px 0 52px;
  background: var(--surface);
  text-align: center;
}

.home-path-section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.method-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: rgba(219, 192, 192, 0.72);
  border: 1px solid rgba(219, 192, 192, 0.72);
}

.method-card {
  position: relative;
  min-height: 226px;
  padding: 62px 28px 28px;
  border: 0;
  background: rgba(251, 249, 244, 0.9);
  text-align: left;
  transition: background 180ms ease, transform 180ms ease;
}

.method-card:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.step-number {
  position: absolute;
  top: 24px;
  left: 28px;
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.method-card h3 {
  font-size: 29px;
}

.method-card p {
  margin: 16px 0 0;
  max-width: 245px;
  color: var(--muted);
  font-size: 15px;
}

.monogram-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 34px auto 0;
  color: var(--ink);
}

.monogram-divider::before,
.monogram-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(201, 154, 62, 0.62);
}

.monogram-divider img {
  width: 44px;
  height: auto;
  filter: contrast(1.12) saturate(0.82);
}

.hero {
  min-height: 92svh;
  background:
    linear-gradient(90deg, rgba(24, 0, 5, 0.78) 0%, rgba(24, 0, 5, 0.54) 38%, rgba(24, 0, 5, 0.08) 78%),
    url("/assets/cover-background.png") center / cover;
  color: var(--surface);
  display: flex;
  align-items: center;
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding: 132px 0 72px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 9vw, 128px);
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5.5vw, 72px);
}

h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
}

.hero-copy {
  max-width: 600px;
  margin: 26px 0 0;
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.section {
  padding: 112px 0;
}

.section.compact {
  padding: 78px 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.large-statement {
  max-width: 940px;
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.08;
}

.diagnosis-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnosis-list li {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--surface-high);
}

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.burgundy-panel {
  background: var(--burgundy);
  color: var(--surface);
}

.burgundy-panel .lead,
.burgundy-panel .muted {
  color: #f1dfd8;
}

.offer-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: rgba(251, 249, 244, 0.22);
  border: 1px solid rgba(251, 249, 244, 0.22);
}

.offer-path {
  min-height: 330px;
  padding: 34px;
  background: rgba(251, 249, 244, 0.055);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: background 180ms ease;
}

.offer-path:hover {
  background: rgba(251, 249, 244, 0.12);
}

.offer-path p {
  margin: 18px 0 0;
  color: #f1dfd8;
}

.muted {
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--surface-high);
  border: 1px solid var(--surface-high);
}

.proof-item {
  min-height: 220px;
  padding: 26px;
  background: var(--surface);
}

.proof-item p {
  margin: 18px 0 0;
  color: var(--muted);
}

.image-band {
  min-height: 680px;
  padding: clamp(88px, 8vw, 124px) 0;
  background:
    linear-gradient(90deg, rgba(60, 0, 10, 0.86), rgba(60, 0, 10, 0.26)),
    url("/assets/cover-background-v2.png") center / cover;
  display: flex;
  align-items: center;
  color: var(--surface);
}

.image-band-content {
  width: var(--container);
  margin: 0 auto;
  max-width: 720px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.image-band h2 {
  max-width: 760px;
}

.image-band .lead {
  max-width: 650px;
  color: rgba(251, 249, 244, 0.82);
}

.final-cta {
  text-align: center;
}

.final-cta h2,
.final-cta p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  padding: 150px 0 86px;
  background: var(--burgundy);
  color: var(--surface);
}

.diagnostic-hero,
.apply-hero {
  min-height: 72svh;
  display: flex;
  align-items: center;
}

.diagnostic-hero {
  background:
    linear-gradient(90deg, rgba(60, 0, 10, 0.9) 0%, rgba(60, 0, 10, 0.68) 46%, rgba(60, 0, 10, 0.16) 100%),
    url("/assets/cover-background.png") center / cover;
}

.apply-hero {
  background:
    linear-gradient(90deg, rgba(60, 0, 10, 0.92) 0%, rgba(60, 0, 10, 0.7) 52%, rgba(60, 0, 10, 0.2) 100%),
    url("/assets/cover-background-v2.png") center / cover;
}

.page-hero h1,
.page-hero .lead {
  max-width: 780px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 74px);
}

.page-hero .lead {
  color: #f1dfd8;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.form-card {
  border: 1px solid var(--surface-high);
  background: var(--white);
  padding: clamp(24px, 4vw, 42px);
}

.field {
  margin-bottom: 24px;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-weight: 700;
}

.field small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

input[type="checkbox"] {
  accent-color: var(--burgundy);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--amber);
  border-color: var(--gold);
}

fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

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

.check-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.check-list input {
  width: auto;
  margin-top: 6px;
}

.conditional-field {
  margin-top: 14px;
}

.conditional-field[hidden] {
  display: none;
}

.form-status {
  margin-top: 18px;
  font-weight: 700;
}

.form-status.error {
  color: #93000a;
}

.tripwire-hero {
  min-height: 92svh;
  background:
    linear-gradient(90deg, rgba(60, 0, 10, 0.92), rgba(60, 0, 10, 0.64), rgba(251, 249, 244, 0.15)),
    url("/assets/cover-background-v2.png") center / cover;
  color: var(--surface);
  display: flex;
  align-items: center;
}

.tripwire-hero .hero-content {
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.price-line {
  margin-top: 24px;
  color: var(--amber);
  font-size: 22px;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--surface-high);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 700ms ease forwards;
}

.delay-1 {
  animation-delay: 110ms;
}

.delay-2 {
  animation-delay: 220ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .home-hero {
    min-height: auto;
    background:
      radial-gradient(circle at 80% 8%, rgba(254, 212, 136, 0.22), transparent 32%),
      linear-gradient(180deg, #fbf9f4 0%, #f5f0e6 100%);
  }

  .home-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    padding: 40px 0 56px;
  }

  .hero-text::before {
    display: none;
  }

  .hero-text {
    max-width: none;
    padding: 0;
  }

  .sa-logo-mark {
    margin-bottom: 30px;
    width: 68px;
    height: auto;
  }

  .home-hero h1 {
    max-width: 350px;
    font-size: clamp(42px, 11vw, 50px);
  }

  .home-hero .hero-copy {
    max-width: 340px;
    font-size: 18px;
  }

  .hero-steps {
    gap: 10px;
    max-width: 340px;
  }

  .hero-steps p {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    font-size: 14px;
  }

  .hero-steps span {
    display: inline-block;
    font-size: 11px;
  }

  .hero-image-plane {
    min-height: 260px;
    margin: 34px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(119, 90, 25, 0.24);
  }

  .hero-image-plane img {
    object-position: 58% center;
  }

  .home-path-section {
    padding: 50px 0 34px;
  }

  .method-cards {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .method-card {
    min-height: auto;
    padding: 54px 24px 24px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(24, 0, 5, 0.78), rgba(24, 0, 5, 0.72)),
      url("/assets/cover-background.png") center / cover;
  }

  .diagnostic-hero,
  .apply-hero {
    min-height: 78svh;
    background-position: center;
  }

  .hero-content {
    padding: 118px 0 54px;
  }

  .hero-copy,
  .lead {
    font-size: 18px;
  }

  .section {
    padding: 78px 0;
  }

  .two-column,
  .form-shell,
  .offer-paths,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .offer-path,
  .proof-item {
    min-height: auto;
  }

  .image-band-content,
  .tripwire-hero .hero-content {
    margin-left: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}
