:root {
  --paper: #f6f1e8;
  --paper-deep: #eee5d7;
  --ink: #18221f;
  --muted: #66706b;
  --line: rgba(24, 34, 31, 0.14);
  --red: #d94a2f;
  --red-dark: #a82f21;
  --gold: #e8b85f;
  --green: #315a4a;
  --night: #14221e;
  --night-soft: #1d302a;
  --white: #fffdf8;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shadow: 0 30px 80px rgba(40, 43, 35, 0.16);
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(232, 184, 95, 0.18), transparent 27rem),
    var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

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

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: 112px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 80;
  width: min(1240px, calc(100% - 32px));
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 16px 50px rgba(35, 40, 36, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 60px rgba(35, 40, 36, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff8eb;
  background: var(--red);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 23px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.03em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: #47514d;
  font-size: 13px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 11px 17px;
  border-radius: 13px;
  color: white;
  background: var(--ink);
  font-size: 13px;
}

.menu-button {
  display: none;
}

.hero {
  min-height: 800px;
  padding-top: 154px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(217, 74, 47, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.6);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ca66d;
  box-shadow: 0 0 0 5px rgba(60, 166, 109, 0.12);
}

.hero h1 {
  margin: 28px 0 24px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(54px, 6.1vw, 88px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

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

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

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

.button {
  min-height: 48px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--red);
  box-shadow: 0 15px 30px rgba(217, 74, 47, 0.24);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255,255,255,.5);
}

.hero-stats {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-stats div {
  padding: 19px 18px 0 0;
}

.hero-stats div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  min-width: 0;
}

.poster-stage {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 0.9;
  margin-left: auto;
}

.poster-card {
  position: absolute;
  overflow: hidden;
  border-radius: 27px;
  box-shadow: var(--shadow);
}

.poster-back {
  inset: 6% 12% 8% 13%;
  background: linear-gradient(135deg, var(--green), #6e7c60);
  transform: rotate(9deg);
  opacity: .5;
}

.poster-front {
  top: 0;
  right: 14%;
  width: 58%;
  margin: 0;
  background: white;
  transform: rotate(2.5deg);
}

.poster-front img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.poster-front figcaption {
  padding: 13px 15px 15px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  background: #fffdf8;
}

.poster-front figcaption span {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.poster-front figcaption strong {
  font-size: 11px;
}

.floating-note {
  position: absolute;
  z-index: 4;
  min-width: 220px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  background: rgba(255,253,248,.88);
  box-shadow: 0 18px 50px rgba(24,34,31,.15);
  backdrop-filter: blur(16px);
}

.floating-note > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: white;
  background: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.floating-note p,
.floating-note strong,
.floating-note small {
  display: block;
  margin: 0;
}

.floating-note strong {
  font-size: 12px;
}

.floating-note small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.note-one {
  top: 22%;
  left: 0;
}

.note-two {
  right: 0;
  bottom: 18%;
}

.note-two > span {
  color: var(--ink);
  background: var(--gold);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(217,74,47,.2);
  border-radius: 50%;
}

.orbit-one {
  inset: 3% 1% 8% 0;
}

.orbit-two {
  inset: 15% 9% 17% 8%;
  border-color: rgba(49,90,74,.16);
}

.trust-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.35);
}

.trust-track {
  width: var(--shell);
  min-height: 65px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trust-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #46504c;
  font-size: 12px;
  white-space: nowrap;
}

.trust-track span::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--red);
}

.section-heading {
  max-width: 670px;
  margin-bottom: 48px;
}

