:root {
  --bg:#F6F7F9; --surface:#FFFFFF; --surface-soft:#F1F3F7;
  --fg:#16233A; --muted:#6B7689; --border:#DDE2EA;
  --accent:#FF5A1F; --blue:#2F6BFF; --blue-soft:#5B8DFF; --deep:#123A8F;
  --font-body:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --font-mono:"SFMono-Regular","SF Mono",Menlo,Consolas,monospace;
  --ease-out: cubic-bezier(0.23,1,0.32,1);
  --shell: rgba(12,18,32,.35);
  --photo-base: #080D17;
  --muted-readable: color-mix(in oklch, var(--muted) 78%, var(--fg));
  --shadow-soft: 0 24px 70px rgba(18,58,143,.10);
  --shadow-deep: 0 30px 90px rgba(18,35,58,.18);
  --radius-small: 14px;
  --radius-medium: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: color-mix(in oklch, var(--accent) 26%, transparent); color: var(--fg); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--surface);
  background: rgba(12,18,32,.35);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--fg);
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: color-mix(in oklch, var(--border) 82%, transparent);
  box-shadow: 0 8px 28px rgba(18,35,58,.08);
}
.header-inner {
  width: min(1400px, 100%);
  min-height: 76px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 20px;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
}
.brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  transform: rotate(8deg);
}
.brand-mark span { background: currentColor; border-radius: 2px; }
.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) { opacity: .5; }
.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .02em;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  transition: color .2s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current]::after { transform: scaleX(1); }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.header-cta:hover {
  background: color-mix(in oklch, var(--accent) 88%, var(--fg));
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255,90,31,.24);
}
.header-cta:active { transform: translateY(0); }
.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .25s var(--ease-out), opacity .2s var(--ease-out);
}
.site-header.menu-open .menu-toggle span:first-child { transform: translateY(5.5px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:last-child { transform: translateY(-5.5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: clamp(760px, 92svh, 960px);
  overflow: hidden;
  background: var(--photo-base);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--overview .hero-photo { object-position: 56% center; }
.hero--detail .hero-photo { object-position: 50% center; filter: saturate(.92); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg,rgba(6,10,20,.45),rgba(6,10,20,.12) 60%,transparent);
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: clamp(760px, 92svh, 960px);
  padding-top: clamp(130px, 16vh, 178px);
  padding-bottom: clamp(56px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 720px);
  align-items: end;
  gap: clamp(40px, 6vw, 96px);
}
.hero-aside {
  align-self: end;
  max-width: 330px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.82);
}
.hero-aside__line { width: 42px; height: 1px; margin-bottom: 20px; background: rgba(255,255,255,.58); }
.hero-aside__index {
  margin-bottom: 12px;
  color: rgba(255,255,255,.76);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-aside__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .01em;
}
.hero--detail .hero-inner { grid-template-columns: minmax(480px, 700px) 1fr; align-items: end; }
.hero--detail .glass { grid-column: 1; grid-row: 1; }
.hero--detail .hero-aside { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; }
.hero--detail .hero-aside__line { margin-left: auto; }

.glass {
  position:relative; isolation:isolate;
  background:rgba(255,255,255,.10);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  backdrop-filter:blur(24px) saturate(180%);
  border:1.5px solid rgba(255,255,255,.45);
  border-radius:28px;
  box-shadow:0 28px 90px rgba(0,0,0,.55),
             inset 0 1px 0 rgba(255,255,255,.65),
             inset 0 -1px 0 rgba(255,255,255,.10);
  overflow:hidden;
}
.glass::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(148deg,rgba(255,255,255,.30) 0%,rgba(255,255,255,.06) 30%,rgba(255,255,255,0) 52%);}
.glass::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12), inset 0 24px 48px -24px rgba(255,255,255,.28);}
.glass, .glass h1, .glass h2, .glass h3, .glass p { color: var(--surface); }
.glass-content { position: relative; z-index: 1; padding: clamp(30px, 4vw, 54px); }
.hero-panel { width: 100%; }
.hero-panel--overview { min-height: 560px; display: flex; align-items: flex-end; }
.hero-panel--detail { min-height: 610px; display: flex; align-items: flex-end; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .01em;
}
.breadcrumb a { color: rgba(255,255,255,.72); }
.breadcrumb a:hover { color: var(--surface); }
.breadcrumb span[aria-current] { color: var(--surface); }
.breadcrumb .sep { color: rgba(255,255,255,.35); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.glass .eyebrow { color: rgba(255,255,255,.78); }
.glass .eyebrow::before { background: rgba(255,255,255,.58); }
.hero-title {
  max-width: 12em;
  margin: 0 0 24px;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0;
}
.hero-definition {
  max-width: 28em;
  margin: 0;
  color: rgba(255,255,255,.86) !important;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
  letter-spacing: .01em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .22s var(--ease-out), color .22s var(--ease-out), border-color .22s var(--ease-out), transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.button svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.button--primary { background: var(--accent); color: var(--fg); }
.button--primary:hover {
  background: color-mix(in oklch, var(--accent) 88%, var(--fg));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,90,31,.24);
}
.button--primary:active { transform: translateY(0); }
.button--glass {
  color: var(--surface);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.48);
}
.button--glass:hover {
  color: var(--surface);
  background: rgba(255,255,255,.17);
  border-color: rgba(255,255,255,.74);
  transform: translateY(-2px);
}
.button--outline { color: var(--deep); background: transparent; border-color: color-mix(in oklch, var(--deep) 28%, var(--border)); }
.button--outline:hover { background: color-mix(in oklch, var(--deep) 6%, var(--surface)); border-color: var(--deep); transform: translateY(-2px); }
.button--inverse { background: var(--surface); color: var(--deep); }
.button--inverse:hover { background: color-mix(in oklch, var(--surface) 88%, var(--blue-soft)); transform: translateY(-2px); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 4px;
}
.glass a:focus-visible,
.glass button:focus-visible { outline-color: var(--surface); }

