@font-face {
  font-family: "Tsanger JinKai";
  src: url("assets/fonts/TsangerJinKai-web.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

:root {
  --canvas: #f4f0e8;
  --canvas-warm: #ece4d8;
  --paper: #fbf9f3;
  --paper-white: #fffdf8;
  --ink: #231c17;
  --ink-soft: #5f554b;
  --muted: #8f8376;
  --faint: #b7aa9b;
  --line: rgba(53, 40, 30, .14);
  --line-strong: rgba(53, 40, 30, .27);
  --bronze: #a9612b;
  --bronze-light: #d19a68;
  --red: #bd2f29;
  --dark: #171412;
  --dark-soft: #2a231e;
  --cream: #f6eddf;
  --green: #397254;
  --serif: "Tsanger JinKai", "Songti SC", "Noto Serif SC", STSong, Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

body.menu-open { overflow: hidden; }
.hidden { display: none !important; }

.site-notice {
  min-height: 40px;
  padding: 9px max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper-white);
  font-size: 12px;
  text-align: center;
}
.site-notice strong { color: var(--bronze-light); font: 700 9px var(--mono); letter-spacing: .14em; }
.site-notice.maintenance { background: var(--red); }
.site-notice.maintenance strong { color: white; }

main { overflow: clip; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

::selection {
  background: rgba(189, 47, 41, .16);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 9px 14px;
  background: var(--ink);
  color: var(--paper-white);
  font-size: 13px;
  transition: transform .2s;
}

.skip-link:focus { transform: translateY(0); }

.page-gutter {
  padding-right: max(32px, calc((100vw - var(--max)) / 2));
  padding-left: max(32px, calc((100vw - var(--max)) / 2));
}

.section-space { padding-top: clamp(108px, 12vw, 176px); padding-bottom: clamp(108px, 12vw, 176px); }

.overline {
  margin: 0 0 20px;
  color: var(--bronze);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.overline-light { color: var(--bronze-light); }

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  transition: transform .28s var(--ease), background .28s, color .28s, box-shadow .28s;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--ink);
  color: var(--paper-white);
  box-shadow: 0 14px 34px rgba(35, 28, 23, .14);
}

.button-primary:hover { background: #0f0d0b; box-shadow: 0 18px 40px rgba(35, 28, 23, .2); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: rgba(255, 255, 255, .44); }

/* Header */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(244, 240, 232, .9);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  transition: background .25s, border-color .25s, box-shadow .25s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(249, 246, 239, .95);
  box-shadow: 0 10px 32px rgba(63, 47, 34, .05);
}

.nav-shell {
  width: min(calc(100% - 64px), var(--max));
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }

.brand-word {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  letter-spacing: .04em;
}

.brand-word span {
  margin: 0 1px;
  color: var(--red);
  font-family: var(--sans);
  font-size: .38em;
}

.brand-meta {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-strong);
  line-height: 1.15;
}

.brand-meta strong { font-size: 12px; font-weight: 650; letter-spacing: .12em; }
.brand-meta small { margin-top: 5px; color: var(--muted); font-family: var(--mono); font-size: 7px; letter-spacing: .28em; }

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav > a,
.product-menu > summary {
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
  transition: color .2s;
}

.desktop-nav > a:hover,
.product-menu > summary:hover { color: var(--ink); }

.product-menu { position: relative; }
.product-menu > summary { list-style: none; display: flex; align-items: center; gap: 7px; }
.product-menu > summary::-webkit-details-marker { display: none; }
.product-menu[open] > summary { color: var(--ink); }
.product-menu[open] > summary span { transform: rotate(180deg); }
.product-menu > summary span { display: inline-block; transition: transform .2s; }

.product-popover {
  position: absolute;
  top: 36px;
  left: -128px;
  width: 430px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 24px 70px rgba(44, 31, 22, .16);
}

.product-popover a {
  padding: 13px 12px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}

.product-popover a:last-child { border-bottom: 0; }
.product-popover a:hover { background: var(--canvas); }

.menu-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper-white);
  font-family: var(--serif);
  font-size: 15px;
}

