:root {
  --bg: #0a0a0b;
  --fg: #fafafa;
  --card: #0a0a0a;
  --primary: #e21d24;
  --primary-deep: #a31419;
  --muted: #a6a6a6;
  --border: #2e2e2e;
  --secondary: #1f1f1f;
  --display: Syne, ui-sans-serif, system-ui, sans-serif;
  --sans: Geist, ui-sans-serif, system-ui, sans-serif;
  --radius: 8px;
  color-scheme: dark;
}

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

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

body {
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 42% at 50% -12%, rgba(226, 29, 36, 0.22), transparent 62%);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary);
}

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

::selection {
  color: #fff;
  background: var(--primary);
}

.top,
main,
.foot {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand span {
  box-shadow: inset 0 -3px 0 var(--primary);
}

.door {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.hero {
  padding: 36px 0 8px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

h1,
h2,
h3,
.lede,
.sku-price {
  font-family: var(--display);
  letter-spacing: -0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
}

.lede {
  display: none;
  margin: 14px 0 0;
  max-width: 18ch;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.05;
  background: linear-gradient(var(--primary) 0%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-sku="full-truck"] .lede[data-for="full-truck"],
html[data-sku="events"] .lede[data-for="events"],
html[data-sku="webinar"] .lede[data-for="webinar"],
html[data-sku="ifb"] .lede[data-for="ifb"],
html:not([data-sku]) .lede[data-for="full-truck"] {
  display: block;
}

.pitch {
  max-width: 42rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.panel,
.frame-card,
.checkout {
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(46, 46, 46, 0.7);
  border-radius: var(--radius);
  backdrop-filter: blur(24px);
}

.panel {
  margin-top: 28px;
  padding: 22px;
}

.panel h2,
.stage h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.skus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.sku {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--secondary);
  text-decoration: none;
}

.sku-name {
  font-weight: 600;
}

.sku-price {
  font-size: 1.35rem;
  font-weight: 700;
}

.sku-note {
  color: var(--muted);
  font-size: 0.82rem;
}

html[data-sku="full-truck"] .sku[data-sku-link="full-truck"],
html[data-sku="events"] .sku[data-sku-link="events"],
html[data-sku="webinar"] .sku[data-sku-link="webinar"],
html[data-sku="ifb"] .sku[data-sku-link="ifb"] {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.when {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.when label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.when input {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #111;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
}

.readout,
.checkout p,
.stage-head p,
.frame-card p,
.foot {
  color: var(--muted);
}

.readout {
  margin: 0;
}

.checkout {
  margin-top: 18px;
  padding: 16px;
  background: #0c0c0c;
}

.scope {
  display: none;
  margin: 0 0 8px;
  color: var(--fg);
  font-weight: 600;
}

html[data-sku="full-truck"] .scope[data-for="full-truck"],
html[data-sku="events"] .scope[data-for="events"],
html[data-sku="webinar"] .scope[data-for="webinar"],
html[data-sku="ifb"] .scope[data-for="ifb"],
html:not([data-sku]) .scope[data-for="full-truck"] {
  display: block;
}

.checkout p {
  margin: 0 0 10px;
}

#checkout {
  appearance: none;
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: not-allowed;
}

.stage {
  margin-top: 28px;
}

.stage-head p {
  margin: 8px 0 0;
  max-width: 46rem;
}

.frames {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.frame-card {
  padding: 12px;
  background: var(--card);
}

.frame-card header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.frame-card header p {
  margin: 4px 0 10px;
  font-size: 0.9rem;
}

.frame-card iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  border-radius: 6px;
  background: #111;
}

html[data-sku="events"] .frame-card:not([data-app="events"]),
html[data-sku="webinar"] .frame-card:not([data-app="webinar"]),
html[data-sku="ifb"] .frame-card:not([data-app="ifb"]) {
  display: none;
}

html[data-sku="events"] .frame-card iframe,
html[data-sku="webinar"] .frame-card iframe,
html[data-sku="ifb"] .frame-card iframe {
  height: min(78vh, 820px);
}

.foot {
  width: min(1120px, calc(100% - 32px));
  padding: 28px 0 40px;
  font-size: 0.9rem;
}

.foot p {
  margin: 0 0 6px;
}

@media (min-width: 800px) {
  .skus {
    grid-template-columns: repeat(4, 1fr);
  }

  .when {
    grid-template-columns: 180px 160px 1fr;
    align-items: end;
  }

  .when .readout {
    padding-bottom: 12px;
  }

  #checkout {
    width: auto;
    min-width: 240px;
  }

  .frame-card iframe {
    height: 640px;
  }
}
