:root {
  --font-sans: Inter, Arial, sans-serif;
  --font-display: Inter, Arial, sans-serif;
  --bg: #f4f6f1;
  --panel: #ffffff;
  --panel-2: #e8eee6;
  --text: #0b0d0b;
  --muted: #5d675f;
  --line: rgba(8, 12, 9, 0.14);
  --green: #0f8f4f;
  --blue: #1246a0;
  --yellow: #f5c400;
  --accent: #f5c400;
  --accent-2: #0f8f4f;
  --button-text: #15110b;
}

/* Theme direction: Race yellow, with green and blue as support. */
















/* Global performance pass for the front page and ready-kit pages. */
.fan-hero-copy h1,
.under-cover-copy h1 {
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  line-height: 1;
}

.section-title h2,
.config-band h2,
.pimax-front-callout h2,
.flight-callout h2,
.ready-kits-hero h1,
.kits-section h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.02;
}

.front-cta,
.button.primary,
.more-kits,
.bundle-row article a {
  box-shadow: none;
}

.category-strip a,
.bundle-row article,
.style-grid article,
.config-band,
.pimax-front-callout,
.flight-callout,
.under-cover,
.ready-kit-card {
  box-shadow: none !important;
}

.category-strip a,
.bundle-row article,
.style-grid article,
.ready-kit-card,
.button {
  transform: none !important;
  transition: border-color 120ms ease, background 120ms ease !important;
}

.category-strip a:hover,
.bundle-row article:hover,
.style-grid article:hover,
.ready-kit-card:hover,
.button:hover {
  transform: none !important;
}

.fan-hero img,
.category-strip img,
.bundle-row img,
.style-grid img,
.pimax-front-callout img,
.flight-callout img,
.under-cover img,
.ready-kit-card img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

.fan-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 247, 234, 0.95), rgba(255, 247, 234, 0.48) 54%, rgba(255, 247, 234, 0.08)),
    linear-gradient(0deg, var(--bg), transparent 46%);
}

html.dark-theme .fan-hero::after,
body.dark-theme .fan-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 0.92), rgba(7, 11, 16, 0.42) 54%, rgba(7, 11, 16, 0.08)),
    linear-gradient(0deg, var(--bg), transparent 46%);
}

@media (max-width: 760px) {
  .fan-hero-copy h1,
  .under-cover-copy h1,
  .ready-kits-hero h1 {
    font-size: 36px;
  }

  .section-title h2,
  .config-band h2,
  .pimax-front-callout h2,
  .flight-callout h2,
  .kits-section h2 {
    font-size: 28px;
  }
}

/* Header consistency with the catalog and configurator pages. */
.front-header {
  height: 78px;
  padding: 0 clamp(18px, 4vw, 54px);
}

.front-header nav a,
.front-actions a,
.theme-toggle {
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}


html.dark-theme,
body.dark-theme {
  --bg: #050505;
  --panel: #101010;
  --panel-2: #171717;
  --text: #f7f7f7;
  --muted: #b5b5b5;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ffcc00;
  --accent-2: #1ed47a;
  --button-text: #050505;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

h1,
h2,
h3,
h4,
strong,
button,
input,
select,
textarea,
a {
  font-family: var(--font-display);
  letter-spacing: 0;
}

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

.front-header {
  align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  height: 78px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.front-brand img {
  display: block;
  height: 52px;
  object-fit: contain;
  width: 86px;
}

.front-logo-dark {
  display: none;
}

html.dark-theme .front-logo-light,
body.dark-theme .front-logo-light {
  display: none;
}

html.dark-theme .front-logo-dark,
body.dark-theme .front-logo-dark {
  display: block;
}

.front-header nav,
.front-actions,
.hero-actions {
  align-items: center;
  display: flex;
  gap: 20px;
}

.front-header nav a,
.front-actions a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.front-cta,
.button.primary,
.more-kits,
.bundle-row article a {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, var(--accent-2)));
  border-radius: 999px;
  color: var(--button-text);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 28%, transparent);
}

.front-cta {
  color: var(--button-text) !important;
  padding: 12px 16px;
}

.theme-toggle {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  text-transform: uppercase;
}

.theme-toggle-icon {
  background: var(--accent);
  border-radius: 999px;
  display: inline-block;
  height: 16px;
  width: 16px;
}

.fan-hero {
  align-items: end;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  padding: 120px clamp(18px, 6vw, 88px) 70px;
  position: relative;
}

.fan-hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  position: absolute;
  width: 100%;
}

