:root {
  --bg-0: #ffffff;
  --bg-1: #f6f7f9;
  --bg-2: #eef1f5;
  --card-bg: #ffffff;
  --card-bg-2: #f8f9fb;
  --text-main: #22252b;
  --text-strong: #101217;
  --text-muted: #616875;
  --accent: #cc2222;
  --accent-bright: #e63333;
  --border: rgba(19, 25, 35, 0.14);
  --radius: 12px;
  --container: 1200px;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.68;
  color: var(--text-main);
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 35%, #ffffff 100%);
}

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

a {
  color: inherit;
}

main {
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 48px));
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 42px,
    rgba(230, 51, 51, 0.62) 42px 86px,
    transparent 86px 128px
  );
  opacity: 0;
}

.section-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--text-strong);
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.section-subtitle {
  margin: 18px auto 0;
  max-width: 760px;
  color: #111722;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  font-weight: 500;
}

.preheader {
  margin: 0 0 14px;
  color: #667081;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  margin-top: 16px;
  border: 1px solid rgba(128, 26, 26, 0.28);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  padding: 16px 40px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #fff7ef;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(204, 34, 34, 0.24);
}

.btn:hover,
.btn:focus-visible {
  background: linear-gradient(180deg, #f13f3f, #b91f1f);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(204, 34, 34, 0.3);
}

.btn:focus-visible {
  outline: 2px solid #ffb7b7;
  outline-offset: 3px;
}

.btn-secondary {
  background: linear-gradient(180deg, #ffffff, #f1f4f9);
  color: #1c2431;
  border-color: rgba(19, 25, 35, 0.2);
  box-shadow: 0 8px 18px rgba(19, 25, 35, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: linear-gradient(180deg, #ffffff, #e9eef6);
}

.motion-streaks {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.22;
  z-index: 0;
  filter: saturate(1.15) contrast(1.05);
}

.hero-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(230, 51, 51, 0.12), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(204, 34, 34, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  padding: 124px 0;
}

.hero-streaks {
  inset: 0 auto auto 0;
  width: 68vw;
  max-width: 900px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  max-width: 56ch;
  padding-left: 18px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 4px;
  height: min(100%, 292px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(230, 51, 51, 0.92), rgba(140, 12, 12, 0.54));
  box-shadow: 0 0 18px rgba(204, 34, 34, 0.28);
}

.hero-kicker {
  margin: 0 0 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #5b6574;
}

.brand-mark {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-strong);
  font-size: clamp(4.5rem, 10vw, 6rem);
  line-height: 0.88;
  text-shadow: 0 6px 16px rgba(20, 28, 42, 0.16);
}

.hero-subtitle {
  margin: 22px 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-size: clamp(1.8rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.04;
  color: #131720;
}

.hero-subtitle span {
  display: block;
}

.hero-subtitle span + span {
  margin-top: 6px;
}

.hero-description {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1.03rem, 1.35vw, 1.15rem);
  line-height: 1.72;
  color: #2a303b;
}

.hero-description-secondary {
  margin-top: 10px;
}

.hero-emphasis {
  color: #b81212;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(184, 18, 18, 0.24);
}

.hero-feature-chips {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-feature-chips li {
  border: 1px solid rgba(19, 25, 35, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #edf2f8 100%);
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1f2735;
  box-shadow: 0 6px 16px rgba(22, 29, 42, 0.08);
}

.hero-copy .btn {
  margin-top: 24px;
}

.hero-trust-strip {
  margin: 14px 0 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: #3c4554;
}

.hero-tagline {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-image-wrap {
  position: relative;
  justify-self: end;
  width: min(100%, 560px);
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(247, 248, 250, 0), rgba(247, 248, 250, 0.95));
}

.hero-image {
  width: 100%;
  height: auto;
}

.confession-section {
  padding: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 59, 59, 0.22), transparent 32%),
    radial-gradient(circle at 12% 86%, rgba(255, 59, 59, 0.1), transparent 36%),
    #0e0e11;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.confession-section::before {
  opacity: 0;
}

.confession-scroll-track {
  position: relative;
  height: 500vh;
}

.confession-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 28px 0;
}

.confession-story-layout {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 72px;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding-inline: 14px;
  align-items: center;
}

.confession-media-column {
  display: grid;
  gap: 24px;
  align-items: start;
}

.confession-title-wrap {
  position: relative;
}

.confession-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.1vw, 4.8rem);
  line-height: 0.92;
  text-shadow: 0 0 20px rgba(255, 59, 59, 0.16);
}

