* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f2efe6;
  --surface: #fffaf0;
  --ink: #333333;
  --text: #3f3f46;
  --muted: #6b7280;
  --line: #d9d0bf;
  --blue: #1769aa;
  --blue-dark: #125283;
  --navy: #12344f;
  --red: #d21f2b;
  --yellow: #f6c945;
  --asphalt: #15171c;
  --night: #0d1118;
  --shadow: 0 18px 38px rgba(24, 24, 27, 0.14);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 23, 28, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}

body::before {
  content: "";
  display: block;
  height: 8px;
  background:
    linear-gradient(45deg, #111111 25%, transparent 25%),
    linear-gradient(-45deg, #111111 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #111111 75%),
    linear-gradient(-45deg, transparent 75%, #111111 75%),
    #f8f8f8;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}

a {
  color: inherit;
}

.page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar {
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 4px 4px 0 var(--red);
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
}

.brand span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a,
.footer a,
.contact-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.contact-link:hover {
  color: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 34px;
  align-items: center;
  padding: 38px 0 56px;
}

.drift-hero {
  position: relative;
  min-height: min(620px, calc(100vh - 120px));
  overflow: hidden;
  border-top: 1px solid #242832;
  border-bottom: 6px solid var(--red);
  background: var(--night);
}

.drift-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(13, 17, 24, 0.94) 0 31%, rgba(13, 17, 24, 0.75) 47%, rgba(13, 17, 24, 0.14) 100%),
    repeating-linear-gradient(112deg, transparent 0 34px, rgba(246, 201, 69, 0.2) 35px, rgba(246, 201, 69, 0.2) 37px, transparent 38px 72px);
}

.drift-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: 46px;
  z-index: 1;
  width: min(46vw, 520px);
  height: 18px;
  background: var(--yellow);
  transform: skewX(-28deg);
  box-shadow: -44px 26px 0 var(--red), -88px 52px 0 rgba(255, 255, 255, 0.86);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.78;
  filter: saturate(1.12) contrast(1.08);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 5vw, 70px) 0 clamp(84px, 7vw, 96px);
}

.drift-hero .eyebrow {
  color: var(--yellow);
}

.drift-hero h1 {
  max-width: 720px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(46px, 5.8vw, 72px);
  font-style: italic;
  line-height: 0.98;
  text-shadow: 5px 5px 0 rgba(210, 31, 43, 0.88);
  white-space: nowrap;
}

.hero-logo-card {
  display: inline-block;
  width: min(460px, 100%);
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 2px solid #ffffff;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 7px 7px 0 var(--red);
}

.hero-logo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.drift-hero .lead {
  max-width: 560px;
  color: #f5f0e5;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.42;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 12px 18px;
  background: var(--yellow);
  color: #1f1f1f;
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
}

.hero.policy {
  display: block;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(38px, 5.6vw, 58px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 22px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.disabled {
  border-color: var(--yellow);
  background: rgba(246, 201, 69, 0.12);
  color: #ffffff;
  box-shadow: 5px 5px 0 rgba(210, 31, 43, 0.82);
}

.screenshot {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.band {
  padding: 52px 0;
  border-top: 4px solid var(--asphalt);
  background: var(--bg);
}

.story-band {
  position: relative;
  background:
    linear-gradient(90deg, rgba(210, 31, 43, 0.08), transparent 42%),
    var(--surface);
}

.story-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(20px, calc((100% - 1080px) / 2));
  width: 8px;
  background: var(--red);
}

.story-copy {
  position: relative;
  max-width: 820px;
  padding-left: 28px;
}

.story-copy h2 {
  margin-bottom: 14px;
  color: var(--asphalt);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.story-copy p:not(.eyebrow) {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

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

.meme-band {
  background: #ffffff;
}

.meme-figure {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.meme-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.meme-figure figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin-bottom: 8px;
  color: var(--asphalt);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.grid,
.policy-grid {
  display: grid;
  gap: 16px;
}

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

.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px 0 54px;
}

.card,
.policy-card {
  padding: 22px;
  border: 2px solid var(--asphalt);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 7px 7px 0 rgba(21, 23, 28, 0.16);
}

.policy-card.wide {
  grid-column: 1 / -1;
}

.card h3,
.policy-card h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 8px;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  transform: skewX(-12deg);
}

.card p,
.policy-card p,
.policy-card li {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.policy-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.policy-card p + p {
  margin-top: 10px;
}

.notice {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 14px;
  line-height: 1.5;
}

.footer {
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero,
  .grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .drift-hero {
    min-height: 600px;
  }

  .drift-hero::before {
    background:
      linear-gradient(105deg, rgba(13, 17, 24, 0.95) 0 18%, rgba(13, 17, 24, 0.78) 58%, rgba(13, 17, 24, 0.36) 100%),
      repeating-linear-gradient(112deg, transparent 0 34px, rgba(246, 201, 69, 0.16) 35px, rgba(246, 201, 69, 0.16) 37px, transparent 38px 72px);
  }

  .hero-bg {
    object-position: 68% center;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 28px, 640px);
  }

  .topbar {
    display: grid;
  }

  .drift-hero {
    min-height: 560px;
  }

  .drift-hero::after {
    right: -160px;
    bottom: 68px;
    width: 360px;
  }

  .hero-copy {
    padding: 72px 0 104px;
  }

  .drift-hero h1 {
    font-size: clamp(46px, 14vw, 68px);
    text-shadow: 4px 4px 0 rgba(210, 31, 43, 0.88);
    white-space: normal;
  }

  .hero-logo-card {
    width: min(100%, 430px);
    margin-bottom: 20px;
    padding: 8px 10px;
    box-shadow: 5px 5px 0 var(--red);
  }

  .story-band::before {
    left: 14px;
  }

  .story-copy {
    padding-left: 22px;
  }
}
