@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #dedede;
  --bg-soft: #ececea;
  --surface: rgba(255, 255, 252, 0.92);
  --surface-strong: #fffef9;
  --surface-line: rgba(16, 24, 32, 0.13);
  --surface-shadow: 0 38px 90px -42px rgba(18, 22, 27, 0.45), 0 16px 34px -26px rgba(18, 22, 27, 0.32);
  --component-shadow: 0 26px 52px -32px rgba(18, 22, 27, 0.42), 0 10px 22px -18px rgba(18, 22, 27, 0.32);
  --component-shadow-hover: 0 34px 70px -34px rgba(18, 22, 27, 0.48), 0 18px 32px -24px rgba(18, 22, 27, 0.34);
  --text: #12161b;
  --muted: #44515f;
  --muted-soft: #6f7a85;
  --signal: #0b9f13;
  --signal-deep: #067c0d;
  --signal-soft: rgba(11, 159, 19, 0.11);
  --warning: #cf7b00;
  --danger: #ec3b52;
  --grid: rgba(18, 22, 27, 0.08);
  --dot-grid: radial-gradient(circle at 1px 1px, rgba(18, 22, 27, 0.105) 1px, transparent 1.55px);
  --panel-bg:
    radial-gradient(circle at 1px 1px, rgba(18, 22, 27, 0.095) 1px, transparent 1.55px),
    linear-gradient(180deg, rgba(255, 255, 252, 0.96), rgba(250, 251, 247, 0.92));
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1240px;
  --display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  --body: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 50% 8%, rgba(11, 159, 19, 0.12), transparent 26%),
    radial-gradient(circle at 78% 46%, rgba(255, 255, 252, 0.42), transparent 24%),
    var(--dot-grid);
  background-size: auto, auto, 14px 14px;
}

main {
  width: min(calc(100% - 2rem), calc(var(--max) + 2.5rem));
  margin: 1rem auto 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: var(--signal-deep);
}

:focus-visible {
  outline: 3px solid rgba(11, 159, 19, 0.22);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  background: var(--surface-strong);
  border-radius: 999px;
  padding: 0.75rem 1rem;
}

.site-header,
.site-footer,
main section {
  padding-inline: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 50;
  width: min(calc(100% - 2rem), calc(var(--max) + 2.5rem));
  margin: 0.9rem auto 0;
  background: rgba(255, 255, 252, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(18, 22, 27, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 60px -42px rgba(18, 22, 27, 0.45);
}

.nav-wrap,
.section-wrap,
.footer-wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  transform: translateY(1px);
  filter: drop-shadow(0 5px 9px rgba(20, 31, 24, 0.1));
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
}

.brand-text {
  color: var(--text);
}

.brand-text span {
  color: var(--signal);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.nav-links a {
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: rgba(16, 24, 32, 0.12);
  background: rgba(246, 248, 242, 0.9);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 635px;
  padding-top: 3rem;
  padding-bottom: 2.2rem;
  overflow: hidden;
}

.page-hero {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.hero,
.page-hero,
.section {
  margin-bottom: 1.1rem;
  border: 1px solid rgba(18, 22, 27, 0.1);
  border-radius: 26px;
  background: var(--panel-bg);
  background-size: 12px 12px, auto;
  box-shadow: var(--surface-shadow);
}

.hero-grid,
.two-col,
.service-grid,
.card-grid,
.stats,
.tool-grid,
.cta-band {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  min-height: auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.84fr);
  align-items: center;
}

.hero-copy {
  grid-column: 1;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.hero-grid > .stats-strip {
  grid-column: 1;
  grid-row: 2;
}

.page-hero .section-wrap,
.section-wrap.flow {
  display: grid;
  gap: 1rem;
  justify-items: start;
  text-align: left;
}

.eyebrow,
.kicker,
.breadcrumbs,
.formula-title,
.metric-label,
.formula-line,
.line-label,
.code-line,
.readout-label,
.dial-label,
.stat-caption,
.tag-list li,
.footer-links a {
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  color: var(--signal);
  font-size: 0.83rem;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "/";
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-align: left;
}

h1 {
  font-size: 4rem;
  max-width: 17ch;
}

h2 {
  font-size: 3.65rem;
  max-width: 13ch;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.display-accent {
  display: inline;
  color: var(--signal);
  font-style: italic;
}

.display-muted {
  color: var(--muted-soft);
  font-style: italic;
}

p,
li {
  font-size: 1.04rem;
  color: var(--muted);
}

p {
  margin-top: 0;
}

.lead {
  font-size: 1.08rem;
  max-width: 58ch;
  text-align: left;
}

.muted {
  color: var(--muted-soft);
}

.hero-copy {
  display: grid;
  gap: 1rem;
  justify-items: start;
  text-align: left;
}

.hero-copy > * {
  margin-block: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  background: rgba(255, 255, 252, 0.72);
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--muted);
}

.status-pill::before,
.live-dot {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(11, 159, 19, 0.09);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.1rem;
  border-radius: 13px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.98rem;
  box-shadow: var(--component-shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button {
  background: var(--signal);
  border-color: var(--signal);
  color: #f7fff7;
  box-shadow: 0 20px 38px -22px rgba(11, 159, 19, 0.78), 0 10px 22px -18px rgba(18, 22, 27, 0.34);
}

.button-secondary {
  background: rgba(255, 255, 252, 0.92);
  color: var(--text);
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(16, 24, 32, 0.24);
  box-shadow: var(--component-shadow-hover);
}

.section {
  padding-top: 3.6rem;
  padding-bottom: 3.6rem;
}

.section-wrap > p.section-copy {
  max-width: 66ch;
}

.hero-visual,
.chart-shell,
.formula-shell,
.panel,
.card,
.quote,
.audit-box,
.faq-item,
.timeline-step,
.tool-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.96), rgba(248, 249, 244, 0.92)),
    var(--surface);
  border: 1px solid rgba(18, 22, 27, 0.11);
  border-radius: var(--radius);
  box-shadow: var(--component-shadow);
}

.panel,
.quote,
.audit-box,
.tool-shell,
.hero-visual,
.chart-shell,
.formula-shell {
  padding: 1.5rem;
}

.panel.compact {
  padding: 1rem 1.1rem;
}

.card,
.faq-item,
.timeline-step {
  padding: 1.35rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-grid,
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card ul,
.panel ul,
.timeline-step ul,
.faq-item ul {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
}

.card p:last-child,
.panel p:last-child,
.timeline-step p:last-child,
.faq-item p:last-child {
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(11, 159, 19, 0.12), transparent 42%),
    var(--panel-bg);
  background-size: auto, 12px 12px, auto;
  border: 1px solid rgba(18, 22, 27, 0.1);
  box-shadow: var(--component-shadow);
  backdrop-filter: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border-radius: 50%;
  border: 2px dashed rgba(18, 22, 27, 0.12);
}

.logo-hero {
  min-height: 450px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(11, 159, 19, 0.14), transparent 38%),
    var(--panel-bg);
  background-size: auto, 12px 12px, auto;
}

.logo-hero::before {
  inset: 10%;
  border-radius: 999px;
}

.hero-logo-mark {
  position: relative;
  z-index: 1;
  width: min(520px, 92%);
  height: auto;
  padding: clamp(0.5rem, 1vw, 0.8rem);
  border: 1px solid rgba(18, 22, 27, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.82);
  box-shadow: 0 34px 84px -38px rgba(18, 22, 27, 0.44), 0 14px 28px -22px rgba(18, 22, 27, 0.28);
  transform: rotate(-1deg);
}

.dial {
  position: relative;
  width: min(390px, 82%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 252, 0) 57%, rgba(18, 22, 27, 0.08) 58%, rgba(255, 255, 252, 0) 59%),
    conic-gradient(from -55deg, var(--warning) 0deg, #a19400 54deg, var(--signal) 145deg, #539600 270deg, var(--warning) 308deg, var(--warning) 360deg);
  box-shadow: inset 0 0 0 17px rgba(255, 255, 252, 0.95), 0 35px 90px rgba(20, 31, 24, 0.08);
}

.dial::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background: rgba(251, 250, 244, 0.96);
  border: 1px solid rgba(18, 22, 27, 0.06);
}

.dial-center {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 0.35rem;
}

.dial-label,
.metric-label,
.formula-title,
.line-label,
.readout-label {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.dial-score,
.score-large,
.score-inline {
  font-family: var(--display);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.dial-score {
  font-size: 5rem;
  color: var(--signal);
}

.dial-status {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.92rem;
}

.floating-note {
  position: absolute;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 252, 0.94);
  box-shadow: var(--component-shadow);
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--muted);
}

.floating-note strong {
  color: var(--signal);
}

.floating-note.warn strong {
  color: var(--warning);
}

