:root {
  color-scheme: dark;
  --bg: oklch(0.105 0.01 170);
  --bg-soft: oklch(0.145 0.014 170);
  --surface: oklch(0.18 0.017 170);
  --surface-strong: oklch(0.225 0.023 165);
  --line: oklch(0.35 0.026 168);
  --line-soft: oklch(0.28 0.019 168);
  --ink: oklch(0.955 0.008 150);
  --muted: oklch(0.76 0.018 158);
  --subtle: oklch(0.62 0.015 158);
  --brand: oklch(0.62 0.145 150);
  --brand-dark: oklch(0.34 0.07 154);
  --electric: oklch(0.76 0.14 185);
  --electric-blue: oklch(0.7 0.13 230);
  --amber: oklch(0.74 0.16 74);
  --blue: oklch(0.69 0.1 230);
  --danger: oklch(0.65 0.16 30);
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 12px 8px oklch(0.05 0 0 / 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 10%, oklch(0.28 0.08 154 / 0.32), transparent 34%),
    radial-gradient(circle at 82% 18%, oklch(0.31 0.08 225 / 0.18), transparent 30%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(
    circle 420px at var(--pointer-x, 50%) var(--pointer-y, 28%),
    oklch(0.7 0.13 185 / 0.11),
    transparent 72%
  );
  transition: background 180ms linear;
}

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

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

.wechat-open-browser-tip {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  z-index: 80;
  display: grid;
  gap: 4px;
  width: min(310px, calc(100vw - 28px));
  padding: 14px 16px;
  border: 1px solid oklch(0.82 0.06 155 / 0.55);
  border-radius: 8px;
  color: var(--ink);
  background: oklch(0.1 0.014 170 / 0.92);
  box-shadow: 0 18px 40px oklch(0.03 0 0 / 0.42);
  backdrop-filter: blur(16px);
}

.wechat-open-browser-tip strong {
  font-size: 15px;
  line-height: 1.25;
}

.wechat-open-browser-tip span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.wechat-tip-arrow {
  position: absolute;
  top: -9px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-top: 3px solid oklch(0.84 0.11 150);
  border-right: 3px solid oklch(0.84 0.11 150);
  transform: rotate(-45deg);
}

.wechat-tip-arrow::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -3px;
  width: 3px;
  height: 28px;
  border-radius: 999px;
  background: oklch(0.84 0.11 150);
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid oklch(0.78 0.12 150);
  outline-offset: 3px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--brand), var(--electric), var(--electric-blue));
  box-shadow: 0 0 16px oklch(0.74 0.14 185 / 0.65);
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid oklch(0.42 0.025 170 / 0.45);
  background: oklch(0.095 0.012 170 / 0.88);
  backdrop-filter: blur(14px);
  transition: height 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  height: 62px;
  border-color: oklch(0.66 0.08 180 / 0.55);
  background: oklch(0.075 0.014 174 / 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px oklch(0.82 0.08 170 / 0.38),
    0 0 18px oklch(0.68 0.12 185 / 0.22);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 15px;
}

