:root {
  --bg:        #FFFFFF;
  --bg-alt:    #F3F0EC;
  --bg-grey:   #F0F0F0;
  --bg-stage:  #ECECEC;
  --bg-dark:   #1F2937;
  --ink:       #0A0A0A;
  --ink-mute:  #8A8A8A;
  --acid:      #42FF00;
  --line:      #E6E6E6;
  --line-soft: rgba(10,10,10,0.08);

  --font-display: 'Monument Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Monument Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Monument Grotesk Mono', 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad-x: 28px;
  --r-card: 4px;
  --r-pill: 999px;
  --t-base: 0.2s;

  --topbar-h:    62px;
  --bottombar-h: 68px;
  --panel-w:     400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }

/* ---------------- TOP BAR ---------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--topbar-h);
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad-x);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar a { color: inherit; text-decoration: none; }
.topbar .logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.32em;
  font-size: 13px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.topbar .logo .logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  opacity: 0.5;
}

.steps {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.step-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-mute);
  transition: color var(--t-base), background var(--t-base);
}
.step-item .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 9px;
  letter-spacing: 0;
}
.step-item:hover { color: var(--ink); }
.step-item.done    { color: var(--ink); }
.step-item.active  {
  background: var(--ink);
  color: #fff;
}
.step-item.active .step-num { border-color: var(--acid); color: var(--acid); }

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
}
.price-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.close {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.close:hover { color: var(--ink); }

/* ---------------- LAYOUT ---------------- */
.builder {
  position: fixed;
  inset: var(--topbar-h) 0 var(--bottombar-h) 0;
  display: grid;
  grid-template-columns: 1fr var(--panel-w);
}

/* ---------------- STAGE / CANVAS ---------------- */
.stage {
  position: relative;
  background: var(--bg-stage);
}
#canvas-wrap {
  position: absolute;
  inset: 0;
}
#canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#canvas-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#canvas-loader.hidden { opacity: 0; }

.custom-mark {
  position: absolute;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  pointer-events: none;
  white-space: nowrap;
}

.stage-eyebrow {
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.stage-eyebrow span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}

/* View toggle (1/2/3/4) — top-right of the canvas */
.view-toggle {
  position: absolute;
  right: 24px;
  top: 24px;
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 18px rgba(0,0,0,0.08);
  z-index: 5;
}
.view-toggle button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.view-toggle button:hover {
  background: rgba(0,0,0,0.06);
  color: var(--ink);
}
.view-toggle button.active {
  background: var(--ink);
  color: #fff;
  transform: scale(1.04);
}
@media (max-width: 720px) {
  .view-toggle { right: 12px; top: 12px; }
  .view-toggle button { width: 28px; height: 28px; font-size: 11px; }
}

/* ---------------- PANEL ---------------- */
.panel {
  background: var(--bg);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  padding: 28px var(--pad-x) 32px;
}
.panel-step h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.panel-step .lede {
  margin-top: 8px;
  margin-bottom: 24px;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.55;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.group {
  margin-bottom: 24px;
}
.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* ---------- CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-stack { flex-direction: column; }
.chip {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base);
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips-stack .chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  height: 56px;
  box-sizing: border-box;
  border-radius: var(--r-card);
  letter-spacing: 0.06em;
  text-transform: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
}
.chips-stack .chip > span:first-child {
  flex: 1;
}
.chips-stack .chip .chip-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.chips-stack .chip.active .chip-meta { color: rgba(255,255,255,0.7); }

/* ---------- SHAPE GRID (step 1) ---------- */
.shape-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.shape-card {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-base), transform var(--t-base);
}
.shape-card:hover { border-color: var(--ink); }
.shape-card.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink) inset;
}
.shape-card img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 18px;
}
.shape-card .shape-name {
  position: absolute;
  left: 10px; bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.cat-tab {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: pointer;
  transition: color var(--t-base), border-color var(--t-base);
}
.cat-tab:hover { color: var(--ink); border-color: var(--ink); }
.cat-tab.active { color: var(--ink); border-color: var(--ink); background: var(--bg-alt); }

/* ---------- SWATCHES ---------- */
.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.swatch {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.swatch:hover { transform: translateY(-1px); }
.swatch.active { box-shadow: 0 0 0 2px var(--ink); }
.swatch.swatch-off {
  background: repeating-linear-gradient(45deg, #fff, #fff 4px, #ddd 4px, #ddd 5px);
}

/* ---------- INPUT ---------- */
input[type=text] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-base);
}
input[type=text]:focus { border-color: var(--ink); }
input[type=text]::placeholder { color: var(--ink-mute); }

/* ---------- FINISH SUMMARY ---------- */
.summary { display: grid; grid-template-columns: 1fr; gap: 0; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.summary-row .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.summary-row .v {
  font-family: var(--font-display);
  font-weight: 500;
  text-align: right;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0 8px;
}
.summary-total .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.summary-total .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
}

/* ---------------- BOTTOM BAR ---------------- */
.bottombar {
  position: fixed;
  inset: auto 0 0 0;
  height: var(--bottombar-h);
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--pad-x);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft);
}
.bottom-spec {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-primary {
  justify-self: end;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  background: var(--acid);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: filter var(--t-base);
}
.btn-primary:hover { filter: brightness(0.95); }
.btn-primary:disabled, .btn-ghost:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-ghost {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--t-base), border-color var(--t-base);
}
.btn-ghost:hover:not(:disabled) { background: var(--bg-alt); border-color: var(--ink); }

