:root {
  --ink: #10243b;
  --ink-soft: #52647a;
  --night: #090a0f;
  --night-soft: #141620;
  --surface: #f4f6f9;
  --paper: #ffffff;
  --accent: #6653d9;
  --accent-2: #9a84f5;
  --accent-soft: #efecff;
  --line: rgba(16, 36, 59, .12);
  --line-dark: rgba(255, 255, 255, .1);
  --shadow: 0 24px 80px rgba(16, 36, 59, .1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --content: 1200px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--surface);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Inter, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
}

button:disabled {
  cursor: wait;
  opacity: .62;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section--tight {
  padding: 76px 0;
}

.section--paper {
  background: var(--paper);
}

.section--night {
  overflow: hidden;
  color: #f8f7ff;
  background:
    radial-gradient(circle at 80% 15%, rgba(102, 83, 217, .24), transparent 30%),
    var(--night);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2,
.display-title,
.page-title {
  margin: 0;
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.section-heading h2 {
  font-size: clamp(36px, 4.5vw, 58px);
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.section--night .section-heading p {
  color: #a7a8b3;
}

.muted {
  color: var(--ink-soft);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: 0;
  left: 0;
  pointer-events: none;
}

.nav-shell {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 26px;
  padding: 8px 10px 8px 18px;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(12, 14, 21, .78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: #fff;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: #8f92a1;
  font-size: 9px;
  letter-spacing: .12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: #aeb0bc;
  border-radius: 9px;
  font-size: 13px;
  transition: color .2s ease, background .2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta,
.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #7662e4, #5642c4);
  box-shadow: 0 12px 28px rgba(102, 83, 217, .26);
}

.button--secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .84);
}

.section--night .button--secondary,
.hero .button--secondary {
  color: #eeeafc;
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 20px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle {
  gap: 5px;
}

.menu-toggle span {
  display: none;
}

.menu-toggle::before {
  grid-area: 1 / 1;
  transform: translateY(-3px);
}

.menu-toggle::after {
  grid-area: 1 / 1;
  transform: translateY(3px);
}

.menu-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
  color: #f8f7ff;
  background:
    radial-gradient(circle at 76% 34%, rgba(102, 83, 217, .28), transparent 30%),
    radial-gradient(circle at 24% 86%, rgba(154, 132, 245, .12), transparent 28%),
    var(--night);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .24;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  right: -2vw;
  bottom: -8vw;
  color: rgba(255, 255, 255, .025);
  font-size: min(38vw, 620px);
  font-weight: 950;
  line-height: .75;
  letter-spacing: -.16em;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 70vw);
  padding: 150px 0 90px;
}

.hero .eyebrow {
  color: #aa98ff;
}

.display-title {
  color: #faf9ff;
  font-size: clamp(56px, 8.4vw, 118px);
}

.hero-lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: #aaaab5;
  font-size: clamp(18px, 2vw, 23px);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 58px 0 0;
  padding: 0;
  color: #92939f;
  list-style: none;
  font-size: 13px;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-proof li::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-2);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 110px;
  color: #f8f7ff;
  background:
    radial-gradient(circle at 74% 28%, rgba(102, 83, 217, .25), transparent 32%),
    var(--night);
}

.page-hero::after {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -290px;
  content: "";
  border: 1px solid rgba(154, 132, 245, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(154, 132, 245, .035), 0 0 0 160px rgba(154, 132, 245, .025);
}

.page-title {
  max-width: 900px;
  color: #faf9ff;
  font-size: clamp(52px, 7vw, 96px);
}

.page-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #a4a6b2;
  font-size: 20px;
}

.page-hero--compact {
  padding: 118px 0 46px;
}

.page-hero--compact .page-title {
  font-size: clamp(44px, 5.4vw, 72px);
}

.page-hero--compact .page-lead {
  max-width: 600px;
  margin-top: 14px;
  font-size: 18px;
}

.metric-grid,
.card-grid,
.capability-grid,
.method-grid,
.scenario-grid {
  display: grid;
  gap: 18px;
}

.metric-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid,
.capability-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.card,
.metric,
.capability-card,
.method-card,
.scenario-card,
.price-card,
.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(16, 36, 59, .04);
}

.card,
.capability-card,
.method-card,
.scenario-card {
  padding: 24px;
}