.main-nav a,
.site-footer nav a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.site-footer nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-cta,
.button,
.plan-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid oklch(0.76 0.04 150 / 0.55);
  color: var(--ink);
  background: oklch(0.22 0.02 165 / 0.82);
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.nav-cta::before,
.button::before,
.plan-button::before {
  content: "";
  position: absolute;
  inset: -2px auto -2px -46%;
  width: 36%;
  background: linear-gradient(90deg, transparent, oklch(0.96 0.04 170 / 0.42), transparent);
  transform: skewX(-18deg);
  animation: buttonSheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

.nav-cta:hover,
.button:hover,
.plan-button:hover {
  transform: translateY(-1px);
  border-color: oklch(0.78 0.1 150);
  box-shadow: 0 0 18px oklch(0.68 0.12 185 / 0.16);
}

.button:active,
.plan-button:active,
.nav-cta:active {
  transform: translateY(1px);
}

.button.primary,
.plan-button.primary {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.button.secondary {
  background: oklch(0.09 0.01 170 / 0.52);
}

.login-cta {
  border-color: oklch(0.76 0.13 150 / 0.65);
  color: oklch(0.96 0.012 150);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.hero {
  position: relative;
  min-height: 94dvh;
  padding: 118px clamp(18px, 4vw, 48px) 52px;
  overflow: hidden;
}

.home-hero {
  position: relative;
  min-height: 96dvh;
  padding: 118px clamp(18px, 4vw, 48px) 64px;
  overflow: hidden;
}

.home-hero-inner {
  width: min(100%, 1280px);
  min-height: calc(96dvh - 182px);
  margin: 0 auto;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 34px;
}

.home-hero-copy {
  max-width: 880px;
  text-align: center;
}

.home-hero-copy h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(46px, 6vw, 78px);
}

.home-hero-copy h1 span {
  display: block;
}

.home-hero-copy .hero-lede {
  margin-left: auto;
  margin-right: auto;
}

.home-hero-copy .hero-actions {
  justify-content: center;
}

.home-terminal {
  width: min(100%, 980px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.11 0.012 170);
  overflow: hidden;
}

.home-terminal img {
  width: 100%;
}

.terminal-tabs {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

.terminal-tabs span {
  border-radius: 999px;
  padding: 7px 11px;
}

.terminal-tabs .active {
  color: white;
  background: var(--brand-dark);
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background-image: url("assets/hero-construction.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, oklch(0.07 0.012 170 / 0.94), oklch(0.08 0.012 170 / 0.76) 48%, oklch(0.08 0.014 170 / 0.5)),
    linear-gradient(180deg, oklch(0.07 0.01 170 / 0.45), var(--bg));
}

.tech-circuit,
.power-nodes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.tech-circuit {
  opacity: 0.72;
  mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 74%, transparent 100%);
}

.tech-circuit::before {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    linear-gradient(90deg, transparent 0 12%, oklch(0.75 0.12 185 / 0.18) 12% 12.2%, transparent 12.2% 100%),
    linear-gradient(0deg, transparent 0 18%, oklch(0.62 0.11 150 / 0.13) 18% 18.2%, transparent 18.2% 100%);
  background-size: 180px 180px, 180px 180px;
  transform: perspective(900px) rotateX(62deg) translateY(-12%);
}

.tech-circuit::after {
  content: "";
  position: absolute;
  left: -25%;
  right: -25%;
  top: 58%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--brand), transparent);
  box-shadow:
    0 -72px 0 oklch(0.76 0.14 185 / 0.2),
    0 96px 0 oklch(0.62 0.145 150 / 0.16);
  animation: signalFlow 7s linear infinite;
}

.tech-circuit span {
  position: absolute;
  width: min(28vw, 360px);
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.82 0.12 185 / 0.74), transparent);
  box-shadow: 0 0 18px oklch(0.78 0.13 185 / 0.38);
  animation: signalFlow 6.5s linear infinite;
}

.tech-circuit span:nth-child(1) {
  left: 6%;
  top: 28%;
}

.tech-circuit span:nth-child(2) {
  right: 8%;
  top: 36%;
  animation-delay: -2s;
}

.tech-circuit span:nth-child(3) {
  left: 16%;
  bottom: 24%;
  width: min(20vw, 260px);
  animation-delay: -3.8s;
}

.tech-circuit span:nth-child(4) {
  right: 16%;
  bottom: 18%;
  width: min(24vw, 320px);
  animation-delay: -5s;
}

.power-nodes span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow:
    0 0 0 7px oklch(0.76 0.14 185 / 0.1),
    0 0 22px oklch(0.76 0.14 185 / 0.72);
  animation: nodePulse 3.6s ease-in-out infinite;
}

.power-nodes span:nth-child(1) {
  left: 12%;
  top: 30%;
}

.power-nodes span:nth-child(2) {
  right: 17%;
  top: 24%;
  animation-delay: -1.2s;
}

