:root {
  --ink: #0b1220;
  --muted: #5b6678;
  --line: #dfe4ea;
  --soft: #f3f6f8;
  --paper: #ffffff;
  --red: #ea2a2a;
  --red-dark: #b71919;
  --blue: #246bfd;
  --green: #0f9f67;
  --amber: #c87a06;
  --navy: #0a101c;
  --shadow: 0 16px 44px rgba(11, 18, 32, .10);
  --sidebar: 236px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.58; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-140%); background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.topbar { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #1777ff, #1bc6f1); font: 800 18px/1 "Manrope", sans-serif; box-shadow: 0 8px 20px rgba(36,107,253,.25); }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font: 800 14px "Manrope", sans-serif; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 7px 11px; border: 1px solid; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-pill > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px currentColor; opacity: .8; }
.status-pill.safe { color: #08774c; border-color: #b9ead7; background: #ebfbf5; }
.status-pill.warning { color: #9c5b00; border-color: #f4d39f; background: #fff7e8; }
.dark-pill { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }

.sidebar { position: fixed; z-index: 80; top: 72px; bottom: 0; left: 0; width: var(--sidebar); padding: 34px 22px; border-right: 1px solid var(--line); background: #fafbfc; overflow-y: auto; }
.sidebar .eyebrow { margin: 0 12px 14px; }
.side-link { display: block; margin: 3px 0; padding: 10px 12px; border-radius: 9px; color: #526071; text-decoration: none; font-size: 14px; font-weight: 600; transition: .2s ease; }
.side-link:hover, .side-link.active { color: var(--ink); background: #edf1f5; }
.side-link.active { box-shadow: inset 3px 0 0 var(--red); }
.sidebar-note { margin-top: 34px; padding: 14px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.sidebar-note strong, .sidebar-note span { display: block; }
.sidebar-note strong { color: var(--ink); }

.mobile-nav { display: none; }
main, footer { margin-left: var(--sidebar); }
main { padding-top: 72px; }

h1, h2, h3 { font-family: "Manrope", system-ui, sans-serif; letter-spacing: -.035em; }
h1 { max-width: 900px; margin: 12px 0 18px; font-size: clamp(44px, 5vw, 76px); line-height: 1.02; }
h2 { margin: 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.1; }
h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.25; }
p { margin: 0 0 16px; }
.eyebrow { color: #687588; font: 800 11px/1.3 "Manrope", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.red { color: var(--red); }
.panel-label { margin: 0 0 8px; color: #738094; font: 800 11px/1.3 "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.hero { min-height: 650px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); gap: 48px; align-items: center; padding: 88px max(5vw, 54px); overflow: hidden; background: radial-gradient(circle at 88% 14%, rgba(234,42,42,.10), transparent 30%), linear-gradient(180deg,#fff,#f7f9fb); border-bottom: 1px solid var(--line); }
.hero-lead { max-width: 800px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font: 700 14px "DM Sans", sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--red); box-shadow: 0 10px 24px rgba(234,42,42,.22); }
.button.primary:hover { background: var(--red-dark); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button.small { min-height: 40px; padding: 0 15px; font-size: 13px; }
.hero-panel { position: relative; padding: 34px; color: #fff; background: var(--navy); border-radius: 24px; box-shadow: 0 30px 70px rgba(10,16,28,.25); }
.hero-panel:before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(145deg, rgba(255,255,255,.08), transparent 50%); }
.hero-panel h2 { font-size: 30px; }
.mini-flow { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; }
.mini-flow span { padding: 7px 9px; border-radius: 7px; background: rgba(255,255,255,.08); font-size: 12px; }
.mini-flow b { color: var(--red); }
.event-card { position: relative; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.event-date { display: grid; place-items: center; min-width: 72px; height: 46px; padding: 0 8px; border-radius: 9px; color: #fff; background: var(--red); font-weight: 800; font-size: 12px; }
.event-card strong, .event-card small { display: block; }
.event-card small { margin-top: 2px; color: #aeb8c6; }

.section { padding: 92px max(5vw, 54px); border-bottom: 1px solid var(--line); }
.section.alt { background: var(--soft); }
.section.dark { color: #fff; background: var(--navy); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-intro { max-width: 900px; margin-bottom: 36px; color: var(--muted); font-size: 18px; }
.section-intro.light { color: #aeb8c6; }
.time-chip { padding: 8px 12px; color: #5c4a10; background: #fff6cf; border: 1px solid #f0dc83; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }

.decision-list { display: grid; gap: 10px; margin-top: 32px; }
.decision-card { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(11,18,32,.035); }
.decision-card.priority { border-color: #f0b0b0; box-shadow: inset 4px 0 0 var(--red); }
.decision-number { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--ink); border-radius: 50%; font: 800 12px "Manrope", sans-serif; }
.decision-card p { margin: 0; color: var(--muted); }
.decision-tag { padding: 6px 9px; color: #3c495a; background: #edf1f5; border-radius: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; }

.status-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 34px; }
.status-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.status-card.done { box-shadow: inset 0 4px 0 var(--green); }
.status-card.ready { box-shadow: inset 0 4px 0 var(--blue); }
.status-card.test { box-shadow: inset 0 4px 0 var(--amber); }
.status-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; color: #fff; background: var(--ink); border-radius: 10px; font-weight: 800; }
.status-card.done .status-icon { background: var(--green); }
.status-card.ready .status-icon { background: var(--blue); }
.status-card.test .status-icon { background: var(--amber); }
.status-card ul, .check-list, .capability-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.status-card li, .check-list li, .capability-card li { position: relative; margin: 10px 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.status-card li:before, .check-list li:before, .capability-card li:before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #9ba5b3; }
.check-list li:before { content: "✓"; top: 0; width: auto; height: auto; color: var(--green); background: none; font-weight: 800; }
.boundary-note { margin: 24px 0 0; padding: 18px 20px; color: #465365; background: #fff; border: 1px solid var(--line); border-radius: 12px; }

.media-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 34px; }
.website-grid .wide { grid-column: 1 / -1; }
.shot-card { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 26px rgba(11,18,32,.06); }
.screenshot-frame { height: 310px; overflow: hidden; background: #e9edf1; border-bottom: 1px solid var(--line); }
.screenshot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screenshot-frame.website-shot { height: 470px; }
.screenshot-frame.website-shot img { object-fit: cover; object-position: top center; }
.shot-card figcaption { display: grid; gap: 2px; padding: 16px 18px; }
.shot-card figcaption span { color: var(--muted); font-size: 13px; }
.detail-block { margin-top: 38px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.approval-panel { padding: 24px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; }
.approval-panel ol { margin: 14px 0 0; padding-left: 22px; }
.approval-panel li { margin: 8px 0; color: #485568; }
.button-stack { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.text-link { color: var(--red-dark); font-size: 13px; font-weight: 700; text-decoration: none; }

.campaign-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; margin: 34px 0; }
.campaign-flow > div { min-height: 150px; padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.06); }
.campaign-flow > div span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 16px; color: #fff; background: var(--red); border-radius: 50%; font-weight: 800; }
.campaign-flow strong, .campaign-flow small { display: block; }
.campaign-flow small { margin-top: 7px; color: #aeb8c6; }
.campaign-flow > b { color: var(--red); }
.creative-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; margin: 32px 0; overflow: hidden; }
.creative-strip figure { margin: 0; overflow: hidden; background: #161f2e; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; }
.creative-strip img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.creative-strip figcaption { padding: 10px; color: #d9dfe7; font-size: 11px; font-weight: 700; }
.dark-detail h3 { color: #fff; }
.field-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.field-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #e0e5ec; background: rgba(255,255,255,.06); font-size: 12px; }
.muted-light { margin-top: 18px; color: #aeb8c6; }
.dark-panel { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.dark-panel li { color: #d3d9e2; }

.ai-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0; }
.screenshot-frame.ai-shot { height: 270px; }
.screenshot-frame.ai-shot img { object-fit: cover; object-position: top center; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.capability-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.capability-card.can { background: #effaf5; border-color: #c6eadb; }
.capability-card.cannot { background: #fff5f3; border-color: #f3d3cc; }
.capability-card.can li:before { background: var(--green); }
.capability-card.cannot li:before { background: var(--red); }
.chat-section { margin: 38px 0; padding: 28px; background: var(--navy); border-radius: 20px; color: #fff; }
.chat-section .muted { color: #aeb8c6; }
.chat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 22px; }
.chat-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: #111b2b; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; }
.chat-card p { margin: 0; font-size: 13px; }
.chat-user { align-self: flex-end; padding: 10px 12px; color: #fff; background: var(--blue); border-radius: 12px 12px 3px 12px; }
.chat-bot { padding: 11px 12px; color: #d9e0e9; background: #202c3e; border-radius: 12px 12px 12px 3px; }
.chat-bot span { display: block; margin-bottom: 5px; color: #91b9ff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.crm-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 28px; align-items: start; margin-top: 34px; }
.screenshot-frame.crm-shot { height: 390px; }
.screenshot-frame.crm-shot img { object-position: top left; }
.flow-steps { display: grid; gap: 10px; }
.flow-steps article { display: flex; gap: 13px; align-items: flex-start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.flow-steps article > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: #fff; background: var(--ink); border-radius: 50%; font-weight: 800; font-size: 11px; }
.flow-steps strong, .flow-steps small { display: block; }
.flow-steps small { margin-top: 2px; color: var(--muted); }
.event-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-top: 32px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.event-checklist { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.event-checklist span { padding: 11px 12px; color: #375445; background: #eef9f4; border-radius: 8px; font-size: 13px; font-weight: 700; }
.test-panel { margin-top: 24px; padding: 24px; color: #fff; background: var(--navy); border-radius: 16px; }
.test-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-top: 16px; }
.test-grid span { padding: 10px; background: rgba(255,255,255,.08); border-radius: 8px; color: #d9e0e9; font-size: 12px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 34px; }
.timeline:before { content: ""; position: absolute; top: 23px; left: 6%; right: 6%; height: 2px; background: var(--line); }
.timeline article { position: relative; padding-top: 66px; }
.timeline article > span { position: absolute; z-index: 2; top: 0; left: 0; display: grid; place-items: center; width: 46px; height: 46px; color: #fff; background: var(--ink); border: 5px solid #fff; border-radius: 50%; font-weight: 800; box-shadow: 0 0 0 1px var(--line); }
.timeline article.current > span { background: var(--red); }
.timeline article p:last-child { color: var(--muted); font-size: 14px; }
.next-callout { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding: 20px; color: #365143; background: #eef9f4; border: 1px solid #c9eadc; border-radius: 12px; }

.reply-section { background: #fff9f7; }
.reply-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 22px; align-items: start; }
.reply-box { padding: 24px; background: #fff; border: 1px solid #efcac4; border-radius: 16px; box-shadow: 0 14px 34px rgba(157,36,22,.08); }
.reply-box p { color: #3d4857; }
.reply-actions { position: sticky; top: 96px; }
.reply-actions .button { width: 100%; }
.reply-actions p { margin-top: 12px; color: var(--muted); font-size: 12px; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px max(5vw,54px); color: #aeb8c6; background: var(--navy); font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand small { color: #8f9bad; }
footer p { margin: 0; }

@media (max-width: 1180px) {
  :root { --sidebar: 210px; }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { max-width: 760px; }
  .status-grid, .chat-grid { grid-template-columns: 1fr; }
  .campaign-flow { grid-template-columns: 1fr 1fr; }
  .campaign-flow > b { display: none; }
  .creative-strip { grid-template-columns: repeat(3,1fr); }
  .crm-layout { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline:before { display: none; }
  .test-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 122px; }
  .topbar { height: 66px; padding: 0 16px; }
  .topbar .status-pill { display: none; }
  .sidebar { display: none; }
  .mobile-nav { position: fixed; z-index: 90; top: 66px; left: 0; right: 0; display: flex; gap: 4px; padding: 8px 12px; overflow-x: auto; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
  .mobile-nav a { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700; }
  .mobile-nav a.active { color: #fff; background: var(--ink); }
  main, footer { margin-left: 0; }
  main { padding-top: 110px; }
  .hero, .section { padding-left: 22px; padding-right: 22px; }
  .hero { min-height: auto; padding-top: 64px; padding-bottom: 64px; gap: 34px; }
  h1 { font-size: clamp(40px,12vw,58px); }
  .hero-lead { font-size: 17px; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  .section-heading { display: grid; }
  .decision-card { grid-template-columns: 44px 1fr; }
  .decision-tag { grid-column: 2; justify-self: start; }
  .two-col, .media-grid, .ai-evidence, .capability-grid, .event-flow, .reply-layout { grid-template-columns: 1fr; }
  .website-grid .wide { grid-column: auto; }
  .screenshot-frame.website-shot { height: 330px; }
  .creative-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .creative-strip figure { flex: 0 0 66%; scroll-snap-align: start; }
  .reply-actions { position: static; }
  footer { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .hero-panel { padding: 24px; }
  .mini-flow { display: grid; grid-template-columns: 1fr; }
  .mini-flow b { transform: rotate(90deg); justify-self: center; }
  .status-grid { grid-template-columns: 1fr; }
  .campaign-flow { grid-template-columns: 1fr; }
  .creative-strip figure { flex-basis: 78%; }
  .screenshot-frame, .screenshot-frame.website-shot, .screenshot-frame.ai-shot, .screenshot-frame.crm-shot { height: 250px; }
  .timeline { grid-template-columns: 1fr; }
  .event-checklist, .test-grid { grid-template-columns: 1fr; }
  .next-callout { display: grid; }
}

@media print {
  .topbar, .sidebar, .mobile-nav, .hero-actions, .reply-actions { display: none !important; }
  main, footer { margin-left: 0; }
  main { padding-top: 0; }
  .hero, .section { padding: 36px; break-inside: auto; }
  .section, .shot-card, .decision-card, .status-card, .capability-card { box-shadow: none; }
  .section.dark { color: #000; background: #fff; }
  .section.dark .section-intro, .section.dark .muted-light, .section.dark .campaign-flow small { color: #555; }
  .campaign-flow > div, .dark-panel, .field-tags span { color: #000; background: #fff; border-color: #bbb; }
  footer { margin: 0; color: #333; background: #fff; border-top: 1px solid #ccc; }
}
