/* Sixuan — a system made tangible. Shared across all company pages. */
:root {
  color-scheme: light;
  --paper: #f3f7fa;
  --surface: #fff;
  --ink: #163149;
  --muted: #536a7a;
  --line: #cbd9e2;
  --blue: #184d72;
  --wash: #dcebf4;
  --soft: #eaf1f6;
  --text: var(--ink);
  --dim: var(--muted);
  --card: var(--surface);
  --g1: var(--blue);
  --g2: var(--blue);
  --header: rgba(243, 247, 250, 0.94);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #122b3c;
  --surface: #1b374a;
  --ink: #edf4f8;
  --muted: #b3c6d3;
  --line: #3d596b;
  --blue: #b6d8ef;
  --wash: #203f55;
  --soft: #1a3548;
  --header: rgba(18, 43, 60, 0.96);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.8 "Helvetica Neue",
    "Noto Sans CJK SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #659bce;
  outline-offset: 5px;
}
img,
video {
  max-width: 100%;
  display: block;
}
button {
  color: inherit;
}
a {
  text-decoration: none;
}
p {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1320px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link,
.skip {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -100px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus,
.skip:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-bar {
  width: min(1440px, calc(100% - 80px));
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0.025em;
}
.site-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.brand-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 3px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  padding: 10px 0;
}
.site-nav a:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.site-nav a:hover:after,
.site-nav a[aria-current="page"]:after {
  transform: scaleX(1);
}
.theme-switch {
  display: flex;
  gap: 2px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.theme-switch button {
  border: 0;
  background: transparent;
  width: 34px;
  height: 36px;
  border-radius: 50%;
  font-size: 17px;
}
.theme-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.theme-label {
  display: none;
}
.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
.site-cta {
  font-weight: 650;
}
section {
  padding: 112px 0;
}
.hero {
  padding: 100px 0 72px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: center;
}
.eyebrow,
.section-kicker {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 24px;
}
.eyebrow:before {
  display: none;
}
h1 {
  font-size: clamp(44px, 5.15vw, 78px);
  line-height: 1.2;
  font-weight: 450;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(32px, 3.8vw, 55px);
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
h3 {
  line-height: 1.4;
  font-weight: 550;
}
.gradient,
.grad-text {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero-copy,
.sub {
  max-width: 34em;
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.hero-note,
.meta,
.visual-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 550;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.btn-primary,
.grad-bg {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
}
.btn:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}
.text-link {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  padding-block: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
}
.text-link span {
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translateX(5px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-intro {
  max-width: 38em;
  color: var(--muted);
  margin-top: 20px;
}
.section-head p {
  max-width: 24em;
  color: var(--muted);
}
.signal-stage {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.06;
}
.signal-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.signal-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.signal-tabs {
  display: flex;
  gap: 4px;
}
.signal-tabs button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.signal-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.hero-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.intro-line {
  max-width: 860px;
  font-size: clamp(23px, 3vw, 40px);
  line-height: 1.7;
  letter-spacing: -0.025em;
}
.work-section {
  background: var(--surface);
}
.work-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--wash);
  min-height: 530px;
  overflow: hidden;
  border-radius: 5px;
}
.work-copy {
  padding: 60px;
  align-self: center;
}
.work-copy h3 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.04em;
}
.work-copy p {
  color: var(--muted);
  margin-block: 20px 26px;
  max-width: 30em;
}
.work-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin-bottom: 22px;
  color: var(--muted);
}
.work-status:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.work-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.work-small {
  background: var(--soft);
  border-radius: 5px;
  overflow: hidden;
}
.work-small:nth-child(2) {
  background: var(--wash);
}
.work-small .work-copy {
  padding: 38px 40px 42px;
}
.work-small h3 {
  font-size: 32px;
}
.work-small p {
  max-width: 36em;
}
.work-art {
  min-height: 230px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.phone-art {
  min-height: 530px;
  background: #aac5d8;
  perspective: 1000px;
}
.phone-sample {
  width: 250px;
  background: #f7fbff;
  color: #203c51;
  min-height: 408px;
  padding: 24px 18px 20px;
  border: 7px solid #315570;
  border-radius: 35px;
  box-shadow: 20px 30px 0 #184d7222;
  transform: rotate(-8deg);
}
.phone-sample:before {
  content: "";
  width: 62px;
  height: 7px;
  background: #315570;
  border-radius: 20px;
  display: block;
  margin: 0 auto 28px;
}
.phone-sample header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d9e4ed;
}
.sample-message {
  margin: 22px 0 20px;
  padding: 12px;
  background: #e4edf4;
  font-size: 12px;
  border-radius: 8px;
}
.sample-code {
  font-size: 12px;
  padding: 12px 0;
  border-top: 1px solid #cfdee8;
  border-bottom: 1px solid #cfdee8;
  line-height: 2.2;
}
.sample-reply {
  font-size: 12px;
  margin: 20px 0 16px;
}
.sample-input {
  font-size: 11px;
  color: #5c7486;
  background: white;
  padding: 10px;
  border: 1px solid #d9e4ed;
  border-radius: 20px;
}
.art-note {
  position: absolute;
  bottom: 22px;
  right: 25px;
  font-size: 11px;
  color: #27485f;
}
.network-art svg {
  width: 85%;
  height: 210px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1;
}
.network-art circle {
  fill: var(--paper);
}
.system-art {
  font-size: 22px;
  font-family: ui-monospace, monospace;
  letter-spacing: -0.06em;
}
.system-stack {
  transform: rotate(-8deg);
  width: 65%;
  display: grid;
  gap: 9px;
}
.system-stack span {
  border: 1px solid var(--blue);
  padding: 8px 22px;
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--line);
}
.system-stack span:nth-child(2) {
  margin-left: 20px;
}
.system-stack span:nth-child(3) {
  margin-left: 40px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.principles {
  display: grid;
  gap: 0;
}
.principle {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 18px;
}
.principle:first-child {
  padding-top: 0;
}
.principle b {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.principle h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.principle p {
  color: var(--muted);
  font-size: 14px;
}
.journal-section {
  padding: 0 0 112px;
}
.journal-link {
  padding: 50px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--wash);
  border-radius: 5px;
}
.journal-link p {
  color: var(--muted);
  margin-top: 20px;
  max-width: 43em;
}
.journal-arrow {
  font-size: 80px;
  font-weight: 300;
}
.contact {
  background: var(--ink);
  color: var(--paper);
}
.contact .wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
}
.contact p {
  max-width: 40em;
  color: var(--paper);
  opacity: 0.72;
  margin-top: 20px;
}
.contact .section-kicker {
  color: inherit;
  opacity: 0.7;
}
.contact .btn {
  color: var(--paper);
  border-color: currentColor;
  white-space: nowrap;
}
.contact h2 {
  max-width: 760px;
}
footer {
  padding: 28px 0;
  font-size: 12px;
  color: var(--muted);
  background: var(--paper);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.product-overview {
  border-block: 1px solid var(--line);
  padding-block: 28px;
}
.product-overview dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 24px;
}
.product-overview dt {
  font-size: 12px;
  color: var(--muted);
}
.product-overview dd {
  margin: 7px 0 0;
  font-size: 15px;
}
.section-links {
  display: flex;
  gap: 26px;
  font-size: 13px;
}
.section-links a {
  border-bottom: 1px solid var(--line);
}
.product-section {
  background: var(--surface);
}
.product-visual {
  background: var(--wash);
  min-height: 350px;
  padding: 40px;
  display: grid;
  align-items: center;
  border-radius: 4px;
  transform: rotate(-2deg);
}
.window {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--surface);
}
.window-top {
  display: flex;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.window-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.window-body {
  display: grid;
  gap: 18px;
  padding-top: 24px;
  font-size: 14px;
}
.window-line {
  width: 70%;
  height: 6px;
  background: var(--line);
}
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  margin-top: 52px;
}
.capability {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.capability h3 {
  font-size: 23px;
  margin-bottom: 16px;
}
.capability p {
  color: var(--muted);
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 48px;
  counter-reset: step;
}
.step-grid article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.step-grid strong {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.step-grid h3 {
  font-size: 22px;
  margin: 18px 0 12px;
}
.step-grid p {
  font-size: 14px;
  color: var(--muted);
}
.status-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 36px;
  font-size: 15px;
}
.status-table th,
.status-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 24px 20px;
  vertical-align: top;
}
.status-table th:first-child {
  width: 160px;
}
.status-table td {
  color: var(--muted);
}
.status-table caption {
  text-align: left;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 12px;
}
.harness-page .hero .wrap {
  grid-template-columns: 1.3fr 1fr;
}
.harness-page .hero h1 {
  font-size: clamp(44px, 5.3vw, 76px);
}
.phone {
  width: 285px;
  margin: auto;
  border: 7px solid var(--ink);
  border-radius: 36px;
  background: var(--surface);
  padding: 16px 12px;
  box-shadow: 18px 25px 0 var(--wash);
  transform: rotate(5deg);
}
.screen {
  overflow: hidden;
  border-radius: 20px;
}
.mock-bar {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  display: flex;
  gap: 7px;
}
.dot {
  width: 6px;
  height: 6px;
  background: #50765c;
  border-radius: 50%;
  align-self: center;
}
.mock-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 7px;
  font-size: 12px;
}
.bubble-user {
  background: var(--wash);
  padding: 12px;
  border-radius: 12px;
  align-self: end;
  max-width: 90%;
}
.bubble-ai {
  padding: 8px;
}
.bubble-tool {
  border-left: 2px solid var(--blue);
  padding: 10px;
  color: var(--muted);
  font-family: monospace;
}
.mock-input {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 50px;
}
.card {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.card .ic {
  font-size: 22px;
  margin-bottom: 24px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
}
.sec-title {
  text-align: left;
}
.sec-sub {
  color: var(--muted);
  margin-top: 20px;
}
.dl-card {
  background: var(--wash);
  padding: 54px;
  margin-top: 36px;
}
.dl-card .actions {
  justify-content: flex-start;
}
.ver {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.dl-notes {
  padding-left: 20px;
  max-width: 720px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 28px;
}
.dl-notes li {
  margin: 12px 0;
}
.home-page .hero {
  padding-top: 68px;
}
.home-page .hero h1 {
  font-size: clamp(46px, 5.5vw, 84px);
}
.home-page .hero-copy {
  max-width: 30em;
}
.home-page .hero .eyebrow {
  margin-bottom: 30px;
}
.home-page .hero-copy-block {
  animation: arrive 0.7s ease both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .hero .wrap {
    gap: 90px;
  }
  .signal-stage {
    aspect-ratio: 1.1;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-bar {
    width: calc(100% - 48px);
    gap: 20px;
  }
  .site-nav {
    gap: 20px;
  }
  .brand-sub {
    display: none;
  }
  .hero .wrap {
    gap: 30px;
  }
  .work-copy {
    padding: 40px;
  }
  .about-grid {
    gap: 50px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact .wrap {
    align-items: start;
    flex-direction: column;
  }
  .theme-switch {
    padding-left: 12px;
  }
  .home-page .hero h1 {
    font-size: 58px;
  }
  .signal-caption {
    flex-direction: column;
    gap: 10px;
  }
  .signal-stage {
    aspect-ratio: 0.9;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-bar {
    height: 72px;
    width: calc(100% - 40px);
    gap: 10px;
  }
  .site-brand {
    font-size: 17px;
  }
  .site-brand img {
    width: 29px;
    height: 29px;
  }
  .menu-button {
    display: block;
    margin-left: 5px;
  }
  .theme-switch {
    margin-left: auto;
    border: 0;
    padding: 0;
  }
  .theme-switch button {
    width: 30px;
    height: 32px;
    font-size: 15px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px;
    box-shadow: 0 18px 24px #1631490d;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .site-nav a {
    padding: 12px;
  }
  .hero,
  .home-page .hero {
    padding: 52px 0 40px;
  }
  .hero .wrap,
  .harness-page .hero .wrap {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .home-page .hero h1 {
    font-size: clamp(40px, 10.5vw, 66px);
  }
  h1 {
    font-size: clamp(38px, 9vw, 60px);
  }
  .hero-copy,
  .sub {
    font-size: 15px;
    margin-top: 22px;
  }
  .hero-copy-block {
    max-width: 600px;
  }
  .signal-stage {
    aspect-ratio: 1.2;
    max-width: 540px;
    width: 100%;
    margin: auto;
  }
  .signal-caption {
    flex-direction: row;
  }
  .hero-footer {
    margin-top: 30px;
    gap: 15px;
    font-size: 11px;
  }
  .hero-footer span:last-child {
    max-width: 42%;
    text-align: right;
  }
  section {
    padding: 72px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 28px;
  }
  .section-head p {
    margin-top: 20px;
  }
  .work-main,
  .work-pair,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .work-copy,
  .work-small .work-copy {
    padding: 30px;
  }
  .phone-art {
    min-height: 390px;
  }
  .phone-sample {
    transform: scale(0.85) rotate(-8deg);
  }
  .work-pair {
    gap: 20px;
    margin-top: 20px;
  }
  .work-art {
    min-height: 190px;
  }
  .work-copy h3 {
    font-size: 34px;
  }
  .work-status {
    margin-bottom: 16px;
  }
  .work-copy p {
    font-size: 15px;
  }
  .about-grid {
    gap: 38px;
  }
  .journal-section {
    padding-bottom: 72px;
  }
  .journal-link {
    padding: 32px;
    gap: 20px;
  }
  .journal-link h2 {
    font-size: 30px;
  }
  .journal-arrow {
    font-size: 40px;
  }
  .journal-link p {
    font-size: 14px;
  }
  .contact h2 {
    font-size: 36px;
  }
  .contact p {
    font-size: 14px;
  }
  footer .wrap {
    flex-direction: column;
    gap: 8px;
  }
  .product-overview dl {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-overview dl > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  .product-overview dd {
    margin: 0;
    font-size: 13px;
  }
  .section-links {
    gap: 18px;
    font-size: 12px;
  }
  .product-visual {
    min-height: 290px;
    padding: 24px;
    transform: none;
  }
  .capabilities {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .capability h3 {
    font-size: 21px;
  }
  .step-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .step-grid h3 {
    margin: 12px 0;
  }
  .status-table {
    font-size: 13px;
  }
  .status-table th,
  .status-table td {
    padding: 16px 8px;
  }
  .status-table th:first-child {
    width: 80px;
  }
  .grid {
    gap: 20px;
  }
  .card h3 {
    font-size: 17px;
  }
  .dl-card {
    padding: 26px 22px;
  }
  .phone {
    width: 260px;
    transform: rotate(3deg);
  }
  .harness-page .hero h1 {
    font-size: clamp(42px, 10vw, 66px);
  }
  .actions {
    gap: 12px;
  }
  .btn {
    padding: 11px 18px;
    font-size: 13px;
  }
  .theme-switch {
    gap: 0;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Review pass: keep the hero's baseline independent of its two-column composition. */
.hero .wrap.hero-footer {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-footer span:last-child {
  text-align: right;
  max-width: none;
}
.work-art.system-art {
  padding: 38px 24px;
}
.system-stack {
  width: 60%;
  font-size: 20px;
}
@media (max-width: 760px) {
  .hero .wrap.hero-footer {
    align-items: start;
    gap: 15px;
  }
  .hero-footer span:last-child {
    max-width: 60%;
    text-align: right;
    font-size: 10px;
  }
  .home-page .signal-stage {
    aspect-ratio: 1.4;
  }
  .work-art.system-art {
    padding: 30px 24px;
  }
  .system-stack {
    font-size: 18px;
  }
}
h1,
h2 {
  text-wrap: balance;
}
@media (max-width: 760px) {
  .theme-switch button {
    min-height: 40px;
  }
  .signal-tabs button {
    min-height: 40px;
  }
}

/* ==========================================================================
   v2 refresh (2026-11-06): ink + logo indigo/violet, matches the home page.
   Layered on top of the original rules so page-specific markup keeps working.
   ========================================================================== */
:root {
  --paper: #f6f7fb; --surface: #ffffff; --ink: #0b0d17; --muted: #4a5068;
  --line: rgba(17, 20, 40, 0.1); --blue: #4b57e8; --wash: #eef0fa; --soft: #f1f2f8;
  --header: rgba(255, 255, 255, 0.72);
  --brand: linear-gradient(120deg, #3b5bff 0%, #6d4dff 48%, #a855f7 78%, #38bdf8 100%);
  --panel: #ffffff; --panel-2: #f1f2f8; --faint: #737a93; --live: #0f9d58; --dev: #b45309;
  --shadow: 0 1px 2px rgba(17, 20, 40, 0.04), 0 12px 32px rgba(17, 20, 40, 0.07);
  --shadow-lift: 0 2px 4px rgba(17, 20, 40, 0.05), 0 24px 56px rgba(40, 46, 120, 0.14);
  --aurora-a: rgba(91, 108, 255, 0.24); --aurora-b: rgba(168, 85, 247, 0.18);
  --radius: 22px;
  --font-v2: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono-v2: "SF Mono", "JetBrains Mono", "Ubuntu Sans Mono", "Cascadia Code", ui-monospace, monospace;
}
:root[data-theme="dark"] {
  --paper: #07080d; --surface: #0e1018; --ink: #eef0f8; --muted: #a1a7bd;
  --line: rgba(255, 255, 255, 0.09); --blue: #8b96ff; --wash: #12152199; --soft: #0b0d15;
  --header: rgba(10, 12, 20, 0.66);
  --panel: rgba(255, 255, 255, 0.035); --panel-2: rgba(255, 255, 255, 0.06); --faint: #737a92; --live: #4ade80; --dev: #fbbf24;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 70px rgba(0, 0, 0, 0.55);
  --aurora-a: rgba(76, 92, 255, 0.3); --aurora-b: rgba(147, 51, 234, 0.24);
}
body { font-family: var(--font-v2); line-height: 1.75; letter-spacing: 0.01em; }
:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, calc(100% - 48px)); }
h1, h2 { font-weight: 680; letter-spacing: -0.035em; line-height: 1.12; }
h1 { font-size: clamp(42px, 5.6vw, 76px); }
h2 { font-size: clamp(30px, 3.8vw, 50px); }
h3 { font-weight: 640; letter-spacing: -0.015em; }

/* header (same markup as the home page) */
.site-header { backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); z-index: 50; }
.site-bar { width: min(1180px, calc(100% - 48px)); height: 68px; gap: 20px; }
.site-brand { font-size: 17px; text-decoration: none; }
.site-brand img { width: 32px; height: 32px; border-radius: 0; object-fit: contain; }
.site-nav { gap: 4px; }
.site-nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14.5px; transition: color .2s, background .2s; }
.site-nav a:after { display: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--panel-2); }
.site-nav a.site-cta { margin-left: 6px; color: #fff; font-weight: 600; background: var(--brand); background-size: 160% 100%; box-shadow: 0 6px 20px rgba(91, 91, 255, 0.35); }
.theme-switch { padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.theme-switch button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--faint); font-size: 14px; }
.theme-switch button[aria-pressed="true"] { color: var(--ink); background: var(--panel-2); }
.theme-switch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-switch svg .fill { fill: currentColor; stroke: none; }
.menu-button { width: 40px; height: 40px; padding: 0; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-button span { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* typography accents */
.eyebrow, .section-kicker { width: fit-content; margin-bottom: 18px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.14em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient, .grad-text { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -30% -10% auto 40%; height: 720px; pointer-events: none; filter: blur(70px);
  background: radial-gradient(circle at 40% 40%, var(--aurora-a), transparent 60%), radial-gradient(circle at 75% 55%, var(--aurora-b), transparent 60%); }
.hero-copy, .sub, .section-intro, .sec-sub { color: var(--muted); }

/* buttons & links */
.btn { gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { box-shadow: none; transform: translateY(-1px); }
.btn-primary, .grad-bg { color: #fff; border-color: transparent; background: var(--brand); background-size: 150% 100%; box-shadow: 0 10px 30px rgba(84, 80, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover, .grad-bg:hover { background-position: 100% 0; box-shadow: 0 14px 38px rgba(84, 80, 255, 0.42); }
.btn-secondary { color: var(--ink); background: var(--panel); border-color: var(--line); }
.btn-secondary:hover { background: var(--panel-2); }
.text-link { gap: 10px; border: 0; padding-block: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.section-links { flex-wrap: wrap; gap: 8px; }
.section-links a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; transition: color .2s, background .2s; }
.section-links a:hover { color: var(--ink); background: var(--panel-2); }

/* surfaces */
.work-section, .product-section { background: var(--soft); border-block: 1px solid var(--line); }
.work-main, .work-small, .journal-link, .dl-card, .product-visual, .window, .status-table, .capability, .step-grid article, .card, .product-overview {
  border-radius: var(--radius);
}
.journal-link, .dl-card, .work-main, .work-small { border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.journal-link { transition: transform .3s, box-shadow .3s; }
.journal-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.journal-arrow { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; color: #fff; background: var(--brand); font-size: 22px; }
.product-visual { transform: none; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.window { border-radius: 16px; background: var(--surface); }
.window-top i { background: var(--blue); }
.card { padding: 26px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.grid { gap: 18px; }
.capability, .step-grid article { padding: 26px; border: 1px solid var(--line); background: var(--panel); }
.capabilities { gap: 18px; }
.step-grid { gap: 18px; }
.step-grid strong, .principle b { font-family: var(--mono-v2); font-weight: 600; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status-table { overflow: hidden; border: 1px solid var(--line); border-style: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--panel); }
.status-table th, .status-table td { border-bottom: 1px solid var(--line); }
.product-overview { padding: 24px 28px; border: 1px solid var(--line); background: var(--panel); }
.phone { border-color: #11131d; border-radius: 38px; box-shadow: var(--shadow-lift); transform: rotate(4deg); }
:root[data-theme="dark"] .phone { border-color: #2a2e3f; }
.bubble-user { color: #fff; background: var(--brand); border-bottom-right-radius: 4px; }
.bubble-tool { border-left-color: var(--blue); font-family: var(--mono-v2); }
.dot { background: var(--live); }
.work-status:before { background: var(--live); }

/* contact block on product pages */
.contact { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: var(--soft); border-top: 1px solid var(--line); }
.contact::before { content: ""; position: absolute; z-index: -1; inset: -40% 10% auto; height: 520px; filter: blur(70px); pointer-events: none;
  background: radial-gradient(circle at 30% 50%, var(--aurora-a), transparent 60%), radial-gradient(circle at 70% 40%, var(--aurora-b), transparent 60%); }
.contact p { color: var(--muted); opacity: 1; }
.contact .section-kicker { opacity: 1; }
.contact .btn { color: #fff; border-color: transparent; background: var(--brand); box-shadow: 0 10px 30px rgba(84, 80, 255, 0.32); }

/* footer (same markup as the home page) */
footer, .site-footer { padding: 72px 0 36px; border-top: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .site-brand { color: var(--ink); }
.footer-brand p { margin-top: 16px; color: var(--faint); line-height: 1.8; }
.site-footer h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.12em; color: var(--faint); font-weight: 600; }
.site-footer nav a, .site-footer .footer-grid > div > a { display: block; width: fit-content; padding: 4px 0; color: var(--muted); }
.site-footer nav a:hover, .site-footer .footer-grid > div > a:hover { color: var(--ink); }
.site-footer .wrap.footer-base { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

@media (max-width: 760px) {
  .wrap, .site-bar { width: calc(100% - 32px); }
  .site-bar { height: 60px; gap: 10px; }
  .menu-button { display: flex; margin-left: 0; }
  .theme-switch { padding: 3px; border: 1px solid var(--line); }
  .theme-switch button { min-height: 30px; width: 30px; height: 30px; }
  .site-nav { top: 60px; gap: 2px; padding: 12px 16px 18px; background: var(--paper); box-shadow: none; }
  .site-nav.is-open { gap: 2px; }
  .site-nav a { padding: 12px 14px; font-size: 16px; }
  .site-nav a.site-cta { margin: 8px 0 0; text-align: center; }
  .card, .capability, .step-grid article { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer .wrap.footer-base { flex-direction: column; gap: 6px; }
}
/* v2 fixes */
.step-grid { padding: 0; list-style: none; }
.step-grid > li { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.site-footer .footer-brand .site-brand { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .footer-brand p { margin-top: 16px; }
.site-footer .footer-grid > div > p { color: var(--faint); }
.step-grid > li > span { font: 600 14px var(--mono-v2); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-grid > li p { color: var(--muted); font-size: 14.5px; }
.step-grid > li h3 { margin: 14px 0 10px; font-size: 21px; }
.timeline-page .hero::before { display: none; }
.site-footer .wrap.footer-grid { display: grid; flex-direction: initial; }
@media (max-width: 760px) { .site-footer .wrap.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