.menu-icon.ghost { border: 1px solid var(--line); background: transparent; color: var(--muted); }
.product-popover a > span:nth-child(2) { display: flex; flex-direction: column; }
.product-popover strong { font-size: 13px; font-weight: 650; }
.product-popover small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.product-popover em { color: var(--green); font-size: 9px; font-style: normal; letter-spacing: .08em; }
.product-popover em.muted { color: var(--muted); }

.header-download {
  margin-left: 32px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 650;
  transition: background .2s, color .2s;
}

.header-download:hover { background: var(--ink); color: var(--paper-white); }

.menu-button {
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 23px;
  height: 1px;
  margin: 6px auto;
  display: block;
  background: var(--ink);
  transition: transform .25s var(--ease);
}

.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav { display: none; }

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(54px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(500px, 1.04fr) minmax(430px, .96fr);
  align-items: center;
  gap: clamp(52px, 7vw, 108px);
}

.hero::after {
  content: "SHINZA";
  position: absolute;
  z-index: -1;
  right: max(32px, calc((100vw - var(--max)) / 2));
  bottom: 22px;
  color: rgba(94, 75, 58, .06);
  font-family: var(--serif);
  font-size: clamp(82px, 13vw, 188px);
  line-height: .8;
  letter-spacing: .03em;
  pointer-events: none;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  isolation: isolate;
  transition: filter .4s var(--ease);
}

.art-halo {
  position: absolute;
  z-index: -3;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(185, 120, 66, .14), rgba(185, 120, 66, .03) 44%, transparent 69%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 68px, rgba(90, 64, 43, .08) 69px 70px);
}

.art-glyph {
  position: absolute;
  z-index: -2;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(174, 106, 54, .10);
  font-family: var(--serif);
  font-size: clamp(280px, 31vw, 470px);
  line-height: 1;
  transition: color .35s;
}

.art-dot {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(189, 47, 41, .07), 0 0 24px rgba(189, 47, 41, .3);
}

.dot-one { top: 15%; left: 21%; }
.dot-two { right: 19%; bottom: 25%; width: 5px; height: 5px; box-shadow: 0 0 0 7px rgba(189, 47, 41, .06); }

.idea-slip,
.output-slip,
.agent-seal {
  position: absolute;
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 20px 48px rgba(68, 48, 34, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.idea-slip {
  top: 26%;
  left: 4%;
  width: 182px;
  padding: 20px 22px;
  border-top: 3px solid var(--red);
  transform: rotate(-4deg);
}

.idea-slip small,
.output-slip small {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .18em;
}

.idea-slip strong { margin: 11px 0 4px; display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.idea-slip span { color: var(--muted); font-size: 11px; }

.agent-seal {
  z-index: 2;
  top: 38%;
  left: 47%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%) rotate(3deg);
  display: grid;
  place-content: center;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-white);
  text-align: center;
  box-shadow: 0 22px 50px rgba(35, 28, 23, .24);
}

.agent-seal::before,
.agent-seal::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(209, 154, 104, .4);
  border-radius: inherit;
}

.agent-seal::after { inset: -10px; border-style: solid; border-color: rgba(169, 97, 43, .16); }
.agent-seal strong { font-family: var(--serif); font-size: 42px; font-weight: 400; line-height: .9; }
.agent-seal span { margin-top: 7px; color: var(--bronze-light); font-family: var(--mono); font-size: 7px; letter-spacing: .18em; }

.output-slip {
  width: 195px;
  padding: 20px 22px 22px;
  border-left: 3px solid var(--bronze);
}

