/* Play Ready Plans waitlist. Mobile first, from 375px up. */

@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/bebas-neue-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("fonts/ibm-plex-sans-condensed-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("fonts/ibm-plex-sans-condensed-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("fonts/ibm-plex-sans-condensed-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("fonts/ibm-plex-sans-condensed-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0b4dff;
  --navy: #0a1740;
  --navy-card: #10204f;
  --yellow: #ffe500;
  --red: #d9202a;
  --paper: #ffffff;
  --line: #e2e5ee;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 5;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: 8px 14px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background: #fff04d;
}

.btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

.hero .btn:focus-visible {
  outline-color: #fff;
}

.btn:active {
  transform: translateY(1px);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: 26px 20px 0;
}

.slashes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slashes span {
  position: absolute;
  display: block;
  height: 10px;
  background: var(--yellow);
  transform: rotate(-32deg);
  border-radius: 1px;
}

.slashes span:nth-child(1) {
  width: 96px;
  top: 8px;
  right: -18px;
}

.slashes span:nth-child(2) {
  width: 72px;
  top: 26px;
  right: -28px;
}

.slashes span:nth-child(3),
.slashes span:nth-child(4) {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
}

.hero-copy {
  text-align: center;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
}

h1 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 14.6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.86;
}

.lede {
  margin: 16px auto 0;
  max-width: 36rem;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

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

.hero-photo {
  margin: 22px -20px 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Features: one column, icon left, text right, equal tiles, no rules. */

.features {
  padding: 8px 20px 4px;
  background: #fff;
}

.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
}

.feat-icon {
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  color: var(--navy);
}

.feat-icon svg {
  width: 2.7rem;
  height: 2.7rem;
  display: block;
}

.features p {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.stitch-row {
  display: flex;
  justify-content: center;
  padding: 22px 20px 6px;
  background: #fff;
}

.stitch-row svg {
  width: min(240px, 70%);
  height: auto;
  display: block;
}

/* Quote */

.quote-section {
  background: #fff;
  padding: 18px 0 36px;
}

.quote-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

blockquote {
  background: var(--navy);
  color: #fff;
  border-radius: 26px;
  padding: 18px 20px 26px;
}

.qmark {
  display: block;
  width: 86px;
  height: auto;
  margin-bottom: 8px;
}

blockquote p {
  font-size: 1.125rem;
  line-height: 1.5;
}

.quote-sign {
  margin-top: 18px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.ribbon {
  width: min(168px, 46%);
  height: 26px;
  margin-top: -8px;
  margin-left: 18px;
  background: repeating-linear-gradient(
    -32deg,
    var(--blue) 0 11px,
    var(--yellow) 11px 22px
  );
}

/* Why not */

.why {
  background: var(--navy);
  color: #fff;
  padding: 34px 20px 48px;
}

.why-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  max-width: var(--wrap);
  margin: 0 auto 20px;
}

.why h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 11vw, 4rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0.01em;
}

.why h2 span {
  color: var(--yellow);
}

.bolt {
  width: 64px;
  height: auto;
  flex: 0 0 auto;
  margin-top: 2px;
}

.why-grid {
  display: grid;
  gap: 14px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 18px 22px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: var(--navy-card);
}

.why-card.is-yes {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}

.mark {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--red);
  flex: 0 0 auto;
}

.why-card.is-yes .mark {
  color: var(--navy);
}

.why-copy {
  width: 100%;
}

.why-card h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 6px;
}

.why-card.is-yes h3,
.why-card.is-yes p {
  color: var(--navy);
}

.why-card p {
  font-size: 1.125rem;
  line-height: 1.4;
  color: #fff;
}

/* Safety. Icon tile stays on the left; text wraps beside it. */

.safety {
  background: #fff;
  padding: 40px 20px 52px;
}

.safety-inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.safety-top {
  margin-bottom: 28px;
}

.guidelines {
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.safety-mark {
  display: none;
}

#safety-rows {
  max-width: 920px;
}

.safety-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.safety-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tile {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: 1.05rem;
  color: #fff;
}

.tile svg {
  width: 68%;
  height: 68%;
  display: block;
}

.tile-no {
  background: var(--red);
}

.tile-yes {
  background: var(--blue);
}

