/*
  StockPop Landing Page Styles
  This stylesheet contains styles for the major sections found in index.html:
  - Header & Navigation
  - Hero Section
  - Problem Section
  - Features Section
  - Trust / Social Proof Section
  - Educational: Why It’s Moving
  - AI News Analysis Example
  - Events Timeline (including laned variant and tooltip/panel)
  - Pricing Section
  - Final CTA (Signup)
  - Footer
  - Responsive rules and motion helpers
*/

:root {
  --bg: #0b1020;           /* deeper night */
  --surface: #0f172a;      /* slate-900 */
  --elev: #0b1220;         /* deep blue surface */
  --card: #0b1629;
  --text: #f1f5f9;         /* slate-100 */
  --muted: #94a3b8;        /* slate-400 */
  --primary: #7c3aed;      /* violet-600 */
  --primary-700: #6d28d9;  /* violet-700 */
  --accent: #f59e0b;       /* amber-500 */
  --accent-700: #d97706;   /* amber-600 */
  --hot: #fb923c;          /* orange-400 */
  --hot-700: #f97316;      /* orange-500 */
  --ring: rgba(124, 58, 237, .38);
  --shadow: 0 10px 30px rgba(2, 6, 23, .65);
  --radius: 14px;
  /* defaults for bubble CSS vars (overridden dynamically in JS) */
  --dx: 0px;
  --travel: 140px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 110% -120px, rgba(124,58,237,.18), transparent 65%),
    radial-gradient(900px 540px at -20% 0px, rgba(245,158,11,.16), transparent 68%),
    radial-gradient(1200px 800px at 50% 20%, rgba(148,163,184,.10), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =Header & Navigation */
header {
  position: fixed;
    width: 100%;
  top: 0;
  z-index: 1000; /* ensure it stays above all content */
  /* Use an opaque background so it never visually disappears over sections */
  background: linear-gradient(180deg, rgba(2,6,23,.96), rgba(2,6,23,.92));
  background-color: rgba(2,6,23,.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148,163,184,.22);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
    flex-direction: row;
  align-items: center;
  font-weight: 700;
  letter-spacing: .2px;
}
.brand-badge {
    height: 64px;
}

.nav a.cta-outline {
  padding: 10px 16px;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
}

/* =Hero Section */
.hero {
  padding: 64px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  margin: 12px 0 10px;
}

.subhead {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  margin: 0 0 24px;
  max-width: 64ch;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-700));
  color: white;
  box-shadow: 0 8px 24px rgba(37,99,235,.35), inset 0 0 0 1px rgba(255,255,255,.12);
}

.btn-ghost {
  background: rgba(148,163,184,.12);
  color: var(--text);
  border: 1px solid rgba(148,163,184,.22);
}

.mock {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.mock-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; color: var(--muted);
}

.mock-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }

.panel { background: var(--card); border: 1px solid rgba(148,163,184,.14); border-radius: 12px; padding: 12px; }
.panel h4 { margin: 0 0 8px; font-size: 14px; color: #cbd5e1; }
.list { display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; background: transparent; border: 0; color: inherit; padding: 6px 8px; border-radius: 8px; cursor: pointer; text-align: left; }
.row:hover { background: rgba(148,163,184,.06); }
.chip { font-size: 12px; padding: 4px 8px; border-radius: 999px; }
.up { background: rgba(34,197,94,.15); color: #34d399; }
.down { background: rgba(239,68,68,.15); color: #f87171; }
/* Switch style for alert toggles */
.switch { position: relative; }
.switch .chip { min-width: 40px; text-align: center; border: 1px solid rgba(148,163,184,.24); background: rgba(148,163,184,.08); color: #cbd5e1; }
.switch[aria-checked="true"] .chip { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.35); color: #34d399; }
.switch[aria-checked="false"] .chip { background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.35); color: #f87171; }

/* Hot today highlight */
.chip.hot {
  background: linear-gradient(180deg, var(--hot), var(--hot-700));
  color: #1b1b1b;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 6px 16px rgba(249,115,22,.35);
  font-weight: 800;
}
.badge-hot {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: linear-gradient(180deg, var(--hot), var(--hot-700)); color: #111827; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 16px rgba(249,115,22,.35);
}

.section { padding: 56px 0; }
.section h2 { font-size: clamp(22px, 4vw, 34px); margin: 0 0 14px; }
.lead { color: var(--muted); margin: 0 auto 24px; max-width: 70ch; text-align: center; }

.bullets { display: grid; gap: 10px;  }
.bullets li { list-style: none; padding-left: 26px; position: relative; color: #cbd5e1; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #34d399, #2563eb);
  box-shadow: 0 0 0 2px rgba(148,163,184,.18);
}

.features { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature { background: var(--elev); border: 1px solid rgba(148,163,184,.16); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.feature h3 { margin: 8px 0 8px; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(148,163,184,.12); border: 1px solid rgba(148,163,184,.2); }

.trust { display: grid; gap: 16px; align-items: start; }
.statbar { display: flex; align-items: center; gap: 12px; padding: 12px; background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.25); border-radius: 12px; }
.testimonials { display: grid; grid-template-columns: 1fr; gap: 16px; }
.quote { background: var(--elev); border: 1px solid rgba(148,163,184,.16); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.quote footer { color: var(--muted); font-size: 14px; margin-top: 8px; }

.cta-final { text-align: center; background: linear-gradient(180deg, rgba(245,158,11,.14), rgba(124,58,237,.14)); border-top: 1px solid rgba(148,163,184,.12); border-bottom: 1px solid rgba(148,163,184,.12); padding: 48px 0; scroll-margin-top: 90px; }

form.signup { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 10px; }
.field {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(148,163,184,.24);
  background: rgba(2,6,23,.5); color: var(--text);
}
.field input { background: transparent; border: 0; outline: none; color: var(--text); min-width: 220px; }
.field input::placeholder { color: #9ca3af; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.form-note { color: var(--muted); font-size: 14px; }
.success { color: #34d399; }

footer { color: var(--muted); font-size: 14px; padding: 30px 0 60px; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2000; }
.modal.is-open { display: flex; }
.modal[aria-hidden="true"] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.72); backdrop-filter: blur(2px); }
.modal-dialog { position: relative; z-index: 1; background: var(--elev); border: 1px solid rgba(148,163,184,.22); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; width: min(520px, calc(100% - 24px)); }
.modal-close { position: absolute; right: 10px; top: 10px; background: transparent; border: 1px solid rgba(148,163,184,.28); border-radius: 10px; color: var(--text); width: 30px; height: 30px; cursor: pointer; }

/* Educational: Why it's moving card */
.why-card { margin-top: 10px; padding: 12px; background: rgba(148,163,184,.08); border: 1px solid rgba(148,163,184,.22); border-radius: 12px; }
.why-card h5 { margin: 0 0 6px; font-size: 14px; color: #cbd5e1; display: flex; align-items: center; gap: 8px; }
.why-card p { margin: 0 0 6px; color: var(--muted); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; background: rgba(37,99,235,.15); color: #93c5fd; border: 1px solid rgba(148,163,184,.24); }
.why-pair { display: grid; gap: 6px; }

/* Sentiment badges */
.sentiment { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid transparent; }
.sentiment.bullish { background: rgba(34,197,94,.15); color: #34d399; border-color: rgba(34,197,94,.35); }
.sentiment.positive { background: rgba(59,130,246,.15); color: #93c5fd; border-color: rgba(59,130,246,.35); }
.sentiment.caution { background: rgba(234,179,8,.18); color: #fde68a; border-color: rgba(234,179,8,.40); }
.sentiment.bearish { background: rgba(239,68,68,.15); color: #f87171; border-color: rgba(239,68,68,.35); }

/* Mini bullets */
.mini-bullets { margin: 8px 0 0; padding-left: 18px; color: #cbd5e1; }
.mini-bullets li { margin: 4px 0; }

/* Muted text helper */
.muted-text { color: var(--muted); }

/* Pricing section */
.pricing { text-align: center; }
.pricing-card { background: var(--elev); border: 1px solid rgba(148,163,184,.18); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; max-width: 720px; margin: 0 auto; }
.pricing-header { display: flex; gap: 10px; justify-content: center; align-items: center; margin-bottom: 6px; }
.badge-limited { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: linear-gradient(180deg, var(--accent), var(--accent-700)); color: #111827; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 6px 16px rgba(245,158,11,.28); }
.price { font-size: clamp(28px, 6vw, 44px); font-weight: 900; margin: 8px 0 4px; letter-spacing: .2px; }
.price .unit { font-size: .55em; font-weight: 700; color: #cbd5e1; }
.price .suffix { font-size: .45em; font-weight: 700; color: #cbd5e1; margin-left: 6px; }
.deal-note { color: var(--muted); margin: 8px auto 14px; max-width: 60ch; }
.pricing-includes { display: grid; gap: 8px; margin: 16px 0; }
.pricing-includes li { list-style: none; color: #cbd5e1; }
.pricing-includes li::before { content: "✓"; color: #34d399; font-weight: 900; margin-right: 8px; }
.no-pay { color: #93c5fd; font-weight: 700; }

/* News example card */
.news-card { background: var(--elev); border: 1px solid rgba(148,163,184,.16); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.news-header {  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.news-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 8px; }
.news-date { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(148,163,184,.22); background: rgba(148,163,184,.08); }
.news-card .sentiment { font-size: 13px; padding: 3px 10px; }
.sentiment .score { font-weight: 800; margin-right: 6px; opacity: .95; }
.kv { display: flex; gap: 14px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }

/* Timeline */
.timeline { position: relative; }
.timeline-chart { margin: 12px 0 18px; background: var(--elev); border: 1px solid rgba(148,163,184,.16); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; }
.timeline-chart svg { width: 100%; height: auto; display: block; aspect-ratio: 600 / 160; }
.chart-line { stroke: #60a5fa; stroke-width: 2.2; fill: none; }
.chart-area { fill: url(#areaGrad); }
.marker { opacity: .85; transition: opacity .2s ease; }
.marker circle { fill: #94a3b8; }
.marker.news circle { fill: #93c5fd; }
.marker.results circle { fill: #34d399; }
.marker.upcoming circle { fill: #fde68a; }
.marker.is-active { opacity: 1; }
.marker.is-active circle { stroke: #fff; stroke-width: 2; }
.marker, .spike { cursor: pointer; }
.marker:hover circle, .spike:hover circle { filter: drop-shadow(0 0 6px rgba(255,255,255,.5)); }
.spike circle { fill: #fbbf24; }
.spike-line { stroke: rgba(251,191,36,.6); stroke-width: 1.5; stroke-dasharray: 3 3; }
.price-label { fill: #f8fafc; font-size: 10px; font-weight: 700; paint-order: stroke; stroke: rgba(2,6,23,.85); stroke-width: 3; }
.timeline-list { position: relative; list-style: none; margin: 0; padding: 0 0 0 16px; display: grid; gap: 12px; }
.timeline-list::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(148,163,184,.35), rgba(148,163,184,.08)); }
.timeline-item { position: relative; background: var(--elev); border: 1px solid rgba(148,163,184,.16); border-radius: 12px; padding: 12px 12px 12px 16px; }
.timeline-item::before { content: ""; position: absolute; left: -14px; top: 20px; width: 12px; height: 12px; border-radius: 999px; background: var(--bg); border: 2px solid rgba(148,163,184,.55); box-shadow: 0 0 0 3px rgba(2,6,23,.7); }
.timeline-item summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; cursor: pointer; }
.timeline-item summary::-webkit-details-marker { display: none; }
.timeline-type { font-size: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(148,163,184,.12); border: 1px solid rgba(148,163,184,.22); }
.timeline-title { font-weight: 600; }
.timeline-meta { color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 8px; }
.event-card { display: none; margin-top: 10px; padding: 12px; background: rgba(148,163,184,.08); border: 1px solid rgba(148,163,184,.22); border-radius: 10px; }
.timeline-item[open] .event-card { display: block; }
.timeline-item:hover .event-card { display: block; }

/* Laned Timeline (separate price, volume, events) */
.laned { margin: 12px 0 18px; background: var(--elev); border: 1px solid rgba(148,163,184,.16); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; position: relative; }
.laned svg { width: 100%; height: auto; display: block; aspect-ratio: 740 / 240; }
.laned-legend { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 8px; }
.laned-legend .key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #f8fafc; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(148,163,184,.22); background: rgba(148,163,184,.06); }
.laned-legend .key.price { color: #93c5fd; border-color: rgba(59,130,246,.35); background: rgba(59,130,246,.12); }
.laned-legend .key.volume { color: #cbd5e1; }
.laned-legend .key.news { color: #93c5fd; }
.laned-legend .key.results { color: #34d399; }
.laned-legend .key.upcoming { color: #fde68a; }

.price-path { stroke: #60a5fa; stroke-width: 2.2; fill: none; }
.price-area { fill: url(#priceAreaGrad); }
.vol-bar { fill: rgba(148,163,184,.55); }
.evt-dot { cursor: pointer; }
.evt-dot.news circle { fill: #93c5fd; }
.evt-dot.results circle { fill: #34d399; }
.evt-dot.upcoming circle { fill: #fde68a; }
.connector { stroke: rgba(148,163,184,.35); stroke-width: 1.2; }
.lane-label { fill: var(--muted); font-size: 10px; }
.evt-tag { fill: #cbd5e1; }

/* Event dots and tooltip enhancements */
.evt-dot circle { stroke: rgba(2,6,23,.85); stroke-width: 1.8; transition: stroke-width .15s ease, filter .15s ease; }
.evt-dot.is-active circle, .evt-dot:focus circle, .evt-dot:hover circle { stroke: #fff; stroke-width: 2.6; filter: drop-shadow(0 0 6px rgba(255,255,255,.4)); }
.evt-dot.is-active .connector { stroke: rgba(148,163,184,.75); }

.tooltip {
  position: absolute;
  z-index: 5;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(2,6,23,.9);
  color: var(--text);
  border: 1px solid rgba(148,163,184,.28);
  box-shadow: 0 10px 24px rgba(2,6,23,.6);
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
}

/* Right-side event details panel next to the chart */
.laned-content { display: flex; gap: 12px; align-items: stretch; }
.laned-chart { position: relative; flex: 1 1 auto; min-width: 0; }
.event-panel { flex: 0 0 260px; background: var(--card); border: 1px solid rgba(148,163,184,.16); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.event-panel h4 { margin: 0 0 6px; font-size: 14px; color: #cbd5e1; }
.event-panel .kv { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.event-panel .sentiment { padding: 2px 8px; font-weight: 700; }

@media (max-width: 879px) {
  .laned-content { flex-direction: column; }
  .event-panel { flex: 1 1 auto; width: auto; }
}

/* Harmonize hero readability and spacing */
.hero { position: relative; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 420px at 100% 0%, rgba(2,6,23,.38), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* Hero bubbles overlay */
.hero-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubble {
  position: absolute;
  border-radius: 999px;
  opacity: 0;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  text-shadow: 0 1px 2px rgba(2,6,23,.6);
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.28), transparent 42%),
    linear-gradient(180deg, var(--b1, rgba(124,58,237,.65)), var(--b2, rgba(245,158,11,.55)));
  box-shadow: 0 8px 24px rgba(2,6,23,.5), 0 6px 18px rgba(124,58,237,.28);
  will-change: transform, opacity;
}
.bubble.news   { --b1: rgba(99,102,241,.75); --b2: rgba(59,130,246,.55); }
.bubble.volume { --b1: rgba(34,197,94,.65);  --b2: rgba(16,185,129,.45); }
.bubble.surge  { --b1: rgba(34,197,94,.70);  --b2: rgba(16,185,129,.55); }
.bubble.drop   { --b1: rgba(239,68,68,.70);  --b2: rgba(251,146,60,.55); }

@keyframes bubble-up {
  0%   { opacity: 0; transform: translate(var(--dx, 0px), 20px) scale(.85); }
  12%  { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 0px) + 0px), calc(-1 * var(--travel, 140px))) scale(1.05); }
}
@keyframes bubble-down {
  0%   { opacity: 0; transform: translate(var(--dx, 0px), -20px) scale(.9); }
  12%  { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 0px) + 0px), var(--travel, 140px)) scale(.95); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bubbles, .hero-bubbles * { animation: none !important; transition: none !important; }
}

/* Spacing rhythm tweaks */
.section { padding: 64px 0; }
.section h2 { margin: 0 0 12px; letter-spacing: .2px; text-align: center; }
.lead { margin: 0 auto 20px; }

/* Text rendering polish */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

@media (min-width: 880px) {
  .hero { padding: 90px 0 40px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 36px; }
  .mock-grid { grid-template-columns: 1fr 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr 1fr; }
  .trust { grid-template-columns: .9fr 1.1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
}

/* Problem section (marketing rewrite) */
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 12px; }
.problem-card { background: var(--elev); border: 1px solid rgba(148,163,184,.16); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.problem-card h3 { margin: 0 0 8px; font-size: clamp(16px, 2.4vw, 18px); color: #cbd5e1; text-align: left; }
.pain-list, .need-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.pain-list li, .need-list li { position: relative; padding-left: 26px; color: #cbd5e1; }
.pain-list li::before { content: "⚠️"; position: absolute; left: 0; top: 2px; }
.need-list li::before { content: "✅"; position: absolute; left: 0; top: 2px; }
.value-strip { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.value-pill { text-align: center; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(148,163,184,.22); background: rgba(148,163,184,.06); color: #cbd5e1; }

@media (min-width: 880px) {
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .value-strip { grid-template-columns: repeat(3, 1fr); }
}
