/* Shared styling for the example splash pages in /examples. */
:root {
  --navy: #0e2238;
  --navy-2: #16314f;
  --text: #0e2238;
  --muted: #55657a;
  --line: #e3e8ef;
  --surface: #f5f7fa;
  --accent: #f26a1b;
  --accent-hover: #d95a10;
  --accent-soft: #fdeee4;
  --ok: #1f9d63;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img { max-width: 100%; }

/* Example notice */
.example-bar {
  background: var(--navy);
  color: #c6d3e3;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .01em;
}
.example-bar strong { color: #fff; font-weight: 700; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -.01em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex: none;
}
.header-meta {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px #dcf3e8; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--surface), #fff); }
.hero .inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 16px 56px;
  display: grid;
  grid-template-areas: "head" "media" "body" "cta";
  gap: 24px;
}

.hero-head { grid-area: head; }
.hero-media { grid-area: media; }
.hero-body { grid-area: body; }
.hero-cta { grid-area: cta; }

.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: #b44a0b;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 0;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 60px -24px rgba(14, 34, 56, .45);
  background: var(--navy-2);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, .95);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(14, 34, 56, .18);
}
.media-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.media-badge .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
}

.hero-body p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 540px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  padding: 18px 32px;
  border-radius: 12px;
  box-shadow: 0 10px 24px -10px rgba(242, 106, 27, .8);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #fbbf8f; outline-offset: 3px; }
.btn svg { transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* First quiz question asked on the lander itself */
.qbox {
  background: #fff;
  border: 2px dashed #f6b48c;
  border-radius: var(--radius);
  padding: 22px;
  max-width: 480px;
  text-align: center;
}
.qbox-q { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 16px; }
.qbox-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qbox-options .btn { width: 100%; font-size: 20px; padding: 18px 12px; text-transform: uppercase; letter-spacing: .04em; }
.qbox-options-four .btn { font-size: 17px; padding: 16px 10px; text-transform: none; letter-spacing: 0; }

.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
  font-weight: 600;
}
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { flex: none; }

@media (max-width: 599px) {
  .btn { width: 100%; }
  .header-meta { display: none; }
}

@media (min-width: 900px) {
  .hero .inner {
    grid-template-columns: 1fr 1.05fr;
    grid-template-areas:
      "head media"
      "body media"
      "cta  media";
    grid-template-rows: auto auto 1fr;
    column-gap: 64px;
    row-gap: 22px;
    padding: 72px 16px 88px;
    align-items: start;
  }
  .hero-head { align-self: end; }
  .hero-media { aspect-ratio: 5 / 5.2; }
}

/* Footer */
.site-footer { background: var(--navy); color: #9fb0c5; font-size: 14px; }
.site-footer .inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .disclaimer { flex-basis: 100%; font-size: 12px; color: #7f92a9; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; margin: 0; }

/* Placeholder pages (quiz, privacy, terms) */
.placeholder { background: var(--surface); padding: 56px 16px 80px; }
.placeholder .card {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 20px 50px -30px rgba(14, 34, 56, .35);
}
.placeholder h1 {
  font-size: clamp(26px, 4.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.placeholder p, .placeholder li { color: var(--muted); font-size: 17px; }
.placeholder ol { padding-left: 0; list-style: none; counter-reset: q; margin: 20px 0; }
.placeholder ol li {
  counter-increment: q;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}
.placeholder ol li::before {
  content: counter(q);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #b44a0b;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}
.notice {
  display: flex;
  gap: 12px;
  background: #fff8ec;
  color: #7a4b00;
  border: 1px solid #f3d9a4;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 28px;
  font-size: 15px;
}
.notice p { color: inherit !important; margin: 0; font-size: 15px !important; }
.notice svg { flex: none; margin-top: 2px; }
.placeholder .card.legal { max-width: 780px; }
.legal h2 { font-size: 19px; letter-spacing: -.01em; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--navy); }
.legal-date { font-size: 14px !important; margin-top: -6px; }

.back { color: var(--navy); font-weight: 700; text-decoration: none; }
.back:hover { text-decoration: underline; }
