/* Caseloop — styles (light theme) */
:root {
  --bg: #eef1f6;
  --panel: #ffffff;
  --panel-2: #f4f6fa;
  --line: #e0e5ee;
  --text: #1b2230;
  --muted: #69748a;
  --accent: #2f6fed;
  --accent-2: #0c9b7a;
  --warn: #c9801f;
  --err: #d9453a;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(20, 30, 55, 0.08);
  --s1: #d9453a; --s2: #c9801f; --s3: #0c9b7a; --s4: #2f6fed;
}

* { box-sizing: border-box; }
/* `hidden` must always win over the ID-level display rules below (e.g. #setup{display:grid}). */
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1100px 500px at 85% -12%, #e6eefb 0%, var(--bg) 60%) fixed;
  color: var(--text);
  line-height: 1.5;
}
h1 { font-size: 1.35rem; margin: 0 0 .15rem; }
h3 { font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin: 1.2rem 0 .5rem; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; }
.error { color: var(--err); }

/* Topbar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.4rem; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: .7rem; cursor: pointer; border-radius: 8px; }
.brand:hover .brand-name { color: var(--accent); }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.brand-mark { font-size: 1.5rem; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.brand-sub { font-size: .78rem; color: var(--muted); }
.topbar-actions { display: flex; gap: .5rem; align-items: center; }
.nav-link {
  background: none; border: none; padding: .35rem .3rem; margin: 0;
  font: inherit; color: var(--muted); cursor: pointer; border-radius: 0;
}
.nav-link:hover { color: var(--accent); text-decoration: underline; }
.nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.primary-btn {
  background: linear-gradient(180deg, #4a86f5, #2f6fed);
  color: #fff; border: none; border-radius: 10px;
  padding: .65rem 1.2rem; font-weight: 600; font-size: .95rem; cursor: pointer;
  box-shadow: 0 2px 8px rgba(47, 111, 237, 0.3);
  transition: transform .06s ease, filter .15s ease;
}
.primary-btn:hover { filter: brightness(1.05); }
.primary-btn:active { transform: translateY(1px); }
.primary-btn:disabled { opacity: .55; cursor: default; box-shadow: none; }
.primary-btn.small { padding: .5rem .9rem; font-size: .85rem; }
.secondary-btn {
  background: #fff; color: var(--accent); border: 1px solid rgba(47, 111, 237, 0.35);
  border-radius: 10px; padding: .65rem 1.2rem; font-weight: 600; font-size: .95rem; cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 30, 55, 0.07);
  transition: border-color .12s, background .12s, transform .06s ease;
}
.secondary-btn:hover { background: rgba(47, 111, 237, 0.07); border-color: var(--accent); }
.secondary-btn:active { transform: translateY(1px); }
.secondary-btn.small { padding: .5rem .9rem; font-size: .85rem; }
.ghost-btn {
  background: #fff; color: var(--text); border: 1px solid var(--line);
  border-radius: 9px; padding: .5rem .85rem; font-size: .85rem; cursor: pointer;
  transition: border-color .12s, color .12s;
}
.ghost-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Layout */
#main { max-width: 1080px; margin: 0 auto; padding: 1.3rem 1.4rem 2rem; }
.view { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Landing / hero */
.hero { max-width: 860px; margin: 1.5rem auto 0; text-align: center; }
.hero-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.hero-title { font-size: 2.4rem; line-height: 1.12; margin: 0 0 .8rem; letter-spacing: -.02em; }
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 640px; margin: 0 auto 1.4rem; }
.hero-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .primary-btn { padding: .8rem 1.7rem; font-size: 1rem; }
.hero-note { margin-top: .7rem; }
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.4rem auto 0; text-align: left; }
.value-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.value-ico { font-size: 1.7rem; margin-bottom: .5rem; }
.value-card strong { display: block; margin-bottom: .35rem; font-size: 1rem; }
.value-card span { font-size: .88rem; color: var(--muted); }

