:root {
  --bg: #0e1117;
  --panel: #171c26;
  --panel2: #1e2532;
  --line: #232a38;
  --text: #e6e9ef;
  --muted: #9aa4b5;
  --accent: #4f8ef7;
  --accent2: #7c5cff;
  --ok: #37c978;
  --critical: #ff5a5a;
  --high: #ff9f43;
  --medium: #f7d154;
  --low: #7cb342;
  --info: #90a4ae;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; width: min(1020px, 92%); margin: 0 auto; padding: 1.5rem 0 4rem; position: relative; }
a { color: var(--accent); text-decoration: none; }
.hidden { display: none !important; }
.mini { font-size: .84rem; color: var(--muted); }
.dim { opacity: .65; }
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2), #b16cea);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- animated background blobs ---------- */
.blob {
  position: fixed; border-radius: 50%; filter: blur(90px); opacity: .16;
  z-index: -1; animation: drift 16s ease-in-out infinite alternate;
}
.b1 { width: 420px; height: 420px; background: var(--accent); top: -80px; right: -120px; }
.b2 { width: 380px; height: 380px; background: var(--accent2); bottom: -100px; left: -120px; animation-delay: 4s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}

/* ---------- reveal-on-load ---------- */
.reveal { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
.reveal.d1 { animation-delay: .12s; }
.reveal.d2 { animation-delay: .24s; }
.reveal.d3 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- nav / footer ---------- */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 4%; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(14,17,23,.85);
  backdrop-filter: blur(10px); z-index: 10;
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700;
  font-size: 1.15rem; color: var(--text); }
.nav nav { display: flex; align-items: center; gap: 1.1rem; }
.nav nav a { color: var(--muted); font-size: .95rem; }
.nav nav a:hover { color: var(--text); }
.user-email { color: var(--muted); font-size: .85rem; }
.plan-chip {
  font-size: .72rem; font-weight: 700; padding: .15rem .6rem;
  border-radius: 20px; text-transform: uppercase;
  background: var(--panel2); color: var(--muted); border: 1px solid var(--line);
}
.plan-chip.pro { background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; border: 0; }
.plan-chip.basic { color: var(--accent); border-color: var(--accent); }
.site-footer {
  border-top: 1px solid var(--line); padding: 2.2rem 5% 1.4rem;
  color: var(--muted); font-size: .88rem;
}
.footer-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem; max-width: 1020px; margin: 0 auto;
}
.footer-cols a { display: block; color: var(--muted); padding: .18rem 0; }
.footer-cols a:hover { color: var(--accent); }
.foot-head {
  font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text); margin-bottom: .4rem;
}
.foot-copy { text-align: center; margin-top: 1.8rem; }

/* ---------- buttons ---------- */
button, .btn {
  padding: .75rem 1.4rem; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff; font-size: 1rem; font-weight: 600; display: inline-block;
  transition: transform .15s, box-shadow .15s; text-align: center;
}
button:hover, .btn:hover { transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,142,247,.35); }
button:disabled { opacity: .5; cursor: wait; transform: none; }
.btn.big { padding: .95rem 2rem; font-size: 1.08rem; }
.btn.small, button.small { padding: .45rem .9rem; font-size: .85rem; }
.btn.ghost, button.ghost {
  background: transparent; border: 1px solid var(--line); color: var(--text);
}
.btn.ghost:hover, button.ghost:hover { border-color: var(--accent);
  box-shadow: none; }
.btn.full { width: 100%; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 3.5rem 0 1.5rem; }
.hero.small { padding: 2rem 0 .6rem; }
.hero.landing { padding-top: 4.5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.15; }
.hero p { color: var(--muted); max-width: 620px; margin: 1.1rem auto 0; font-size: 1.06rem; }
.cta-row { display: flex; gap: 1rem; justify-content: center; margin-top: 1.8rem; flex-wrap: wrap; }
.hero .mini { margin-top: 1rem; }

