:root {
  --color-canvas: #fafafa; /* Clinical neutrality removes the low-cost craft-kit association. */
  --color-surface: #ffffff; /* Pure product surfaces communicate cleanliness and control. */
  --color-surface-subtle: #f5f7f8;
  --color-text: #0a0a0b; /* Obsidian creates maximum authority for parents and educators. */
  --color-text-muted: #52525b;
  --color-border: rgba(10, 10, 11, 0.08); /* Precision separation without spreadsheet heaviness. */
  --color-border-strong: rgba(10, 10, 11, 0.14);

  --color-hardware: #0891b2; /* Signal teal identifies active engineering states. */
  --color-hardware-text: #0e7490; /* Darkened teal remains AA-safe for small text. */
  --color-hardware-electric: #00e5ff; /* Decorative LED halo only; never body text. */
  --color-hardware-soft: rgba(8, 145, 178, 0.09);
  --color-ready: #10b981; /* Reserved for genuine ready and success states. */
  --color-ready-strong: #047857;
  --color-error: #dc2626;

  --radius-control: 10px;
  --radius-panel: 12px;
  --radius-card: 14px;
  --radius-feature: 16px;

  --shadow-card:
    0 1px 2px rgba(10, 10, 11, 0.04),
    0 12px 32px rgba(10, 10, 11, 0.06);
  --shadow-card-hover:
    0 2px 4px rgba(10, 10, 11, 0.05),
    0 20px 48px rgba(10, 10, 11, 0.09);

  --duration-fast: 160ms;
  --duration-base: 240ms;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

/* Foundation */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
html, body { overflow-x: clip; }
[hidden] { display: none !important; }

body {
  min-width: 0;
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-text);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; }
a { color: inherit; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: rgba(8, 145, 178, 0.18); }
h1, h2, h3, p, figure, blockquote { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-sans);
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--color-hardware);
  outline-offset: 3px;
}

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

.section {
  position: relative;
  padding: clamp(76px, 8vw, 112px) 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -60px;
  left: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--color-text);
  color: var(--color-surface);
  text-decoration: none;
}

.skip-link:focus { top: 16px; }

/* Navigation */
.flux-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.88); /* A clean glass layer keeps navigation calm and legible. */
  box-shadow: 0 1px 0 rgba(10, 10, 11, 0.02);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 28px;
}

.flux-brand {
  display: inline-flex;
  min-height: 44px;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.flux-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--color-text);
  box-shadow: inset 0 -2px 0 var(--color-hardware);
  color: var(--color-surface);
  font: 600 14px/1 var(--font-mono);
}

.flux-brand strong {
  font: 700 17px/1 var(--font-sans);
  letter-spacing: -0.02em;
}

.flux-brand small {
  color: var(--color-text-muted);
  font: 500 11px/1.2 var(--font-mono);
}

.flux-nav nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

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

.flux-nav nav a,
.owner-link {
  color: var(--color-text-muted);
  font: 600 13px/1.2 var(--font-sans);
  text-decoration: none;
}

.flux-nav nav a {
  position: relative;
  padding-block: 8px;
  transition: color var(--duration-fast) ease;
}

.flux-nav nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--color-hardware);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition:
    opacity var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-premium);
}

.owner-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  white-space: nowrap;
  transition:
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-premium);
}

.console-link {
  border-color: rgba(8, 145, 178, 0.28);
  color: var(--color-hardware-text);
}

.nav-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.nav-price del {
  color: var(--color-text-muted);
  font: 500 11px/1.2 var(--font-mono);
  text-decoration-color: #a3a3a3;
  text-decoration-thickness: 1px;
}

.nav-price strong {
  font: 700 13px/1.2 var(--font-sans);
}

.owner-link span[aria-hidden="true"],
.button span[aria-hidden="true"],
.text-link span[aria-hidden="true"] {
  transition: transform var(--duration-base) var(--ease-premium);
}

