/* ==========================================================================
   OFstart 官网 · site.css
   纯静态、零外部依赖（不加载任何第三方字体 / CDN / 统计脚本）
   ========================================================================== */

:root {
  --bg: #03060d;
  --bg-2: #050c18;
  --panel: rgba(9, 18, 33, 0.72);
  --panel-solid: #071120;
  --ink: #eef5ff;
  --muted: #9aadc4;
  --dim: #7d90a8;
  --faint: #5b6f88;
  --line: rgba(126, 168, 214, 0.14);
  --line-2: rgba(86, 190, 255, 0.34);
  --blue: #1f8bff;
  --cyan: #54e0ff;
  --mint: #5fe8bb;
  --violet: #b2a2ff;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --latin: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 2px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--cyan); color: #00121f; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cyan);
  color: #00121f;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared layout ---------- */

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.stack { display: grid; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6ebeff;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  flex: none;
}
.eyebrow--plain::before { display: none; }

.sec { padding-block: clamp(72px, 9vw, 128px); }
.sec--tight { padding-block: clamp(48px, 6vw, 78px); }
.sec--line { border-top: 1px solid var(--line); }

.sec-head { display: grid; gap: 18px; max-width: 760px; }
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 650;
}
.sec-head p { color: var(--muted); font-size: 16.5px; line-height: 1.85; max-width: 62ch; }

.sec-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 54px);
}
.sec-head--split > div { display: grid; gap: 18px; }
.sec-head--split p { align-self: end; }

.grad {
  background: linear-gradient(102deg, #ffffff 4%, #6cc4ff 52%, #63ecff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn span[aria-hidden] { font-size: 15px; line-height: 1; }
.btn--primary {
  color: #001422;
  background: linear-gradient(110deg, #46a9ff, #6beeff);
  box-shadow: 0 14px 34px rgba(16, 139, 249, 0.26);
}
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--ghost {
  border: 1px solid var(--line-2);
  color: #d7e9fb;
  background: rgba(6, 18, 33, 0.5);
}
.btn--ghost:hover { background: rgba(30, 126, 213, 0.14); border-color: var(--cyan); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bfd3e8;
  font-size: 13.5px;
  font-weight: 600;
}
.link-arrow b { color: var(--cyan); font-weight: 400; transition: transform 0.2s ease; }
.link-arrow:hover b { transform: translate(3px, -3px); }

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(3, 7, 14, 0.94), rgba(3, 7, 14, 0.72));
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  transition: border-color 0.24s ease, background 0.24s ease;
}
.site-head.is-scrolled,
.site-head.is-open {
  border-bottom-color: var(--line);
  background: rgba(3, 7, 14, 0.97);
}

.head__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 138px; height: auto; }

.nav {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-left: auto;
  min-height: 76px;
}
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: #96a9bf;
  transition: color 0.2s ease;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px var(--cyan);
}

.head__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(90, 182, 255, 0.42);
  border-radius: var(--radius);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #dbeafd;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.head__cta:hover { background: rgba(38, 166, 255, 0.12); border-color: var(--cyan); }
.head__cta span { color: var(--cyan); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: #bcd7ef;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.site-head.is-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.site-head.is-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: clamp(600px, 88vh, 820px);
  padding-block: clamp(64px, 8vw, 110px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #03060d 2%, rgba(3, 6, 13, 0.95) 24%, rgba(3, 6, 13, 0.68) 44%, rgba(3, 6, 13, 0.1) 66%, transparent 84%),
    linear-gradient(0deg, rgba(3, 6, 13, 0.94) 0%, transparent 34%, rgba(3, 6, 13, 0.25) 100%);
}
.hero__inner { display: grid; gap: 26px; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 700;
  max-width: 15em;
}
.hero h1 em { font-style: normal; display: block; }
.hero__lede {
  color: #b3c4d8;
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.9;
  max-width: 33em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7e93a9;
}
.hero__note i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px currentColor;
  margin-right: 7px;
  vertical-align: middle;
}

/* ---------- Principle strip ---------- */

