:root {
  --bg: #ffffff;
  --paper: #f6f2ff;
  --paper-strong: #efe9ff;
  --ink: #171329;
  --ink-2: #4d466a;
  --ink-3: #8a86a0;
  --line: #ece7f5;
  --line-2: #d9d2ee;
  --brand: #5b3df5;
  --brand-deep: #2a1f5c;
  --accent: #c8ff3e;
  --accent-ink: #171329;
  --ok: #1e7a52;
  --ok-soft: #e4f4ea;
  --warn: #d97720;
  --warn-soft: #fff0da;
  --info: #2b3fe0;
  --shadow: 0 18px 45px rgba(42, 31, 92, 0.12);
  --shadow-soft: 0 10px 30px rgba(91, 61, 245, 0.08);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 64px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.mini-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.brand-word {
  font-size: 24px;
  line-height: 1;
}

.brand-word span,
.mini-logo span span {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--ink-3);
  margin-left: 2px;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--brand);
  font-size: 31px;
  line-height: 1;
  font-weight: 900;
  font-family: var(--font);
}

.brand-mark > span {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.brand-mark.small {
  width: 18px;
  height: 18px;
  font-size: 20px;
}

.brand-mark.small > span {
  width: 5px;
  height: 5px;
  top: 0;
  right: 0;
}

.brand-mark.tiny {
  width: 32px;
  height: 32px;
  font-size: 34px;
  flex: 0 0 auto;
}

.brand-mark.tiny > span {
  width: 8px;
  height: 8px;
  top: 1px;
  right: 0;
}

.brand-mark.tile {
  width: 42px;
  height: 42px;
  font-size: 46px;
}

.brand-mark.tile > span {
  width: 10px;
  height: 10px;
  top: 2px;
  right: 2px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  color: var(--ink-2);
}

.top-nav a:hover,
.login-link:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.login-link {
  color: var(--ink-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-small {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 22px rgba(91, 61, 245, 0.16);
}

.btn-primary:hover {
  background: #4f32ec;
}

.btn-ghost {
  background: white;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-section {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  align-items: center;
  gap: 72px;
  padding: 78px 64px 76px;
  max-width: 1440px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--ink);
}

.hero-copy h1 span {
  color: #8a86a0;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--ink-3);
  font-size: 13px;
}

.hero-stats strong {
  color: var(--ink);
  font-family: var(--mono);
}

.record-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  padding: 34px;
  border-radius: 26px;
  background: var(--brand-deep);
  color: white;
  box-shadow: 0 28px 80px rgba(42, 31, 92, 0.28);
}

.record-bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(200, 255, 62, 0.2) 8px 9px),
    repeating-linear-gradient(-45deg, transparent 0 8px, rgba(255, 255, 255, 0.12) 8px 9px);
}

.record-card > *:not(.record-bg) {
  position: relative;
}

.record-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.mini-logo {
  gap: 6px;
  font-size: 17px;
}

.record-card .mini-logo,
.dashboard aside .mini-logo {
  color: white;
}

.record-card .brand-mark,
.dashboard aside .brand-mark,
.confirm-hero .brand-mark,
.evidence-head .brand-mark {
  color: white;
}

.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.stamp-green {
  color: var(--accent);
}

.serial {
  margin: 34px 0 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.record-card h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.record-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.device-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.device-thumb::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 14px;
  width: 14px;
  height: 36px;
  border-radius: 4px;
  background: #22242a;
}

.device-thumb::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 38px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #555b66;
}