/* Shared typography and actions */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--color-hardware-text);
  font: 600 11px/1.35 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--color-hardware);
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 19px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-control);
  background: var(--color-text); /* Obsidian actions feel transactional rather than promotional. */
  color: var(--color-surface);
  font: 700 14px/1.2 var(--font-sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.12);
  transition:
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    box-shadow var(--duration-base) ease,
    transform var(--duration-base) var(--ease-premium);
}

.button:disabled {
  border-color: #d4d4d8;
  background: #e4e4e7;
  box-shadow: none;
  color: var(--color-text-muted);
  cursor: not-allowed;
  transform: none;
}

.button--technical {
  border-color: var(--color-hardware-text);
  background: var(--color-hardware-text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-hardware-text);
  font: 650 13px/1.35 var(--font-sans);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--duration-fast) ease;
}

.hero-actions .text-link { color: var(--color-text); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 7vw, 104px) 0 clamp(84px, 8vw, 120px);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-canvas) 100%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 11, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 11, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 82% 74% at 68% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 82% 74% at 68% 40%, #000 20%, transparent 78%);
  /* The grid establishes engineering context, then fades before becoming visual noise. */
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.hero-copy {
  min-width: 0;
  padding-block: 22px;
}

.hero .eyebrow > span {
  background: var(--color-ready);
  animation: ready-pulse 2.4s ease-out infinite;
  /* A single live beacon suggests tested hardware without gaming-style motion. */
}

@keyframes ready-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.28); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--color-hardware-text);
  font-style: normal;
}

.lede {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 38px 0 0;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.03);
  list-style: none;
}

.facts li {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid var(--color-border);
}

.facts li:last-child { border-right: 0; }

.facts strong {
  display: block;
  color: var(--color-text);
  font: 600 12px/1.25 var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.facts > li > span {
  display: block;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.price-display {
  font-variant-numeric: tabular-nums;
}

.price-display del {
  color: var(--color-text-muted);
  text-decoration-color: #a3a3a3;
  text-decoration-thickness: 1px;
}

.price-display--fact {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 5px;
}

.price-display--fact del {
  font: 500 11px/1.25 var(--font-mono);
}

.price-display--fact strong {
  font-size: 16px;
}

.price-display__meta {
  display: flex !important;
  gap: 7px;
}

.price-display__meta [data-product-price-label] {
  color: var(--color-hardware-text);
  font-weight: 700;
}

.hero-media {
  display: flex;
  position: relative;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.hero-media::before {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: 4%;
  bottom: 15%;
  left: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16), transparent 68%);
  content: "";
  filter: blur(24px);
  opacity: 0.72;
  transform: scale(0.98);
  transition:
    opacity var(--duration-base) ease,
    transform var(--duration-base) var(--ease-premium);
  /* The halo borrows the board's LED energy without turning the page into a gaming UI. */
}

.product-stage {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(10px, 1.5vw, 20px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-feature);
  background: linear-gradient(145deg, #ffffff 65%, #f2fcfd 100%);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow var(--duration-base) ease,
    transform var(--duration-base) var(--ease-premium);
}

.product-stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1219 / 1024;
  object-fit: contain;
}

.hero-media figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(154px, 0.8fr);
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.03);
}

.hero-media figcaption span {
  padding: 12px;
  border-right: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font: 500 11px/1.45 var(--font-mono);
}

.hero-media figcaption span:last-child { border-right: 0; }
.hero-media figcaption b { color: var(--color-hardware-text); }

/* Learning proof and ready-project funnel */
.proof-strip {
  position: relative;
  padding: clamp(72px, 7vw, 96px) 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-subtle); /* One continuous surface unifies proof, projects, and learning method. */
}

.proof-shell {
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-feature);
  background: var(--color-surface);
  box-shadow: var(--shadow-card); /* One framed evidence module replaces the appearance of two stacked sections. */
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(44px, 6vw, 76px);
}

