/*
  The Legacy Pivot: the page's styles.

  Written by hand from the live page's computed styles, so the remake draws the same thing: the same colours, type scale, spacing
  and breakpoints. Sizes are in rem where the original used rem (so a visitor's own text-size setting is honoured).
*/

/* Fonts: Playfair Display and Inter, under the SIL Open Font License (the licences sit beside the files). Latin only: every
   character on the page is in it. Each file is a variable font, so one file covers every weight used. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* A stand-in for Playfair Display while it loads: Georgia, drawn at the width Playfair is at each weight, so the headings do not change
   size (and nothing below them move) when the real font arrives. The percentages were measured: the same sentence in each font. A
   visitor with no Georgia simply gets the browser's serif, as before. */
@font-face { font-family: "Playfair Fallback"; font-style: normal; font-weight: 100 500; src: local("Georgia"); size-adjust: 101.4%; }
@font-face { font-family: "Playfair Fallback"; font-style: normal; font-weight: 501 900; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 88.6%; }
@font-face { font-family: "Playfair Fallback"; font-style: italic; font-weight: 100 500; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 94.4%; }
@font-face { font-family: "Playfair Fallback"; font-style: italic; font-weight: 501 900; src: local("Georgia Bold Italic"), local("Georgia-BoldItalic"); size-adjust: 84.9%; }