.section-heading h2,
.boundaries-copy h2,
.proof-card h2,
.final-cta h2 {
  margin: 13px 0 16px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.section-heading p,
.boundaries-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capability-card {
  min-height: 290px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,253,248,.58);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.capability-card:hover {
  border-color: rgba(217,74,47,.34);
  box-shadow: 0 24px 60px rgba(40,43,35,.08);
  transform: translateY(-5px);
}

.capability-card.featured {
  grid-row: span 2;
  min-height: 596px;
  color: #f7f2e8;
  border-color: transparent;
  background:
    radial-gradient(circle at 80% 15%, rgba(232,184,95,.28), transparent 13rem),
    linear-gradient(145deg, var(--night-soft), var(--night));
}

.card-index {
  margin-left: auto;
  color: #98a09c;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.featured .card-index {
  color: rgba(255,255,255,.45);
}

.card-icon {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 42px 0 auto;
  border-radius: 22px;
  background: rgba(217,74,47,.09);
}

.featured .card-icon {
  width: 120px;
  height: 120px;
  margin-top: 84px;
  border-radius: 50%;
  background: rgba(232,184,95,.15);
}

.card-icon::before,
.card-icon::after {
  position: absolute;
  content: "";
}

.icon-sun::before {
  inset: 29%;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 13px rgba(232,184,95,.08);
}

.icon-sun::after {
  top: 49%;
  right: -12px;
  left: -12px;
  height: 1px;
  background: rgba(232,184,95,.6);
  transform: rotate(-20deg);
}

.icon-calendar::before {
  inset: 18px 17px 15px;
  border: 2px solid var(--red);
  border-radius: 7px;
}

.icon-calendar::after {
  top: 27px;
  left: 22px;
  width: 26px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 8px 0 rgba(217,74,47,.45), 0 16px 0 rgba(217,74,47,.25);
}

.icon-layout::before {
  inset: 15px;
  border: 2px solid var(--green);
  border-radius: 6px;
}

.icon-layout::after {
  top: 22px;
  left: 24px;
  width: 22px;
  height: 7px;
  border-block: 2px solid var(--green);
  box-shadow: 0 19px 0 -2px rgba(49,90,74,.45);
}

.icon-shield::before {
  inset: 15px 19px 14px;
  border: 2px solid var(--red);
  border-radius: 14px 14px 20px 20px;
}

.icon-shield::after {
  top: 29px;
  left: 30px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--red);
  border-left: 2px solid var(--red);
  transform: rotate(-45deg);
}

.icon-message::before {
  inset: 17px 13px 20px;
  border: 2px solid var(--green);
  border-radius: 14px;
}

.icon-message::after {
  left: 25px;
  bottom: 14px;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid var(--green);
  transform: skew(-28deg);
}