/* ---------- landing mock + features ---------- */
.mock { max-width: 760px; margin: 2.5rem auto 0; }
.mock svg { width: 100%; height: auto; filter: drop-shadow(0 20px 50px rgba(79,142,247,.15)); }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem; margin: 3.5rem 0 1rem;
}
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.3rem; transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature .ico { font-size: 1.6rem; }
.feature h3 { margin: .5rem 0 .3rem; font-size: 1.02rem; }
.feature p { color: var(--muted); font-size: .88rem; }

/* ---------- tool cards ---------- */
.tool-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem; margin-top: 2.5rem;
}
.tool-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.4rem; color: var(--text); transition: transform .18s, border-color .18s;
}
.tool-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.tool-card.soon { opacity: .55; pointer-events: none; }
.tool-card h2 { font-size: 1.12rem; margin-bottom: .5rem; }
.tool-card p { color: var(--muted); font-size: .9rem; }
.badge { display: inline-block; margin-top: 1rem; font-size: .8rem; color: var(--accent); }

/* ---------- pricing ---------- */
.plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem; margin-top: 2.5rem; align-items: stretch;
}
.plan {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.7rem; display: flex; flex-direction: column; position: relative;
  transition: transform .2s, border-color .2s;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(120deg, var(--accent), var(--accent2)) border-box;
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(124,92,255,.25);
}
.plan.featured:hover { transform: scale(1.06); }
.flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  font-size: .68rem; font-weight: 700; letter-spacing: .5px;
  padding: .25rem .8rem; border-radius: 20px; white-space: nowrap;
}
.plan h2 { font-size: 1.15rem; }
.price { font-size: 2.3rem; font-weight: 800; margin: .4rem 0; }
.price span { font-size: .95rem; color: var(--muted); font-weight: 400; }
.pitch { color: var(--muted); font-size: .9rem; min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; flex: 1; }
.plan li { padding: .32rem 0; font-size: .92rem; }
.plan li.dim { color: var(--muted); }
.plan .mini { text-align: center; margin-top: .7rem; }

.compare { margin-top: 3.5rem; }
.compare h2 { text-align: center; margin-bottom: 1.4rem; }
.compare table {
  width: 100%; border-collapse: collapse; background: var(--panel);
  border-radius: 14px; overflow: hidden; font-size: .92rem;
}
.compare th, .compare td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare td:first-child { text-align: left; color: var(--muted); }
.compare th { background: var(--panel2); }
.compare .win { color: var(--ok); font-weight: 700; }

/* ---------- auth ---------- */
.auth-card {
  max-width: 400px; margin: 3rem auto; background: var(--panel);
  border: 1px solid var(--line); border-radius: 16px; padding: 2.2rem;
  text-align: center;
}
.auth-card h1 { font-size: 1.4rem; margin: .8rem 0 .3rem; }
.auth-card form { display: flex; flex-direction: column; gap: .8rem; margin: 1.4rem 0 .8rem; }
input[type=text], input[type=email], input[type=password] {
  padding: .8rem 1rem; border-radius: 10px; border: 1px solid #2c3547;
  background: var(--panel2); color: var(--text); font-size: 1rem; width: 100%;
}
input:focus { outline: 2px solid var(--accent); }

/* ---------- panels / audit form ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem; margin-top: 1.5rem;
}
.row { display: flex; gap: .8rem; }
.hint { color: var(--muted); font-size: .85rem; margin-top: .7rem; }
.spinner {
  width: 34px; height: 34px; margin: 1rem 0;
  border: 4px solid #2c3547; border-top-color: var(--accent);
  border-radius: 50%; animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#progress-log {
  background: var(--panel2); border-radius: 10px; padding: 1rem;
  color: var(--muted); font-size: .82rem; max-height: 220px; overflow-y: auto;
  white-space: pre-wrap;
}

/* ---------- breadcrumbs & page header ---------- */
.breadcrumb {
  display: flex; gap: .5rem; align-items: center; font-size: .82rem;
  color: var(--muted); padding: .2rem 0 .6rem;
}
.breadcrumb b { color: var(--text); }
.page-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; flex-wrap: wrap; margin: 1.4rem 0 1rem;
}
.ph-label {
  font-size: .7rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: .2rem;
}
.page-header h2, .page-header .ph-title {
  word-break: break-all; font-size: 1.25rem; font-weight: 700;
}

