/* Public marketing page. One stylesheet, no dashboard data. */
:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --ink: #0f172a;
  --muted: #334155;
  --card: #ffffff;
  --line: #cbd5e1;
  --accent: #1e3a5f;
  --accent-ink: #ffffff;
  --ghost: #e8eef6;
  --ghost-ink: #0f172a;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b1220;
    --ink: #f4f7fb;
    --muted: #d5dee8;
    --card: #151d2e;
    --line: #3d4c63;
    --accent: #e7eef6;
    --accent-ink: #0b1220;
    --ghost: #243044;
    --ghost-ink: #f4f7fb;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}
main {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 36px 20px 24px;
}
.splash {
  display: block;
  width: min(420px, 100%);
  margin: 0 auto 28px;
  text-decoration: none;
}
.splash img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 22em;
}
.lead {
  margin: 0 0 28px;
  max-width: 42em;
  color: var(--muted);
}
h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}
h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.35;
}
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.outcome, .sample {
  min-width: 0;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.outcome p, .sample p, .lead, .footnote, footer p, .chain, .chain p, .chain li, blockquote, .swot li, .facts dd, .step-card, .example-count {
  overflow-wrap: anywhere;
}
.outcome p, .sample p {
  margin: 0;
  color: var(--muted);
}
.brief { margin: 28px 0; min-width: 0; max-width: 100%; }
.chain-note, .example-count {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.example-count {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.example-stage { min-width: 0; max-width: 100%; }
.example { min-width: 0; max-width: 100%; }
.example.is-shown { animation: example-in 0.45s ease; }
@keyframes example-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.chain {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}
.chain > li {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.chain > li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  right: -1.45rem;
  width: 0.95rem;
  height: 2px;
  background: var(--accent);
}
.chain > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.22rem;
  right: -1.15rem;
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.step-card {
  width: 100%;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.step-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 0 10px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.85rem;
  font-weight: 700;
}
.step-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent);
}
.step-icon svg { display: block; width: 18px; height: 18px; }
.step-kicker h3 {
  margin: 0;
  min-width: 0;
  font-size: 0.98rem;
}
.step-agency {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}
.chain .step-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ghost);
  color: var(--ghost-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.idea-summary { margin: 0 0 8px; }
.chain h3 { margin: 0 0 6px; }
.chain p { margin: 0 0 8px; color: var(--muted); }
.chain .idea-title, .chain .step-who { color: var(--ink); font-weight: 700; }
.chain strong { color: var(--ink); }
.chain blockquote {
  margin: 0 0 8px;
  padding: 0 0 0 12px;
  border-left: 3px solid var(--line);
  color: var(--ink);
}
.facts {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
}
.facts div { min-width: 0; }
.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}
.swot {
  list-style: none;
  margin: 0;
  padding: 0;
}
.swot li {
  margin: 0 0 4px;
  color: var(--muted);
}
.example-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  max-width: 100%;
  min-width: 0;
}
.example-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
}
.example-jump, .example-dot {
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  max-width: 100%;
}
.example-jump { padding: 8px 14px; }
.example-dot {
  width: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.example-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.example-dot[aria-current="true"] {
  border-color: var(--accent);
}
.example-dot[aria-current="true"]::before { background: var(--accent); }
.example-jump:focus-visible, .example-dot:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.sample p + p { margin-top: 10px; }
.sample strong { color: var(--ink); }
a { color: var(--ink); }
.sample a { font-weight: 650; }
.meta { color: var(--muted); }
.footnote {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 62em;
}
.points {
  margin: 0 0 28px;
  padding-left: 1.2rem;
  max-width: 42em;
}
.points li { margin: 8px 0; }
.agency-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
}
.agency-nav a { font-weight: 650; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  max-width: 100%;
}
.btn.ghost {
  background: var(--ghost);
  color: var(--ghost-ink);
  border: 1px solid var(--line);
}
.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
footer {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 8px 20px 36px;
}
footer p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
@media (max-width: 800px) {
  body { font-size: 1rem; line-height: 1.45; }
  main { padding: 12px 16px 8px; }
  .splash { margin-bottom: 10px; }
  .eyebrow { margin-bottom: 4px; }
  h1 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 8px; }
  .lead { margin-bottom: 12px; }
  h2 { font-size: 1.15rem; margin-bottom: 8px; }
  h3 { margin-bottom: 4px; }
  .outcomes { grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
  .outcome, .sample { padding: 10px 12px; }
  .brief { margin: 12px 0; }
  .chain-note, .example-count { margin-bottom: 8px; }
  .chain { flex-direction: column; gap: 16px; }
  .chain > li { padding: 0; flex: 1 1 auto; }
  .chain > li:not(:last-child)::before {
    top: auto;
    right: auto;
    left: 1.05rem;
    bottom: -0.85rem;
    width: 2px;
    height: 0.65rem;
  }
  .chain > li:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 0.82rem;
    bottom: -1.05rem;
    transform: rotate(45deg);
  }
  .step-card { padding: 12px; }
  .footnote { margin-top: 4px; }
  .actions { margin-bottom: 4px; }
  footer { padding: 4px 16px 16px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none; animation: none; }
  .example.is-shown { animation: none; }
}