.record-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.record-item p {
  margin: 2px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.party-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.party-grid div {
  padding: 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

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

.party-grid strong {
  color: var(--accent);
  font-size: 15px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 64px 38px;
}

.trust-strip div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 96px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.trust-strip div:first-child {
  border-radius: 18px 0 0 18px;
}

.trust-strip div:last-child {
  border-radius: 0 18px 18px 0;
}

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

.trust-strip span {
  color: var(--ink-2);
  line-height: 1.55;
  font-size: 14px;
}

.section {
  padding: 88px 64px;
}

.section-head {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.compact {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 900;
}

.section-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.flow-section,
.demo-section,
.pricing-section {
  background: var(--paper);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1312px;
  margin: 0 auto;
}

.flow-grid article,
.neutral-grid article,
.pricing-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.flow-grid span {
  color: var(--brand);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.flow-grid h3,
.neutral-grid h3,
.pricing-grid h3 {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.flow-grid p,
.neutral-grid p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

.demo-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.phone-shell {
  width: 390px;
  height: 780px;
  border-radius: 34px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-status {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
}

.status-dots {
  display: inline-flex;
  gap: 4px;
}

.status-dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink);
}

.phone-content {
  height: calc(100% - 42px);
  overflow: hidden;
  background: white;
}

.phone-page {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-nav {
  height: 48px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.phone-nav span {
  font-size: 22px;
  color: var(--ink);
}

.phone-nav strong {
  text-align: center;
  font-size: 15px;
}

.phone-body {
  flex: 1;
  overflow: hidden;
  padding: 20px;
}

.phone-body.scrollable {
  overflow-y: auto;
}

.home-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.round-user {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.phone-title {
  margin: 28px 0 0;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 900;
}

.phone-title span {
  color: var(--ink-3);
}

.phone-copy {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.start-card {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 20px;
  border-radius: 22px;
  background: var(--brand-deep);
  color: white;
}

.start-card::after {
  content: "c";
  position: absolute;
  right: 14px;
  bottom: 4px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
}

.start-card span,
.phone-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.start-card h3 {
  margin: 8px 0 6px;
  font-size: 23px;
}

.start-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.55;
}

.lime-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
  font-size: 13px;
}

.phone-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.phone-mini-card,
.phone-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 14px;
}

.phone-mini-card h4,
.phone-card h4 {
  margin: 6px 0 4px;
  font-size: 15px;
}

.phone-mini-card p,
.phone-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.55;
}

.neutral-phone {
  margin-top: 18px;
  padding: 15px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.neutral-phone strong {
  display: block;
  margin-top: 8px;
}

.neutral-phone p {
  margin: 5px 0 0;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.55;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px dashed var(--line-2);
  border-radius: 16px;
  background: white;
}

.upload-tile,
.material-preview {
  position: relative;
  border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(91, 61, 245, 0.04) 8px 9px),
    var(--paper);
  border: 1px solid var(--line);
}

.upload-tile {
  aspect-ratio: 1;
}

.upload-tile::before,
.material-preview::before,
.compare-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 54px;
  border-radius: 4px;
  background: #23252c;
  transform: translate(-50%, -50%);
}

.upload-tile::after,
.material-preview::after,
.compare-photo::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 17px);
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #596070;
  transform: translateX(-50%);
}

.field-list {
  margin-top: 14px;
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.field-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.field-row:last-child {
  border-bottom: 0;
}

.field-row span {
  color: var(--ink-3);
}

.field-row strong {
  text-align: right;
}

.ai-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--brand-deep);
  color: white;
}

.ai-card b {
  display: block;
  color: var(--accent);
  font-size: 32px;
  margin-top: 12px;
}

.ai-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.6;
}

.ai-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.ai-metrics div {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.ai-metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
}

.ai-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 20px;
}

.material-preview {
  height: 330px;
  margin-top: 16px;
}

.material-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.material-caption span {
  color: var(--brand);
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 800;
}

.material-caption h3 {
  margin: 4px 0;
  font-size: 23px;
}

.material-caption p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
}

.platform-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.platform-tabs span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  background: white;
}

.platform-tabs span:first-child {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.copy-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.7;
}

.create-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  margin-top: 14px;
}

.create-item .device-thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  background: var(--paper);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chip,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.chip {
  background: var(--paper);
  color: var(--brand);
}

.terms-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: var(--paper);
}

.terms-card h4 {
  margin: 0 0 9px;
  font-size: 13px;
}

.terms-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.75;
}

.confirm-url {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11px;
  font-family: var(--mono);
}

.confirm-hero {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
  background: var(--brand-deep);
  color: white;
}

.confirm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(45deg, transparent 0 7px, rgba(200, 255, 62, 0.22) 7px 8px);
}

.confirm-hero > * {
  position: relative;
}

.confirm-hero p {
  margin: 18px 0 4px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.confirm-hero h3 {
  margin: 0;
  font-size: 24px;
}

.party-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.party-cards div {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
}

.party-cards div:last-child {
  border-color: var(--brand);
}

.party-cards span {
  display: block;
  color: var(--ink-3);
  font-size: 10px;
  font-family: var(--mono);
}

.party-cards strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.signature-box {
  position: relative;
  height: 112px;
  margin-top: 12px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: white;
}

.signature-box::before,
.signature-box::after {
  content: "";
  position: absolute;
  border: 2px solid var(--ink);
  border-top: 0;
  border-left: 0;
  border-radius: 50%;
}

.signature-box::before {
  left: 74px;
  top: 44px;
  width: 72px;
  height: 24px;
  transform: rotate(-16deg);
}

.signature-box::after {
  left: 150px;
  top: 42px;
  width: 62px;
  height: 30px;
  transform: rotate(12deg);
}

.step-chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 0;
  padding: 14px 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
}

.step-chain div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 10px;
}

.step-chain div::before {
  content: attr(data-num);
  width: 25px;
  height: 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line-2);
  background: white;
  color: var(--ink-3);
  font-weight: 800;
}

.step-chain div.done::before,
.step-chain div.active::before {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.compare-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.compare-photo.marked i {
  position: absolute;
  left: 32%;
  top: 33%;
  width: 38%;
  height: 23%;
  border: 2px solid var(--warn);
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(217, 119, 32, 0.12);
}

.warn-box {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--warn-soft);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.65;
}

.evidence-head {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
  background: var(--brand-deep);
  color: white;
}

.evidence-head::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(45deg, transparent 0 7px, rgba(200, 255, 62, 0.22) 7px 8px);
}

.evidence-head > * {
  position: relative;
}

.evidence-head p {
  margin: 12px 0 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-family: var(--mono);
}

