:root {
  --ink: #1f2724;
  --muted: #66706b;
  --line: #dce3df;
  --paper: #ffffff;
  --soft: #f3f6f4;
  --green: #176b4d;
  --green-soft: #e5f3ed;
  --blue: #245b83;
  --coral: #b84e3d;
  --gold: #9b7422;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.demo-bar { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 7px 20px; background: #f7efe8; color: #6e3c31; border-bottom: 1px solid #ead5ca; font-size: 13px; text-align: center; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: 0 0 auto; }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: white; font-size: 13px; font-weight: 800; }
.brand strong, .brand small { display: block; }.brand strong { font-size: 15px; }.brand small { color: var(--muted); font-size: 12px; }
nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; } nav a:hover { color: var(--green); }
.hero { min-height: 560px; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 72px; align-items: center; padding-block: 68px; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
h1 { margin: 0; max-width: 720px; font-size: clamp(54px, 7vw, 92px); line-height: .94; letter-spacing: 0; }
.hero-lead { max-width: 650px; margin: 26px 0 30px; color: var(--muted); font-size: 20px; }
.primary-action { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 12px 18px; background: var(--green); color: white; font-weight: 700; border: 1px solid var(--green); }
.primary-action:hover { background: #0f583e; }
.system-map { position: relative; min-height: 420px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.map-label { position: absolute; top: 22px; left: 24px; color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 800; }
.map-core { position: absolute; z-index: 3; top: 50%; left: 50%; width: 160px; height: 132px; transform: translate(-50%, -50%); display: grid; place-items: center; align-content: center; background: var(--ink); color: white; border-radius: 7px; }
.map-core > span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--green); font-weight: 800; margin-bottom: 7px; }
.map-core strong { font-size: 16px; }.map-core small { color: #bdc6c1; font-size: 11px; }
.map-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; min-width: 104px; padding: 9px 11px; background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; font-weight: 700; }
.map-node span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 4px; color: white; }
.node-legal { top: 80px; right: 32px; }.node-legal span { background: var(--blue); }
.node-stock { bottom: 52px; left: 32px; }.node-stock span { background: var(--green); }
.node-advisor { bottom: 42px; right: 30px; }.node-advisor span { background: var(--gold); }
.map-line { position: absolute; z-index: 1; height: 1px; background: #aeb9b3; transform-origin: left center; }
.line-legal { width: 142px; left: 54%; top: 41%; transform: rotate(-34deg); }
.line-stock { width: 142px; left: 23%; top: 62%; transform: rotate(-24deg); }
.line-advisor { width: 132px; left: 56%; top: 64%; transform: rotate(34deg); }
.summary-band { background: var(--ink); color: white; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 112px; }
.summary div { display: flex; align-items: center; gap: 16px; padding: 24px 34px; border-right: 1px solid #3a4540; }.summary div:first-child { padding-left: 0; }.summary div:last-child { border-right: 0; }
.summary strong { font-size: 35px; }.summary span { color: #c5cdc9; font-size: 13px; }
.agents-section { padding-block: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: 38px; line-height: 1.12; }.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agent-card { min-height: 290px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 7px; background: white; }
.agent-card.blue { border-top-color: var(--blue); }.agent-card.green { border-top-color: var(--green); }.agent-card.gold { border-top-color: var(--gold); }
.agent-card-top { display: flex; justify-content: space-between; align-items: center; }
.agent-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; background: var(--soft); font-weight: 800; }
.status { padding: 5px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }.status.ready { background: var(--green-soft); color: var(--green); }.status.pending { background: #f4eedf; color: #7a5b1c; }
.agent-card h3 { margin: 28px 0 10px; font-size: 22px; }.agent-card p { margin: 0 0 28px; color: var(--muted); }
.agent-card a, .disabled-action { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.agent-card a { display: flex; justify-content: space-between; color: var(--green); }.disabled-action { color: #959d99; }
.principles-section { padding-block: 82px; background: var(--soft); border-block: 1px solid var(--line); }.section-heading.compact { margin-bottom: 42px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }.principles-grid article > span { color: var(--coral); font-size: 12px; font-weight: 800; }
.principles-grid h3 { margin: 14px 0 9px; font-size: 18px; }.principles-grid p { margin: 0; color: var(--muted); }
.site-footer { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }.site-footer p { margin: 0; color: var(--muted); font-size: 13px; }.footer-brand .brand-mark { background: var(--green); }

@media (max-width: 850px) {
  .shell { width: min(100% - 32px, 720px); }.site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-block: 48px; } h1 { font-size: 58px; }.system-map { min-height: 360px; }
  .summary { grid-template-columns: 1fr; padding-block: 10px; }.summary div { min-height: 74px; padding: 14px 0; border-right: 0; border-bottom: 1px solid #3a4540; }.summary div:last-child { border-bottom: 0; }
  .agent-grid, .principles-grid { grid-template-columns: 1fr; }.section-heading { align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 32px; }
}
@media (max-width: 520px) {
  .demo-bar { font-size: 11px; }.site-header { height: 66px; } h1 { font-size: 46px; }.hero-lead { font-size: 17px; }
  .system-map { min-height: 330px; }.map-core { width: 138px; height: 118px; }.map-node { min-width: 90px; padding: 7px; font-size: 11px; }
  .node-legal { right: 12px; }.node-stock { left: 12px; }.node-advisor { right: 12px; }
  .line-legal { width: 100px; }.line-stock { width: 100px; }.line-advisor { width: 92px; }
  .agents-section, .principles-section { padding-block: 60px; }.section-heading h2 { font-size: 31px; }
}