:root {
  --ink: #101713;
  --paper: #f1f1e8;
  --mist: #d5d9cc;
  --line: #aeb8a4;
  --acid: #b7f864;
  --jade: #38c1a7;
  --sand: #f2a65a;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --mono: "IBM Plex Mono", "Microsoft YaHei UI", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--mono); font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 30; top: -5rem; left: 1rem; padding: .65rem .9rem; color: var(--ink); background: var(--acid); transition: top .2s ease; }
.skip-link:focus { top: 1rem; }
.grain { position: fixed; z-index: 10; inset: 0; pointer-events: none; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

.site-header { width: min(1440px, calc(100% - 64px)); margin: 0 auto; min-height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 16px; font-weight: 600; letter-spacing: -.04em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.7vw, 2.75rem); color: #3a443a; font-size: 12px; }
nav a, .header-link, footer a:last-child { transition: color .18s ease; }
nav a:hover, .header-link:hover, footer a:last-child:hover { color: #187864; }
.header-link { font-size: 12px; font-weight: 600; }

.hero { position: relative; width: min(1440px, calc(100% - 64px)); min-height: 680px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .8fr); align-items: center; gap: 8vw; padding: 78px 5.4vw 90px 0; }
.hero::before { content: "M"; position: absolute; z-index: -1; top: 12px; right: -5px; color: #dde4d4; font: 900 clamp(18rem, 36vw, 37rem)/.7 var(--serif); letter-spacing: -.2em; }
.hero-copy { min-width: 0; max-width: 690px; }
.kicker, .section-number { display: flex; align-items: center; gap: .6rem; margin: 0 0 20px; color: #536554; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.kicker span { width: 28px; height: 1px; background: var(--jade); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.08em; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.15rem, 6.4vw, 6.7rem); line-height: .99; }
h1 em, h2 em { color: #247e70; font-style: normal; }
.lede { max-width: 560px; color: #3d4d40; font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 48px; padding: 0 18px; font-size: 12px; font-weight: 600; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--acid); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.primary:hover { background: #d3ff96; }
.text-button { border-bottom: 1px solid var(--ink); padding: 0 0 2px; min-height: auto; }
.proofs { display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 40px 0 0; padding: 0; color: #536554; font-size: 10px; list-style: none; }
.proofs li::before { content: "+"; margin-right: 7px; color: #177a67; font-weight: 600; }

.runtime-card { position: relative; z-index: 1; width: min(100%, 454px); justify-self: end; padding: 18px; color: var(--paper); background: var(--ink); box-shadow: 15px 15px 0 rgba(56, 193, 167, .45); transform: rotate(2deg); }
.card-header { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid rgba(241, 241, 232, .28); font-size: 10px; letter-spacing: .1em; }
.status { color: var(--acid); }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(183, 248, 100, .12); }
.mark-wrap { height: 174px; display: grid; place-items: center; border-bottom: 1px solid rgba(241, 241, 232, .28); background: repeating-linear-gradient(90deg, transparent 0, transparent 58px, rgba(241, 241, 232, .07) 59px, transparent 60px); }
.mark-wrap img { width: 150px; height: 150px; object-fit: contain; }
.route-line { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; padding: 15px 0; color: var(--mist); font-size: 8px; letter-spacing: .07em; }
.route-line b { height: 1px; background: var(--jade); }
.runtime-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(241, 241, 232, .28); }
.runtime-grid div { min-height: 105px; padding: 15px 10px; border-right: 1px solid rgba(241, 241, 232, .28); }
.runtime-grid div:last-child { border-right: 0; }
.runtime-grid span, .runtime-grid small { display: block; color: #a5b3a7; font-size: 8px; letter-spacing: .08em; }
.runtime-grid strong { display: block; margin: 8px 0; color: var(--acid); font-size: 18px; letter-spacing: -.05em; }
.runtime-grid small { line-height: 1.4; }
.card-foot { margin: 14px 0 0; color: #b6c2b6; font-size: 9px; line-height: 1.65; }
.hero-index { position: absolute; bottom: 24px; left: 0; color: #6e7e70; font-size: 10px; }

.marquee { display: flex; align-items: center; gap: 28px; overflow: clip; padding: 14px max(32px, calc((100% - 1440px) / 2)); color: var(--ink); background: var(--jade); font-size: clamp(13px, 1.5vw, 20px); font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.marquee i { flex: 0 0 8px; width: 8px; height: 8px; background: var(--sand); transform: rotate(45deg); }

.section { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.workflow { display: grid; grid-template-columns: .8fr 1.3fr; gap: 10vw; padding: 130px 0; }
.section-number { color: #3a876f; }
h2 { margin-bottom: 0; font-size: clamp(2.45rem, 4.6vw, 4.9rem); line-height: 1.12; }
.workflow-steps { border-top: 1px solid var(--line); }
.workflow-steps article { display: grid; grid-template-columns: 54px minmax(160px, .8fr) 1.4fr; align-items: start; gap: 20px; padding: 23px 0 26px; border-bottom: 1px solid var(--line); }
.step-index { margin: 2px 0 0; color: #217a69; font-size: 12px; font-weight: 600; }
h3 { margin: 0; font-family: var(--serif); font-size: 21px; letter-spacing: -.05em; line-height: 1.3; }
.workflow-steps article > p:last-child { margin: 0; color: #4b594c; font-size: 12px; line-height: 1.85; }

.capabilities { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 11vw; padding: 130px 5vw 130px 0; }
.capabilities::before { content: ""; position: absolute; z-index: -1; inset: 0 -100vw; background: var(--ink); }
.capability-stamp { position: sticky; top: 35px; display: grid; width: min(270px, 100%); min-height: 270px; align-content: center; justify-items: center; color: var(--ink); background: var(--sand); transform: rotate(-4deg); }
.capability-stamp span { font-size: 10px; letter-spacing: .15em; }
.capability-stamp strong { font: 700 53px/.78 var(--serif); letter-spacing: -.1em; text-align: center; }
.capability-stamp i { width: 32px; height: 2px; margin-top: 19px; background: var(--ink); }
.capability-copy { color: var(--paper); }
.capability-copy .section-number { color: var(--acid); }
.capability-copy h2 { max-width: 720px; }
.capability-list { margin-top: 55px; border-top: 1px solid rgba(241, 241, 232, .35); }
.capability-list div { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 19px 0; border-bottom: 1px solid rgba(241, 241, 232, .35); }
.capability-list span { color: var(--acid); font-size: 10px; }
.capability-list p { max-width: 550px; margin: 0; color: #becabb; font-size: 13px; }
.capability-list b { margin-right: .75rem; color: var(--paper); font-family: var(--serif); font-size: 20px; letter-spacing: -.04em; }

.boundary { display: grid; grid-template-columns: .9fr 1fr; gap: 13vw; align-items: end; padding: 130px 0; }
.boundary-copy > p:last-child { max-width: 495px; margin: 28px 0 0; color: #455447; font-size: 14px; line-height: 1.9; }
.boundary-table { margin: 0; border-top: 2px solid var(--ink); }
.boundary-table div { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.boundary-table dt { color: #217a69; font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.boundary-table dd { margin: 0; font-family: var(--serif); font-size: 20px; letter-spacing: -.04em; line-height: 1.4; }

.start { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 74px min(7vw, 90px); color: var(--paper); background: #247e70; }
.start .section-number { color: var(--acid); }
.start h2 { margin: 0 0 12px; }
.start p:last-child { max-width: 540px; margin: 0; color: #dcf3e8; font-size: 13px; }
.large { flex: 0 0 auto; min-width: 222px; }

footer { width: min(1440px, calc(100% - 64px)); min-height: 112px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; color: #536554; font-size: 10px; letter-spacing: .05em; }
footer .brand { color: var(--ink); font-size: 14px; letter-spacing: -.04em; }
footer .brand img { width: 28px; height: 28px; }
footer p { margin: 0; }

@media (max-width: 820px) {
  .site-header, .hero, .section, footer { width: min(100% - 36px, 620px); }
  .site-header { min-height: 70px; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 57px; padding: 63px 0 70px; }
  .hero::before { top: 0; right: -10px; font-size: 18rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .runtime-card { width: min(100%, 430px); justify-self: start; transform: rotate(1.2deg); }
  .workflow, .capabilities, .boundary { grid-template-columns: 1fr; gap: 48px; padding: 82px 0; }
  .workflow-steps article { grid-template-columns: 34px 1fr; gap: 9px 16px; }
  .workflow-steps article > p:last-child { grid-column: 2; }
  .capabilities { padding-right: 0; }
  .capability-stamp { position: relative; top: 0; }
  .boundary-table div { grid-template-columns: 95px 1fr; }
  .start { width: 100%; padding: 65px 18px; display: grid; gap: 30px; }
  footer { min-height: 150px; flex-wrap: wrap; gap: 10px 20px; align-content: center; }
  footer p { width: 100%; order: 3; }
}

@media (max-width: 440px) {
  h1 { font-size: 3rem; letter-spacing: -.11em; overflow-wrap: anywhere; }
  .lede { overflow-wrap: anywhere; }
  .header-link { font-size: 10px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .runtime-grid div { padding-inline: 7px; }
  .runtime-grid strong { font-size: 14px; }
  .route-line { gap: 5px; font-size: 7px; }
  .boundary-table div { display: block; }
  .boundary-table dd { margin-top: 7px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
