@import url("header-preview.css?v=jul13-hero-tokens");

/* Is This For Me page - built on css/index.css */

/* ── Qualify header (preview-hero--qualify) ── */

.preview-hero.preview-hero--qualify h1.hero-title {
  --t-serif: clamp(52px, 4.6vw, 68px);
  margin-bottom: 0;
}

.preview-hero.preview-hero--qualify .hero__sub--deck {
  padding-top: 18px;
}

.preview-hero.preview-hero--qualify .hero__sub--deck .hero__sub-hook {
  font-size: clamp(44px, 4vw, 56px);
  line-height: 1.12;
}

.preview-hero.preview-hero--qualify .hero__sub-detail strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .preview-hero--qualify {
    height: auto;
    min-height: max(calc(100svh - var(--nav-height)), 680px);
  }

  .preview-hero--qualify .preview-hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(11, 9, 6, 0.05) 0%,
      rgba(11, 9, 6, 0.12) 30%,
      rgba(11, 9, 6, 0.58) 56%,
      rgba(11, 9, 6, 0.96) 80%,
      rgba(11, 9, 6, 0.99) 100%
    );
  }

  .preview-hero--qualify .preview-hero__media img {
    object-position: 50% 24%;
  }

  .preview-hero--qualify .preview-hero__inner {
    align-items: flex-end;
    min-height: max(calc(100svh - var(--nav-height)), 680px);
    padding: 0 clamp(28px, 4vw, 40px) clamp(48px, 6vw, 64px);
  }

  .preview-hero--qualify .preview-hero__content {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
    padding-top: clamp(38vh, 42svh, 48vh);
  }

  .preview-hero--qualify h1.hero-title {
    --t-serif: clamp(38px, 5.4vw, 52px);
  }

  .preview-hero--qualify .hero__sub--deck {
    padding-top: 12px;
  }

  .preview-hero.preview-hero--qualify .hero__sub--deck .hero__sub-hook {
    font-size: clamp(36px, 4.8vw, 48px);
  }

  .preview-hero--qualify .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .preview-hero--qualify {
    min-height: 0;
  }

  .preview-hero--qualify .preview-hero__media,
  .preview-hero--qualify .preview-hero__scrim {
    inset: 0 0 auto 0;
    height: clamp(340px, 50svh, 440px);
  }

  .preview-hero--qualify .preview-hero__media img {
    object-position: 50% 30%;
  }

  .preview-hero--qualify .preview-hero__inner {
    min-height: 0;
    padding: clamp(280px, 42svh, 340px) 20px 44px;
  }

  .preview-hero--qualify .preview-hero__content {
    padding-top: 0;
    max-width: none;
  }

  .preview-hero--qualify h1.hero-title {
    --t-serif: clamp(34px, 9vw, 40px);
  }

  .preview-hero--qualify .hero__sub--deck {
    padding-top: 10px;
  }

  .preview-hero.preview-hero--qualify .hero__sub--deck .hero__sub-hook {
    font-size: clamp(30px, 7.5vw, 40px);
  }

  .preview-hero.preview-hero--qualify .hero__lede--payoff {
    margin: 12px 0 16px;
    max-width: none;
  }

  .preview-hero--qualify .hero__actions {
    margin-top: 22px;
  }

  .preview-hero--qualify .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

.qualify-hero {
  position: relative;
  overflow: hidden;
  background: #0b0906;
  color: #fff;
}

.qualify-hero__media,
.qualify-hero__scrim {
  position: absolute;
  inset: 0;
}

.qualify-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 36%;
}

.qualify-hero__scrim {
  pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 9, 6, 0.93) 0%, rgba(11, 9, 6, 0.78) 34%, rgba(11, 9, 6, 0.36) 56%, rgba(11, 9, 6, 0.08) 74%, transparent 100%);
}

.qualify-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 40px 96px 88px;
}

.qualify-hero__content {
  width: 100%;
  max-width: 640px;
}

.qualify-hero h1 {
  margin-bottom: 22px;
}

.qualify-hero .hero__h1-primary {
  color: #fff;
}

.qualify-hero .hero__h1-deck {
  white-space: nowrap;
  font-size: clamp(36px, 2.8vw, 52px);
}