.fan-hero::after {
  background:
    linear-gradient(90deg, rgba(244, 246, 241, 0.96), rgba(244, 246, 241, 0.54) 52%, rgba(244, 246, 241, 0.1)),
    linear-gradient(0deg, var(--bg), rgba(244, 246, 241, 0.04) 46%);
  content: "";
  inset: 0;
  position: absolute;
}

html.dark-theme .fan-hero::after,
body.dark-theme .fan-hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, var(--bg), rgba(0, 0, 0, 0.04) 46%);
}

.fan-hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.fan-hero-copy span,
.section-title span,
.config-band span,
.flight-callout span,
.bundle-row article span,
.under-cover-copy span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theme-kicker b:last-child {
  display: none;
}

html.dark-theme .theme-kicker b:first-child,
body.dark-theme .theme-kicker b:first-child {
  display: none;
}

html.dark-theme .theme-kicker b:last-child,
body.dark-theme .theme-kicker b:last-child {
  display: inline;
}

.fan-hero h1 {
  font-size: clamp(46px, 7vw, 96px);
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 12px 0 22px;
  max-width: 920px;
  text-transform: uppercase;
}

.fan-hero p {
  color: var(--text);
  font-size: 20px;
  line-height: 1.5;
  max-width: 590px;
}

html.dark-theme .fan-hero p,
body.dark-theme .fan-hero p {
  color: #e7e7e7;
}

.button,
.more-kits,
.bundle-row article a {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  text-transform: uppercase;
}

.button.secondary {
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 999px;
  color: var(--text);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-strip a {
  align-items: end;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  min-height: 260px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.category-strip img {
  height: 185px;
  inset: 12px 0 auto;
  margin: auto;
  object-fit: contain;
  position: absolute;
  width: 86%;
}

.category-strip strong {
  font-size: 28px;
  line-height: 1;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.category-strip span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.config-band,
.flight-callout {
  align-items: center;
  background:
    linear-gradient(90deg, var(--panel), color-mix(in srgb, var(--panel) 72%, transparent)),
    url("assets/gt-dd-pro-qr2-carbon-detail.webp") right center / contain no-repeat;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 320px;
  padding: 62px clamp(18px, 6vw, 88px);
}

.flight-callout {
  background:
    linear-gradient(90deg, var(--panel), color-mix(in srgb, var(--panel) 72%, transparent)),
    url("assets/products/pimax-super.webp") right center / contain no-repeat;
}

.pimax-front-callout {
  align-items: center;
  background:
    radial-gradient(circle at 80% 40%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 34%),
    linear-gradient(135deg, #f8fdff, #edf7ff 58%, #f8fbff);
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(24px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.48fr);
  min-height: 440px;
  overflow: hidden;
  padding: 62px clamp(18px, 6vw, 88px);
}

html.dark-theme .pimax-front-callout,
body.dark-theme .pimax-front-callout {
  background:
    radial-gradient(circle at 80% 40%, rgba(32, 215, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #050914, #0b1220 58%, #08111f);
}

.pimax-front-callout h2 {
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 0.98;
  margin: 10px 0 14px;
  max-width: 840px;
  text-transform: uppercase;
}

.pimax-front-callout p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}

.pimax-front-callout img {
  display: block;
  filter: drop-shadow(0 22px 46px rgba(0, 90, 170, 0.22));
  max-height: 330px;
  object-fit: contain;
  width: 100%;
}

.config-band h2,
.section-title h2,
.flight-callout h2 {
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 0.98;
  margin: 10px 0 14px;
  max-width: 840px;
  text-transform: uppercase;
}

.config-band p,
.section-title p,
.flight-callout p,
.under-cover-copy p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}

.under-cover {
  align-items: stretch;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  min-height: 430px;
}

.under-cover-visual {
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 42%),
    #060606;
  display: grid;
  overflow: hidden;
  place-items: center;
}

.under-cover-visual img {
  display: block;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
  padding: clamp(18px, 4vw, 46px);
  width: 100%;
}

.under-cover-copy {
  align-content: center;
  display: grid;
  padding: clamp(32px, 6vw, 88px);
}

.under-cover-copy h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.94;
  margin: 10px 0 16px;
  max-width: 760px;
  text-transform: uppercase;
}

.under-cover-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.under-cover-points small {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.bundle-section,
.racing-style {
  padding: 78px clamp(18px, 6vw, 88px);
}

.section-title {
  margin-bottom: 28px;
}

.bundle-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bundle-row article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 244, 0.96));
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: 230px auto auto 1fr auto;
  min-height: 460px;
  overflow: hidden;
  padding: 0;
}

.bundle-row img {
  background: #07100e;
  display: block;
  height: 230px;
  object-fit: cover;
  width: 100%;
}