.floating-note.success {
  background: rgba(235, 248, 234, 0.95);
  border-color: rgba(11, 159, 19, 0.24);
}

.note-top-left {
  top: 12%;
  left: 10%;
  transform: rotate(-4deg);
}

.note-top-right {
  top: 24%;
  right: -2%;
  transform: rotate(2deg);
}

.note-bottom-left {
  bottom: 18%;
  left: 18%;
  transform: rotate(-2deg);
}

.note-bottom-right {
  right: 2%;
  bottom: 12%;
  transform: rotate(4deg);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  background: rgba(255, 255, 252, 0.92);
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 16px;
  box-shadow: var(--component-shadow);
  overflow: hidden;
}

.stats-strip .stat {
  padding: 0.7rem 0.78rem;
  border-right: 1px solid rgba(16, 24, 32, 0.1);
}

.stats-strip .stat:last-child {
  border-right: 0;
}

.stat strong,
.score-large {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.45rem;
  color: var(--signal);
}

.stat-caption {
  font-size: 0.66rem;
  text-transform: uppercase;
  color: var(--muted);
}

.card,
.panel,
.timeline-step,
.quote,
.tool-shell,
.audit-box {
  backdrop-filter: blur(10px);
}

.card,
.panel,
.pillar-graphic,
.prompt-card,
.matrix-wrap,
.playbook-index,
.silo-graphic,
.data-graphic,
.extract-graphic,
.tool-shell,
.audit-box,
.faq-item,
.timeline-step,
.quote {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.panel:hover,
.prompt-card:hover,
.pillar-graphic:hover,
.tool-shell:hover,
.audit-box:hover,
.faq-item:hover,
.timeline-step:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 22, 27, 0.16);
  box-shadow: var(--component-shadow-hover);
}

.section-header {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  justify-items: start;
  text-align: left;
}

.section-header.two-up {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: start;
}

.chart-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: 0;
  overflow: hidden;
}

.chart-panel,
.chart-readout {
  padding: 1.6rem;
}

.chart-readout {
  border-left: 1px solid rgba(16, 24, 32, 0.12);
}

.chart-frame {
  position: relative;
  height: 290px;
  margin-top: 0.8rem;
  border-radius: 8px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 32px, rgba(72, 92, 112, 0.14) 32px 34px),
    linear-gradient(to bottom, rgba(255, 255, 252, 0.92), rgba(249, 250, 244, 0.82));
  overflow: hidden;
}

.line {
  position: absolute;
  inset: 0;
}

.line svg {
  width: 100%;
  height: 100%;
}

.line.green path {
  stroke: var(--signal);
}

.line.red path {
  stroke: var(--danger);
}

.line path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-label {
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  color: var(--signal);
  font-size: 0.82rem;
}

.threshold {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  top: 42%;
  border-top: 2px dashed rgba(236, 59, 82, 0.35);
}

.threshold span {
  position: absolute;
  left: 0;
  top: -0.95rem;
  color: var(--danger);
  font-family: var(--mono);
  font-size: 0.78rem;
  background: rgba(251, 250, 244, 0.95);
  padding-right: 0.4rem;
}

.readout-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.readout-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(16, 24, 32, 0.1);
}

.readout-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.readout-item code,
.formula-code,
.inline-code {
  font-family: var(--mono);
  font-size: 0.98rem;
}

code {
  font-family: var(--mono);
}

.delta {
  font-family: var(--mono);
  font-size: 0.84rem;
}

.delta.positive,
.status-ok {
  color: var(--signal);
}

.delta.negative,
.status-alert {
  color: var(--danger);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.9rem;
  padding: 0.18rem 0.45rem;
  border-radius: 0.32rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.pill.ok {
  background: rgba(11, 159, 19, 0.12);
  color: var(--signal);
}

.pill.alert {
  background: rgba(236, 59, 82, 0.12);
  color: var(--danger);
}

.formula-stack {
  display: grid;
  gap: 1rem;
}

.formula-shell {
  overflow: hidden;
  padding: 0;
}

.formula-head,
.formula-body,
.formula-foot {
  padding: 1rem 1.25rem;
}

.formula-head,
.formula-body {
  border-bottom: 1px solid rgba(16, 24, 32, 0.12);
}

.formula-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.fx {
  font-family: var(--mono);
  color: var(--signal);
}

.formula-code {
  font-size: 1.02rem;
  line-height: 1.55;
  color: #09131f;
}

.code-line {
  font-size: 0.95rem;
  color: var(--muted);
}

.code-line .signal {
  color: var(--signal);
}

.score-inline {
  font-size: 3.1rem;
  color: var(--signal);
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  align-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(235, 248, 234, 0.85), rgba(255, 255, 252, 0.82)),
    rgba(255, 255, 252, 0.74);
}

.quote {
  border-left: 4px solid var(--signal);
}

.quote p {
  font-size: 1.1rem;
}

.page-hero {
  padding-bottom: 1rem;
}

.breadcrumbs {
  color: var(--muted-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.faq {
  display: grid;
  gap: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.72);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-step {
  position: relative;
  padding-left: 1.6rem;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 1px;
  background: rgba(16, 24, 32, 0.12);
}

.timeline-step h3::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--signal);
  vertical-align: middle;
}

.site-footer {
  width: min(calc(100% - 2rem), calc(var(--max) + 2.5rem));
  margin: 1rem auto 2rem;
  padding-top: 1.6rem;
  padding-bottom: 2.5rem;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.92);
  box-shadow: var(--surface-shadow);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-links a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted-soft);
}

.tool-shell {
  min-height: 100%;
}

.tool-shell form {
  display: grid;
  gap: 0.85rem;
}

.tool-shell label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tool-shell input,
.tool-shell select,
.tool-shell textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.95);
  font: inherit;
  color: var(--text);
}

.tool-shell small {
  color: var(--muted-soft);
}

.tldr-box {
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(11, 159, 19, 0.22);
  border-left: 4px solid var(--signal);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 1px 1px, rgba(11, 159, 19, 0.12) 1px, transparent 1.55px),
    rgba(244, 252, 243, 0.9);
  background-size: 12px 12px, auto;
  box-shadow: var(--component-shadow);
}

.tldr-box p {
  margin-bottom: 0;
  color: var(--text);
}

.matrix-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(18, 22, 27, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.96), rgba(248, 249, 244, 0.92)),
    rgba(255, 255, 252, 0.9);
  box-shadow: var(--component-shadow);
}

.matrix {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.matrix th,
.matrix td {
  padding: 1rem;
  border-bottom: 1px solid rgba(16, 24, 32, 0.11);
  text-align: left;
  vertical-align: top;
}

.matrix th {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  background: rgba(238, 241, 234, 0.92);
}

.matrix td {
  color: var(--muted);
}

.matrix td:first-child {
  color: var(--text);
  font-weight: 650;
}

.matrix tr:last-child td {
  border-bottom: 0;
}

.pillar-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 2rem;
  text-align: left;
}

.pillar-copy {
  display: grid;
  gap: 1rem;
  justify-items: start;
  text-align: left;
}

.pillar-copy > * {
  margin-block: 0;
}

.pillar-graphic {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid rgba(18, 22, 27, 0.11);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 1px 1px, rgba(18, 22, 27, 0.08) 1px, transparent 1.55px),
    linear-gradient(135deg, rgba(255, 255, 252, 0.97), rgba(247, 250, 243, 0.9));
  background-size: 12px 12px, auto;
  box-shadow: var(--component-shadow);
}

.pillar-graphic-head,
.mini-label {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar-graphic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-label {
  color: var(--signal);
  font-size: 0.68rem;
}

.graphic-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 252, 0.92);
  box-shadow: 0 16px 30px -26px rgba(18, 22, 27, 0.34);
}

.graphic-row strong,
.pipeline-step strong,
.map-node strong {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.graphic-row span:not(.mini-label):not(.pill),
.pipeline-step span,
.map-node span {
  color: var(--muted);
  font-size: 0.88rem;
}

.index-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding: 0.55rem;
  border-radius: 8px;
  background: rgba(11, 159, 19, 0.08);
}

.index-meter span {
  height: 0.45rem;
  border-radius: 999px;
  background: var(--signal);
}

.index-meter span:nth-child(2) {
  opacity: 0.78;
}

.index-meter span:nth-child(3) {
  opacity: 0.56;
}

.index-meter span:nth-child(4) {
  opacity: 0.34;
}

.learning-map,
.conversion-pipeline {
  display: grid;
  gap: 0.7rem;
}

.map-node,
.pipeline-step {
  position: relative;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 252, 0.93);
  box-shadow: 0 16px 30px -26px rgba(18, 22, 27, 0.34);
}

.map-node::before,
.pipeline-step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 3px;
  border-radius: 999px;
  background: var(--signal);
}

