:root {
  color-scheme: dark;
  --ink-950: #050b0a;
  --ink-900: #07110f;
  --ink-850: #0a1714;
  --ink-800: #0f201c;
  --paper: #f1f0e9;
  --paper-deep: #e6e5db;
  --text: #edf5ef;
  --text-muted: #9bb0a8;
  --text-dark: #0b1916;
  --text-dark-muted: #52645d;
  --mint: #31e6b3;
  --lime: #b8f05b;
  --copper: #df8b55;
  --blue: #6ec8ff;
  --line: rgba(211, 238, 226, 0.14);
  --line-dark: rgba(11, 25, 22, 0.13);
  --shadow: 0 24px 70px rgba(2, 12, 9, 0.22);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shell: min(1180px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink-950);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--ink-950);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--ink-950);
  background: var(--mint);
  font-weight: 750;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 10, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.brand-mark circle {
  fill: var(--ink-950);
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.brand-name {
  color: #f5fbf7;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-cn {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #b9c8c2;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav > a:not(.button) {
  transition: color 160ms ease;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button):focus-visible {
  color: #fff;
}

.language-toggle {
  min-width: 36px;
  border: 0;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--mint);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1.5px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--text);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  border-radius: 8px;
  font-size: 13px;
}

.button-primary {
  color: #042018;
  background: var(--mint);
  box-shadow: 0 10px 30px rgba(49, 230, 179, 0.12);
}

.button-primary:hover {
  background: #50efc1;
  box-shadow: 0 14px 38px rgba(49, 230, 179, 0.22);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.19);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.07);
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 11, 10, 0) 0%, rgba(5, 11, 10, 0.72) 100%),
    radial-gradient(circle at 67% 24%, rgba(32, 122, 98, 0.13), transparent 34%),
    var(--ink-950);
}