/* ---------- widgets (Semrush-style cards) ---------- */
.widget-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1rem; align-items: stretch;
}
.widget {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.1rem 1.2rem; animation: rise .5s both;
  min-width: 0;
}
.widget-head {
  display: flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-bottom: .8rem;
}
.widget .info { cursor: help; opacity: .7; font-size: .8rem; }
.widget.w-center { display: flex; flex-direction: column; align-items: center; }
.metric-big { font-size: 2.1rem; font-weight: 800; line-height: 1.1; }
.metric-big.good { color: var(--ok); }
.metric-mid { font-size: 1.05rem; font-weight: 700; word-break: break-word; }
.stat-list { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .7rem; }
.stat { display: flex; justify-content: space-between; font-size: .88rem; }
.stat span { color: var(--muted); }
.donut-row { display: flex; align-items: center; gap: 1rem; }
#potential-box { animation: rise .5s both, glowpulse 2.8s 1s ease-in-out infinite; }

/* ---------- results: score row (legacy) ---------- */
.score-row {
  display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.7rem; margin: 1.5rem 0 1rem; animation: rise .6s both;
}
.dial-wrap { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.dial { width: 140px; height: 140px; transform: rotate(-90deg); }
.dial-bg { fill: none; stroke: var(--panel2); stroke-width: 12; }
.dial-fg {
  fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.3,1);
}
.dial-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-num { font-size: 2.3rem; font-weight: 800; }
.score-grade { color: var(--muted); font-size: .88rem; }
.score-facts { flex: 1; min-width: 220px; }
.score-facts h2 { word-break: break-all; font-size: 1.08rem; }
.score-facts p { color: var(--muted); margin-top: .35rem; font-size: .92rem; }
.sev-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.sev {
  padding: .13rem .6rem; border-radius: 20px; font-size: .76rem;
  font-weight: 600; color: #10131a;
}
.sev.critical { background: var(--critical); color: #fff; }
.sev.high { background: var(--high); }
.sev.medium { background: var(--medium); }
.sev.low { background: var(--low); }
.sev.info { background: var(--info); }

.potential {
  margin-top: .9rem; padding: .7rem 1rem; border-radius: 12px;
  border: 1px dashed var(--accent2); display: inline-flex; gap: .7rem;
  align-items: baseline; flex-wrap: wrap;
  animation: glowpulse 2.6s ease-in-out infinite;
}
@keyframes glowpulse {
  0%, 100% { box-shadow: 0 0 0 rgba(124,92,255,0); }
  50% { box-shadow: 0 0 22px rgba(124,92,255,.35); }
}
.pot-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.pot-score { font-size: 1.35rem; font-weight: 800; color: var(--ok); }
.pot-note { font-size: .82rem; color: var(--muted); }

.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.donut {
  width: 110px; height: 110px; border-radius: 50%; position: relative;
  flex-shrink: 0;
}
.donut::after {
  content: ""; position: absolute; inset: 22px; border-radius: 50%;
  background: var(--panel);
}
.donut-legend { font-size: .76rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: .3rem .8rem; justify-content: center; max-width: 180px; }
.donut-legend i {
  display: inline-block; width: 9px; height: 9px; border-radius: 2px;
  margin-right: .3rem;
}

/* ---------- exports / tabs ---------- */
.export-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin: .8rem 0 1.4rem; }
.tabs { display: flex; gap: .4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; flex-wrap: wrap; }
.tab {
  background: transparent; border: 0; color: var(--muted); font-weight: 600;
  padding: .6rem 1.1rem; border-radius: 10px 10px 0 0; font-size: .92rem;
}
.tab:hover { color: var(--text); box-shadow: none; transform: none; }
.tab.active { color: var(--text); background: var(--panel);
  border: 1px solid var(--line); border-bottom-color: var(--bg); }