.power-nodes span:nth-child(3) {
  left: 21%;
  bottom: 22%;
  animation-delay: -2.3s;
}

.power-nodes span:nth-child(4) {
  right: 9%;
  bottom: 31%;
  animation-delay: -2.9s;
}

.hero-inner,
.home-hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  width: min(100%, var(--max));
  min-height: calc(94dvh - 170px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy {
  max-width: 620px;
}

.hero-kicker {
  margin: 0 0 18px;
  color: oklch(0.85 0.08 150);
  font-size: 15px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 14ch;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(31px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 30rem;
  margin-top: 24px;
  color: oklch(0.86 0.015 155);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.system-metrics {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 8px;
  border: 1px solid oklch(0.68 0.09 185 / 0.35);
  border-radius: var(--radius);
  background: oklch(0.08 0.014 174 / 0.56);
  box-shadow: inset 0 0 28px oklch(0.7 0.12 185 / 0.08);
  overflow: hidden;
}

.system-metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, oklch(0.76 0.14 185 / 0.18), transparent);
  transform: translateX(-110%);
  animation: signalFlow 5.8s linear infinite;
}

.system-metrics span {
  position: relative;
  display: grid;
  gap: 2px;
  min-width: 108px;
  padding: 9px 12px;
  border: 1px solid oklch(0.5 0.05 180 / 0.42);
  border-radius: 6px;
  background: oklch(0.15 0.018 174 / 0.72);
}

.system-metrics b {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.system-metrics strong {
  color: oklch(0.9 0.11 176);
  font-size: 15px;
  line-height: 1.1;
}

.hero-product {
  position: relative;
  min-height: 520px;
}

.dashboard-preview,
.phone-preview {
  border: 1px solid oklch(0.55 0.035 165 / 0.7);
  box-shadow: var(--shadow);
}

.dashboard-preview {
  width: min(100%, 820px);
  border-radius: var(--radius);
}

.phone-preview {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: min(31%, 210px);
  border-radius: 20px;
}

.scan-frame {
  position: relative;
  isolation: isolate;
}

.scan-frame::before,
.scan-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 4;
}

.scan-frame::before {
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, oklch(0.82 0.13 185 / 0.18) 48%, transparent 56% 100%);
  transform: translateX(-115%);
  animation: techSweep 8.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.scan-frame::after {
  inset: 8px;
  border: 1px solid oklch(0.78 0.13 185 / 0.4);
  border-radius: calc(var(--radius) - 2px);
  box-shadow:
    inset 0 0 0 1px oklch(0.62 0.145 150 / 0.16),
    inset 0 0 32px oklch(0.7 0.13 185 / 0.1);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 36px), var(--max));
  margin: -26px auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: oklch(0.13 0.014 170 / 0.92);
}

.proof-strip::before,
.ticker-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, oklch(0.76 0.14 185 / 0.12), transparent);
  transform: translateX(-100%);
  animation: signalFlow 9s linear infinite;
  pointer-events: none;
}

.ticker-strip {
  width: min(calc(100% - 36px), 1180px);
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: oklch(0.13 0.014 170 / 0.95);
}

.ticker-strip article {
  padding: 18px 20px;
  border-left: 1px solid var(--line-soft);
}

.ticker-strip article:first-child {
  border-left: 0;
}

.ticker-strip span,
.ticker-strip strong,
.ticker-strip em {
  display: block;
}

.ticker-strip span,
.ticker-strip em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.ticker-strip strong {
  margin: 6px 0 4px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.proof-item {
  padding: 22px;
  border-left: 1px solid var(--line-soft);
}

.proof-item:first-child {
  border-left: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  font-size: 18px;
}

.proof-item span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 124px) 0;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-copy.compact {
  max-width: 720px;
  text-align: left;
}

.section-copy p,
.pricing-head p,
.demo-copy p,
.scenario-card p,
.scenario-photo p,
.capability-list p {
  color: var(--muted);
  text-wrap: pretty;
}

