:root {
  /* Matches the real product's own accent exactly (webapp/static/style.css) -- the marketing
     site previously used an unrelated blue/terracotta/cream palette that predated the webapp's
     own researched teal decision (blue-calm + green-restorative intersection, ~5.6:1 on white).
     A visitor should see the same brand on the site as in the product they sign up for. */
  --primary: #0f766e;
  --primary-dark: #0b5c56;
  /* Warm amber accent, reused from the product's own amber-family semantic color
     (status_agent's "at_risk" badge uses the same #92400e as its text color) rather than an
     arbitrary new hue -- ~7.1:1 on white. */
  --accent: #92400e;
  --bg: #ffffff;
  --bg-alt: #f1f7f6;
  --ink: #1f2430;
  --ink-soft: #4b5265;
  --border: #dbe6e3;
  --white: #ffffff;
  /* The footer band is always a dark navy panel in both themes, the same way the teal CTA panel
     below it is -- it never inherits from --ink, which flips meaning under dark mode. */
  --footer-bg: #1f2430;
  /* Accent color used as TEXT/icon color directly against the page background (links, icons,
     the hero eyebrow badge). Kept separate from --primary, which also serves as a button
     background and must stay a strong, saturated teal in both themes -- a color that reads well
     as small text against near-black would be too light to use as a filled button. */
  --accent-ink: var(--primary-dark);
  --accent-ink-bg: rgba(15, 118, 110, 0.1);
  --topbar-bg: rgba(255, 255, 255, 0.92);
  --hero-gradient: linear-gradient(135deg, #ecf7f5 0%, #ffffff 55%, #eff9f6 100%);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- dark mode ----------
   Two blocks with identical values, on purpose: the media-query block follows the visitor's OS
   setting by default, and the attribute block lets the on-page toggle override it explicitly in
   either direction (a manual "light" choice on a dark system, or "dark" on a light one). Plain
   CSS has no way to share the two without duplicating the declarations. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1117;
    --bg-alt: #131a22;
    --ink: #e6edf3;
    --ink-soft: #9aa4b2;
    --border: #333d49;
    --white: #161d27;
    --accent: #fbbf24;
    --accent-ink: #5eead4;
    --accent-ink-bg: rgba(45, 212, 191, 0.16);
    --topbar-bg: rgba(13, 17, 23, 0.9);
    --hero-gradient: linear-gradient(135deg, #0f1a19 0%, #0d1117 55%, #101a19 100%);
  }
}

:root[data-theme="dark"] {
  --bg: #0d1117;
  --bg-alt: #131a22;
  --ink: #e6edf3;
  --ink-soft: #9aa4b2;
  --border: #333d49;
  --white: #161d27;
  --accent: #fbbf24;
  --accent-ink: #5eead4;
  --accent-ink-bg: rgba(45, 212, 191, 0.16);
  --topbar-bg: rgba(13, 17, 23, 0.9);
  --hero-gradient: linear-gradient(135deg, #0f1a19 0%, #0d1117 55%, #101a19 100%);
}

/* ---------- larger text ---------- */
:root[data-text-size="large"] { font-size: 118%; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px;
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--topbar-bg);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.topbar-brand-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Brand mascot -- the same component/animation as the real webapp's header, so the brand carries
   through from marketing site to product. Body/head/eyes use currentColor via --accent-ink so it
   automatically follows the same light/dark accent color everything else on this page already uses. */
.mascot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--accent-ink);
}

.mascot-btn .mascot-body,
.mascot-btn .mascot-head,
.mascot-btn .mascot-arm-static,
.mascot-btn .mascot-arm-wave rect {
  fill: currentColor;
}

.mascot-btn .mascot-antenna { stroke: var(--accent); stroke-width: 2; }
.mascot-btn .mascot-antenna-tip { fill: var(--accent); }

.mascot-btn .mascot-arm-wave {
  transform-box: fill-box;
  transform-origin: 50% 0%;
}

@keyframes mascot-wave {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-30deg); }
  40% { transform: rotate(-50deg); }
  60% { transform: rotate(-30deg); }
  80% { transform: rotate(-50deg); }
}

.mascot-waving .mascot-arm-wave { animation: mascot-wave 0.8s ease-in-out; }

/* Assemble: each of the mascot's 9 accent pieces "pops" into place in a staggered sequence, on a
   plain click AND as the finale of the click-all-10-agent-robots combo below. */