.filter-row { display: flex; gap: .8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filter-row input { max-width: 280px; }
.sev-filters { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.chip {
  background: transparent; border: 1px solid var(--c, var(--line));
  color: var(--muted); font-size: .78rem; padding: .3rem .75rem;
  border-radius: 20px; opacity: .45;
}
.chip.on { opacity: 1; color: var(--text); background: color-mix(in srgb, var(--c) 18%, transparent); }
.chip:hover { transform: none; box-shadow: none; }

/* ---------- issue cards ---------- */
.issue {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--info); border-radius: 10px;
  padding: 1rem 1.2rem; margin-bottom: .7rem; animation: rise .4s both;
}
.issue.slim { padding: .7rem 1rem; }
.issue.critical { border-left-color: var(--critical); }
.issue.high { border-left-color: var(--high); }
.issue.medium { border-left-color: var(--medium); }
.issue.low { border-left-color: var(--low); }
.issue .cat { color: var(--muted); font-size: .76rem; text-transform: uppercase; }
.issue .problem { font-weight: 600; margin: .15rem 0; }
.issue .fix { color: var(--muted); font-size: .9rem; }
.issue .fix b { color: var(--ok); }
.issue .affected { color: var(--accent); font-size: .78rem; font-weight: 400; }

/* ---------- category bars ---------- */
.bar-row { display: flex; align-items: center; gap: .9rem; margin-bottom: .65rem; }
.bar-label { width: 200px; font-size: .86rem; color: var(--muted); text-align: right; }
.bar { flex: 1; height: 14px; background: var(--panel2); border-radius: 8px; overflow: hidden; }
.bar-fill {
  height: 100%; border-radius: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  animation: grow 1s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes grow { from { width: 0 !important; } }
.bar-num { width: 34px; font-size: .86rem; font-weight: 700; }

/* ---------- pages table / history ---------- */
.pages-table {
  width: 100%; border-collapse: collapse; background: var(--panel);
  border-radius: 12px; overflow: hidden; font-size: .9rem;
}
.pages-table th, .pages-table td { padding: .6rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.pages-table th { background: var(--panel2); }
.pg-url { word-break: break-all; color: var(--muted); }

/* ---------- 30-day plan ---------- */
.week { margin-bottom: 1.6rem; }
.week-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .5rem .2rem; flex-wrap: wrap; gap: .4rem;
}
.week-gain { color: var(--ok); font-size: .85rem; font-weight: 700; }

/* ---------- locked / upsell ---------- */
.locked {
  text-align: center; border: 1px dashed var(--line); border-radius: 14px;
  padding: 2.2rem; color: var(--muted);
}
.locked .lock-ico { font-size: 1.8rem; margin-bottom: .5rem; }
.locked h3 { color: var(--text); margin-bottom: .5rem; }
.locked p { max-width: 480px; margin: 0 auto 1.2rem; font-size: .92rem; }
.paywall {
  text-align: center; border: 2px dashed var(--accent2); border-radius: 16px;
  padding: 2.2rem; margin-top: 2.2rem; background: var(--panel);
  animation: glowpulse 3s ease-in-out infinite;
}
.paywall h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.paywall p { color: var(--muted); margin-bottom: 1.3rem; max-width: 560px; margin-inline: auto; }
.paywall .bad { color: var(--critical); }
.paywall .good { color: var(--ok); }

.error {
  background: #3a1620; border: 1px solid var(--critical); color: #ffb3b3;
  border-radius: 10px; padding: 1rem 1.2rem; margin-top: 1.2rem; font-size: .92rem;
}

/* ---------- keyword table ---------- */
.kw-table { margin-top: .3rem; }
.kw-cell { font-weight: 600; }
.intent {
  font-size: .72rem; font-weight: 700; padding: .12rem .55rem;
  border-radius: 12px; white-space: nowrap;
}
.intent.informational { background: rgba(79,142,247,.18); color: var(--accent); }
.intent.commercial { background: rgba(124,92,255,.2); color: #b3a0ff; }
.intent.transactional { background: rgba(55,201,120,.18); color: var(--ok); }
.intent.local { background: rgba(255,159,67,.18); color: var(--high); }
.intent.navigational { background: var(--panel2); color: var(--muted); }
.pop {
  width: 90px; height: 8px; background: var(--panel2); border-radius: 6px;
  overflow: hidden;
}
.pop-fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ---------- keywords & competitors ---------- */
.kw-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.kw-chip {
  background: var(--panel2); border: 1px solid var(--line);
  padding: .35rem .85rem; border-radius: 20px; font-size: .86rem;
  transition: border-color .15s;
}
.kw-chip:hover { border-color: var(--accent); }
.kw-chip.gap { border-color: var(--high); color: var(--high); }
.cmp-win { color: var(--ok); }
.cmp-lose { color: var(--critical); }
.tab-body h3 { margin-bottom: .7rem; }

/* ---------- workspace (toolkit sidebar) ---------- */
.workspace { display: flex; gap: 2rem; align-items: flex-start; padding-top: 1rem; }
.sidebar {
  width: 225px; flex-shrink: 0; position: sticky; top: 80px;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.kit-name {
  font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-bottom: .35rem;
}
.kit-tool {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem .7rem; border-radius: 8px; color: var(--text);
  font-size: .9rem;
}
.kit-tool:hover { background: var(--panel); }
.kit-tool.active {
  background: var(--panel); border: 1px solid var(--line);
  font-weight: 600; color: var(--accent);
}
.kit-tool.soon { color: var(--muted); opacity: .6; cursor: default; }
.pro-badge, .soon-badge {
  font-size: .6rem; font-weight: 800; letter-spacing: .5px;
  padding: .1rem .45rem; border-radius: 10px; margin-left: .5rem;
}
.pro-badge {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
}
.soon-badge { background: var(--panel2); color: var(--muted); }
.upgrade-card {
  background: linear-gradient(160deg, rgba(79,142,247,.14), rgba(124,92,255,.14));
  border: 1px solid var(--accent2); border-radius: 14px; padding: 1.1rem;
  animation: glowpulse 3.5s ease-in-out infinite;
}
.upgrade-card p { color: var(--muted); font-size: .82rem; margin: .4rem 0 .8rem; }
.workspace-main { flex: 1; min-width: 0; }
.tool-head { padding: .4rem 0 .4rem; }
.tool-head h1 { font-size: 1.9rem; }
.tool-head p { color: var(--muted); margin-top: .4rem; max-width: 640px; }
.kit-section { margin-top: 2.6rem; }
.kit-heading { margin-bottom: 1rem; font-size: 1.25rem; }
.tool-card .pro-badge { vertical-align: middle; }
@media (max-width: 860px) {
  .workspace { flex-direction: column; }
  .sidebar { position: static; width: 100%; flex-direction: row;
    flex-wrap: wrap; gap: 1.5rem; }
  .upgrade-card { width: 100%; }
}

/* ---------- FAQ ---------- */
.faq { margin-top: 3.5rem; }
.faq h2 { margin-bottom: 1rem; }
.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: .9rem 1.2rem; margin-bottom: .6rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details[open] summary { color: var(--accent); }
.faq p { color: var(--muted); margin-top: .6rem; font-size: .93rem; }

@media (max-width: 720px) {
  .row { flex-direction: column; }
  .score-row { flex-direction: column; text-align: center; }
  .score-facts h2 { font-size: .95rem; }
  .bar-label { width: 120px; font-size: .78rem; }
  .user-email { display: none; }
  .plan.featured { transform: none; }
  .nav { padding: .7rem 3%; gap: .5rem; }
  .brand { font-size: 1rem; gap: .4rem; }
  .brand img { width: 28px; height: 28px; }
  .nav nav { gap: .7rem; }
  .nav nav a, .nav nav button { white-space: nowrap; font-size: .85rem; }
  .nav .btn.small { padding: .4rem .7rem; }
  .plan-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