.section-copy p {
  margin-top: 16px;
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.module-stack {
  display: grid;
  gap: 12px;
}

.module-stack a {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.16 0.015 170);
  transition: transform 180ms ease, border-color 180ms ease;
}

.module-stack a:hover {
  transform: translateY(-2px);
  border-color: oklch(0.66 0.1 150);
}

.module-stack span {
  color: oklch(0.86 0.09 150);
  font-weight: 750;
}

.module-stack strong {
  color: var(--muted);
  font-weight: 500;
}

.market-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.market-card {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.16 0.015 170);
}

.market-card span {
  color: oklch(0.86 0.09 150);
  font-weight: 750;
}

.market-card p {
  color: var(--muted);
}

.market-card strong {
  color: white;
  font-size: 22px;
}

.bank-query-section {
  width: min(calc(100% - 36px), 1280px);
}

.bank-query-section .section-copy strong {
  color: oklch(0.9 0.105 150);
}

.bank-query-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 24px;
  align-items: start;
}

.bank-query-screen {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.13 0.014 170);
}

.bank-query-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: oklch(0.95 0.01 160);
}

.bank-query-screen figcaption {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid oklch(0.58 0.08 180 / 0.38);
  color: oklch(0.88 0.04 160);
  background: oklch(0.08 0.012 170 / 0.84);
  backdrop-filter: blur(10px);
}

.bank-query-points {
  display: grid;
  gap: 14px;
}

.bank-query-points article {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, oklch(0.18 0.02 172 / 0.9), oklch(0.13 0.014 170 / 0.96)),
    oklch(0.16 0.015 170);
}

.bank-query-points article::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.76 0.14 185 / 0.65), transparent);
}

.bank-query-points span {
  color: oklch(0.88 0.12 150);
  font-size: 34px;
  line-height: 1;
  font-weight: 850;
}

.bank-query-points p {
  color: var(--muted);
}

.field-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.field-visual {
  position: relative;
  min-height: 620px;
}

.home-pricing-cta {
  width: min(calc(100% - 36px), 1180px);
  margin: 0 auto 80px;
  padding: clamp(42px, 6vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(0.22 0.04 154 / 0.86), oklch(0.13 0.015 170)),
    url("assets/hero-construction.png") center / cover;
}

.large-screen {
  margin: 0;
}

.large-screen img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 14px;
  color: var(--subtle);
  font-size: 14px;
}

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-list article,
.scenario-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, oklch(0.18 0.02 172 / 0.86), oklch(0.13 0.014 170 / 0.94)),
    oklch(0.16 0.015 170);
}

.capability-list article {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.capability-list article::before,
.scenario-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.76 0.14 185 / 0.65), transparent);
}

.capability-list span {
  display: block;
  margin-bottom: 8px;
  color: oklch(0.86 0.09 150);
  font-weight: 750;
}

.mobile-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.mobile-visual {
  position: relative;
  min-height: 620px;
}