.confession-copy-column {
  align-self: center;
  padding-top: 0;
  padding-left: 18px;
}

.confession-image-stack {
  position: relative;
  min-height: clamp(320px, 46vh, 540px);
}

.confession-image-current {
  position: relative;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 1;
  transform: translate3d(var(--final-drive, 0%), 0, 0) scale(1);
  transition: opacity 0.24s ease, transform 0.28s ease;
  will-change: transform, opacity;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
}

.confession-image-current.is-leave {
  opacity: 0;
  transform: translate3d(var(--final-drive, 0%), -10px, 0) scale(0.99);
}

.confession-image-current.is-enter {
  opacity: 1;
  transform: translate3d(var(--final-drive, 0%), 0, 0) scale(1);
}

.confession-text-stack {
  position: relative;
  min-height: clamp(240px, 30vh, 340px);
  display: flex;
  align-items: center;
}

.confession-step-current {
  position: relative;
  margin: 0;
  max-width: 46ch;
  color: #ffffff;
  font-size: clamp(1.12rem, 1.95vw, 1.42rem);
  line-height: 1.68;
  letter-spacing: 0.004em;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.2s ease, transform 0.24s ease;
  will-change: transform, opacity;
}

.confession-step-current.is-leave {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
}

.confession-step-current.is-enter {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.confession-step-current.is-payoff {
  font-weight: 600;
  color: #ffe9e9;
  text-shadow: 0 0 16px rgba(255, 59, 59, 0.22);
}

.conf-emphasis {
  color: #ff4545;
  font-weight: 700;
  text-shadow:
    0 0 8px rgba(160, 0, 0, 0.42),
    0 0 14px rgba(132, 0, 0, 0.34);
}

.conf-glow {
  text-shadow:
    0 0 10px rgba(176, 0, 0, 0.48),
    0 0 18px rgba(143, 0, 0, 0.42),
    0 0 26px rgba(110, 0, 0, 0.32);
}

.conf-brand {
  color: #ff2e2e;
  text-shadow:
    0 0 8px rgba(175, 0, 0, 0.48),
    0 0 16px rgba(145, 0, 0, 0.38);
}

.conf-angelic {
  text-shadow:
    0 0 10px rgba(255, 237, 184, 0.92),
    0 0 20px rgba(255, 225, 142, 0.74),
    0 0 34px rgba(255, 214, 116, 0.58);
}

.conf-promise {
  color: #fff0ba;
  font-weight: 700;
  text-shadow:
    0 0 12px rgba(255, 238, 194, 0.98),
    0 0 24px rgba(255, 224, 136, 0.72),
    0 0 38px rgba(255, 206, 88, 0.56);
}

.confession-cta-wrap {
  margin-top: 18px;
  text-align: center;
}

.confession-cta {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.garage-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.garage-section::before {
  opacity: 0.56;
}

.garage-section .section-title,
.garage-section .section-subtitle,
.garage-section .preheader {
  text-align: center;
}

.garage-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.garage-card {
  position: relative;
  overflow: visible;
  border: 1px solid var(--border);
  border-top: 3px solid var(--card-accent, #e63333);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-bg) 0%, var(--card-bg-2) 100%);
  padding: 28px;
  box-shadow: var(--shadow);
}

.corner {
  position: absolute;
  width: 58px;
  opacity: 0.62;
  pointer-events: none;
}

.corner.tl {
  top: -4px;
  left: -4px;
}

.corner.tr {
  top: -4px;
  right: -4px;
}

.corner.bl {
  bottom: -4px;
  left: -4px;
}

.corner.br {
  bottom: -4px;
  right: -4px;
}

.vehicle-image {
  width: min(100%, 350px);
  margin: 2px auto 20px;
}

.garage-card h3 {
  margin: 0 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: #121722;
  text-transform: uppercase;
}

.tagline {
  margin: 10px 0 12px;
  color: #272e3a;
  font-size: 1.04rem;
  font-weight: 500;
}

.garage-card .tagline {
  margin: 16px 0 18px;
  font-size: clamp(1.1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: #17202d;
}

.garage-card p {
  margin: 0;
  color: #2b3340;
  font-size: 1rem;
}

.card-group {
  margin-top: 18px;
}

.group-label {
  margin: 0 0 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #5d6675;
}

.stat-item + .stat-item {
  margin-top: 12px;
}

.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #3a4453;
}

.stat-head span:last-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  color: #1d2430;
}

.stat-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: visible;
  background: #d7deea;
  border: 1px solid rgba(23, 33, 48, 0.12);
}

.stat-fill {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4c45 0%, #d31111 100%);
  box-shadow: 0 0 14px rgba(230, 51, 51, 0.4);
  overflow: hidden;
}

.stat-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./ramble-assets/ramble-progress-bar.png");
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.28;
}

