/* ═══════════════════════════════════════════════════════════
   4Sight Wellness Balance Check — Orbital Theme
   Dark void background, ECharts gauge rings, neon glow bars
   Prefix: sc-
   ═══════════════════════════════════════════════════════════ */

/* ── Layout & Theme Overrides ─────────────────────────── */
.sc-page {
  min-height: 100vh;
  background: #05040a;
  color: #f0f0f5;
  font-family: 'JetBrains Mono', monospace;
  -webkit-font-smoothing: antialiased;
  /* Override global theme vars to enforce dark orbital */
  --bg-dark: #05040a;
  --bg-card: rgba(255,255,255,0.015);
  --bg-elevated: rgba(255,255,255,0.03);
  --bg-surface: rgba(255,255,255,0.02);
  --border-primary: rgba(255,255,255,0.04);
  --border-secondary: rgba(255,255,255,0.08);
  --text-primary: #f0f0f5;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.35);
  --overlay-hover: rgba(255,255,255,0.04);
  --overlay-active: rgba(255,255,255,0.06);
}
/* Force dark even if light theme is set globally */
[data-theme="light"] .sc-page {
  background: #05040a;
  color: #f0f0f5;
  --bg-dark: #05040a;
  --bg-card: rgba(255,255,255,0.015);
  --bg-elevated: rgba(255,255,255,0.03);
  --bg-surface: rgba(255,255,255,0.02);
  --border-primary: rgba(255,255,255,0.04);
  --border-secondary: rgba(255,255,255,0.08);
  --text-primary: #f0f0f5;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.35);
  --overlay-hover: rgba(255,255,255,0.04);
  --overlay-active: rgba(255,255,255,0.06);
}

.sc-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

/* ── Hero / Header ────────────────────────────────────── */
.sc-hero {
  text-align: center;
  padding: 2rem 1.25rem 0.75rem;
}

.sc-header-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.sc-hero h1 {
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.sc-hero h1 span {
  font-weight: 600;
  background: linear-gradient(135deg, #e85d5d, #34d399, #a78bfa, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sc-hero p {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Presets ────────────────────────────────────────────── */
.sc-presets {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.sc-preset-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'JetBrains Mono', monospace;
}
.sc-preset-btn:hover {
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}
.sc-preset-btn.active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}

/* ── Composite Ring ──────────────────────────────────── */
.sc-composite-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.sc-ring-container {
  width: 200px;
  height: 200px;
  position: relative;
}

.sc-ring-chart {
  width: 200px;
  height: 200px;
}

.sc-ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.sc-ring-score {
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -2px;
  transition: color 0.3s;
}

.sc-ring-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
  transition: color 0.3s;
}

/* ── Satellite Rings ─────────────────────────────────── */
.sc-satellites {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: -8px;
  margin-bottom: 28px;
}

.sc-sat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.sc-sat-ring {
  width: 56px;
  height: 56px;
}

.sc-sat-name {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── Stats Row (hidden in orbital) ───────────────────── */
.sc-stats-row {
  display: none;
}

/* ── 2x2 Pillar Grid ────────────────────────────────── */
.sc-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Pillar Card ─────────────────────────────────────── */
.sc-card {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 20px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s;
}
.sc-card:hover {
  border-color: rgba(255,255,255,0.08);
}

/* Glow blob — color set dynamically via --sc-glow-color */
.sc-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.06;
  pointer-events: none;
  background: var(--sc-glow-color, rgba(255,255,255,0.1));
  transition: background 0.4s;
}

/* Card header: pillar name + score */
.sc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.sc-card-pillar {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sc-card-score {
  font-size: 32px;
  font-weight: 300;
  transition: color 0.3s;
}

.sc-card-body {
  position: relative;
  z-index: 1;
}

/* ── Section Dividers ─────────────────────────────────── */
.sc-section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 16px 0 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sc-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.04);
}
.sc-section-required::before {
  content: '*';
  color: #ef4444;
  margin-right: 0.1rem;
  font-size: 11px;
}

/* ── Input Row ─────────────────────────────────────────── */
.sc-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 0;
}

.sc-input-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  width: 85px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  letter-spacing: 0.3px;
}
.sc-input-label .sc-input-note {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  line-height: 1.15;
}