.phone-large {
  position: relative;
  z-index: 2;
  width: min(48%, 280px);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.field-photo {
  position: absolute;
  right: 0;
  top: 76px;
  width: 78%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mobile-points span {
  border-radius: 999px;
  padding: 9px 13px;
  color: oklch(0.91 0.06 150);
  background: oklch(0.24 0.044 152);
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.scenario-photo {
  position: relative;
  min-height: 440px;
  margin: 0;
  grid-row: span 2;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.scenario-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, oklch(0.06 0.01 170 / 0.88));
}

.scenario-photo div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.scenario-photo p,
.scenario-card p {
  margin-top: 10px;
}

.scenario-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
}

.pricing-section {
  width: min(calc(100% - 36px), 1480px);
}

.pricing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.pricing-head > div:first-child {
  max-width: 760px;
}

.pricing-head p {
  margin-top: 14px;
  font-size: 17px;
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(0.13 0.013 170);
  flex: 0 0 auto;
}

.billing-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.billing-toggle button.active {
  color: white;
  background: var(--brand-dark);
}

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

.pricing-grid .plan-card,
.market-card,
.module-stack a,
.capability-list article,
.scenario-card {
  animation: cardRise 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pricing-grid .plan-card:nth-child(2),
.market-card:nth-child(2),
.module-stack a:nth-child(2),
.capability-list article:nth-child(2),
.scenario-card:nth-child(2) {
  animation-delay: 90ms;
}

.pricing-grid .plan-card:nth-child(3),
.market-card:nth-child(3),
.module-stack a:nth-child(3),
.capability-list article:nth-child(3),
.scenario-card:nth-child(3) {
  animation-delay: 180ms;
}

.pricing-grid .plan-card:nth-child(4),
.module-stack a:nth-child(4),
.scenario-card:nth-child(4) {
  animation-delay: 270ms;
}

.pricing-grid .plan-card:nth-child(5) {
  animation-delay: 360ms;
}

.plan-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 24px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 90px;
  background:
    linear-gradient(90deg, transparent, oklch(0.78 0.13 185 / 0.16), transparent),
    radial-gradient(circle at 18% 0%, oklch(0.7 0.13 185 / 0.18), transparent 44%);
  transform: translateX(-40%);
  animation: signalFlow 8s linear infinite;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 0;
  border-radius: 6px;
  border: 1px solid oklch(0.6 0.09 185 / 0.18);
  pointer-events: none;
}

.plan-card > * {
  position: relative;
  z-index: 1;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.64 0.1 150);
  background: oklch(0.18 0.02 164);
}

.plan-card.featured {
  border-color: oklch(0.64 0.12 150);
  background: linear-gradient(180deg, oklch(0.21 0.038 154), oklch(0.16 0.016 170));
}

.plan-label {
  position: absolute;
  top: 24px;
  right: 24px;
  border-radius: 999px;
  padding: 6px 9px;
  color: oklch(0.18 0.02 150);
  background: oklch(0.86 0.1 150);
  font-size: 13px;
  font-weight: 750;
}

.plan-top p {
  min-height: 54px;
  margin-top: 9px;
  color: var(--muted);
}

.price {
  margin-top: 24px;
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.price-note {
  display: block;
  margin-top: 10px;
  color: var(--subtle);
}

.plan-button {
  margin-top: 24px;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plan-card li {
  display: flex;
  gap: 10px;
}

.plan-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.comparison-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px oklch(0.76 0.14 185 / 0.06);
}

.comparison-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.76 0.14 185 / 0.08), transparent 18%, transparent 82%, oklch(0.62 0.145 150 / 0.08));
  pointer-events: none;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: oklch(0.15 0.014 170);
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}

thead th {
  color: oklch(0.9 0.065 150);
  background: oklch(0.2 0.022 165);
}

tbody th {
  color: var(--ink);
  font-weight: 700;
}

tbody tr {
  background-image: linear-gradient(90deg, transparent, oklch(0.76 0.14 185 / 0.055), transparent);
  background-size: 240% 100%;
  animation: rowScan 12s linear infinite;
}

tbody tr:nth-child(2n) {
  animation-delay: -4s;
}

td {
  color: var(--muted);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.purchase-section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 58px);
  display: grid;
  scroll-margin-top: 92px;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: start;
  border: 1px solid oklch(0.58 0.07 170 / 0.55);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(0.19 0.035 164 / 0.92), oklch(0.1 0.012 172 / 0.95)),
    url("assets/substation-yard.png") center / cover;
  box-shadow: inset 0 0 0 1px oklch(0.76 0.14 185 / 0.08);
}