.strip {
  border-bottom: 1px solid var(--line);
  background: rgba(4, 11, 21, 0.72);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.30fr;
}
.strip__cell {
  padding: 26px 24px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 118px;
}
.strip__cell:last-child { border-right: 1px solid var(--line); }
.strip__cell span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #55718f;
}
.strip__cell b { font-size: 14px; font-weight: 550; color: #c9daec; letter-spacing: 0.01em; }
.strip__quote {
  background: linear-gradient(135deg, rgba(21, 112, 214, 0.18), rgba(25, 197, 255, 0.06));
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.6;
  color: #d9f6ff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: stretch;
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 268px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(6, 15, 28, 0.62);
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 0.45s ease;
}
.step:hover::after { width: 100%; }
.step--on {
  border-color: rgba(65, 188, 255, 0.44);
  background: linear-gradient(155deg, rgba(5, 33, 65, 0.94), rgba(4, 13, 26, 0.82));
  box-shadow: inset 0 0 50px rgba(29, 135, 231, 0.08);
}
.step__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #63809d;
}
.step__meta b { font-weight: 400; color: rgba(102, 178, 236, 0.34); }
.step h3 { margin-top: 42px; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.step p { color: var(--dim); font-size: 13.5px; line-height: 1.8; }
.step--on h3 { color: #79deff; }
.step--on .step__meta span { color: #79deff; }
.step__arrow {
  display: grid;
  place-items: center;
  color: #2b5b81;
  font-size: 20px;
}

/* ---------- Product cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 400px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(9, 21, 39, 0.9), rgba(3, 9, 18, 0.92));
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: -86px;
  right: -70px;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(71, 175, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(71, 175, 255, 0.025);
  pointer-events: none;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #55728f;
}
.card h3 {
  margin-top: 34px;
  font-family: var(--latin);
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.card__desc { color: #8fa2b8; font-size: 14px; line-height: 1.85; }
.card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 6px 9px;
  border: 1px solid rgba(100, 139, 180, 0.24);
  background: rgba(6, 18, 31, 0.5);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  color: #88a0ba;
  white-space: nowrap;
}
.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex: none;
}
.pill--live { color: var(--mint); }
.pill--build { color: #68c8ff; }
.pill--vis { color: var(--violet); }

/* ---------- Infra bar ---------- */

.infra {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 14px;
  padding: 26px;
  border: 1px solid var(--line-2);
  background: linear-gradient(90deg, rgba(15, 74, 134, 0.18), rgba(3, 10, 20, 0.92));
}
.infra small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #54799d;
}
.infra h3 { margin-top: 9px; font-size: 17.5px; font-weight: 600; }
.infra p { color: #8ba0b6; font-size: 13.5px; line-height: 1.75; }

/* ---------- Quote panel ---------- */

.quote {
  position: relative;
  padding: clamp(32px, 4.6vw, 58px) clamp(24px, 4.4vw, 60px);
  border: 1px solid rgba(91, 184, 255, 0.26);
  background:
    radial-gradient(circle at 88% 8%, rgba(32, 196, 255, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(12, 62, 119, 0.5), rgba(2, 9, 19, 0.95) 64%);
  overflow: hidden;
}
.quote::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -300px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(102, 215, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(58, 171, 255, 0.024), 0 0 0 160px rgba(58, 171, 255, 0.017);
  pointer-events: none;
}
.quote blockquote {
  position: relative;
  z-index: 1;
  margin-block: clamp(30px, 4vw, 46px) clamp(34px, 4.4vw, 56px);
  font-size: clamp(27px, 4.2vw, 56px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 650;
}
.quote blockquote em { font-style: normal; color: #7de8ff; }
.quote__foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
}
.quote__foot p { color: #94a9c0; font-size: 14px; line-height: 1.85; max-width: 54ch; }

/* ---------- Product page hero ---------- */

.phero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 92px);
}
.phero__copy { display: grid; gap: 22px; }
.phero h1 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.phero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  color: #62778f;
}

/* CSS mock: OFdesk workspace window */
.mock {
  border: 1px solid rgba(72, 183, 255, 0.34);
  background: rgba(3, 10, 21, 0.95);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4), 0 0 70px rgba(20, 130, 239, 0.09);
  transform: perspective(1000px) rotateY(-4deg) rotateX(1.5deg);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding-inline: 13px;
  border-bottom: 1px solid var(--line);
}
.mock__bar i { width: 6px; height: 6px; border-radius: 50%; background: #24435f; }
.mock__bar span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #3c6487;
}
.mock__body { display: grid; grid-template-columns: 62px minmax(0, 1fr); min-height: 360px; }
.mock__rail {
  display: grid;
  grid-auto-rows: 25px;
  gap: 14px;
  justify-content: center;
  align-content: start;
  padding-top: 18px;
  border-right: 1px solid var(--line);
}
.mock__rail i { width: 25px; height: 25px; border: 1px solid #203a55; border-radius: 3px; }
.mock__rail i:first-child {
  background: #167bcb;
  border-color: #31baff;
  box-shadow: 0 0 14px rgba(31, 171, 255, 0.34);
}
.mock__main { padding: 22px; display: grid; gap: 10px; align-content: start; }
.mock__main small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #4d7b9f;
}
.mock__main h4 { margin: 2px 0 10px; font-size: 19px; font-weight: 600; }
.task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgba(8, 26, 46, 0.6);
}
.task b { font-size: 11.5px; font-weight: 600; }
.task span { font-family: var(--mono); font-size: 7.5px; color: var(--mint); }
.task p { grid-column: 1 / -1; color: #5f7890; font-size: 9.5px; }
.mock__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 8px; }
.mock__out div {
  height: 70px;
  padding: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(28, 105, 175, 0.12), transparent);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.5;
  color: #637e98;
}

