:root {
  color-scheme: light;
  --ink: #102321;
  --muted: #5f6f6c;
  --line: #dce5e2;
  --paper: #f5f8f6;
  --surface: #ffffff;
  --brand: #137a70;
  --brand-dark: #0c544e;
  --mint: #dff2ed;
  font-family: "Segoe UI Variable", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  height: 68px;
  margin: 14px auto 0;
  padding: 0 20px;
  border: 1px solid rgb(16 45 43 / 10%);
  border-radius: 18px;
  background: rgb(255 255 255 / 86%);
  box-shadow: 0 12px 34px rgb(31 60 56 / 8%);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -.03em; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.site-header nav { display: flex; gap: 27px; color: #53625f; font-size: 13px; }
.site-header nav a, .header-link { transition: color 160ms ease; }
.site-header nav a:hover, .header-link:hover { color: var(--brand); }
.header-link { justify-self: end; font-size: 13px; font-weight: 650; }

main { overflow: hidden; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr);
  gap: 62px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  padding: 88px 0 74px;
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: 8px;
  left: -260px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(173 225 213 / 38%) 0, rgb(245 248 246 / 0%) 68%);
  content: "";
}
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--brand); font-size: 11px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 2px; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(48px, 4.65vw, 62px); line-height: 1.05; letter-spacing: -.065em; }
.hero h1 > span, .hero h1 em { display: block; white-space: nowrap; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-lead { max-width: 560px; margin: 27px 0 0; color: var(--muted); font-size: 17px; line-height: 1.78; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }

.button { display: inline-flex; min-height: 58px; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 13px; padding: 10px 17px; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgb(19 122 112 / 22%); }
.button-primary:hover { background: #0f6c63; box-shadow: 0 17px 34px rgb(19 122 112 / 28%); }
.button-secondary { border-color: #cedbd7; background: rgb(255 255 255 / 75%); color: var(--ink); }
.button-secondary:hover { background: #fff; box-shadow: 0 12px 25px rgb(33 62 58 / 9%); }
.button-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: rgb(255 255 255 / 14%); font-size: 20px; }
.button-secondary .button-icon { background: #e9f2ef; color: var(--brand); }
.button span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.button strong { font-size: 13px; }
.button small { color: rgb(255 255 255 / 67%); font-size: 9px; }
.button-secondary small { color: #778581; }
.release-proof { display: flex; align-items: center; gap: 7px; margin: 17px 0 0; color: #73817e; font-size: 11px; }
.release-proof span { color: var(--brand); font-weight: 800; }

.product-window {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(22 59 55 / 16%);
  border-radius: 20px;
  background: #fbfdfc;
  box-shadow: 0 38px 80px rgb(34 69 63 / 18%), 0 4px 12px rgb(34 69 63 / 8%);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}
.product-window::after { position: absolute; inset: 0; border: 1px solid rgb(255 255 255 / 70%); border-radius: inherit; pointer-events: none; content: ""; }
.window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 48px; margin: 0; padding: 0 16px; border-bottom: 1px solid #e1e7e5; background: #f1f5f3; color: #465652; font-size: 11px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #cbd4d1; }
.window-dots i:first-child { background: #e58b61; }
.window-state { justify-self: end; color: var(--brand); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.product-shot { width: 100%; aspect-ratio: 1280 / 820; object-fit: cover; }

.trust-strip { display: flex; justify-content: center; align-items: center; gap: 24px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; border-block: 1px solid var(--line); padding: 20px; color: #71807c; font-size: 11px; font-weight: 600; }
.trust-strip i { width: 3px; height: 3px; border-radius: 50%; background: #9eadab; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; column-gap: 60px; align-items: end; margin-bottom: 48px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin: 0; font-size: clamp(35px, 4vw, 52px); line-height: 1.14; letter-spacing: -.05em; }
.section-heading > p:last-child { margin: 0 0 4px; color: var(--muted); line-height: 1.75; }

.feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.feature-card { position: relative; min-height: 270px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 31px; }
.feature-card h3 { margin: 35px 0 11px; font-size: 22px; letter-spacing: -.025em; }
.feature-card p { max-width: 540px; margin: 0; color: var(--muted); line-height: 1.75; }
.feature-card code { border-radius: 5px; background: rgb(16 35 33 / 8%); padding: 2px 6px; font-family: "Cascadia Mono", Consolas, monospace; font-size: .88em; }
.feature-primary { grid-row: span 2; min-height: 554px; background: var(--brand); color: #fff; }
.feature-primary::after { position: absolute; right: -90px; bottom: -110px; width: 320px; height: 320px; border: 70px solid rgb(255 255 255 / 7%); border-radius: 50%; content: ""; }
.feature-primary p { color: rgb(255 255 255 / 72%); }
.feature-number { color: rgb(255 255 255 / 47%); font: 11px "Cascadia Mono", Consolas, monospace; }
.feature-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--mint); color: var(--brand); font-size: 20px; font-weight: 700; }
.tui-mini { position: absolute; z-index: 1; right: 30px; bottom: 30px; left: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid rgb(255 255 255 / 17%); border-radius: 10px; background: rgb(255 255 255 / 17%); }
.tui-mini span { background: rgb(8 69 63 / 72%); padding: 15px; color: rgb(255 255 255 / 82%); font: 10px "Cascadia Mono", Consolas, monospace; }
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr .9fr; gap: 60px; min-height: 300px; align-items: center; }
.feature-wide h3 { margin-top: 18px; }
.feature-wide dl { display: grid; margin: 0; border-top: 1px solid var(--line); }
.feature-wide dl div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; border-bottom: 1px solid var(--line); padding: 16px 4px; }
.feature-wide dt { color: #8a9894; font-size: 11px; }
.feature-wide dd { margin: 0; font-size: 12px; font-weight: 650; }

.collaboration { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
.collaboration .section-heading { display: block; margin: 0; }
.collaboration .section-heading h2 { margin-bottom: 25px; }
.collaboration .section-heading > p:last-of-type { max-width: 480px; }
.text-link { display: inline-block; margin-top: 18px; color: var(--brand); font-size: 11px; font-weight: 720; }
.flow { min-height: 430px; border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 38px; }
.controller-node { border: 1px solid #b6d8d1; border-radius: 13px; background: #e8f5f1; padding: 21px; box-shadow: 0 10px 25px rgb(30 99 89 / 9%); }
.controller-node small, .worker-nodes small { display: block; color: #748783; font-size: 9px; letter-spacing: .08em; }
.controller-node strong { display: block; margin-top: 6px; font-size: 18px; }
.controller-node code { display: inline-block; margin-top: 15px; color: var(--brand); font: 10px "Cascadia Mono", Consolas, monospace; }
.flow-lines { position: relative; height: 65px; }
.flow-lines::before { position: absolute; top: 0; bottom: 22px; left: 50%; width: 1px; background: #bdd2cd; content: ""; }
.flow-lines::after { position: absolute; right: 16%; bottom: 22px; left: 16%; height: 1px; background: #bdd2cd; content: ""; }
.flow-lines span { position: absolute; bottom: 0; width: 1px; height: 22px; background: #bdd2cd; }
.flow-lines span:nth-child(1) { left: 16%; }
.flow-lines span:nth-child(2) { left: 50%; }
.flow-lines span:nth-child(3) { right: 16%; }
.worker-nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.worker-nodes article { min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfc; padding: 16px 13px; }
.worker-nodes article > i { display: block; width: 7px; height: 7px; margin-bottom: 14px; border-radius: 50%; background: #35a88d; box-shadow: 0 0 0 4px #e2f3ef; }
.worker-nodes strong { display: block; margin-top: 3px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.worker-nodes b { display: block; margin-top: 24px; color: var(--brand); font-size: 20px; }

.install { border-top: 1px solid var(--line); }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.install-grid article { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 34px; }
.install-head { display: flex; justify-content: space-between; color: #687975; font-size: 11px; font-weight: 720; text-transform: uppercase; letter-spacing: .08em; }
.install-head b { border-radius: 5px; background: var(--mint); color: var(--brand); padding: 4px 7px; font-size: 9px; }
.install-grid h3 { margin: 38px 0 13px; font-size: 27px; letter-spacing: -.04em; }
.install-grid p { min-height: 52px; margin: 0; color: var(--muted); line-height: 1.7; }
.install-grid a { display: flex; justify-content: space-between; align-items: center; margin-top: 27px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--brand); font-size: 12px; font-weight: 720; }
.install-grid pre { margin: 21px 0 -7px; border-radius: 8px; background: #102d2b; padding: 15px; color: #d8eee9; font: 12px "Cascadia Mono", Consolas, monospace; }
.install-grid pre span { color: #66c5b5; }

.release { padding-top: 40px; }
.release-card { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; overflow: hidden; border-radius: 22px; background: #102d2b; padding: 55px; color: #fff; }
.release-card::after { position: absolute; right: -150px; bottom: -200px; width: 500px; height: 500px; border: 100px solid rgb(118 211 193 / 5%); border-radius: 50%; content: ""; }
.release-card .eyebrow { color: #79d1c1; }
.release-card h2 { margin: 0; font-size: 76px; letter-spacing: -.07em; }
.release-card p:last-child { color: #a9c1bc; line-height: 1.7; }
.release-card ul { display: grid; align-self: center; margin: 0; padding: 0; list-style: none; }
.release-card li { display: grid; grid-template-columns: 35px 1fr; gap: 14px; border-bottom: 1px solid rgb(255 255 255 / 10%); padding: 17px 0; color: #d4e4e1; font-size: 12px; }
.release-card li span { color: #6f938c; font: 9px "Cascadia Mono", Consolas, monospace; }
.button-light { position: relative; z-index: 1; grid-column: 1 / -1; width: max-content; min-height: 46px; background: #fff; color: var(--brand-dark); font-size: 12px; font-weight: 750; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; width: min(1180px, calc(100% - 40px)); margin: 0 auto; border-top: 1px solid var(--line); padding: 35px 0 45px; color: #71817d; font-size: 11px; }
.footer-brand { color: var(--ink); }
.footer-brand img { width: 25px; height: 25px; }
footer p { grid-column: 1; margin: 0; }
footer > div:last-child { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 20px; }
footer a:hover { color: var(--brand); }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 76px; }
  .hero-copy { max-width: 720px; }
  .product-window { max-width: 820px; transform: none; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { max-width: 600px; margin-top: 24px; }
  .collaboration { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { top: 8px; width: calc(100% - 24px); height: 58px; margin-top: 8px; border-radius: 14px; padding-inline: 14px; }
  .header-link { font-size: 11px; }
  .hero, .section, .trust-strip, footer { width: calc(100% - 28px); }
  .hero { min-height: auto; padding: 64px 0 55px; }
  .hero h1 { font-size: 44px; }
  .hero h1 > span, .hero h1 em { white-space: normal; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .window-bar { grid-template-columns: 1fr auto; }
  .window-bar strong { display: none; }
  .trust-strip { justify-content: flex-start; overflow-x: auto; }
  .trust-strip span { flex: 0 0 auto; }
  .section { padding: 82px 0; }
  .feature-grid, .feature-wide, .install-grid, .release-card { grid-template-columns: 1fr; }
  .feature-primary { min-height: 500px; }
  .feature-wide { gap: 30px; }
  .worker-nodes { grid-template-columns: 1fr; margin-top: 10px; }
  .flow-lines { display: none; }
  .worker-nodes article { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; }
  .worker-nodes article > i, .worker-nodes b { margin: 0; }
  .release-card { gap: 30px; padding: 37px 27px; }
  .button-light { width: 100%; }
  footer { grid-template-columns: 1fr; }
  footer > div:last-child { grid-row: auto; grid-column: auto; flex-wrap: wrap; }
}

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