:root {
  --paper: #f3efe7;
  --paper-light: #fbf8f2;
  --ink: #20201d;
  --ink-soft: #5f5d55;
  --clay: #c7664f;
  --clay-dark: #a84d39;
  --moss: #68745d;
  --blue: #667784;
  --line: rgba(32, 32, 29, 0.16);
  --line-strong: rgba(32, 32, 29, 0.34);
  --serif: ui-serif, "Songti SC", "STSong", "SimSun", serif;
  --sans: ui-sans-serif, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --shell: min(1240px, calc(100vw - 64px));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper-light);
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(243, 239, 231, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.is-scrolled,
.site-header.menu-open { background: var(--paper); border-color: var(--line); }
.nav-shell { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 650; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.45; }
.brand-mark circle { fill: var(--clay); stroke: none; }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 42px; }
.desktop-nav a { position: relative; color: #34342f; font-size: 14px; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transition: right .28s var(--ease-out);
}
.desktop-nav a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-product { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; }
.nav-product span { color: var(--clay); font-size: 17px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 6px auto; background: var(--ink); transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { padding: 6px 32px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }

.hero { min-height: 100svh; padding: 148px 0 28px; display: flex; flex-direction: column; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); gap: clamp(42px, 7vw, 112px); align-items: center; flex: 1; }
.hero-copy { padding-bottom: 18px; }
.hero-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 30px; color: var(--ink-soft); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker span { width: 42px; height: 1px; background: var(--clay); }
.hero h1, .section-head h2, .product h2, .method h2, .closing h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 { max-width: 10.5em; margin-bottom: 34px; font-size: clamp(58px, 6.3vw, 96px); line-height: 1.06; }
.hero h1 em, .product h2 em, .closing h2 em { color: var(--clay); font-style: normal; }
.hero-lede { max-width: 610px; margin-bottom: 36px; color: #494841; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.78; }
.hero-actions, .closing-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 21px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 650; transition: transform .25s var(--ease-out), background-color .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--clay-dark); color: #fffaf5; }
.button-primary:hover { background: #913e30; }
.button-quiet { border-color: var(--line-strong); }
.button-quiet:hover { border-color: var(--ink); background: var(--paper-light); }

.system-map { position: relative; min-height: 540px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-caption, .map-note { position: absolute; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.map-caption { top: 18px; }
.map-note { bottom: 18px; }
.orbit { width: 100%; height: 100%; min-height: 540px; overflow: visible; }
.orbit-lines { fill: none; stroke: rgba(32,32,29,.23); stroke-width: 1.1; stroke-dasharray: 2 5; transform-origin: center; animation: orbit-turn 34s linear infinite; }
.orbit-dots { fill: var(--ink); opacity: .42; }
.node circle { fill: var(--paper-light); stroke: var(--ink); stroke-width: 1.25; }
.node text { fill: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 650; }
.node text.node-sub { fill: var(--ink-soft); font-size: 11px; font-weight: 400; }
.node-work circle { stroke: var(--clay); }
.node-pay circle { stroke: var(--moss); }
.node-build circle { stroke: var(--blue); }
.core circle { fill: var(--ink); }
.core .core-ring { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1; stroke-dasharray: 3 5; }
.core text { fill: var(--paper-light); font-family: var(--serif); font-size: 19px; }
.core text.core-sub { fill: rgba(251,248,242,.65); font-family: var(--sans); font-size: 10px; letter-spacing: .18em; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }

.hero-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.hero-foot p { margin: 0; }
.hero-foot a { display: inline-flex; gap: 12px; align-items: center; }

.thesis-band { padding: 110px 0; color: var(--paper-light); background: var(--ink); }
.thesis-inner { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; }
.thesis-inner > p { margin-bottom: 0; font-family: var(--serif); font-size: clamp(42px, 5.2vw, 76px); line-height: 1.14; letter-spacing: -0.03em; }
.thesis-copy { padding-top: 24px; border-top: 1px solid rgba(251,248,242,.24); }
.thesis-copy p { max-width: 28em; margin: 24px 0 0; color: #d2cec5; }
.index-mark { color: #aaa69d; font-size: 11px; letter-spacing: .14em; }

.capabilities { padding: 150px 0 160px; }
.section-head { display: grid; grid-template-columns: .42fr 1fr; gap: 40px; margin-bottom: 82px; }
.section-label { color: var(--ink-soft); font-size: 12px; letter-spacing: .12em; }
.section-head h2 { max-width: 9.2em; margin: 0; font-size: clamp(46px, 5.4vw, 76px); line-height: 1.14; }
.capability-list { border-top: 1px solid var(--ink); }
.capability-row { display: grid; grid-template-columns: .84fr 1fr 120px; gap: 36px; align-items: center; min-height: 172px; border-bottom: 1px solid var(--line-strong); }
.capability-name { display: flex; align-items: center; gap: 23px; }
.capability-name h3 { margin: 0; font-family: var(--serif); font-size: clamp(27px, 2.6vw, 38px); font-weight: 400; letter-spacing: -0.025em; }
.capability-symbol { width: 31px; height: 31px; flex: 0 0 auto; border: 1px solid currentColor; }
.symbol-work { color: var(--clay); border-radius: 50%; }
.symbol-pay { color: var(--moss); transform: rotate(45deg); }
.symbol-build { position: relative; color: var(--blue); border-radius: 50% 50% 0 50%; }
.capability-row > p { max-width: 48ch; margin: 0; color: #4c4b44; }
.capability-meta { justify-self: end; color: var(--ink-soft); font-size: 10px; letter-spacing: .13em; }

.product { padding: 130px 0; color: var(--paper-light); background: #272723; }
.product-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(54px, 8vw, 130px); align-items: center; }
.product-tag { margin-bottom: 34px; color: #b7b3aa; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.product h2 { margin-bottom: 34px; font-size: clamp(46px, 5.3vw, 75px); line-height: 1.12; }
.product-copy > p:not(.product-tag) { max-width: 36em; color: #d2cec5; }
.product-points { margin: 42px 0; padding: 0; border-top: 1px solid rgba(251,248,242,.22); list-style: none; }
.product-points li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(251,248,242,.16); color: #bdb9b0; font-size: 14px; }
.product-points strong { color: var(--paper-light); font-weight: 500; }
.button-paper { border-color: rgba(251,248,242,.45); color: var(--paper-light); }
.button-paper:hover { border-color: var(--paper-light); background: var(--paper-light); color: var(--ink); }
.product-stage { position: relative; min-height: 650px; padding: 70px 42px 54px; background: var(--clay); }
.mock-label { position: absolute; top: 20px; left: 24px; margin: 0; color: #fff3ed; font-size: 10px; letter-spacing: .13em; }
.dashboard { position: relative; display: grid; grid-template-columns: 64px 1fr; min-height: 474px; color: var(--ink); background: var(--paper-light); box-shadow: 16px 18px 0 rgba(32,32,29,.22); }
.dashboard-rail { display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: 22px; border-right: 1px solid var(--line); }
.mini-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--paper-light); background: var(--ink); font-family: var(--serif); font-size: 13px; }
.rail-dot { width: 15px; height: 3px; background: #c9c5bc; }
.rail-dot.active { background: var(--clay); }
.dashboard-main { padding: 38px clamp(22px, 4vw, 48px); }
.dashboard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.dashboard-top div { display: flex; flex-direction: column; gap: 6px; }
.dashboard-top small, .dashboard-stats small { color: var(--ink-soft); }
.dashboard-top strong { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.demo-badge { padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); font-size: 10px; }
.dashboard-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0; }
.dashboard-stats > div { padding: 7px 26px 7px 0; }
.dashboard-stats > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.dashboard-stats small { display: block; }
.dashboard-stats strong { margin-right: 5px; font-family: var(--serif); font-size: 42px; font-weight: 400; }
.dashboard-stats span { color: var(--ink-soft); font-size: 12px; }
.dashboard-list { border-top: 1px solid var(--line-strong); }
.list-head, .list-row { display: grid; grid-template-columns: 1fr 80px 48px; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 12px; }
.list-head { color: var(--ink-soft); }
.list-row > span:first-child { display: flex; align-items: center; gap: 8px; }
.task-dot { width: 7px; height: 7px; border-radius: 50%; }
.task-dot.clay { background: var(--clay); }.task-dot.moss { background: var(--moss); }.task-dot.blue { background: var(--blue); }
.status { color: var(--clay-dark); }.status.done { color: var(--moss); }
.stage-stamp { position: absolute; right: 18px; bottom: 17px; display: flex; gap: 18px; color: #fff3ed; font-size: 9px; letter-spacing: .14em; }

.method { padding: 150px 0; }
.method-head { display: grid; grid-template-columns: 1fr .56fr; gap: 80px; align-items: end; margin-bottom: 90px; }
.method h2 { margin: 23px 0 0; font-size: clamp(48px, 5.6vw, 78px); line-height: 1.13; }
.method-head > p { max-width: 35em; margin-bottom: 9px; color: var(--ink-soft); }
.method-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; counter-reset: method; }
.method-list li { min-height: 290px; padding: 26px 40px 10px 0; border-bottom: 1px solid var(--line-strong); }
.method-list li + li { padding-left: 40px; border-left: 1px solid var(--line); }
.step-no { color: var(--clay-dark); font-size: 12px; }
.method-list li div { margin-top: 94px; }
.method-list h3 { margin-bottom: 16px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.method-list p { max-width: 24em; margin: 0; color: var(--ink-soft); font-size: 15px; }

.closing { padding: 130px 0; background: var(--paper-light); border-top: 1px solid var(--line); }
.closing-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(54px, 9vw, 140px); align-items: center; }
.closing-mark svg { width: min(100%, 320px); fill: none; stroke: var(--ink); stroke-width: 1.4; }
.closing-mark circle { fill: var(--clay); stroke: none; }
.closing h2 { margin: 25px 0 30px; font-size: clamp(50px, 5.9vw, 86px); line-height: 1.08; }
.closing-copy > p:not(.section-label) { max-width: 47em; color: var(--ink-soft); }
.closing-actions { margin-top: 38px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line-strong); font-weight: 650; }

.site-footer { padding: 54px 0 26px; color: var(--paper-light); background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 58px; }
.footer-brand { color: var(--paper-light); }
.footer-top > p { color: #bdb9b0; }
.footer-top nav { justify-self: end; display: flex; flex-direction: column; gap: 8px; }
.footer-top nav a { color: #d8d4ca; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(251,248,242,.2); color: #96928a; font-size: 10px; letter-spacing: .09em; }
.footer-bottom p { margin: 0; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: 126px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 820px; }
  .system-map { min-height: 520px; }
  .orbit { min-height: 520px; }
  .thesis-inner { grid-template-columns: 1fr .7fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-copy { max-width: 720px; }
  .product-stage { width: min(760px, 100%); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 38px, 1240px); }
  .nav-shell { height: 72px; }
  .nav-product { display: none; }
  .hero { min-height: auto; padding: 116px 0 24px; }
  .hero-grid { gap: 52px; }
  .hero-kicker { margin-bottom: 24px; }
  .hero h1 { margin-bottom: 25px; font-size: clamp(48px, 14vw, 68px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .system-map, .orbit { min-height: 390px; }
  .map-caption { top: 12px; }
  .map-note { bottom: 12px; }
  .hero-foot { margin-top: 36px; }
  .hero-foot p { max-width: 18em; }
  .thesis-band { padding: 82px 0; }
  .thesis-inner { grid-template-columns: 1fr; gap: 54px; }
  .thesis-inner > p { font-size: 43px; }
  .capabilities { padding: 98px 0 105px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 52px; }
  .section-head h2 { font-size: 48px; }
  .capability-row { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 34px 0; }
  .capability-row > p { max-width: 34em; }
  .capability-meta { justify-self: start; }
  .product { padding: 92px 0; }
  .product h2 { font-size: 49px; }
  .product-stage { min-height: 465px; padding: 62px 16px 42px; }
  .dashboard { grid-template-columns: 44px 1fr; min-height: 355px; box-shadow: 8px 10px 0 rgba(32,32,29,.22); }
  .dashboard-rail { gap: 20px; padding-top: 16px; }
  .mini-logo { width: 26px; height: 26px; }
  .dashboard-main { padding: 24px 15px; overflow: hidden; }
  .dashboard-top { padding-bottom: 18px; }
  .dashboard-top strong { font-size: 18px; }
  .dashboard-stats { margin: 18px 0; }
  .dashboard-stats > div { padding-right: 10px; }
  .dashboard-stats > div + div { padding-left: 14px; }
  .dashboard-stats strong { font-size: 31px; }
  .list-head, .list-row { grid-template-columns: 1fr 55px 38px; gap: 6px; font-size: 10px; }
  .method { padding: 100px 0; }
  .method-head { grid-template-columns: 1fr; gap: 38px; margin-bottom: 62px; }
  .method h2 { font-size: 50px; }
  .method-list { grid-template-columns: 1fr; }
  .method-list li { min-height: 0; padding: 24px 0 34px; }
  .method-list li + li { padding-left: 0; border-left: 0; }
  .method-list li div { margin-top: 42px; }
  .closing { padding: 94px 0; }
  .closing-grid { grid-template-columns: 1fr; }
  .closing-mark svg { width: 150px; }
  .closing h2 { font-size: 51px; }
  .closing-actions { align-items: stretch; flex-direction: column; }
  .closing-actions .button { justify-content: space-between; }
  .text-link { justify-content: space-between; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
  .footer-top nav { justify-self: start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  .brand span { font-size: 14px; }
  .hero h1 { font-size: 45px; }
  .system-map, .orbit { min-height: 340px; }
  .dashboard-stats strong { font-size: 27px; }
  .list-row > span:first-child { white-space: nowrap; }
}

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