:root {
  color: #1c2922;
  background: #f0f1ec;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 4%, rgba(89, 122, 104, 0.14), transparent 30rem),
    linear-gradient(rgba(44, 62, 52, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 62, 52, 0.032) 1px, transparent 1px),
    #f0f1ec;
  background-size: auto, 4rem 4rem, 4rem 4rem, auto;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  color: #f7f7f2;
  background: #2f5140;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1240px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cbd1cb;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: -0.02em; }
.brand small { color: #718077; font-size: 8px; font-weight: 800; letter-spacing: 0.16em; }

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #f5f6f1;
  background: #274535;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

nav { display: flex; align-items: center; gap: 26px; }
nav a { color: #657168; font-size: 12px; font-weight: 700; transition: color 160ms ease; }
nav a:hover { color: #264634; }

.hero {
  padding: 86px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: 68px;
}

.eyebrow {
  margin: 0 0 22px;
  color: #52705f;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-weight: 500;
  letter-spacing: -0.052em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 6.3vw, 5.6rem);
  line-height: 0.98;
}

h1 span, h2 span { color: #5e7568; }

.lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: #657169;
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  min-width: 184px;
  min-height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #f6f7f2; background: #2e513f; }
.button-primary:hover { background: #234231; }
.button-secondary { border-color: #bdc8c0; color: #365344; background: rgba(249, 250, 246, 0.72); }
.button-secondary:hover { border-color: #8fa397; background: rgba(249, 250, 246, 0.96); }

.demo-note {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7a857e;
  font-size: 10px;
}

.demo-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #59806b;
  box-shadow: 0 0 0 4px rgba(89, 128, 107, 0.12);
}

.hero-system {
  padding: 20px;
  border: 1px solid #b9c7bd;
  border-radius: 24px;
  background: rgba(232, 239, 233, 0.82);
  box-shadow: 0 24px 70px rgba(38, 61, 48, 0.09);
}

.system-head {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  color: #68786e;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.live-dot { color: #3f6852; }

.system-node {
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  border: 1px solid #c5cec7;
  border-radius: 13px;
  background: rgba(249, 250, 246, 0.78);
}

.system-node small { grid-column: 1 / -1; color: #819087; font-size: 7px; font-weight: 850; letter-spacing: 0.13em; }
.system-node strong { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 500; }
.system-node span { align-self: center; color: #748078; font-size: 8px; }
.system-node.output { border-color: #7e9f8b; background: #e0ebe3; }
.system-arrow { height: 22px; display: grid; place-items: center; color: #809086; font-size: 10px; }

.system-branches {
  margin: 10px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.system-branches span {
  padding: 9px 4px;
  border: 1px solid #c1cbc4;
  border-radius: 9px;
  color: #5f7467;
  background: rgba(248, 249, 245, 0.65);
  font-size: 7px;
  font-weight: 850;
  text-align: center;
  letter-spacing: 0.06em;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #c4ccc6;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(246, 247, 242, 0.66);
}

.metrics > div { min-height: 116px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #c4ccc6; }
.metrics > div:last-child { border-right: 0; }
.metrics strong { font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; }
.metrics span { color: #748078; font-size: 8px; font-weight: 850; letter-spacing: 0.13em; }

.problem-section, .highlight-section, .stack-section { padding: 110px 0; }

.section-heading { margin-bottom: 38px; }
.section-heading h2 { max-width: 800px; margin-bottom: 0; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.02; }

.split-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); align-items: end; gap: 70px; }
.split-heading > p { margin-bottom: 4px; color: #6d7971; font-size: 13px; line-height: 1.75; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.problem-grid article, .highlight-grid article, .stack-grid article { padding: 26px; border: 1px solid #c4ccc6; border-radius: 20px; background: rgba(247, 248, 243, 0.68); }
.problem-grid article > span, .highlight-grid article > span { color: #829087; font-size: 8px; font-weight: 850; letter-spacing: 0.13em; }
.problem-grid h3, .highlight-grid h3, .stack-grid h3 { margin: 46px 0 12px; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 24px; font-weight: 500; }
.problem-grid p, .highlight-grid p, .stack-grid p { margin-bottom: 0; color: #68746c; font-size: 12px; line-height: 1.75; }

.architecture-section, .evidence-section {
  padding: 110px 0;
  border-top: 1px solid #c8cec8;
  border-bottom: 1px solid #c8cec8;
  background: rgba(229, 235, 229, 0.68);
}

.layer-stack { border: 1px solid #b9c5bc; border-radius: 24px; overflow: hidden; background: rgba(248, 249, 245, 0.72); }
.layer-stack article { min-height: 112px; padding: 22px 26px; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 22px; border-bottom: 1px solid #c5cdc7; }
.layer-stack article:last-child { border-bottom: 0; }
.layer-index { color: #789083; font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.layer-stack small { color: #809087; font-size: 7px; font-weight: 850; letter-spacing: 0.14em; }
.layer-stack h3 { margin: 6px 0 4px; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 23px; font-weight: 500; }
.layer-stack p { margin: 0; color: #6f7b73; font-size: 11px; }
.layer-stack article > strong { color: #3e5d4c; font-size: 11px; letter-spacing: 0.04em; }

.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.highlight-grid article { min-height: 260px; display: flex; flex-direction: column; }
.highlight-grid h3 { margin-top: auto; }
.highlight-quote { color: #f3f5ef; background: #2e4e3c !important; border-color: #2e4e3c !important; }
.highlight-quote > span { color: #b9cbbf !important; }
.highlight-quote blockquote { margin: auto 0 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 24px; line-height: 1.45; }

.evaluation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.evaluation-grid article { min-height: 190px; padding: 22px; display: flex; flex-direction: column; border: 1px solid #bdc8c0; border-radius: 18px; background: rgba(248, 249, 245, 0.76); }
.evaluation-grid article > span { color: #6e8175; font-size: 8px; font-weight: 850; letter-spacing: 0.13em; }
.evaluation-grid h3 { margin: 18px 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 500; }
.evaluation-grid strong { font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; }
.evaluation-grid small { margin-top: 5px; color: #7b877f; font-size: 7px; font-weight: 850; letter-spacing: 0.12em; }
.evaluation-primary { border-color: #71927f !important; background: #dfeae2 !important; }

.evidence-note { margin-top: 14px; padding: 26px; display: grid; grid-template-columns: minmax(240px, 0.55fr) 1fr; gap: 50px; border: 1px solid #bdc8c0; border-radius: 18px; background: rgba(248, 249, 245, 0.72); }
.evidence-note strong { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.evidence-note p { margin: 0; color: #657169; font-size: 12px; line-height: 1.75; }

.product-shot { margin: 50px 0 0; overflow: hidden; border: 1px solid #b7c3ba; border-radius: 24px; background: #f7f8f3; box-shadow: 0 28px 80px rgba(43, 66, 53, 0.1); }
.product-shot img { width: 100%; max-height: 800px; object-fit: cover; object-position: top; }
.product-shot figcaption { min-height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #c5ccc7; color: #748078; font-size: 8px; font-weight: 850; letter-spacing: 0.11em; }

.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stack-grid article { min-height: 205px; }
.stack-grid small { color: #688073; font-size: 8px; font-weight: 850; letter-spacing: 0.13em; }
.stack-grid h3 { margin-top: 54px; }

.closing-section { padding: 40px 0 120px; }
.closing-section h2 { max-width: 870px; margin-bottom: 32px; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; }

.site-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #cbd1cb; color: #738078; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; }
.not-found { min-height: 100vh; padding-block: 18vh; }
.not-found h1 { max-width: 850px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-system { width: min(580px, 100%); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .evaluation-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .shell, .site-header { width: min(100% - 24px, 620px); }
  .site-header { min-height: 74px; }
  nav a:not(:last-child) { display: none; }
  .hero { padding: 64px 0 52px; gap: 44px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .metrics, .problem-grid, .highlight-grid, .stack-grid { grid-template-columns: 1fr; }
  .metrics > div { min-height: 92px; border-right: 0; border-bottom: 1px solid #c4ccc6; }
  .metrics > div:last-child { border-bottom: 0; }
  .problem-section, .highlight-section, .stack-section, .architecture-section, .evidence-section { padding: 76px 0; }
  .split-heading, .evidence-note { grid-template-columns: 1fr; gap: 18px; }
  .layer-stack article { grid-template-columns: 40px 1fr; gap: 14px; }
  .layer-stack article > strong { grid-column: 2; }
  .highlight-grid article { min-height: 235px; }
  .product-shot img { min-height: 420px; object-fit: cover; object-position: top left; }
  .product-shot figcaption, .site-footer { padding-block: 20px; align-items: flex-start; flex-direction: column; }
  .closing-section { padding-bottom: 88px; }
}

@media (max-width: 430px) {
  .hero-actions, .button { width: 100%; }
  .evaluation-grid { grid-template-columns: 1fr; }
  .system-node { grid-template-columns: 1fr; }
  .system-node span { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