.bundle-row article:nth-child(2) img,
.bundle-row article:nth-child(4) img {
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 151, 57, 0.18), transparent 48%),
    #07100e;
  object-fit: contain;
  padding: 18px;
}

html.dark-theme .bundle-row article,
body.dark-theme .bundle-row article {
  background:
    linear-gradient(180deg, rgba(20, 26, 24, 0.98), rgba(9, 14, 13, 0.98));
}

.bundle-row h3 {
  font-size: 20px;
  line-height: 1.08;
  margin: 10px 18px 8px;
  text-transform: uppercase;
}

.bundle-row span {
  margin: 18px 18px 0;
}

.bundle-row p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 18px;
}

.bundle-row article a {
  align-items: center;
  background: var(--green);
  color: #ffffff;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  margin: 18px;
  min-height: 48px;
  text-transform: uppercase;
}

.more-kits {
  margin-top: 20px;
}

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

.style-grid a {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 241, 0.96));
  border: 1px solid var(--line);
  display: grid;
  min-height: 480px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.style-grid a::after {
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--blue));
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.style-grid img {
  display: block;
  filter: none;
  height: 300px;
  object-fit: cover;
  opacity: 1;
  width: 100%;
}

html.dark-theme .style-grid a,
body.dark-theme .style-grid a {
  background:
    linear-gradient(180deg, rgba(22, 26, 25, 0.98), rgba(9, 13, 14, 0.98));
}

html.dark-theme .style-grid img,
body.dark-theme .style-grid img {
  background: #080b0f;
}

.style-grid strong {
  display: block;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.9;
  margin: 22px 24px 0;
  text-transform: uppercase;
}

.style-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 14px 24px 26px;
  max-width: 390px;
}

.mobile-whatsapp {
  display: none;
}

@media (max-width: 900px) {
  .front-header {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding: 14px 18px;
  }

  .front-header nav {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .front-actions {
    display: none;
  }

  .fan-hero {
    min-height: 680px;
    padding-top: 150px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-strip,
  .bundle-row,
  .style-grid,
  .config-band,
  .pimax-front-callout,
  .flight-callout,
  .under-cover {
    grid-template-columns: 1fr;
  }

  .category-strip a {
    min-height: 220px;
  }

  .config-band,
  .pimax-front-callout,
  .flight-callout {
    background: var(--panel);
  }

  .mobile-whatsapp {
    align-items: center;
    background: #12a955;
    border-radius: 999px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    color: #ffffff;
    display: flex;
    font-size: 14px;
    font-weight: 900;
    justify-content: center;
    left: 14px;
    min-height: 56px;
    position: fixed;
    right: 14px;
    z-index: 50;
  }
}

/* Final theme override: Race yellow, with green and blue as support. */
:root {
  --bg: #fff7ea;
  --panel: #fffdf8;
  --panel-2: #f3eadb;
  --text: #15110b;
  --muted: #716757;
  --line: #eadbc4;
  --green: #0f8f4f;
  --blue: #1246a0;
  --yellow: #f5c400;
  --accent: #f5c400;
  --accent-2: #0f8f4f;
  --button-text: #15110b;
}

html.dark-theme,
body.dark-theme {
  --bg: #070b10;
  --panel: #101821;
  --panel-2: #151f2a;
  --text: #f7f8f3;
  --muted: #aeb9b1;
  --line: #273543;
  --green: #1ed47a;
  --blue: #4a8dff;
  --yellow: #f5c400;
  --accent: #f5c400;
  --accent-2: #1ed47a;
  --button-text: #07100b;
}

body {
  background:
    linear-gradient(135deg, rgba(255, 189, 73, 0.18), transparent 36%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 82%, var(--panel-2)));
}

html.dark-theme body,
body.dark-theme {
  background:
    linear-gradient(125deg, transparent 0 50%, rgba(245, 196, 0, 0.08) 50% 51%, transparent 51%),
    linear-gradient(180deg, #070b10, #0b1118 48%, #101821);
}

.front-header {
  background: color-mix(in srgb, var(--panel) 94%, transparent);
}

.front-cta,
.button.primary,
.more-kits,
.bundle-row article a {
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 16%, transparent);
}

.fan-hero::after {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 96%, transparent), color-mix(in srgb, var(--bg) 54%, transparent) 52%, transparent),
    linear-gradient(0deg, var(--bg), transparent 46%);
}

html.dark-theme .fan-hero::after,
body.dark-theme .fan-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 0.94), rgba(7, 11, 16, 0.46) 52%, rgba(7, 11, 16, 0.12)),
    linear-gradient(0deg, var(--bg), rgba(7, 11, 16, 0.04) 46%);
}