.section { padding-block: clamp(72px, 8vw, 120px); }
.section--soft { background: var(--surface-soft); }
.section--surface { background: var(--surface); }
.section--deep { background: var(--deep); color: var(--surface); }
.section--deep .eyebrow { color: rgba(255,255,255,.68); }
.section--deep h2,
.section--deep h3,
.section--deep p { color: var(--surface); }
.section--bordered { border-top: 1px solid var(--border); }
.section-header { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(30px, 7vw, 100px); align-items: end; margin-bottom: clamp(46px, 6vw, 76px); }
.section-kicker {
  margin: 0 0 16px;
  color: var(--muted-readable);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}
.section-title {
  max-width: 14em;
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0;
}
.section-lead {
  max-width: 36em;
  margin: 0;
  color: var(--muted-readable);
  font-size: 16px;
  line-height: 1.85;
}
.section-lead strong { color: var(--fg); font-weight: 600; }
.section--deep .section-lead { color: rgba(255,255,255,.74); }

.problem-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(44px, 8vw, 120px); align-items: start; }
.problem-copy p { max-width: 34em; margin: 0 0 22px; color: var(--muted-readable); font-size: 17px; }
.problem-copy p:last-child { margin-bottom: 0; }
.problem-copy strong { color: var(--fg); font-weight: 600; }
.metric-block { padding-top: 8px; border-top: 1px solid var(--border); }
.metric-xl { display: block; margin: 0 0 8px; color: var(--deep); font-family: var(--font-mono); font-size: clamp(62px, 8vw, 108px); font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.metric-label { display: block; max-width: 16em; color: var(--muted-readable); font-size: 14px; line-height: 1.7; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 26px; }
.metric-row div { border-top: 1px solid var(--border); padding-top: 18px; }
.metric-row strong { display: block; color: var(--fg); font-family: var(--font-mono); font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.metric-row span { display: block; margin-top: 8px; color: var(--muted-readable); font-size: 13px; }

.signal-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(46px, 6vw, 74px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.signal-line__item { min-height: 150px; padding: 30px 28px; border-right: 1px solid var(--border); }
.signal-line__item:last-child { border-right: 0; }
.signal-line__code { color: var(--muted-readable); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; }
.signal-line__title { margin: 22px 0 6px; font-size: 20px; font-weight: 600; line-height: 1.45; }
.signal-line__copy { margin: 0; color: var(--muted-readable); font-size: 14px; line-height: 1.75; }

.capability-index { border-top: 1px solid var(--border); }
.capability-item {
  display: grid;
  grid-template-columns: 64px minmax(210px, .68fr) minmax(0, 1.5fr) 44px;
  gap: 28px;
  align-items: center;
  min-height: 150px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease-out), padding .25s var(--ease-out);
}
.capability-item--link:hover { background: color-mix(in oklch, var(--surface) 78%, var(--surface-soft)); padding-inline: 20px; }
.capability-item__no { color: var(--muted-readable); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; }
.capability-item__name { font-size: clamp(21px, 2vw, 28px); font-weight: 600; line-height: 1.45; }
.capability-item__copy { max-width: 42em; color: var(--muted-readable); font-size: 15px; line-height: 1.8; }
.capability-item__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--deep);
  transition: background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.capability-item__arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.capability-item--link:hover .capability-item__arrow { background: var(--fg); color: var(--surface); border-color: var(--fg); transform: translateX(2px); }
.capability-item--static .capability-item__arrow { opacity: .35; }

.feature-open {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  min-height: 520px;
  border: 1px solid color-mix(in oklch, var(--border) 80%, transparent);
  background: var(--surface);
  overflow: hidden;
}
.feature-open__media { position: relative; min-height: 420px; background: var(--photo-base); overflow: hidden; }
.feature-open__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.feature-open__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,10,20,.55)); }
.feature-open__caption { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.78); font-family: var(--font-mono); font-size: 10px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.feature-open__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 64px); }
.feature-open__body h3 { max-width: 9em; margin: 0 0 22px; font-size: clamp(30px, 3.5vw, 48px); font-weight: 600; line-height: 1.35; }
.feature-open__body p { max-width: 29em; margin: 0 0 28px; color: var(--muted-readable); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--deep); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.text-link::after { content: "→"; font-family: var(--font-mono); transition: transform .2s var(--ease-out); }
.text-link:hover::after { transform: translateX(4px); }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-strip__item { padding: 28px 24px; border-right: 1px solid var(--border); }
.proof-strip__item:last-child { border-right: 0; }
.proof-strip strong { display: block; color: var(--deep); font-family: var(--font-mono); font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.proof-strip span { display: block; margin-top: 6px; color: var(--muted-readable); font-size: 13px; }

.flow-wrap { position: relative; }
.flow-wrap::before { content: ""; position: absolute; left: 14px; right: 14px; top: 44px; height: 1px; background: var(--border); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow-step { position: relative; padding: 0 24px 0 0; }
.flow-step:not(:last-child) { margin-right: 20px; }
.flow-step__node { position: relative; z-index: 1; display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 26px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--deep); }
.flow-step__node svg { width: 31px; height: 31px; stroke: currentColor; fill: none; stroke-width: 1.55; }
.flow-step:nth-child(2) .flow-step__node { color: var(--blue); }
.flow-step:nth-child(3) .flow-step__node { color: var(--accent); }
.flow-step:nth-child(4) .flow-step__node { color: var(--deep); }
.flow-step__index { margin-bottom: 10px; color: var(--muted-readable); font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; }
.flow-step h3 { margin: 0 0 9px; font-size: 19px; font-weight: 600; line-height: 1.5; }
.flow-step p { max-width: 16em; margin: 0; color: var(--muted-readable); font-size: 14px; line-height: 1.75; }
.flow-emphasis { display: inline-block; margin-top: 18px; padding: 6px 10px; border: 1px solid color-mix(in oklch, var(--deep) 18%, var(--border)); border-radius: 999px; color: var(--deep); font-size: 12px; line-height: 1.5; }

.scene-layout { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr); gap: clamp(42px, 7vw, 96px); align-items: center; }
.scene-media { position: relative; align-self: stretch; min-height: 540px; background: var(--photo-base); overflow: hidden; }
.scene-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 48%; }
.scene-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(6,10,20,.66)); }
.scene-media__label { position: absolute; z-index: 1; left: 24px; bottom: 24px; right: 24px; color: rgba(255,255,255,.84); font-family: var(--font-mono); font-size: 10px; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.scene-copy h2 { margin: 0 0 24px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.38; }
.scene-copy > p { max-width: 33em; margin: 0 0 34px; color: var(--muted-readable); }
.todo-board { border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-soft); }
.todo-board__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.todo-board__head h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; }
.todo-board__head p { margin: 4px 0 0; color: var(--muted-readable); font-size: 12px; line-height: 1.6; }
.todo-count { flex: 0 0 auto; min-width: 36px; height: 30px; padding-inline: 9px; display: grid; place-items: center; border-radius: 999px; background: var(--surface-soft); color: var(--deep); font-family: var(--font-mono); font-size: 12px; }
.todo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 19px 24px; border-bottom: 1px solid var(--border); }
.todo-row:last-child { border-bottom: 0; }
.todo-row__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.todo-row__title::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.todo-row:nth-child(3) .todo-row__title::before { background: var(--blue); }
.todo-row:nth-child(4) .todo-row__title::before { background: var(--deep); }
.todo-row__meta { margin: 4px 0 0 17px; color: var(--muted-readable); font-size: 12px; line-height: 1.6; }
.todo-status { padding: 5px 9px; border-radius: 999px; background: color-mix(in oklch, var(--deep) 7%, var(--surface)); color: var(--deep); font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; }