.purchase-section.is-open {
  animation: cardRise 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.purchase-page {
  position: relative;
  min-height: 100dvh;
  padding: 112px 0 58px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.purchase-page::before,
.purchase-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.purchase-page::before {
  background:
    linear-gradient(90deg, oklch(0.04 0.01 170 / 0.96), oklch(0.07 0.018 160 / 0.68), oklch(0.03 0.008 170 / 0.96)),
    url("assets/substation-yard.png") center / cover;
  transform: scale(1.03);
}

.purchase-page::after {
  background:
    radial-gradient(circle at 21% 26%, oklch(0.64 0.13 150 / 0.16), transparent 34%),
    linear-gradient(180deg, oklch(0.02 0.006 170 / 0.78), transparent 42%, oklch(0.02 0.006 170 / 0.82));
}

.purchase-page .purchase-section {
  position: relative;
  z-index: 1;
  margin-block: 0;
  min-height: min(680px, calc(100dvh - 170px));
}

.purchase-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.purchase-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 0;
  color: oklch(0.82 0.075 166);
  font-weight: 750;
  line-height: 1.2;
}

.purchase-back::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.78;
}

.purchase-copy p:not(.hero-kicker) {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.purchase-summary {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  width: min(100%, 620px);
  padding: 18px;
  border: 1px solid oklch(0.58 0.08 180 / 0.48);
  border-radius: var(--radius);
  background: oklch(0.09 0.012 170 / 0.72);
  text-align: left;
}

.purchase-choice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.purchase-current {
  display: grid;
  gap: 4px;
}

.purchase-summary span {
  color: var(--muted);
  font-size: 13px;
}

.purchase-summary strong {
  color: white;
  font-size: 22px;
}

.purchase-summary small {
  color: oklch(0.86 0.075 176);
  font-size: 15px;
  font-weight: 750;
}

.purchase-billing-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid oklch(0.54 0.055 170 / 0.62);
  border-radius: 999px;
  background: oklch(0.08 0.01 170 / 0.82);
}

.purchase-billing-toggle button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.purchase-billing-toggle button.active,
.purchase-billing-toggle button[aria-pressed="true"] {
  color: oklch(0.12 0.025 160);
  background: oklch(0.82 0.12 154);
}

.purchase-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.purchase-option {
  min-width: 0;
  min-height: 138px;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid oklch(0.52 0.06 174 / 0.6);
  border-radius: var(--radius);
  color: var(--ink);
  text-align: left;
  background: linear-gradient(180deg, oklch(0.15 0.016 170 / 0.94), oklch(0.08 0.01 170 / 0.9));
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.purchase-option:not(.is-active) {
  opacity: 0.48;
  border-color: oklch(0.4 0.035 170 / 0.58);
  background: oklch(0.055 0.008 170 / 0.72);
}

.purchase-option:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: oklch(0.75 0.1 158 / 0.82);
}

.purchase-option.is-active {
  opacity: 1;
  border-color: oklch(0.8 0.13 150 / 0.9);
  box-shadow: 0 0 0 1px oklch(0.78 0.12 150 / 0.2), 0 18px 38px oklch(0.04 0.01 170 / 0.34);
}

.purchase-option span {
  color: white;
  font-size: 18px;
  font-weight: 850;
}

.purchase-option small {
  color: oklch(0.82 0.085 168);
}

.purchase-option b {
  color: oklch(0.88 0.1 150);
  font-size: 22px;
  line-height: 1.12;
}

.purchase-option em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

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

.selected-action {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  color: oklch(0.88 0.1 150);
}

.purchase-summary em {
  grid-column: 1 / -1;
  align-self: center;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.purchase-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid oklch(0.45 0.03 165);
  border-radius: var(--radius);
  background: oklch(0.11 0.012 170 / 0.9);
}

.purchase-form label {
  display: grid;
  gap: 8px;
}

.purchase-form span {
  color: var(--ink);
  font-weight: 700;
}

.purchase-form input {
  min-height: 46px;
  width: 100%;
  border: 1px solid oklch(0.48 0.032 165);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--ink);
  background: oklch(0.16 0.014 170);
}

.purchase-form input::placeholder {
  color: oklch(0.68 0.016 158);
}

.password-row {
  position: relative;
  display: grid;
}

.password-row input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: var(--electric);
  background: oklch(0.22 0.025 170 / 0.58);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 10px;
}

.code-button {
  border: 1px solid oklch(0.76 0.04 150 / 0.55);
  border-radius: var(--radius);
  color: var(--ink);
  background: oklch(0.22 0.02 165 / 0.82);
  cursor: pointer;
}