/* Auth */
.auth-card { max-width: 390px; margin: 3rem auto 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.4rem; margin-bottom: .15rem; }
.auth-card .primary-btn { width: 100%; margin-top: .5rem; }
.auth-card .secondary-btn { width: 100%; margin-top: .5rem; }
.auth-switch { margin-top: 1.1rem; text-align: center; }
.auth-switch a { color: var(--accent); text-decoration: none; margin-left: .3rem; }
.auth-switch a:hover { text-decoration: underline; }
.auth-row { text-align: center; margin: .6rem 0 0; }
.auth-row a { color: var(--accent); text-decoration: none; }
.auth-row a:hover { text-decoration: underline; }
.auth-note { background: rgba(12, 155, 122, 0.1); border: 1px solid rgba(12, 155, 122, 0.3); color: #0a7d62; border-radius: 10px; padding: .55rem .7rem; margin-top: .6rem; }
.auth-note a { color: #075f4b; font-weight: 700; text-decoration: none; }
.auth-note a:hover { text-decoration: underline; }
.user-email { font-size: .82rem; color: var(--muted); align-self: center; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Plan badge + pricing */
.plan-badge { font-size: .76rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); align-self: center; white-space: nowrap; }
.plan-badge.plan-pro { background: rgba(12,155,122,.12); border-color: var(--accent-2); color: #0a7d62; }
.plan-badge.plan-empty { background: rgba(201,128,31,.14); border-color: var(--warn); color: var(--warn); }
.pricing-head { text-align: center; max-width: 720px; margin: 1.5rem auto .5rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 920px; margin: 1.6rem auto 0; align-items: stretch; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.price-card--featured { border-color: var(--accent); box-shadow: 0 8px 26px rgba(47,111,237,.18); }
.price-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: .15rem .65rem; border-radius: 999px; white-space: nowrap; }
.price-name { font-size: 1.2rem; font-weight: 700; }
.price-amount { font-size: 2rem; font-weight: 800; margin: .2rem 0 .1rem; line-height: 1.1; }
.price-per { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: .15rem; }
.price-desc { color: var(--muted); font-size: .9rem; margin: .3rem 0 .8rem; }
.price-feats { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .88rem; flex: 1; }
.price-feats li { padding: .25rem 0 .25rem 1.3rem; position: relative; }
.price-feats li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.price-card .primary-btn, .price-card .secondary-btn { width: 100%; margin-top: auto; }
.price-status { margin-top: auto; }
.pricing-actions { display: flex; justify-content: center; gap: .7rem; margin: 1.6rem 0; flex-wrap: wrap; }

/* Real questions */
.q-add { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.q-add .primary-btn { margin-top: .3rem; }
.q-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.q-item-actions { display: flex; gap: .5rem; align-items: center; }
.q-del { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .8rem; }
.q-del:hover { color: var(--err); }

/* Setup */
.setup-grid { display: grid; grid-template-columns: 1fr 300px; gap: 1.2rem; align-items: start; }
.setup-card, .setup-aside {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow);
}
.target-bar { display: flex; gap: .5rem; align-items: center; margin: .6rem 0 .2rem; }
.target-bar select { flex: 1; }
.target-bar .ghost-btn { white-space: nowrap; }

.field { display: block; margin: .7rem 0; }
.field > span { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .88rem; }
.field em { font-weight: 400; font-style: normal; }
input, textarea, select {
  width: 100%; background: #fff; border: 1px solid var(--line);
  color: var(--text); border-radius: 10px; padding: .6rem .7rem; font: inherit;
}
input::placeholder, textarea::placeholder { color: #aab2c0; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.14); }
textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .8rem; }
.field small { display: block; margin-top: .3rem; }

.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; }
.chip {
  text-align: left; background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: .55rem .7rem; cursor: pointer; color: var(--text);
  display: flex; flex-direction: column; gap: .1rem; transition: border-color .12s, background .12s;
}
.chip strong { font-size: .86rem; }
.chip span { font-size: .75rem; color: var(--muted); }
.chip:hover { border-color: var(--accent); }
.chip.selected { border-color: var(--accent); background: rgba(47, 111, 237, 0.08); box-shadow: 0 0 0 1px var(--accent) inset; }
.chip.selected span { color: var(--text); }

/* Sticky action bar — keeps primary buttons in view */
.setup-actionbar {
  position: sticky; bottom: 0; z-index: 15;
  display: flex; gap: .7rem; justify-content: flex-end; align-items: center;
  padding: .8rem 0 .4rem; margin-top: .8rem;
  background: linear-gradient(to top, var(--bg) 65%, rgba(238, 241, 246, 0));
}
.setup-actionbar .primary-btn { padding: .7rem 1.6rem; }

.rubric-list { list-style: none; padding: 0; margin: 0 0 .8rem; }
.rubric-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.rubric-list li:last-child { border-bottom: none; }
.rubric-list strong { display: block; font-size: .85rem; }
.rubric-list span { font-size: .76rem; color: var(--muted); }

/* Question generator */
.gen-block { margin: 1rem 0 .2rem; }
.gen-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.toggle { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--muted); cursor: pointer; }
.toggle input { width: auto; accent-color: var(--accent); cursor: pointer; }
.ghost-btn.wide { padding: .6rem 1rem; }
.gen-list { display: flex; flex-direction: column; gap: .6rem; margin-top: .8rem; }
.gen-item {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px;
  padding: .8rem .9rem; display: flex; flex-direction: column; gap: .45rem;
}
.gen-q { font-weight: 600; }
.gen-meta { display: flex; gap: .4rem; flex-wrap: wrap; }
.gen-tag { font-size: .72rem; color: var(--accent-2); background: rgba(12, 155, 122, 0.1); border: 1px solid rgba(12, 155, 122, 0.3); border-radius: 6px; padding: .1rem .5rem; }
.gen-why { font-size: .82rem; color: var(--muted); }
.gen-item .ghost-btn { align-self: flex-start; }
.gen-note { color: var(--accent-2); margin-bottom: .2rem; }
.gen-sources { margin-top: .4rem; line-height: 1.7; }
.gen-sources a { color: var(--accent); text-decoration: none; }
.gen-sources a:hover { text-decoration: underline; }

/* Interview */
#interview, #advisor { display: flex; flex-direction: column; min-height: calc(100vh - 150px); }
.interview-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .75rem 1.1rem; margin-bottom: .9rem; box-shadow: var(--shadow);
}
.iv-title { font-weight: 700; }
.interview-head-actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
.timer { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; min-width: 48px; text-align: right; }