:root {
  --background: hsl(0 0% 3.1%);
  --card: hsl(0 0% 6%);
  --foreground: hsl(240 9% 96.5%);
  --border: hsl(46 30% 20%);
  --gold: #d4af37;
  --gold-deep: #a8821e;
  --gold-light: #f0d77a;
  --red: #dc2626;
  --heading: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --body: "Inter", Helvetica, Arial, sans-serif;
  --shadow-card: 0 10px 30px -12px #17202c1f;
  --shadow-elegant: 0 24px 60px -24px #17202c40;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  /* Playfair's own figures rise and fall (old-style); the page's numbers and "100%" read better at one height. Inter is unaffected. */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
blockquote,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

button,
input {
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

svg,
video {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Layout */

.wrap {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.wrap--6xl {
  max-width: 72rem;
}

@media (min-width: 64rem) {
  .wrap {
    padding-inline: 2.5rem;
  }
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

.icon--4 { width: 1rem; height: 1rem; }
.icon--5 { width: 1.25rem; height: 1.25rem; }
.icon--6 { width: 1.5rem; height: 1.5rem; }

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}

.gold { color: var(--gold); }
.italic { font-style: italic; }

.gold-gradient {
  background: linear-gradient(var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--gold);
  color: #080808;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.btn--nav {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  transition-duration: 0.2s;
}

.btn--hero {
  font-size: 1rem;
  padding: 1rem 2rem;
  box-shadow: var(--shadow-elegant);
}

.btn--submit {
  width: 100%;
  padding: 1rem 2rem;
  box-shadow: var(--shadow-elegant);
}

.btn:hover {
  background: var(--gold-deep);
  color: #fff;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn__spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 1s linear infinite;
}

.btn.is-busy .btn__spinner { display: inline-block; }
.btn.is-busy .btn__arrow { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: #080808f2;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-elegant);
  border-bottom: 1px solid #ffffff0d;
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  color: #fff;
  letter-spacing: 0.28em;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 48rem) {
  .brand { font-size: 1rem; }
}

.brand span,
.site-footer__brand span {
  color: var(--gold);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.site-nav__link {
  font-size: 0.875rem;
  color: #ffffffb3;
  transition: color 0.2s;
}

.site-nav__link:hover { color: var(--gold); }

@media (min-width: 64rem) {
  .site-nav { display: flex; }
}

/* Below the wide breakpoint the menu is a panel under the bar, opened by the toggle (site.js). */
@media (max-width: 63.99rem) {
  .site-header.is-open .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
        background: #080808;
    border-top: 1px solid #ffffff1a;
    padding: 1.5rem;
  }

  .site-header.is-open .site-nav__link {
    text-align: left;
    color: #ffffffcc;
  }

  .site-header.is-open .btn--nav {
    text-align: center;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }
}

.menu-toggle {
  display: none;
  padding: 0.5rem;
  color: #fff;
  background: none;
  cursor: pointer;
}

@media (max-width: 63.99rem) {
  .js .menu-toggle { display: block; }
}

.menu-toggle__close,
.site-header.is-open .menu-toggle__open {
  display: none;
}

.site-header.is-open .menu-toggle__close { display: block; }

/* Hero */

.hero {
  position: relative;
  /* Crop, never scroll. "hidden" alone still lets the browser scroll the box sideways towards the decoration that sticks out of it,
     which it does when it scrolls something inside into view (seen: an automated click on the play button, which scrolls its target
     into view first, slid the hero 160px to the left). "clip" cannot be scrolled; the line before it is for browsers without it. */
  overflow: hidden;
  overflow: clip;
  background: #080808;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.hero::before {
  top: -10rem;
  right: -10rem;
  width: 560px;
  height: 560px;
  background: #d4af371a;
  filter: blur(140px);
}

.hero::after {
  bottom: 0;
  left: -8rem;
  width: 420px;
  height: 420px;
  background: #d4af370d;
  filter: blur(120px);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: start;
  padding-block: 5rem;
}

@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    grid-template-areas:
      "copy media"
      "cta media";
    grid-template-rows: auto 1fr;
    column-gap: 4rem;
    row-gap: 0;
    align-items: center;
    padding-block: 6rem 6.5rem;
  }
  .hero__copy { grid-area: copy; align-self: end; }
  .hero__media { grid-area: media; }
  .hero__grid .hero__cta { grid-area: cta; align-self: start; justify-content: flex-start; margin-top: 2.5rem; }
}

.hero__title {
  margin-top: 1.5rem;
  font-family: var(--heading);
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 600;
  color: #fff;
}

@media (min-width: 40rem) {
  .hero__title { font-size: 3rem; }
}

@media (min-width: 80rem) {
  .hero__title { font-size: 3.5rem; }
}

.hero__quote {
  margin-top: 2rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  max-width: 36rem;
  font-family: var(--heading);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.625;
  color: #ffffffd9;
}

@media (min-width: 48rem) {
  .hero__quote { font-size: 1.25rem; }
}

.hero__cta {
  display: flex;
  justify-content: center;
}

/* "Life-Changing" stays whole where the headline is wide enough to carry it; on a phone it may break at the hyphen. */
@media (min-width: 40rem) {
  .nowrap { white-space: nowrap; }
}

/* The hero video: a frame until it is clicked, then the video itself (site.js). Without scripts the play button opens the file. */
.hero-video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #d4af3566;
  background: #000;
  box-shadow: 0 30px 70px -30px #000000cc, 0 0 0 1px #00000066;
}

.hero-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The still is the video's own first picture, kept dim so the button and its words read on it. */
.hero-video__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #d4af3526, #08080866 55%, #08080899);
}

.hero-video__shade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0000008c, #0000001a 50%, #00000033);
}

.hero-video__prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-inline: 1.5rem;
  text-align: center;
}

.hero-video__play {
  position: relative;
  background: #000000a6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  border: 1px solid #d4af3599;
  color: #d4af35;
  transition: background-color 0.15s;
}

