/* Supersonic — themed on the site variables (css/site.css). */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.ss {
  width: min(1000px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #3f9d6d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ss-head h1 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; }
.sub { margin: 6px 0 0; color: var(--muted); max-width: 640px; line-height: 1.5; }

.card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 12px;
}
.card h3 { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--muted); }

.scene-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
#sky { display: block; width: 100%; }
#intake { display: block; width: 100%; border-radius: 8px; border: 1px solid var(--border); }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 7px;
  padding: 8px 16px;
  transition: border-color 140ms ease, background 140ms ease;
}
button:hover { border-color: rgba(199, 154, 58, 0.65); }
button.ghost { background: transparent; }
button.primary {
  background: rgba(199, 154, 58, 0.16);
  border-color: rgba(199, 154, 58, 0.55);
  font-weight: 600;
}

.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1; }

.slider { display: grid; gap: 3px; min-width: 190px; }
.slider span { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); }
.slider b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.slider input { width: 100%; accent-color: #c79a3a; margin: 0; }

.readout {
  display: grid;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.readout span:first-child { color: var(--text); font-weight: 600; }

.explainer {
  margin: 0;
  padding: 11px 14px;
  border-left: 3px solid #c79a3a;
  background: var(--bg-soft, rgba(128, 128, 128, 0.06));
  border-radius: 0 8px 8px 0;
  line-height: 1.55;
  font-size: 0.92rem;
}

.fineprint { margin: 0; font-size: 0.76rem; color: var(--muted); line-height: 1.55; }
.foot { max-width: 820px; }

@media (max-width: 640px) {
  .controls { gap: 8px; }
  .readout { text-align: left; }
}