/* Range slider */
.sc-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--thumb-color, #3b82f6) 0%,
    var(--thumb-color, #3b82f6) var(--fill-pct, 0%),
    rgba(255,255,255,0.04) var(--fill-pct, 0%),
    rgba(255,255,255,0.04) 100%
  );
  outline: none;
}
.sc-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: transparent;
}
.sc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  border-radius: 5px;
  background: var(--thumb-color, #3b82f6);
  cursor: pointer;
  border: none;
  filter: brightness(1.6);
  box-shadow: 0 0 12px 2px var(--thumb-color, #3b82f6);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: -5px;
}
.sc-range::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  box-shadow: 0 0 16px 4px var(--thumb-color, #3b82f6);
}
.sc-range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
  border: none;
}
.sc-range::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--thumb-color, #3b82f6);
}
.sc-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 5px;
  background: var(--thumb-color, #3b82f6);
  cursor: pointer;
  border: none;
  filter: brightness(1.6);
  box-shadow: 0 0 12px 2px var(--thumb-color, #3b82f6);
}

/* Number input */
.sc-num-input {
  width: 52px;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 4px 3px;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 400;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
  flex-shrink: 0;
}
.sc-num-input::-webkit-outer-spin-button,
.sc-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sc-num-input:focus {
  border-color: rgba(255,255,255,0.12);
}

.sc-unit {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  width: 26px;
  flex-shrink: 0;
}

/* Mobile +/- stepper */
.sc-stepper {
  display: none;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.sc-stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  font-family: 'JetBrains Mono', monospace;
}
.sc-stepper-btn:active {
  background: rgba(255,255,255,0.06);
  transform: scale(0.92);
}
.sc-stepper-val {
  min-width: 50px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

/* ── Toggle switch ─────────────────────────────────────── */
.sc-toggle {
  position: relative;
  width: 38px;
  height: 21px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.sc-toggle.active {
  background: color-mix(in srgb, var(--toggle-color, #3b82f6) 30%, transparent);
  border-color: var(--toggle-color, #3b82f6);
}
.sc-toggle::after {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sc-toggle.active::after {
  transform: translateX(17px);
  background: var(--toggle-color, #3b82f6);
  box-shadow: 0 0 8px color-mix(in srgb, var(--toggle-color, #3b82f6) 45%, transparent);
}

.sc-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 4px 0;
}
.sc-toggle-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}
.sc-toggle-val {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}

/* ── Goals expand ──────────────────────────────────────── */
.sc-goals-toggle {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  margin: 12px 0 6px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}
.sc-goals-toggle::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.04);
}
.sc-goals-toggle .sc-chevron {
  transition: transform 0.2s;
  font-size: 9px;
}
.sc-goals-toggle[data-open="true"] .sc-chevron {
  transform: rotate(90deg);
}
.sc-goals-section {
  display: none;
  padding-bottom: 4px;
}
.sc-goals-section.open { display: block; }

/* ── Deviation pill (fuel) ─────────────────────────────── */
.sc-deviation {
  font-size: 11px;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 6px;
  margin: 4px 0 6px;
}
.sc-deviation-over {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.1);
  color: rgba(239, 68, 68, 0.7);
}
.sc-deviation-under {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.1);
  color: rgba(34, 197, 94, 0.7);
}
.sc-deviation-note {
  color: rgba(255,255,255,0.2);
  margin-left: 6px;
  font-size: 10px;
}

/* ── Derived signals box (rise) ────────────────────────── */
.sc-derived-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 6px 0;
}
.sc-derived-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}
.sc-derived-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}
.sc-derived-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
}
.sc-derived-val {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

/* ── Component Breakdown ──────────────────────────────── */
.sc-breakdown {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.sc-breakdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sc-breakdown-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.sc-breakdown-cols {
  display: flex;
  gap: 12px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.sc-comp-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.sc-comp-disabled {
  opacity: 0.15;
}
.sc-comp-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  width: 80px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}
.sc-comp-weight {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  width: 26px;
  text-align: right;
  flex-shrink: 0;
}

/* Neon glow bar track */
.sc-comp-bar-track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  overflow: visible;
  position: relative;
}

/* Neon glow bar fill */
.sc-comp-bar-fill {
  height: 100%;
  border-radius: 3px;
  position: relative;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* background and color set inline by JS */
}

/* Neon glow tip on leading edge */
.sc-comp-bar-fill::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -3px;
  bottom: -4px;
  width: 8px;
  border-radius: 4px;
  background: inherit;
  filter: brightness(1.6);
  box-shadow: 0 0 12px 2px currentColor;
}

.sc-comp-val {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}
.sc-comp-contrib {
  font-size: 12px;
  font-weight: 500;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
  /* color set inline by JS */
}
.sc-comp-picked {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  margin: -2px 0 3px 0;
}
.sc-renorm {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  margin-top: 4px;
}