.card-index,
.icon-tile {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, white);
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 850;
}

.card h3,
.capability-card h3,
.method-card h3,
.scenario-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.card p,
.capability-card p,
.method-card p,
.scenario-card p {
  margin: 0;
  color: var(--ink-soft);
}

.section--night .card,
.section--night .capability-card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, .045);
  box-shadow: none;
}

.section--night .card p,
.section--night .capability-card p {
  color: #a3a5b1;
}

.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: journey;
}

.journey-step {
  position: relative;
  min-height: 230px;
  padding: 28px;
  counter-increment: journey;
  border-top: 1px solid var(--line);
}

.journey-step + .journey-step {
  border-left: 1px solid var(--line);
}

.journey-step::before {
  display: block;
  margin-bottom: 40px;
  color: var(--accent);
  content: "0" counter(journey);
  font-size: 13px;
  font-weight: 850;
}

.journey-step h3 {
  margin: 0 0 12px;
  font-size: 25px;
  letter-spacing: -.035em;
}

.journey-step p {
  margin: 0;
  color: var(--ink-soft);
}

.trust-band {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.trust-intro,
.trust-item {
  padding: 34px;
}

.trust-intro {
  color: #f8f7ff;
  background: var(--accent);
}

.trust-intro h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.trust-intro p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 14px;
}

.choice-section {
  position: relative;
  overflow: hidden;
  color: #f8f7ff;
  background:
    radial-gradient(circle at 12% 22%, rgba(143, 255, 212, .13), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(118, 98, 228, .34), transparent 34%),
    #08090e;
}

.choice-shell {
  position: relative;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 28px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 32px;
  background: rgba(13, 14, 21, .72);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(20px) saturate(135%);
}

.choice-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .14), transparent 30%, transparent 70%, rgba(143, 255, 212, .12)),
    radial-gradient(circle at 30% 0%, rgba(118, 98, 228, .22), transparent 36%);
}

.choice-copy,
.choice-grid {
  position: relative;
}

.choice-copy {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.choice-copy .eyebrow {
  color: #8fffd4;
}

.choice-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: .98;
  letter-spacing: -.07em;
}

.choice-copy p:not(.eyebrow) {
  max-width: 460px;
  margin: 24px 0 0;
  color: #b5b4c3;
  font-size: 17px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.choice-card {
  position: relative;
  min-height: 198px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.choice-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(135deg, rgba(143, 255, 212, .16), transparent 42%, rgba(118, 98, 228, .18));
  transition: opacity .35s ease;
}

.choice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 255, 212, .36);
  background: rgba(255, 255, 255, .09);
}

.choice-card:hover::before {
  opacity: 1;
}

.choice-card span,
.choice-card h3,
.choice-card p {
  position: relative;
}

.choice-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #8fffd4;
  border: 1px solid rgba(143, 255, 212, .22);
  border-radius: 14px;
  background: rgba(143, 255, 212, .08);
  font-size: 12px;
  font-weight: 850;
}

.choice-card h3 {
  margin: 32px 0 10px;
  color: #fff;
  font-size: 28px;
  letter-spacing: -.04em;
}

.choice-card p {
  margin: 0;
  color: #b6b7c3;
}

.quote-panel,
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 62px;
  color: #f8f7ff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 30%, rgba(154, 132, 245, .25), transparent 34%),
    #171422;
}

.quote-panel blockquote {
  max-width: 860px;
  margin: 0;
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -.045em;
}

.quote-panel p {
  margin: 24px 0 0;
  color: #a6a3b2;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
}

.cta-panel h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.cta-panel p {
  max-width: 640px;
  margin: 18px 0 0;
  color: #aaa7b5;
}

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

.price-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 26px;
}

.price-card--featured {
  color: #f8f7ff;
  border-color: transparent;
  background:
    radial-gradient(circle at 90% 5%, rgba(154, 132, 245, .28), transparent 28%),
    #171422;
}

.price-tag {
  width: max-content;
  margin-bottom: 24px;
  padding: 6px 10px;
  color: var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
}

.price-card--featured .price-tag {
  color: #171422;
  background: #c8bcff;
}

.price-card h3 {
  margin: 0;
  font-size: 24px;
}

.price {
  margin: 22px 0 8px;
  font-size: 34px;
  font-weight: 840;
  letter-spacing: -.04em;
}