.hero-video__play:hover { background: #d4af3540; }

.hero-video__ring {
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: #d4af351a;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-video__play-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.125rem;
}

.hero-video__caption {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #000000a6;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5f5f7e6;
}

@media (max-width: 47.9375rem) {
  .hero-video__prompt { gap: 0.875rem; }
  .hero-video__play,
  .hero-video__ring { width: 3.5rem; height: 3.5rem; }
  .hero-video__caption { padding: 0.375rem 0.75rem; font-size: 0.6875rem; letter-spacing: 0.16em; }
}

@media (min-width: 48rem) {
  .hero-video__caption { font-size: 0.875rem; }
}

.hero-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

@keyframes ping {
  75%, 100% {
    opacity: 0;
    transform: scale(2);
  }
}

/* Credentials */

.stats {
  background: var(--card);
  border-bottom: 1px solid #ffffff1a;
}

.stats__grid {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem;
  text-align: center;
}

/* This one keeps the narrow side padding at every width, as the original did. */
.stats .wrap--6xl {
  padding-inline: 1.5rem;
}

@media (min-width: 40rem) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stat {
  position: relative;
}

.stat__value {
  font-family: var(--heading);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  text-wrap: balance;
}

/* From the width where the four sit in a row, every title gets two lines of room and rests on the lower one, so "20 Years" and
   "Rookie of the Year" share one rule and one label line. */
@media (min-width: 40rem) {
  .stat__value {
    font-size: clamp(1.375rem, 2.7vw, 2.25rem);
    line-height: 1.2;
    min-height: 2.4em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
}

.stat__rule {
  width: 3rem;
  height: 1px;
  margin: 0.75rem auto 0;
  background: var(--gold);
}

.stat__label {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #f5f5f799;
}

.stat__divider { display: none; }

@media (min-width: 40rem) {
  .stat__divider {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 4.5rem;
    background: #ffffff1a;
  }
}

/* Sections */

.section {
  scroll-margin-top: 5rem;
}

.section__intro {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.section__title {
  margin-top: 1rem;
  font-family: var(--heading);
  font-size: 2.25rem;
  line-height: 1.111;
  font-weight: 600;
}

@media (min-width: 48rem) {
  .section__title {
    font-size: 3rem;
    line-height: 1;
  }
}

.section--advantage .section__title,
.section--opportunity .section__title,
.section--income .section__title,
.section--pitch .section__title {
  line-height: 1.25;
}

.section--advantage .section__title { color: #fff; }

.section__lead {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #f5f5f7b3;
}

.section__lead--dim { color: #ffffff99; }

.section__lead--strong {
  margin-top: 1rem;
  color: #ffffffb3;
  font-weight: 500;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 4rem;
}

@media (min-width: 40rem) {
  .grid--pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .grid--pains { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.grid--skills { margin-top: 3.5rem; }

@media (min-width: 40rem) {
  .grid--skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .grid--skills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.grid--reasons { gap: 1.5rem; }

@media (min-width: 48rem) {
  .grid--reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .grid--reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  height: 100%;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid #ffffff0d;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-elegant);
}

.card--pain { padding: 1.25rem; }
.card--reason { padding: 2rem; }

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #d4af3726;
  color: var(--gold);
}

.badge--sm { width: 2.5rem; height: 2.5rem; }
.badge--lg { width: 2.75rem; height: 2.75rem; }

.card__title {
  margin-top: 1.25rem;
  font-family: var(--heading);
  font-size: 1.25rem;
  line-height: 1.375;
  font-weight: 600;
}

.card__title--sm {
  margin-top: 1rem;
  font-size: 1rem;
}

.card__text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #f5f5f7a6;
}

.card__text--sm {
  margin-top: 0.625rem;
  font-size: 13px;
}

/* Why I Pivoted */

.section--reality {
  background: var(--background);
  padding-block: 3.5rem 2rem;
}

@media (min-width: 48rem) {
  .section--reality { padding-block: 5rem 3rem; }
}

/* Your Competitive Advantage */

.section--advantage {
  position: relative;
  overflow: hidden;
  overflow: clip;
  background: #080808;
  padding-block: 3.5rem 6rem;
}

@media (min-width: 48rem) {
  .section--advantage { padding-block: 5rem 6rem; }
}

.section--advantage::before {
  content: "";
  position: absolute;
  top: -8rem;
  left: -8rem;
  width: 480px;
  height: 480px;
  border-radius: 9999px;
  background: #d4af371a;
  filter: blur(140px);
  pointer-events: none;
}

.section--advantage .wrap { position: relative; }

.card--skill {
  background: #ffffff0d;
  border-color: #ffffff1a;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
  transition: border-color 0.3s, background-color 0.3s;
}

.card--skill:hover {
  transform: none;
  box-shadow: none;
  border-color: #d4af3766;
  background: #ffffff14;
}

.card__title--gold {
  margin-top: 0;
  font-size: 1.125rem;
  color: var(--gold);
}

.card__text--light {
  margin-top: 0.5rem;
  color: #ffffffb3;
}

.advantage__call,
.advantage__answer {
  margin-inline: auto;
  text-align: center;
  font-family: var(--heading);
  line-height: 1.375;
}

.advantage__call {
  margin-top: 3rem;
  max-width: 56rem;
  font-size: 1.5rem;
  color: var(--gold);
}

.advantage__answer {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: #ffffffd9;
}

@media (min-width: 48rem) {
  .advantage__call { font-size: 1.875rem; }
  .advantage__answer { font-size: 1.5rem; }
}

/* Why AO Infinite Legacy */

.section--opportunity {
  background: var(--background);
  padding-block: 1rem 6rem;
}

@media (min-width: 48rem) {
  .section--opportunity { padding-block: 1.25rem 8rem; }
}

.opportunity__closing {
  margin-top: 4rem;
  margin-inline: auto;
  max-width: 48rem;
  text-align: center;
  font-family: var(--heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 2rem;
  color: #f5f5f7d9;
}

@media (min-width: 48rem) {
  .opportunity__closing {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

/* Income Potential */

.section--income {
  background: var(--card);
  padding-block: 5rem;
}

@media (min-width: 48rem) {
  .section--income { padding-block: 7rem; }
}

.income {
  display: grid;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

@media (min-width: 64rem) {
  .income {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--background);
  border-radius: 1rem;
  border: 1px solid #ffffff0d;
  box-shadow: var(--shadow-card);
  padding: 1rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-elegant);
}

.benefit__icon { color: var(--gold); }

.benefit__text {
  font-family: var(--heading);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.income__cta { margin-top: 2rem; }

.grid--earnings {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 48rem) {
  .grid--earnings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.earning {
  background: var(--background);
  border-radius: 1rem;
  border: 1px solid #ffffff0d;
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.earning:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-elegant);
}

.earning__count {
  font-family: var(--heading);
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}

@media (min-width: 48rem) {
  .earning__count { font-size: 3rem; }
}

.earning__label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.375;
  color: #f5f5f7b3;
}

.earning__label span {
  color: var(--gold);
  font-weight: 600;
}

.income__source {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #f5f5f799;
}

/* The Next Chapter and the lead form */

.section--pitch {
  background: var(--background);
  padding-block: 6rem;
}

@media (min-width: 48rem) {
  .section--pitch { padding-block: 8rem; }
}

.pitch {
  display: grid;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .pitch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5rem;
  }
}

.pitch__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 36rem;
  line-height: 1.625;
  color: #f5f5f7b3;
}

.pitch__strong {
  color: var(--foreground);
  font-weight: 500;
}

.pitch__note { font-style: italic; }

.lead-form {
  position: relative;
  background: var(--card);
  border-radius: 1.5rem;
  border: 1px solid #ffffff1a;
  box-shadow: var(--shadow-elegant);
  padding: 2rem;
}

@media (min-width: 48rem) {
  .lead-form { padding: 2.5rem; }
}

.lead-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form__row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .lead-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field--stacked { margin-top: 1.25rem; }
.field--consent { margin-top: 1.5rem; }

.field__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f5f5f78c;
}

.field__input {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field__input::placeholder { color: #f5f5f780; }

.field__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px #d4af3740;
}

.field__input[aria-invalid="true"] { border-color: var(--red); }

.field__error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--red);
}

.field__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.field__checkbox {
  flex: none;
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  accent-color: #d4af37;
}

.field__check-text {
  font-size: 0.75rem;
  line-height: 1.625;
  color: #f5f5f799;
}

.lead-form__error {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #fee2e2;
  background: #fef2f2;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--red);
}

.lead-form .btn--submit { margin-top: 1.75rem; }

.lead-form__fine {
  margin-top: 1.25rem;
  /* 12px and 60% white: the live site's 11px at 45% fell below the contrast a sentence of consent needs (4.5:1). */
  font-size: 0.75rem;
  line-height: 1.625;
  color: #f5f5f799;
}

.lead-form__fine a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* What replaces the form once the lead is on its way */

.thanks {
  background: var(--card);
  border-radius: 1.5rem;
  border: 1px solid #ffffff1a;
  box-shadow: var(--shadow-elegant);
  padding: 2.5rem;
  text-align: center;
  outline: none;
}

.thanks__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  color: var(--gold);
}

.thanks__title {
  margin-top: 1.25rem;
  font-family: var(--heading);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
}

.thanks__text {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: #f5f5f7b3;
}

.thanks .btn--submit { margin-top: 1.5rem; }

/* Footer */

.site-footer {
  background: #080808;
  padding-block: 5rem 2.5rem;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

@media (min-width: 48rem) {
  .site-footer__top {
    flex-direction: row;
    align-items: flex-end;
  }
}

.site-footer__brand {
  color: #fff;
  letter-spacing: 0.28em;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer__motto {
  margin-top: 1rem;
  font-family: var(--heading);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #ffffff80;
}

.site-footer__org {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #ffffff99;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 0.75rem;
}

.site-footer__nav a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #ffffff99;
  transition: color 0.15s;
}

.site-footer__nav a:hover { color: var(--gold); }

.site-footer__legal {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ffffff1a;
  scroll-margin-top: 5rem;
}

.site-footer__legal p {
  max-width: 48rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: #ffffff99;
}

.site-footer__legal .site-footer__copyright {
  margin-top: 1.5rem;
  color: #ffffff80;
}

/* Sections arrive as the visitor scrolls to them, as on the live site. Only once site.js has said it can (it adds "js-reveal"), and
   never for someone who asked for less movement: without that, everything is simply there. */
.js-reveal [data-reveal] {
  --reveal-delay: 0s;
  --reveal-duration: 0.7s;
  --reveal-distance: 24px;
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) var(--ease-out) var(--reveal-delay),
    transform var(--reveal-duration) var(--ease-out) var(--reveal-delay);
}

.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-video__ring,
  .btn__spinner { animation: none; }

  .btn,
  .btn--nav,
  .card,
  .benefit,
  .earning,
  .site-nav__link,
  .site-footer__nav a,
  .field__input,
  .hero-video__play { transition: none; }

  .card:hover,
  .benefit:hover,
  .earning:hover { transform: none; }
}

/* 404 and thank-you pages */

.plain {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.plain__card {
  max-width: 30rem;
  text-align: center;
}

.plain__code {
  font-family: var(--heading);
  font-size: 5.25rem;
  line-height: 1;
  font-weight: 400;
  color: #ffffff61;
}

.plain__rule {
  width: 4rem;
  height: 2px;
  margin: 1.5rem auto 0;
  background: var(--gold);
}

.plain__title {
  margin-top: 2rem;
  font-family: var(--heading);
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
}

.plain__text {
  margin-top: 1rem;
  line-height: 1.625;
  color: #f5f5f7b3;
}

.plain .btn {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
}

/* The privacy policy: a page of plain text in the site's style */

.policy-bar {
  border-bottom: 1px solid #ffffff1a;
}

.policy-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
}

.policy-bar__link {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #ffffff99;
  transition: color 0.15s;
}

.policy-bar__link:hover { color: var(--gold); }

.policy {
  max-width: 48rem;
  margin-inline: auto;
  padding: 4rem 1.5rem 6rem;
}

.policy__title {
  margin-top: 1rem;
  font-family: var(--heading);
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 600;
}

.policy__date {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #ffffff99;
}

.policy__lead {
  margin-top: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #f5f5f7e6;
}

.policy h2 {
  margin-top: 2.75rem;
  font-family: var(--heading);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
}

.policy p,
.policy li {
  margin-top: 1rem;
  line-height: 1.75;
  color: #f5f5f7cc;
}

.policy ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.policy li { padding-left: 0.25rem; }
.policy li::marker { color: var(--gold); }
.policy strong { color: #fff; font-weight: 600; }

.policy code {
  font-size: 0.875em;
  color: var(--gold-light);
}

.policy blockquote {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--gold);
  border-radius: 0 0.5rem 0.5rem 0;
  background: var(--card);
}

.policy blockquote p {
  margin-top: 0;
  font-size: 0.9375rem;
  color: #f5f5f7e6;
}

.policy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-foot {
  border-top: 1px solid #ffffff1a;
  padding-block: 2rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: #ffffff99;
}

@media (max-width: 47.9375rem) {
  .policy__title { font-size: 2rem; }
}