.capability-card h3 {
  margin: 23px 0 10px;
  font-size: 19px;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.featured h3 {
  margin-top: 60px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 31px;
  font-weight: 500;
}

.featured p {
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.tag-list {
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
}

.demo-section {
  color: #f8f2e8;
  background:
    radial-gradient(circle at 18% 20%, rgba(217,74,47,.2), transparent 30rem),
    linear-gradient(145deg, var(--night-soft), #101b18);
}

.section-heading.light p {
  color: rgba(255,255,255,.56);
}

.demo-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  box-shadow: 0 40px 100px rgba(0,0,0,.24);
}

.scenario-panel {
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}

.scenario-label {
  margin: 0 8px 16px;
  color: rgba(255,255,255,.4);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scenario-button {
  width: 100%;
  padding: 14px 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: rgba(255,255,255,.74);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.scenario-button + .scenario-button {
  margin-top: 5px;
}

.scenario-button > span:first-child {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.scenario-button strong,
.scenario-button small {
  display: block;
}

.scenario-button strong {
  font-size: 13px;
}

.scenario-button small {
  margin-top: 3px;
  color: rgba(255,255,255,.38);
  font-size: 9px;
}

.scenario-button.active,
.scenario-button:hover,
.scenario-button:focus-visible {
  border-color: rgba(232,184,95,.18);
  background: rgba(232,184,95,.1);
}

.scenario-button.active > span:first-child {
  color: var(--night);
  background: var(--gold);
}

.privacy-note {
  margin-top: 160px;
  padding: 16px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.privacy-lock {
  position: relative;
  width: 30px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 9px;
}

.privacy-lock::before {
  position: absolute;
  top: -8px;
  left: 8px;
  width: 12px;
  height: 11px;
  content: "";
  border: 1px solid rgba(255,255,255,.24);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.privacy-note p,
.privacy-note strong,
.privacy-note small {
  display: block;
  margin: 0;
}

.privacy-note strong {
  font-size: 11px;
}

.privacy-note small {
  margin-top: 2px;
  color: rgba(255,255,255,.36);
  font-size: 8px;
}

.chat-window {
  min-width: 0;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  background: #f2eee7;
}

.chat-header {
  min-height: 75px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  border-bottom: 1px solid rgba(24,34,31,.09);
  background: rgba(255,255,255,.68);
}

.chat-agent-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--red);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 21px;
}

.chat-header strong,
.chat-header small {
  display: block;
}

.chat-header strong {
  font-size: 13px;
}

.chat-header small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.chat-header small span {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #3ca66d;
}

.demo-badge {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid rgba(217,74,47,.18);
  border-radius: 999px;
  color: var(--red);
  font-family: ui-monospace, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.chat-messages {
  min-height: 0;
  padding: 28px;
  flex: 1;
  overflow-y: auto;
  color: var(--ink);
  scrollbar-width: thin;
  scrollbar-color: rgba(24,34,31,.18) transparent;
}

.message-row {
  max-width: 82%;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  animation: message-in 360ms ease both;
}

.message-row.user {
  margin-left: auto;
  justify-content: flex-end;
}

.message-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  color: white;
  background: var(--red);
  font-size: 11px;
}

.message-row.user .message-avatar {
  order: 2;
  color: var(--ink);
  background: #d7ddd9;
}

.message-bubble {
  padding: 11px 14px;
  border: 1px solid rgba(24,34,31,.07);
  border-radius: 6px 16px 16px 16px;
  background: white;
  box-shadow: 0 8px 22px rgba(30,36,33,.06);
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-line;
}

.message-row.user .message-bubble {
  border-radius: 16px 6px 16px 16px;
  color: white;
  background: var(--green);
}

.message-bubble strong {
  font-weight: 800;
}

.message-poster {
  width: min(230px, 100%);
  margin-top: 10px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(24,34,31,.08);
}

.message-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 6px 2px;
}

.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa29e;
  animation: typing 900ms infinite alternate;
}

.typing-dots span:nth-child(2) { animation-delay: 150ms; }
.typing-dots span:nth-child(3) { animation-delay: 300ms; }

.chat-compose {
  min-height: 74px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(24,34,31,.09);
  background: rgba(255,255,255,.66);
}

.replay-button {
  padding: 9px 12px;
  border: 1px solid rgba(24,34,31,.11);
  border-radius: 10px;
  background: white;
  font-size: 10px;
  cursor: pointer;
}

.fake-input {
  padding: 10px 13px;
  flex: 1;
  border: 1px solid rgba(24,34,31,.09);
  border-radius: 11px;
  color: #9ca29f;
  background: rgba(255,255,255,.72);
  font-size: 10px;
}

.send-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--red);
}

.workflow-list {
  position: relative;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.workflow-list li {
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-number {
  color: var(--red);
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.workflow-list strong {
  display: block;
  font-size: 17px;
}

.workflow-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.work-section {
  background: #ede4d6;
}

.gallery {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 18px;
}

.work-card {
  overflow: hidden;
  border: 1px solid rgba(24,34,31,.12);
  border-radius: var(--radius-md);
  background: rgba(255,253,248,.62);
}

.work-card.work-large {
  grid-row: span 2;
}

.work-image {
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  background: #ded6c9;
  cursor: zoom-in;
}

.work-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 36%;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.work-large .work-image img {
  aspect-ratio: 4 / 4.8;
  object-position: center 20%;
}

.work-image:hover img,
.work-image:focus-visible img {
  transform: scale(1.025);
}

.work-meta {
  padding: 22px 24px 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.work-meta span {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.work-meta h3 {
  margin: 5px 0 0;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 26px;
  font-weight: 500;
}

.work-meta p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.standard-card {
  min-height: 260px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.35);
}

.standard-card span {
  color: var(--red);
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.standard-card h3 {
  margin: 90px 0 11px;
  font-size: 16px;
}

.standard-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.boundaries-section {
  color: #f7f2e8;
  background: var(--night);
}

.boundaries-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 70px;
}

.boundaries-copy .kicker {
  color: var(--gold);
}

.boundaries-copy > p {
  color: rgba(255,255,255,.54);
}

.secure-pill {
  width: fit-content;
  margin-top: 30px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
}

.secure-pill span {
  margin-right: 6px;
  color: var(--gold);
}

.boundary-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.boundary-card {
  min-height: 430px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.045);
}

.boundary-card.cannot {
  background: rgba(217,74,47,.08);
}

.boundary-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.boundary-title span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--night);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.cannot .boundary-title span {
  color: white;
  background: var(--red);
}

.boundary-title h3 {
  margin: 0;
  font-size: 15px;
}

.boundary-card ul {
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.boundary-card li {
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 11px;
}

.boundary-card li::before {
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.cannot li::before {
  background: var(--red);
}

.proof-card {
  position: relative;
  padding: 48px;
  display: grid;
  grid-template-columns: .9fr 1.1fr 120px;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,253,248,.58);
}

.proof-card h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3.6vw, 46px);
}

.proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.proof-timeline {
  padding: 0;
  margin: 0;
  list-style: none;
}

.proof-timeline li {
  padding: 11px 0;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.proof-timeline time {
  color: var(--red);
  font-family: ui-monospace, monospace;
  font-weight: 700;
}

.proof-stamp {
  width: 112px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217,74,47,.28);
  border-radius: 50%;
  color: var(--red);
  transform: rotate(-7deg);
}

.proof-stamp span,
.proof-stamp small {
  font-family: ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: .16em;
}

.proof-stamp strong {
  margin: 3px 0;
  font-family: "Songti SC", serif;
  font-size: 22px;
}

.final-cta {
  padding-block: 72px;
  color: white;
  background: var(--red);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 25px;
}

.cta-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 24px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 42px;
}

.final-cta p {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.final-cta h2 {
  margin: 4px 0 0;
  font-size: clamp(35px, 4vw, 52px);
}

.button-light {
  color: var(--red);
  background: white;
}

.site-footer {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 10px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 19px;
}

.image-dialog {
  width: min(580px, calc(100% - 30px));
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}

.image-dialog::backdrop {
  background: rgba(10,17,15,.82);
  backdrop-filter: blur(8px);
}

.image-dialog img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 22px;
}

.dialog-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: white;
  background: var(--night);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@keyframes message-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  from { opacity: .28; transform: translateY(1px); }
  to { opacity: 1; transform: translateY(-2px); }
}

