:root {
  color-scheme: dark;
  --bg: #090d18;
  --surface: #101727;
  --surface-2: #151d30;
  --line: rgba(166, 181, 218, 0.16);
  --text: #f4f7ff;
  --muted: #9da9c2;
  --cyan: #18c8eb;
  --purple: #8157f3;
  --amber: #ffad3d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 99;
  padding: .6rem 1rem; background: white; color: #111;
}
.skip-link:focus { top: 1rem; }
.site-header {
  width: min(calc(100% - 40px), var(--max));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .02em; }
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 28px; color: #bac4da; font-size: 14px; }
nav a:hover, footer a:hover, .text-link:hover { color: white; }
.nav-download { border: 1px solid #39445d; border-radius: 8px; padding: 8px 16px; }
.hero {
  width: min(calc(100% - 40px), 1300px);
  min-height: 710px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(390px, .86fr) minmax(540px, 1.14fr);
  align-items: center;
  gap: 54px;
  padding: 74px 0 90px;
}
.eyebrow {
  margin: 0 0 20px;
  color: #aeb9d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block; width: 26px; height: 2px; margin: 0 9px 3px 0;
  background: var(--cyan);
}
h1 {
  margin: 0;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.hero-intro {
  max-width: 600px;
  margin: 28px 0 34px;
  color: #aeb9cf;
  font-size: 17px;
}
.hero-actions { display: flex; align-items: center; gap: 26px; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  background: #f6f8ff;
  color: #0d1422;
  box-shadow: 0 18px 45px rgba(44, 74, 149, .23);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 22px 55px rgba(44, 74, 149, .34); }
.button-icon { font-size: 25px; line-height: 1; }
.primary-button span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.primary-button strong { font-size: 15px; }
.primary-button small { margin-top: 4px; color: #5f6a7c; font-size: 11px; }
.text-link { color: #c5cde0; font-size: 14px; border-bottom: 1px solid #555f75; padding: 4px 0; }
.compatibility { margin: 15px 0 0; color: #6f7d99; font-size: 11px; }
.hero-visual { position: relative; padding: 0 28px 48px 0; }
.visual-window {
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(146, 165, 207, .23);
  border-radius: 18px;
  background: #0d1321;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
}
.window-bar {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #111827;
  font-size: 11px;
  color: #b4bfd5;
}
.window-brand { display: flex; align-items: center; gap: 8px; }
.window-brand img { border-radius: 7px; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #29334a; }
.canvas-preview { position: relative; height: 470px; overflow: hidden; }
.grid-lines {
  position: absolute; inset: 0;
  opacity: .35;
  background-size: 28px 28px;
}
.connections { position: absolute; inset: 15px 0 0; width: 100%; height: 100%; fill: none; }
.connections path { stroke: #2cbddd; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(44,189,221,.5)); }
.node {
  position: absolute;
  width: 154px;
  padding: 13px 14px 15px;
  border: 1px solid #33405b;
  border-radius: 10px;
  background: rgba(20, 28, 46, .96);
  box-shadow: 0 12px 35px rgba(0,0,0,.3);
}
.node strong { display: block; margin-top: 5px; font-size: 13px; }
.node p { margin: 3px 0 0; color: #7f8ca7; font-size: 9px; }
.node-kicker { font-size: 8px; letter-spacing: .12em; font-weight: 800; }
.cyan { color: var(--cyan); } .purple { color: #a37cff; } .amber { color: var(--amber); } .blue { color: #6ba7ff; }
.node-a { left: 5%; top: 55px; }
.node-b { left: 44%; top: 168px; border-color: #6952a8; }
.node-c { right: 2%; top: 91px; }
.node-d { left: 5%; top: 225px; }
.port { position: absolute; top: 50%; width: 9px; height: 9px; border: 2px solid #90eafa; border-radius: 50%; background: #182238; }
.port-left { left: -6px; } .port-right { right: -6px; }
.canvas-status {
  position: absolute; right: 17px; bottom: 17px;
  padding: 6px 10px; border: 1px solid #29364d; border-radius: 6px;
  background: rgba(9,14,25,.84); color: #8592aa; font-size: 9px;
}
.canvas-status span { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #35d29b; }
.visual-note {
  position: absolute;
  display: flex; align-items: center; gap: 11px;
  min-width: 185px; padding: 11px 14px;
  border: 1px solid #34415a; border-radius: 10px;
  background: #121a2a;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  font-size: 11px; line-height: 1.25;
}
.visual-note b { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #40516e; border-radius: 8px; color: var(--cyan); font-size: 18px; }
.visual-note small { color: #7f8da6; }
.note-one { left: -25px; bottom: 10px; }
.note-two { right: 0; bottom: 67px; }
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-strip span { padding: 23px 20px; color: #8e9bb4; text-align: center; font-size: 12px; letter-spacing: .07em; }
.trust-strip span + span { border-left: 1px solid var(--line); }
.section-shell { width: min(calc(100% - 40px), var(--max)); margin: auto; padding: 126px 0; }
.section-heading { max-width: 690px; margin-bottom: 48px; }
.section-heading h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.section-heading > p:last-child { color: var(--muted); max-width: 550px; margin: 21px 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.feature-card { min-height: 290px; padding: 38px; background: rgba(16, 23, 39, .66); }
.feature-card:nth-child(even) { border-left: 1px solid var(--line); }
.feature-card:nth-child(n+3) { border-top: 1px solid var(--line); }
.feature-main { position: relative; overflow: hidden; }
.card-number { color: #62708c; font-family: ui-monospace, monospace; font-size: 11px; }
.feature-card h3 { margin: 58px 0 10px; font-size: 23px; letter-spacing: -.02em; }
.feature-card p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; }
.mini-workflow {
  display: flex; align-items: center; position: absolute; right: 25px; top: 38px;
  transform: scale(.83); transform-origin: right top;
}
.mini-workflow span { padding: 8px 11px; border: 1px solid #364460; border-radius: 6px; background: #141e31; color: #9eabc4; font-size: 9px; }
.mini-workflow i { width: 20px; height: 1px; background: var(--cyan); }
.release-section { padding-top: 40px; }
.release-card { display: grid; grid-template-columns: .72fr 1.28fr; border: 1px solid var(--line); background: #101726; }
.release-summary { padding: 50px; border-right: 1px solid var(--line); }
.release-summary h2 { margin: 0; font-size: 46px; letter-spacing: -.04em; }
.release-summary h2 small { display: block; margin-top: -5px; color: #71809c; font-size: 13px; letter-spacing: .03em; font-weight: 500; }
.release-summary > p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.secondary-button { display: flex; justify-content: space-between; margin-top: 45px; padding: 12px 16px; border: 1px solid #3c4963; border-radius: 7px; font-size: 13px; }
.secondary-button:hover { background: #182238; }
.changelog { padding: 50px; }
.changelog h3 { margin: 0 0 22px; font-size: 17px; }
.changelog ul { list-style: none; margin: 0; padding: 0; }
.changelog li { position: relative; padding: 9px 0 9px 25px; color: #a6b2c9; font-size: 13px; border-bottom: 1px solid rgba(166,181,218,.09); }
.changelog li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); }
.compact { max-width: 850px; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.security-grid article { padding: 30px; border: 1px solid var(--line); background: rgba(16,23,39,.5); }
.security-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 37px; border: 1px solid #40506b; border-radius: 8px; color: var(--cyan); font-size: 20px; }
.security-grid h3 { font-size: 17px; }
.security-grid p { color: var(--muted); font-size: 13px; }
.checksum {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 18px; padding: 18px 22px; border: 1px solid var(--line); background: #0c1220;
}
.checksum div { min-width: 0; }
.checksum span { display: block; color: #6f7e99; font-size: 9px; letter-spacing: .1em; }
.checksum code { display: block; overflow: hidden; margin-top: 4px; color: #aebbd2; text-overflow: ellipsis; font-size: 11px; }
.checksum button { flex: 0 0 auto; padding: 8px 15px; border: 1px solid #3a4964; border-radius: 6px; background: transparent; color: #ccd5e5; cursor: pointer; }
.checksum button:hover { background: #182238; }
.final-cta {
  width: min(calc(100% - 40px), var(--max));
  margin: 30px auto 100px;
  padding: 56px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  border-top: 1px solid #485774;
  border-bottom: 1px solid #27334a;
  background: #111928;
}
.final-cta img { border-radius: 20px; }
.final-cta h2 { max-width: 650px; font-size: clamp(28px, 3vw, 42px); }
.compact-button { min-width: 190px; }
footer {
  width: min(calc(100% - 40px), var(--max));
  margin: auto; padding: 30px 0 45px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); color: #74819a; font-size: 11px;
}
.footer-brand { color: #a7b2c8; font-size: 13px; }
.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; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(760px, 100%); margin: auto; }
  .visual-window { transform: none; }
  .security-grid { grid-template-columns: 1fr; }
  .security-grid article { min-height: 220px; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .primary-button { grid-column: 2; }
}
@media (max-width: 700px) {
  .site-header { height: 68px; }
  nav a:not(.nav-download) { display: none; }
  .brand span { font-size: 13px; }
  .hero { width: min(calc(100% - 28px), 1300px); min-height: auto; padding: 55px 0 70px; }
  h1 { font-size: clamp(42px, 13.4vw, 62px); }
  .hero-intro { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .primary-button { width: 100%; }
  .hero-visual { padding-right: 0; padding-bottom: 10px; }
  .visual-window { min-height: 410px; }
  .canvas-preview { height: 360px; transform-origin: top left; }
  .node { transform: scale(.78); }
  .node-a, .node-d { left: 0; }
  .node-b { left: 38%; }
  .node-c { right: -3%; }
  .connections { display: none; }
  .visual-note { display: none; }
  .trust-strip { grid-template-columns: 1fr 1fr; width: calc(100% - 28px); }
  .trust-strip span:nth-child(3), .trust-strip span:nth-child(4) { border-top: 1px solid var(--line); }
  .trust-strip span:nth-child(3) { border-left: 0; }
  .section-shell { width: calc(100% - 28px); padding: 86px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(even) { border-left: 0; }
  .feature-card + .feature-card { border-top: 1px solid var(--line); }
  .feature-card { min-height: 265px; padding: 30px; }
  .mini-workflow { display: none; }
  .release-section { padding-top: 10px; }
  .release-card { grid-template-columns: 1fr; }
  .release-summary { padding: 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .changelog { padding: 34px; }
  .checksum { align-items: flex-end; }
  .checksum code { max-width: 220px; }
  .final-cta { width: calc(100% - 28px); grid-template-columns: 1fr; padding: 35px; }
  .final-cta .primary-button { grid-column: auto; }
  footer { width: calc(100% - 28px); align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