/* ---------------- DIALOG ---------------- */
dialog {
  border: none;
  padding: 0;
  width: min(560px, 92vw);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}
dialog::backdrop { background: rgba(10,10,10,0.45); backdrop-filter: blur(2px); }
.dialog-inner { padding: 28px; }
.dialog-inner header { margin-bottom: 18px; }
.dialog-inner h2 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.dialog-inner #dialog-body {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  background: var(--bg-alt);
  border-radius: var(--r-card);
  padding: 16px 18px;
  white-space: pre-wrap;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.dialog-actions .btn-ghost,
.dialog-actions .btn-primary {
  justify-self: auto;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  :root { --panel-w: 360px; }
  .step-item { padding: 6px 10px; }
}
@media (max-width: 900px) {
  .steps { display: none; }
}
@media (max-width: 820px) {
  :root { --topbar-h: 56px; --bottombar-h: 60px; --panel-w: 320px; }
  .builder { grid-template-columns: 1fr; grid-template-rows: 50vh 1fr; }
  .panel { border-left: none; border-top: 1px solid var(--line); }
  .price-pill { padding: 6px 10px; }
  .price-value { font-size: 12px; }
}

/* Dimensions grid */
.dim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-top: 10px;
}
.dim-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: var(--bg);
}
.dim-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.dim-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dim-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
}

/* Surf calculator stub */
.btn-calc {
  width: 100%;
  padding: 14px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  background: transparent;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: not-allowed;
  text-align: left;
  margin-top: 10px;
}

/* Dimensions dropdowns */
.dim-dropdowns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.dim-dd-wrap {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: 12px 14px 10px;
}
.dim-dd-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.dim-dd {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  padding-right: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a0a0a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 12px;
}
.dim-dd:focus { outline: none; }

/* Volume row */
.dim-volume {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 2px 0;
}
.dim-vol-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.dim-vol-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* Dim action buttons */
.dim-btn-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 4px;
}
.dim-btn {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dim-btn:hover { opacity: 0.85; }
.dim-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
}
.dim-btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  opacity: 1;
}

/* Single size select */
.dim-sel-wrap {
  position: relative;
}
.dim-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 14px 40px 14px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a0a0a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.dim-select:focus { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Specs grid (read-only) */
.dim-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.dim-spec-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--bg-alt);
}
.dim-spec-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------------- Volume Calculator dialog ---------------- */
#vc-dialog { width: min(640px, 94vw); }
.vc-inner { padding: 28px; }
.vc-lede {
  margin: 8px 0 0;
  color: var(--ink-muted, #6b6b6b);
  font-size: 13px;
  line-height: 1.5;
  font-family: var(--font-body, var(--font-display));
}
.vc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin: 22px 0 18px;
}
.vc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.vc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted, #6b6b6b);
}
.vc-input {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  box-sizing: border-box;
}
.vc-input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.vc-field .dim-select { font-size: 14px; }
.vc-result {
  margin: 4px 0 18px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vc-result .vc-headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.vc-result .vc-range {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.vc-result .vc-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-muted, #6b6b6b);
  line-height: 1.5;
}
.vc-result .vc-error {
  font-family: var(--font-display);
  font-size: 14px;
  color: #c0392b;
}
.vc-result .vc-warn {
  color: #c0392b;
  font-weight: 500;
}

/* ---------------- Checkout dialog ---------------- */
#dialog { width: min(640px, 94vw); }
.co-inner { padding: 28px; }
.co-lede {
  margin: 8px 0 0;
  color: var(--ink-muted, #6b6b6b);
  font-size: 13px;
  line-height: 1.5;
}
.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin: 22px 0 14px;
}
.co-grid .co-field-wide { grid-column: 1 / -1; }
.co-summary {
  margin: 4px 0 14px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--r-card);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
}
@media (max-width: 560px) {
  .co-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .vc-grid { grid-template-columns: 1fr; }
}

/* ---------------- Info step ---------------- */
.info-tagline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}
.info-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
  white-space: pre-line;
}
.info-empty {
  font-size: 14px;
  color: var(--ink-muted, #6b6b6b);
  margin: 0;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.info-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: var(--r-card);
}
.info-cell-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted, #6b6b6b);
}
.info-cell-v {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Segmented spec bars (Lost-reference style, our chip aesthetic) */
.spec-bar {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}
.spec-seg {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-muted, #6b6b6b);
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spec-seg.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