/* ── Insight Cards ─────────────────────────────────────── */
.sc-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.sc-insight {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 20px;
}
.sc-insight-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-bottom: 10px;
}
.sc-insight-title {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.sc-insight-val {
  font-size: 15px;
  font-weight: 500;
}
.sc-insight-desc {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── CTA Banner ────────────────────────────────────────── */
.sc-cta-banner {
  text-align: center;
  margin-top: 32px;
  padding: 32px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
}
.sc-cta-banner h3 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 6px;
}
.sc-cta-banner p {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin: 0 0 20px;
}
.sc-cta-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.sc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: 'JetBrains Mono', monospace;
}
.sc-cta-primary {
  background: linear-gradient(135deg, #e85d5d, #f59e0b);
  color: #05040a;
  font-weight: 600;
}
.sc-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(232, 93, 93, 0.3);
}
.sc-cta-share, .sc-cta-retry {
  background: none;
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
}
.sc-cta-share:hover, .sc-cta-retry:hover {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

/* ── Share toast ───────────────────────────────────────── */
.sc-share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  backdrop-filter: blur(12px);
  font-family: 'JetBrains Mono', monospace;
}
.sc-share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── How it works ──────────────────────────────────────── */
.sc-how-works {
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 20px;
}
.sc-how-works summary {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-how-works summary::-webkit-details-marker { display: none; }
.sc-how-works summary .sc-chevron { transition: transform 0.2s; font-size: 10px; }
.sc-how-works[open] summary .sc-chevron { transform: rotate(90deg); }
.sc-how-works-content {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.sc-how-works-content h4 {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  margin: 14px 0 4px;
}
.sc-how-works-content p { margin: 4px 0; }

/* ── Footer info bar ───────────────────────────────────── */
.sc-footer-meta {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}
.sc-footer-meta code {
  color: rgba(255,255,255,0.45);
}

/* ── Shared results view ───────────────────────────────── */
.sc-shared-notice {
  text-align: center;
  padding: 10px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04);
}

/* ── Responsive ────────────────────────────────────────── */

/* Tablet landscape */
@media (max-width: 1100px) {
  .sc-container { max-width: 100%; }
  .sc-pillar-grid { gap: 16px; }
  .sc-satellites { gap: 40px; }
}

/* Tablet portrait — single column */
@media (max-width: 768px) {
  .sc-pillar-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .sc-ring-container {
    width: 180px;
    height: 180px;
  }
  .sc-ring-chart {
    width: 180px;
    height: 180px;
  }
  .sc-ring-score { font-size: 40px; }
  .sc-satellites { gap: 28px; margin-bottom: 24px; }
  .sc-sat-ring { width: 50px; height: 50px; }
  .sc-insights { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 480px) {
  .sc-hero h1 { font-size: 24px; }
  .sc-hero p { font-size: 12px; }
  .sc-hero { padding: 3.5rem 1rem 1rem; }
  .sc-container { padding: 0 0.75rem 3rem; }
  .sc-card { padding: 20px; }
  .sc-ring-container { width: 160px; height: 160px; }
  .sc-ring-chart { width: 160px; height: 160px; }
  .sc-ring-score { font-size: 36px; letter-spacing: -1px; }
  .sc-ring-label { font-size: 9px; letter-spacing: 1.5px; }
  .sc-satellites { gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
  .sc-sat-ring { width: 44px; height: 44px; }
  .sc-sat-name { font-size: 8px; }

  /* Switch sliders to steppers on mobile */
  .sc-range { display: none; }
  .sc-num-input { display: none; }
  .sc-stepper { display: flex; }

  .sc-input-label { width: 72px; font-size: 11px; }
  .sc-card-score { font-size: 24px; }
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sc-comp-bar-fill,
  .sc-toggle::after,
  .sc-range::-webkit-slider-thumb,
  .sc-ring-score,
  .sc-ring-label,
  .sc-card-score,
  .sc-card::after {
    transition-duration: 0.01ms !important;
  }
}

/* ── Focus indicators ──────────────────────────────────── */
.sc-range:focus-visible,
.sc-num-input:focus-visible,
.sc-preset-btn:focus-visible,
.sc-stepper-btn:focus-visible,
.sc-toggle:focus-visible,
.sc-goals-toggle:focus-visible,
.sc-cta-btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.sc-range:focus:not(:focus-visible),
.sc-num-input:focus:not(:focus-visible),
.sc-preset-btn:focus:not(:focus-visible),
.sc-stepper-btn:focus:not(:focus-visible),
.sc-cta-btn:focus:not(:focus-visible) {
  outline: none;
}