.proof-copy h2,
.learn-heading h2,
.kit-intro h2,
.faq h2 {
  margin: 0 0 17px;
  font-size: clamp(40px, 4.7vw, 60px);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.proof-copy > p:not(.eyebrow),
.learn-heading > p:not(.eyebrow),
.kit-intro > p:not(.eyebrow) {
  max-width: 63ch;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.proof-copy .proof-category {
  max-width: 54ch;
  margin: 0;
  padding-left: 18px;
  color: var(--color-hardware-text);
  font: 600 11px/1.55 var(--font-mono);
  letter-spacing: 0.04em;
  list-style: disc;
  text-transform: uppercase;
}

.proof-category li + li { margin-top: 6px; }
.proof-category li::marker { color: var(--color-hardware); }

.proof-feature {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-feature);
  background: #111318;
  box-shadow: var(--shadow-card);
}

.proof-feature video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111318;
  object-fit: cover;
}

.proof-feature figcaption {
  margin: 0;
  padding: 11px 13px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font: 500 11px/1.45 var(--font-mono);
}

/* Ready-project launcher */
.modes {
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(18px, 2.2vw, 24px);
  border-top: 1px solid var(--color-border);
}

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

.mode-chip {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  font: 650 13px/1.3 var(--font-sans);
  text-align: center;
  text-decoration: none;
  transition:
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    box-shadow var(--duration-base) ease,
    transform var(--duration-base) var(--ease-premium);
}

.mode-chip--all {
  gap: 8px;
  border-color: var(--color-hardware);
  background: var(--color-hardware-text); /* AA-safe teal keeps the compact action legible in white. */
  box-shadow: 0 5px 14px rgba(14, 116, 144, 0.14);
  color: var(--color-surface);
  font-weight: 700;
}

.mode-chip--all span[aria-hidden="true"] {
  transition: transform var(--duration-base) var(--ease-premium);
}

.mode-chip--project:focus-visible {
  border-color: var(--color-hardware);
  background: var(--color-hardware-text);
  box-shadow: 0 5px 14px rgba(14, 116, 144, 0.14);
  color: var(--color-surface);
  font-weight: 700;
}

.mode-grid:has(> .mode-chip--project:focus-visible) .mode-chip--all {
  border-color: var(--color-border);
  background: var(--color-surface);
  box-shadow: none;
  color: var(--color-text);
  font-weight: 650;
}

.card-label,
.stage-kicker {
  color: var(--color-hardware-text);
  font: 600 11px/1.35 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Think -> Build -> Fix workspace */
.learn {
  border-block: 1px solid var(--color-border);
  background: var(--color-surface);
}

.learn-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.learn-heading > p:not(.eyebrow) { margin: 0; }

.session-card {
  padding: 28px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-feature);
  background: var(--color-surface-subtle);
  box-shadow: var(--shadow-card);
}

.prompt-instruction {
  margin: 0 0 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font: 550 13px/1.5 var(--font-sans);
}

.session-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.session-picker > legend {
  margin: 0 0 15px;
  padding: 0;
  color: var(--color-hardware-text);
  font: 600 11px/1.35 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.session-steps {
  display: grid;
  position: relative;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: repeat(3, minmax(128px, auto));
  column-gap: 24px;
  row-gap: 10px;
}

.session-step { display: contents; }
.session-step:nth-child(1) .session-choice { grid-row: 1; }
.session-step:nth-child(2) .session-choice { grid-row: 2; }
.session-step:nth-child(3) .session-choice { grid-row: 3; }

.session-choice {
  display: grid;
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 128px;
  grid-column: 1;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 13px;
  padding: 20px 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition:
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    box-shadow var(--duration-base) ease,
    transform var(--duration-base) var(--ease-premium);
}

.session-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.session-choice:focus-within {
  z-index: 2;
  outline: 3px solid var(--color-hardware);
  outline-offset: 3px;
}

.session-choice.is-active {
  z-index: 2;
  border-color: var(--color-text);
  background: var(--color-text);
  box-shadow: inset 3px 0 0 var(--color-hardware);
  color: #d4d4d8;
}

.step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: 9px;
  color: var(--color-hardware-text);
  font: 600 11px/1 var(--font-mono);
}

