/* QuantDinger monochrome redesign. The original structure and interactions remain intact. */

:root {
  --bg: #f7f7f4;
  --bg-2: #efefeb;
  --surface: #ffffff;
  --surface-2: #f2f2ef;
  --border: #deded8;
  --border-2: #c6c6bf;
  --text: #111311;
  --text-2: #4d504b;
  --muted: #656862;
  --muted-2: #8b8e87;
  --brand: #111311;
  --brand-2: #111311;
  --brand-grad: #111311;
  --brand-grad-2: #111311;
  --up: #16803f;
  --down: #bd3a32;
  --warn: #a56516;
  --radius-sm: 3px;
  --radius: 5px;
  --radius-lg: 6px;
  --shadow-1: 0 12px 32px rgba(20, 22, 20, .06);
  --shadow-2: 0 24px 64px rgba(20, 22, 20, .09);
  --shadow-glow: none;
  --max: 1240px;
}

html {
  background: var(--bg);
  color-scheme: light;
}

body {
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  letter-spacing: -.008em;
}

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

::selection {
  color: #fff;
  background: #111311;
}

a:hover { color: #000; }

.aurora { display: none; }

main,
.footer { position: relative; z-index: 1; }

.container { padding-inline: 30px; }

.section {
  padding: 104px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

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

.section__head {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(320px, 1fr);
  align-items: end;
  gap: 42px;
  max-width: none;
  margin: 0 0 52px;
  text-align: left;
}

.section__head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.section__title {
  margin: 0;
  color: #111311;
  font-size: clamp(32px, 3.7vw, 50px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.038em;
}

.section__lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #383b37;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
}

.grad {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 244, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav.scrolled {
  background: rgba(247, 247, 244, .98);
  border-bottom-color: #cfcfc8;
}

.nav__inner { height: 74px; }

.brand { color: #111311; }

.brand__mark {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand__name { font-size: 16px; font-weight: 700; }

.nav__links {
  gap: clamp(15px, 1.45vw, 22px);
  color: #555851;
  font-size: 12px;
}

.nav__links a { padding: 9px 0; }

.nav__links a::after {
  bottom: 3px;
  height: 1px;
  background: #111311;
  border-radius: 0;
}

.nav__links a:hover { color: #000; }

.btn {
  min-height: 42px;
  border-radius: 3px;
  font-weight: 600;
  box-shadow: none;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .25s ease,
    transform .25s cubic-bezier(.2, .7, .2, 1);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }

.btn--primary,
.btn--app {
  color: #fff;
  background: #111311;
  border-color: #111311;
  box-shadow: none;
}

.btn--primary:hover,
.btn--app:hover {
  color: #fff;
  background: #2b2e2a;
  border-color: #2b2e2a;
  box-shadow: 0 12px 28px rgba(17, 19, 17, .14);
}

.btn--ghost {
  color: #111311;
  background: transparent;
  border-color: #a7a9a2;
}

.btn--ghost:hover {
  color: #000;
  background: #efefeb;
  border-color: #111311;
}

.btn--lg {
  padding: 14px 22px;
  border-radius: 3px;
}

.nav__app-badge {
  top: -6px;
  right: -7px;
  color: #fff;
  background: #111311;
  border: 1px solid #fff;
  border-radius: 2px;
  box-shadow: none;
  animation: none;
}

.lang__btn {
  color: #3f423d;
  background: transparent;
  border-color: #d2d2cc;
  border-radius: 3px;
}

.lang__menu {
  color: #111311;
  background: #fff;
  border-color: #d6d6d0;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(16, 18, 16, .12);
}

.lang__option:hover,
.lang__option.active { color: #000; background: #efefeb; }

.nav__burger {
  border-color: #bdbdb6;
  border-radius: 3px;
}

.nav__burger span { background: #111311; }

.drawer {
  color: #111311;
  background: #f7f7f4;
  border-color: #d8d8d2;
  backdrop-filter: none;
}

.drawer a { color: #111311; border-radius: 2px; }
.drawer a:hover { background: #ecece7; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 48px 0 40px;
  overflow: hidden;
  color: #f3f4ef;
  text-align: left;
  background: #111311;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: -64px;
  z-index: -2;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), transparent 88%);
  animation: qd-grid-drift 28s linear infinite;
}

.hero::after {
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.07), transparent 34%),
    linear-gradient(112deg, transparent 10%, rgba(255,255,255,.018) 45%, transparent 70%);
}

@keyframes qd-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(64px, 64px, 0); }
}

.hero > .container {
  display: grid;
  grid-template-columns: minmax(340px, .8fr) minmax(0, 1.48fr);
  grid-template-areas:
    "pill system"
    "title system"
    "sub system"
    "ctas system"
    "mobile mobile";
  column-gap: 62px;
  align-items: center;
}

.hero > .container,
.hero > .container > :not(.hero-market) {
  min-width: 0;
}

.hero > .container > :not(.hero-market) { position: relative; z-index: 1; }
.hero-market { display: none; }

.hero__pill {
  grid-area: pill;
  justify-self: start;
  margin: 0 0 28px;
  padding: 0;
  color: #aeb2aa;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: 600 10px/1.4 'JetBrains Mono', monospace;
  letter-spacing: .045em;
}

.hero__pill .dot {
  width: 6px;
  height: 6px;
  background: #62c681;
  box-shadow: none;
  animation: none;
}

.hero__title {
  grid-area: title;
  max-width: 500px;
  margin: 0 0 26px;
  color: #f4f5f0;
  font-size: clamp(42px, 4.25vw, 58px);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -.045em;
}

[lang="en-US"] .hero__title {
  max-width: 520px;
  font-size: clamp(38px, 3.8vw, 54px);
}

[lang="zh-CN"] .hero__title,
[lang="zh-TW"] .hero__title {
  font-size: clamp(42px, 3.85vw, 54px);
}

.hero__sub {
  grid-area: sub;
  max-width: 470px;
  margin: 0 0 32px;
  color: #aeb2aa;
  font-size: 15px;
  line-height: 1.78;
}

.hero__ctas {
  grid-area: ctas;
  justify-content: flex-start;
  margin: 0;
}

.hero .btn--primary {
  color: #111311;
  background: #f4f5f0;
  border-color: #f4f5f0;
}

.hero .btn--primary:hover { color: #111311; background: #fff; border-color: #fff; }
.hero .btn--ghost { color: #f0f1ec; border-color: #686c65; }
.hero .btn--ghost:hover { color: #fff; background: #242724; border-color: #9a9e95; }

.hero__system {
  grid-area: system;
  align-self: start;
  width: 100%;
  max-width: none;
  margin: 0;
  perspective: 1400px;
}

.hero__system::before,
.os-console::after,
.os-console__glow { display: none; }

.hero__system .os-console { display: none; }

.hero-product {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 30%;
  position: relative;
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 88px;
  height: 506px;
  overflow: hidden;
  background: #090b09;
  border: 1px solid #424640;
  border-radius: 7px;
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  transform: perspective(1400px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .35s ease;
  will-change: transform;
}

.hero-product::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.hero-product::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255,255,255,.13), transparent 34%);
  transition: opacity .35s ease;
}

.hero-product:hover {
  border-color: #5b6058;
  box-shadow: 0 34px 100px rgba(0,0,0,.42);
}

.hero-product:hover::after { opacity: .7; }

.hero-product__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  color: #8f948d;
  background: #171a17;
  border-bottom: 1px solid #30342f;
  font: 600 8px/1 'JetBrains Mono', monospace;
  letter-spacing: .1em;
}

.hero-product__dots { display: flex; gap: 5px; }
.hero-product__dots i { width: 6px; height: 6px; background: #555a53; border-radius: 50%; }
.hero-product__dots i:first-child { background: #d9dbd5; }
.hero-product__status { display: inline-flex; align-items: center; gap: 7px; }
.hero-product__status i { width: 5px; height: 5px; background: #62c681; border-radius: 50%; }

.hero-product__viewport {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #070907;
}

.hero-product__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #080a08;
  opacity: 0;
  transform: translateY(5px) scale(.992);
  transition:
    opacity .42s ease,
    transform .52s cubic-bezier(.2, .7, .2, 1);
}

.hero-product__frame[hidden] { display: none; }
.hero-product__frame.is-active { opacity: 1; transform: none; }

.hero-product__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: saturate(.9) contrast(1.03);
  transition: transform .45s ease, filter .45s ease;
}

.hero-product__frame:hover img {
  transform: scale(1.012);
  filter: saturate(.96) contrast(1.04);
}

.hero-product__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #141714;
  border-top: 1px solid #30342f;
}

.hero-product__nav button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 16px;
  color: #82877f;
  background: transparent;
  border: 0;
  border-right: 1px solid #30342f;
  border-bottom: 1px solid #30342f;
  cursor: pointer;
  text-align: left;
  transition: color .2s ease, background-color .24s ease;
}

.hero-product__nav button:nth-child(3n) { border-right: 0; }
.hero-product__nav button:nth-child(n + 4) { border-bottom: 0; }
.hero-product__nav button:hover { color: #dfe1db; background: #1d201d; }
.hero-product__nav button.is-active { color: #111311; background: #f0f1ec; }
.hero-product__nav span { font: 600 8px/1 'JetBrains Mono', monospace; }
.hero-product__nav b { overflow: hidden; font: 600 9px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }

.os-console {
  color: #e9eae6;
  background: #151715;
  background-image: none;
  border: 1px solid #242724;
  border-radius: 5px;
  box-shadow: 0 26px 80px rgba(20, 22, 20, .13);
  transform: none;
}

.os-console__bar {
  min-height: 54px;
  background: #101210;
  border-bottom-color: #30332f;
}

.os-console__identity b,
.os-console__meta span { color: #8f948d; }

.os-console__meta span,
.os-console__meta strong,
.os-console__health {
  border-color: #393d38;
  border-radius: 3px;
}

.os-console__meta strong {
  color: #d8dad5;
  background: #1d201d;
}

.os-console__health {
  color: #9dd3aa;
  background: #172019;
}

.os-console__health i,
.os-panel__dot { box-shadow: none; animation: none; }

.os-flow__rail { background: #373a36; }
.os-flow__rail span { display: none; }

.os-flow__step i {
  color: #8b9089;
  background: #151715;
  border-color: #4b4f49;
  box-shadow: none;
}

.os-flow__step span { color: #d9dbd6; }
.os-flow__step small { color: #767b75; }

.os-flow__step.is-active i {
  color: #111311;
  background: #f4f4ef;
  border-color: #f4f4ef;
  box-shadow: none;
}

.os-flow__step.is-active span { color: #fff; }
.os-flow__step.is-active small { color: #aeb2ac; }

.os-console__focus {
  border-color: #343733;
  background: #101210;
}

.os-console__focus-label { color: #8c918a; }
.os-console__focus-text strong { color: #eceee9; }
.os-console__focus-text small { color: #858a83; }

.os-panel {
  background: #111311;
  border-color: #30332f;
  border-radius: 3px;
  box-shadow: none;
}

.os-panel__head { border-bottom-color: #30332f; }
.os-panel__head span { color: #b8bbb5; }
.os-panel__head b { color: #a6aaa3; }

.os-agent__prompt {
  color: #d8dad5;
  background: #1b1e1b;
  border-color: #343733;
  border-radius: 2px;
}

.os-agent__trace p { color: #9a9f98; }
.os-agent__trace p span { color: #e2e4df; }
.os-code { color: #cfd2cc; }
.os-code .kw { color: #e6b86d; }
.os-code .fn { color: #b9d3ff; }
.os-code .str { color: #8ed0a1; }
.os-code .num { color: #e9a39e; }

.os-runtime__ring {
  background: #161816;
  border-color: #4c504a;
  box-shadow: none;
}

.os-runtime__ring::before { display: none; }
.os-runtime__ring span { color: #f1f2ed; }
.os-runtime__ring small { color: #888d86; }

.os-runtime__node,
.os-guard {
  color: #969b94;
  background: #171917;
  border-color: #353834;
  border-radius: 2px;
}

.os-guard b { color: #a9cdb2; }
.os-console__bus { background: #0c0e0c; border-color: #2e312d; }

.hero__mobile {
  grid-area: mobile;
  width: 100%;
  max-width: none;
  margin: 42px 0 0;
  padding: 15px 18px;
  color: #f0f1ec;
  background: #171a17;
  border: 1px solid #393d38;
  border-radius: 3px;
  box-shadow: none;
  backdrop-filter: none;
}

.hero__mobile::before { display: none; }
.hero__mobile-icon { color: #f0f1ec; background: #222522; border-color: #4b5048; border-radius: 3px; }
.hero__mobile-text strong { color: #f0f1ec; }
.hero__mobile-text span { color: #8f948d; }

/* Evidence strip */
.stats {
  margin-top: 0;
  background: #fff;
  border-top: 1px solid #d9d9d3;
  border-bottom: 1px solid #d9d9d3;
}

.stats__grid {
  gap: 0;
  padding-block: 0;
  border: 0;
  background: transparent;
}

.stats__item {
  min-height: 126px;
  padding: 28px 24px;
  text-align: left;
  border-right: 1px solid #deded8;
}

.stats__item:last-child { border-right: 0; }

.stats__val {
  color: #111311;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 650;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.stats__label { color: #686b65; font-size: 12px; }

/* Compact ruled modules */
#features { background: #efefeb; }

.cards,
.personas,
.usecases,
.markets {
  gap: 0;
  border-top: 1px solid #bfc0b9;
  border-bottom: 1px solid #bfc0b9;
}

#features .cards,
.personas,
.usecases { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.persona,
.usecase,
.market {
  min-width: 0;
  min-height: 190px;
  padding: 26px 24px;
  color: #111311;
  background: transparent;
  border: 0;
  border-right: 1px solid #c9cac3;
  border-bottom: 1px solid #c9cac3;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.card:hover,
.persona:hover,
.usecase:hover,
.market:hover {
  color: #111311;
  background: rgba(255,255,255,.5);
  border-color: #b9bbb3;
  box-shadow: inset 0 1px 0 rgba(17, 19, 17, .34);
  transform: none;
}

#features .card:nth-child(3n),
.persona:nth-child(3n),
.usecase:nth-child(3n) { border-right: 0; }

#features .card:nth-last-child(-n+3),
.persona:nth-last-child(-n+3),
.usecase:nth-last-child(-n+3) { border-bottom: 0; }

.card__icon,
.persona__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: #111311;
  background: transparent;
  border: 1px solid #989b93;
  border-radius: 3px;
  box-shadow: none;
}

.card h3,
.persona h3,
.usecase h3,
.market b {
  color: #111311;
  font-size: 16px;
  line-height: 1.35;
}

.card p,
.persona p,
.usecase p,
.market small { color: #666962; font-size: 13px; line-height: 1.62; }

.usecase__num {
  margin-bottom: 32px;
  color: #777b74;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

#audience { background: #fff; }
#usecases { background: #f7f7f4; }

/* Agent / MCP */
#agents {
  color: #ededE9;
  background: #111311;
  border-top-color: #111311;
}

#agents .section__title,
#agents .card h3,
#agents .agents-strip__item strong { color: #f3f3ef; }

#agents .section__lead,
#agents .card p,
#agents .agents-strip__item span:not(.agents-strip__ico) { color: #a2a69e; }

#agents .eyebrow { color: #b7bbb2; }

#agents .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: #3c3f3b;
}

#agents .card {
  min-height: 270px;
  background: transparent;
  border-color: #3c3f3b;
}

#agents .card:last-child { border-right: 0; }

#agents .card__icon {
  color: #f0f1ec;
  border-color: #5d625a;
}

.badge-new {
  color: #111311;
  background: #f0f1ec;
  border-radius: 2px;
}

.code-snippet {
  color: #e3e5df;
  background: #080a08;
  border-color: #393c38;
  border-radius: 2px;
}

.scope-pill {
  color: #e6e8e2;
  background: transparent;
  border-color: #62675e;
  border-radius: 2px;
}

.scope-pill--guarded { color: #f1c3be; border-color: #8e5c57; }

.agents-strip {
  padding: 0;
  background: transparent;
  border: 1px solid #414440;
  border-radius: 3px;
}

.agents-strip__item {
  padding: 22px;
  border-right: 1px solid #414440;
}

.agents-strip__item:last-child { border-right: 0; }

.agents-strip__ico {
  color: #ededE9;
  background: transparent;
  border-color: #5b6058;
  border-radius: 3px;
}

#agents .btn--primary { color: #111311; background: #f1f2ed; border-color: #f1f2ed; }
#agents .btn--primary:hover { color: #111311; background: #fff; }
#agents .btn--ghost { color: #f1f2ed; border-color: #6a6f66; }
#agents .btn--ghost:hover { color: #fff; background: #222522; }
#agents .agents-cta__plugin { color: #111311; background: #f1f2ed; border-color: #f1f2ed; }
#agents .agents-cta__plugin:hover { color: #111311; background: #fff; border-color: #fff; }

/* Market coverage */
#markets { background: #fff; }

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

.market {
  min-height: 128px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 14px;
  padding: 24px 20px;
}

.market:nth-child(4n) { border-right: 0; }
.market:nth-last-child(-n+4) { border-bottom: 0; }

.market__sym {
  width: 32px;
  height: 32px;
  color: #111311;
  background: #f0f0ec;
  border: 1px solid #d3d3cd;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
}

/* Mobile */
#mobile {
  overflow: hidden;
  color: #111311;
  background: #efefeb;
}

.mobile-sec::before { display: none; }

.mobile-hub {
  grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
  gap: 56px;
  align-items: center;
}

.mobile-hub__phone {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 650px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mobile-hub__phone > .phone { display: none; }

.mobile-shot-deck {
  position: absolute;
  inset: 0;
}

.mobile-shot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(190px, 18vw, 238px);
  aspect-ratio: 590 / 1278;
  margin: 0;
  overflow: hidden;
  border: 6px solid #111311;
  border-radius: 31px;
  background: #0c0d0c;
  box-shadow: 0 30px 60px rgba(20, 22, 20, .18);
  transform-origin: 50% 55%;
}

.mobile-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-shot--left {
  z-index: 1;
  opacity: .78;
  transform: translate(-94%, -48%) rotate(-5deg) scale(.91);
}

.mobile-shot--center {
  z-index: 3;
  transform: translate(-50%, -50%);
}

.mobile-shot--right {
  z-index: 2;
  opacity: .88;
  transform: translate(-6%, -48%) rotate(5deg) scale(.91);
}

.mobile-hub__panel {
  gap: 0;
  border-top: 1px solid #bebfb8;
  border-bottom: 1px solid #bebfb8;
}

.mobile-card {
  padding: 24px 0;
  color: #111311;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #bebfb8;
  border-radius: 0;
  box-shadow: none;
}

.mobile-card:last-child { border-bottom: 0; }
.mobile-card:hover { background: transparent; border-color: #a8aaa2; transform: none; }
.mobile-card__top h3 { color: #111311; }
.mobile-card__top p,
.mobile-card__note { color: #656861; }

.mobile-card__icon {
  color: #111311;
  background: #fff;
  border-color: #c8c9c2;
  border-radius: 3px;
}

.mobile-card__icon--green,
.mobile-card__icon--mute { color: #111311; background: #fff; border-color: #c8c9c2; }

.mobile-card__qr {
  background: #fff;
  border-color: #bdbeb7;
  border-radius: 3px;
}

.mobile-card__url {
  color: #4e514c;
  background: #f7f7f4;
  border-color: #d2d3cc;
  border-radius: 2px;
}

.mobile-card__soon {
  color: #6d706a;
  background: #e4e4df;
  border-color: #c9cac3;
  border-radius: 2px;
}

/* Workflow */
#workflow { background: #fff; }

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #bfc0b9;
  border-bottom: 1px solid #bfc0b9;
}

.step {
  min-height: 210px;
  padding: 26px 24px;
  border-right: 1px solid #c9cac3;
}

.step:last-child { border-right: 0; }

.step:not(:last-child)::after {
  top: 34px;
  right: -6px;
  width: auto;
  color: #111311;
  background: #fff;
  box-shadow: 0 0 0 8px #fff;
}

.step__num {
  width: auto;
  height: auto;
  margin-bottom: 38px;
  color: #6f736c;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.step h3 { color: #111311; }
.step p { color: #656861; }

/* Architecture */
#architecture {
  color: #eceee9;
  background: #111311;
  border-top-color: #111311;
}

#architecture .section__title { color: #f2f3ee; }
#architecture .section__lead { color: #a5a9a1; }
#architecture .eyebrow { color: #b8bcb3; }
#architecture .section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto 56px;
  text-align: center;
}
#architecture .section__head .eyebrow {
  margin: 0 0 24px;
}
#architecture .section__title {
  max-width: 1120px;
  font-size: clamp(42px, 5.35vw, 76px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.052em;
  text-wrap: balance;
}
#architecture .section__lead {
  max-width: 900px;
  margin-top: 28px;
  font-size: 16.5px;
  line-height: 1.8;
  text-align: center;
  text-wrap: pretty;
}
#architecture .arch__proofs {
  width: 100%;
  margin-top: 28px;
}
.arch__proofs span {
  color: #d9dcd5;
  background: #171a17;
  border-color: #454943;
  border-radius: 2px;
}

@media (max-width: 700px) {
  #architecture .section__head {
    align-items: flex-start;
    margin-bottom: 38px;
    text-align: left;
  }
  #architecture .section__title {
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1.05;
    text-align: left;
  }
  #architecture .section__lead {
    margin-top: 22px;
    font-size: 15px;
    text-align: left;
  }
  #architecture .arch__proofs {
    justify-content: flex-start;
    margin-top: 22px;
  }
}

.arch {
  background: #151715;
  border: 1px solid #3a3d39;
  border-radius: 4px;
  box-shadow: none;
}

.arch__layer {
  background: transparent;
  border-color: #3b3e3a;
  border-radius: 3px;
}

.arch__label { border-color: #3b3e3a; }
.arch__pill { color: #111311; background: #f0f1ec; border-radius: 2px; }
.arch__desc { color: #939890; }

.arch__chip,
.arch__chip--new {
  color: #d7dad3 !important;
  background: #1a1d1a !important;
  border-color: #4a4e47 !important;
  border-radius: 2px;
}

.arch__service,
.arch__service--new {
  color: #e5e7e1;
  background: #1b1e1b;
  border-color: #4a4e47;
  border-radius: 3px;
}

.arch__service b { color: #ededE8; }
.arch__service small { color: #91968e; }
.arch__service-ico { color: #ededE8; background: transparent; border-color: #5a5e57; }
.arch__runtime-flow { background: #121412; border-color: #3b3e3a; border-radius: 3px; }
.arch__runtime-flow span { color: #d7dad3; background: #1a1d1a; border-color: #4a4e47; border-radius: 2px; }
.arch__runtime-flow i { color: #9ca198; }
.arch__frame-label { color: #91958e; border-color: #3b3e3a; background: #0f110f; }
.arch__link span { background: #5a5e57; box-shadow: none; }

.stack {
  gap: 0;
  background: transparent;
  border: 1px solid #3d403c;
  border-radius: 3px;
}

.stack__item { padding: 20px; border-right: 1px solid #3d403c; }
.stack__item:last-child { border-right: 0; }
.stack__label { color: #aeb2aa; }
.stack__value { color: #e0e2dc; }

/* AI provider matrix */
#ai-stack { background: #f7f7f4; }

#ai-stack .container {
  display: grid;
  grid-template-columns: minmax(310px, .78fr) minmax(0, 1.22fr);
  padding-block: 0;
}

#ai-stack .section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0;
  min-height: 368px;
  margin: 0;
  padding: 42px;
  color: #f3f4ef;
  background: #111311;
}

#ai-stack .section__head .eyebrow {
  margin: 0 auto auto 0;
  color: #aeb2aa;
}

#ai-stack .section__title {
  max-width: 460px;
  color: #f4f5f0;
  font-size: clamp(34px, 3.2vw, 48px);
}

#ai-stack .section__lead {
  max-width: 500px;
  margin-top: 24px;
  color: #aeb2aa;
  font-size: 14px;
}

#ai-stack .logos {
  counter-reset: provider;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: stretch;
  gap: 0;
  min-width: 0;
  border: 1px solid #bfc0b9;
  border-left: 0;
  background: #fff;
}

#ai-stack .logo-chip {
  counter-increment: provider;
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 122px;
  padding: 20px;
  color: #111311;
  background: #fff;
  border: 0;
  border-right: 1px solid #d0d1ca;
  border-bottom: 1px solid #d0d1ca;
  border-radius: 0;
  box-shadow: none;
  font-weight: 620;
  letter-spacing: -.02em;
}

#ai-stack .logo-chip::before {
  content: counter(provider, decimal-leading-zero);
  color: #7b7e77;
  font: 600 9px/1 'JetBrains Mono', monospace;
  letter-spacing: .1em;
}

#ai-stack .logo-chip:nth-child(3n) { border-right: 0; }
#ai-stack .logo-chip:nth-last-child(-n+3) { border-bottom: 0; }
#ai-stack .logo-chip:first-child { color: #f4f5f0; background: #292c28; }
#ai-stack .logo-chip:first-child::before { color: #bfc3ba; }
#ai-stack .logo-chip:last-child { background: #efefeb; }
#ai-stack .logo-chip:hover { color: #000; background: #ecece7; border-color: #d0d1ca; transform: none; }
#ai-stack .logo-chip:first-child:hover { color: #fff; background: #20221f; }

/* FAQ */
#faq { background: #efefeb; }

.about {
  color: #111311;
  background: #f7f7f4;
  border-top: 1px solid #d7d8d2;
  border-bottom: 1px solid #d7d8d2;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  overflow: hidden;
  border: 1px solid #c9cac3;
  border-radius: 6px;
}

.about__company { padding: clamp(38px, 5vw, 72px); }

.about__lockup {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin: 32px 0 44px;
}

.about__logo {
  width: 280px;
  height: 118px;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 1px solid #cbccc5;
}

.about__maker {
  color: #6b6f67;
  font: 500 11px/1.3 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about__title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.about__body {
  max-width: 720px;
  margin: 30px 0 0;
  color: #555a52;
  font-size: 17px;
  line-height: 1.75;
}

.about__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid #d0d1ca;
  border-bottom: 1px solid #d0d1ca;
}

.about__principles span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 16px;
  border-right: 1px solid #d0d1ca;
  font: 600 10px/1.45 'JetBrains Mono', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.about__principles span:last-child { border-right: 0; }

.about__join {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(38px, 5vw, 72px);
  color: #f3f4ef;
  background: #111311;
  border-left: 1px solid #111311;
}
.about__join .eyebrow { color: #aeb2aa; }
.about__join h3 {
  max-width: 520px;
  margin: 90px 0 24px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -.05em;
}
.about__join p {
  max-width: 520px;
  margin: 0 0 48px;
  color: #b9bdb5;
  font-size: 16px;
  line-height: 1.7;
}

[lang="en-US"] .about__title {
  max-width: 620px;
  font-size: clamp(38px, 4.15vw, 60px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

[lang="en-US"] .about__join h3 {
  font-size: clamp(36px, 3.45vw, 52px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.about__email {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 16px;
  padding: 20px 22px;
  color: #111311;
  background: #f3f4ef;
  border: 1px solid #f3f4ef;
}
.about__email span { font-size: 13px; font-weight: 700; }
.about__email strong { overflow-wrap: anywhere; font: 500 11px/1.4 'JetBrains Mono', monospace; }
.about__email svg { grid-column: 2; grid-row: 1 / span 2; }
.about__email:hover { color: #f3f4ef; background: transparent; }

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  max-width: none;
  border-top: 1px solid #bfc0b9;
}

.faq__item,
.faq__item[open] {
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c9cac3;
  border-radius: 0;
  box-shadow: none;
}

.faq__item summary {
  padding: 20px 38px 20px 0;
  color: #111311;
  font-size: 15px;
}

.faq__item summary::after { color: #111311; }
.faq__item p { padding: 0 22px 22px 0; color: #5e615b; }
.faq__item code { color: #111311; background: #fff; border-color: #d0d1ca; }

/* Commercial license */
#license { overflow: visible; background: #fff; }
#license::before { display: none; }
#license .section__head { max-width: none; margin-bottom: 52px; }
#license .section__title { font-size: clamp(32px, 3.7vw, 50px); }

.license-grid { gap: 1px; padding: 1px; background: #bdbeb7; }

.license-offer,
.license-form {
  color: #111311;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.license-offer { padding: 32px; }
.license-offer::before { display: none; }
.license-offer__topline { margin-bottom: 28px; }
.license-offer__step,
.license-form__step { color: #696c66; }

.license-offer__badge {
  color: #111311;
  background: #f0f0ec;
  border-color: #c9cac3;
  border-radius: 2px;
}

.license-offer__badge i { background: #111311; box-shadow: none; animation: none; }
.license-offer__price { border-bottom-color: #c9cac3; }
.license-offer__currency { color: #111311; }
.license-offer__price > strong { color: #111311; text-shadow: none; }
.license-offer__price > small { color: #111311; }
.license-offer__price > div b { color: #111311; }
.license-offer__price > div span { color: #5d605a; }
.license-offer__bundle { color: #3e413c; }

.license-offer__benefit {
  color: #111311;
  background: #f7f7f4;
  border-color: #d5d5cf;
  border-radius: 3px;
}

.license-offer__benefit-icon,
.license-offer__benefit-icon--vip {
  color: #111311;
  background: #fff;
  border-color: #bfc0b9;
  border-radius: 3px;
}

.license-offer__benefit strong { color: #111311; }
.license-offer__benefit div span { color: #646760; }

.license-offer__includes {
  background: #f7f7f4;
  border-color: #d2d3cc;
  border-radius: 3px;
}

.license-offer__includes > span { color: #51544f; }
.license-scenarios li { background: #fff; border-color: #d9dad3; border-radius: 2px; }
.license-scenarios li::before { color: #111311; }
.license-scenarios strong { color: #111311; }
.license-scenarios span { color: #666962; }

.license-offer__cta {
  color: #fff;
  background: #111311;
  border-color: #111311;
  box-shadow: none;
}

.license-offer__cta:hover { color: #fff; background: #2a2d29; box-shadow: none; }
.license-offer__cta-sub,
.license-grid__note { color: #747770; }
.license-offer__jump { color: #111311; }
.license-offer__jump:hover { color: #000; text-decoration: underline; }

.license-form { padding: 32px; }
.license-form__intro { border-bottom-color: #d1d2cb; }
.license-form__intro h3 { color: #111311; }
.license-form__intro p { color: #666962; }
.license-form__step { color: #111311; }
.license-form__field { color: #373934; }

.license-form__field--member {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.license-form__field--member > span { color: #111311; }

.license-form__field input,
.license-form__field textarea,
.license-form__field select,
.license-form__field--member input {
  color: #111311;
  background: #fff;
  border-color: #bfc0b9;
  border-radius: 2px;
}

.license-form__field input:focus,
.license-form__field select:focus,
.license-form__field textarea:focus {
  border-color: #111311;
  box-shadow: 0 0 0 2px rgba(17,19,17,.08);
}

.license-form__field select option { color: #111311; background: #fff; }
.license-form__status { color: #111311; background: #efefeb; border-color: #c9cac3; }

/* Legal */
#legal { background: #efefeb; }
#legal .section__title,
#legal .section__lead,
#legal .eyebrow { text-align: left; }
#legal .eyebrow { display: inline-block; }

.legal__alert {
  grid-template-columns: 48px 1fr;
  max-width: none;
  margin-top: 40px;
  padding: 24px;
  color: #111311;
  background: #fff;
  border: 1px solid #a8aaa2;
  border-radius: 3px;
  box-shadow: none;
}

.legal__alert::before { display: none; }
.legal__alert-icon { color: #111311; background: #f0f0ec; border-color: #bfc0b9; border-radius: 3px; box-shadow: none; }
.legal__alert-body h3 { color: #111311; }
.legal__alert-body p { color: #5f625c; }
.legal__alert-body p strong { color: #111311; }
.legal__alert-body code { color: #111311; background: #efefeb; border-color: #d4d5ce; }

.legal__official { background: #f7f7f4; border-color: #d0d1ca; border-radius: 3px; }
.legal__official strong { color: #454842; }
.legal__official a {
  color: #111311;
  background: #fff;
  border-color: #c6c7c0;
  border-radius: 2px;
}
.legal__official a:hover { color: #000; background: #ecece7; border-color: #111311; transform: none; }

.legal__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  border-top: 1px solid #bfc0b9;
  border-left: 1px solid #bfc0b9;
}

.legal__card {
  padding: 24px;
  color: #111311;
  background: transparent;
  border: 0;
  border-right: 1px solid #bfc0b9;
  border-bottom: 1px solid #bfc0b9;
  border-radius: 0;
}

.legal__card:hover { background: rgba(255,255,255,.5); border-color: #bfc0b9; transform: none; }
.legal__card h3 { color: #111311; }
.legal__card p { color: #61645e; }
.legal__card code { color: #111311; background: #fff; border-color: #d4d5ce; }

/* Closing CTA and footer */
.cta {
  color: #f2f3ee;
  background: #111311;
  border-top: 1px solid #111311;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  padding-top: 62px;
  padding-bottom: 62px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cta__inner::before { display: none; }
.cta h2 { color: #f4f5f0; font-size: clamp(34px, 4vw, 54px); font-weight: 600; }
.cta p { color: #aeb2aa; }
.cta .hero__ctas { justify-content: center; }
.cta .btn--primary { color: #111311; background: #f1f2ed; border-color: #f1f2ed; }
.cta .btn--primary:hover { color: #111311; background: #fff; }
.cta .btn--ghost { color: #f1f2ed; border-color: #686d64; }
.cta .btn--ghost:hover { color: #fff; background: #232623; }

.footer {
  color: #111311;
  background: #f7f7f4;
  border-top: 1px solid #d2d2cc;
}

.footer__tag,
.footer__cols a,
.footer__bottom { color: #666962; }
.footer__cols h4 { color: #111311; }
.footer__cols a:hover { color: #000; }
.footer__bottom { border-top-color: #d2d2cc; }

/* Modal */
.modal { background: rgba(15, 17, 15, .72); backdrop-filter: blur(6px); }
.modal__dialog { color: #111311; background: #fff; border-color: #c5c6bf; border-radius: 4px; box-shadow: 0 30px 90px rgba(0,0,0,.24); }
.modal__close { color: #111311; background: #f0f0ec; border-color: #d0d1ca; border-radius: 2px; }
.modal__sub { color: #676a64; }

/* Monochrome interaction states */
.card::before,
.usecase::before { display: none !important; }

.card:hover,
.persona:hover,
.usecase:hover,
.market:hover { background: rgba(255,255,255,.62); }

.lang__menu li:hover,
.lang__menu li.active { color: #111311; background: #efefeb; }

.faq__item code { color: #111311; background: #fff; }

/* Focus and motion */
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid #111311;
  outline-offset: 3px;
}

.reveal {
  transform: translateY(12px);
  transition-duration: .55s;
  transition-timing-function: cubic-bezier(.2, .7, .2, 1);
}

.hero__pill.reveal { transition-delay: .03s; }
.hero__title.reveal { transition-delay: .07s; }
.hero__sub.reveal { transition-delay: .11s; }
.hero__ctas.reveal { transition-delay: .15s; }
.hero__system.reveal { transition-delay: .12s; }
.hero__mobile.reveal { transition-delay: .19s; }

:where(.cards, .personas, .usecases, .markets, .steps) > .reveal:nth-child(2) { transition-delay: .035s; }
:where(.cards, .personas, .usecases, .markets, .steps) > .reveal:nth-child(3) { transition-delay: .07s; }
:where(.cards, .personas, .usecases, .markets, .steps) > .reveal:nth-child(4) { transition-delay: .105s; }
:where(.cards, .personas, .usecases, .markets, .steps) > .reveal:nth-child(5) { transition-delay: .14s; }
:where(.cards, .personas, .usecases, .markets, .steps) > .reveal:nth-child(6) { transition-delay: .175s; }

@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
  .hero::before { animation: none; }
  .hero-product { transform: none; will-change: auto; }
  .hero-product::after { display: none; }
}

@media (max-width: 1180px) {
  .hero > .container {
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.3fr);
    column-gap: 34px;
  }

  .hero__title { font-size: clamp(40px, 4.8vw, 58px); }
  .os-console__main { grid-template-columns: 1fr 1fr; }
  .os-panel--runtime { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .section__head { grid-template-columns: 1fr; gap: 18px; }
  .section__head .eyebrow { margin-bottom: 0; }

  .hero > .container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "pill" "title" "sub" "ctas" "system" "mobile";
  }

  .hero__title,
  [lang="en-US"] .hero__title { max-width: 760px; }
  .hero__sub { max-width: 680px; }
  .hero__system { margin-top: 44px; }
  .hero-product { height: 470px; }

  #features .cards,
  .personas,
  .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  #features .card:nth-child(3n),
  .persona:nth-child(3n),
  .usecase:nth-child(3n) { border-right: 1px solid #c9cac3; }

  #features .card:nth-child(2n),
  .persona:nth-child(2n),
  .usecase:nth-child(2n) { border-right: 0; }

  #features .card:nth-last-child(-n+3),
  .persona:nth-last-child(-n+3),
  .usecase:nth-last-child(-n+3) { border-bottom: 1px solid #c9cac3; }

  #features .card:nth-last-child(-n+2),
  .persona:nth-last-child(-n+2),
  .usecase:nth-last-child(-n+2) { border-bottom: 0; }

  .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market:nth-child(4n) { border-right: 1px solid #c9cac3; }
  .market:nth-child(2n) { border-right: 0; }
  .market:nth-last-child(-n+4) { border-bottom: 1px solid #c9cac3; }
  .market:nth-last-child(-n+2) { border-bottom: 0; }

  .mobile-hub { grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid #c9cac3; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack__item:nth-child(2) { border-right: 0; }
  .stack__item:nth-child(-n+2) { border-bottom: 1px solid #3d403c; }
  .agents-strip { grid-template-columns: 1fr; }
  .agents-strip__item { border-right: 0; border-bottom: 1px solid #414440; }
  .agents-strip__item:last-child { border-bottom: 0; }

  #ai-stack .container { grid-template-columns: 1fr; }
  #ai-stack .section__head { min-height: 310px; }
  #ai-stack .logos { border-left: 1px solid #bfc0b9; border-top: 0; }

  .about__grid { grid-template-columns: 1fr; }
  .about__join { min-height: 560px; border-left: 0; border-top: 1px solid #111311; }
}

@media (max-width: 820px) {
  .container { padding-inline: 22px; }
  .section,
  .section--tight { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .nav__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav__cta { justify-self: end; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .drawer.open { display: flex; }
  .nav__login { display: none; }

  .hero { padding-top: 46px; }
  .hero__title { font-size: clamp(40px, 9vw, 58px); }
  .hero__mobile { flex-direction: column; align-items: stretch; }
  .hero__mobile-ctas { width: 100%; }

  .hero-product { height: 430px; }

  .os-console__bar { grid-template-columns: 1fr auto; }
  .os-console__health { display: none; }
  .os-flow { overflow-x: auto; grid-template-columns: repeat(5, minmax(125px, 1fr)); }

  #agents .cards { grid-template-columns: 1fr; }
  #agents .card { border-right: 0; }
  #agents .card:not(:last-child) { border-bottom: 1px solid #3c3f3b; }

  .mobile-hub { grid-template-columns: 1fr; }
  .mobile-hub__phone { max-width: 520px; margin-inline: auto; }
  .faq { grid-template-columns: 1fr; }
  .about__join { min-height: 500px; }
  .license-grid { grid-template-columns: 1fr; }
  .legal__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .nav__inner { height: 64px; }
  .brand__name { font-size: 15px; }
  .lang__btn { padding: 7px; }
  .nav__app { display: none; }

  .hero { padding-top: 34px; }
  .hero > .container { overflow: hidden; }
  .hero__pill { margin-top: 0; }
  .hero__title { font-size: clamp(36px, 12vw, 50px); }
  [lang="zh-CN"] .hero__title > span,
  [lang="zh-TW"] .hero__title > span { white-space: normal; }
  .hero__ctas { display: grid; grid-template-columns: 1fr; }
  .hero__ctas .btn { justify-content: center; }
  .hero__mobile-ctas { grid-template-columns: 1fr; }

  .os-console { border-radius: 3px; }
  .os-console__bar { padding: 0 12px; }
  .os-console__identity b { display: none; }
  .os-console__main { grid-template-columns: 1fr; }
  .os-panel--runtime { grid-column: auto; }

  .stats__grid,
  #features .cards,
  .personas,
  .usecases,
  .markets,
  .steps { grid-template-columns: 1fr; }

  .stats__item { min-height: 100px; border-right: 0; border-bottom: 1px solid #deded8; }
  .stats__item:last-child { border-bottom: 0; }

  #features .card,
  .persona,
  .usecase,
  .market,
  .step { border-right: 0 !important; border-bottom: 1px solid #c9cac3 !important; }

  #features .card:last-child,
  .persona:last-child,
  .usecase:last-child,
  .market:last-child,
  .step:last-child { border-bottom: 0 !important; }

  .card,
  .persona,
  .usecase { min-height: auto; }
  .market { min-height: 110px; }
  .step { min-height: auto; }
  .step:not(:last-child)::after { display: none; }

  .hero-product {
    grid-template-columns: 1fr;
    grid-template-rows: 34px minmax(0, 1fr) 82px;
    height: 310px;
    padding: 0;
    gap: 0;
  }

  .hero-product__identity { display: none; }
  .hero-product__chrome { grid-template-columns: auto 1fr; }
  .hero-product__status { justify-self: end; }
  .hero-product__nav button { gap: 6px; padding: 0 9px; }
  .hero-product__nav b { font-size: 7px; }

  .about__company,
  .about__join { padding: 30px 24px; }
  .about__lockup { margin: 26px 0 34px; }
  .about__logo { width: 236px; height: 100px; }
  .about__title { font-size: clamp(38px, 11vw, 50px); }
  .about__body { font-size: 15px; }
  .about__principles { grid-template-columns: 1fr; }
  .about__principles span { min-height: 54px; border-right: 0; border-bottom: 1px solid #d0d1ca; }
  .about__principles span:last-child { border-bottom: 0; }
  .about__join { min-height: 460px; }
  .about__join h3 { margin-top: 64px; }
  [lang="en-US"] .about__title { font-size: clamp(34px, 10vw, 44px); }
  [lang="en-US"] .about__join h3 { font-size: clamp(32px, 9vw, 42px); }

  #ai-stack .section__head { min-height: 300px; padding: 28px; }
  #ai-stack .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ai-stack .logo-chip { min-height: 100px; padding: 16px; }
  #ai-stack .logo-chip:nth-child(3n) { border-right: 1px solid #d0d1ca; }
  #ai-stack .logo-chip:nth-child(2n) { border-right: 0; }
  #ai-stack .logo-chip:nth-last-child(-n+3) { border-bottom: 1px solid #d0d1ca; }
  #ai-stack .logo-chip:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }

  .mobile-hub__phone { width: 100%; height: 520px; }
  .mobile-shot { width: 205px; border-width: 5px; border-radius: 27px; }
  .mobile-shot--left { transform: translate(-82%, -47%) rotate(-4deg) scale(.89); }
  .mobile-shot--right { transform: translate(-18%, -47%) rotate(4deg) scale(.89); }
  .license-offer__benefits,
  .license-scenarios,
  .license-form__row { grid-template-columns: 1fr; }
  .license-offer,
  .license-form { padding: 22px; }
  .license-offer__price { flex-wrap: wrap; }
  .license-offer__price > strong { font-size: 64px; }
  .license-offer__price > div { flex: 1 0 100%; align-items: flex-start; margin-top: 12px; }

  .legal__alert { grid-template-columns: 1fr; padding: 20px; }
  .legal__official ul { grid-template-columns: 1fr; }
  .cta__inner { align-items: center; text-align: center; }
  .cta .hero__ctas { justify-content: center; }
}
