:root {
  --bg: #f3f1ea;
  --bg-2: #eae7df;
  --paper: #fffcf6;
  --ink: #141413;
  --muted: #6a6861;
  --line: #ddd8cc;
  --sidebar: #111110;
  --sidebar-2: #1c1c19;
  --accent: #c8f542;
  --accent-ink: #1b2208;
  --high: #9a3412;
  --warn: #b45309;
  --wa: #1f6b4a;
  --font: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 180ms var(--ease);
  --mid: 380ms var(--ease);
  --slow: 760ms var(--ease);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.45;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

.view { position: relative; z-index: 1; min-height: 100vh; }
.topbar, .work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  height: 72px;
  border-bottom: 1px solid var(--line);
}
.topbar.compact { width: min(860px, calc(100% - 40px)); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand em { font-style: normal; font-weight: 500; color: #7c7a70; }
.brand.invert, .invert-on-dark { color: #f4f2ec; }
.brand.invert em, .invert-on-dark em { color: #9a988e; }
.brand-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--sidebar);
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
}
.brand.invert .brand-mark, .invert-on-dark .brand-mark {
  background: var(--accent);
  color: var(--accent-ink);
}
.top-meta { display: flex; align-items: center; gap: 14px; }
.text-link, .text-btn {
  border: 0; background: none;
  color: var(--muted);
  font-size: 13px;
  padding: 0;
}
.brand.invert + * .text-btn,
.side-foot .text-btn { color: #c5c3bb; text-align: left; }
.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}
.pill.dim { color: #c5c3bb; border-color: #2a2a28; }
.pill.live { background: var(--accent); border-color: #b7e04a; color: var(--accent-ink); }

.home-main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 40px;
}
.hero { margin-bottom: 36px; }
.eyebrow, .kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}
.kicker.lime { color: var(--accent); }
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6f8c00;
  box-shadow: 0 0 0 5px rgba(111,140,0,.12);
}
h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 650;
  margin: 16px 0 14px;
  overflow-wrap: break-word;
}
h1 em { font-family: var(--serif); font-weight: 400; }
.lede { max-width: 540px; font-size: 18px; color: var(--muted); margin: 0; }