.link-thread,
.pipeline-arrow {
  width: 2px;
  min-height: 24px;
  justify-self: center;
  background: linear-gradient(180deg, rgba(11, 159, 19, 0.12), var(--signal));
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.feature-panel .matrix-wrap,
.feature-panel .pillar-graphic {
  min-height: 100%;
}

.answer-box {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.answer-box > * {
  margin-block: 0;
}

.playbook-index {
  position: sticky;
  top: 84px;
  z-index: 20;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.8rem;
  border: 1px solid rgba(18, 22, 27, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.94);
  box-shadow: var(--component-shadow);
  scrollbar-width: thin;
}

.playbook-index a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 0.8rem;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 999px;
  background: rgba(246, 247, 241, 0.92);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
}

.playbook-index a span,
.phase-day,
.work-id,
.impact-chip,
.prompt-details summary {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.playbook-index a span {
  color: var(--signal);
  font-size: 0.72rem;
}

.playbook-index a:hover,
.playbook-index a:focus-visible {
  border-color: rgba(11, 159, 19, 0.26);
  background: var(--signal-soft);
  color: var(--text);
}

.playbook-phase {
  scroll-margin-top: 120px;
}

.phase-day {
  justify-self: end;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.94);
  box-shadow: 0 14px 28px -24px rgba(18, 22, 27, 0.38);
  color: var(--muted);
  font-size: 0.72rem;
}

.prompt-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

.prompt-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prompt-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 1.1rem;
  border: 1px solid rgba(18, 22, 27, 0.11);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 1px 1px, rgba(18, 22, 27, 0.08) 1px, transparent 1.55px),
    linear-gradient(135deg, rgba(255, 255, 252, 0.98), rgba(247, 250, 243, 0.92));
  background-size: 12px 12px, auto;
  box-shadow: var(--component-shadow);
  scroll-margin-top: 124px;
}

.prompt-card > * {
  margin-block: 0;
}

.prompt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.work-id {
  color: var(--signal);
  font-size: 0.72rem;
}

.impact-chip {
  padding: 0.36rem 0.55rem;
  border-radius: 999px;
  background: rgba(11, 159, 19, 0.1);
  color: var(--signal-deep);
  font-size: 0.63rem;
  white-space: nowrap;
}

.impact-chip.high {
  background: var(--signal);
  color: #fff;
}

.impact-chip.medium {
  background: rgba(11, 159, 19, 0.1);
  color: var(--signal-deep);
}

.impact-chip.run-once {
  background: rgba(207, 123, 0, 0.12);
  color: var(--warning);
}

.answer-list {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.15rem;
  margin: 0;
}

.answer-list li {
  font-size: 0.96rem;
}

.answer-list strong {
  color: var(--text);
}

.prompt-details {
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 252, 0.86);
}

.prompt-details summary {
  cursor: pointer;
  padding: 0.8rem 0.9rem;
  color: var(--text);
  font-size: 0.72rem;
  list-style-position: inside;
}

.prompt-details summary:hover {
  color: var(--signal-deep);
}

.prompt-details pre {
  max-height: 430px;
  margin: 0;
  overflow: auto;
  padding: 0.95rem;
  border-top: 1px solid rgba(16, 24, 32, 0.1);
  background: #101a16;
  color: #eaf5e6;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.silo-graphic,
.data-graphic,
.extract-graphic {
  background:
    radial-gradient(circle at 1px 1px, rgba(18, 22, 27, 0.08) 1px, transparent 1.55px),
    linear-gradient(135deg, rgba(255, 255, 252, 0.96), rgba(247, 250, 243, 0.9));
  background-size: 12px 12px, auto;
  border: 1px solid rgba(18, 22, 27, 0.11);
  border-radius: var(--radius);
  box-shadow: var(--component-shadow);
}

.silo-graphic {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) 42px minmax(230px, 1.1fr) 42px minmax(230px, 1.1fr) 42px minmax(190px, 0.9fr);
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem;
  overflow: hidden;
}

.silo-column,
.silo-column.stacked {
  display: grid;
  gap: 0.85rem;
}

.silo-node,
.schema-table,
.extract-card {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.9);
}

.silo-node::before,
.schema-table::before,
.extract-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-left: 3px solid var(--signal);
  pointer-events: none;
}

.silo-node strong,
.schema-table strong {
  display: block;
  margin: 0.25rem 0 0.4rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.silo-node p,
.extract-card p,
.data-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hub-node {
  background: rgba(244, 252, 243, 0.9);
}

.service-node {
  background: rgba(247, 248, 240, 0.95);
}

.node-label,
.graphic-head {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.node-label {
  display: inline-block;
  color: var(--signal);
  font-size: 0.72rem;
}

.route-flow {
  position: relative;
  min-height: 3px;
  background: linear-gradient(90deg, rgba(11, 159, 19, 0.15), var(--signal));
}

.route-flow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--signal);
  border-right: 2px solid var(--signal);
  transform: translateY(-50%) rotate(45deg);
}

.feature-graphics {
  align-items: stretch;
}