.boundary-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(46px, 8vw, 110px); align-items: start; }
.boundary-rule { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.2); }
.boundary-rule:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.boundary-rule__no { color: rgba(255,255,255,.68); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; }
.boundary-rule h3 { margin: 0 0 7px; font-size: 20px; font-weight: 600; line-height: 1.5; }
.boundary-rule p { max-width: 35em; margin: 0; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.8; }
.boundary-aside { padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.boundary-aside__label { color: rgba(255,255,255,.68); font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.boundary-aside blockquote { margin: 28px 0 34px; font-size: clamp(25px, 2.8vw, 36px); font-weight: 500; line-height: 1.55; letter-spacing: 0; }
.boundary-aside p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.8; }

.next-step { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); min-height: 430px; background: var(--deep); color: var(--surface); overflow: hidden; }
.next-step__media { position: relative; min-height: 320px; background: var(--photo-base); overflow: hidden; }
.next-step__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.next-step__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg,rgba(6,10,20,.45),rgba(6,10,20,.12) 60%,transparent); }
.next-step__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 6vw, 80px); }
.next-step h2 { max-width: 10em; margin: 0 0 20px; font-size: clamp(32px, 3.7vw, 50px); font-weight: 600; line-height: 1.35; }
.next-step p { max-width: 34em; margin: 0 0 30px; color: rgba(255,255,255,.74); }
.next-step .hero-actions { margin-top: 0; }