.evidence-head h3 {
  margin: 0;
  font-size: 26px;
}

.timeline {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
}

.timeline div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}

.timeline div:last-child {
  border-bottom: 0;
}

.timeline span {
  color: var(--ink-3);
  font-family: var(--mono);
}

.demo-panel {
  min-width: 0;
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.demo-tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  text-align: left;
}

.demo-tabs button span {
  color: var(--brand);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.demo-tabs button strong {
  display: block;
  font-size: 15px;
}

.demo-tabs button.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(91, 61, 245, 0.08);
}

.demo-note,
.check-list {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.demo-note {
  display: flex;
  gap: 16px;
  padding: 20px;
}

.demo-note h3 {
  margin: 0;
  font-size: 20px;
}

.demo-note p {
  margin: 8px 0 0;
  color: var(--ink-2);
  line-height: 1.75;
}

.check-list {
  padding: 8px 20px;
}

.check-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.check-list div:last-child {
  border-bottom: 0;
}

.check-list strong {
  flex: 0 0 120px;
}

.check-list span {
  color: var(--ink-2);
  text-align: right;
}

.neutral-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.neutral-grid article {
  min-height: 220px;
}

.business-section {
  background: white;
}

.dashboard {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  max-width: 1180px;
  min-height: 520px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

.dashboard aside {
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  background: var(--brand-deep);
  color: white;
}

.dashboard aside nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
}

.dashboard aside nav span,
.dashboard aside nav strong {
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.dashboard aside nav strong {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.quota {
  margin-top: auto;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.quota strong,
.quota span {
  display: block;
}

.quota strong {
  color: var(--accent);
  font-size: 14px;
}

.quota span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.quota i {
  display: block;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.quota b {
  display: block;
  width: 60%;
  height: 100%;
  background: var(--accent);
}

.dashboard-main {
  padding: 28px;
  min-width: 0;
}

.dash-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.dash-title p {
  margin: 0 0 4px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
}

.dash-title h3 {
  margin: 0;
  font-size: 26px;
}

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

.stat-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.stat-grid span,
.stat-grid em {
  color: var(--ink-3);
  font-style: normal;
  font-size: 12px;
}

.stat-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  font-family: var(--mono);
}

.stat-grid em {
  color: var(--brand);
}

.order-table {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 110px minmax(180px, 1fr) 100px 120px 90px 70px;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row span:first-child {
  font-family: var(--mono);
  color: var(--ink-2);
  font-size: 11px;
}

.table-head {
  min-height: 44px;
  background: #fbfaff;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 900;
}

.table-row a {
  color: var(--brand);
  font-weight: 800;
}

.pill.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.pill.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.pill.done {
  background: var(--ok-soft);
  color: var(--ok);
}

.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
}

.pricing-grid article {
  position: relative;
  min-height: 294px;
}

.pricing-grid article.featured {
  background: var(--brand-deep);
  color: white;
  border-color: var(--brand-deep);
}

.pricing-grid article.featured em {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 900;
  font-style: normal;
}

.pricing-grid p {
  margin: 16px 0 4px;
}

.pricing-grid p strong {
  font-size: 38px;
  font-family: var(--mono);
}

.pricing-grid p small {
  margin-left: 4px;
  color: var(--ink-3);
}

.pricing-grid article.featured p small,
.pricing-grid article.featured span,
.pricing-grid article.featured li {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-grid > article > span {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
}

.pricing-grid ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-grid li {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 14px;
}

.pricing-grid li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: middle;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 64px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer div:last-child {
  display: flex;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--brand);
}

@media (max-width: 1180px) {
  .site-header,
  .hero-section,
  .section,
  .site-footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .trust-strip {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 60px;
  }

  .record-card {
    max-width: 620px;
  }

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

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

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

  .demo-panel {
    width: 100%;
    max-width: 720px;
  }

  .dashboard {
    grid-template-columns: 180px minmax(0, 1fr);
  }

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

  .table-row {
    grid-template-columns: 88px minmax(160px, 1fr) 90px 110px 80px 54px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-top: 4px;
  }

  .header-actions {
    gap: 10px;
  }

  .login-link {
    display: none;
  }

  .hero-section {
    padding-top: 46px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 16px;
  }

  .record-card {
    min-height: auto;
    padding: 24px;
    border-radius: 22px;
  }

  .party-grid,
  .trust-strip,
  .neutral-grid,
  .flow-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .trust-strip div:first-child,
  .trust-strip div:last-child {
    border-radius: 16px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-head {
    text-align: left;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .phone-shell {
    width: 100%;
    max-width: 390px;
    height: 740px;
  }

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

  .check-list div {
    flex-direction: column;
    gap: 6px;
  }

  .check-list span {
    text-align: left;
  }

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

  .dashboard aside {
    min-height: auto;
  }

  .dashboard aside nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .quota {
    margin-top: 18px;
  }

  .dash-title {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .order-table {
    overflow-x: auto;
  }

  .table-row {
    width: 720px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer div:last-child {
    flex-wrap: wrap;
  }
}