.price small {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-card--featured .price small,
.price-card--featured .price-desc {
  color: #a9a6b4;
}

.price-desc {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.feature-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.feature-list li::before {
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.price-card--featured .feature-list li::before {
  color: #bcaeff;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.discount-strip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: #eae6ff;
}

.discount-strip strong {
  font-size: 18px;
}

.discount-strip span {
  padding: 7px 11px;
  color: #4b399f;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 750;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.data-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: var(--ink-soft);
  background: #f8f9fb;
  font-size: 12px;
  letter-spacing: .04em;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td:not(:first-child),
.data-table th:not(:first-child) {
  text-align: center;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.token-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.token-card strong,
.token-card span,
.token-card small {
  display: block;
}

.token-card strong {
  font-size: 18px;
}

.token-card span {
  margin: 16px 0 5px;
  color: var(--accent);
  font-size: 31px;
  font-weight: 840;
  letter-spacing: -.04em;
}

.token-card small {
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: 42px;
}

.contact-panel {
  position: sticky;
  top: 110px;
  color: #f8f7ff;
  background:
    radial-gradient(circle at 80% 20%, rgba(154, 132, 245, .3), transparent 34%),
    #171422;
}

.contact-panel h2,
.form-panel h2 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.contact-panel p {
  color: #aaa7b5;
}

.contact-points {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-point {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.contact-point strong,
.contact-point span {
  display: block;
}

.contact-point span {
  color: #9693a3;
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fafc;
  transition: border .2s ease, box-shadow .2s ease;
}

.field input {
  min-height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 150px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(102, 83, 217, .1);
  outline: 0;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.consent {
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 13px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.form-status[data-state="success"] {
  padding: 11px 13px;
  color: #187456;
  border: 1px solid rgba(24, 116, 86, .2);
  border-radius: 10px;
  background: rgba(24, 116, 86, .08);
}

.form-status[data-state="success"]::before {
  margin-right: 7px;
  content: "✓";
  font-weight: 900;
}

.form-status[data-state="error"] {
  padding: 11px 13px;
  color: #b43b50;
  border: 1px solid rgba(180, 59, 80, .2);
  border-radius: 10px;
  background: rgba(180, 59, 80, .07);
}

.floating-actions {
  position: fixed;
  z-index: 80;
  top: 50%;
  right: 0;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.floating-action {
  display: grid;
  width: 46px;
  min-height: 88px;
  place-items: center;
  padding: 10px 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: rgba(24, 21, 38, .92);
  box-shadow: -12px 14px 34px rgba(16, 10, 45, .18);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.floating-action--contact {
  background: linear-gradient(180deg, #7763e4, #5540be);
}

.floating-action span {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: .08em;
}

.share-dialog {
  width: min(92vw, 520px);
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .28);
}

.share-dialog::backdrop {
  background: rgba(4, 5, 9, .66);
  backdrop-filter: blur(7px);
}

.share-dialog__inner {
  padding: 28px;
}

.share-dialog__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.share-dialog__head h2 {
  margin: 0;
  font-size: 25px;
}

.share-dialog__head p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.success-dialog__inner {
  display: flex;
  max-width: none;
  flex-direction: column;
  align-items: center;
  padding: 36px 44px 30px;
  text-align: center;
}

.success-dialog__mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 0 20px;
  border: 1px solid rgba(143, 255, 212, 0.42);
  border-radius: 50%;
  color: #8fffd4;
  background: rgba(143, 255, 212, 0.1);
  place-items: center;
  font-size: 28px;
}

.success-dialog__inner h2 {
  width: 100%;
  margin: 0 0 12px;
}

.success-dialog__inner > p:not(.eyebrow) {
  width: 100%;
  margin: 0 auto 24px;
  color: var(--muted);
}

.success-dialog__inner .eyebrow {
  justify-content: center;
  width: 100%;
}

.success-dialog__inner .eyebrow::before {
  content: none;
}

.sync-status {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.sync-status--synced {
  color: #8fffd4;
  border-color: rgba(143, 255, 212, 0.3);
  background: rgba(143, 255, 212, 0.08);
}

.sync-status--retrying {
  color: #ffd28f;
  border-color: rgba(255, 210, 143, 0.3);
  background: rgba(255, 210, 143, 0.08);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  margin-left: auto;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.share-option {
  display: grid;
  min-height: 116px;
  place-items: center;
  gap: 7px;
  padding: 14px 10px;
  color: var(--ink);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfbfd;
  cursor: pointer;
}

.share-option strong {
  font-size: 14px;
}

.share-option small {
  color: var(--ink-soft);
  font-size: 12px;
}

.share-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.share-icon--wechat {
  background: #07c160;
}

.share-icon--qq {
  background: #12b7f5;
}

.share-icon--weibo {
  background: #e6162d;
}

.share-icon--copy {
  background: #5642c4;
  font-size: 11px;
  letter-spacing: .04em;
}

.share-qr {
  display: none;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
}

.share-qr.is-visible {
  display: grid;
}

.share-qr img {
  width: 128px;
  height: 128px;
  border-radius: 8px;
}

.share-feedback {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.site-footer {
  padding: 72px 0 32px;
  color: #b0b1bc;
  background: #0d0e13;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .7fr);
  gap: 50px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  color: #858792;
}

.footer-column strong {
  display: block;
  margin-bottom: 14px;
  color: #f2f1f7;
}

.footer-column a {
  display: block;
  width: max-content;
  margin-top: 9px;
  color: #8d8f9a;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  color: #6e707a;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
}

.footer-bottom a {
  color: inherit;
}

.footer-bottom a:hover {
  color: #b0b1bc;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.admin-body {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at 70% 20%, rgba(102, 83, 217, .25), transparent 28%),
    var(--night);
}

.admin-card {
  width: min(100%, 440px);
  padding: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px);
}

.admin-card h1 {
  margin: 24px 0 8px;
  color: #fff;
  font-size: 32px;
  letter-spacing: -.04em;
}

.admin-card p {
  color: #999ba6;
}

.admin-card .field label {
  color: #dddbe8;
}

.admin-card .field input {
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
}

.admin-card .button {
  width: 100%;
  margin-top: 18px;
}

.admin-shell {
  min-height: 100svh;
  padding: 40px 0 80px;
  background: var(--surface);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.admin-toolbar h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.04em;
}

.admin-toolbar .button {
  margin-left: auto;
}

.message-list {
  display: grid;
  gap: 12px;
}

.message-card {
  display: grid;
  grid-template-columns: 160px 1fr 1.4fr;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.message-meta,
.message-person,
.message-notes {
  min-width: 0;
}

.message-meta time,
.message-meta span,
.message-person span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}

.message-person strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.message-notes p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
  .section {
    padding: 96px 0;
  }

  .card-grid,
  .capability-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-grid,
  .token-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .trust-intro {
    grid-column: 1 / -1;
  }

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

@media (max-width: 900px) {
  .site-header {
    top: 10px;
  }

  .nav-shell {
    position: relative;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(12, 14, 21, .96);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .header-cta {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .method-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    position: static;
  }

  .choice-shell {
    grid-template-columns: 1fr;
  }

  .choice-copy {
    min-height: auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .message-notes {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 44px), var(--content));
  }

  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 54px 0;
  }

  .choice-shell {
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
  }

  .choice-copy {
    padding: 14px 8px 8px;
  }

  .choice-copy h2 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .choice-copy p:not(.eyebrow) {
    font-size: 15px;
  }

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

  .choice-card {
    min-height: auto;
    padding: 22px;
  }

  .choice-card h3 {
    margin-top: 24px;
  }

  .nav-shell {
    min-height: 54px;
    padding: 6px 8px 6px 10px;
    border-radius: 15px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    width: min(calc(100% - 44px), var(--content));
    padding: 140px 6px 72px;
  }

  .display-title {
    font-size: clamp(48px, 15vw, 64px);
    line-height: .92;
    letter-spacing: -.09em;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 12px;
    margin-top: 42px;
  }

  .page-hero {
    padding: 150px 0 82px;
  }

  .page-hero--compact {
    padding: 118px 0 42px;
  }

  .page-hero .container,
  .experience-intro {
    padding-inline: 6px;
  }

  .page-title {
    font-size: clamp(48px, 15vw, 72px);
  }

  .page-hero--compact .page-title {
    font-size: clamp(38px, 11vw, 54px);
  }

  .page-lead {
    font-size: 17px;
  }

  .page-hero--compact .page-lead {
    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .section-heading p {
    font-size: 15px;
  }

  .card-grid,
  .capability-grid,
  .metric-grid,
  .pricing-grid,
  .token-grid {
    grid-template-columns: 1fr;
  }

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

  .journey-step + .journey-step {
    border-left: 0;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-intro {
    grid-column: auto;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quote-panel,
  .cta-panel {
    padding: 30px 22px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .discount-strip {
    grid-template-columns: 1fr;
  }

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

  .field--full,
  .consent {
    grid-column: auto;
  }

  .field input,
  .field textarea {
    font-size: 16px;
  }

  .contact-panel,
  .form-panel {
    padding: 24px 20px;
  }

  .price-card {
    min-height: 0;
  }

  .floating-actions {
    right: 8px;
    gap: 7px;
  }

  .floating-action {
    width: 46px;
    min-height: 46px;
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
  }

  .floating-action span {
    writing-mode: initial;
    font-size: 0;
  }

  .floating-action--contact span::after {
    content: "问";
    font-size: 14px;
    font-weight: 900;
  }

  .floating-action--share span::after {
    content: "享";
    font-size: 14px;
    font-weight: 900;
  }

  .share-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-qr {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .share-qr img {
    margin-inline: auto;
  }

  .site-footer {
    padding: 36px 0 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .brand {
    margin-bottom: 10px;
  }

  .footer-brand p {
    margin: 0;
    font-size: 13px;
  }

  .footer-column strong {
    margin-bottom: 8px;
  }

  .footer-column a {
    margin-top: 6px;
    font-size: 13px;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    padding-top: 14px;
    font-size: 11px;
  }

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

  .message-notes {
    grid-column: auto;
  }

  .admin-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@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;
  }

  .hero-canvas {
    display: none;
  }
}

/* Experience room */
.experience-page {
  overflow-x: hidden;
  color: #f4f2fb;
  background: #08090e;
}

.experience-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  padding: 154px 0 112px;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    radial-gradient(circle at 68% 34%, rgba(102, 83, 217, .2), transparent 32%),
    #08090e;
  background-size: 58px 58px, 58px 58px, auto, auto;
}

.experience-hero::after {
  position: absolute;
  z-index: -1;
  right: -15%;
  bottom: -340px;
  left: -15%;
  height: 560px;
  content: "";
  background: radial-gradient(ellipse, rgba(113, 88, 229, .2), transparent 68%);
  filter: blur(30px);
}

.experience-canvas,
.experience-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.experience-glow {
  opacity: .7;
  background: linear-gradient(110deg, transparent 18%, rgba(137, 113, 246, .08) 47%, transparent 68%);
  transform: translateX(-45%);
  animation: experience-scan 11s ease-in-out infinite;
}

@keyframes experience-scan {
  50% {
    transform: translateX(45%);
  }
}

.experience-intro {
  margin-bottom: 58px;
}

.experience-intro h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(54px, 7.3vw, 104px);
  font-weight: 820;
  line-height: .98;
  letter-spacing: -.07em;
}

.experience-intro > p:last-child {
  max-width: 700px;
  margin: 28px 0 0;
  color: #999ba8;
  font-size: 18px;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.55fr);
  gap: 18px;
  align-items: stretch;
}

.scenario-panel,
.agent-stage {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 26px;
  background: rgba(14, 15, 22, .8);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .3);
  backdrop-filter: blur(20px) saturate(120%);
}

.scenario-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
}

.scenario-panel__head span,
.scenario-copy > p:first-child {
  display: block;
  color: #8d78f4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.scenario-panel__head strong {
  display: block;
  margin-top: 9px;
  font-size: 26px;
  letter-spacing: -.04em;
}

.scenario-tabs {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.scenario-tab {
  display: grid;
  grid-template-columns: 34px 1fr;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  color: #858792;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.scenario-tab span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  font-size: 10px;
}

.scenario-tab:hover {
  color: #fff;
  transform: translateX(3px);
}

.scenario-tab.is-active {
  color: #fff;
  border-color: rgba(145, 120, 255, .48);
  background: linear-gradient(105deg, rgba(107, 84, 217, .24), rgba(255, 255, 255, .035));
}

.scenario-tab.is-active span {
  color: #11121a;
  background: linear-gradient(135deg, #a996ff, #735ce8);
  box-shadow: 0 8px 24px rgba(113, 92, 232, .36);
}

.scenario-copy {
  margin-top: auto;
  padding-top: 34px;
}

.scenario-copy h2 {
  margin: 10px 0 12px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.scenario-copy > p:not(:first-child) {
  margin: 0;
  color: #8f919c;
  font-size: 14px;
}

.scenario-copy dl {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
}

.scenario-copy dl div {
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.scenario-copy dt {
  color: #656773;
  font-size: 10px;
  letter-spacing: .12em;
}

.scenario-copy dd {
  margin: 4px 0 0;
  color: #c8c7d0;
  font-size: 12px;
}

.agent-stage {
  display: grid;
  height: 660px;
  min-width: 0;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  transition: opacity .22s ease, transform .22s ease;
}

.agent-stage.is-switching {
  opacity: .25;
  transform: translateY(8px) scale(.995);
}

.agent-stage__top {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 20px;
  padding: 18px 22px 15px;
}

.agent-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.agent-avatar,
.mini-avatar {
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  background: #262a33;
  box-shadow: 0 10px 30px rgba(116, 92, 233, .32);
}

.agent-avatar img,
.mini-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 12px;
}

.agent-identity strong,
.agent-identity small {
  display: block;
}

.agent-identity strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-identity small {
  margin-top: 2px;
  color: #777985;
  font: 9px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .04em;
}

.playback-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #8f919b;
  font-size: 11px;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9c86ff;
  box-shadow: 0 0 0 5px rgba(156, 134, 255, .09), 0 0 18px #8e75fa;
  animation: status-pulse 1.8s ease-in-out infinite;
}

@keyframes status-pulse {
  50% {
    opacity: .45;
    transform: scale(.72);
  }
}

.stage-progress {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
}

.stage-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #6653d9, #b5a6ff);
  box-shadow: 0 0 16px rgba(157, 135, 255, .75);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.conversation {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 22px 24px;
  scrollbar-color: rgba(143, 121, 244, .42) transparent;
  scrollbar-width: thin;
  transition: opacity .45s ease, transform .45s ease, filter .45s ease;
}

.conversation::before {
  display: block;
  margin-bottom: 18px;
  color: #5f616d;
  content: "SECURE AGENT SESSION  /  CONTEXT ISOLATED";
  font: 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .14em;
  text-align: center;
}

.timeline-event {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  filter: blur(5px);
  transition:
    max-height .85s cubic-bezier(.22, 1, .36, 1),
    margin .55s ease,
    opacity .55s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1),
    filter .55s ease;
}

.timeline-event.is-visible {
  max-height: 980px;
  margin-bottom: 14px;
  opacity: 1;
  transform: none;
  filter: none;
}

.timeline-event--user {
  width: min(82%, 560px);
  margin-left: auto;
  padding: 14px 16px;
  color: #fff;
  border: 1px solid rgba(184, 169, 255, .22);
  border-radius: 18px 18px 5px 18px;
  background: linear-gradient(135deg, #6850d2, #4b37a6);
  box-shadow: 0 16px 38px rgba(59, 39, 139, .22);
}

.timeline-event--user.is-visible {
  margin-bottom: 14px;
}

.event-role {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .58);
  font: 8px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .13em;
}

.user-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.timeline-event--trace {
  width: min(92%, 650px);
  margin-right: auto;
  padding: 15px;
  border: 1px solid rgba(148, 126, 245, .16);
  border-left-color: #826ae9;
  border-radius: 8px 17px 17px 8px;
  background: rgba(13, 14, 21, .92);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.trace-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #cbc8d8;
  font-size: 13px;
}

.trace-heading::before {
  width: 7px;
  height: 7px;
  content: "";
  border: 1px solid #9b83ff;
  border-radius: 50%;
  box-shadow: 0 0 12px #7a61e8;
}

.trace-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 10px;
}

.trace-row {
  display: grid;
  grid-template-columns: minmax(115px, .75fr) minmax(0, 1.55fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .018);
}

.trace-row code,
.trace-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.trace-row code {
  color: #9a83f5;
  font-size: 11px;
}

.trace-row span {
  overflow: hidden;
  color: #777a86;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trace-row strong {
  color: #75dbb3;
  font: 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.trace-code {
  display: block;
  overflow-x: auto;
  margin-top: 12px;
  padding: 11px 12px;
  color: #b8b5c6;
  border-radius: 8px;
  background: #090a0f;
  font-size: 11px;
  white-space: nowrap;
}

.trace-map {
  position: relative;
  overflow: hidden;
  margin: 12px 0 0;
  border: 1px solid rgba(128, 165, 218, .24);
  border-radius: 12px;
  background: #0a1019;
}

.trace-map img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.trace-map figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 7px 9px;
  color: #cdd8e8;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(5, 10, 17, .78);
  font: 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  backdrop-filter: blur(10px);
}

.timeline-event--agent {
  width: min(92%, 650px);
  margin-right: auto;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 5px 18px 18px 18px;
  background:
    radial-gradient(circle at 95% 10%, rgba(120, 93, 231, .13), transparent 27%),
    rgba(255, 255, 255, .045);
}

.agent-message__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.agent-message__head strong {
  font-size: 14px;
  letter-spacing: -.015em;
}

.agent-message__text {
  margin: 11px 0 0;
  color: #a7a8b3;
  font-size: 13px;
}

.agent-result-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.agent-result-list li {
  min-width: 0;
  padding: 9px 10px;
  color: #cac8d4;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  font-size: 9px;
  text-align: center;
}

.result-artifacts {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.result-artifacts__label {
  margin: 0 0 9px;
  color: #797b87;
  font-size: 10px;
  letter-spacing: .1em;
}

.result-artifacts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.artifact-card {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}

.artifact-card__icon {
  width: max-content;
  margin-bottom: 5px;
  padding: 3px 5px;
  color: #fff;
  border-radius: 5px;
  background: #6f59d8;
  font: 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.artifact-card--pdf .artifact-card__icon {
  background: #c74f63;
}

.artifact-card--xlsx .artifact-card__icon {
  background: #238768;
}

.artifact-card--html .artifact-card__icon {
  background: #bd7132;
}

.artifact-card strong {
  overflow: hidden;
  color: #d7d5df;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artifact-card small {
  color: #6d6f7a;
  font-size: 8px;
}

.experience-footnote {
  color: var(--ink);
}

@media (max-width: 980px) {
  .experience-layout {
    grid-template-columns: 1fr;
  }

  .scenario-panel {
    padding: 24px;
  }

  .scenario-tabs {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .scenario-tab:hover {
    transform: none;
  }

  .scenario-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
    column-gap: 26px;
    padding-top: 22px;
  }

  .scenario-copy > p:first-child,
  .scenario-copy h2,
  .scenario-copy > p:not(:first-child) {
    grid-column: 1;
  }

  .scenario-copy dl {
    grid-row: 1 / span 3;
    grid-column: 2;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .experience-hero {
    padding: 132px 0 76px;
    background-size: 42px 42px, 42px 42px, auto, auto;
  }

  .experience-intro {
    margin-bottom: 36px;
  }

  .experience-intro h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .experience-intro > p:last-child {
    margin-top: 20px;
    font-size: 15px;
  }

  .scenario-panel,
  .agent-stage {
    border-radius: 20px;
  }

  .scenario-panel {
    padding: 20px;
  }

  .scenario-panel__head strong {
    font-size: 23px;
  }

  .scenario-tabs {
    grid-template-columns: repeat(5, 166px);
  }

  .scenario-copy {
    display: block;
  }

  .scenario-copy h2 {
    font-size: 24px;
  }

  .scenario-copy dl {
    margin-top: 22px;
  }

  .agent-stage {
    height: 620px;
  }

  .agent-stage__top {
    align-items: flex-start;
    padding: 18px;
  }

  .playback-status {
    max-width: 120px;
    white-space: normal;
  }

  .conversation {
    padding: 16px 14px 20px;
  }

  .timeline-event--user {
    width: 91%;
  }

  .timeline-event--trace,
  .timeline-event--agent {
    width: 96%;
  }

  .trace-row {
    grid-template-columns: minmax(104px, .8fr) auto;
    gap: 7px;
  }

  .trace-row span {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .agent-result-list {
    grid-template-columns: 1fr;
  }

  .trace-map img {
    aspect-ratio: 16 / 9;
  }

  .result-artifacts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 420px) {
  .agent-identity small {
    display: none;
  }

  .playback-status {
    font-size: 9px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .experience-canvas,
  .experience-glow {
    display: none;
  }

  .timeline-event {
    filter: none;
  }
}