.site-footer { background: var(--deep); color: var(--surface); padding-top: clamp(60px, 7vw, 92px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr .9fr; gap: clamp(30px, 6vw, 88px); padding-bottom: clamp(52px, 6vw, 80px); }
.footer-brand h2 { margin: 0 0 18px; font-size: 22px; font-weight: 600; line-height: 1.4; }
.footer-brand p { max-width: 24em; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.8; }
.footer-col h3 { margin: 0 0 18px; color: rgba(255,255,255,.68); font-family: var(--font-mono); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.5; transition: color .2s var(--ease-out); }
.footer-col a:hover { color: var(--surface); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.6; }

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-links { gap: 18px; }
  .hero-inner { grid-template-columns: minmax(0, .65fr) minmax(470px, 1fr); gap: 36px; }
  .hero--detail .hero-inner { grid-template-columns: minmax(460px, 1fr) .55fr; }
  .feature-open { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 900px) {
  .site-header { background: rgba(12,18,32,.35); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 70px; }
  .brand { grid-column: 1; }
  .menu-toggle { grid-column: 2; display: block; }
  .header-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: 70px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px clamp(20px, 5vw, 40px) 28px;
    background: rgba(255,255,255,.96);
    color: var(--fg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(18,35,58,.10);
  }
  .site-header.menu-open .nav-links { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { min-height: 52px; }
  .nav-links a::after { bottom: 9px; right: auto; width: 24px; }
  .hero, .hero-inner { min-height: 820px; }
  .hero-inner,
  .hero--detail .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 118px;
    padding-bottom: 42px;
    gap: 22px;
  }
  .hero--detail .glass { grid-column: 1; grid-row: auto; }
  .hero--detail .hero-aside,
  .hero-aside { display: none; }
  .hero-panel--overview,
  .hero-panel--detail { min-height: 0; }
  .glass-content { padding: 32px; }
  .section-header,
  .problem-layout,
  .scene-layout,
  .boundary-layout { grid-template-columns: 1fr; }
  .section-header { align-items: start; gap: 20px; }
  .section-title { max-width: 18em; }
  .feature-open { grid-template-columns: 1fr; }
  .feature-open__media { min-height: 360px; }
  .feature-open__body { padding: 38px 30px 42px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .flow-wrap::before { display: none; }
  .flow-step { padding-right: 0; }
  .flow-step:not(:last-child) { margin-right: 0; }
  .flow-step__node { width: 72px; height: 72px; margin-bottom: 20px; }
  .scene-media { min-height: 420px; }
  .next-step { grid-template-columns: 1fr; }
  .next-step__media { min-height: 280px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-inner { padding-inline: 20px; }
  .brand { font-size: 15px; }
  .hero, .hero-inner { min-height: 760px; }
  .hero-inner { padding-top: 104px; padding-bottom: 24px; }
  .glass { border-radius: 24px; }
  .glass-content { padding: 26px 22px 24px; }
  .hero-title { margin-bottom: 18px; font-size: clamp(38px, 8vw, 52px); line-height: 1.34; }
  .hero-definition { font-size: 16px; line-height: 1.75; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .button { min-height: 48px; padding-inline: 18px; flex: 1 1 auto; }
  .breadcrumb { margin-bottom: 20px; font-size: 12px; }
  .section { padding-block: 72px; }
  .section-title { font-size: clamp(28px, 8vw, 36px); }
  .metric-row { grid-template-columns: 1fr; gap: 0; }
  .metric-row div { padding: 15px 0; }
  .signal-line { grid-template-columns: 1fr; }
  .signal-line__item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--border); padding: 24px 0; }
  .signal-line__item:last-child { border-bottom: 0; }
  .capability-item { grid-template-columns: 38px minmax(0, 1fr) 42px; gap: 16px; min-height: 0; padding: 24px 0; }
  .capability-item__copy { grid-column: 2 / -1; grid-row: 2; }
  .capability-item__arrow { grid-column: 3; grid-row: 1; }
  .capability-item--link:hover { padding-inline: 10px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip__item:nth-child(2) { border-right: 0; }
  .proof-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .flow-grid { grid-template-columns: 1fr; gap: 30px; }
  .flow-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; }
  .flow-step__node { grid-row: 1 / span 4; margin-bottom: 0; }
  .flow-step__index { margin-top: 2px; }
  .flow-step h3, .flow-step p, .flow-emphasis { grid-column: 2; }
  .flow-emphasis { justify-self: start; margin-top: 12px; }
  .todo-board__head { padding: 18px; }
  .todo-row { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .todo-status { justify-self: start; margin-left: 17px; }
  .boundary-aside { padding: 28px 24px; }
  .next-step__body { padding: 34px 24px 40px; }
  .next-step h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .proof-strip strong { font-size: 26px; }
}

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