/* Design system: modern product UI. Neutral greys, near-black surfaces, one green accent for "named",
   one red for "not named". Geist for text, Geist Mono for data labels. */
:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --panel: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #404040;
  --muted: #737373;
  --faint: #a3a3a3;
  --line: #e9e9e9;
  --line-2: #f1f1f1;
  --dark: #0b0b0c;
  --dark-2: #161618;
  --dark-line: #26262a;
  --dark-ink: #f5f5f5;
  --dark-muted: #8b8b93;
  --good: #16a34a;
  --good-soft: #ecfdf3;
  --good-line: #bbf7d0;
  --bad: #dc2626;
  --bad-soft: #fef2f2;
  --bad-line: #fecaca;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --you: #0a0a0a;
  --bar: #d4d4d4;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.02);
  --sans: "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1, "ss01" 1; }
a { color: inherit; }
img { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { width: 16px; height: 16px; flex: none; display: inline-flex; vertical-align: -3px; }
.icon svg { width: 100%; height: 100%; display: block; }

/* header */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); }
.topbar .wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; letter-spacing: -0.02em; font-size: 16px; text-decoration: none; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); display: grid; place-items: center; }
.brand-mark i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: block; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--ink-2); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* buttons, inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 550 14.5px/1 var(--sans);
  cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; }
