/* Quiz opening pages (Rescue and Net New). Styled after coregroupcompany.com:
   Nexa Title headings, Roboto body, navy #1C213E pill button, white page, real photography. */
@font-face {
  font-family: "Nexa Title";
  src: url("/assets/fonts/nexa-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa Title";
  src: url("/assets/fonts/nexa-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body.lander {
  background: #fff;
  color: #666;
  color-scheme: light;
  --nexa: "Nexa Title", "Montserrat", Arial, sans-serif;
}

body.lander .page { min-height: 100dvh; }

/* Header: the site's navy bar with the white logo. */
body.lander .top {
  min-height: 72px;
  padding: 0 24px;
  background: var(--navy);
}

body.lander .logo { height: 32px; }

body.lander .landing {
  display: block;
  flex: 1;
  align-content: normal;
  justify-items: normal;
  padding: 0;
}

/* Hero: copy on the left, a real photo with the real report on the right. */
.lander-hero {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

.lander-copy {
  padding: 40px 24px 48px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

.lander-eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: "Space Grotesk", var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lander-copy h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--nexa);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}

.lander-sub {
  margin: 20px 0 0;
  max-width: 30em;
  color: #666;
  font-size: 18px;
  line-height: 1.55;
  text-wrap: balance;
}

.lander-copy .start {
  display: inline-block;
  min-width: 0;
  margin-top: 32px;
  height: auto;
  padding: 15px 30px;
  border: 1px solid var(--navy);
  border-radius: 50px;
  background: var(--navy);
  color: #f5f5f5;
  font-family: var(--nexa);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  transition: background-color 0.15s, border-color 0.15s;
}
.lander-copy .start:hover { background: var(--blue); border-color: var(--blue); }
.lander-copy .start:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.lander-meta {
  margin: 14px 0 0;
  color: #666;
  font-size: 14px;
}

.lander-gets {
  max-width: 30em;
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e3e5eb;
  color: #3a3737;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}
.lander-gets b { font-family: var(--nexa); font-weight: 700; color: var(--navy); }

/* Visual: their photo, with the first page of a real sample report resting on it. */
.lander-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: var(--navy) var(--photo) center / cover no-repeat;
}
.lander-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 33, 62, 0.5);
}
.lander-visual img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(300px, 74%);
  height: auto;
  margin: 0;
  transform: translateX(-50%);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 20px 60px rgba(8, 10, 24, 0.5);
}
.lander-visual { min-height: 360px; }

body.lander .site-foot {
  padding: 22px 24px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid #e3e5eb;
  text-align: left;
  color: #666;
}
body.lander .legal a { color: var(--navy); margin: 0 14px 0 0; }

@media (min-width: 900px) {
  body.lander .top { padding: 0 48px; }
  body.lander .site-foot { padding-left: 48px; padding-right: 48px; }
  .lander-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100dvh - 72px - 86px);
  }
  .lander-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 64px 56px 64px 48px;
  }
  .lander-copy > * { max-width: 520px; }
  .lander-copy h1 { font-size: clamp(40px, 4vw, 52px); letter-spacing: -0.035em; }
  .lander-sub { font-size: 19px; max-width: 26em; }
  body.lander .site-foot { display: flex; align-items: center; justify-content: space-between; }
  body.lander .legal { margin-top: 0 !important; }
  .lander-visual { min-height: 0; }
  .lander-visual img { width: min(440px, 76%); }
}

/* The quiz overlay keeps its own dark look. */
body.lander .quiz-shell {
  color: var(--ink);
  color-scheme: dark;
}