@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 36px, 900px);
  }

  .site-nav {
    gap: 17px;
  }

  .hero {
    grid-template-columns: 1fr 0.84fr;
    gap: 28px;
  }

  .floating-note {
    min-width: 185px;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capability-card.featured {
    grid-row: span 2;
  }

  .standards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-card {
    grid-template-columns: 1fr 1fr;
  }

  .proof-stamp {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 86px;
    height: 86px;
    opacity: .34;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .section {
    padding-block: 80px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
  }

  .header-cta,
  .site-nav {
    display: none;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    padding: 11px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: rgba(24,34,31,.06);
  }

  .menu-button span:not(.sr-only) {
    width: 100%;
    height: 1px;
    background: var(--ink);
  }

  .site-nav.open {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 18px;
    background: rgba(255,253,248,.97);
    box-shadow: 0 20px 60px rgba(35,40,36,.15);
  }

  .site-nav.open a {
    padding: 10px;
    border-radius: 10px;
    background: rgba(24,34,31,.035);
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 74px);
  }

  .poster-stage {
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .trust-track {
    width: max-content;
    min-height: 58px;
    padding-inline: 20px;
    animation: marquee 22s linear infinite;
  }

  .capability-grid,
  .workflow-list,
  .gallery,
  .boundaries-grid {
    grid-template-columns: 1fr;
  }

  .capability-card.featured {
    grid-row: auto;
    min-height: 430px;
  }

  .featured .card-icon {
    margin-top: 40px;
  }

  .featured h3 {
    margin-top: 36px;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .scenario-panel {
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .scenario-label,
  .privacy-note {
    display: none;
  }

  .scenario-panel {
    display: flex;
    gap: 7px;
    overflow-x: auto;
  }

  .scenario-button {
    min-width: 185px;
  }

  .scenario-button + .scenario-button {
    margin-top: 0;
  }

  .chat-window {
    min-height: 650px;
  }

  .workflow-list {
    border-top: 1px solid var(--line);
  }

  .workflow-list li {
    min-height: 150px;
  }

  .work-card.work-large {
    grid-row: auto;
  }

  .work-image img,
  .work-large .work-image img {
    aspect-ratio: 16 / 11;
    object-position: center 24%;
  }

  .standards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .boundaries-grid {
    gap: 40px;
  }

  .boundary-card {
    min-height: 390px;
  }

  .proof-card {
    padding: 32px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .final-cta-inner {
    grid-template-columns: 68px 1fr;
  }

  .final-cta .button {
    grid-column: 1 / -1;
  }

  .cta-mark {
    width: 62px;
    height: 62px;
    border-radius: 19px;
    font-size: 33px;
  }

  .site-footer {
    padding-block: 44px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-35%); }
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero {
    padding-bottom: 52px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: 48px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 13px 0;
  }

  .hero-stats div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .poster-stage {
    aspect-ratio: .78;
  }

  .poster-front {
    right: 10%;
    width: 65%;
  }

  .floating-note {
    min-width: 175px;
    padding: 10px;
  }

  .note-one {
    top: 26%;
  }

  .note-two {
    bottom: 13%;
  }

  .capability-grid,
  .standards-grid,
  .boundary-columns {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .standard-card {
    min-height: 230px;
  }

  .standard-card h3 {
    margin-top: 65px;
  }

  .chat-messages {
    padding: 18px 14px;
  }

  .message-row {
    max-width: 92%;
  }

  .replay-button {
    padding-inline: 9px;
  }

  .work-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-meta p {
    text-align: left;
  }

  .proof-timeline li {
    grid-template-columns: 70px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