@media (min-width: 1025px) {
  .qualify-hero .hero__h1-deck {
    font-size: clamp(56px, calc(2.8vw + 20px), 72px);
  }
}

.qualify-hero .hero__h1-deck em {
  color: var(--terra);
}

.qualify-hero__lede {
  max-width: 520px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.6;
}

.qualify-hero__lede strong {
  color: #fff;
  font-weight: 700;
}

.qualify-hero__accent {
  max-width: 520px;
  margin: 14px 0 32px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--terra);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-sans);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.qualify-hero__accent em {
  color: var(--terra);
}

.qualify-hero__accent strong {
  color: #fff;
  font-weight: 700;
}

.qualify-hero__accent strong em {
  color: var(--terra);
  font-style: italic;
}

.qualify-decision {
  background: var(--bone);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.qualify-decision__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
}

.qualify-decision__photo {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.qualify-decision__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.qualify-decision__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.qualify-decision__content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  max-width: 680px;
  padding: clamp(80px, 9vw, 96px) clamp(56px, 6vw, 72px);
}

.qualify-decision__sub {
  max-width: 540px;
  margin: 14px 0 0;
  color: rgba(31, 26, 18, 0.74);
  font-size: 17px;
  line-height: 1.65;
}

.qualify-decision__cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.qualify-decision h2 {
  font-family: var(--font-serif);
  font-size: var(--h2-size);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.qualify-decision h2 em,
.qualify-trust h2 em {
  color: var(--terra);
}

.qualify-card {
  padding: 24px 26px;
  border: 1px solid rgba(214, 201, 176, 0.75);
  border-left: 3px solid var(--hair);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 42px -32px rgba(31, 26, 18, 0.28);
}

.qualify-card--accept {
  border-left-color: var(--forest);
}

.qualify-card:not(.qualify-card--accept) {
  border-left-color: var(--terra);
}

.qualify-decision__rule {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}

.qualify-decision__rule-label {
  display: block;
  margin-bottom: 10px;
  color: var(--terra);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.qualify-decision__rule p {
  margin: 0;
}

.qualify-card__label {
  display: block;
  margin-bottom: 14px;
  color: var(--terra);
  font-family: var(--font-serif);
  font-size: 25px;
  font-style: italic;
  line-height: 1.15;
}

.qualify-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.qualify-card p,
.qualify-decision__rule p {
  color: rgba(31, 26, 18, 0.78);
  font-size: 16.5px;
  line-height: 1.65;
}

.qualify-card strong {
  color: var(--ink);
}

.qualify-trust {
  padding: clamp(62px, 7vw, 78px) var(--section-x);
  background: var(--bone);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.qualify-trust__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.qualify-trust .eyebrow {
  margin-bottom: 20px;
}

.qualify-trust h2 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 2.8vw, 42px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.qualify-trust h2 em {
  font-style: italic;
  color: var(--terra);
}

.qualify-trust__body {
  margin: 0 0 16px;
  color: rgba(31, 26, 18, 0.88);
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.15vw, 18.5px);
  line-height: 1.65;
}

.qualify-trust__body:last-of-type {
  margin-bottom: 0;
}

.qualify-trust__body em {
  color: var(--terra);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .qualify-hero__media img {
    object-position: 58% 24%;
  }

  .qualify-hero__scrim {
    background: linear-gradient(180deg, rgba(11, 9, 6, 0.08) 0%, rgba(11, 9, 6, 0.12) 30%, rgba(11, 9, 6, 0.62) 58%, rgba(11, 9, 6, 0.98) 100%);
  }

  .qualify-hero__inner {
    align-items: flex-end;
    padding: 0 32px 56px;
  }

  .qualify-hero__content {
    max-width: 640px;
    margin: 0 auto;
  }

  .qualify-hero h1 {
    margin-bottom: 16px;
  }

  .qualify-hero .hero__h1-primary {
    font-size: clamp(40px, 7vw, 72px);
  }

  .qualify-hero .hero__h1-deck {
    margin-top: 10px;
    font-size: clamp(32px, 3.4vw, 44px);
  }

  .qualify-hero__lede {
    font-size: 16px;
    line-height: 1.52;
  }

  .qualify-hero__accent {
    font-size: 16px;
    line-height: 1.48;
    margin: 0 0 20px;
  }

  .qualify-hero .btn {
    width: 100%;
    justify-content: center;
  }

  .qualify-decision {
    background: #fff;
    border-top: 0;
    border-bottom: 0;
    overflow-x: clip;
  }

  .qualify-decision__grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .qualify-decision__content {
    display: contents;
  }

  .qualify-decision__photo,
  .qualify-decision__content,
  .qualify-decision__closer {
    grid-column: auto;
    grid-row: auto;
  }

  .qualify-decision__intro {
    order: 1;
    padding: 58px 40px 24px;
    background: #fff;
  }

  .qualify-decision__photo {
    order: 2;
    position: relative;
    width: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: unset;
    height: clamp(160px, 26vw, 200px);
    margin: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .qualify-decision__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(31, 26, 18, 0.03) 0%,
      transparent 78%
    );
    pointer-events: none;
  }

  .qualify-decision__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 58%;
    transform: scale(0.88);
    transform-origin: 50% 46%;
  }

  .qualify-decision__cards {
    order: 3;
    margin: 24px 24px 0;
    padding: 0;
    background: transparent;
    border: 0;
    position: relative;
    z-index: 2;
    gap: 14px;
  }

  .qualify-decision__rule {
    order: 4;
    margin: 0;
    padding: 24px 24px 48px;
    background: #fff;
    border: 0;
    border-radius: 0;
  }

  .qualify-decision__closer {
    order: 4;
    max-width: none;
    margin: 0;
    padding: 28px 40px 20px;
    border-top: 0;
  }

  .qualify-decision__expire {
    order: 5;
    padding: 0 40px 48px;
    text-align: center;
  }

  .qualify-decision__sub {
    margin-bottom: 0;
  }

  .qualify-trust {
    padding: 56px 36px;
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .qualify-hero {
    height: auto;
    min-height: max(calc(100svh - var(--nav-height)), 960px);
  }

  .qualify-hero__inner {
    align-items: stretch;
    min-height: max(calc(100svh - var(--nav-height)), 960px);
    padding: 0 40px 82px;
  }

  .qualify-hero__content {
    max-width: 620px;
  }

  .qualify-hero h1 {
    margin-top: clamp(380px, calc(40vh + 40px), 540px);
    margin-bottom: 16px;
  }

  .qualify-hero .hero__h1-deck {
    font-size: clamp(37px, calc(3.4vw + 5px), 49px);
  }

  .qualify-hero__lede {
    font-size: 17px;
    line-height: 1.56;
  }

  .qualify-hero__accent {
    font-size: 17px;
  }

  .qualify-hero__media img {
    object-position: 58% 16%;
  }
}

@media (min-width: 721px) and (max-width: 1024px) and (orientation: portrait) {
  .qualify-decision {
    border-top: 0;
  }

  .qualify-decision__grid {
    display: flex;
    flex-direction: column;
    max-width: 760px;
    margin: 0 auto;
    min-height: 0;
  }

  .qualify-decision__content {
    display: contents;
  }

  .qualify-decision__photo,
  .qualify-decision__content,
  .qualify-decision__closer {
    grid-column: auto;
    grid-row: auto;
  }

  .qualify-decision__intro {
    order: 1;
    padding: 52px 56px 24px;
    background: #fff;
  }

  .qualify-decision h2 {
    font-size: clamp(38px, 4.8vw, 48px);
    line-height: 1.06;
  }

  .qualify-decision__sub {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.62;
  }

  .qualify-decision__photo {
    order: 2;
    width: 100%;
    margin: 0;
    max-height: none;
    aspect-ratio: unset;
    height: clamp(160px, 24vw, 200px);
    border-radius: 0;
  }

  .qualify-decision__photo img {
    object-position: 50% 58%;
    transform: scale(0.88);
    transform-origin: 50% 46%;
  }

  .qualify-decision__cards {
    order: 3;
    margin: 24px 56px 0;
    padding: 0;
    background: transparent;
    gap: 14px;
  }

  .qualify-card {
    padding: 28px 30px;
  }

  .qualify-card__label {
    font-size: 24px;
  }

  .qualify-decision__rule {
    order: 4;
    margin: 0;
    padding: 24px 56px 44px;
    background: #fff;
    border: 0;
    border-radius: 0;
  }

  .qualify-decision__closer {
    order: 4;
    width: 100vw;
    max-width: 100vw;
    margin: 44px 0 0 calc(50% - 50vw);
    padding: 36px max(56px, calc((100vw - 640px) / 2)) 20px;
    border-top: 1px solid var(--hair);
    background: var(--paper);
    font-size: clamp(20px, 2.4vw, 24px);
    line-height: 1.52;
    text-align: center;
  }

  .qualify-decision__expire {
    order: 5;
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 0 max(56px, calc((100vw - 640px) / 2)) 44px;
    background: var(--paper);
  }
}

@media (max-width: 720px) {
  .qualify-hero {
    height: auto;
    min-height: 0;
  }

  .qualify-hero__media,
  .qualify-hero__scrim {
    inset: 0 0 auto 0;
    height: clamp(400px, 58svh, 520px);
  }

  .qualify-hero__media img {
    object-position: 50% 30%;
    transform: scale(0.9);
    transform-origin: 50% 24%;
  }

  .qualify-hero__inner {
    min-height: 0;
    padding: clamp(318px, 46svh, 378px) 20px 48px;
  }

  .qualify-hero__content {
    max-width: none;
    margin: 0;
  }

  .qualify-hero h1 {
    margin-bottom: 12px;
  }

  .qualify-hero .hero__h1-primary {
    font-size: 40px;
    line-height: 1.04;
  }

  .qualify-hero .hero__h1-deck {
    margin-top: 8px;
    font-size: 36px;
    line-height: 1.16;
  }

  .qualify-hero__lede {
    font-size: 16px;
    line-height: 1.52;
  }

  .qualify-hero__accent {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .qualify-hero .btn {
    width: auto;
    max-width: 100%;
    min-height: 48px;
    padding: 14px 22px;
    font-size: 13px;
  }

  .qualify-decision__intro {
    padding: 48px 20px 12px;
  }

  .qualify-decision__sub {
    margin-top: 12px;
  }

  .qualify-decision__photo {
    order: 2;
    position: relative;
    width: auto;
    min-height: 0;
    max-height: none;
    height: auto;
    aspect-ratio: 432 / 277;
    margin: 16px 20px 0;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .qualify-decision__photo::after {
    display: none;
  }

  .qualify-decision__photo img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .qualify-decision__cards {
    margin: 20px 0 0;
    padding: 0 20px 28px;
    background: transparent;
    gap: 12px;
  }

  .qualify-card {
    padding: 22px 20px;
  }

  .qualify-decision__rule {
    margin: 0;
    padding: 22px 20px 40px;
    background: #fff;
    border: 0;
    border-radius: 0;
  }

  .qualify-decision__closer {
    width: 100vw;
    max-width: 100vw;
    margin: 32px 0 0 calc(50% - 50vw);
    padding: 32px 24px 20px;
    border-top: 1px solid var(--hair);
    background: var(--paper);
    font-size: 19px;
    line-height: 1.52;
  }

  .qualify-decision__expire {
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 0 24px 40px;
    background: var(--paper);
  }

  .qualify-trust {
    padding: 48px 20px;
  }

  .qualify-decision h2,
  .qualify-trust h2 {
    font-size: clamp(28px, 7vw, 34px);
  }

  .qualify-card__label {
    font-size: 22px;
  }
}

.foot {
  padding: 0 0 28px;
  background: var(--bone);
}

.foot__bar {
  height: 1px;
  background: var(--hair);
}

/* Section 4: close CTA */
.section.close {
  padding: clamp(88px, 10vw, 128px) var(--section-x);
  border-top: none;
}

.section.close h2 {
  font-family: var(--font-serif);
  font-size: var(--h2-size);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--cream);
}

.section.close h2 em {
  font-style: italic;
  color: var(--hero-terra);
}

.section.close .close__sub {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(244, 238, 226, 0.92);
}

.section.close .close__sub em {
  color: var(--hero-terra);
}

.section.close .hero__checks li {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(244, 238, 226, 0.88);
}

.section.close .hero__checks li::before {
  color: var(--hero-terra);
}