.stat-infinite {
  width: calc(100% + 26px);
}

.stat-infinite::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -8px;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  background: radial-gradient(circle, #ff615f 0%, rgba(255, 97, 95, 0) 80%);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.controls p {
  margin: 0;
  padding: 12px 13px;
  border-radius: 8px;
  border: 1px solid rgba(23, 33, 48, 0.14);
  background: rgba(236, 241, 248, 0.8);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.abilities .group-label {
  margin-bottom: 12px;
}

.ability-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ability-pill {
  position: relative;
}

.ability-chip {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(18, 25, 36, 0.15);
  border-radius: 8px;
  background: var(--card-accent);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 14px rgba(12, 18, 28, 0.16);
}

.ability-chip:hover,
.ability-pill:focus-within .ability-chip {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 12px 18px rgba(12, 18, 28, 0.2);
}

.ability-chip:focus-visible {
  outline: 2px solid rgba(230, 51, 51, 0.45);
  outline-offset: 2px;
}

.ability-hover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: clamp(220px, 25vw, 320px);
  margin: 0;
  padding: 12px 12px 12px 13px;
  border-radius: 9px;
  border: 1px solid rgba(18, 25, 36, 0.16);
  background: #ffffff;
  color: #2a3340;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 16px 28px rgba(10, 14, 22, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 7;
}

.ability-pill:hover .ability-hover,
.ability-pill:focus-within .ability-hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ability-pill:last-child .ability-hover {
  left: auto;
  right: 0;
}

.laps-section {
  background: linear-gradient(180deg, #f2f4f8 0%, #f9fafc 100%);
}

.laps-section::before {
  opacity: 0.68;
}

.laps-head {
  position: relative;
  text-align: center;
  margin-bottom: 36px;
}

.speedometer {
  position: absolute;
  right: 20px;
  top: -30px;
  width: clamp(180px, 22vw, 320px);
  opacity: 0.32;
  filter: drop-shadow(0 10px 24px rgba(15, 23, 36, 0.2));
  pointer-events: none;
}

.lap-card {
  margin-top: 26px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.lap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: 18px;
  align-items: start;
}

.lap-main {
  min-width: 0;
}

.lap-card h3 {
  margin: 12px 0 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: #121722;
  text-align: center;
}

.lap-badge {
  position: relative;
  width: min(100%, 340px);
  height: 56px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 20, 30, 0.26);
  border-radius: 10px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  overflow: hidden;
  background: linear-gradient(135deg, #1a202a 0%, #2a3343 100%);
  box-shadow: 0 10px 18px rgba(15, 23, 36, 0.16);
}

.lap-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    transparent 0 16px,
    rgba(230, 51, 51, 0.26) 16px 30px,
    transparent 30px 52px
  );
  opacity: 0.8;
}

