:root {
  --minimal-ink: #111214;
  --minimal-muted: #62666d;
  --minimal-line: #e7e7e5;
  --minimal-wash: #f7f7f4;
  --minimal-accent: #7857ff;
}

body {
  color: var(--minimal-ink);
  background: #fff;
  font-family: Inter, "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
  overflow-x: clip;
}

.site-header {
  min-height: 70px;
  gap: 28px;
  padding-block: 10px;
  border-color: rgba(20, 20, 20, .08);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(22px) saturate(150%);
}
.site-header .brand { order: 1; }
.site-header .nav { order: 2; }
.site-header .header-actions { order: 3; }

.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand strong { color: #111; font-size: 19px; font-weight: 720; }
.brand small { color: #777; font-size: 13px; }
.nav { gap: 24px; }
.nav a { color: #4f5155; font-size: 13px; font-weight: 580; }
.nav a:hover { color: #111; }
.language-toggle { color: #333; font-size: 13px; }

.button {
  min-height: 50px;
  padding: 13px 23px;
  border-color: #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 650;
  box-shadow: none;
}
.button:hover { background: #292929; box-shadow: none; transform: translateY(-1px); }
.button-quiet { border-color: #d7d7d4; background: #fff; color: #171717; }
.button-quiet:hover { background: var(--minimal-wash); }
.button-small { min-height: 40px; padding: 9px 17px; }

.section-shell { width: min(1180px, calc(100% - 56px)); }
.hero.ai-home {
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  gap: clamp(48px, 6vw, 88px);
  min-height: 690px;
  padding-block: 88px 96px;
}
.agent-first-hero-copy { min-width: 0; align-self: center; }
.agent-first-hero-copy .eyebrow {
  padding: 0;
  border: 0;
  background: transparent;
  color: #6d57da;
  font-size: 12px;
  letter-spacing: .1em;
}
.agent-first-hero-copy .status-dot { width: 7px; height: 7px; background: #8064ff; box-shadow: 0 0 0 5px rgba(128, 100, 255, .1); }
.agent-first-hero-copy h1 {
  max-width: 680px;
  margin: 24px 0 22px;
  color: #101113;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(56px, 6.1vw, 86px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.agent-first-hero-copy .hero-lead {
  max-width: 620px;
  color: var(--minimal-muted);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.58;
}
.agent-first-hero-copy .hero-audience { max-width: 700px; margin: 14px 0 0; color: #4f4d58; font-size: 14px; line-height: 1.55; }
.agent-first-hero-copy .hero-actions { margin-top: 34px; }
.agent-first-proof { margin-top: 24px; gap: 8px 20px; color: #777b80; font-size: 12px; font-weight: 560; }
.agent-first-proof li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: #8e77ff; }

.agent-execution-map {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #dedddb;
  border-radius: 32px;
  background: linear-gradient(145deg, #fbfaf8 0%, #f2f0ff 100%);
  box-shadow: 0 30px 90px rgba(33, 25, 70, .1);
}
.hero.ai-home > *,
.studio-demo,
.ai-home-story { min-width: 0; }
.agent-execution-map::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 122, 255, .3), rgba(154, 122, 255, 0) 70%);
  pointer-events: none;
}
.agent-execution-map header,
.agent-execution-map footer { position: relative; border-color: rgba(30, 30, 30, .1); }
.agent-execution-map header > span { border: 1px solid #d9d3ff; background: rgba(255,255,255,.7); color: #6652c8; }
.agent-execution-flow { position: relative; }
.agent-execution-flow article { border-color: rgba(35,35,35,.1); background: rgba(255,255,255,.82); box-shadow: none; }
.agent-execution-flow article > span { background: #171717; color: #fff; }
.agent-execution-flow i { color: #8b78e8; }

.ai-hero-copy, .ai-product-map, .home-path-panel-legacy { display: none !important; }

.studio-demo {
  grid-column: 1 / -1;
  margin-top: 54px;
  padding-top: 94px;
  border-top: 1px solid var(--minimal-line);
}
.studio-demo-heading { max-width: 980px; }
.studio-demo-heading h2,
.home-focus-heading h2 { color: #131416; font-family: Georgia, "Times New Roman", "Songti SC", serif; font-weight: 500; letter-spacing: -.04em; }
.studio-demo-tabs button { border-radius: 14px; box-shadow: none; }
.studio-demo-stage { border-color: #dfdfdc; border-radius: 24px; box-shadow: 0 24px 80px rgba(20,20,20,.08); }

.ai-home-story.home-focus-story {
  grid-column: 1 / -1;
  margin-top: 110px;
  padding: 0;
  border: 0;
  background: transparent;
}
.home-focus-heading { max-width: 900px; }
.home-focus-heading h2 { max-width: 850px; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; }
.home-outcome-grid { margin-top: 52px; gap: 0; border-top: 1px solid var(--minimal-line); border-bottom: 1px solid var(--minimal-line); }
.home-outcome-grid article { min-height: 230px; padding: 34px 30px; border: 0; border-right: 1px solid var(--minimal-line); border-radius: 0; background: #fff; box-shadow: none; }
.home-outcome-grid article:last-child { border-right: 0; }
.home-outcome-grid article > span { color: #927aff; }
.home-outcome-grid strong { color: #171717; font-size: 20px; }
.home-outcome-grid p { color: var(--minimal-muted); }

.home-path-panel.agent-execution-home {
  margin-top: 88px;
  gap: 1px;
  padding: 1px;
  border: 0;
  border-radius: 26px;
  background: #dededb;
  box-shadow: none;
}
.home-path-panel.agent-execution-home > div { padding: clamp(34px, 5vw, 64px); border: 0; border-radius: 25px; background: #f8f8f5; }
.home-path-panel.agent-execution-home > div:first-child,
.home-path-panel.agent-execution-home .home-machine-card {
  border: 1px solid #e1dfeb;
  background: #f7f6fc;
  color: #171719;
}
.home-path-panel.agent-execution-home .home-machine-card { background: #eeecfa; }
.home-path-panel.agent-execution-home > div:first-child .kicker,
.home-path-panel.agent-execution-home .home-machine-card small { color: #6553bc; }
.home-path-panel.agent-execution-home > div:first-child h2,
.home-path-panel.agent-execution-home .home-machine-card h2 { color: #171719; }
.home-path-panel.agent-execution-home > div:first-child p,
.home-path-panel.agent-execution-home .home-machine-card p { color: #555b65; }
.home-path-panel.agent-execution-home > div:first-child .text-action,
.home-path-panel.agent-execution-home .home-machine-card .text-action { color: #4936a4; }
.home-path-panel.agent-execution-home h2 { font-family: Georgia, "Times New Roman", "Songti SC", serif; font-weight: 500; }
.home-path-panel.agent-execution-home p { max-width: 560px; }

.future-trust-panel { margin-top: 88px; padding: clamp(38px, 6vw, 72px); border: 0; border-radius: 28px; background: #f4f3ff; box-shadow: none; }
.future-trust-panel header { max-width: 850px; }
.future-trust-panel h2 { font-family: Georgia, "Times New Roman", "Songti SC", serif; font-weight: 500; }
.future-stage-grid { gap: 12px; }
.future-stage-grid article { border: 1px solid rgba(30,30,30,.08); background: rgba(255,255,255,.65); box-shadow: none; }
.home-cta-strip { margin-top: 88px; padding: clamp(34px, 5vw, 58px); border: 1px solid #e1deef; border-radius: 26px; background: #f4f2fb; color: #171719; box-shadow: none; }
.home-cta-strip small { color: #6553bc; }
.home-cta-strip strong { color: #171719; }
.home-cta-strip p { color: #555b65; }
.home-boundary-note { max-width: 860px; margin: 24px auto 0; color: #777; font-size: 12px; text-align: center; }

/* Readability normalization: large content surfaces use dark text on light backgrounds. */
.section-dark,
.vision-card,
.founder,
.monetization-cta,
.adoption-future,
.audience-block,
.recognition-boundary {
  border-color: #dedde5;
  background: #f5f5f2;
  color: #171719;
  box-shadow: none;
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark strong,
.section-dark summary,
.vision-card h2,
.founder h2,
.monetization-cta h2,
.monetization-cta h3,
.adoption-future strong,
.audience-block h2,
.recognition-boundary h2,
.recognition-boundary h3,
.trust-proof-strip strong,
.trust-executive-summary strong,
.trust-procurement-checklist > header h3,
.trust-procurement-checklist article h3 {
  color: #171719;
}
.section-dark p,
.section-dark li,
.section-dark small,
.vision-card > p,
.founder p,
.founder-action small,
.founder-next li,
.monetization-cta p,
.adoption-future p,
.audience-block p,
.recognition-boundary p {
  color: #555b65;
}
.section-dark .kicker,
.vision-card .kicker,
.founder .kicker,
.audience-block .kicker { color: #6553bc; }
.trust-grid article,
.trust-proof-strip,
.trust-executive-summary article,
.trust-procurement-checklist article,
.recognition-boundary article,
.section-dark .progressive-disclosure {
  border-color: #dedde5;
  background: #fff;
}
.trust-grid p,
.trust-proof-strip p,
.trust-executive-summary p,
.trust-procurement-checklist p { color: #555b65; }
.section-dark .progressive-disclosure > summary { color: #171719; }
.vision-path span,
.audience-chips span,
.founder-form {
  border-color: #d8d5e5;
  background: #fff;
  color: #29272f;
  box-shadow: none;
}
.founder-form label,
.founder-form label > span small,
.founder-form > small,
.founder-form .consent { color: #474c55; }
.founder-next span { border-color: #d4d1df; background: #fff; color: #4936a4; }
.footer-product-links a:hover { color: #171719; }

.studio-demo-tabs button[aria-selected="true"] {
  border-color: #cfc8f4;
  background: #eeebff;
  color: #282332;
  box-shadow: none;
}
.studio-demo-stage figcaption {
  background: #f4f3f8;
  color: #29272f;
}
.studio-demo-stage figcaption small { color: #6553bc; }

.section { padding-block: 96px; }
.section-heading { max-width: 760px; }
.section-heading h2, .founder h2 { color: #171719; font-family: Georgia, "Times New Roman", "Songti SC", serif; font-weight: 500; }
.section-heading p, .founder p { color: var(--minimal-muted); }
.feature-card, .coverage-grid article, .solution-row, .trust-grid article { box-shadow: none; }
.footer { border-color: var(--minimal-line); background: #fafaf8; }
.footer {
  padding-block: 34px;
}
.footer-main {
  display: grid;
  grid-template-columns: auto minmax(160px, .7fr) minmax(420px, 1.45fr) auto;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100vw - 56px));
  margin-inline: auto;
}
.footer-main > p { margin: 0; color: #686b70; font-size: 13px; line-height: 1.4; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 17px; }
.footer-links a { color: #4f5359; font-size: 12px; font-weight: 600; }
.footer-links a:hover { color: #171719; }
.footer-meta { display: flex; align-items: center; justify-content: flex-end; gap: 13px; color: #73767b; font-size: 11px; white-space: nowrap; }
.footer-meta .github-link { color: #33363a !important; font-size: 12px; font-weight: 700; }

/* Tighter card rhythm: compact, but never visually crowded. */
.feature-grid,
.coverage-grid,
.trust-grid,
.case-grid,
.future-stage-grid,
.home-outcome-grid,
.solution-grid,
.automation-grid,
.agent-access-grid,
.open-principles { gap: 12px; }
.scenario-list,
.steps,
.stage-rail { gap: 10px; }
.home-path-panel.agent-execution-home { margin-top: 68px; }
.future-trust-panel { margin-top: 68px; }
.home-cta-strip { margin-top: 68px; }

@media (max-width: 980px) {
  .hero.ai-home { grid-template-columns: 1fr; min-height: auto; }
  .agent-execution-map { max-width: 720px; }
  .nav { display: none; }
  .footer-main { grid-template-columns: auto 1fr; }
  .footer-links { justify-content: flex-start; grid-column: 1 / -1; }
  .footer-meta { justify-content: flex-start; grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 64px; }
  .hero.ai-home { gap: 46px; padding-block: 56px 72px; }
  .agent-first-hero-copy,
  .agent-first-hero-copy h1,
  .agent-first-hero-copy .hero-lead { width: calc(100vw - 30px); max-width: calc(100vw - 30px); }
  .agent-first-hero-copy h1 { font-size: clamp(46px, 13vw, 58px); }
  .agent-first-hero-copy h1 { overflow-wrap: anywhere; }
  .agent-first-hero-copy .hero-lead { font-size: 17px; }
  .agent-first-proof { grid-template-columns: 1fr 1fr; }
  .agent-execution-map { padding: 20px; border-radius: 24px; }
  .agent-execution-flow { gap: 9px; }
  .agent-execution-flow i { transform: rotate(90deg); }
  .studio-demo { margin-top: 16px; padding-top: 70px; }
  .ai-home-story.home-focus-story { margin-top: 82px; }
  .home-outcome-grid { grid-template-columns: 1fr; }
  .home-outcome-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--minimal-line); }
  .home-outcome-grid article:last-child { border-bottom: 0; }
  .home-path-panel.agent-execution-home { grid-template-columns: 1fr; }
  .future-stage-grid { grid-template-columns: 1fr; }
  .home-cta-strip { align-items: flex-start; }
  .footer { padding-block: 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 14px; width: min(100% - 30px, 1180px); }
  .footer-links, .footer-meta { grid-column: auto; justify-content: flex-start; }
  .footer-links { gap: 10px 16px; }
  .footer-meta { flex-wrap: wrap; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .agent-first-hero-copy .status-dot { animation: none; }
}
.pilot-evidence-panel {
  margin-top: 88px;
  padding: clamp(38px, 6vw, 68px);
  border: 1px solid #e4e1ef;
  border-radius: 28px;
  background: #fbfafc;
}
.pilot-evidence-panel header { max-width: 880px; }
.pilot-evidence-panel h2 {
  max-width: 820px;
  margin: 12px 0 14px;
  color: #171719;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.04em;
}
.pilot-evidence-panel header p {
  max-width: 780px;
  margin: 0;
  color: var(--minimal-muted);
  font-size: 17px;
  line-height: 1.65;
}
.pilot-evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}
.pilot-evidence-grid article {
  padding: 28px;
  border: 1px solid #e1ddeb;
  border-radius: 20px;
  background: #fff;
}
.pilot-evidence-grid article > span {
  display: block;
  margin-bottom: 24px;
  color: #725ed5;
  font-size: 12px;
  font-weight: 800;
}
.pilot-evidence-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #171719;
  font-size: 19px;
}
.pilot-evidence-grid p {
  margin: 0;
  color: var(--minimal-muted);
  font-size: 14px;
  line-height: 1.65;
}
.pilot-evidence-boundary {
  margin: 16px 0 0;
  padding: 14px 17px;
  border-radius: 13px;
  background: #f0eef8;
  color: #544b77;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .pilot-evidence-grid { grid-template-columns: 1fr; }
  .pilot-evidence-panel { margin-top: 64px; padding: 30px 22px; }
}

/* Compact homepage explanation rhythm and stable footer alignment. */
.home-outcome-grid article { min-height: 190px; padding: 26px 24px; }
.home-path-panel.agent-execution-home { margin-top: 40px; }
.home-path-panel.agent-execution-home > div { padding: clamp(30px, 4vw, 46px); }
.future-trust-panel { margin-top: 40px; padding: clamp(30px, 4vw, 44px); }
.future-stage-grid article { min-height: 0; padding: 22px; }
.future-stage-grid strong { margin: 14px 0 8px; }
.pilot-evidence-panel { margin-top: 32px; padding: clamp(30px, 4vw, 44px); }
.pilot-evidence-grid article { padding: 22px; }
.pilot-evidence-grid article > span { margin-bottom: 15px; }
.home-cta-strip { margin-top: 32px; }

.home-use-cases {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--minimal-line);
}
.home-use-cases > header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: end;
  gap: 42px;
}
.home-use-cases h2 {
  max-width: 720px;
  margin: 12px 0 0;
  color: #171719;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.04em;
}
.home-use-cases > header > p { margin: 0; color: var(--minimal-muted); font-size: 15px; line-height: 1.65; }
.home-use-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.home-use-case-grid article { padding: 24px; border: 1px solid #e1e1de; border-radius: 20px; background: #fff; }
.home-use-case-grid article > span { display: block; margin-bottom: 18px; color: #725ed5; font-size: 12px; font-weight: 800; }
.home-use-case-grid small { display: block; color: #6553bc; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.home-use-case-grid em { display: block; margin-top: 8px; color: #77737f; font-size: 10px; font-style: normal; line-height: 1.35; }
.home-use-case-grid strong { display: block; margin: 10px 0 9px; color: #171719; font-size: 18px; line-height: 1.35; }
.home-use-case-grid p { margin: 0; color: var(--minimal-muted); font-size: 13px; line-height: 1.6; }
.home-use-cases > .text-action { display: inline-flex; margin-top: 22px; }

.footer-main { grid-template-columns: minmax(250px, .9fr) minmax(430px, 1.35fr) auto; gap: 28px; }
.footer-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.footer-identity > p { max-width: 180px; margin: 0; color: #686b70; font-size: 12px; line-height: 1.35; }

@media (max-width: 980px) {
  .home-use-cases > header { grid-template-columns: 1fr; gap: 14px; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-identity { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .home-use-case-grid { grid-template-columns: 1fr; }
  .home-use-cases { margin-top: 32px; padding-top: 30px; }
  .pilot-evidence-panel { margin-top: 30px; padding: 28px 20px; }
}

@media (max-width: 620px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-identity { grid-column: auto; align-items: flex-start; flex-direction: column; gap: 10px; }
}