.purchase-form .button {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  color: oklch(0.84 0.08 150);
  font-size: 13px;
}

.agreement-dialog {
  width: min(calc(100% - 32px), 760px);
  max-height: min(86dvh, 780px);
  padding: 0;
  border: 1px solid oklch(0.5 0.04 165);
  border-radius: var(--radius);
  color: var(--ink);
  background: oklch(0.105 0.012 170);
}

.agreement-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 18%, oklch(0.68 0.13 185 / 0.2), transparent 34%),
    oklch(0.03 0.006 170 / 0.74);
  backdrop-filter: blur(8px);
}

.agreement-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 30px);
  background:
    linear-gradient(180deg, oklch(0.17 0.02 172 / 0.94), oklch(0.1 0.012 170)),
    oklch(0.105 0.012 170);
}

.agreement-head {
  display: grid;
  gap: 8px;
}

.agreement-head h2 {
  font-size: clamp(25px, 4vw, 38px);
}

.agreement-head p:not(.hero-kicker) {
  color: var(--muted);
}

.agreement-body {
  display: grid;
  gap: 12px;
  max-height: min(48dvh, 390px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: oklch(0.79 0.018 158);
  background: oklch(0.075 0.01 170 / 0.82);
  overscroll-behavior: contain;
}

.agreement-body h3 {
  color: var(--ink);
  font-size: 16px;
}

.agreement-body p {
  font-size: 14px;
  line-height: 1.74;
}

.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: oklch(0.86 0.02 158);
  font-size: 14px;
}

.agreement-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.agreement-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.agreement-actions .button {
  min-width: 132px;
}

.agreement-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.demo-section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto 80px;
  padding: clamp(42px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 42px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(0.22 0.04 154 / 0.86), oklch(0.13 0.015 170)),
    url("assets/substation-yard.png") center / cover;
}

.demo-copy p {
  max-width: 620px;
  margin-top: 16px;
  font-size: 18px;
}

.demo-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid oklch(0.45 0.03 165);
  border-radius: var(--radius);
  background: oklch(0.11 0.012 170 / 0.88);
}

.demo-form label {
  display: grid;
  gap: 8px;
}

.demo-form span {
  color: var(--ink);
  font-weight: 700;
}

.demo-form input {
  min-height: 46px;
  width: 100%;
  border: 1px solid oklch(0.48 0.032 165);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--ink);
  background: oklch(0.16 0.014 170);
}

.demo-form input::placeholder {
  color: oklch(0.68 0.016 158);
}