.lap-badge-text {
  position: relative;
  z-index: 2;
  min-width: 62%;
  padding: 10px 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #ecf1f8 100%);
  border: 1px solid rgba(20, 30, 45, 0.18);
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.92rem, 1.8vw, 1.1rem);
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.13em;
}

.lap-badge-flare {
  position: absolute;
  top: 0;
  left: -45%;
  width: 36%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  transform: translateX(0);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.3s ease;
  z-index: 1;
}

.lap-badge:hover .lap-badge-flare,
.lap-badge.is-live .lap-badge-flare {
  opacity: 1;
  transform: translateX(320%);
}

.lap-badge.is-live {
  box-shadow: 0 12px 22px rgba(204, 34, 34, 0.3);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid rgba(19, 25, 35, 0.16);
  background: #fbfcff;
}

th,
td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(19, 25, 35, 0.1);
  text-align: left;
  vertical-align: top;
}

th {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d2430;
  background: #edf1f7;
}

td {
  color: #2a3341;
  font-size: 0.98rem;
}

tbody tr:nth-child(odd) td {
  background: rgba(19, 25, 35, 0.03);
}

.highlight-col-3 th:nth-child(3),
.highlight-col-3 td:nth-child(3) {
  background: rgba(230, 51, 51, 0.12);
}

.highlight-col-3 th:nth-child(3) {
  border-top: 2px solid var(--accent-bright);
}

.highlight-col-2 th:nth-child(2),
.highlight-col-2 td:nth-child(2) {
  background: rgba(230, 51, 51, 0.13);
}

.highlight-col-2 th:nth-child(2) {
  border-top: 2px solid var(--accent-bright);
}

.lap-summary {
  margin: 14px 0 0;
  color: #495466;
}

.lap-takeaway {
  position: relative;
  align-self: start;
  margin-top: 8px;
  padding: 8px 0 8px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: translateX(26px);
}

.lap-takeaway::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(230, 51, 51, 0.95) 0%, rgba(165, 26, 26, 0.75) 100%);
  box-shadow: 0 0 14px rgba(221, 41, 41, 0.36);
}

.takeaway-label {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.03rem;
  letter-spacing: 0.14em;
  color: #8b1d1d;
  text-transform: uppercase;
  font-weight: 700;
}

.takeaway-text {
  margin: 12px 0 0;
  color: #3c4758;
  font-size: 1rem;
  line-height: 1.64;
}

.stat-pop {
  color: #cb2222;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(229, 47, 47, 0.16);
}

.comparison-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
}

.comparison-section::before {
  opacity: 0.58;
}

.comparison-section .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  max-width: 90ch;
  text-align: center;
}

.comparison-section .table-scroll {
  margin-top: 4px;
}

.comparison-section .section-title {
  text-align: center;
}

.comparison-table {
  min-width: 860px;
}

.comparison-table th,
.comparison-table td {
  text-align: center;
  vertical-align: middle;
}

.yes {
  color: #1d9b56;
  font-weight: 700;
}

.no {
  color: #d74242;
  font-weight: 700;
}