/* CSS mock: OFOS rings */
.rings {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}
.rings__core {
  position: relative;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  width: 172px;
  height: 172px;
  border: 1px solid #4ebeff;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 143, 234, 0.32), rgba(3, 14, 28, 0.96));
  box-shadow: 0 0 70px rgba(25, 145, 241, 0.18);
}
.rings__core b { font-family: var(--latin); font-size: 34px; letter-spacing: -0.02em; }
.rings__core small {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: #6ea3c8;
}
.rings__line {
  position: absolute;
  border: 1px solid rgba(77, 167, 235, 0.19);
  border-radius: 50%;
}
.rings__line--1 { width: 320px; height: 320px; }
.rings__line--2 { width: 448px; height: 448px; border-style: dashed; }
.rings__tag {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(3, 13, 26, 0.92);
  font-family: var(--mono);
  font-size: 9px;
  color: #a8c1d7;
  white-space: nowrap;
}
.rings__tag--1 { top: 44px; left: 6%; }
.rings__tag--2 { top: 96px; right: 0; }
.rings__tag--3 { bottom: 78px; right: 3%; }
.rings__tag--4 { bottom: 40px; left: 8%; }
.rings__tag--5 { top: 50%; left: 0; transform: translateY(-50%); }

/* CSS mock: online node map */
.nodes {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(47, 117, 178, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 117, 178, 0.07) 1px, transparent 1px),
    rgba(2, 10, 21, 0.72);
  background-size: 36px 36px;
}
.nodes__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  width: 146px;
  height: 146px;
  border: 1px solid #49cfff;
  border-radius: 50%;
  background: #061a30;
  box-shadow: 0 0 50px rgba(33, 185, 255, 0.22);
  text-align: center;
}
.nodes__core b { font-size: 15px; }
.nodes__core small { font-family: var(--mono); font-size: 7px; color: #6d91ae; letter-spacing: 0.08em; }
.nodes__node {
  position: absolute;
  width: 124px;
  padding: 10px 11px;
  border: 1px solid rgba(69, 167, 235, 0.33);
  background: rgba(3, 13, 25, 0.95);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  color: #b2cee4;
}
.nodes__node small { display: block; margin-top: 4px; font-size: 7px; color: #526e86; letter-spacing: 0.06em; }
.nodes__node--1 { top: 40px; left: 30px; }
.nodes__node--2 { top: 50px; right: 24px; }
.nodes__node--3 { bottom: 52px; right: 40px; }
.nodes__node--4 { bottom: 36px; left: 44px; }
.nodes__node--5 { top: 50%; left: 0; transform: translateY(-50%); }

/* ---------- Boundary band ---------- */

.boundary {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(24px, 5vw, 72px);
  padding-block: 46px;
  border-block: 1px solid var(--line);
}
.boundary > span {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.11em;
  color: #4f6c88;
  align-self: start;
}
.boundary__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.boundary__grid div { border-left: 1px solid var(--line-2); padding-left: 18px; }
.boundary__grid b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 7px; }
.boundary__grid small { color: var(--dim); font-size: 12.5px; line-height: 1.65; display: block; }

/* ---------- Feature grid ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  min-height: 216px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 10px;
}
.feature > span { font-family: var(--mono); font-size: 10px; color: #3e789f; }
.feature h3 { margin-top: 34px; font-size: 18px; font-weight: 600; letter-spacing: 0.005em; }
.feature p { color: var(--dim); font-size: 13px; line-height: 1.75; }
.feature--hl {
  background: linear-gradient(145deg, rgba(20, 111, 190, 0.19), rgba(5, 16, 30, 0.74));
}
.feature--hl h3 { color: #78dfff; }

/* ---------- Module list ---------- */

.modules { border-top: 1px solid var(--line); }
.module {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 26px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.module:hover { background: rgba(12, 32, 56, 0.34); }
.module > span { font-family: var(--mono); font-size: 10px; color: #47718f; }
.module h3 { font-size: 18px; font-weight: 600; }
.module p { color: var(--dim); font-size: 13.5px; line-height: 1.7; }

/* ---------- Commercial panel ---------- */

.commercial {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(28px, 4vw, 62px);
  padding: clamp(28px, 3.6vw, 48px);
  border: 1px solid var(--line-2);
  background: linear-gradient(135deg, rgba(13, 74, 132, 0.24), rgba(3, 12, 25, 0.92));
}
.commercial h2 {
  margin-block: 16px 14px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 650;
}
.commercial p { color: #8ba0b6; font-size: 14.5px; line-height: 1.85; }
.commercial__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.price {
  display: grid;
  align-content: center;
  gap: 8px;
  padding-left: clamp(0px, 2.4vw, 38px);
  border-left: 1px solid var(--line-2);
}
.price span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #66839f;
}
.price b {
  font-family: var(--latin);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #77e5ff;
  line-height: 1.1;
}
.price small { color: #7d93a8; font-size: 12.5px; line-height: 1.6; }

/* ---------- About band ---------- */

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 3.6vw, 48px);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(8, 22, 42, 0.9), rgba(3, 9, 18, 0.9));
}
.about-band h2 {
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.34;
  font-weight: 650;
  letter-spacing: -0.005em;
}
.about-band p { margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.about-band dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 18px; font-size: 13.5px; }
.about-band dt { color: var(--faint); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; padding-top: 3px; }
.about-band dd { margin: 0; color: #c3d4e6; }

/* ---------- Content page (about / legal) ---------- */

.page-head {
  padding-block: clamp(48px, 6vw, 84px) clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  margin-top: 18px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  font-weight: 700;
}
.page-head p { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.85; max-width: 74ch; }

/* 避免中文段落末行只剩一两个字 */
.page-head p,
.sec-head p,
.hero__lede,
.card__desc,
.quote__foot p,
.prose p,
.prose li { text-wrap: pretty; }

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 5vw, 76px);
  padding-block: clamp(40px, 5vw, 72px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(6, 14, 26, 0.6);
}
.toc h2 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: #55718f;
  font-weight: 500;
  margin-bottom: 4px;
}
.toc a { font-size: 13px; color: #96a9bf; line-height: 1.6; }
.toc a:hover { color: var(--cyan); }

.prose { max-width: 74ch; display: grid; gap: 22px; }
.prose section { display: grid; gap: 12px; scroll-margin-top: 100px; }
.prose h2 {
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  font-weight: 640;
  padding-top: 8px;
}
.prose h3 { font-size: 16.5px; font-weight: 620; margin-top: 6px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; line-height: 1.95; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 18px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 5px;
  height: 1px;
  background: #4d7fa8;
}
.prose a { color: #7fd6ff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: #dbe8f6; font-weight: 600; }
.prose .note {
  padding: 16px 18px;
  border-left: 2px solid var(--line-2);
  background: rgba(12, 30, 52, 0.5);
  color: #93a8be;
  font-size: 13.5px;
  line-height: 1.85;
}
.prose time { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--faint); }

/* contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(6, 15, 28, 0.6);
}
.contact-card span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  color: #55718f;
}
.contact-card b { font-size: 17px; font-weight: 600; color: #dff0ff; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 13.5px; line-height: 1.8; word-break: break-word; }
.contact-card a:hover { color: var(--cyan); }

.info-table { display: grid; border-top: 1px solid var(--line); }
.info-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.info-row dt, .info-row > span:first-child { color: var(--faint); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; padding-top: 3px; }
.info-row dd, .info-row > span:last-child { margin: 0; color: #cddded; line-height: 1.7; }

/* ---------- Footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  background: #02060d;
  padding-top: clamp(48px, 5vw, 68px);
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 52px);
}
.foot__brand img { width: 140px; height: auto; }
.foot__brand p { margin-top: 16px; color: #6b8098; font-size: 12.5px; line-height: 1.85; max-width: 34ch; }
.foot__brand .mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #526980;
  text-transform: uppercase;
}
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col h2 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: #4a637c;
  font-weight: 500;
  margin-bottom: 6px;
}
.foot__col a, .foot__col p { font-size: 12.5px; color: #93a6bb; line-height: 1.8; }
.foot__col a:hover { color: var(--cyan); }
.foot__col .strong { color: #c2d4e6; }

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-block: 20px 26px;
  border-top: 1px solid rgba(94, 126, 159, 0.14);
  font-size: 12px;
  color: #61758c;
}
.foot__legal a { color: #7c90a6; }
.foot__legal a:hover { color: var(--cyan); }
.foot__legal .sep { color: #33465c; }
.foot__legal .grow { margin-left: auto; }
.foot__legal .mono {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  color: #3f536a;
  text-transform: uppercase;
}

/* ---------- 404 ---------- */

.err {
  min-height: 66vh;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 20px;
  padding-block: 90px;
  max-width: 640px;
}
.err b { font-family: var(--mono); font-size: clamp(56px, 12vw, 120px); line-height: 1; color: #16324d; letter-spacing: -0.04em; }
.err h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 650; line-height: 1.3; }
.err p { color: var(--muted); font-size: 15px; }

/* ---------- Reveal ---------- */

/* 仅在 site.js 成功接管后才启用隐藏态：
   若脚本加载失败，页面内容保持默认可见。 */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
  }
  html.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 13px; }
  .phero { grid-template-columns: 1fr; }
  .phero__visual { order: 2; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__cell:nth-child(2) { border-right: 1px solid var(--line); }
  .strip__cell { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .infra { grid-template-columns: 1fr; gap: 18px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .boundary { grid-template-columns: 1fr; gap: 26px; }
  .about-band { grid-template-columns: 1fr; }
  .commercial { grid-template-columns: 1fr; }
  .price { border-left: 0; border-top: 1px solid var(--line-2); padding: 26px 0 0; }
  .prose-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 78px; }
  .head__inner { min-height: 66px; gap: 14px; }
  .brand img { width: 116px; }
  .head__cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    min-height: 0;
    background: rgba(3, 7, 14, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 40px rgba(0, 0, 0, 0.5);
  }
  .site-head { position: sticky; }
  .site-head.is-open .nav { display: flex; }
  .nav a {
    padding: 14px 6px;
    font-size: 14.5px;
    border-bottom: 1px solid rgba(126, 168, 214, 0.08);
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"]::after { left: 6px; right: auto; width: 18px; bottom: 10px; }

  /* 无 JS 时导航直接展开，保证可访问 */
  html:not(.js) .nav { position: static; display: flex; flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }

  .hero { min-height: 0; padding-block: 52px 44px; }
  .hero__media { position: relative; inset: auto; order: 2; height: 380px; margin-top: 34px; }
  .hero__media img { object-position: 68% center; }
  .hero__media::after {
    background: linear-gradient(180deg, #03060d 0%, rgba(3, 6, 13, 0.4) 22%, transparent 60%, rgba(3, 6, 13, 0.92) 100%);
  }
  .hero__inner { max-width: none; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.14; }
  .btn { min-height: 48px; }

  .sec-head--split { grid-template-columns: 1fr; align-items: start; }

  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { min-height: 0; }
  .step h3 { margin-top: 22px; }
  .step__arrow { height: 30px; transform: rotate(90deg); }

  .boundary__grid { grid-template-columns: 1fr; gap: 20px; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 16px; }

  .module { grid-template-columns: 44px minmax(0, 1fr); gap: 12px 16px; padding: 20px 4px; }
  .module p { grid-column: 2; }

  .quote__foot { grid-template-columns: 1fr; gap: 20px; }
  .quote::after { display: none; }

  .mock { transform: none; }
  .rings { min-height: 360px; }
  .rings__line--1 { width: 260px; height: 260px; }
  .rings__line--2 { width: 350px; height: 350px; }
  .rings__tag { font-size: 8px; padding: 7px 9px; }
  .rings__tag--1 { left: 0; top: 22px; }
  .rings__tag--2 { top: 74px; }
  .rings__tag--5 { display: none; }
  .nodes { min-height: 390px; }
  .nodes__node { width: 104px; font-size: 9px; padding: 8px 9px; }
  .nodes__node--5 { display: none; }
  .nodes__core { width: 116px; height: 116px; }
  .nodes__core b { font-size: 12px; }

  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .foot__legal { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot__legal .sep { display: none; }
  .foot__legal .grow { margin-left: 0; }
}

@media (max-width: 560px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__grid .strip__cell {
    border-right: 1px solid var(--line);
    min-height: 92px;
    padding-block: 20px;
  }
  .strip__quote { min-height: 0; }
  .eyebrow { font-size: 10px; letter-spacing: 0.1em; }
  .quote { padding-inline: 20px; }
  .quote blockquote { font-size: 23px; line-height: 1.34; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .card, .contact-card { padding: 20px; }
}

/* ---------- Reduced motion / print ---------- */

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

@media print {
  .site-head, .nav-toggle, .hero__media, .foot__legal .mono { display: none; }
  body { background: #fff; color: #111; }
  .prose p, .prose li, .prose h2 { color: #111; }
}