.demo-form .button {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.site-footer {
  display: grid;
  gap: 26px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.footer-main p {
  max-width: 520px;
  margin-top: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-notes {
  display: grid;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: oklch(0.68 0.014 158);
  font-size: 12px;
  line-height: 1.78;
}

.legal-notes p {
  margin: 0;
  text-wrap: pretty;
}

.site-record {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: oklch(0.7 0.016 158);
  font-size: 13px;
}

.site-record a {
  color: oklch(0.84 0.09 150);
  font-weight: 700;
}

.home-hero-copy,
.hero-copy,
.home-terminal,
.hero-product,
.ticker-strip,
.proof-strip {
  animation: heroRise 840ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-terminal,
.hero-product {
  animation-delay: 120ms;
}

.ticker-strip,
.proof-strip {
  animation-delay: 240ms;
}

.js .reveal {
  opacity: 1;
  transform: translateY(0);
  animation: cardRise 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
  transition: filter 680ms cubic-bezier(0.16, 1, 0.3, 1), transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: no-preference) {
  .dashboard-preview {
    animation: float-dashboard 8s ease-in-out infinite;
  }

  .phone-preview {
    animation: float-phone 7s ease-in-out infinite;
  }
}

@keyframes float-dashboard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes heroRise {
  0% {
    transform: translateY(28px) scale(0.985);
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes cardRise {
  0% {
    transform: translateY(18px);
    opacity: 0.72;
    filter: blur(5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes rowScan {
  0% { background-position: 180% center; }
  100% { background-position: -180% center; }
}

@keyframes buttonSheen {
  0%, 38% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  48% { opacity: 0.9; }
  64%, 100% { transform: translateX(440%) skewX(-18deg); opacity: 0; }
}

@keyframes techSweep {
  0% { transform: translateX(-115%); opacity: 0; }
  16% { opacity: 1; }
  48% { opacity: 0.85; }
  72%, 100% { transform: translateX(115%); opacity: 0; }
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(0.82);
    opacity: 0.56;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes signalFlow {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }

  .hero-inner,
  .purchase-section,
  .product-showcase,
  .product-grid,
  .bank-query-layout,
  .field-section,
  .mobile-section,
  .demo-section {
    grid-template-columns: 1fr;
  }

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

  .home-pricing-cta {
    align-items: start;
    flex-direction: column;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-product {
    min-height: auto;
    padding-bottom: 44px;
  }

  .phone-preview {
    width: 170px;
  }

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

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

  .ticker-strip article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .ticker-strip article:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .proof-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .proof-item:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .pricing-head {
    align-items: start;
    flex-direction: column;
  }

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

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

  .scenario-photo {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
  }

  .nav-cta {
    display: none;
  }

  .header-actions .login-cta {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding: 96px 18px 46px;
  }

  .home-hero {
    min-height: auto;
    padding: 96px 18px 46px;
  }

  .home-hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(38px, 13vw, 58px);
  }

  .terminal-tabs {
    overflow-x: auto;
  }

  h1 {
    max-width: 9.5ch;
    font-size: clamp(38px, 13vw, 54px);
  }

  h2 {
    font-size: clamp(28px, 10vw, 38px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-product {
    margin-top: 30px;
    padding-bottom: 18px;
  }

  .phone-preview {
    right: 8px;
    bottom: 0;
    width: 112px;
    border-radius: 14px;
  }

  .proof-strip {
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .ticker-strip {
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .ticker-strip article,
  .ticker-strip article:nth-child(3),
  .ticker-strip article:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .ticker-strip article:first-child {
    border-top: 0;
  }

  .proof-item,
  .proof-item:nth-child(3),
  .proof-item:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .proof-item:first-child {
    border-top: 0;
  }

  .section {
    padding: 72px 0;
  }

  .product-grid,
  .product-showcase {
    gap: 18px;
  }

  .mobile-visual,
  .field-visual {
    min-height: 520px;
  }

  .phone-large {
    width: 180px;
    border-radius: 20px;
  }

  .field-photo {
    top: 64px;
    width: calc(100% - 92px);
    height: 330px;
  }

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

  .bank-query-screen figcaption {
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .scenario-photo {
    grid-column: auto;
    min-height: 360px;
  }

  .plan-card {
    min-height: auto;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    flex: 1;
  }

  .demo-section {
    padding: 28px;
    margin-bottom: 54px;
  }

  .purchase-page {
    min-height: auto;
    padding: 88px 0 34px;
    align-items: start;
  }

  .purchase-page .purchase-section {
    width: min(calc(100% - 24px), var(--max));
    min-height: auto;
    padding: 28px;
    gap: 24px;
  }

  .purchase-page .purchase-copy h1 {
    max-width: none;
    font-size: clamp(38px, 11vw, 52px);
  }

  .purchase-choice-head {
    flex-direction: column;
  }

  .purchase-billing-toggle {
    width: 100%;
  }

  .purchase-billing-toggle button {
    flex: 1;
  }

  .purchase-option-grid {
    grid-template-columns: 1fr;
  }

  .purchase-option {
    min-height: auto;
  }

  .code-row {
    grid-template-columns: 1fr;
  }

  .agreement-actions {
    flex-direction: column-reverse;
  }

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

  .home-pricing-cta {
    padding: 28px;
    margin-bottom: 54px;
  }

  .site-footer {
    gap: 22px;
  }

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