/* ============================================================
   AlphaPrime — landing page clone
   Mobile-first, with a centered desktop layout.
   ============================================================ */

:root {
  --greige: #d4cdc5;       /* warm light taupe section bg   */
  --greige-2: #d7d1c9;     /* slightly lighter variant      */
  --black: #0a0a0a;        /* dark section bg               */
  --text-dark: #141414;    /* text on greige                */
  --text-light: #ffffff;   /* text on black                 */
  --red: #ec1616;          /* attention headline            */
  --orange: #e6842a;       /* dashed callout border         */
  --page-bg: #e9edf2;      /* desktop gutter background     */
  --column: 640px;         /* max content width on desktop  */

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Centered content column — full width on mobile, boxed on desktop */
.page {
  width: 100%;
  max-width: var(--column);
  margin: 0 auto;
  background: var(--greige);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ---------- Section base ---------- */
.section {
  padding: 34px 24px;
}

.section--light {
  background: var(--greige);
  color: var(--text-dark);
}

.section--dark {
  background: var(--black);
  color: var(--text-light);
}

/* ---------- Section 1: headline ---------- */
.headline {
  padding-top: 30px;
  padding-bottom: 30px;
}

.headline__title {
  margin: 0 0 26px;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.headline__warning {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  text-align: center;
  color: var(--red);
}

/* ---------- Section 2: video + prose ---------- */
.video-block {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 34px;
}

.video-wrap {
  width: 100%;
  background: #000;
  display: flex;
  justify-content: center;
}

.video-player {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  background: #000;
}

/* Prose (paragraph blocks) */
.prose {
  padding: 30px 24px 0;
  max-width: 560px;
  margin: 0 auto;
}

.prose p {
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.55;
  text-align: center;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  font-weight: 800;
}

.prose--center {
  text-align: center;
}

.lead {
  font-weight: 800;
}

.signoff {
  font-style: italic;
}

/* ---------- Section 3: call warning ---------- */
.call-block {
  padding-top: 30px;
  padding-bottom: 40px;
}

.callout {
  border: 3px dotted var(--orange);
  padding: 40px 22px;
  margin: 0 0 34px;
}

.callout__text {
  margin: 0;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.4px;
  color: var(--text-dark);
}

/* ---------- Footer ---------- */
.footer {
  padding-top: 40px;
  padding-bottom: 48px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer__link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 19px;
}

.footer__link:hover {
  text-decoration: underline;
}

/* ============================================================
   TABLET  (700px – 899px) — wider centered column
   ============================================================ */
@media (min-width: 700px) and (max-width: 899px) {
  body {
    padding: 40px 0;
  }
  .page {
    max-width: 680px;
    border-radius: 14px;
  }
  .section {
    padding-left: 56px;
    padding-right: 56px;
  }
  .headline__title {
    font-size: 32px;
  }
  .headline__warning,
  .callout__text {
    font-size: 27px;
  }
  .video-player {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* ============================================================
   DESKTOP  (≥ 900px) — FULL-WIDTH layout
   Full-bleed colour bands + two-column video hero.
   ============================================================ */
@media (min-width: 900px) {
  body {
    padding: 0;
    background: var(--black);
  }

  /* Page is now full width — bands span the whole viewport */
  .page {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--greige);
  }

  /* Full-bleed sections: colour edge-to-edge, content centred to 1180px */
  .section {
    padding: 64px max(48px, calc((100% - 1180px) / 2));
  }

  /* ---- Headline band (compact, so the video sits above the fold) ---- */
  .headline {
    padding-top: 34px;
    padding-bottom: 26px;
  }
  .headline__title {
    font-size: 36px;
    line-height: 1.15;
    max-width: 1000px;
    margin: 0 auto 16px;
  }
  .headline__warning {
    font-size: 26px;
    max-width: 1000px;
    margin: 0 auto;
  }

  /* ---- Video + prose: two columns, video sized to the viewport height ---- */
  .video-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 56px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .video-wrap {
    flex: 0 0 auto;
    width: auto;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  }
  .video-player {
    display: block;
    width: auto;
    height: min(56vh, 540px); /* scales with screen height → stays on first screen */
    max-height: none;
    border-radius: 14px;
  }
  .prose {
    flex: 1 1 auto;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .prose p {
    text-align: left;
    font-size: 23px;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  /* ---- Call-to-action band ---- */
  .call-block {
    padding-top: 72px;
    padding-bottom: 80px;
  }
  .callout {
    max-width: 940px;
    margin: 0 auto 40px;
    padding: 54px 40px;
  }
  .callout__text {
    font-size: 30px;
  }
  .call-block .prose {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
  }
  .call-block .prose p {
    text-align: center;
    font-size: 22px;
  }

  /* ---- Footer: horizontal links ---- */
  .footer {
    padding-top: 52px;
    padding-bottom: 60px;
  }
  .footer__links {
    flex-direction: row;
    justify-content: center;
    gap: 64px;
  }
  .footer__link {
    font-size: 20px;
  }
}

/* Large desktop — a touch more breathing room */
@media (min-width: 1400px) {
  .video-player {
    height: min(58vh, 600px);
  }
  .prose p {
    font-size: 24px;
  }
}

/* Short viewports (laptops) — keep headline + video on one screen */
@media (min-width: 900px) and (max-height: 780px) {
  .headline {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .headline__title {
    font-size: 30px;
    margin-bottom: 12px;
  }
  .headline__warning {
    font-size: 22px;
  }
  .video-player {
    height: min(58vh, 460px);
  }
  .prose p {
    font-size: 20px;
    margin-bottom: 18px;
  }
}

/* Small phones — tighten type a touch */
@media (max-width: 360px) {
  .headline__title {
    font-size: 24px;
  }
  .headline__warning,
  .callout__text {
    font-size: 21px;
  }
  .prose p {
    font-size: 17px;
  }
}