.entry-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.28);
}
.entry-tab {
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
}
.entry-tab.on { background: var(--sidebar); color: #fff; }
.entry-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.intake-form {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.intake-form label, .edit-panel label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}
.intake-form input, .intake-form select, .intake-form textarea,
.edit-panel input, .edit-panel textarea, .edit-panel select {
  width: 100%;
  margin-top: 7px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 11px 0;
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.intake-form input:focus, .intake-form select:focus, .intake-form textarea:focus,
.edit-panel input:focus, .edit-panel textarea:focus, .edit-panel select:focus {
  border-bottom-color: var(--ink);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.opt { color: #a09c93; font-weight: 400; text-transform: lowercase; letter-spacing: 0; }
.field-error { display: block; color: var(--high); margin-top: 6px; font-size: 12px; }
.invalid { border-bottom-color: #d7a394 !important; }
.notes-field textarea { resize: vertical; min-height: 52px; }
.plan-picker {
  border: 0;
  padding: 0;
  margin: 18px 0 12px;
}
.plan-picker legend { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.intake-form .plan-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  margin-bottom: 8px;
  cursor: pointer;
}
.intake-form .plan-option:has(input:checked) { border-color: var(--ink); background: rgba(24,32,51,.035); }
.intake-form .plan-option input { width: 16px; margin: 3px 0 0; padding: 0; }
.plan-option strong, .plan-option small { display: block; }
.plan-option strong { color: var(--ink); font-size: 14px; }
.plan-option small { margin-top: 3px; line-height: 1.45; }
.featured-plan strong::after { content: "Paid"; margin-left: 7px; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; color: #597118; }
.primary, .ghost {
  border-radius: 10px;
  transition: transform var(--fast), background var(--fast), opacity var(--fast);
}
.primary {
  border: 0;
  background: var(--sidebar);
  color: #fff;
  padding: 14px 18px;
  font-weight: 650;
}
.primary:hover { transform: translateY(-1px); }
.wide { width: 100%; margin-top: 8px; }
.ghost {
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 13px;
}
.try-block { margin: 36px 0 24px; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sample {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  color: var(--muted);
  transition: border-color var(--fast), color var(--fast), background var(--fast);
}
.sample:hover, .sample.on { border-color: var(--ink); color: var(--ink); background: var(--paper); }

.discovery-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid #bfd778;
  border-radius: 10px;
  background: rgba(200,245,66,.18);
}
.discovery-summary span { color: var(--muted); }
.lead-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 14px;
}
.lead-head h2 { margin: 6px 0 0; font-size: 26px; letter-spacing: -.03em; }
.lead-empty {
  margin-top: 24px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}
.lead-table-wrap {
  width: min(1080px, calc(100vw - 40px));
  margin-left: max(0px, calc((760px - min(1080px, calc(100vw - 40px))) / 2));
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.3);
}
.lead-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.lead-table th, .lead-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.lead-table th { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.lead-table td { font-size: 13px; vertical-align: middle; }
.lead-table tr:last-child td { border-bottom: 0; }
.lead-table td:first-child { min-width: 190px; }
.lead-table td strong, .lead-table td small { display: block; }
.lead-table td small { margin-top: 3px; color: var(--muted); }
.lead-table .yes { color: #3f6212; font-weight: 700; }
.lead-status {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  white-space: nowrap;
}
.lead-analyse { padding: 7px 10px; font-size: 12px; }
.sample:focus-visible, .primary:focus-visible, .ghost:focus-visible, .side-nav button:focus-visible, .strip-nav button:focus-visible, .text-link:focus-visible, .text-btn:focus-visible, .copy-mini:focus-visible, .seg-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.credit {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 32px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.workspace-credit { width: auto; margin: 48px 0 0; }

.view-processing, .ready-gate { background: #0f0f0e; color: #f2f0ea; }
.view-processing .quiet, .ready-gate .quiet { color: #9a988e; }
.process-shell, .ready-gate {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}
.ready-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  margin: 0;
  width: auto;
  padding: 0 10vw;
  animation: fade .4s var(--ease);
}
.process-intro h2, .process-main h2, .ready-gate h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -.04em;
  margin: 10px 0 8px;
  font-weight: 550;
}
.reason {
  min-height: 48px;
  max-width: 46ch;
  color: #d9d6cc;
  font-size: 18px;
  font-family: var(--serif);
  margin: 8px 0 32px;
  line-height: 1.4;
}
.workflow { list-style: none; margin: 0; padding: 0; }
.workflow li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-left: 1px solid #2a2a26;
  padding-left: 22px;
  margin-left: 5px;
  color: #6f6d66;
  position: relative;
}
.workflow li:last-child { border-left-color: transparent; }
.workflow .mark {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid #3a3a36;
  background: #0f0f0e;
  position: absolute;
  left: -6px;
  flex: none;
}
.workflow .label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
}
.workflow li.active { color: #fff; }
.workflow li.active .mark {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,245,66,.12);
}
.workflow li.done { color: #c8c6bc; }
.workflow li.done .mark { background: #3d4a14; border-color: var(--accent); }
.workflow .state {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #7c7a70;
}
.workflow li.active .state { color: var(--accent); }
.workflow li.done .state { color: #5c5a52; }

.view-app {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  background: var(--bg);
}
.sidebar {
  background: var(--sidebar);
  color: #e7e5de;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side-nav, .strip-nav { display: grid; gap: 2px; }
.side-nav button, .strip-nav button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #a7a59c;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  transition: background var(--fast), color var(--fast);
}
.side-nav button:hover, .side-nav button.on, .strip-nav button.on {
  background: var(--sidebar-2);
  color: #fff;
}
.side-foot { margin-top: auto; display: grid; gap: 12px; }
.workspace { min-width: 0; padding: 0 32px 48px; }
.work-head {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 18px 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.work-head h1 { font-size: 22px; margin: 4px 0 0; max-width: none; letter-spacing: -.03em; }
.work-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.strip-nav {
  display: none;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  overflow-x: auto;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.strip-nav button {
  width: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.strip-nav button.on { background: var(--sidebar); color: #fff; border-color: var(--sidebar); }

.panel { padding-top: 28px; }
.panel.enter .reveal { animation: rise var(--slow) both; }
.panel.enter .reveal:nth-child(2) { animation-delay: .12s; }
.dash-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.dash-hero h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; margin: 8px 0 6px; }
.biz-meta { color: var(--muted); margin: 0 0 12px; }
.biz-desc { font-size: 17px; max-width: 38ch; font-family: var(--serif); }
.status-line { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.site-read {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink);
  max-width: 52ch;
  padding: 8px 10px;
  background: rgba(24, 32, 51, 0.05);
  border-radius: 8px;
}
.coverage-notice {
  margin: 10px 0 0;
  padding: 11px 12px;
  max-width: 56ch;
  border-left: 3px solid #ad7b16;
  background: #fff8e6;
  color: #6d4d0d;
  font-size: 13px;
  line-height: 1.5;
}
.coverage-notice ul { margin: 8px 0 0; padding-left: 18px; }
.coverage-notice li { margin-top: 4px; overflow-wrap: anywhere; }
.field-hint {
  margin: 6px 0 16px;
  font-size: 12px;
  color: var(--muted);
}
.scan-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 0;
  max-width: 56ch;
}
.scan-board article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 12px 14px;
}
.scan-board .kicker { margin: 0 0 6px; }
.scan-board strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.scan-board p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.scan-checks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.scan-checks li {
  display: grid;
  gap: 4px;
  padding: 12px 0 12px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--line);
}
.scan-checks li.pass { border-left-color: #3d7a4a; }
.scan-checks li.fail { border-left-color: var(--high); }
.scan-checks li.skip { border-left-color: #c4b89a; }
.scan-checks strong { font-size: 14px; }
.scan-checks span { color: var(--muted); font-size: 13px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; align-content: start; }
.stat.featured { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; }
.stat strong {
  display: block;
  font-size: 40px;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat span { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ring-wrap { position: relative; width: 108px; height: 108px; flex: none; }
.ring { width: 108px; height: 108px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 7; }
.ring-fg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset var(--slow);
}
.score-num {
  position: absolute; inset: 0;
  display: grid; place-content: center;
}
.score-num strong { font-size: 28px; }
.score-panel { padding-top: 28px; }
.score-break { list-style: none; margin: 0; padding: 0; }
.score-break li {
  display: grid;
  grid-template-columns: 140px 1fr 36px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.score-break li.weak { color: var(--ink); }
.score-break li.weak .bar span { background: var(--high); }
.bar { height: 3px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width var(--slow); }

.section-head { margin: 0 0 18px; }
.section-head h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.03em; }
.section-head p { margin: 0; color: var(--muted); }

.priority { display: grid; gap: 0; border-top: 1px solid var(--line); }
.priority article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.priority .num {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--muted);
}
.priority.secondary article { grid-template-columns: 64px 1fr; opacity: .92; }
.priority .lens { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.priority h4 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; font-weight: 550; max-width: 28ch; }
.priority p { margin: 0; color: var(--muted); max-width: 52ch; }
.priority .meta { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; }
.impact { letter-spacing: .12em; text-transform: uppercase; font-size: 10px; font-weight: 800; }
.impact.high { color: var(--high); }
.impact.medium { color: var(--warn); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.compare article { padding: 28px 28px 28px 0; }
.compare article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.compare .recommended { background: transparent; color: inherit; }
.compare .recommended .kicker { color: #4d6310; }
.quote-lg { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -.02em; margin: 12px 0 0; font-family: var(--serif); }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.four article { padding: 0; border: 0; }
.four h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.four p { margin: 0; font-size: 15px; }

.competitors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.competitors article {
  padding: 8px 22px 8px 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.competitors article + article { padding-left: 22px; border-left: 1px solid var(--line); }
.competitors h3 { margin: 0 0 4px; font-size: 18px; }
.comp-pos { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.competitors dt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.competitors dd { margin: 4px 0 0; }
.gap-block { margin-top: 28px; padding: 28px 0 0; border-top: 1px solid var(--line); background: none; border-radius: 0; }
.gap-headline { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; margin: 10px 0 12px; line-height: 1.1; }
.gap-copy { color: var(--muted); max-width: 62ch; font-size: 17px; margin: 0; }

.website-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.website-toolbar h3 { margin: 0 0 4px; font-size: 22px; }
.toolbar-actions, .wa-actions, .social-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: flex; border-bottom: 1px solid var(--line); }
.seg-btn { border: 0; background: transparent; padding: 8px 12px; color: var(--muted); }
.seg-btn.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.site-empty, .site-building {
  min-height: 280px;
  border-top: 1px solid var(--line);
  display: grid;
  place-content: start;
  padding: 36px 0;
}
.site-building ol { margin: 18px 0 0; padding: 0; list-style: none; }
.site-building li { padding: 6px 0; color: var(--muted); }
.site-building li.on { color: var(--ink); }
.inline-ok { font-size: 13px; color: #3f6212; margin: 0 0 10px; }
.site-qa-status { font-size: 13px; margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; }
.site-qa-status.pass { color: #315314; background: #eff8e8; }
.site-qa-status.fail { color: #842c2c; background: #fff0f0; }
.site-workspace { display: grid; grid-template-columns: 1fr; gap: 16px; }
.site-workspace.editing { grid-template-columns: 1fr 280px; }
.site-frame-wrap {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #d8d3c8;
  min-height: min(72vh, 760px);
  transition: width var(--mid), margin var(--mid);
}
.site-frame-wrap.is-mobile {
  width: min(390px, 100%);
  margin: 0 auto;
  min-height: 680px;
}
.browser-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px; background: #eceae3; border-bottom: 1px solid var(--line);
}
.browser-chrome span { width: 8px; height: 8px; border-radius: 50%; background: #c7c2b6; }
.browser-chrome small { margin: 0 auto; color: var(--muted); font-size: 11px; }
.site-stage { overflow: hidden; background: #cfcabe; position: relative; min-height: min(68vh, 720px); }
.site-frame-wrap.is-mobile .site-stage { min-height: 640px; }
.site-stage iframe {
  border: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: top center;
  background: #fff;
  display: block;
}
.edit-panel {
  border-left: 1px solid var(--line);
  padding: 4px 0 0 16px;
}
.tiny { font-size: 12px; margin: 0 0 12px; }

.serp { padding: 8px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.serp-title { color: #1a0dab; font-size: 20px; margin: 0 0 4px; }
.serp-url { color: #006621; font-size: 14px; margin: 0 0 6px; }
.serp-meta { color: #4d5156; margin: 0; max-width: 62ch; }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 22px; }
.seo-grid article, .structure, .gbp { background: none; border: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.chips li { border-bottom: 1px solid var(--line); padding: 4px 0; font-size: 13px; }
.pages { margin: 10px 0 0; padding: 0; list-style: none; }
.pages li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.copy-plain { margin: 8px 0 0; max-width: 62ch; color: var(--muted); }

.wa-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.funnel { list-style: none; margin: 12px 0 0; padding: 0; }
.funnel li {
  position: relative;
  padding: 0 0 28px 0;
  color: var(--ink);
}
.funnel li:after {
  content: "↓";
  display: block;
  color: var(--muted);
  margin-top: 10px;
  font-size: 14px;
}
.funnel li:last-child:after { content: none; }
.funnel strong { display: block; font-size: 16px; }
.funnel span { color: var(--muted); font-size: 14px; }
.path-ready { margin: 8px 0 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #3f6212; }
.thread-card { background: #173328; color: #edf7f1; min-height: 340px; }
.thread-top { text-align: center; padding: 14px; font-size: 12px; background: #12271e; letter-spacing: .08em; text-transform: uppercase; }
.thread { padding: 16px; display: grid; gap: 8px; }
.bubble { max-width: 88%; padding: 10px 12px; font-size: 14px; }
.bubble.in { background: #1f4334; justify-self: start; }
.bubble.out { background: var(--wa); justify-self: end; }

.social-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.social-tabs button { border: 0; background: none; padding: 8px 0; color: var(--muted); }
.social-tabs button.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.social-card { background: none; border: 0; padding: 0; }
.social-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.social-card p { margin: 0; font-size: 22px; font-family: var(--serif); max-width: 40ch; line-height: 1.35; }
.copy-mini { border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 6px 8px; font-size: 12px; }
.idea { margin-top: 18px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 108px 16px 1fr;
  gap: 16px;
  padding: 0 0 8px;
}
.timeline .day {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 18px;
}
.timeline .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink);
  margin-top: 22px;
  box-shadow: 0 0 0 1px var(--bg), 0 0 0 2px var(--ink);
  position: relative;
}
.timeline .dot:before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 1px; height: 72px;
  background: var(--line);
}
.timeline li:last-child .dot:before { display: none; }
.timeline .card {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 0 22px;
}
.timeline h3 { margin: 0 0 6px; font-size: 18px; }
.timeline p { margin: 0; color: var(--muted); }

.agent-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.agent-board li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.agent-board small { color: var(--muted); display: block; margin-top: 4px; }
.done-tag { color: #3f6212; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  background: var(--sidebar);
  color: #fff;
  padding: 11px 16px;
  font-size: 13px;
  z-index: 40;
  transition: var(--fast);
  max-width: min(520px, calc(100% - 32px));
  text-align: center;
  line-height: 1.4;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.present #modePillHome { display: none; }
.restart-top {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  padding: 0;
}
.primary, .ghost, .sample { min-height: 40px; }
.site-workspace.reveal .site-frame-wrap {
  animation: siteIn .62s var(--ease);
}
@keyframes siteIn {
  from { opacity: 0; transform: translateY(6px) scale(.987); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1100px) {
  .dash-hero, .site-workspace.editing { grid-template-columns: 1fr; }
  .edit-panel { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
}
@media (max-width: 980px) {
  .compare, .wa-layout, .seo-grid, .competitors, .four { grid-template-columns: 1fr; }
  .compare article + article, .competitors article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .website-toolbar { display: grid; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .view-app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .strip-nav { display: grid; }
  .workspace { padding: 0 16px 40px; }
  .work-head { position: sticky; }
}
@media (max-width: 640px) {
  .home-main, .topbar, .process-shell, .credit { width: min(100% - 24px, 1080px); }
  .home-main { padding-top: 36px; }
  h1 { font-size: 38px; }
  .split, .score-break li, .priority article, .timeline li, .scan-board { grid-template-columns: 1fr; }
  .timeline .dot { display: none; }
  .score-hero, .stat.featured { display: flex; }
  .intake-form input, .intake-form select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .primary:hover { transform: none; }
}