.data-graphic,
.extract-graphic {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.graphic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.schema-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.schema-table {
  display: grid;
  gap: 0.35rem;
}

.schema-table span {
  display: block;
  padding: 0.28rem 0;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.extract-card {
  display: grid;
  gap: 0.35rem;
}

.data-caption {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(16, 24, 32, 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .chart-shell,
  .silo-graphic,
  .pillar-hero,
  .feature-panel,
  .prompt-grid,
  .timeline-grid,
  .section-header.two-up,
  .tool-grid,
  .two-col,
  .service-grid,
  .card-grid,
  .stats,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .silo-graphic {
    align-items: stretch;
  }

  .route-flow {
    width: 3px;
    min-height: 28px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(11, 159, 19, 0.15), var(--signal));
  }

  .route-flow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }

  .schema-grid {
    grid-template-columns: 1fr;
  }

  .phase-day {
    justify-self: start;
  }

  .pillar-graphic {
    order: -1;
  }

  .hero {
    min-height: auto;
    padding-top: 3.6rem;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy,
  .hero-visual,
  .hero-grid > .stats-strip {
    grid-column: auto;
    grid-row: auto;
  }

  .chart-readout {
    border-left: 0;
    border-top: 1px solid rgba(16, 24, 32, 0.12);
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .silo-graphic,
  .data-graphic,
  .extract-graphic {
    padding: 1rem;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero {
    min-height: 720px;
    padding-top: 3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
    align-items: center;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 390px;
  }

  .hero-grid > .stats-strip {
    grid-column: 1;
    grid-row: 2;
  }

  .dial {
    width: min(320px, 78%);
  }

  .dial-score {
    font-size: 4.1rem;
  }

  h1 {
    font-size: 3rem;
    max-width: 14ch;
  }

  .hero-copy .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-grid > .stats-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-grid > .stats-strip .stat {
    padding: 0.58rem 0.5rem;
  }

  .hero-grid > .stats-strip .stat-caption {
    font-size: 0.58rem;
  }

  .schema-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  main,
  .site-header,
  .site-footer {
    width: min(calc(100% - 0.8rem), calc(var(--max) + 2.5rem));
  }

  .site-header {
    top: 0.4rem;
    margin-top: 0.4rem;
    border-radius: 16px;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0 0.85rem;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 0.35rem;
  }

  .nav-links a {
    padding: 0.45rem 0.35rem;
    text-align: center;
    font-size: 0.88rem;
  }

  .hero,
  .page-hero {
    padding-top: 2rem;
  }

  h1 {
    max-width: 100%;
    font-size: 3.1rem;
  }

  h2 {
    max-width: 100%;
    font-size: 2.35rem;
  }

  .hero-visual {
    min-height: 330px;
    padding-inline: 0;
  }

  .floating-note {
    font-size: 0.68rem;
    padding: 0.55rem 0.65rem;
  }

  .dial {
    width: min(280px, 76vw);
  }

  .dial-score {
    font-size: 3.7rem;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-strip .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 24, 32, 0.1);
  }

  .stats-strip .stat:last-child {
    border-bottom: 0;
  }
}

/* Lovable-inspired quiet citation system */
:root {
  --bg: #f8f9fb;
  --bg-soft: #f3f5f6;
  --surface: #fff;
  --surface-strong: #fff;
  --surface-line: #e3e5e8;
  --surface-shadow: none;
  --component-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 30px -14px rgba(15,22,32,.22), 0 40px 60px -28px rgba(15,22,32,.18);
  --component-shadow-hover: inset 0 1px 0 rgba(255,255,255,.94), 0 24px 38px -16px rgba(15,22,32,.24), 0 46px 70px -30px rgba(15,22,32,.2);
  --text: #151824;
  --muted: #616772;
  --muted-soft: #777b85;
  --signal: #0b9f13;
  --signal-deep: #067c0d;
  --signal-soft: #eaf7eb;
  --grid: rgba(21,24,36,.08);
  --dot-grid: radial-gradient(circle at 1px 1px, rgba(21,24,36,.12) 1px, transparent 1.25px);
  --panel-bg: #fff;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --editorial: "Instrument Serif", Georgia, serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: relative;
  top: auto;
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-wrap { min-height: 78px; }

.brand {
  gap: .55rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.brand-icon {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  filter: none;
}

.nav-links { align-items: center; gap: .2rem; }

.nav-links a {
  padding: .55rem .85rem;
  border: 0;
  color: var(--muted-soft);
  font-size: .875rem;
  font-weight: 500;
}

.nav-links a[aria-current="page"],
.nav-links a:hover,
.nav-links a:focus-visible {
  border: 0;
  background: transparent;
  color: var(--text);
}

.nav-links a:last-child {
  margin-left: .35rem;
  padding: .58rem 1rem;
  border: 1px solid var(--surface-line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 10px 20px -10px rgba(15,22,32,.22), 0 2px 4px -1px rgba(15,22,32,.08);
}

.hero,
.page-hero,
.section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 710px;
  margin-bottom: 0;
  padding: 7.25rem 1.5rem 2rem;
  border: 1px solid var(--surface-line);
  border-radius: 26px;
  background-color: rgba(255,255,255,.82);
  background-image: var(--dot-grid);
  background-size: 16px 16px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 15% 22%;
  background: radial-gradient(circle, rgba(11,159,19,.1), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: flex;
  min-height: 570px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: grid;
  max-width: 920px;
  justify-items: center;
}

.hero h1 {
  max-width: 980px;
  margin: 1.15rem auto 1.35rem;
  font-size: clamp(3.65rem, 7vw, 5.65rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.047em;
  text-wrap: balance;
}

.hero .display-accent,
.display-accent,
.display-muted {
  display: block;
  color: var(--muted-soft);
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero .lead {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
  text-align: center;
}

.status-pill {
  border-color: var(--surface-line);
  background: rgba(255,255,255,.88);
  color: var(--muted);
  box-shadow: 0 8px 20px -16px rgba(15,22,32,.3);
}

.eyebrow,
.kicker,
.breadcrumbs,
.node-label,
.mini-label,
.work-id {
  color: var(--signal-deep);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero .eyebrow { display: none; }
.button-row { justify-content: center; gap: .75rem; }

.button,
.button-secondary {
  min-height: 46px;
  padding: .78rem 1.35rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 10px 20px -10px rgba(15,22,32,.22), 0 2px 4px -1px rgba(15,22,32,.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button { border-color: var(--signal); background: var(--signal); }
.button:hover,
.button:focus-visible {
  background: var(--signal-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -11px rgba(6,124,13,.42), 0 3px 5px -2px rgba(15,22,32,.12);
}

.button-secondary {
  border-color: var(--surface-line);
  background: #fff;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #fff;
  color: var(--signal-deep);
  transform: translateY(-2px);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  min-height: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  pointer-events: none;
}

.logo-hero { display: block; }

.hero-logo-mark {
  position: absolute;
  top: -3.25rem;
  left: 50%;
  width: min(260px, 34vw);
  transform: translateX(-50%);
  filter: drop-shadow(0 15px 22px rgba(15,22,32,.1));
}

.floating-note {
  padding: .95rem 1rem;
  border-color: var(--surface-line);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  color: var(--muted);
  text-align: left;
  box-shadow: var(--component-shadow);
}

.floating-note::before { background: var(--signal); }
.note-top-left { top: 3.25rem; left: 1.5rem; transform: rotate(-4deg); }
.note-top-right { top: 2.1rem; right: 1.5rem; transform: rotate(5deg); }
.note-bottom-left { bottom: 2.5rem; left: 1.4rem; transform: rotate(3deg); }
.note-bottom-right { right: 1.4rem; bottom: 2.5rem; transform: rotate(-4deg); }

.hero-grid > .stats-strip {
  position: absolute;
  right: 0;
  bottom: -8.75rem;
  left: 0;
  z-index: 5;
}

.stats-strip,
.stats {
  border: 1px solid var(--surface-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.stat {
  min-height: 130px;
  padding: 1.45rem;
  border-right-color: var(--surface-line);
  text-align: left;
}

.stat strong {
  color: var(--text);
  font-family: var(--body);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.05em;
}

.stat-caption { color: var(--muted-soft); font-size: .66rem; }

.section {
  margin-bottom: 0;
  padding: 8rem 0;
}

.hero + .section { padding-top: 12rem; }
.section + .section { border-top: 1px solid var(--surface-line); }
.section-header { margin-bottom: 3rem; }

.section-header.two-up {
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
}

h1, h2, h3 { color: var(--text); font-family: var(--display); }
h2 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5.25vw, 4.8rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.047em;
}

h3 { font-weight: 800; letter-spacing: -.035em; }
.lead { color: var(--muted); font-size: 1.05rem; }
.card-grid, .service-grid { gap: 1rem; }

.card,
.panel,
.data-graphic,
.extract-graphic,
.tool-shell,
.tldr-box,
.prompt-card,
.pillar-graphic,
.feature-panel,
.silo-node,
.map-node,
.pipeline-step,
.timeline-step {
  border: 1px solid var(--surface-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--component-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover,
.panel:hover,
.data-graphic:hover,
.extract-graphic:hover,
.prompt-card:hover,
.silo-node:hover,
.map-node:hover,
.pipeline-step:hover,
.timeline-step:hover {
  border-color: rgba(11,159,19,.25);
  transform: translateY(-4px);
  box-shadow: var(--component-shadow-hover);
}

.card { padding: 1.5rem; }
.card a, .panel a { text-decoration-color: rgba(11,159,19,.28); }
.pill.ok, .impact-chip.high { background: var(--signal-soft); color: var(--signal-deep); }

.page-hero {
  margin-bottom: 0;
  padding: 6rem 1.5rem;
  border: 1px solid var(--surface-line);
  border-radius: 26px;
  background-color: rgba(255,255,255,.84);
  background-image: var(--dot-grid);
  background-size: 16px 16px;
}

.page-hero .section-wrap { max-width: 940px; }
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3.25rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.05em;
}

.page-hero .lead { max-width: 760px; }

.cta-band {
  border: 1px solid var(--surface-line);
  border-radius: 26px;
  background-color: #fff;
  background-image: var(--dot-grid);
  background-size: 16px 16px;
  box-shadow: var(--component-shadow);
}

.site-footer {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--surface-line);
  background: transparent;
}

.inline-code, code { color: var(--signal-deep); }
table, .matrix { border-color: var(--surface-line); background: #fff; }

@media (max-width: 900px) {
  .hero { min-height: 680px; padding-top: 8rem; }
  .hero-logo-mark { top: -5.5rem; }
  .floating-note { opacity: .82; }
  .note-top-left, .note-bottom-left { left: -1rem; }
  .note-top-right, .note-bottom-right { right: -1rem; }
  .hero-grid > .stats-strip { bottom: -9.5rem; }
  .section-header.two-up { align-items: start; }
  .pillar-graphic { order: initial; }
}

@media (max-width: 720px) {
  main, .site-header, .site-footer { width: min(calc(100% - 1.25rem), var(--max)); }
  .nav-wrap { min-height: 68px; flex-direction: row; align-items: center; padding: 0; }
  .nav-links { display: flex; width: auto; gap: 0; }
  .nav-links a { padding: .45rem .5rem; font-size: .76rem; }
  .nav-links a:first-child { display: none; }
  .nav-links a:last-child { margin-left: .1rem; padding-inline: .75rem; }
  .brand-text { font-size: .94rem; }
  .hero { min-height: 660px; padding: 7rem 1rem 2rem; border-radius: 20px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero .lead { font-size: .95rem; }
  .floating-note { display: none; }
  .hero-logo-mark { top: -4rem; width: 210px; }
  .hero-grid > .stats-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 4;
    width: 100%;
    margin-top: 2rem;
  }
  .stats-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat { min-height: 104px; padding: 1rem; }
  .hero + .section, .section { padding: 5.5rem 0; }
  h2 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .page-hero { padding: 4.5rem 1rem; border-radius: 20px; }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .card, .panel, .data-graphic, .extract-graphic, .prompt-card, .pillar-graphic, .feature-panel, .silo-node, .map-node, .pipeline-step, .timeline-step { border-radius: 18px; }
}

.tools-feature-section {
  padding-top: 5.5rem;
}

.featured-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--surface-line);
  border-radius: 26px;
  background-color: #fff;
  background-image: var(--dot-grid);
  background-size: 16px 16px;
  box-shadow: var(--component-shadow);
}

.featured-tool-copy h2 {
  margin-block: .75rem 1.25rem;
}

.featured-tool-copy .lead {
  max-width: 690px;
}

.featured-tool-copy .answer-list {
  margin-block: 1.5rem 1.75rem;
}

.featured-tool-copy .button-row {
  justify-content: flex-start;
}

.featured-tool-visual {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--surface-line);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--component-shadow);
  transform: rotate(1.2deg);
}

.featured-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .25rem .25rem .75rem;
  color: var(--muted-soft);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.featured-tool-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .8rem;
  align-items: center;
  padding: .95rem;
  border: 1px solid var(--surface-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 22px -18px rgba(15,22,32,.35);
}

.featured-tool-step > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--signal-soft);
  color: var(--signal-deep);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
}

.featured-tool-step div {
  display: grid;
  gap: .08rem;
}

.featured-tool-step strong {
  letter-spacing: -.02em;
}

.featured-tool-step small {
  color: var(--muted-soft);
  font-size: .76rem;
}

.prompt-copy-button {
  margin: .85rem 1rem 0;
  padding: .66rem 1rem;
  border: 1px solid var(--signal);
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font: 700 .78rem/1 var(--body);
  cursor: pointer;
  box-shadow: 0 10px 20px -12px rgba(6,124,13,.45);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.prompt-copy-button:hover,
.prompt-copy-button:focus-visible {
  background: var(--signal-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -12px rgba(6,124,13,.5);
}

.prompt-copy-button.is-copied {
  background: var(--text);
  border-color: var(--text);
}

@media (max-width: 900px) {
  .featured-tool {
    grid-template-columns: 1fr;
  }

  .featured-tool-visual {
    transform: none;
  }
}

@media (max-width: 720px) {
  .tools-feature-section {
    padding-top: 4rem;
  }

  .featured-tool {
    padding: 1.15rem;
    border-radius: 20px;
  }

  .featured-tool-copy .button-row {
    align-items: stretch;
  }

  .featured-tool-copy .button,
  .featured-tool-copy .button-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Production polish pass */
:root {
  --canvas: #e8e8e8;
  --shell: 1380px;
  --max: 1160px;
  --surface-line: #e4e6e8;
  --muted: #5f646d;
  --muted-soft: #7b8088;
  --component-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 12px 24px -18px rgba(15,22,32,.2), 0 28px 52px -36px rgba(15,22,32,.16);
  --component-shadow-hover: inset 0 1px 0 rgba(255,255,255,.96), 0 16px 30px -20px rgba(15,22,32,.22), 0 34px 60px -38px rgba(15,22,32,.18);
}

html,
body {
  background: var(--canvas);
}

body {
  min-width: 320px;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2.5rem), var(--shell));
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  margin-top: 1.5rem;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid var(--surface-line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 -1px 0 rgba(255,255,255,.7), 0 18px 45px -36px rgba(15,22,32,.3);
  backdrop-filter: blur(18px) saturate(130%);
}

main {
  margin: 0 auto;
  padding: 0 clamp(.75rem, 2vw, 1.5rem);
  border-inline: 1px solid var(--surface-line);
}

.site-footer {
  margin: 0 auto 1.5rem;
  padding: 2.5rem clamp(1rem, 2.5vw, 2rem) 3rem;
  border: 1px solid var(--surface-line);
  border-radius: 0 0 24px 24px;
}

.nav-wrap { min-height: 72px; }
.brand-icon { width: 1.9rem; height: 1.9rem; }
.nav-links { gap: .1rem; }
.nav-links a { padding: .52rem .78rem; font-size: .84rem; }

.nav-links a:last-child {
  margin-left: .55rem;
  padding: .62rem 1.05rem;
  box-shadow: 0 8px 18px -13px rgba(15,22,32,.3);
}

.hero,
.page-hero { border-radius: 22px; }

.hero {
  min-height: 650px;
  padding: 6.35rem 1.5rem 2rem;
}

.hero-grid { min-height: 520px; }

.hero h1 {
  max-width: 880px;
  font-size: clamp(3.5rem, 6.35vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.hero .lead {
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-logo-mark {
  width: min(230px, 30vw);
  border: 1px solid rgba(21,24,36,.08);
  border-radius: 18px;
  box-shadow: 0 16px 34px -26px rgba(15,22,32,.28);
  filter: none;
}

.floating-note {
  max-width: 154px;
  padding: .78rem .85rem;
  border-radius: 14px;
  font-size: .72rem;
  box-shadow: 0 14px 28px -22px rgba(15,22,32,.32);
}

.note-top-left { transform: rotate(-2deg); }
.note-top-right { transform: rotate(2deg); }
.note-bottom-left { transform: rotate(1.5deg); }
.note-bottom-right { transform: rotate(-1.5deg); }

.button,
.button-secondary {
  min-height: 44px;
  padding: .72rem 1.2rem;
  font-size: .84rem;
  box-shadow: 0 8px 18px -13px rgba(15,22,32,.3);
}

.button:hover,
.button:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible { transform: translateY(-1px); }

.stats-strip,
.stats { border-radius: 20px; }
.stat { min-height: 116px; padding: 1.25rem; }
.stat strong { font-size: 1.75rem; }

.section { padding: 6.5rem 0; }
.hero + .section { padding-top: 10rem; }
.section-header { margin-bottom: 2.5rem; }
.section-header.two-up { gap: clamp(2rem, 5vw, 5.5rem); }

h2 {
  max-width: 700px;
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h3 { line-height: 1.18; }
p, li { text-wrap: pretty; }
.lead { font-size: 1rem; line-height: 1.7; }

.card-grid,
.service-grid,
.prompt-grid,
.timeline-grid { gap: .9rem; }

.card,
.panel,
.data-graphic,
.extract-graphic,
.tool-shell,
.tldr-box,
.prompt-card,
.pillar-graphic,
.feature-panel,
.silo-node,
.map-node,
.pipeline-step,
.timeline-step,
.featured-tool,
.featured-tool-visual {
  border-radius: 18px;
  box-shadow: var(--component-shadow);
}

.card:hover,
.panel:hover,
.data-graphic:hover,
.extract-graphic:hover,
.prompt-card:hover,
.silo-node:hover,
.map-node:hover,
.pipeline-step:hover,
.timeline-step:hover { transform: translateY(-2px); }

.card { padding: 1.35rem; }
.card p:last-child,
.panel p:last-child { margin-bottom: 0; }

.page-hero {
  padding: clamp(4rem, 7vw, 5.5rem) clamp(1.1rem, 3vw, 2.5rem);
}

.page-hero .section-wrap { max-width: 1040px; }

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5.7vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.047em;
  text-wrap: balance;
}

.pillar-hero { gap: clamp(2rem, 5vw, 4.5rem); }

.pillar-graphic,
.feature-panel,
.featured-tool {
  background-color: rgba(255,255,255,.96);
  background-image: linear-gradient(rgba(21,24,36,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(21,24,36,.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

.graphic-row,
.map-node,
.pipeline-step,
.featured-tool-step {
  border-radius: 14px;
  box-shadow: 0 10px 22px -19px rgba(15,22,32,.28);
}

.matrix-wrap { border-radius: 16px; overflow: hidden; }
.matrix th { background: #f7f8f8; color: #565b63; font-size: .68rem; }
.matrix td { padding-block: .9rem; }

.cta-band {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 20px;
  box-shadow: var(--component-shadow);
}

.prompt-details { border-radius: 14px; }
.prompt-details summary { padding: .82rem .95rem; }
.prompt-details pre { max-height: 360px; }

.nested-section {
  padding-block: 2.25rem 0;
}

.featured-tool {
  padding: clamp(1.5rem, 3.5vw, 3rem);
  gap: clamp(2rem, 4vw, 4rem);
}

.featured-tool-visual { transform: none; }

@media (max-width: 900px) {
  .site-header,
  main,
  .site-footer { width: min(calc(100% - 1.25rem), var(--shell)); }
  .hero { min-height: 620px; padding-top: 7rem; }
  .hero-grid { min-height: 500px; }
  .section { padding: 5.5rem 0; }
}

@media (max-width: 720px) {
  .site-header { margin-top: .6rem; border-radius: 16px 16px 0 0; }
  main { padding-inline: .45rem; }
  .site-footer { margin-bottom: .6rem; border-radius: 0 0 16px 16px; }
  .nav-wrap { min-height: 64px; }
  .nav-links a { padding: .42rem .42rem; font-size: .72rem; }
  .nav-links a:last-child { margin-left: .05rem; padding-inline: .68rem; }
  .hero { min-height: 620px; padding: 6.5rem .85rem 1.5rem; border-radius: 16px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 3.85rem); line-height: .98; }
  .hero-logo-mark { width: 190px; border-radius: 14px; }
  .hero + .section,
  .section { padding: 4.75rem 0; }
  h2 { font-size: clamp(2.25rem, 10vw, 3.15rem); }
  .page-hero { padding: 3.75rem .95rem; border-radius: 16px; }
  .page-hero h1 { font-size: clamp(2.5rem, 11vw, 3.45rem); }
  .featured-tool,
  .cta-band { border-radius: 16px; }
}

:root {
  --bg: #f7f8fa;
  --bg-soft: #f2f4f6;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-line: rgba(20, 25, 36, 0.09);
  --surface-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 18px 30px -14px rgba(20, 29, 48, 0.22), 0 40px 60px -28px rgba(20, 29, 48, 0.18);
  --component-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 14px 28px -16px rgba(20, 29, 48, 0.2), 0 30px 50px -30px rgba(20, 29, 48, 0.17);
  --component-shadow-hover: 0 1px 0 rgba(255, 255, 255, 0.96) inset, 0 22px 34px -17px rgba(20, 29, 48, 0.24), 0 45px 66px -30px rgba(20, 29, 48, 0.2);
  --text: #171b25;
  --muted: #6c7380;
  --muted-soft: #8b929d;
  --signal: #08b916;
  --signal-deep: #078f12;
  --signal-soft: rgba(8, 185, 22, 0.1);
  --warning: #eea516;
  --danger: #e94961;
  --grid: rgba(20, 25, 36, 0.075);
  --dot-grid: radial-gradient(circle at 1px 1px, rgba(20, 25, 36, 0.11) 1px, transparent 1.2px);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
  --shell: 1400px;
  --display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

body {
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}

main {
  width: 100%;
  margin: 0;
}

h1,
h2,
h3,
.brand {
  font-family: var(--display);
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.055em;
}

.display-accent,
.display-muted,
h1 em,
h2 em {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.site-header {
  position: relative;
  top: auto;
  z-index: 50;
  width: 100%;
  margin: 0;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-wrap {
  width: min(100%, var(--max));
  min-height: 78px;
}

.brand {
  gap: 0.42rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-icon {
  width: 1.75rem;
  height: 1.75rem;
  filter: none;
}

.nav-links {
  gap: 1.45rem;
}

.nav-links a {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-links a[aria-current="page"],
.nav-links a:hover,
.nav-links a:focus-visible {
  border: 0;
  background: transparent;
  color: var(--text);
}

.button,
.button-secondary,
.prompt-copy-button,
.prompt-share-button {
  min-height: 44px;
  padding: 0.78rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 20px -14px rgba(18, 24, 38, 0.45);
}

.button {
  background: var(--signal);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  background: var(--signal-deep);
  color: #fff;
}

.button-secondary {
  border-color: var(--surface-line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(20, 25, 36, 0.18);
  background: #fff;
  color: var(--text);
}

.card,
.panel,
.data-graphic,
.extract-graphic,
.prompt-card,
.pillar-graphic,
.silo-node,
.map-node,
.pipeline-step,
.timeline-step,
.audit-box {
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--component-shadow);
}

.card:hover,
.panel:hover,
.data-graphic:hover,
.extract-graphic:hover,
.prompt-card:hover,
.silo-node:hover,
.map-node:hover,
.pipeline-step:hover,
.timeline-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--component-shadow-hover);
}

.eyebrow,
.kicker,
.micro-label,
.metric-label,
.work-id,
.phase-day,
.micro-status,
.micro-meta,
.lv-capability-card small,
.lv-pillars span,
.lv-playbook-copy > small,
.lv-early-form small {
  color: var(--muted-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0 2rem 2rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-wrap {
  width: min(100%, var(--max));
  color: var(--muted-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lovable-home {
  overflow-x: hidden;
}

.lv-main {
  padding-bottom: 0;
}

.lv-header .nav-wrap {
  position: relative;
}

.lv-nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.lv-nav-center a:last-child {
  margin-left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lv-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lv-text-link {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.button-compact {
  min-height: 38px;
  padding: 0.65rem 1rem;
  border-color: var(--surface-line);
  background: #fff;
  color: var(--text);
  box-shadow: 0 9px 17px -14px rgba(20, 25, 36, 0.5);
}

.button-compact:hover,
.button-compact:focus-visible {
  background: var(--signal);
  color: #fff;
}

.lv-hero-section {
  position: relative;
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
}

.dot-field {
  background-color: rgba(255, 255, 255, 0.72);
  background-image: var(--dot-grid);
  background-size: 14px 14px;
}

.lv-hero-shell {
  position: relative;
  display: grid;
  min-height: 640px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  border-radius: 28px;
}

.lv-hero-shell::before {
  position: absolute;
  inset: 15% 23%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 185, 22, 0.07), transparent 66%);
  content: "";
  filter: blur(18px);
}

.lv-hero-copy {
  position: relative;
  z-index: 5;
  width: min(650px, calc(100% - 2rem));
  text-align: center;
}

.lv-agent-chip {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  place-items: center;
  border: 1px solid var(--surface-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--component-shadow);
}

.lv-agent-chip img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.3rem;
  padding: 0.48rem 0.74rem;
  border: 1px solid var(--surface-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-pill span {
  color: var(--signal);
}

.lv-hero-copy h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 5.8rem);
  line-height: 0.95;
  text-wrap: balance;
}

.lv-hero-copy h1 em {
  display: block;
}

.lv-hero-lead {
  max-width: 580px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lv-button-row {
  justify-content: center;
  margin-top: 1.6rem;
}

.lv-float-card {
  position: absolute;
  z-index: 4;
  border: 1px solid var(--surface-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--surface-shadow);
}

.lv-note-card {
  top: 8%;
  left: 4%;
  width: 245px;
  padding: 1.25rem 1.4rem;
  transform: rotate(-7deg);
  background: #fff0a8;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.3;
}

.lv-note-card p {
  margin: 0;
}

.lv-pin {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #242a34;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.lv-check {
  position: absolute;
  right: -14px;
  bottom: -12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  font-family: var(--body);
  font-style: normal;
  font-weight: 800;
}

.lv-citation-card {
  top: 7%;
  right: 3.5%;
  width: 275px;
  padding: 1.15rem;
  transform: rotate(5deg);
  border-radius: 18px;
}

.lv-card-title,
.lv-engine-row,
.micro-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lv-card-title {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.lv-card-title span {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted-soft);
  font-size: 0.58rem;
}

.lv-engine-row {
  margin-top: 0.58rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.lv-meter {
  height: 5px;
  margin-top: 0.25rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf0;
}

.lv-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #15c29b;
}

.lv-meter.violet i {
  background: #8d5cf6;
}

.lv-meter.green i {
  background: var(--signal);
}

.micro-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
}

.micro-status span,
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.lv-answer-card {
  bottom: 5%;
  left: 4%;
  width: 295px;
  padding: 1.2rem;
  transform: rotate(-3deg);
  border-radius: 12px;
}

.lv-answer-card p {
  margin: 0.55rem 0;
  font-size: 0.8rem;
}

.lv-answer-card strong {
  color: var(--signal-deep);
}

.lv-engines-card {
  right: 4.5%;
  bottom: 4.5%;
  width: 280px;
  padding: 1rem;
  transform: rotate(4deg);
  border-radius: 18px;
}

.lv-engines-card > strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
}

.lv-engine-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.lv-engine-icons span {
  display: grid;
  min-height: 45px;
  place-items: center;
  border-radius: 13px;
  background: #f5f6f8;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 16px -13px rgba(20, 25, 36, 0.45);
}

.engine-chat { color: #17c49b; }
.engine-gemini { color: #14b518; }
.engine-perplexity { color: #8458ef; }
.engine-google { color: #f6a800; }
.engine-fire { color: #f36300; }
.engine-ms { color: #ed3c87; }
.engine-voice { color: #00a7ca; }
.engine-more { color: #fff; background: #151a24 !important; }

.lv-ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
  overflow: hidden;
  color: var(--muted-soft);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lv-ticker i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  background: var(--signal);
}

.lv-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 3rem), var(--max));
  margin: 1.6rem auto 7rem;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.lv-pillars a {
  display: flex;
  min-height: 135px;
  padding: 1.7rem;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}

.lv-pillars a + a {
  border-left: 1px solid var(--surface-line);
}

.lv-pillars strong {
  margin-top: 0.65rem;
  font-size: 1.8rem;
  line-height: 1;
}

.lv-pillars small {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.lv-pillars a:hover {
  background: #fff;
  color: var(--text);
}

.lv-playbook-feature,
.lv-system,
.lv-early-access {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.lv-playbook-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.7fr);
  min-height: 390px;
  padding: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  border-radius: 28px;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 #fff inset, 0 24px 38px -20px rgba(20, 29, 48, 0.28), 0 60px 80px -38px rgba(20, 29, 48, 0.24);
  text-decoration: none;
}

.lv-playbook-card::after {
  position: absolute;
  right: -15%;
  width: 55%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 185, 22, 0.12), transparent 66%);
  content: "";
}

.lv-playbook-copy,
.lv-phase-stack {
  position: relative;
  z-index: 2;
}

.status-light {
  margin-bottom: 1.1rem;
}

.lv-playbook-copy h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 0.98;
}

.lv-playbook-copy h2 em {
  display: block;
}

.lv-playbook-copy > p:not(.status-pill) {
  max-width: 680px;
  margin: 1.2rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.lv-playbook-copy .button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.lv-playbook-copy > small {
  margin-left: 1rem;
}

.lv-phase-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.lv-phase-stack span {
  display: flex;
  min-height: 70px;
  padding: 0.85rem 1rem;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--surface-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 18px -14px rgba(20, 25, 36, 0.42);
}

.lv-phase-stack small {
  color: var(--muted-soft);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lv-phase-stack strong {
  margin-top: 0.2rem;
  font-size: 0.78rem;
}

.lv-system {
  padding: 7rem 0 7.5rem;
}

.lv-system-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: start;
  gap: 7rem;
}

.lv-system-intro h2 {
  max-width: 620px;
  margin: 0.9rem 0 0;
  font-size: clamp(3rem, 5.3vw, 4.8rem);
  line-height: 0.98;
}

.lv-system-intro h2 em {
  display: block;
}

.lv-system-intro > p {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.lv-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 4rem;
}

.lv-capability-card {
  position: relative;
  display: flex;
  min-height: 255px;
  padding: 1.5rem;
  flex-direction: column;
  border: 1px solid var(--surface-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--surface-shadow);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.lv-capability-card:hover {
  transform: translateY(-5px);
  color: var(--text);
  box-shadow: var(--component-shadow-hover);
}

.lv-card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--signal-soft);
  color: var(--signal);
  font-size: 1rem;
  font-weight: 800;
}

.lv-capability-card > small {
  position: absolute;
  top: 1.75rem;
  right: 1.5rem;
}

.lv-capability-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.lv-capability-card p {
  margin: 0.65rem 0 1rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.lv-capability-card b {
  margin-top: auto;
  color: var(--muted-soft);
  font-size: 0.8rem;
}

.lv-early-access {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  min-height: 475px;
  margin-bottom: 2rem;
  padding: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  gap: 6rem;
  border-radius: 28px;
  background: #0d121c;
  color: #fff;
}

.lv-early-access .eyebrow {
  color: #7d8797;
}

.lv-early-copy h2 {
  max-width: 650px;
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(3rem, 5vw, 4.7rem);
  line-height: 0.97;
}

.lv-early-copy h2 em {
  display: block;
  color: #8b929e;
}

.lv-early-form p {
  color: #aab1bc;
  font-size: 0.88rem;
  line-height: 1.7;
}

.lv-email-button {
  display: flex;
  margin: 1.5rem 0 0.8rem;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--muted-soft);
  font-size: 0.72rem;
  text-decoration: none;
}

.lv-email-button strong {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font-size: 0.72rem;
}

.lv-early-form small {
  color: #697383;
}

.lv-footer .footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.lv-footer .footer-wrap > p:last-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.lv-footer .footer-links {
  display: flex;
  gap: 1rem;
}

.live-dot {
  display: inline-block;
}

.page-hero,
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 2rem 3rem;
}

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 2rem;
  border-top: 1px solid var(--surface-line);
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.98;
}

.section h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.15rem);
  line-height: 1;
}

.lead {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.cta-band {
  border: 1px solid var(--surface-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--surface-shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .lv-note-card { animation: lv-float-a 8s ease-in-out infinite; }
  .lv-citation-card { animation: lv-float-b 9s ease-in-out infinite; }
  .lv-answer-card { animation: lv-float-c 10s ease-in-out infinite; }
  .lv-engines-card { animation: lv-float-d 11s ease-in-out infinite; }
}

@keyframes lv-float-a { 0%,100% { transform: translateY(0) rotate(-7deg); } 50% { transform: translateY(-8px) rotate(-7deg); } }
@keyframes lv-float-b { 0%,100% { transform: translateY(0) rotate(5deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
@keyframes lv-float-c { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(-3deg); } }
@keyframes lv-float-d { 0%,100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-9px) rotate(4deg); } }

@media (max-width: 1050px) {
  .lv-nav-center { position: static; transform: none; }
  .lv-text-link { display: none; }
  .lv-note-card { left: 2%; }
  .lv-citation-card { right: 2%; }
  .lv-answer-card { left: 2%; }
  .lv-engines-card { right: 2%; }
  .lv-playbook-card { grid-template-columns: 1.2fr 0.8fr; gap: 2rem; }
  .lv-system-intro { gap: 3rem; }
  .lv-capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .site-header { padding-inline: 1rem; }
  .nav-wrap { min-height: 68px; }
  .lv-nav-center { display: none; }
  .button-compact { min-height: 36px; font-size: 0.68rem; }
  .lv-hero-section { padding-inline: 0.75rem; }
  .lv-hero-shell { min-height: 650px; border-radius: 22px; }
  .lv-hero-copy { align-self: center; }
  .lv-float-card { transform: scale(0.82); }
  .lv-note-card { top: 3%; left: -2%; transform-origin: top left; }
  .lv-citation-card { top: 3%; right: -3%; transform-origin: top right; }
  .lv-answer-card { bottom: 2%; left: -3%; transform-origin: bottom left; }
  .lv-engines-card { right: -3%; bottom: 2%; transform-origin: bottom right; }
  .lv-hero-copy h1 { font-size: clamp(3rem, 10vw, 4.7rem); }
  .lv-ticker { gap: 1rem; min-height: 72px; }
  .lv-pillars { grid-template-columns: repeat(2, 1fr); margin-bottom: 5rem; }
  .lv-pillars a:nth-child(3) { border-left: 0; border-top: 1px solid var(--surface-line); }
  .lv-pillars a:nth-child(4) { border-top: 1px solid var(--surface-line); }
  .lv-playbook-card,
  .lv-system-intro,
  .lv-early-access { grid-template-columns: 1fr; }
  .lv-playbook-card { gap: 2.5rem; }
  .lv-system { padding-top: 5rem; }
  .lv-system-intro { gap: 1rem; }
  .lv-early-access { gap: 2rem; min-height: auto; }
  .lv-footer .footer-wrap { grid-template-columns: 1fr; text-align: center; }
  .lv-footer .footer-links,
  .lv-footer .footer-wrap > p:last-child { justify-content: center; }
}

@media (max-width: 620px) {
  .lv-nav-actions .button-compact { padding-inline: 0.8rem; }
  .brand-text { font-size: 0.9rem; }
  .lv-hero-shell { min-height: 620px; padding: 3rem 1rem; align-items: center; }
  .lv-hero-copy { width: min(100%, 340px); margin-top: 0; }
  .lv-float-card { display: none; }
  .lv-agent-chip { width: 54px; height: 54px; }
  .lv-agent-chip img { width: 36px; height: 36px; }
  .status-pill { font-size: 0.54rem; }
  .lv-hero-copy h1 { font-size: clamp(2.75rem, 14vw, 3.55rem); }
  .lv-hero-lead { padding-inline: 0.5rem; font-size: 0.84rem; }
  .lv-button-row { align-items: center; flex-direction: column; gap: 0.65rem; }
  .lv-button-row .button,
  .lv-button-row .button-secondary { width: min(100%, 260px); }
  .lv-ticker span:nth-of-type(n+5),
  .lv-ticker i:nth-of-type(n+5) { display: none; }
  .lv-pillars,
  .lv-playbook-feature,
  .lv-system,
  .lv-early-access { width: min(calc(100% - 1.5rem), var(--max)); }
  .lv-pillars a { min-height: 110px; padding: 1.25rem; }
  .lv-playbook-card { padding: 1.5rem; border-radius: 22px; }
  .lv-playbook-copy h2,
  .lv-system-intro h2,
  .lv-early-copy h2 { font-size: clamp(2.65rem, 12vw, 3.5rem); }
  .lv-playbook-copy > small { display: block; margin: 1rem 0 0; }
  .lv-phase-stack { grid-template-columns: 1fr; }
  .lv-capability-grid { grid-template-columns: 1fr; }
  .lv-early-access { padding: 2rem 1.4rem; border-radius: 22px; }
  .lv-email-button { align-items: stretch; flex-direction: column; border-radius: 18px; padding: 0.45rem; text-align: center; }
  .lv-email-button span { padding: 0.7rem; }
  .lv-email-button strong { text-align: center; }
  .page-hero,
  .section { padding-inline: 1rem; }
}

.playbook-page {
  background-color: #fbfbf9;
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 25, 36, 0.055) 1px, transparent 1.2px);
  background-size: 15px 15px;
}

.playbook-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(251, 251, 249, 0.98), rgba(251, 251, 249, 0.8) 50%, rgba(251, 251, 249, 0.98));
  content: "";
}

.playbook-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--surface-line);
  background: rgba(251, 251, 249, 0.88);
  backdrop-filter: blur(18px);
}

.playbook-header .nav-wrap {
  min-height: 62px;
}

.playbook-header .brand-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.playbook-header .brand-text {
  color: var(--text);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
}

.playbook-page main {
  width: 100%;
}

.playbook-page .playbook-hero {
  width: 100%;
  max-width: none;
  padding: clamp(4.5rem, 8vw, 7.5rem) 1.5rem 3.25rem;
  border-bottom: 1px solid var(--surface-line);
  background: rgba(255, 255, 255, 0.62);
}

.playbook-hero .section-wrap {
  width: min(100%, 1080px);
  max-width: 1080px;
}

.playbook-hero h1 {
  max-width: 860px;
  margin: 1rem 0 0;
  font-size: clamp(3.4rem, 6.4vw, 5.6rem);
  line-height: 0.93;
}

.playbook-hero h1 em {
  display: block;
  color: var(--signal-deep);
}

.playbook-hero .lead {
  max-width: 790px;
  margin-top: 1.4rem;
  font-size: 0.95rem;
}

.playbook-topic-list {
  display: flex;
  margin: 1.4rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.playbook-topic-list li {
  padding: 0.42rem 0.68rem;
  border: 1px solid var(--surface-line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.66rem;
  list-style: none;
}

.playbook-metrics {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.playbook-metrics span {
  display: grid;
  min-width: 100px;
  padding: 0.7rem 0.9rem;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.45rem;
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.playbook-metrics strong {
  font-size: 1.25rem;
}

.playbook-metrics small {
  color: var(--muted-soft);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playbook-page main > .section:nth-of-type(2) {
  position: sticky;
  top: 62px;
  z-index: 20;
  width: 100%;
  max-width: none;
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid var(--surface-line);
  background: rgba(251, 251, 249, 0.9);
  backdrop-filter: blur(16px);
}

.playbook-page main > .section:nth-of-type(2) .section-wrap {
  width: min(100%, 1080px);
}

.playbook-index {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.playbook-index::-webkit-scrollbar {
  display: none;
}

.playbook-index a {
  display: inline-flex;
  min-width: max-content;
  padding: 0.55rem 0;
  align-items: center;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 600;
  text-decoration: none;
}

.playbook-index a:hover {
  color: var(--signal-deep);
}

.playbook-index a span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
}

.playbook-page .playbook-phase,
.playbook-page main > .section:last-of-type {
  width: min(100%, 1080px);
  padding: clamp(4.5rem, 7vw, 6.5rem) 1rem;
  border-top: 0;
}

.playbook-page .playbook-phase + .playbook-phase {
  border-top: 1px solid var(--surface-line);
}

.playbook-page .section-header {
  margin-bottom: 0.5rem;
  align-items: end;
}

.playbook-page .section-header h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(2.7rem, 5vw, 4.25rem);
  line-height: 0.96;
}

.playbook-page .phase-day {
  justify-self: end;
  margin: 0 0 0.45rem;
  padding: 0.4rem 0.62rem;
  border: 1px solid var(--surface-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.playbook-page .playbook-phase > .section-wrap > .lead {
  max-width: 760px;
  margin: 0 0 2rem;
  font-size: 0.78rem;
}

.playbook-page .prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
}

.playbook-page #engine-room .prompt-grid {
  grid-template-columns: minmax(0, 640px);
}

.playbook-page .prompt-card {
  padding: 1.25rem;
  border-radius: 18px;
  box-shadow: 0 1px 0 #fff inset, 0 12px 23px -16px rgba(20, 29, 48, 0.24), 0 30px 44px -27px rgba(20, 29, 48, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.playbook-page .prompt-card:hover {
  transform: translateY(-2px);
}

.playbook-page .prompt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.playbook-page .work-id {
  color: var(--signal);
  font-size: 0.56rem;
}

.playbook-page .impact-chip {
  padding: 0.2rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.playbook-page .impact-chip.medium {
  background: #a6b13d;
}

.playbook-page .impact-chip.run-once {
  background: var(--warning);
}

.playbook-page .prompt-card h3 {
  margin: 0.65rem 0 0;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.playbook-page .prompt-card > p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.playbook-page .answer-list {
  display: none;
}

.playbook-page .prompt-details,
.playbook-page .prompt-details[open] {
  display: block;
  margin: 0.85rem 0 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.playbook-page .prompt-details summary {
  display: none;
}

.playbook-page .prompt-details pre {
  max-height: 265px;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: #0d1423;
  color: #dce8e2;
  font-family: var(--mono);
  font-size: 0.59rem;
  line-height: 1.55;
  scrollbar-color: #394253 transparent;
}

.playbook-page .prompt-details code {
  color: #dce8e2;
}

.prompt-actions {
  display: flex;
  margin-top: 0.75rem;
  align-items: center;
  gap: 0.55rem;
}

.playbook-page .prompt-copy-button,
.playbook-page .prompt-share-button {
  min-height: 32px;
  margin: 0;
  padding: 0.52rem 0.72rem;
  font-size: 0.58rem;
  text-decoration: none;
}

.playbook-page .prompt-copy-button {
  order: 1;
  background: var(--signal);
  color: #fff;
}

.playbook-page .prompt-share-button {
  order: 2;
  border-color: var(--surface-line);
  background: #fff;
  color: var(--muted);
}

.playbook-page .prompt-details pre {
  grid-row: 1;
}

.playbook-page .timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}

.playbook-page .timeline-grid .card {
  min-height: 180px;
  padding: 1rem;
  border-radius: 16px;
}

.playbook-page .timeline-grid .card::before {
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  content: counter(list-item);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.playbook-page .timeline-grid .card h3 {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.3;
}

.playbook-page .timeline-grid .card p {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.55;
}

.playbook-page main > .section:last-of-type {
  padding-top: 0;
}

.playbook-page .cta-band {
  grid-template-columns: 1fr auto;
  padding: 2rem;
  align-items: center;
  border-color: rgba(8, 185, 22, 0.17);
  background: linear-gradient(135deg, rgba(8, 185, 22, 0.08), rgba(255, 255, 255, 0.96));
}

.playbook-page .cta-band h2 {
  margin: 0.4rem 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.playbook-page .cta-band p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.playbook-page .site-footer {
  border-top: 1px solid var(--surface-line);
  background: rgba(255, 255, 255, 0.45);
}

.playbook-page .site-footer .footer-wrap {
  min-height: 82px;
}

@media (max-width: 820px) {
  .playbook-page main > .section:nth-of-type(2) { top: 62px; }
  .playbook-index { padding-inline: 1rem; justify-content: flex-start; }
  .playbook-page .prompt-grid { grid-template-columns: 1fr; }
  .playbook-page #engine-room .prompt-grid { grid-template-columns: 1fr; }
  .playbook-page .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .playbook-page .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .playbook-page .playbook-hero { padding-top: 3.5rem; }
  .playbook-hero h1 { font-size: clamp(3rem, 15vw, 4.15rem); }
  .playbook-topic-list { gap: 0.35rem; }
  .playbook-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
  .playbook-metrics span { min-width: 0; padding: 0.6rem; grid-template-columns: 1fr; gap: 0.05rem; }
  .playbook-page .playbook-phase { padding-block: 4rem; }
  .playbook-page .section-header.two-up { grid-template-columns: 1fr auto; }
  .playbook-page .section-header h2 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .playbook-page .prompt-card { padding: 1rem; }
  .playbook-page .prompt-details pre { max-height: 230px; font-size: 0.55rem; }
  .playbook-page .timeline-grid { grid-template-columns: 1fr; }
  .playbook-page .cta-band { padding: 1.4rem; }
}

.services-hub-page .feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
}

.lovable-home {
  overflow-x: clip;
}

.services-hub-page .feature-panel > .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.services-hub-page .feature-panel > .card-grid .card {
  min-height: 210px;
}

.services-hub-page .feature-panel > .pillar-graphic {
  height: 100%;
}

@media (max-width: 900px) {
  .services-hub-page .feature-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .services-hub-page .feature-panel > .card-grid {
    grid-template-columns: 1fr;
  }

  .services-hub-page .feature-panel > .card-grid .card {
    min-height: 0;
  }
}
