:root {
  --page-bg: #f4efe7;
  --page-bg-warm: #efe7dc;
  --surface: #ffffff;
  --surface-soft: #faf6ef;
  --line: rgba(32, 27, 20, 0.1);
  --line-strong: rgba(32, 27, 20, 0.16);
  --text-primary: #171411;
  --text-secondary: rgba(23, 20, 17, 0.74);
  --text-muted: rgba(23, 20, 17, 0.56);
  --accent: #ff6a3d;
  --accent-strong: #f15729;
  --accent-soft: rgba(255, 106, 61, 0.12);
  --accent-cool: #5c84c8;
  --shadow: 0 18px 50px rgba(48, 34, 18, 0.08);
  --headline: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--body);
  color: var(--text-primary);
  background: linear-gradient(180deg, #fcfbf9 0%, var(--page-bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 14px 14px 108px;
}

.hero,
.speaker-section,
.footer {
  position: relative;
}

.hero {
  display: grid;
  gap: 14px;
}

.hero__content,
.hero__rail,
.speaker-card,
.footer {
  min-width: 0;
}

.hero__content,
.rail-card,
.speaker-card,
.footer {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 0 12px;
  border: 1px solid rgba(92, 132, 200, 0.14);
  border-radius: 999px;
  background: rgba(92, 132, 200, 0.09);
  color: var(--accent-cool);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--warm {
  color: #b94e2c;
  background: var(--accent-soft);
  border-color: rgba(255, 106, 61, 0.18);
}

.rail-card__copy {
  margin: 0;
}

.hero-flow {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 106, 61, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 106, 61, 0.08), rgba(255, 255, 255, 0.9));
}

.hero-flow__label {
  margin: 0 0 6px;
  color: #b94e2c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-flow__copy {
  margin: 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.46;
}

h1,
h2 {
  margin: 0;
  font-family: var(--headline);
  letter-spacing: -0.05em;
}

h1 {
  max-width: 12.2ch;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 0.92;
}

.hero-line {
  display: block;
}

h2 {
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 800;
  line-height: 0.96;
}

.lead,
.speaker-role,
.speaker-copy,
.cta-note,
.result-card__caption,
.footer__disclaimer,
.footer__meta,
.footer__fineprint,
.rail-card__copy {
  color: var(--text-secondary);
}

.lead {
  margin: 14px 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.54;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  padding: 14px 20px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff7d51 0%, var(--accent) 48%, var(--accent-strong) 100%);
  box-shadow: 0 18px 36px rgba(255, 106, 61, 0.2);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(255, 106, 61, 0.24);
  filter: saturate(1.03);
}

.cta-button:focus-visible {
  outline: 2px solid rgba(23, 20, 17, 0.3);
  outline-offset: 3px;
}

.cta-button__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.cta-button__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.cta-button--secondary,
.cta-button--sticky {
  width: 100%;
}

.cta-button--sticky {
  min-height: 54px;
  margin-top: 0;
  border-radius: 16px;
}

.cta-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.42;
}

.hero-points {
  margin-top: 22px;
}

.hero-points__label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.point-list li {
  position: relative;
  padding: 14px 14px 14px 46px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
  font-size: 0.96rem;
  line-height: 1.48;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8f69 0%, var(--accent) 100%);
  box-shadow: 0 0 0 5px rgba(255, 106, 61, 0.12);
}

.point-list strong {
  color: var(--text-primary);
}

.rail-card {
  padding: 18px;
}

.rail-card__label {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rail-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.rail-card__copy {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.speaker-section {
  margin-top: 14px;
}

.speaker-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.speaker-card__media {
  overflow: hidden;
  border-radius: 22px;
  background: #ebe5d9;
  aspect-ratio: 1 / 1;
}

.speaker-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-card__body {
  min-width: 0;
}

.speaker-role {
  margin: 14px 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.speaker-copy {
  margin: 12px 0 0;
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.56;
}

.result-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.result-card {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.result-card__value {
  margin: 0;
  font-family: var(--headline);
  color: var(--text-primary);
  font-size: clamp(1.9rem, 8vw, 2.7rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.result-card__caption {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.46;
}

.footer {
  margin-top: 14px;
  padding: 18px 16px 22px;
}

.footer__disclaimer,
.footer__fineprint,
.footer__meta {
  margin: 0;
}

.footer__disclaimer {
  font-size: 0.87rem;
  line-height: 1.56;
}

.footer__fineprint {
  margin-top: 10px;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.footer__meta {
  margin-top: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 20;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 720px) {
  .page-shell {
    padding: 18px 18px 112px;
  }

  .hero,
  .speaker-card {
    gap: 20px;
  }

  .hero__content,
  .rail-card,
  .speaker-card,
  .footer {
    padding: 22px;
  }

  .result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .page-shell {
    padding: 26px 22px 44px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.5fr);
    align-items: start;
    gap: 20px;
  }

  .hero__content {
    padding: 28px;
  }

  h1 {
    max-width: 13.5ch;
    font-size: clamp(2.7rem, 3.9vw, 4rem);
    line-height: 0.95;
  }

  .hero-line {
    white-space: normal;
  }

  .hero__rail {
    position: sticky;
    top: 22px;
  }

  .speaker-card {
    grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    padding: 24px;
  }

  .speaker-card__media {
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
  }

  .sticky-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta-button {
    transition: none;
  }
}
