:root {
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-soft: #EEF2F8;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --accent: #FF5526;
  --accent-deep: #E03D10;
  --accent-soft: #FFF1EC;
  --green: #0D9488;
  --green-soft: #ECFDF5;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-diffused: 0 24px 56px -14px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* Noise overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.025;
  background-image: radial-gradient(rgba(15, 23, 42, 0.85) 0.65px, transparent 0.65px);
  background-size: 12px 12px;
}

/* Double-Bezel Card Architecture */
.bezel {
  background: rgba(15, 23, 42, 0.035);
  border: 1px solid rgba(15, 23, 42, 0.075);
  padding: 6px;
  border-radius: 26px;
  transition: transform 0.35s var(--ease-spring), border-color 0.35s var(--ease-spring);
}

.bezel-inner {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-diffused);
  height: 100%;
}

/* Floating Glass Pill Navbar */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 35;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.nav {
  width: min(1220px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px 10px 22px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 34px -12px rgba(15, 23, 42, 0.08);
}

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

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 85, 38, 0.16);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav nav a:hover {
  color: var(--accent);
}

.nav nav a.nav-kit {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 85, 38, 0.26);
  padding: 5px 11px;
  border-radius: 999px;
}

/* Fallback bare <header> used by /kit/success confirmation page */
body > header {
  max-width: 1220px;
  margin: 20px auto 0;
  padding: 12px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-diffused);
}

body > header a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

/* Buttons */
.btn,
.confirmation .buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--ink);
  color: #FFFFFF;
  transition: transform 0.3s var(--ease-spring), background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.confirmation .buy:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(255, 85, 38, 0.45);
}

.btn:active,
.confirmation .buy:active {
  transform: scale(0.98);
}

.btn-island {
  padding: 8px 10px 8px 20px;
}

.btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}

.btn-island:hover .btn-arrow {
  transform: translateX(2px) translateY(-1px);
  background: rgba(255, 255, 255, 0.24);
}

.btn-small {
  padding: 7px 8px 7px 16px;
  font-size: 13.5px;
}

.btn-small .btn-arrow {
  width: 26px;
  height: 26px;
  font-size: 13px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.14);
}

/* Main container */
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 85, 38, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
}

h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
}

h1 em {
  font-style: italic;
  font-family: var(--font-sans);
  color: var(--accent);
  font-weight: 700;
}

/* Hero Section */
.hero {
  padding: 44px 0 64px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.65rem, 5vw, 4.35rem);
  line-height: 1.03;
  margin-bottom: 18px;
}

.hero .intro {
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0 0 26px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.hero .small {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
}

.kit-team-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 26px -14px rgba(15, 23, 42, 0.08);
  font-size: 13.5px;
  color: var(--ink-2);
}

.kit-avatars {
  display: flex;
  align-items: center;
}

.kit-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 18%;
  border: 2px solid #FFFFFF;
  background: var(--surface-soft);
  margin-left: -8px;
}

.kit-avatars img:first-child {
  margin-left: 0;
}

/* Hero Right Card */
.hero-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.hero-stage-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.pill-live {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.16);
}

.price-pill {
  margin-left: auto;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid rgba(255, 85, 38, 0.22);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-team-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-lead {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 30%, #FFF1EC 0%, #EEF2F8 85%);
  border: 1px solid rgba(255, 85, 38, 0.22);
}

.stage-lead img {
  width: 120px;
  height: 112px;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 16%;
  background: #FFFFFF;
  border: 1px solid var(--line);
}

.stage-lead-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stage-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  background: #FFFFFF;
  border: 1px solid rgba(255, 85, 38, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 2px;
}

.stage-lead-meta strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.stage-lead-meta span {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.35;
}

.stage-roster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stage-member {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, 0.06);
}

.stage-member img {
  width: 54px;
  height: 54px;
  border-radius: 11px;
  object-fit: cover;
  object-position: 50% 16%;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.stage-member div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stage-member strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

.stage-member span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.25;
}

.hero-stats-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hero-stats-mini > div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.hero-stats-mini b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.hero-stats-mini span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* Section Head */
.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.section-head .sub {
  margin: 0;
  font-size: 17px;
  color: var(--ink-2);
}

/* Contents Bento Grid */
.contents {
  padding: 40px 0 64px;
}

.bento-dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dl-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-card dt {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.dl-card dt b {
  color: var(--accent);
  font-weight: 800;
}

.dl-card dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* Start Section */
.start {
  padding: 16px 0 56px;
}

.start-shell {
  padding: 36px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.start-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.start-steps {
  margin: 0 0 20px;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.start-steps strong {
  color: var(--ink);
}

.start-steps code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface-soft);
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--ink);
}

.disclaimer {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.start-cta-card {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.start-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.start-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.start-price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.start-perks {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  font-size: 14px;
  color: var(--ink-2);
}

.start-cta-card .btn {
  width: 100%;
  justify-content: space-between;
}

.need-team-link {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}

.need-team-link:hover {
  color: var(--accent);
}

/* Post-purchase /kit/success confirmation card */
.confirmation {
  max-width: 680px;
  margin: 56px auto;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  box-shadow: var(--shadow-diffused);
}

.confirmation h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.confirmation p {
  color: var(--ink-2);
  margin: 0 0 18px;
}

.confirmation .small {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.foot a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.foot a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .bento-dl {
    grid-template-columns: repeat(2, 1fr);
  }
  .start-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav nav {
    display: none;
  }
  .bento-dl {
    grid-template-columns: 1fr;
  }
  .kit-team-row {
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .start-shell {
    padding: 24px;
  }
}