.chat {
  flex: 1; overflow-y: auto; padding: .4rem; display: flex; flex-direction: column; gap: .9rem;
  min-height: 320px;
}
.bubble { max-width: 78%; padding: .7rem .9rem; border-radius: 14px; }
.bubble-who { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .25rem; }
.bubble-text { white-space: pre-wrap; }
.bubble.interviewer { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); border-top-left-radius: 4px; box-shadow: var(--shadow); }
.bubble.candidate { align-self: flex-end; background: rgba(47, 111, 237, 0.1); border: 1px solid rgba(47, 111, 237, 0.28); border-top-right-radius: 4px; }

.typing .bubble-text { display: flex; gap: 5px; padding: .35rem 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite both; }
.dot:nth-child(2) { animation-delay: .2s; } .dot:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.hint-box {
  background: rgba(201, 128, 31, 0.1); border: 1px solid rgba(201, 128, 31, 0.4);
  border-radius: 12px; padding: .7rem .9rem; margin: .6rem 0; font-size: .92rem;
}

.answer-bar { display: flex; gap: .6rem; margin-top: .9rem; align-items: flex-end; }
.answer-bar textarea { flex: 1; }
.stop-btn { background: #fff; color: var(--err); border: 1px solid var(--err); border-radius: 10px; padding: .65rem 1.2rem; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .12s; }
.stop-btn:hover { background: rgba(217, 69, 58, 0.08); }

/* Feedback */
.feedback-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fb-headline { font-size: 1.02rem; color: var(--text); margin: .2rem 0 0; }
.rec-pill { padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .85rem; border: 1px solid var(--line); white-space: nowrap; }
.rec-strong { background: rgba(12, 155, 122, 0.12); border-color: var(--accent-2); color: #0a7d62; }
.rec-hire { background: rgba(47, 111, 237, 0.12); border-color: var(--accent); color: var(--accent); }
.rec-lean { background: rgba(201, 128, 31, 0.14); border-color: var(--warn); color: var(--warn); }
.rec-leanno { background: rgba(217, 69, 58, 0.1); border-color: #d98; color: #c0392b; }
.rec-no { background: rgba(217, 69, 58, 0.14); border-color: var(--err); color: var(--err); }

.dims { display: flex; flex-direction: column; gap: .8rem; }
.dim { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .95rem; }
.dim-head { display: flex; justify-content: space-between; align-items: center; }
.dim-name { font-weight: 600; }
.dim-score { font-weight: 700; font-size: .85rem; padding: .15rem .5rem; border-radius: 7px; }
.score-1 { color: var(--s1); } .score-2 { color: var(--s2); } .score-3 { color: var(--s3); } .score-4 { color: var(--s4); }
.dim-bar { height: 6px; background: var(--line); border-radius: 4px; margin: .55rem 0 .5rem; overflow: hidden; }
.dim-fill { height: 100%; border-radius: 4px; }
.score-bg-1 { background: var(--s1); } .score-bg-2 { background: var(--s2); } .score-bg-3 { background: var(--s3); } .score-bg-4 { background: var(--s4); }
.dim-note { font-size: .85rem; color: var(--muted); margin-top: .25rem; }
.dim-imp { color: #0a7d62; }
.dim-skel { height: 70px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; animation: pulse 1.3s infinite; }
@keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

.coach-suggest { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0 .8rem; }
.chip-btn { background: #fff; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: .35rem .8rem; font-size: .82rem; cursor: pointer; transition: border-color .12s, color .12s; }
.chip-btn:hover { border-color: var(--accent); color: var(--accent); }
.coach-chat { min-height: 0; max-height: 360px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: .6rem; margin-bottom: .7rem; }
.coach-chat:empty { display: none; }

.feedback-card ul { margin: .3rem 0; padding-left: 1.2rem; }
.feedback-card li { margin: .3rem 0; }
.model-answer { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; white-space: pre-wrap; }
.fb-actions { display: flex; gap: .7rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(20, 30, 55, 0.35); }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 360px; max-width: 90vw;
  background: var(--panel); border-left: 1px solid var(--line); z-index: 1;
  padding: 1.1rem; overflow-y: auto; box-shadow: var(--shadow); animation: slideIn .2s ease;
}
@keyframes slideIn { from { transform: translateX(20px); opacity: .6; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.history-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.history-group { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: .6rem 0 .1rem; }
.history-group:first-child { margin-top: 0; }
.history-item { text-align: left; background: var(--panel-2); border: 1px solid var(--line); border-radius: 11px; padding: .7rem .85rem; cursor: pointer; color: var(--text); }
.history-item:hover { border-color: var(--accent); }
.hi-top { display: flex; justify-content: space-between; align-items: center; }
.hi-status { font-size: .7rem; padding: .1rem .45rem; border-radius: 6px; text-transform: uppercase; }
.hi-status.active { background: rgba(201, 128, 31, 0.16); color: var(--warn); }
.hi-status.finished { background: rgba(12, 155, 122, 0.16); color: #0a7d62; }
.hi-status.prep { background: rgba(47, 111, 237, 0.14); color: var(--accent); }

/* ── Dashboard (logged-in home) ──────────────────────────────────────────────── */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.4rem 0 1rem; }
.dash-head h1 { font-size: 1.5rem; }
.dash-rec-wrap { margin-bottom: 1.6rem; }
.dash-rec {
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow);
}
.dash-rec-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); font-weight: 700; margin-bottom: .3rem; }
.dash-rec h2 { font-size: 1.3rem; margin: .1rem 0 .4rem; }
.dash-rec p { margin: 0 0 1rem; }
.dash-section-title { font-size: 1rem; color: var(--muted); margin: 0 0 .7rem; }
.dash-list { display: flex; flex-direction: column; gap: .7rem; }
.dash-item {
  text-align: left; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: .9rem 1rem; cursor: pointer; color: var(--text);
  transition: border-color .12s, box-shadow .12s;
}
.dash-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.dash-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.dash-q { font-style: italic; color: var(--muted); margin: .4rem 0; font-size: .9rem; }
.dash-summary { font-size: .92rem; line-height: 1.45; margin-top: .3rem; }
.dash-feedback { font-size: .85rem; color: var(--accent); text-decoration: none; white-space: nowrap; }
.dash-feedback:hover { text-decoration: underline; }
.feedback-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1.4rem; box-shadow: var(--shadow); }
.feedback-title { font-weight: 700; margin-bottom: .5rem; }
.feedback-stars { display: flex; gap: .15rem; margin-bottom: .5rem; }
.feedback-stars .star { background: none; border: none; font-size: 1.5rem; color: var(--line); cursor: pointer; padding: 0 .05rem; line-height: 1; }
.feedback-stars .star.on { color: #f5b301; }
.feedback-card textarea { width: 100%; box-sizing: border-box; }
.feedback-actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: .6rem; }

/* Prep-coach daily allowance */
.prep-left { color: var(--muted); margin-top: .1rem; }
.prep-left.prep-low { color: var(--warn); font-weight: 600; }
.prep-limit-notice, .limit-notice {
  align-self: center; max-width: 78%; text-align: center; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; margin: .4rem auto;
  display: flex; flex-direction: column; gap: .6rem; align-items: center; font-size: .9rem;
}

@media (max-width: 820px) {
  .setup-grid { grid-template-columns: 1fr; }
  .grid2, .grid3, .chip-grid, .value-cards, .pricing-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .bubble { max-width: 90%; }
  .setup-actionbar { justify-content: stretch; }
  .setup-actionbar .primary-btn { flex: 1; }
}