.output-slip strong { margin-top: 8px; display: block; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.output-film { top: 27%; right: 1%; transform: rotate(5deg); }
.output-ai { right: 12%; bottom: 20%; transform: rotate(-3deg); }

.idea-slip::after,
.output-slip::before {
  content: "";
  position: absolute;
  z-index: -1;
  height: 1px;
  background: rgba(88, 64, 46, .24);
  transform-origin: left;
}

.idea-slip::after { top: 50%; left: 98%; width: 110px; transform: rotate(11deg); }
.output-film::before { top: 70%; right: 98%; width: 84px; transform: rotate(-12deg); }
.output-ai::before { top: 35%; right: 98%; width: 126px; transform: rotate(28deg); }

.art-caption {
  position: absolute;
  bottom: 7%;
  left: 12%;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
}

.art-caption span { color: var(--red); font-family: var(--mono); }

.hero-art[data-product-art="writing"] .art-glyph { color: rgba(113, 83, 62, .08); }
.hero-art[data-product-art="writing"] .agent-seal { background: #6f4932; }
.hero-art[data-product-art="documents"] .art-glyph { color: rgba(68, 76, 73, .08); }
.hero-art[data-product-art="documents"] .agent-seal { background: #394a46; border-color: #637d76; }

.hero-copy { position: relative; z-index: 2; }

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(53px, 5.6vw, 78px);
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.16;
}

.hero-copy h1 em { color: var(--bronze); font-style: normal; }

.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-switcher {
  margin-top: clamp(54px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.hero-switcher button {
  position: relative;
  padding: 17px 8px 10px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 11px;
  cursor: pointer;
  transition: color .2s;
}

.hero-switcher button::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 14px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform .28s var(--ease);
}

.hero-switcher button.active { color: var(--ink); }
.hero-switcher button.active::before { transform: scaleX(1); }
.hero-switcher button span { margin-right: 10px; color: var(--faint); font-family: var(--mono); font-size: 8px; }

/* Manifesto */

.manifesto {
  min-height: 480px;
  padding-top: clamp(92px, 10vw, 140px);
  padding-bottom: clamp(92px, 10vw, 140px);
  display: grid;
  grid-template-columns: 150px minmax(440px, 1fr) minmax(280px, .62fr);
  align-items: end;
  gap: 46px;
  background:
    radial-gradient(circle at 80% 24%, rgba(169, 97, 43, .18), transparent 24%),
    linear-gradient(115deg, #12151a, #171412 58%, #241b16);
  color: var(--paper-white);
}

.section-index {
  align-self: start;
  margin: 0;
  color: rgba(255, 255, 255, .44);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
}

.manifesto-kicker { margin: 0 0 16px; color: var(--bronze-light); font-family: var(--serif); font-size: 30px; }

.manifesto h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 400;
  line-height: 1.24;
}

.manifesto h2 em { color: var(--bronze-light); font-style: normal; }
.manifesto-copy { margin: 0 0 8px; color: rgba(255, 253, 248, .68); font-size: 15px; line-height: 2; }

/* Shared headings */

.section-heading { max-width: 820px; }
.section-heading h2,
.outputs-heading h2,
.download-heading h2,
.showcase-copy h2,
.script-intro-copy h2,
.system-heading h2,
.local-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: .012em;
  line-height: 1.24;
}

.section-heading > p:last-child {
  max-width: 630px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  line-height: 1.95;
}

/* Three products */

.products { background: var(--canvas); }

.product-lineup {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1.35fr .92fr .92fr;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.product-panel {
  min-height: 420px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-strong);
}

.product-panel:last-child { border-right: 0; }
.product-panel-live { background: var(--paper-white); box-shadow: inset 0 3px var(--bronze); }
.product-panel-coming { color: var(--muted); }

.product-panel-top { display: flex; justify-content: space-between; align-items: flex-start; }

.product-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 20px;
}

.product-panel-live .product-symbol { border-color: var(--ink); background: var(--ink); color: var(--paper-white); }

.status {
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid currentColor;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.status-live { color: var(--green); }
.status-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.product-panel p { margin: 0 0 10px; font-family: var(--mono); font-size: 8px; letter-spacing: .18em; }
.product-panel h3 { margin: 0 0 9px; font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); font-weight: 400; }
.product-summary { font-size: 14px; }

.product-panel > a,
.coming-note {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.product-panel > a { transition: color .2s; }
.product-panel > a:hover { color: var(--bronze); }
.coming-note { color: var(--faint); }

/* Product overview */

.script-overview { padding-bottom: 0; background: var(--canvas-warm); }

.script-intro {
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(600px, 1.28fr);
  align-items: center;
  gap: clamp(56px, 7vw, 112px);
}

.script-intro-copy h2 em { color: var(--bronze); font-style: normal; }

.script-intro-copy > p:not(.overline) {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  line-height: 2;
}

.script-facts {
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.script-facts div { padding: 20px 12px 0 0; }
.script-facts dt { font-family: var(--serif); font-size: 35px; line-height: 1; }
.script-facts dd { margin: 7px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .08em; }

.screen-composition { position: relative; padding-bottom: 54px; }
.screen-composition::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -32px;
  right: -8vw;
  bottom: 18px;
  left: 11%;
  background: rgba(255, 255, 255, .38);
}

.screen-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(69, 48, 33, .18);
  background: var(--paper);
  box-shadow: 0 32px 72px rgba(63, 43, 28, .18);
}

.screen-bar {
  height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #e8e2d9;
}

.screen-bar > span { display: flex; gap: 5px; }
.screen-bar i { width: 6px; height: 6px; border-radius: 50%; background: #b8aa9c; }
.screen-bar i:first-child { background: var(--red); }
.screen-bar small { color: var(--muted); font-family: var(--mono); font-size: 7px; letter-spacing: .12em; }
.screen-composition > p { position: relative; z-index: 1; margin: 16px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .08em; }

/* Agent system */

.agent-system {
  background: var(--dark);
  color: var(--paper-white);
}

.system-heading {
  display: grid;
  grid-template-columns: minmax(500px, 1fr) minmax(280px, .5fr);
  align-items: end;
  gap: 80px;
}

.system-heading > p { margin: 0 0 8px; color: rgba(255, 253, 248, .58); line-height: 2; }

.agent-roster {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.agent-roster > div {
  min-height: 158px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.agent-roster > div:last-child { border-right: 0; }
.agent-roster span { color: var(--bronze-light); font-family: var(--mono); font-size: 8px; }
.agent-roster strong { margin-top: auto; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.agent-roster small { margin-top: 6px; color: rgba(255, 253, 248, .45); font-size: 9px; }

.node-track {
  position: relative;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
}

.node-line {
  position: absolute;
  z-index: 0;
  top: 9px;
  right: 4%;
  left: 4%;
  height: 1px;
  background: rgba(255, 255, 255, .2);
}

.node-track span {
  position: relative;
  z-index: 1;
  color: rgba(255, 253, 248, .48);
  font-size: 9px;
  text-align: center;
  white-space: nowrap;
}

.node-track i {
  width: 19px;
  height: 19px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  background: var(--dark);
  color: rgba(255, 253, 248, .58);
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
}

.node-track span.active { color: var(--paper-white); }
.node-track span.active i { border-color: var(--red); background: var(--red); color: white; box-shadow: 0 0 0 6px rgba(189, 47, 41, .14); }

.memory-band {
  margin-top: 58px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 150px minmax(320px, .8fr) minmax(300px, 1fr);
  align-items: center;
  gap: 32px;
  border: 1px solid rgba(209, 154, 104, .36);
  background: linear-gradient(100deg, rgba(169, 97, 43, .13), rgba(169, 97, 43, .03));
}

.memory-band > span { color: var(--bronze-light); font-family: var(--mono); font-size: 8px; letter-spacing: .17em; }
.memory-band strong { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.memory-band p { margin: 0; color: rgba(255, 253, 248, .52); font-size: 12px; line-height: 1.9; }

/* Workspace */

.workspace-showcase { background: var(--paper); }

.showcase-copy {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  column-gap: 80px;
}

.showcase-copy .overline { grid-column: 1 / -1; }
.showcase-copy > p:last-child { margin: 12px 0 0; color: var(--ink-soft); line-height: 2; }
.showcase-screen { margin-top: 70px; }
.screen-frame-large { box-shadow: 0 38px 90px rgba(61, 41, 27, .15); }

/* Two outputs */

.outputs { background: var(--canvas); }
.outputs-heading { max-width: 780px; }
.outputs-heading > p:last-child { max-width: 620px; margin: 25px 0 0; color: var(--ink-soft); line-height: 1.9; }

.output-pair {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.output-item {
  position: relative;
  min-height: 560px;
  padding: clamp(42px, 6vw, 86px) max(32px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}

.output-human { padding-left: max(32px, calc((100vw - var(--max)) / 2)); background: var(--paper-white); }
.output-machine { padding-right: max(32px, calc((100vw - var(--max)) / 2)); background: #ded3c4; }
.output-number { color: var(--faint); font-family: var(--serif); font-size: 48px; }
.output-item > p { margin: 28px 0 8px; color: var(--bronze); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.output-item h3 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5.2vw, 72px); font-weight: 400; }
.output-item > strong { margin-top: 10px; display: block; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.output-item > span { max-width: 510px; margin-top: 24px; display: block; color: var(--ink-soft); font-size: 14px; line-height: 2; }

.page-lines,
.prompt-lines {
  position: absolute;
  right: 7%;
  bottom: 7%;
  width: 36%;
  opacity: .13;
}

.page-lines i { width: 100%; height: 1px; margin: 17px 0; display: block; background: var(--ink); }
.page-lines i:nth-child(2) { width: 75%; }
.page-lines i:nth-child(4) { width: 88%; }
.prompt-lines { display: grid; gap: 7px; }
.prompt-lines i { padding: 6px 8px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 7px; font-style: normal; letter-spacing: .12em; }

/* Feature editorial */

.feature-editorial { background: var(--paper); }
.feature-heading { max-width: 900px; }
.feature-lines { margin-top: 72px; border-top: 1px solid var(--line-strong); }

.feature-lines article {
  padding: 35px 0;
  display: grid;
  grid-template-columns: 90px minmax(260px, .65fr) minmax(360px, 1fr);
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line-strong);
}

.feature-no { color: var(--red); font-family: var(--mono); font-size: 10px; }
.feature-lines article div p { margin: 0 0 5px; color: var(--muted); font-family: var(--mono); font-size: 7px; letter-spacing: .17em; }
.feature-lines h3 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.feature-lines article > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.95; }

/* Local-first */

.local-first {
  min-height: 650px;
  padding-top: clamp(92px, 10vw, 150px);
  padding-bottom: clamp(92px, 10vw, 150px);
  display: grid;
  grid-template-columns: minmax(400px, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(60px, 9vw, 138px);
  background: linear-gradient(128deg, #2b211a, #171412 72%);
  color: var(--paper-white);
}

.local-art {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.local-art::before {
  content: "本地";
  position: absolute;
  right: -5%;
  color: rgba(209, 154, 104, .07);
  font-family: var(--serif);
  font-size: 190px;
  line-height: 1;
}

.local-art > span { color: var(--bronze-light); font-family: var(--mono); font-size: 9px; letter-spacing: .2em; }
.local-art strong { position: relative; margin-top: 30px; font-family: var(--serif); font-size: clamp(38px, 4vw, 58px); font-weight: 400; line-height: 1.35; }
.local-art i { width: 68px; height: 3px; margin-top: 36px; background: var(--red); }
.local-copy > p:not(.overline) { margin: 30px 0 0; color: rgba(255, 253, 248, .62); line-height: 2; }
.local-copy ul { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .18); }
.local-copy li { padding: 15px 0; display: flex; gap: 20px; border-bottom: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 253, 248, .72); font-size: 12px; }
.local-copy li span { color: var(--bronze-light); font-family: var(--mono); font-size: 8px; }

/* Download */

.download { background: var(--canvas-warm); }
.download-heading { max-width: 820px; }
.download-heading > p:last-child { max-width: 640px; margin: 28px 0 0; color: var(--ink-soft); line-height: 1.95; }

.download-path {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.download-path > div { padding: 27px 28px 27px 0; border-right: 1px solid var(--line-strong); }
.download-path > div:not(:first-child) { padding-left: 28px; }
.download-path > div:last-child { border-right: 0; }
.download-path span { color: var(--red); font-family: var(--mono); font-size: 8px; }
.download-path strong { margin-top: 15px; display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.download-path p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }

.download-center {
  max-width: 1000px;
  margin: 56px auto 0;
  border: 1px solid var(--line-strong);
  background: var(--paper-white);
  box-shadow: 0 28px 70px rgba(70, 47, 30, .12);
}

.download-select { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-strong); }
.download-select button { padding: 19px 22px; border: 0; border-right: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.download-select button:last-child { border-right: 0; }
.download-select button.active { background: var(--ink); color: var(--paper-white); }

.download-channel { padding: 14px 20px 0; display: flex; justify-content: flex-end; gap: 8px; }
.download-channel button { padding: 6px 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.download-channel button.active { border-color: var(--bronze); background: rgba(169, 97, 43, .08); color: var(--bronze); }

.download-product {
  padding: clamp(34px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
}

.download-version { color: var(--bronze); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.download-product h3 { margin: 13px 0 9px; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.download-product p { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
.download-button { min-width: 220px; min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--red); color: white; font-size: 12px; font-weight: 650; transition: transform .25s var(--ease), background .25s; }
.download-button:hover { transform: translateY(-2px); background: #a6211c; }
.download-button.disabled,
.download-button[aria-disabled="true"] { background: var(--muted); cursor: not-allowed; pointer-events: none; }
.download-footnote { padding: 14px 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.download-footnote span:first-child { color: var(--green); }
.download-footnote i { width: 5px; height: 5px; margin-right: 6px; display: inline-block; border-radius: 50%; background: currentColor; }

/* FAQ */

.faq { background: var(--paper); }
.faq-list { max-width: 900px; margin-top: 58px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; list-style: none; font-family: var(--serif); font-size: 20px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--bronze); font-family: var(--sans); font-size: 22px; font-weight: 300; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 720px; margin: -5px 0 26px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }

/* Footer */

.site-footer {
  padding-top: 76px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr;
  gap: 60px;
  background: var(--dark);
  color: var(--paper-white);
}

.footer-brand .brand-word { font-size: 42px; }
.footer-brand p { max-width: 320px; margin: 25px 0 0; color: rgba(255, 253, 248, .48); font-family: var(--serif); font-size: 17px; }
.footer-products,
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-products > p,
.footer-links > p { margin: 0 0 8px; color: var(--bronze-light); font-family: var(--mono); font-size: 8px; letter-spacing: .18em; }
.footer-products a,
.footer-links a { color: rgba(255, 253, 248, .62); font-size: 11px; }
.footer-products a:hover,
.footer-links a:hover { color: white; }
.footer-products a span { margin-left: 7px; color: rgba(255, 253, 248, .28); font-size: 8px; }
.footer-bottom { grid-column: 1 / -1; margin-top: 54px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 253, 248, .34); font-family: var(--mono); font-size: 7px; letter-spacing: .14em; }

/* Motion */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js [data-reveal].revealed { opacity: 1; transform: translateY(0); }

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

/* Responsive */

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(430px, 1fr) minmax(390px, .9fr); gap: 48px; }
  .idea-slip { left: 0; }
  .output-film { right: -2%; }
  .agent-roster { grid-template-columns: repeat(3, 1fr); }
  .agent-roster > div:nth-child(3) { border-right: 0; }
  .agent-roster > div:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .node-track { grid-template-columns: repeat(5, 1fr); row-gap: 26px; }
  .node-line { display: none; }
  .memory-band { grid-template-columns: 120px 1fr; }
  .memory-band p { grid-column: 2; }
}

@media (max-width: 960px) {
  .desktop-nav, .header-download { display: none; }
  .menu-button { display: block; }
  .mobile-nav {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--paper-white);
    transition: max-height .35s var(--ease);
  }
  .mobile-nav.open { max-height: 620px; border-top: 1px solid var(--line); }
  .mobile-nav p { margin: 0; padding: 16px 24px 8px; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .16em; }
  .mobile-nav a { padding: 13px 24px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 13px; }
  .mobile-nav a span { color: var(--muted); font-size: 9px; font-weight: 400; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 620px; }
  .hero-copy { max-width: 720px; }
  .hero::after { display: none; }
  .manifesto { grid-template-columns: 60px 1fr; }
  .manifesto-copy { grid-column: 2; max-width: 580px; }
  .product-lineup { grid-template-columns: 1fr 1fr; }
  .product-panel-live { grid-column: 1 / -1; }
  .product-panel:nth-child(2) { border-top: 1px solid var(--line-strong); }
  .product-panel:last-child { border-top: 1px solid var(--line-strong); }
  .product-panel { min-height: 340px; }
  .script-intro { grid-template-columns: 1fr; }
  .screen-composition { max-width: 800px; }
  .system-heading { grid-template-columns: 1fr; gap: 28px; }
  .memory-band { grid-template-columns: 1fr; }
  .memory-band p { grid-column: auto; }
  .showcase-copy { grid-template-columns: 1fr; gap: 24px; }
  .output-pair { grid-template-columns: 1fr; }
  .output-item { min-height: 520px; padding-right: max(32px, calc((100vw - var(--max)) / 2)); padding-left: max(32px, calc((100vw - var(--max)) / 2)); }
  .local-first { grid-template-columns: 1fr; }
  .local-art { min-height: 300px; }
}

@media (max-width: 720px) {
  .page-gutter { padding-right: 22px; padding-left: 22px; }
  .section-space { padding-top: 90px; padding-bottom: 90px; }
  .nav-shell { width: calc(100% - 40px); height: 68px; }
  .brand-meta { display: none; }
  html { scroll-padding-top: 72px; }
  .hero { padding-top: 34px; padding-bottom: 60px; }
  .hero-art { max-width: 500px; }
  .art-glyph { font-size: min(78vw, 390px); }
  .idea-slip { top: 20%; width: 144px; padding: 15px; }
  .idea-slip strong { font-size: 19px; }
  .agent-seal { width: 94px; height: 94px; }
  .agent-seal strong { font-size: 34px; }
  .output-slip { width: 154px; padding: 15px; }
  .output-slip strong { font-size: 18px; }
  .output-film { top: 22%; }
  .output-ai { right: 4%; bottom: 20%; }
  .art-caption { bottom: 2%; left: 4%; }
  .hero-copy h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero-lead { font-size: 15px; }
  .hero-switcher { margin-top: 48px; }
  .hero-switcher button { font-size: 0; }
  .hero-switcher button span { font-size: 9px; }
  .manifesto { padding-top: 84px; padding-bottom: 84px; grid-template-columns: 1fr; gap: 30px; }
  .section-index { writing-mode: horizontal-tb; }
  .manifesto-copy { grid-column: auto; }
  .manifesto h2 { font-size: 45px; }
  .section-heading h2,
  .outputs-heading h2,
  .download-heading h2,
  .showcase-copy h2,
  .script-intro-copy h2,
  .system-heading h2,
  .local-copy h2 { font-size: 42px; }
  .product-lineup { grid-template-columns: 1fr; }
  .product-panel-live { grid-column: auto; }
  .product-panel { min-height: 310px; border-right: 0; border-top: 1px solid var(--line-strong); }
  .product-panel:first-child { border-top: 0; }
  .script-intro { gap: 48px; }
  .script-facts { grid-template-columns: repeat(3, 1fr); }
  .screen-composition::before { right: -22px; }
  .agent-roster { grid-template-columns: 1fr 1fr; }
  .agent-roster > div { min-height: 140px; }
  .agent-roster > div:nth-child(2n) { border-right: 0; }
  .agent-roster > div:nth-child(3) { border-right: 1px solid rgba(255, 255, 255, .14); }
  .agent-roster > div:nth-child(-n+4) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .node-track { grid-template-columns: repeat(3, 1fr); }
  .memory-band { padding: 26px 22px; gap: 16px; }
  .output-item { min-height: 500px; padding: 54px 22px; }
  .feature-lines article { grid-template-columns: 42px 1fr; gap: 22px; }
  .feature-lines article > p { grid-column: 2; }
  .local-first { padding-top: 82px; padding-bottom: 82px; gap: 50px; }
  .local-art::before { font-size: 130px; }
  .download-path { grid-template-columns: 1fr; }
  .download-path > div,
  .download-path > div:not(:first-child) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .download-path > div:last-child { border-bottom: 0; }
  .download-product { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .download-button { width: 100%; }
  .download-footnote { gap: 20px; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 50px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 440px) {
  .hero-art { aspect-ratio: .94 / 1; }
  .idea-slip { left: -3%; }
  .output-film { right: -5%; }
  .output-ai { right: -1%; }
  .idea-slip::after,
  .output-slip::before { display: none; }
  .hero-actions .button { width: 100%; }
  .script-facts dt { font-size: 28px; }
  .script-facts dd { font-size: 8px; }
  .node-track { grid-template-columns: 1fr 1fr; }
  .download-select { grid-template-columns: 1fr; }
  .download-select button { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .download-select button:last-child { border-bottom: 0; }
}