.safety-list p {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(1.3rem, 5.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.15;
}

.safety-list .is-go p {
  color: var(--blue);
}

/* Price */

.price {
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
  padding: 56px 20px 60px;
}

.price-figures {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.price del {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(3.4rem, 14vw, 5rem);
  line-height: 0.8;
  color: var(--red);
  text-decoration: line-through;
  text-decoration-thickness: 0.07em;
  text-decoration-color: var(--red);
}

.price-now {
  font-family: var(--font-display);
  font-size: clamp(6.6rem, 30vw, 10.5rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0.01em;
}

.price-for {
  margin-top: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.price-plan {
  margin-top: 16px;
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-note {
  margin: 14px auto 0;
  max-width: 28rem;
  font-size: 1.0625rem;
  line-height: 1.45;
}

/* Signup */

.signup {
  background: #fff;
  text-align: center;
  padding: 48px 20px 36px;
}

.signup h2 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 11vw, 4.8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.signup-card {
  max-width: 460px;
  margin: 22px auto 0;
  padding: 26px 20px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
}

.signup-card p {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.45;
}

.site-footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 28px 22px 40px;
}

.site-footer p {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.45;
}

.site-footer p + p {
  margin-top: 12px;
}

::selection {
  background: var(--yellow);
  color: var(--navy);
}

@media (min-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .why-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 22px 22px 24px;
    text-align: left;
  }

  .why h2 {
    font-size: clamp(4rem, 6vw, 5.8rem);
  }

  .bolt {
    width: 92px;
  }
}

@media (min-width: 960px) {
  .slashes span {
    height: 16px;
  }

  .slashes span:nth-child(1) {
    width: 240px;
    top: 28px;
    right: 6%;
  }

  .slashes span:nth-child(2) {
    width: 190px;
    top: 68px;
    right: 1%;
  }

  .slashes span:nth-child(3) {
    display: block;
    width: 280px;
    top: 108px;
    right: -2%;
  }

  .slashes span:nth-child(4) {
    display: block;
    width: 150px;
    top: 148px;
    right: 14%;
  }

  .hero {
    padding: 64px 48px 108px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 36px;
  }

  .hero-copy {
    text-align: left;
  }

  .wordmark {
    font-size: 1.85rem;
    letter-spacing: 0.16em;
  }

  h1 {
    font-size: clamp(4.8rem, 6.3vw, 6.7rem);
  }

  .lede {
    margin-left: 0;
    font-size: 1.25rem;
  }

  .hero .btn {
    width: auto;
    min-width: 280px;
    padding-inline: 40px;
  }

  .hero-photo {
    margin: 0;
  }

  .features {
    position: relative;
    z-index: 2;
    max-width: 1040px;
    margin: -58px auto 0;
    padding: 6px 8px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(10, 23, 64, 0.12);
  }

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

  .features li {
    padding: 22px 18px;
  }

  .features li + li {
    box-shadow: inset 1px 0 0 var(--line);
  }

  .stitch-row {
    padding-top: 36px;
  }

  .quote-section {
    padding-bottom: 56px;
  }

  blockquote {
    padding: 28px 40px 36px;
    border-radius: 30px;
  }

  blockquote p {
    font-size: 1.35rem;
  }

  .qmark {
    width: 108px;
  }

  .why {
    padding: 52px 48px 72px;
  }

  .why-card h3 {
    font-size: 1.65rem;
  }

  .safety {
    padding: 64px 48px 80px;
  }

  .safety-top {
    display: grid;
    grid-template-columns: minmax(0, 40rem) 200px;
    align-items: center;
    gap: 12px;
  }

  .guidelines {
    font-size: 1.125rem;
  }

  .safety-mark {
    display: block;
    width: 210px;
    height: 86px;
    background:
      linear-gradient(var(--blue), var(--blue)) 0 0 / 100% 34px no-repeat,
      linear-gradient(var(--yellow), var(--yellow)) 0 46px / 78% 16px no-repeat;
    transform: rotate(-28deg);
    transform-origin: center;
  }

  .price {
    padding: 72px 48px 76px;
  }

  .price-for {
    font-size: 1.25rem;
  }

  .price-plan {
    font-size: 1.35rem;
  }

  .signup {
    padding: 64px 48px 48px;
  }

  .signup-card {
    padding: 32px 28px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:active {
    transform: none;
  }
}