.btn:hover { background: #262626; }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: #ececec; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 550; color: var(--ink-2); }
.input { height: 46px; width: 100%; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font: 15px var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.08); }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 550 11.5px/1 var(--mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.dot.live { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; font-weight: 650; }
.display { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -0.04em; }
.h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.h3 { font-size: 17px; letter-spacing: -0.02em; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.mono { font-family: var(--mono); }

/* landing */
.hero { padding: 72px 0 84px; border-bottom: 1px solid var(--line); background:
  radial-gradient(900px 400px at 85% 0%, #f4f4f5 0%, rgba(255,255,255,0) 70%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero .lede { margin: 20px 0 30px; }
.check-form { display: grid; gap: 12px; max-width: 470px; padding: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.check-form .btn { width: 100%; height: 48px; }
.form-foot { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-foot span { display: inline-flex; align-items: center; gap: 6px; }
.form-foot .icon { width: 14px; height: 14px; color: var(--good); }
.alert { padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); border: 1px solid var(--bad-line);
  color: #991b1b; font-size: 14px; margin-bottom: 14px; max-width: 470px; }

.panel-dark { background: var(--dark); color: var(--dark-ink); border-radius: 18px; border: 1px solid var(--dark-line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px;
  border-bottom: 1px solid var(--dark-line); font: 12.5px var(--mono); color: var(--dark-muted); }
.panel-head .icon { width: 14px; height: 14px; }
.panel-head > span { display: inline-flex; align-items: center; gap: 8px; }
.panel-body { padding: 18px; }
.panel-label { font: 550 10.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 8px; }
.panel-q { font-size: 16px; color: #fff; margin-bottom: 18px; letter-spacing: -0.01em; }
.engine-row { display: grid; grid-template-columns: 26px 92px 1fr; align-items: center; gap: 10px; padding: 11px 0;
  border-top: 1px solid var(--dark-line); font-size: 13.5px; }
.engine-row .name { color: var(--dark-ink); }
.engine-row .brands { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px;
  border: 1px solid var(--dark-line); color: #d4d4d8; background: var(--dark-2); white-space: nowrap; }
.chip.lead { border-color: #2f6f4a; color: #bbf7d0; background: #0f2418; }
.panel-foot { padding: 12px 18px; border-top: 1px solid var(--dark-line); font-size: 12px; color: var(--dark-muted); }
.logo { width: 22px; height: 22px; border-radius: 6px; background: #fff; display: grid; place-items: center; flex: none; }
.logo img { width: 15px; height: 15px; }
.logo.lg { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); }
.logo.lg img { width: 17px; height: 17px; }

.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .h2 { margin: 12px 0 12px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num { position: absolute; right: 18px; top: 10px; font: 700 54px/1 var(--sans); letter-spacing: -0.05em; color: #f0f0f0; }
.tile { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.tile .icon { width: 18px; height: 18px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.assistants { display: flex; flex-wrap: wrap; gap: 10px; }
.assistant { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; font-weight: 550; }
.cta-band { background: var(--dark); color: #fff; border-radius: 20px; padding: 44px; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; }
.cta-band p { color: var(--dark-muted); margin: 8px 0 0; }

.footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 13px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* report */
.report-head { padding: 34px 0 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.report-head h1 { font-size: 30px; letter-spacing: -0.035em; margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.favicon { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.favicon img { width: 18px; height: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); background: #fff; white-space: nowrap; }
.report { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 72px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.kpi { padding: 18px 20px; min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; }
.kpi .label { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.kpi .label .icon { width: 15px; height: 15px; }
.kpi .value { font-size: 34px; font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; margin-top: 14px; }
.kpi .value small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: -0.01em; }
.kpi .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.kpi .logos { display: flex; gap: 6px; margin-top: 16px; }
.good { color: var(--good); } .bad { color: var(--bad); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 22px 0; }
.card-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.card-body { padding: 18px 22px 22px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap; background: #fff; }
.grid-2 { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; align-items: start; }
.grid-2 > *, .kpis > *, .hero-grid > *, .steps > * { min-width: 0; }  /* let wide tables scroll, not push layout */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.card-head { flex-wrap: wrap; }

/* answers matrix */
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; }
.matrix th { font: 500 12px var(--sans); color: var(--muted); text-align: left; padding: 0 12px 10px 0; }
.matrix th.eng { width: 118px; }
.matrix th.eng div { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 550; }
.matrix td { border-top: 1px solid var(--line-2); padding: 12px 12px 12px 0; vertical-align: middle; font-size: 14px; }
.matrix tr.q { cursor: pointer; }
.matrix tr.q:hover td { background: var(--bg-soft); }
.matrix .qtext { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.matrix .qtext .icon { width: 14px; height: 14px; color: var(--faint); transition: transform .15s; }
.matrix tr.q.open .qtext .icon { transform: rotate(180deg); }
.res { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px;
  font-weight: 550; white-space: nowrap; }
.res .icon { width: 13px; height: 13px; }
.res.yes { background: var(--good-soft); color: #15803d; border: 1px solid var(--good-line); }
.res.no { background: var(--bad-soft); color: #b91c1c; border: 1px solid var(--bad-line); }
.res.na { color: var(--faint); border: 1px dashed var(--line); }
.detail td { padding: 4px 0 16px; border-top: 0; }
.eng-m { display: none; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.detail-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--bg-soft); }
.detail-box .eng { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; margin-bottom: 8px; }
.detail-box ol { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
.detail-box li.me { color: var(--ink); font-weight: 650; }
.detail-box .none { font-size: 13px; color: var(--muted); }

/* share of voice */
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 13.5px; }
.bar-row .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar-row.you .label { font-weight: 650; }
.bar { grid-column: 1 / -1; height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--bar); border-radius: 99px; }
.bar-row.you .bar i { background: var(--you); }

/* lists, tables */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line-2); align-items: start; }
.list li:first-child { border-top: 0; padding-top: 2px; }
.list .icon { width: 18px; height: 18px; margin-top: 1px; }
.list .t { font-size: 14px; font-weight: 550; }
.list .d { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pill-fix { font-size: 12px; color: #15803d; background: var(--good-soft); border: 1px solid var(--good-line); border-radius: 999px;
  height: 22px; padding: 0 8px; display: inline-flex; align-items: center; white-space: nowrap; }
.pill-guide { font-size: 12px; color: var(--warn); background: var(--warn-soft); border: 1px solid #fde68a; border-radius: 999px;
  height: 22px; padding: 0 8px; display: inline-flex; align-items: center; white-space: nowrap; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 0 12px 8px 0; }
.table td { border-top: 1px solid var(--line-2); padding: 11px 12px 11px 0; vertical-align: top; }
.table a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 550; }
.table a .icon { width: 13px; height: 13px; color: var(--faint); }
.table a:hover { text-decoration: underline; }
.subhead { font-size: 13px; font-weight: 600; margin: 18px 0 8px; }
.score-ring { --p: 50; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 650 18px var(--sans);
  background: conic-gradient(var(--ink) calc(var(--p) * 1%), var(--line-2) 0); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }
.score-ring span { position: relative; }

/* before / after */
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 0 12px 8px 0; }
.compare td { border-top: 1px solid var(--line-2); padding: 11px 12px 11px 0; vertical-align: top; }
.compare td:first-child { color: var(--ink-2); width: 34%; }
.compare td, .table td { overflow-wrap: anywhere; }
.missing { color: #b91c1c; display: inline-flex; align-items: center; gap: 6px; }
.added { color: #15803d; font-weight: 550; display: inline-flex; align-items: center; gap: 6px; }
.same { color: var(--ink); }
.missing .icon, .added .icon { width: 14px; height: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* skeleton + progress */
.skeleton { padding: 22px; }
.sk { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #f2f2f2, #e9e9e9, #f2f2f2); background-size: 200% 100%;
  animation: sk 1.4s ease-in-out infinite; margin-bottom: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.progress-panel .step-row { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 11px 0;
  border-top: 1px solid var(--dark-line); font-size: 13.5px; }
.progress-panel .step-row:first-child { border-top: 0; }
.spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--dark-line); border-top-color: #4ade80; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-panel .ok { color: #4ade80; } .progress-panel .wait { color: var(--dark-muted); }
.progress-panel .ok .icon, .progress-panel .wait .icon { width: 16px; height: 16px; }
.note { padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.note.warn { background: var(--warn-soft); border-color: #fde68a; color: #92400e; }

/* offer */
.offer { background: var(--dark); color: #fff; border-radius: 18px; padding: 34px; display: grid; grid-template-columns: 1fr 380px; gap: 32px; }
.offer p { color: var(--dark-muted); margin: 10px 0 0; max-width: 32em; }
.offer ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: 14px; color: #d4d4d8; }
.offer li { display: flex; gap: 9px; align-items: center; }
.offer li .icon { width: 15px; height: 15px; color: #4ade80; }
.offer form { display: grid; gap: 10px; align-content: start; }
.offer .input { background: var(--dark-2); border-color: var(--dark-line); color: #fff; }
.offer .input:focus { border-color: #52525b; box-shadow: none; }
.offer .field span { color: var(--dark-muted); }
.thanks { display: flex; gap: 10px; align-items: center; font-weight: 550; }
.thanks .icon { color: #4ade80; }

/* reader (text versions) */
.reader { max-width: 760px; }
.prose { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.prose h1, .prose h2, .prose h3 { color: var(--ink); margin: 1.4em 0 .5em; }
.prose h1 { font-size: 26px; } .prose h2 { font-size: 20px; } .prose h3 { font-size: 16px; }
.prose a { color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; text-align: left; }
.prose code, .prose pre { font-family: var(--mono); font-size: 13px; background: var(--bg-soft); border-radius: 6px; }
.prose pre { padding: 12px; overflow: auto; }

@media (max-width: 980px) {
  .hero-grid, .grid-2, .offer { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .steps, .kpis { grid-template-columns: 1fr; }
  .nav .hide-sm, .hide-sm { display: none; }
  /* answers matrix stacks: question full width, one result per assistant beneath it */
  .matrix thead { display: none; }
  .matrix tr.q { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line-2); }
  .matrix tr.q td { border: 0; padding: 0; }
  .matrix tr.q td:first-child { flex: 1 0 100%; }
  .matrix td.cell { display: inline-flex; align-items: center; gap: 6px; }
  .eng-m { display: inline-flex; }
  .matrix tr.detail, .matrix tr.detail td { display: block; }
  .report-head { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .offer { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .dot.live, .sk, .spin { animation: none; } }

/* ---- dashboard ---- */
.auth-wrap { display: grid; place-items: center; min-height: calc(100vh - 160px); padding: 40px 24px; }
.auth-card { width: 100%; max-width: 440px; padding: 30px; }
.head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn.xs { height: 30px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.brand-card { padding: 20px; text-decoration: none; display: grid; gap: 4px; position: relative; transition: border-color .15s, box-shadow .15s; }
.brand-card:hover { border-color: #d4d4d4; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.brand-card-head { display: flex; gap: 12px; align-items: center; }
.value-row { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.value-row .big { font-size: 32px; font-weight: 650; letter-spacing: -0.04em; }
.logos { display: flex; gap: 6px; margin-top: 10px; }
.logos.inline { margin: 0; }
.pending-tag { position: absolute; top: 18px; right: 18px; color: var(--warn); border-color: #fde68a; background: var(--warn-soft); }
.inline-form { display: flex; gap: 10px; max-width: 560px; }
.inline-form .input { flex: 1; }
.q-edit { display: grid; gap: 10px; }
.q-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.drop { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); white-space: nowrap; cursor: pointer; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 14px; cursor: pointer; background: #fff; }
.check:has(input:checked) { border-color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 2px; border-radius: 2px; display: inline-block; }
svg.trend { width: 100%; height: auto; display: block; }
svg.trend .grid { stroke: var(--line-2); stroke-width: 1; }
svg.trend .axis { fill: var(--muted); font: 11px var(--sans); }
.actions-list li { grid-template-columns: 22px 1fr auto; }
.decide { display: flex; gap: 6px; }
.decide form { margin: 0; }
th.num, td.num { text-align: right; white-space: nowrap; }
.kpi.agent-card { justify-content: flex-start; gap: 12px; min-height: 0; }
textarea.q-text { resize: vertical; min-height: 46px; line-height: 1.45; }
.draft { margin-top: 8px; }
.draft summary { font-size: 13px; color: var(--ink-2); cursor: pointer; }
.draft-body { white-space: pre-wrap; font-size: 13.5px; line-height: 1.6; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; margin-top: 8px; color: var(--ink-2); }
@media (max-width: 620px) {
  .inline-form { flex-direction: column; }
  .head-actions { width: 100%; }
  .actions-list li { grid-template-columns: 22px 1fr; }
  .actions-list .decide { grid-column: 2; }
}
.compare.reading td:first-child { width: 30%; }

/* one-tap decisions + operator scoreboard */
.note.good { background: var(--good-soft); border-color: var(--good-line); color: var(--good); }
.quick-card { max-width: 560px; }
.quick-card .draft-body { margin-top: 14px; max-height: 340px; overflow: auto; }
.decide-row { display: flex; gap: 10px; margin-top: 18px; }
.decide-row .btn { flex: 1; }
.score { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; min-width: 0; }
.score-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; overflow-wrap: anywhere; }
.score-item .n { font-size: 22px; font-weight: 650; letter-spacing: -0.03em; margin-top: 4px; }
.score-item .n small { font-size: 13px; color: var(--muted); font-weight: 500; }
.score-item .bar { height: 5px; border-radius: 3px; background: var(--bg-soft); margin-top: 8px; overflow: hidden; }
.score-item .bar span { display: block; height: 100%; background: var(--good); }
.score-item.behind .bar span { background: var(--warn); }
.brief-text { white-space: pre-wrap; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px; max-height: 420px; overflow: auto; }

/* setup: market */
.market-edit{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:10px;align-items:end}
.market-edit label{display:flex;flex-direction:column;gap:6px;min-width:0}
@media (max-width:640px){.market-edit{grid-template-columns:1fr 1fr}.market-edit label:first-child{grid-column:1/-1}}

/* brand tabs: Overview · Pages · Settings */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -8px 0 26px; overflow-x: auto; scrollbar-width: none; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px 12px; font-size: 14px;
  color: var(--muted); text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); font-weight: 550; }
.tabs a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.tabs .count, .col-head .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff;
  font: 550 11.5px/20px var(--mono); text-align: center; }
.kpis.kpis-3 { grid-template-columns: repeat(3, 1fr); }

/* Pages: the Envoy board */
.board { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.col { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-width: 0;
  display: flex; flex-direction: column; gap: 10px; }
.col-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; font-size: 13.5px; font-weight: 600; }
.col-head .count { background: #fff; color: var(--ink-2); border: 1px solid var(--line); line-height: 18px; }
.col-empty { font-size: 13px; color: var(--faint); padding: 18px 6px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 13.5px; }
.pcard.attn { border-color: #d4d4d4; }
.pc-site { display: flex; align-items: center; gap: 7px; font: 500 12px/1.2 var(--mono); color: var(--muted); flex-wrap: wrap; }
.favicon.sm { width: 20px; height: 20px; border-radius: 6px; }
.favicon.sm img { width: 12px; height: 12px; }
.pc-site .tag { height: 20px; font-family: var(--sans); }
.pc-title { font-weight: 600; font-size: 14px; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.pc-title .icon { width: 12px; height: 12px; color: var(--faint); margin-left: 4px; vertical-align: -1px; }
.pc-title:hover { text-decoration: underline; }
.pc-why, .pc-person { font-size: 12.5px; color: var(--muted); }
.pc-person { display: flex; gap: 6px; align-items: flex-start; overflow-wrap: anywhere; }
.pc-person .icon { width: 13px; height: 13px; margin-top: 2px; }
.pc-fit { color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.pc-warn { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; padding: 9px 11px; }
.pc-warn .icon { width: 14px; height: 14px; margin-top: 2px; }
.pc-state { display: flex; gap: 7px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.pc-state .icon { width: 14px; height: 14px; margin-top: 2px; color: var(--muted); }
.pc-state.good, .pc-state.good .icon { color: var(--good); font-weight: 550; }
.pc-effect { font-size: 12.5px; color: var(--ink-2); background: var(--bg-soft); border-radius: 8px; padding: 8px 10px; }
.pc-effect.muted { color: var(--muted); }
.pc-draft summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; list-style: none; }
.pc-draft summary::-webkit-details-marker { display: none; }
.pc-draft summary .icon { width: 13px; height: 13px; }
.pc-draft[open] summary { margin-bottom: 8px; }
.pc-draft form { display: flex; flex-direction: column; gap: 6px; }
.pc-draft .input { height: 38px; font-size: 13.5px; }
.pc-draft textarea.input { height: auto; font-size: 13px; line-height: 1.55; }
.pc-draft .draft-body { font-size: 12.5px; }
.pc-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pc-actions form { margin: 0; }
.pc-actions .btn .icon { width: 13px; height: 13px; }
.pc-steps { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.pc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pc-compare > div { background: var(--bg-soft); border-radius: 8px; padding: 7px 9px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pc-compare b { font-size: 13px; font-weight: 600; }
.pc-task { border-top: 1px solid var(--line-2); padding-top: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.pc-outcomes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-top: 1px solid var(--line-2); padding-top: 9px; margin: 0; }
.pc-outcomes .small { width: 100%; }
.chip { height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 12px var(--sans);
  color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
details.closed > summary { list-style: none; cursor: pointer; padding-bottom: 18px; }
details.closed > summary::-webkit-details-marker { display: none; }
details.closed > summary > .icon { margin-top: 4px; color: var(--muted); transition: transform .15s; }
details.closed[open] > summary > .icon { transform: rotate(180deg); }
details.closed > summary h2 { margin: 0; }
@media (max-width: 1080px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .board { grid-template-columns: minmax(0, 1fr); } .kpis.kpis-3 { grid-template-columns: 1fr; }
  .tabs { margin-top: -4px; } }

/* Overview: this week */
.week { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.week p { margin: 6px 0 0; font-size: 15px; color: var(--ink); line-height: 1.5; }
.week.attn { background: #fff; border-color: #d4d4d4; }
.week .btn { flex: none; }
.grid-1 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.kpi .sub a { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.kpi .sub a .icon { width: 13px; height: 13px; }
.kpi .sub a:hover { color: var(--ink); }

/* Needs you */
.needs section { display: flex; flex-direction: column; gap: 10px; }
.sec-head { display: flex; align-items: baseline; gap: 10px; padding: 0 2px; }
.sec-head h2 { margin: 0; }
.need { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 16px 20px; align-items: start; }
.need-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 13.5px; }
.need .t { font-size: 15px; font-weight: 600; line-height: 1.4; }
.need .small a { text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.need .small a .icon { width: 12px; height: 12px; }
.need .pc-draft textarea.input { font-size: 13.5px; }
.empty-state { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; }
.empty-state .icon { width: 22px; height: 22px; }
.empty-state p { margin: 6px 0 0; }
@media (max-width: 760px) { .need { grid-template-columns: minmax(0, 1fr); } .week { flex-direction: column; align-items: flex-start; } }

/* Products */
.prod-rate { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; flex: none; }
.prod-rate b { font-size: 26px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.prod-rate span { font-size: 12.5px; color: var(--muted); }
.prod-rate.good b { color: var(--good); }
.prod-rate.bad b { color: var(--bad); }
.prod-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
.prod-grid .list .t { font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 760px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } .prod-rate { align-items: flex-start; text-align: left; } }
.prod-grid .table { table-layout: fixed; }
.prod-grid .table th:nth-child(2) { width: 88px; }
.prod-grid .table th:nth-child(3) { width: 34%; }

/* operator brakes */
.brakes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-top: 14px; }
.brakes form { display: flex; gap: 8px; margin: 0; min-width: 0; }
.brakes .input { height: 32px; font-size: 13px; padding: 0 10px; min-width: 0; }
@media (max-width: 760px) { .brakes { grid-template-columns: 1fr; } }
.brakes .btn { white-space: nowrap; flex: none; }
.tag.good-tag { color: var(--good); border-color: var(--good-line); background: var(--good-soft); }

/* Settings: plan */
.plan-table td:not(:first-child), .plan-table th:not(:first-child) { text-align: center; }
.plan-table .on { background: var(--bg-soft); font-weight: 600; }
.plan-table th .small { font-weight: 400; }

/* first-time setup: three steps */
.stepper { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.steps-nav { list-style: none; margin: 0 0 4px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.steps-nav li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); background: #fff; }
.stepper.js .steps-nav li { cursor: pointer; }
.steps-nav li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft);
  font: 600 12px var(--mono); color: var(--ink-2); }
.steps-nav li.on { color: var(--ink); border-color: var(--ink); font-weight: 550; }
.steps-nav li.on span { background: var(--ink); color: #fff; }
.steps-nav li.done span { background: var(--good-soft); color: var(--good); }
.stepper .step { display: grid; gap: 16px; padding: 0; border: 0; background: none; border-radius: 0; }
.stepper.js .step:not(.on) { display: none; }
.step-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stepper:not(.js) .step-foot { display: none; }
.stepper:not(.js) .step:last-child .step-foot { display: flex; }

/* Connect */
.connect-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; }
.connect-steps li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start;
  padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.connect-steps li:first-child { border-top: 0; padding-top: 2px; }
.connect-steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; background: var(--bg-soft);
  border: 1px solid var(--line); display: grid; place-items: center; font: 600 12px var(--mono); color: var(--ink-2); }
.note.good, .note.warn { display: flex; gap: 8px; align-items: flex-start; }
.connect-steps .btn { white-space: nowrap; }

/* campaigns */
.camp { border-top: 1px solid var(--line-2); padding: 14px 0 6px; }
.camp:first-child { border-top: 0; padding-top: 0; }
.camp-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 6px; }
.camp-result { font-size: 13.5px; color: var(--ink-2); background: var(--bg-soft); border-radius: 8px; padding: 9px 11px; margin-top: 6px; }
.goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; }
.goal { padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.goal:hover { border-color: var(--ink); }
.goal p { margin: 0; flex: 1; }
.camp-form { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.camp-form label { display: flex; flex-direction: column; gap: 6px; }
.camp-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .goal-grid, .camp-dates { grid-template-columns: 1fr; } }

/* raw evidence (public example and owners' answers) */
.evidence .card-head { align-items: flex-start; }
.ev-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ev-meta .logo { width: 16px; height: 16px; }
.ev-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.ev-flags .icon { width: 12px; height: 12px; }
.ev-sum { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13.5px; color: var(--ink-2); list-style: none; }
.ev-sum::-webkit-details-marker { display: none; }
details[open] > .ev-sum .icon { transform: rotate(180deg); }
.ev-answer { margin: 10px 0 4px; padding: 14px 16px; background: var(--bg-soft); border-radius: 10px; font-size: 14.5px;
  overflow-wrap: anywhere; }
.ev-answer > :first-child { margin-top: 0; }
.ev-answer table { display: block; overflow-x: auto; }
.ev-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 14px; }
.ev-links { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 3px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .ev-cols { grid-template-columns: minmax(0, 1fr); } }

/* fact sheet for editors */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.fact { text-decoration: none; overflow: hidden; display: flex; flex-direction: column; }
.fact img, .fact .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-soft); display: grid; place-items: center; }
.fact .noimg .icon { width: 28px; height: 28px; color: var(--faint); }
.fact-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.fact-body .t { font-weight: 600; font-size: 14px; }
.fact-body .src { color: var(--faint); overflow-wrap: anywhere; }
.fact:hover { border-color: var(--ink); }

.visit-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 28px; align-items: center; }
.visit-row .value { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; }
.visit-row .tag .logo { width: 14px; height: 14px; }
@media (max-width: 640px) { .visit-row { grid-template-columns: 1fr 1fr; } .visit-row .chips { grid-column: 1 / -1; } }

/* the story of one page */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-2); position: relative; }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.tl-day { font-size: 12px; color: var(--muted); padding-top: 2px; }
.tl-body .t { font-weight: 600; font-size: 14.5px; }
.tl-body .d { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.pc-story { margin-left: auto; color: var(--faint); display: inline-flex; order: 9; }
.pc-story:hover { color: var(--ink); }
.pc-story .icon { width: 14px; height: 14px; }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.nowrap { white-space: nowrap; }

/* ---- landing: agents, control, AI involved, case study, FAQ ---- */
.proof-line { display: flex; align-items: center; gap: 10px; max-width: 470px; margin-top: 18px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; font-size: 13.5px;
  color: var(--ink-2); line-height: 1.45; }
.proof-line:hover { border-color: #d4d4d4; }
.proof-line > .icon { width: 15px; height: 15px; flex: none; color: var(--muted); }
.proof-tag { flex: none; font: 550 10.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--good);
  background: var(--good-soft); border: 1px solid var(--good-line); border-radius: 999px; padding: 5px 8px; }
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.agent { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.agent h3 { font-size: 17px; margin: 0 0 6px; }
.agent > p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.agent ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.agent li { display: flex; gap: 9px; align-items: flex-start; }
.agent li .icon { width: 15px; height: 15px; margin-top: 2px; flex: none; color: var(--good); }
.agent-rule { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 13px; font-weight: 550; }
.agent-rule .icon, .rule-head .icon { width: 15px; height: 15px; }
.agent-rule.good, .rule-head.good { color: var(--good); }
.agent-rule.ask, .rule-head.ask { color: var(--warn); }
.rule-head.no { color: var(--bad); }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rule { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.rule-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.rule p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ai-grid .subhead { margin-bottom: 14px; }
.ai-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.ai-list li { display: flex; gap: 12px; align-items: flex-start; }
.ai-list li > .icon { width: 30px; height: 30px; flex: none; padding: 7px; border-radius: 8px; background: var(--ink); color: #fff; }
.case-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px;
  border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.case-band p { color: var(--muted); margin: 10px 0 22px; max-width: 34em; line-height: 1.6; }
.case-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case-stats > div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.case-stats .v { font-size: 30px; font-weight: 650; letter-spacing: -0.03em; }
.case-stats .v small { font-size: 15px; color: var(--muted); font-weight: 500; }
.case-stats .l { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 0; font-weight: 550; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform .15s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 980px) {
  .agents, .rules { grid-template-columns: minmax(0, 1fr); }
  .ai-grid, .case-band { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .case-band { padding: 24px; }
}
@media (max-width: 520px) { .case-stats { gap: 8px; } .case-stats > div { padding: 12px; } .case-stats .v { font-size: 24px; } .case-stats .l { font-size: 11.5px; } }

/* ---- rivals ---- */
.tag.warn-tag { color: var(--warn); border-color: #fde68a; background: var(--warn-soft); }
.rival-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.rival-quote { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--line); color: var(--ink-2); font-size: 14px;
  line-height: 1.55; }
.rival-quote .small { display: block; margin-top: 4px; }
.strength-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.strength-form .input { flex: 1 1 240px; height: 34px; font-size: 13px; }
@media (max-width: 640px) { .rival-cols { grid-template-columns: minmax(0, 1fr); } }
.more-strengths { margin-top: 10px; } .more-strengths .list { margin-top: 8px; }
.warn-list { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }

/* ---- guides: a calm reading page ---- */
.guide { max-width: 720px; padding-top: 56px; padding-bottom: 80px; }
.guide h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.03em; margin: 14px 0 28px; }
.guide-body { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.guide-body h2 { font-size: 21px; margin: 38px 0 10px; color: var(--ink); letter-spacing: -0.01em; }
.guide-body p { margin: 0 0 16px; }
.guide-body ul { margin: 0 0 16px; padding-left: 20px; }
.guide-body li { margin: 4px 0; }
.guide-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.guide-cta p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.guide-foot { margin-top: 18px; }
@media (max-width: 620px) { .guide-cta { flex-direction: column; align-items: flex-start; } .guide { padding-top: 36px; } }
.lead-line { margin: 8px 0 0; max-width: 760px; line-height: 1.55; }
.calm-line { margin: 10px 0 0; }
.calm-more { margin-top: 10px; }
.calm-more > summary { font-size: 13px; }
.calm-more .small { margin: 8px 0 0; }
.rival-list .t .small { font-weight: 400; }
.guide-cta .btn { white-space: nowrap; flex: none; }
.guide-body h2 { line-height: 1.3; }
.guide-body strong { color: var(--ink); }