.mascot-assemble > * {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes mascot-piece-pop {
  0% { transform: scale(0); opacity: 0; }
  55% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.mascot-piece-pop { animation: mascot-piece-pop 0.35s ease-out both; }

/* A short, encouraging line from the mascot -- a small bit of fun on top of what's otherwise a
   routine "did you check on your projects today" nudge. */
.mascot-quote-bubble {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 4px) scale(0.9);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

.mascot-quote-bubble.mascot-quote-visible {
  opacity: 1;
  transform: translate(-50%, 8px) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .mascot-waving .mascot-arm-wave { animation: none; }
  .mascot-piece-pop { animation: none; }
  .mascot-quote-bubble { transition: opacity 0.01s linear; }
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.brand-mark {
  display: inline-block;
  width: 1.35em;
  height: 1.35em;
  flex-shrink: 0;
}

.topnav { display: flex; align-items: center; gap: 18px; }

.topnav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.topnav a:hover { color: var(--accent-ink); }

/* ---------- icon buttons (theme / text-size toggles) ---------- */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.icon-btn svg { width: 18px; height: 18px; }

/* Which icon shows is driven by CSS, not the `hidden` attribute -- keyed off data-theme (and the
   OS preference when no explicit choice has been made) the same way every color variable above
   already is. */
.icon-sun { display: none; }
.icon-moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: inline; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}
:root[data-theme="dark"] .icon-sun { display: inline; }
:root[data-theme="dark"] .icon-moon { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 8.5px 18.5px;
}
.btn-ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

.btn-small { padding: 7px 16px; font-size: 0.9rem; color: #fff !important; background: var(--primary); white-space: nowrap; }
.btn-small:hover { background: var(--primary-dark); }

.btn-large { font-size: 1.05rem; padding: 13px 26px; }

.hero-ctas .btn:hover { transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero {
  /* Monochromatic teal wash, not a blue-to-purple blend -- a subtle tint of the brand's own
     primary rather than an unrelated multi-hue gradient. */
  background: var(--hero-gradient);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--border);
}

.hero-inner { max-width: 780px; }

.hero-eyebrow {
  display: inline-block;
  background: var(--accent-ink-bg);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Replaces emoji section markers -- outline SVGs, single color via currentColor, no icon
   font/library dependency (matches this site's own zero-build-step convention). */
.section-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--accent-ink);
  flex-shrink: 0;
}

.section-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 40px;
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  gap: 20px;
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-agents { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p { margin: 0; color: var(--ink-soft); }

.card-example { border-left: 3px solid var(--accent); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.agent-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.agent-robot { flex-shrink: 0; }

.agent-robot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 6px;
  margin: -6px 0;
  line-height: 0;
  cursor: pointer;
}

@keyframes robot-nod { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-10deg); } 60% { transform: rotate(7deg); } }
@keyframes robot-tick { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.25); } }
@keyframes robot-blink { 0%, 60%, 100% { opacity: 1; } 30% { opacity: 0.25; } }
@keyframes robot-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
@keyframes robot-bounce { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-7px); } 55% { transform: translateY(0); } 75% { transform: translateY(-3px); } }
@keyframes robot-scan { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes robot-wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(10deg); } 50% { transform: rotate(-10deg); } 75% { transform: rotate(6deg); } }
@keyframes robot-broadcast { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.55; } }
@keyframes robot-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes robot-flip { 0% { transform: rotateX(0deg); } 100% { transform: rotateX(360deg); } }

.robot-play-nod { animation: robot-nod 0.7s ease-in-out; }
.robot-play-tick { animation: robot-tick 0.5s ease; }
.robot-play-blink { animation: robot-blink 0.6s ease-in-out 2; }
.robot-play-shake { animation: robot-shake 0.5s ease-in-out; }
.robot-play-bounce { animation: robot-bounce 0.7s ease-in-out; }
.robot-play-scan { animation: robot-scan 0.8s ease-in-out; }
.robot-play-wiggle { animation: robot-wiggle 0.6s ease-in-out; }
.robot-play-broadcast { animation: robot-broadcast 0.7s ease-in-out; }
.robot-play-spin { animation: robot-spin 0.6s ease-in-out; }
.robot-play-flip { animation: robot-flip 0.7s ease-in-out; }

@media (prefers-reduced-motion: reduce) {
  .robot-play-nod, .robot-play-tick, .robot-play-blink, .robot-play-shake, .robot-play-bounce,
  .robot-play-scan, .robot-play-wiggle, .robot-play-broadcast, .robot-play-spin, .robot-play-flip {
    animation: none;
  }
}