.session-choice.is-active .step-number {
  border-color: rgba(0, 229, 255, 0.34);
  background: rgba(0, 229, 255, 0.08);
  color: #67e8f9;
}

.step-copy { min-width: 0; }

.step-copy b {
  display: block;
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.step-copy small {
  display: block;
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
}

.session-choice.is-active .step-copy b { color: var(--color-surface); }

.step-arrow {
  color: var(--color-hardware-text);
  font: 600 15px/1 var(--font-mono);
}

.session-choice.is-active .step-arrow { color: #67e8f9; }

.stage-panel {
  min-width: 0;
  min-height: 100%;
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.stage-panel h3 {
  margin: 9px 0 11px;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stage-intro {
  max-width: 62ch;
  margin-bottom: 28px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.stage-panel label:not(.session-choice) {
  display: block;
  margin: 0 0 10px;
  color: var(--color-hardware-text);
  font: 600 11px/1.35 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stage-panel label:not(.session-choice):not(:first-of-type) { margin-top: 20px; }

.stage-panel textarea {
  display: block;
  width: 100%;
  resize: vertical;
  padding: 14px 15px;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: inset 0 1px 2px rgba(10, 10, 11, 0.03);
  color: var(--color-text);
  font: 400 14px/1.6 var(--font-sans);
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.stage-panel textarea:focus {
  border-color: var(--color-hardware);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.14);
}

.field-help,
.brief-hint {
  min-height: 19px;
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.brief-hint.is-detected {
  color: var(--color-ready-strong);
  font-weight: 700;
}

.session-action { margin-top: 24px; }

.optional-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-hardware-text);
  font: 650 13px/1.45 var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.optional-brief { margin-top: 18px; }
.session-feedback { margin-top: 20px; }

.copy-status {
  min-height: 24px;
  margin: 0;
  color: var(--color-ready-strong);
  font-size: 13px;
  font-weight: 650;
}

.copy-status.is-error { color: var(--color-error); }

.template-details {
  margin-top: 10px;
  border-top: 1px solid var(--color-border);
}

.template-details summary {
  padding: 15px 0;
  color: var(--color-text);
  font: 600 11px/1.35 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.template-details summary::marker { color: var(--color-hardware); }

.template-details pre {
  max-height: 280px;
  overflow: auto;
  margin: 0 0 16px;
  padding: 16px;
  border-radius: var(--radius-control);
  background: #111318;
  color: #d9fbff;
  white-space: pre-wrap;
  font: 500 11px/1.6 var(--font-mono);
}

.ide-note {
  margin: 0;
  padding: 13px 15px;
  border-left: 3px solid var(--color-hardware);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  background: var(--color-hardware-soft);
  color: var(--color-text-muted);
  font-size: 13px;
}

/* Kit and purchase */
.kit { background: var(--color-surface-subtle); }

.kit-shell {
  display: block;
}

.kit-intro {
  max-width: 930px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.kit-card {
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-feature);
  background: var(--color-surface);
  box-shadow: var(--shadow-card); /* Calm elevation makes the purchase surface feel established. */
}

.kit-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 25px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #ffffff, #fbfcfc);
}

.kit-card-head p { margin: 0; }

.price-display--kit {
  display: grid;
  grid-template-columns: auto auto;
  justify-items: end;
  column-gap: 9px;
  row-gap: 2px;
  text-align: right;
}

.price-display--kit del {
  align-self: end;
  padding-bottom: 2px;
  font: 500 13px/1.25 var(--font-mono);
}

.price-display--kit strong {
  color: var(--color-text);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.price-display--kit [data-product-price-label],
.price-display--kit [data-product-savings] {
  color: var(--color-text-muted);
  font: 600 10px/1.3 var(--font-mono);
  white-space: nowrap;
  text-transform: uppercase;
}

.price-display--kit [data-product-price-label] {
  color: var(--color-hardware-text);
}

.kit-body {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border-bottom: 1px solid var(--color-border);
}

.kit-physical,
.kit-learning {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
}

.kit-learning {
  border-left: 1px solid var(--color-border);
  background: #fbfcfc;
}

.kit-section-label {
  margin: 0;
  color: var(--color-hardware-text);
  font: 600 11px/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kit-physical > h3 {
  max-width: 31ch;
  margin: 10px 0 23px;
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.hardware-group {
  padding: 16px 0 13px;
  border-top: 1px solid var(--color-border);
}

.hardware-group:last-child { padding-bottom: 0; }

.hardware-group h4 {
  margin: 0 0 9px;
  color: var(--color-text);
  font: 600 11px/1.4 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hardware-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hardware-group li {
  position: relative;
  padding-left: 15px;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.48;
}

.hardware-group li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-hardware-text);
  content: "•";
  font: 600 11px var(--font-mono);
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
}

.learning-step {
  min-height: 170px;
  padding: 23px;
}

.learning-step:nth-child(even) { border-left: 1px solid var(--color-border); }
.learning-step:nth-child(n + 3) { border-top: 1px solid var(--color-border); }

.learning-step > span {
  display: block;
  margin-bottom: 23px;
  color: var(--color-hardware-text);
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
}

.learning-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.learning-step p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.purchase-details { margin: 0; }

.purchase-details > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
  padding: 15px 25px;
  border-bottom: 1px solid var(--color-border);
}

.purchase-details dt {
  color: var(--color-hardware-text);
  font: 600 11px/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.purchase-details dd {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.purchase-actions {
  display: flex;
  justify-content: flex-start;
  padding: 21px 25px;
}

/* Testimonials render only after approved data is supplied. */
.testimonials:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 clamp(76px, 8vw, 112px);
}

.testimonials blockquote {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.testimonials blockquote p {
  color: var(--color-text);
  font-size: 16px;
}

.testimonials cite {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* FAQ and footer */
.faq {
  padding-top: clamp(70px, 7vw, 96px);
  background: var(--color-canvas);
}

.faq h2 { max-width: 760px; }

.faq-grid {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.faq details {
  overflow: visible; /* Native summary focus rings must remain fully visible outside the precision border. */
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-base) ease;
}

.faq details[open] {
  border-color: var(--color-border-strong);
  box-shadow: 0 8px 24px rgba(10, 10, 11, 0.05);
}

.faq summary {
  padding: 18px 20px;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
}

.faq summary::marker { color: var(--color-hardware); }

.faq details p {
  max-width: 780px;
  margin: 0;
  padding: 0 20px 19px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.resources {
  padding: clamp(44px, 5vw, 60px) 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface); /* Official setup links sit in a calm utility band, separate from the sales argument. */
}

.resources-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.resources-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.resources-copy > p:not(.eyebrow) {
  max-width: 42ch;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.resource-card {
  display: flex;
  min-width: 0;
  min-height: 82px;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-base) var(--ease-premium),
    transform var(--duration-base) var(--ease-premium);
}

.resource-card strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
}

.resource-card strong span[aria-hidden="true"] {
  color: var(--color-hardware-text);
  transition: transform var(--duration-fast) var(--ease-premium);
}

.resource-card > span {
  color: var(--color-text-muted);
  font: 500 11px/1.55 var(--font-mono);
}

.resource-note {
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.flux-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.flux-footer > div {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--color-text-muted);
  font: 500 11px/1.45 var(--font-mono);
}

.flux-footer > div > span {
  color: var(--color-text);
  font-weight: 600;
}

.flux-footer b {
  padding-inline: 3px;
  color: var(--color-hardware-text);
}

.flux-footer nav {
  display: flex;
  gap: 20px;
}

.flux-footer a { color: var(--color-hardware-text); }

/* Low-amplitude interaction language */
@media (hover: hover) {
  .flux-nav nav a:hover { color: var(--color-text); }
  .flux-nav nav a:hover::after { opacity: 1; transform: scaleX(1); }
  .owner-link:hover {
    border-color: var(--color-text);
    background: var(--color-text);
    color: var(--color-surface);
    transform: translateY(-1px);
  }
  .console-link:hover {
    border-color: var(--color-hardware-text);
    background: var(--color-hardware-text);
    color: var(--color-surface);
  }
  .owner-link:hover span[aria-hidden="true"],
  .button:hover span[aria-hidden="true"],
  .text-link:hover span[aria-hidden="true"] { transform: translateX(3px); }
  .button:hover:not(:disabled) {
    border-color: #27272a;
    background: #27272a;
    box-shadow: 0 6px 18px rgba(10, 10, 11, 0.16);
    transform: translateY(-1px);
  }
  .button--technical:hover:not(:disabled) {
    border-color: #155e75;
    background: #155e75;
    box-shadow: 0 6px 18px rgba(14, 116, 144, 0.18);
  }
  .text-link:hover { color: #155e75; }
  .hero-actions .text-link:hover { color: #27272a; }
  .hero-media:hover::before { opacity: 0.9; transform: scale(1.04); }
  .hero-media:hover .product-stage { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
  .mode-chip:hover {
    border-color: var(--color-border-strong);
    box-shadow: 0 6px 18px rgba(10, 10, 11, 0.06);
    transform: translateY(-1px);
  }
  .mode-chip--project:hover {
    border-color: var(--color-hardware);
    background: var(--color-hardware-text);
    box-shadow: 0 7px 18px rgba(14, 116, 144, 0.18);
    color: var(--color-surface);
    font-weight: 700;
  }
  .mode-grid:has(> .mode-chip--project:hover) .mode-chip--all {
    border-color: var(--color-border);
    background: var(--color-surface);
    box-shadow: none;
    color: var(--color-text);
    font-weight: 650;
  }
  .mode-chip--all:hover {
    border-color: #155e75;
    background: #155e75;
    box-shadow: 0 7px 18px rgba(14, 116, 144, 0.18);
  }
  .mode-chip--all:hover span[aria-hidden="true"] {
    transform: translateX(3px);
  }
  .session-choice:not(.is-active):hover {
    border-color: var(--color-border-strong);
    box-shadow: 0 8px 22px rgba(10, 10, 11, 0.05);
    transform: translateY(-1px);
  }
  .faq details:hover { border-color: var(--color-border-strong); }
  .resource-card[href]:hover {
    border-color: var(--color-border-strong);
    box-shadow: 0 8px 22px rgba(10, 10, 11, 0.05);
    transform: translateY(-1px);
  }
  .resource-card[href]:hover strong span[aria-hidden="true"] { transform: translate(2px, -2px); }
}

.button:active:not(:disabled),
.owner-link:active,
.mode-chip:active {
  transform: translateY(1px);
}

/* Responsive */
@media (min-width: 850px) {
  .session-steps { min-height: 720px; }

  #fixSymptom { height: 80px; }
  #fixCode { height: 75px; }

  #fixPanel .stage-intro { margin-bottom: 20px; }
  #fixPanel label:not(.session-choice):not(:first-of-type) { margin-top: 12px; }
  #fixPanel .field-help { margin-top: 4px; }
  #fixPanel .optional-toggle,
  #fixPanel .session-action { margin-top: 12px; }
  #fixPanel .session-feedback { margin-top: 12px; }
}

@media (max-width: 1000px) {
  .flux-nav nav { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-grid,
  .proof-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-media { max-width: 780px; }
  .proof-grid { gap: 30px; }
  .proof-media { max-width: 780px; }
}

@media (max-width: 820px) {
  .section,
  .proof-strip { padding-block: 72px; }
  .proof-shell { padding: 28px; }
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session-card { padding: 20px; }
  .session-steps {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    column-gap: 18px;
  }
  .session-choice {
    grid-template-columns: 34px minmax(0, 1fr) 15px;
    gap: 10px;
    padding: 17px 14px;
  }
  .stage-panel { padding: 27px; }
  .kit-body { grid-template-columns: 1fr; }
  .kit-learning {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }
  .resources-inner { grid-template-columns: 1fr; gap: 26px; }
  .resources-copy > p:not(.eyebrow) { max-width: 62ch; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section,
  .proof-strip { padding-block: 58px; }
  .nav-inner { min-height: 64px; gap: 12px; }
  .flux-mark { width: 27px; height: 27px; border-radius: 7px; }
  .flux-brand small { display: none; }
  .owner-link { min-height: 44px; padding: 9px 10px; font-size: 11px; }

  .hero { padding: 46px 0 68px; }
  .hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .lede { font-size: 16px; }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { min-height: 44px; }
  .facts { grid-template-columns: 1fr; margin-top: 30px; }
  .facts li {
    display: grid;
    grid-template-columns: minmax(74px, 0.42fr) 1fr;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }
  .facts li:last-child { border-bottom: 0; }
  .facts strong { margin: 0; }
  .price-display--fact { margin: 0; }
  .hero-media { margin-top: 6px; }
  .hero-media figcaption { grid-template-columns: 1fr; }
  .hero-media figcaption span {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }
  .hero-media figcaption span:last-child { border-bottom: 0; }

  html { scroll-padding-top: 76px; }

  .proof-shell { padding: 18px; }

  .proof-copy h2,
  .learn-heading h2,
  .kit-intro h2,
  .faq h2 { font-size: clamp(37px, 11vw, 50px); }
  .modes {
    margin-top: 28px;
    padding: 24px 0 0;
    border-top: 1px solid var(--color-border);
  }

  .learn-heading { margin-bottom: 27px; }
  .session-card { padding: 14px; }
  .prompt-instruction {
    margin-bottom: 14px;
    padding-bottom: 13px;
  }
  .session-steps { display: block; }
  .session-step { display: block; }
  .session-choice {
    min-height: 92px;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    margin-bottom: 9px;
    padding: 16px 14px;
  }
  .stage-panel {
    min-height: 0;
    margin: 0 0 14px;
    padding: 24px 18px;
    box-shadow: none;
  }
  .stage-panel h3 { font-size: 34px; }
  .stage-intro { margin-bottom: 22px; }
  .session-action { width: 100%; }

  .kit-card-head { padding: 20px 18px; }
  .price-display--kit strong { font-size: 24px; }
  .kit-physical,
  .kit-learning { padding: 23px 18px; }
  .hardware-group ul { grid-template-columns: 1fr; }
  .learning-grid { grid-template-columns: 1fr; }
  .learning-step { min-height: 0; }
  .learning-step:nth-child(even) { border-left: 0; }
  .learning-step:nth-child(n + 2) { border-top: 1px solid var(--color-border); }
  .learning-step > span { margin-bottom: 16px; }
  .purchase-details > div { grid-template-columns: 1fr; gap: 5px; }
  .purchase-actions { padding: 18px; }
  .purchase-actions .button { width: 100%; }
  .testimonials:not([hidden]) { grid-template-columns: 1fr; }

  .faq summary { padding: 17px 16px; }
  .faq details p { padding: 0 16px 17px; }
  .resources { padding-block: 46px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 76px; padding: 14px; }
  .flux-footer > div {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 25px;
  }
  .flux-footer nav { flex-wrap: wrap; gap: 10px 18px; }
}

@media (max-width: 560px) {
  .nav-actions [data-order-link] { display: none; }
}

@media (max-width: 380px) {
  .flux-brand { gap: 7px; }
  .flux-brand strong { font-size: 15px; }
  .owner-link { padding-inline: 8px; font-size: 10px; }
  .hero h1 { font-size: 43px; }
  .proof-shell { padding: 14px; }
  .mode-chip { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero .eyebrow > span { animation: none !important; }
  .hero-media::before,
  .product-stage,
  .mode-chip,
  .session-choice,
  .resource-card,
  .button,
  .owner-link { transform: none !important; }
}