.comparison-close {
  margin-top: 34px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 24px 26px;
  border-radius: 14px;
  border: 1px solid rgba(204, 34, 34, 0.26);
  background:
    radial-gradient(circle at 14% 0%, rgba(230, 51, 51, 0.16), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 20px 38px rgba(18, 24, 34, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  text-align: center;
}

.comparison-close p {
  margin: 0 0 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: #151b25;
}

.pricing-section {
  background: linear-gradient(180deg, #f3f6fb 0%, #eef2f8 100%);
}

.pricing-section::before {
  opacity: 0.74;
}

.pricing-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.18fr) minmax(0, 0.95fr);
  gap: 26px;
  align-items: start;
}

.pricing-card {
  position: relative;
  overflow: visible;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  padding: 102px 24px 24px;
  box-shadow: var(--shadow);
}

.tier-header {
  position: absolute;
  top: -28px;
  left: 50%;
  width: min(92%, 336px);
  min-height: 64px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(18, 26, 40, 0.18);
  display: grid;
  place-items: center;
  padding: 10px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #edf2fa 100%);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
  isolation: isolate;
}

.tier-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    transparent 0 20px,
    rgba(230, 51, 51, 0.28) 20px 34px,
    transparent 34px 56px
  );
  animation: tierRush 6s linear infinite;
  animation-delay: var(--rush-delay, 0s);
  opacity: 0.9;
}

.tier-name {
  position: relative;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.9rem, 1.55vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #10161f;
  text-align: center;
}

.tier-kicker {
  position: relative;
  z-index: 2;
  margin-bottom: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  letter-spacing: 0.09em;
  color: #ffe6e6;
}

.tier-test {
  background: linear-gradient(180deg, #ffffff 0%, #f0f4fb 100%);
}

.tier-featured {
  min-height: 74px;
  grid-auto-rows: min-content;
  background: linear-gradient(180deg, #ec2525 0%, #9f1010 100%);
  border-color: rgba(113, 11, 11, 0.54);
}

.tier-featured .tier-lines {
  background: repeating-linear-gradient(
    120deg,
    transparent 0 16px,
    rgba(255, 233, 233, 0.24) 16px 30px,
    transparent 30px 50px
  );
}

.tier-featured .tier-name {
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.tier-spoof {
  background: linear-gradient(180deg, #d7d9de 0%, #c0c4cc 100%);
  border-color: rgba(83, 88, 99, 0.34);
}

.tier-spoof .tier-lines {
  opacity: 0.35;
}

.tier-spoof .tier-name {
  color: #4e5460;
}

@keyframes tierRush {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 140px 0;
  }
}

.price {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: #151b25;
}

.price span {
  font-size: 1.05rem;
  color: #4f5969;
}

.pricing-card p {
  margin: 12px 0 0;
  color: #2d3644;
}

.plan-copy {
  font-size: 1rem;
  color: #465163;
}

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

.pricing-features li {
  position: relative;
  padding: 10px 12px 10px 40px;
  border: 1px solid rgba(18, 26, 40, 0.14);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 252, 0.96) 100%);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  top: 11px;
  left: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, #ec3838 0%, #be1818 100%);
  box-shadow: 0 2px 8px rgba(190, 24, 24, 0.28);
}

.feature-main {
  display: block;
  font-size: 0.99rem;
  line-height: 1.35;
  font-weight: 600;
  color: #1c2533;
}

.feature-sub {
  display: block;
  margin-top: 2px;
  color: #596477;
  font-size: 0.9rem;
  line-height: 1.35;
}

.pricing-card .btn {
  display: block;
  width: fit-content;
  margin-top: 22px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card.featured {
  border: 2px solid rgba(230, 51, 51, 0.7);
  transform: scale(1.03);
  transform-origin: top center;
  background: linear-gradient(180deg, #fffefe 0%, #ffecec 100%);
  box-shadow: 0 26px 56px rgba(204, 34, 34, 0.28);
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(230, 51, 51, 0.1), transparent 26%, transparent 74%, rgba(230, 51, 51, 0.1));
  pointer-events: none;
}

.pricing-card.featured .price {
  font-size: clamp(2.4rem, 4.8vw, 3.15rem);
}

.pricing-card.featured.thrust {
  box-shadow: 0 30px 70px rgba(204, 34, 34, 0.36);
}

.pricing-card.spoof {
  border-style: solid;
  border-color: rgba(98, 104, 116, 0.4);
  transform: none;
  background: linear-gradient(180deg, #edf0f4 0%, #dadfe7 100%);
  filter: saturate(0.45) grayscale(0.35);
  opacity: 0.88;
}

.pricing-card.spoof .price,
.pricing-card.spoof p {
  color: #535b68;
}

.strike-zone {
  margin-top: 8px;
  color: #555b68;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(214, 66, 66, 0.7);
}

.final-cta-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 51, 51, 0.12), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  padding: 122px 0 130px;
  border-top: 1px solid rgba(19, 25, 35, 0.12);
}

.final-cta-section::before {
  opacity: 0.78;
}

.cta-streaks {
  right: 0;
  left: auto;
  bottom: 0;
  width: min(1000px, 86vw);
  opacity: 0.06;
}

.final-cta-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-title {
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.04;
}

.final-subtitle {
  margin: 22px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 2.35rem);
  line-height: 1;
  color: #1a2130;
}

