:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #fff;
  --surface-muted: #f2f5f9;
  --border: #dfe3e9;
  --ink: #101828;
  --muted: #667085;
  --blue: #254fca;
  --blue-dark: #1e40ac;
  --forest: #102d28;
  --mint: #75e0bd;
  --gold: #f0b765;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 3px; }
.container { width: min(100% - 48px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--forest); text-decoration: none; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.93); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 9px; }
.brand > span:first-of-type { font-size: 1.05rem; font-weight: 760; letter-spacing: -.035em; }
.brand-divider { width: 1px; height: 22px; margin-inline: 5px 3px; background: var(--border); }
.brand small { color: var(--muted); font-size: .85rem; font-weight: 540; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px 27px; }
.site-nav a { color: #475467; font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .18s ease; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-source { color: var(--blue); }

.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(40px, 6vw, 88px); padding-block: clamp(70px, 8vw, 116px) 88px; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .15em; line-height: 1.4; }
.eyebrow-line { display: inline-block; width: 24px; height: 2px; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(3.1rem, 5.05vw, 5rem); font-weight: 780; line-height: 1.18; letter-spacing: -.065em; }
.highlight { color: var(--blue); }
.hero-lead { max-width: 570px; margin: 27px 0 0; color: #475467; font-size: 1.08rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 11px 21px; border: 1px solid transparent; border-radius: 9px; font-size: .95rem; font-weight: 700; line-height: 1.4; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 10px 20px rgba(37,79,202,.17); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 24px rgba(37,79,202,.22); }
.text-link { color: var(--blue); font-size: .95rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-note { margin: 21px 0 0; color: var(--muted); font-size: .84rem; }
.hero-stage { position: relative; min-width: 0; padding: 35px 0 0 18px; }
.stage-decoration { position: absolute; pointer-events: none; }
.stage-decoration-one { top: 0; right: -14px; width: 72%; height: 76%; border: 1px solid #cbded8; border-radius: 30px; transform: rotate(7deg); }
.stage-decoration-two { right: -28px; bottom: 44px; width: 44%; height: 45%; border-radius: 28px; background: #e5f1ec; transform: rotate(-8deg); }
.workbench { position: relative; max-width: 100%; overflow: hidden; border: 1px solid #cdd5df; border-radius: 14px; background: #fff; box-shadow: 0 32px 64px rgba(17,39,35,.13), 0 4px 14px rgba(16,24,40,.06); transform: rotate(-1deg); }
.workbench-topbar { display: flex; align-items: center; gap: 16px; min-height: 46px; padding-inline: 16px; color: #344054; background: #f8fafc; border-bottom: 1px solid #e2e6eb; font-size: .79rem; font-weight: 650; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #cbd3dd; }
.window-dots i:first-child { background: #a3c5b8; }
.workbench-view { margin-left: auto; color: #7b8798; font-size: .73rem; }
.workbench-body { display: grid; grid-template-columns: 124px minmax(0, 1fr); min-height: 420px; }
.workbench-rail { display: flex; flex-direction: column; gap: 2px; padding: 18px 11px; border-right: 1px solid #e7ebef; background: #f8fafc; color: #6a7688; font-size: .78rem; }
.rail-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; color: #233044; font-size: .72rem; font-weight: 750; }
.rail-brand img { border-radius: 6px; }
.workbench-rail > span { display: block; padding: 7px 9px; border-radius: 6px; }
.workbench-rail .rail-active { color: var(--blue); background: #eaf0ff; font-weight: 720; }
.rail-project { margin-top: auto; padding: 7px 8px; color: #98a2b3; border-top: 1px solid #e7ebef; font-size: .61rem; font-weight: 700; letter-spacing: .08em; }
.workbench-main { display: flex; flex-direction: column; min-width: 0; padding: 22px 22px 0; }
.workbench-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #344054; font-size: .81rem; font-weight: 740; }
.mode-tag { padding: 2px 7px; border: 1px solid #cbd7ff; border-radius: 99px; color: var(--blue); background: #f4f7ff; font-size: .65rem; white-space: nowrap; }
.user-prompt { margin-top: 13px; padding: 12px 14px; border: 1px solid #e1e7ef; border-radius: 9px; background: #f7f9fd; color: #344054; font-size: .78rem; line-height: 1.65; }
.plan-title { margin: 20px 0 8px; color: #98a2b3; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.plan-row { display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.plan-number { display: grid; flex: none; width: 24px; height: 24px; place-items: center; border: 1px solid #c8d9d4; border-radius: 7px; color: #326f61; background: #eff8f4; font-size: .68rem; font-weight: 800; }
.plan-row strong, .plan-row small { display: block; }
.plan-row strong { color: #263445; font-size: .78rem; line-height: 1.35; }
.plan-row small { margin-top: 3px; color: #7b8798; font-size: .68rem; line-height: 1.4; }
.workbench-footer { display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 11px 0; color: #8893a2; font-size: .69rem; }
.footer-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.stage-caption { position: relative; margin: 20px 8px 0 0; color: #8a93a2; font-size: .78rem; text-align: right; }

.principles { border-block: 1px solid var(--border); background: #fff; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principle-grid > div { min-width: 0; padding: 31px 32px 29px 0; }
.principle-grid > div + div { padding-left: 37px; border-left: 1px solid var(--border); }
.principle-index { display: block; margin-bottom: 7px; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .075em; }
.principle-grid strong { display: block; font-size: 1rem; font-weight: 730; }
.principle-grid p { margin: 5px 0 0; color: var(--muted); font-size: .91rem; }

.section { padding-block: 112px 120px; }
.section-head { max-width: 690px; margin-bottom: 42px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2, .compute-heading h2, .closing-inner h2 { margin: 0; font-size: clamp(2.2rem, 3.4vw, 3.2rem); font-weight: 770; line-height: 1.3; letter-spacing: -.045em; }
.section-head > p:last-child { margin: 15px 0 0; color: var(--muted); font-size: 1.03rem; line-height: 1.8; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.workflow-card { min-height: 260px; padding: 26px 25px 28px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(16,24,40,.035); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #cbd5f6; border-radius: 10px; color: var(--blue); background: #f0f4ff; font-size: .85rem; font-weight: 790; }
.workflow-card h3 { margin: 27px 0 10px; font-size: 1.15rem; font-weight: 730; letter-spacing: -.025em; }
.workflow-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.8; }

.compute-section { overflow: hidden; color: #eef8f4; background: var(--forest); }
.compute-inner { position: relative; padding-block: 105px 95px; }
.compute-inner::after { content: ""; position: absolute; top: -180px; right: -270px; width: 540px; height: 540px; border: 1px solid rgba(117,224,189,.15); border-radius: 50%; pointer-events: none; }
.eyebrow-light { color: var(--mint); }
.compute-heading { position: relative; z-index: 1; max-width: 760px; margin-bottom: 38px; }
.compute-heading .eyebrow { margin-bottom: 15px; }
.compute-heading h2 { color: #fff; }
.compute-heading > p:last-child { max-width: 650px; margin: 16px 0 0; color: #bfd1ca; font-size: 1.04rem; line-height: 1.8; }
.context-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.context-card { display: flex; flex-direction: column; min-height: 286px; padding: 31px 33px; border: 1px solid rgba(206,239,228,.24); border-radius: 13px; background: rgba(255,255,255,.07); }
.context-label { color: var(--mint); font-size: .76rem; font-weight: 800; letter-spacing: .11em; }
.context-card h3 { margin: 19px 0 9px; color: #fff; font-size: 1.36rem; font-weight: 730; }
.context-card p { max-width: 500px; margin: 0; color: #c3d4cd; font-size: .96rem; line-height: 1.85; }
.context-code { margin-top: auto; padding-top: 25px; color: #e0eee8; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .86rem; }
.context-code span { margin-inline: 9px; color: var(--gold); }
.compute-note { position: relative; z-index: 1; margin: 25px 0 0; color: #9fb9ae; font-size: .85rem; line-height: 1.7; }

.evidence-heading { max-width: 720px; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.evidence-card { padding: 0 26px 0 0; }
.evidence-card + .evidence-card { padding-left: 26px; border-left: 1px solid var(--border); }
.evidence-mark { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 11px; color: var(--blue); background: #e9efff; font-size: 1.1rem; font-weight: 780; }
.evidence-card h3 { margin: 22px 0 8px; font-size: 1.16rem; font-weight: 730; }
.evidence-card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.8; }

.closing-section { color: #f4fbf7; background: #193b34; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 70px 75px; }
.closing-inner .eyebrow { margin-bottom: 16px; }
.closing-inner h2 { color: #fff; }
.closing-inner p:last-child { max-width: 580px; margin: 15px 0 0; color: #bdd1c6; font-size: 1rem; }
.button-light { flex: none; color: #123128; background: #d7f7e8; }
.button-light:hover { background: #ecfff3; }
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; color: var(--muted); font-size: .84rem; }
.footer-inner strong { color: var(--ink); }
.footer-inner a { color: var(--blue); font-weight: 660; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 38px; padding-top: 72px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(3.4rem, 7vw, 5rem); }
  .hero-stage { width: min(100%, 710px); margin-inline: auto; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-card { min-height: 230px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 36px, 1200px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 14px; }
  .site-nav { justify-content: flex-start; gap: 8px 17px; }
  .site-nav a { font-size: .83rem; }
  .hero { padding-block: 62px 65px; }
  .hero h1 { font-size: clamp(2.8rem, 9vw, 4.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-stage { padding-left: 0; }
  .stage-decoration-one { right: 2px; }
  .stage-decoration-two { right: 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid > div, .principle-grid > div + div { padding: 18px 0; border-left: 0; }
  .principle-grid > div + div { border-top: 1px solid var(--border); }
  .section { padding-block: 78px 85px; }
  .workflow-grid { gap: 11px; }
  .workflow-card { min-height: 0; padding: 21px; }
  .compute-inner { padding-block: 78px; }
  .context-grid { grid-template-columns: 1fr; }
  .context-card { min-height: 0; padding: 26px; }
  .context-code { margin-top: 25px; padding-top: 0; }
  .evidence-grid { grid-template-columns: 1fr; gap: 24px; }
  .evidence-card, .evidence-card + .evidence-card { padding: 0 0 24px; border-left: 0; border-bottom: 1px solid var(--border); }
  .closing-inner { align-items: flex-start; flex-direction: column; padding-block: 70px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-block: 20px; }
}

@media (max-width: 480px) {
  .brand small, .brand-divider { display: none; }
  .site-nav { gap: 7px 13px; }
  .hero h1 { letter-spacing: -.055em; }
  .hero-stage { padding-top: 20px; }
  .workbench { transform: none; }
  .workbench-body { grid-template-columns: 83px minmax(0, 1fr); min-height: 395px; }
  .workbench-rail { padding-inline: 5px; font-size: .66rem; }
  .workbench-rail > span { padding-inline: 5px; }
  .rail-brand { font-size: 0; }
  .rail-brand img { width: 24px; height: 24px; }
  .rail-project { font-size: .5rem; padding-inline: 2px; }
  .workbench-main { padding-inline: 12px; }
  .workbench-heading { font-size: .73rem; }
  .user-prompt, .plan-row strong { font-size: .7rem; }
  .plan-row small { font-size: .62rem; }
  .plan-title { margin-top: 14px; }
  .workflow-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button, .site-nav a { transition: none; }
}