.agents-footnote {
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- status pills ---------- */
.pill {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill-on_track { background: #dcfce7; color: #166534; }
.pill-at_risk { background: #fef3c7; color: #92400e; }
.pill-off_track { background: #fee2e2; color: #991b1b; }
.pill-insufficient { background: #e5e7eb; color: #374151; }

/* ---------- pricing ---------- */
.pricing-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 640px;
}

.pricing-line { margin: 0 0 12px; }
.pricing-line:last-child { margin-bottom: 0; }
.muted { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- CTA footer ---------- */
.cta-footer {
  /* Monochromatic within the teal family, not a blue-to-purple blend. Always a dark teal panel
     regardless of page theme, same reasoning as --footer-bg below. */
  background: linear-gradient(120deg, var(--primary) 0%, #0b4f4a 100%);
  padding: 72px 0;
  text-align: center;
}

.cta-footer h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 14px;
}

.cta-footer p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin: 0 0 26px;
}

.cta-footer .btn-primary {
  background: #fff;
  color: var(--primary-dark);
}
.cta-footer .btn-primary:hover { background: #f4f4f5; }

.cta-with-robot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* The click-all-10-combo's landing spot (see the inline script) -- hidden until the combo fires,
   then fades/scales in. Always a light color, not the theme-following --accent-ink: the CTA
   panel is always a dark teal gradient regardless of page theme, and --accent-ink resolves to a
   DARK teal in light mode, which would be invisible against it. */
.cta-robot {
  color: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cta-robot.cta-robot-visible { opacity: 1; transform: scale(1); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--footer-bg);
  padding: 28px 0;
}

.footer-inner p {
  margin: 0;
  color: #b7bccb;
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- logo click animation (just for fun) ---------- */
@keyframes mark-pop {
  0% { transform: rotate(0deg) scale(1); border-radius: 3px; }
  35% { transform: rotate(180deg) scale(1.4); border-radius: 50%; }
  70% { transform: rotate(300deg) scale(0.85); border-radius: 3px; }
  100% { transform: rotate(360deg) scale(1); border-radius: 3px; }
}
.mark-pop { animation: mark-pop 0.6s ease; }

.confetti-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  animation: confetti-burst 0.6s ease-out forwards;
}
@keyframes confetti-burst {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mark-pop { animation: none; }
  .confetti-dot { animation: none; opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 1.9rem; }
  .cards-3, .cards-agents { grid-template-columns: 1fr; }
  .topnav { gap: 10px; }
  .topnav a:not(.btn) { display: none; }
}

/* ---------- document pages (product thesis, design decisions) ---------- */
.topnav a[aria-current="page"] { color: var(--accent-ink); }

.doc-hero {
  background: var(--hero-gradient);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.doc-hero h1 { font-size: 2.3rem; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 18px; max-width: 780px; }
.doc-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 680px; margin: 0 0 14px; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.doc-toc a {
  border: 1px solid var(--border); background: var(--white); color: var(--ink);
  border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; font-weight: 500; text-decoration: none;
}
.doc-toc a:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

.hypotheses { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.hypotheses > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.hypotheses > li p + p, .hypotheses > li p + ol, .hypotheses > li ol + p { margin-top: 10px; }
.hyp-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-ink-bg); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}

.ladder { list-style: none; counter-reset: step; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ladder li {
  counter-increment: step; font-size: 0.9rem; color: var(--ink);
  border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px;
  background: color-mix(in srgb, var(--primary) calc(var(--lvl, 1) * 1%), var(--white));
}
.ladder li::before { content: counter(step) ". "; color: var(--accent-ink); font-weight: 600; }
.ladder li:nth-child(1) { --lvl: 4; } .ladder li:nth-child(2) { --lvl: 8; } .ladder li:nth-child(3) { --lvl: 12; }
.ladder li:nth-child(4) { --lvl: 16; } .ladder li:nth-child(5) { --lvl: 20; }

.flows { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0; }
.flows .eyebrow { margin-bottom: 6px; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.flow li {
  font-size: 0.92rem; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: var(--accent-ink-bg); color: var(--accent-ink);
}
.flow li + li::before { content: "→"; margin-right: 8px; color: var(--ink-soft); font-weight: 400; }
.flow-not li { background: transparent; border: 1px dashed var(--border); color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--ink-soft); }
.flow-not li + li::before { text-decoration: none; display: inline-block; }

.pull { margin: 18px 0; padding: 16px 20px; border-left: 4px solid var(--primary); background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.pull p:last-child { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 0; }

.falsify { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.falsify li {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px 14px 44px; position: relative; color: var(--ink);
}
.falsify li::before {
  content: "✕"; position: absolute; left: 16px; top: 14px; color: var(--accent); font-weight: 700;
}

.decisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.decision > p { color: var(--ink); }
.decision dl { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.decision dt {
  font-family: var(--font-display); font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-ink);
}
.decision dd { margin: -4px 0 4px; color: var(--ink-soft); }

@media (max-width: 760px) {
  .doc-hero { padding: 52px 0 40px; }
  .doc-hero h1 { font-size: 1.8rem; }
  .hypotheses > li { grid-template-columns: 1fr; gap: 10px; }
  .falsify, .decisions { grid-template-columns: 1fr; }
}

/* ---------- homepage hero: headline + "where your teams work" card ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 20px; font-size: 2.7rem; text-wrap: balance; }
.h1-accent { display: block; margin-top: 6px; color: var(--accent-ink); }
@media (max-width: 760px) { .hero-copy h1 { font-size: 1.8rem; } }
.hero-copy .hero-sub { margin-bottom: 30px; }

.silo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 26px 22px;
  box-shadow: 0 1px 2px rgba(15, 118, 110, 0.06), 0 18px 40px rgba(15, 118, 110, 0.10);
}
.silo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 18px;
}
.silo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.silo-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.silo-team { font-weight: 600; color: var(--ink); }
.silo-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.silo-dot {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.silo-list li.silo-none { border-style: dashed; background: transparent; }
.silo-none .silo-team { color: var(--ink-soft); }
.silo-none .silo-tool { color: var(--accent); font-family: var(--font-body); font-weight: 500; font-size: 0.88rem; }
.silo-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--accent-ink);
  margin: 20px 0 6px;
}
.silo-foot { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .silo-card { max-width: 520px; }
}
@media (max-width: 480px) {
  .silo-card { padding: 20px 16px 18px; }
  .silo-list li { padding: 10px 12px; }
  .silo-list li.silo-none { flex-wrap: wrap; }
  .silo-none .silo-tool { white-space: normal; }
}

/* ---------- "Not just another AI agent" comparison ---------- */
.cmp { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--white); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 0.8fr 1fr 1.4fr; }
.cmp-head span {
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-alt);
}
.cmp-head span:last-child { color: var(--accent-ink); }
.cmp-row { border-top: 1px solid var(--border); }
.cmp-row p { margin: 0; padding: 16px 20px; }
.cmp-topic { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.cmp-them { color: var(--ink-soft); }
.cmp-us { color: var(--ink); background: var(--accent-ink-bg); }
.cmp-label { display: none; }
@media (max-width: 760px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row p { padding: 10px 16px; }
  .cmp-topic { padding-top: 16px !important; }
  .cmp-label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 2px;
  }
  .cmp-us .cmp-label { color: var(--accent-ink); }
  .cmp-us { padding-bottom: 16px !important; }
}

/* ---------- helm network (hero) ---------- */
.helm-card { margin: 0; display: grid; gap: 10px; justify-items: center; }
.helm-net { width: 100%; max-width: 540px; height: auto; overflow: visible; }
.hn-chord { stroke: var(--primary); stroke-opacity: 0.18; stroke-width: 1.2; }
.hn-rim { fill: none; stroke: var(--primary); stroke-width: 6; stroke-opacity: 0.85; }
.hn-spoke { stroke: var(--primary); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 5 7; animation: hn-flow 2.8s linear infinite; }
.hn-hub-ring { fill: none; stroke: var(--primary); stroke-opacity: 0.25; stroke-width: 6; }
.hn-hub { fill: var(--primary); }
.hn-name { fill: #ffffff; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-anchor: middle; }
.hn-letter { fill: #ffffff; font-family: var(--font-display); font-weight: 700; text-anchor: middle; }
.hn-label { fill: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 15px; text-anchor: middle; }
.hn-world .hn-label, .hn-craft .hn-label { fill: var(--accent-ink); }
.hn-node circle { stroke: var(--bg); stroke-width: 4; }
.helm-card figcaption { color: var(--ink-soft); font-size: 0.95rem; text-align: center; max-width: 440px; }
@keyframes hn-flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .hn-spoke { animation: none; } }
@media (max-width: 900px) { .helm-net { max-width: 460px; } }
.callouts .card h3 { margin-bottom: 6px; }
.section-note { margin: 24px 0 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- layer diagram (How our project management agent works) ---------- */
.layer-diagram { margin: 8px 0 40px; }
.layer-diagram p { margin: 0; }
.layer-diagram .lyr { border-radius: 14px; padding: 18px 20px; }
.layer-diagram .lyr-title { font: 700 0.78rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink-soft); }
.layer-diagram .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.layer-diagram .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border); font: 600 0.9rem var(--font-body); color: var(--ink); }
.layer-diagram .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.layer-diagram .a-top { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.layer-diagram .a-user { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.layer-diagram .ly-box-title { margin: 0 0 4px; font: 700 1.05rem var(--font-display); color: var(--ink); }
.layer-diagram .a-user > p:not(.ly-box-title):not(.opt-tag) { color: var(--ink-soft); font-size: .93rem; }
.layer-diagram .opt-tag { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; font: 700 .72rem var(--font-body);
  letter-spacing: .06em; text-transform: uppercase; background: var(--bg-alt); color: var(--ink-soft); border: 1px dashed var(--border); }
.layer-diagram .opt-built { background: var(--accent-ink-bg); color: var(--accent-ink); border: 1px solid transparent; }
.layer-diagram .a-finds { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
.layer-diagram .a-finds li { margin-bottom: 4px; }
.layer-diagram .a-finds b { color: var(--ink); }
.layer-diagram .a-core { background: var(--primary); color: #fff; }
.layer-diagram .a-core .lyr-title { color: rgba(255,255,255,.78); }
.layer-diagram .ly-core-name { margin: 0 0 12px; font: 700 1.35rem var(--font-display); color: #fff; }
.layer-diagram .a-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.layer-diagram .a-step { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.layer-diagram .a-step b { display: block; font: 700 .95rem var(--font-display); margin-bottom: 2px; }
.layer-diagram .a-src { background: var(--bg-alt); border: 1px solid var(--border); }
.layer-diagram .a-src-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.layer-diagram .a-src-grid .chip { flex-direction: column; justify-content: flex-start; gap: 4px; border-radius: 12px; padding: 10px 6px; text-align: center; min-width: 0; }
.layer-diagram .src-name { font: 700 .88rem var(--font-body); color: var(--ink); }
.layer-diagram .src-ex { font: 500 .74rem var(--font-body); color: var(--ink-soft); line-height: 1.3; }
.layer-diagram .arw { position: relative; display: block; width: 3px; height: 46px; margin: 12px auto 0; background: var(--primary); border-radius: 2px; }
.layer-diagram .arw::after { content: ""; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 12px solid var(--primary); }
.layer-diagram .arw-big { width: 6px; height: 54px; margin: 16px 0 0; }
.layer-diagram .arw-big::after { top: -14px; border-left-width: 13px; border-right-width: 13px; border-bottom-width: 16px; }
.layer-diagram .arw-opt { background: repeating-linear-gradient(to top, var(--primary) 0 8px, transparent 8px 14px); opacity: .7; }
.layer-diagram .arw-row { display: grid; padding: 4px 21px 6px; }
.layer-diagram .arw-top { grid-template-columns: 1fr 1fr; gap: 14px; }
.layer-diagram .arw-bot { grid-template-columns: repeat(6, 1fr); }
.layer-diagram .arw-cell { display: flex; align-items: center; justify-content: center; gap: 14px; }
.layer-diagram .arw-label { font: 600 .88rem var(--font-body); color: var(--accent-ink); max-width: 210px; }
.layer-diagram .lbl-mob { display: none; }
@media (max-width: 760px) {
  .layer-diagram .a-top { grid-template-columns: 1fr; }
  .layer-diagram .a-steps { grid-template-columns: 1fr 1fr; }
  .layer-diagram .arw-top { grid-template-columns: 1fr; gap: 0; }
  .layer-diagram .arw-top .arw-cell:last-child { display: none; }
  .layer-diagram .lbl-desk { display: none; }
  .layer-diagram .lbl-mob { display: inline; }
  .layer-diagram .a-src-grid { grid-template-columns: repeat(2, 1fr); }
  .layer-diagram .a-src-grid .chip { padding: 10px 8px; }
  .layer-diagram .arw-bot { grid-template-columns: repeat(2, 1fr); }
  .layer-diagram .arw-bot .arw:nth-child(n+3) { display: none; }
}