.hero {
  min-height: 780px;
  padding: 108px 0 38px;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-glow-one {
  top: 90px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: var(--mint);
}

.hero-glow-two {
  right: -80px;
  bottom: 40px;
  width: 300px;
  height: 300px;
  background: var(--lime);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #087956;
}

.signal-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(49, 230, 179, 0.11), 0 0 22px rgba(49, 230, 179, 0.7);
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0;
  color: #f4f8f5;
  font-size: clamp(52px, 5.3vw, 76px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.hero-lede {
  max-width: 600px;
  margin: 28px 0 0;
  color: #afc0b9;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 0;
  color: #82978f;
  font-size: 13px;
}

.trust-note svg {
  width: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  border: 1px solid rgba(109, 209, 178, 0.15);
  border-radius: var(--radius-lg);
  background: #081411;
  box-shadow: 0 46px 110px rgba(0, 0, 0, 0.43), inset 0 1px rgba(255, 255, 255, 0.035);
  isolation: isolate;
}

.board-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0.72;
}

.board-field svg {
  width: 100%;
  height: 100%;
}

.board-field pattern path {
  fill: none;
  stroke: rgba(108, 179, 157, 0.09);
  stroke-width: 1;
}

.board-field .trace {
  fill: none;
  stroke: url(#trace);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 5px rgba(49, 230, 179, 0.3));
}

.board-field .trace-muted {
  opacity: 0.33;
}

.board-field .pads circle {
  fill: #081411;
  stroke: var(--mint);
  stroke-width: 2.4;
}

.trail-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(430px, calc(100% - 56px));
  padding: 23px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(225, 248, 239, 0.16);
  border-radius: 20px;
  background: rgba(8, 20, 17, 0.93);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.trail-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.trail-kicker {
  margin: 0 0 4px;
  color: #739087;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trail-card h2 {
  margin: 0;
  color: #f0f7f3;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.visibility-badge,
.verified-pill,
.sample-badge,
.release-chip,
.status-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.visibility-badge {
  padding: 6px 10px;
  border: 1px solid rgba(110, 200, 255, 0.22);
  color: #a7d7f4;
  background: rgba(110, 200, 255, 0.08);
}

.visibility-badge > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 34px;
  bottom: 35px;
  left: 7px;
  width: 1px;
  background: linear-gradient(var(--mint), rgba(49, 230, 179, 0.15));
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 15px 0;
}

.timeline small,
.timeline strong {
  display: block;
}

.timeline small {
  margin-bottom: 3px;
  color: #6f887f;
  font-size: 10px;
}

.timeline strong {
  color: #dce9e3;
  font-size: 12px;
  font-weight: 650;
}

.timeline-node {
  z-index: 1;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  border: 3px solid #0c1c17;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 1px rgba(49, 230, 179, 0.48);
}

.node-test {
  background: var(--copper);
  box-shadow: 0 0 0 1px rgba(223, 139, 85, 0.5);
}

.node-revision {
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(110, 200, 255, 0.5);
}

.node-release {
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(184, 240, 91, 0.5);
}

.timeline-release {
  grid-template-columns: 16px minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.verified-pill {
  align-self: center;
  padding: 6px 8px;
  color: #cdea9e;
  background: rgba(184, 240, 91, 0.09);
}

.capability-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 76px;
  color: #b6c5bf;
  font-size: 13px;
  font-weight: 650;
}

.capability-strip > div + div {
  border-left: 1px solid var(--line);
}

.capability-index {
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.section {
  padding: 118px 0;
}

.section-paper {
  color: var(--text-dark);
  background: var(--paper);
}

.section-ink {
  background: var(--ink-850);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.section-heading > p:not(.eyebrow) {
  max-width: 670px;
  margin: 23px 0 0;
  color: var(--text-dark-muted);
  font-size: 17px;
  line-height: 1.8;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.workflow-card {
  position: relative;
  min-height: 330px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.34);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.workflow-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 60px rgba(20, 47, 39, 0.1);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #8b9a94;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.step-icon {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 30px;
  border: 1px solid rgba(6, 121, 86, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 230, 179, 0.11), transparent 65%);
}

.step-icon::before,
.step-icon::after,
.step-icon span {
  position: absolute;
  content: "";
}

.icon-record::before {
  top: 25px;
  left: 25px;
  width: 40px;
  height: 40px;
  border: 1.5px solid #087956;
  border-radius: 7px;
}

.icon-record span {
  left: 34px;
  width: 23px;
  height: 1.5px;
  background: #087956;
}

.icon-record span:nth-child(1) { top: 36px; }
.icon-record span:nth-child(2) { top: 44px; }
.icon-record span:nth-child(3) { top: 52px; width: 15px; }

.icon-share span {
  width: 13px;
  height: 13px;
  border: 2px solid #087956;
  border-radius: 50%;
  background: var(--paper);
}

.icon-share span:nth-child(1) { top: 23px; left: 39px; }
.icon-share span:nth-child(2) { top: 55px; left: 22px; }
.icon-share span:nth-child(3) { top: 55px; right: 22px; }
.icon-share::before,
.icon-share::after {
  top: 43px;
  width: 28px;
  height: 1.5px;
  background: #087956;
  transform-origin: center;
}
.icon-share::before { left: 25px; transform: rotate(-58deg); }
.icon-share::after { right: 25px; transform: rotate(58deg); }

.icon-open span:nth-child(1) {
  top: 22px;
  left: 30px;
  width: 32px;
  height: 43px;
  border: 1.5px solid #087956;
  border-radius: 5px;
}

.icon-open span:nth-child(2) {
  top: 33px;
  left: 39px;
  width: 15px;
  height: 8px;
  border-bottom: 1.5px solid #087956;
  border-left: 1.5px solid #087956;
  transform: rotate(-45deg);
}

.icon-open span:nth-child(3) {
  top: 54px;
  left: 39px;
  width: 15px;
  height: 1.5px;
  background: #087956;
}

.workflow-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.workflow-card p {
  margin: 13px 0 0;
  color: var(--text-dark-muted);
  font-size: 14px;
  line-height: 1.8;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 90px;
}

.section-heading-light h2 {
  color: #edf6f1;
}

.section-heading-light > p:not(.eyebrow) {
  color: #97aba3;
}

.state-stack {
  display: grid;
  gap: 10px;
}

.state-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 84px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.state-card:hover {
  transform: translateX(5px);
  border-color: rgba(49, 230, 179, 0.25);
  background: rgba(255, 255, 255, 0.045);
}

.state-card h3,
.state-card p {
  margin: 0;
}

.state-card h3 {
  color: #e7f2ec;
  font-size: 15px;
}

.state-card p {
  color: #80968d;
  font-size: 12px;
}

.state-card code {
  color: #71877f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.state-symbol {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.state-private .state-symbol span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.state-shared .state-symbol span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
}

.state-shared .state-symbol span:first-child { transform: translate(-5px, -3px); }
.state-shared .state-symbol span:last-child { transform: translate(5px, 3px); }

.state-public .state-symbol span {
  width: 16px;
  height: 10px;
  border: 1.5px solid var(--mint);
  border-radius: 50%;
}

.state-open .state-symbol span {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--lime);
  border-radius: 50%;
}

.state-open .state-symbol span:nth-child(1) { top: 8px; left: 8px; }
.state-open .state-symbol span:nth-child(2) { top: 19px; left: 15px; }
.state-open .state-symbol span:nth-child(3) { top: 8px; right: 7px; }

.heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.heading-row > div {
  max-width: 720px;
}

.sample-disclaimer {
  max-width: 300px !important;
  margin: 0 0 8px !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(20, 47, 39, 0.1);
}

.project-art {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: #0c211b;
  background-image: linear-gradient(rgba(120, 210, 180, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 210, 180, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.project-art::before,
.project-art::after,
.project-art span {
  position: absolute;
  content: "";
}

.art-sensor::before {
  top: 48px;
  left: 50%;
  width: 152px;
  height: 126px;
  transform: translateX(-50%) rotate(-4deg);
  border: 1px solid rgba(49, 230, 179, 0.55);
  border-radius: 12px;
  background: #12372c;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.art-sensor::after {
  top: 83px;
  left: 50%;
  width: 53px;
  height: 44px;
  transform: translateX(-50%) rotate(-4deg);
  border: 1px solid rgba(211, 245, 234, 0.3);
  background: #0a1a16;
}

.art-sensor span,
.art-motion span,
.art-instrument span {
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  background: #0c211b;
}

.art-sensor span:nth-child(1) { top: 63px; left: calc(50% - 55px); }
.art-sensor span:nth-child(2) { top: 63px; right: calc(50% - 55px); }
.art-sensor span:nth-child(3) { top: 148px; left: calc(50% - 53px); }
.art-sensor span:nth-child(4) { top: 145px; right: calc(50% - 56px); }

.art-motion::before {
  top: 44px;
  left: 50%;
  width: 178px;
  height: 137px;
  transform: translateX(-50%) rotate(3deg);
  clip-path: polygon(0 9%, 92% 0, 100% 90%, 7% 100%);
  background: #183b32;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.art-motion::after {
  top: 84px;
  left: 50%;
  width: 72px;
  height: 54px;
  transform: translateX(-50%) rotate(3deg);
  border: 1px solid rgba(211, 245, 234, 0.3);
  background: repeating-linear-gradient(90deg, #0a1a16 0 5px, #183b32 5px 8px);
}

.art-motion span:nth-child(1) { top: 60px; left: calc(50% - 68px); }
.art-motion span:nth-child(2) { top: 55px; right: calc(50% - 69px); }
.art-motion span:nth-child(3) { top: 152px; left: calc(50% - 63px); }
.art-motion span:nth-child(4) { top: 147px; right: calc(50% - 67px); }

.art-instrument::before {
  top: 52px;
  left: 50%;
  width: 168px;
  height: 120px;
  transform: translateX(-50%);
  border: 1px solid rgba(49, 230, 179, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, #173e33, #0e2a23);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.art-instrument::after {
  top: 76px;
  left: calc(50% - 51px);
  width: 74px;
  height: 50px;
  border: 1px solid rgba(184, 240, 91, 0.45);
  border-radius: 4px;
  background: linear-gradient(170deg, transparent 45%, rgba(184, 240, 91, 0.7) 46%, rgba(184, 240, 91, 0.7) 49%, transparent 50%);
}

.art-instrument span:nth-child(1) { top: 76px; right: calc(50% - 61px); width: 25px; height: 25px; }
.art-instrument span:nth-child(2) { top: 121px; right: calc(50% - 61px); }
.art-instrument span:nth-child(3) { top: 145px; left: calc(50% - 63px); }
.art-instrument span:nth-child(4) { top: 145px; left: calc(50% - 42px); }

.project-body {
  padding: 25px;
}

.project-meta,
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-meta {
  color: #71847c;
  font-size: 10px;
  font-weight: 720;
}

.sample-badge {
  padding: 4px 8px;
  color: #6f4d1d;
  background: rgba(219, 157, 66, 0.16);
}

.project-body h3 {
  margin: 13px 0 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.project-body > p {
  min-height: 70px;
  margin: 9px 0 0;
  color: var(--text-dark-muted);
  font-size: 13px;
  line-height: 1.7;
}

.project-footer {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line-dark);
  color: #687a73;
  font-size: 10px;
  font-weight: 700;
}

.release-chip {
  padding: 5px 8px;
  color: #086c4f;
  background: rgba(49, 230, 179, 0.12);
}

.release-source {
  color: #536674;
  background: rgba(110, 200, 255, 0.12);
}

.section-manifest {
  color: var(--text-dark);
  background: var(--paper-deep);
}

.manifest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 80px;
}

.manifest-window {
  overflow: hidden;
  border: 1px solid rgba(49, 230, 179, 0.17);
  border-radius: 18px;
  background: #091512;
  box-shadow: 0 35px 80px rgba(21, 48, 40, 0.18);
}

.window-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c1b17;
}

.window-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #355047;
}

.window-bar > span:nth-child(1) { background: #ca7951; }
.window-bar > span:nth-child(2) { background: #d5b74e; }
.window-bar > span:nth-child(3) { background: #43b787; }

.window-bar code {
  margin-left: 8px;
  color: #70887f;
  font-size: 10px;
}

.manifest-window pre {
  margin: 0;
  padding: 30px;
  overflow: auto;
  color: #afc1ba;
  font: 12px/1.85 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.json-key { color: #91d5bd; }
.json-string { color: #d6e99e; }

.check-list {
  display: grid;
  gap: 15px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 13px;
}

.check-list li > span {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: #0a7957;
}

.check-list li > span::after {
  position: absolute;
  top: 5px;
  left: 7px;
  width: 6px;
  height: 9px;
  transform: rotate(45deg);
  border-right: 1.5px solid white;
  border-bottom: 1.5px solid white;
  content: "";
}

.check-list p {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 13px;
}

.founding-section {
  position: relative;
  overflow: hidden;
  background: #07110f;
}

.founding-section::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 12% 30%, rgba(49, 230, 179, 0.1), transparent 33%), radial-gradient(circle at 82% 80%, rgba(184, 240, 91, 0.08), transparent 30%);
  content: "";
}

.founding-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 70px;
  padding: 62px;
  overflow: hidden;
  border: 1px solid rgba(49, 230, 179, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(49, 230, 179, 0.07), rgba(255, 255, 255, 0.025));
}

.founding-card::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(49, 230, 179, 0.13);
  border-radius: 50%;
  content: "";
}

.founding-card h2 {
  max-width: 760px;
  margin: 0;
  color: #f0f6f2;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.founding-card > div:first-child > p:not(.eyebrow) {
  max-width: 760px;
  margin: 21px 0 0;
  color: #97aaa2;
  font-size: 15px;
}

.founding-action {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 230px;
  justify-items: start;
  gap: 13px;
}

.status-label {
  padding: 5px 9px;
  color: #b5ccbf;
  background: rgba(255, 255, 255, 0.05);
}

.status-label > span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #efb65e;
}

.button-light {
  color: #113128;
  background: #dae7df;
}

.button-light:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.founding-action small {
  max-width: 240px;
  color: #71867d;
  font-size: 10px;
}

.site-footer {
  padding: 60px 0 24px;
  color: #82948d;
  background: #040807;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 50px;
}

.footer-brand {
  margin-bottom: 13px;
}

.footer-grid p {
  margin: 0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-links span {
  color: #52625c;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #53635d;
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

  .hero-visual {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }

  .trust-grid,
  .manifest-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .trust-grid .section-heading,
  .manifest-grid .section-heading {
    max-width: 760px;
  }

  .state-stack {
    max-width: 760px;
  }

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

  .project-card:last-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .project-card:last-child .project-art {
    height: auto;
    min-height: 250px;
  }

  .founding-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    background: rgba(6, 14, 12, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 0;
  }

  .primary-nav > a:not(.button),
  .language-toggle {
    min-height: 46px;
    padding: 12px 6px;
    text-align: left;
  }

  .primary-nav .button {
    margin-top: 9px;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 12vw, 64px);
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 0;
  }

  .heading-row {
    display: block;
  }

  .sample-disclaimer {
    margin-top: 24px !important;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card:last-child {
    grid-column: auto;
    display: block;
  }

  .project-card:last-child .project-art {
    min-height: 230px;
  }

  .founding-card {
    padding: 38px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 84px 0;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 26px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: 43px;
    line-height: 1.09;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 480px;
  }

  .trail-card {
    width: calc(100% - 28px);
    padding: 18px;
  }

  .timeline-release {
    grid-template-columns: 16px minmax(0, 1fr) !important;
  }

  .timeline-release .verified-pill {
    grid-column: 2;
    margin-top: 8px;
  }

  .capability-strip {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .capability-strip > div {
    justify-content: flex-start;
    min-height: 58px;
    padding-inline: 10px;
  }

  .capability-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading h2,
  .founding-card h2 {
    font-size: 35px;
  }

  .trust-grid {
    gap: 42px;
  }

  .state-card {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .state-card code {
    display: none;
  }

  .manifest-window pre {
    padding: 22px;
    font-size: 10px;
  }

  .founding-card {
    padding: 30px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    display: grid;
    justify-content: start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Warm, very-light site canvas. Dark PCB previews remain as visual anchors. */
:root {
  color-scheme: light;
  --paper: #fffdf4;
  --paper-deep: #f8f1dd;
  --warm-canvas: #fffdf4;
  --warm-tint: #fff8e8;
  --warm-footer: #f5eedb;
}

html,
body {
  color: var(--text-dark);
  background: var(--warm-canvas);
}

.site-header {
  border-bottom-color: rgba(71, 66, 44, 0.12);
  background: rgba(255, 253, 244, 0.9);
  box-shadow: 0 8px 30px rgba(89, 77, 39, 0.045);
}

.brand-mark circle {
  fill: var(--warm-canvas);
}

.brand-name {
  color: #173028;
}

.brand-cn,
.primary-nav,
.language-toggle {
  color: #65766f;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button):focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible {
  color: #087956;
}

.nav-toggle {
  border-color: var(--line-dark);
}

.nav-toggle > span:not(.sr-only) {
  background: #173028;
}

.button-ghost {
  border-color: rgba(23, 48, 40, 0.18);
  color: #173028;
  background: rgba(255, 255, 255, 0.5);
}

.button-ghost:hover {
  border-color: rgba(8, 121, 86, 0.36);
  background: rgba(255, 255, 255, 0.82);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline-color: #087956;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 253, 244, 0) 0%, rgba(255, 248, 232, 0.82) 100%),
    radial-gradient(circle at 67% 24%, rgba(236, 197, 79, 0.1), transparent 36%),
    var(--warm-canvas);
}

.hero::before {
  background-image:
    linear-gradient(rgba(72, 86, 66, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 86, 66, 0.045) 1px, transparent 1px);
}

.hero-glow {
  opacity: 0.075;
}

.eyebrow {
  color: #087956;
}

.hero-copy h1 {
  color: #12271f;
}

.hero-lede {
  color: #586c63;
}

.trust-note {
  color: #73847c;
}

.capability-strip {
  border-top-color: var(--line-dark);
  border-bottom-color: var(--line-dark);
}

.capability-strip > div {
  color: #52665d;
}

.capability-strip > div + div {
  border-left-color: var(--line-dark);
}

.section-paper {
  background: var(--warm-canvas);
}

.section-ink {
  color: var(--text-dark);
  background: var(--warm-tint);
}

.section-heading-light h2 {
  color: #173028;
}

.section-heading-light > p:not(.eyebrow) {
  color: var(--text-dark-muted);
}

.state-card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 32px rgba(88, 74, 34, 0.035);
}

.state-card:hover {
  border-color: rgba(8, 121, 86, 0.25);
  background: rgba(255, 255, 255, 0.86);
}

.state-card h3 {
  color: #173028;
}

.state-card p,
.state-card code {
  color: #66786f;
}

.state-symbol {
  border-color: rgba(23, 48, 40, 0.15);
}

.founding-section {
  background: var(--warm-tint);
}

.founding-section::before {
  background-image:
    radial-gradient(circle at 12% 30%, rgba(49, 230, 179, 0.09), transparent 33%),
    radial-gradient(circle at 82% 80%, rgba(236, 197, 79, 0.12), transparent 30%);
}

.founding-card {
  border-color: rgba(8, 121, 86, 0.18);
  background: linear-gradient(125deg, rgba(49, 230, 179, 0.065), rgba(255, 255, 255, 0.66));
  box-shadow: 0 24px 70px rgba(88, 74, 34, 0.06);
}

.founding-card h2 {
  color: #173028;
}

.founding-card > div:first-child > p:not(.eyebrow) {
  color: var(--text-dark-muted);
}

.status-label {
  color: #556a60;
  background: rgba(255, 255, 255, 0.7);
}

.button-light {
  color: #173028;
  background: #e5eadc;
}

.founding-action small {
  color: #687b72;
}

.site-footer {
  color: #65766f;
  background: var(--warm-footer);
}

.footer-links span,
.footer-bottom {
  color: #77877f;
}

.footer-bottom {
  border-top-color: rgba(71, 66, 44, 0.12);
}

@media (max-width: 820px) {
  .primary-nav {
    border-color: var(--line-dark);
    background: rgba(255, 253, 244, 0.98);
    box-shadow: 0 24px 70px rgba(88, 74, 34, 0.14);
  }
}

@media (max-width: 600px) {
  .capability-strip > div + div {
    border-top-color: var(--line-dark);
  }
}