@media (max-width: 1150px) {
  body {
    font-size: 17px;
  }

  .garage-grid {
    gap: 22px;
  }

  .section {
    padding: 88px 0;
  }

  .confession-section {
    padding: 0;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-image-wrap {
    justify-self: center;
    width: min(100%, 640px);
  }

  .confession-stage {
    padding: 48px 0 34px;
  }

  .confession-story-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    padding-inline: 0;
  }

  .confession-media-column {
    gap: 14px;
  }

  .confession-title {
    font-size: clamp(2rem, 8.8vw, 3.2rem);
  }

  .confession-image-stack {
    min-height: clamp(260px, 40vh, 420px);
  }

  .confession-text-stack {
    min-height: clamp(300px, 36vh, 420px);
  }

  .confession-step-current {
    max-width: 100%;
    font-size: clamp(1.04rem, 3.8vw, 1.25rem);
    line-height: 1.58;
  }

  .confession-copy-column {
    padding-left: 0;
  }

  .speedometer {
    position: static;
    margin: 0 auto 14px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .pricing-card.featured,
  .pricing-card.spoof {
    transform: none;
  }

  .pricing-card.featured {
    order: -1;
  }

  .lap-layout {
    grid-template-columns: 1fr;
  }

  .lap-takeaway {
    transform: none;
    margin-top: 14px;
    padding-left: 16px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .section {
    padding: 76px 0;
  }

  .confession-section {
    padding: 0;
  }

  .hero-section {
    padding-top: 96px;
    padding-bottom: 94px;
  }

  .hero-copy {
    padding-left: 14px;
  }

  .hero-copy::before {
    width: 3px;
  }

  .hero-feature-chips {
    gap: 8px;
  }

  .hero-feature-chips li {
    font-size: 0.84rem;
    padding: 8px 12px;
  }

  .confession-scroll-track {
    height: 500vh;
  }

  .garage-grid {
    grid-template-columns: 1fr;
  }

  .garage-card,
  .lap-card,
  .pricing-card {
    padding: 24px;
  }

  .pricing-card {
    padding-top: 96px;
  }

  .tier-header {
    min-height: 60px;
  }

  table {
    min-width: 620px;
  }

  .comparison-table {
    min-width: 760px;
  }
}

@media (max-width: 460px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .section::before {
    width: calc(100% - 32px);
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 15px 24px;
  }

  .pricing-card .btn {
    width: 100%;
  }

  .brand-mark {
    font-size: clamp(3.8rem, 22vw, 5.1rem);
  }

  .hero-subtitle {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .hero-feature-chips {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-feature-chips li {
    border-radius: 8px;
    text-align: center;
  }

  .hero-trust-strip {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    line-height: 1.5;
  }

  .section-title {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }

  th,
  td {
    padding: 12px;
  }

  .corner {
    width: 48px;
    opacity: 0.48;
  }

  .ability-row {
    gap: 8px;
  }

  .ability-chip {
    font-size: 0.875rem;
    min-height: 42px;
    padding: 8px 6px;
  }

  .ability-hover {
    width: min(270px, calc(100vw - 64px));
  }

  .tier-header {
    width: min(94%, 310px);
    min-height: 56px;
  }

  .tier-name {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
