/* ============================================================
   jAgent — product site
   Pure static. No external fonts, no CDN, no build step.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f1;
  --bg-elev: #ffffff;
  --ink: #16251b;
  --ink-2: #304435;
  --mut: #5f7063;
  --mut-2: #7c8b80;
  --line: rgba(22, 37, 27, 0.09);
  --line-2: rgba(22, 37, 27, 0.16);
  --brand: #2dac38;
  --brand-deep: #1f8f2d;
  --green: #2dac38;
  --green-soft: #e8f4e6;
  --orange: #e00030;
  --red: #e30000;
  --surface: #f4f7f1;
  --surface-2: #e8efe4;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --r-pill: 980px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 24px 64px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 40px 120px rgba(0, 0, 0, 0.16);
  --max: 1120px;
  --max-wide: 1280px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", sans-serif;
  --font-mono: "SF Mono", ui-monospace, "Cascadia Code", "Roboto Mono",
    Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

::selection {
  background: rgba(45, 172, 56, 0.22);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- layout ---------- */

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.wrap--wide {
  width: min(100% - 48px, var(--max-wide));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

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

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: #08080a;
  color: #f5f5f7;
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --mut: #a1a1a6;
  --mut-2: #7c8b80;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
}

.section--dark a {
  color: #8dc5ff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--dark .eyebrow {
  color: #8dc5ff;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(44px, 6.4vw, 78px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(32px, 4.2vw, 52px);
}

h3 {
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.2;
}

h4 {
  font-size: 17px;
  line-height: 1.3;
}

p {
  margin: 0;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--mut);
}

.small {
  font-size: 14px;
}

.tiny {
  font-size: 12px;
}

.center {
  text-align: center;
}

.stack > * + * {
  margin-top: 18px;
}

.stack-lg > * + * {
  margin-top: 32px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 18px;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 251, 253, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100% - 40px, var(--max-wide));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__logo {
  width: auto;
  height: 26px;
  border-radius: 2px;
}

.brand__divider {
  width: 1px;
  height: 18px;
  background: var(--line-2);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  padding: 6px 11px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 400;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav__link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
  text-decoration: none;
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.nav__cta {
  margin-left: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
}

.nav__cta:hover {
  background: #333;
  text-decoration: none;
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav__burger[aria-expanded="true"] span:first-child {
  transform: translateY(5.5px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav__mobile {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 99;
  display: none;
  padding: 24px;
  background: rgba(251, 251, 253, 0.98);
  backdrop-filter: blur(20px);
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile a {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav__mobile a:hover {
  text-decoration: none;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.28);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #333;
}

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

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(0, 0, 0, 0.03);
}

.section--dark .btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f5f5f7;
}

.section--dark .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--sm {
  min-height: 36px;
  padding: 7px 16px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 500;
}

.link-arrow::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
  transition: transform 0.18s var(--ease);
}

.link-arrow:hover {
  text-decoration: none;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}

.hero::before {
  position: absolute;
  inset: -20% -10% auto;
  height: 760px;
  background: radial-gradient(
      60% 60% at 68% 34%,
      rgba(0, 113, 227, 0.13),
      transparent 70%
    ),
    radial-gradient(44% 44% at 22% 48%, rgba(31, 157, 85, 0.08), transparent 70%);
  content: "";
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hero__copy {
  max-width: 620px;
}

.hero h1 {
  margin-top: 4px;
}

.hero__statement {
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.06;
}

.hero .lead {
  margin-top: 24px;
  max-width: 540px;
}

.hero__sublead {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 540px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card__avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #2dac38, #37d08c);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.contact-card__body {
  min-width: 0;
  flex: 1;
}

.contact-card__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-card__name span {
  margin-left: 6px;
  color: var(--mut);
  font-size: 12px;
  font-weight: 500;
}

.contact-card__channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 12px;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-2);
  font-weight: 500;
}

.contact-channel img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.contact-phone {
  color: var(--mut);
  font-size: 12px;
}

.contact-phone b {
  margin-right: 4px;
  color: var(--ink-2);
  font-weight: 600;
}

.contact-card__call {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.contact-card__call:hover {
  background: #333;
  text-decoration: none;
}

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

.value-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.value-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.value-card__icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 11px;
  background: var(--surface);
  color: var(--brand);
}

.value-card__icon svg {
  width: 21px;
  height: 21px;
}

.value-card h3 {
  font-size: 18px;
}

.value-card p {
  margin-top: 6px;
  color: var(--mut);
  font-size: 13.5px;
  line-height: 1.5;
}

.hero .actions {
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  color: var(--mut);
  font-size: 13px;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* hero stage */

.hero-shot {
  position: relative;
  display: grid;
  min-height: 680px;
  place-items: center;
}

.hero-shot__frame {
  position: relative;
  width: min(100%, 340px);
  padding: 9px;
  border-radius: 54px;
  background: linear-gradient(145deg, #3a3a3c, #101012 40%, #2c2c2e);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.2);
  transform: rotate(1.2deg);
}

.hero-shot__frame::before {
  position: absolute;
  right: -3px;
  top: 170px;
  width: 3px;
  height: 72px;
  border-radius: 3px;
  background: #2c2c2e;
  content: "";
}

.hero-shot__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 45px;
  background: #fff;
}

.hero-shot__island {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 2;
  width: 86px;
  height: 26px;
  border-radius: 20px;
  background: #08080a;
  transform: translateX(-50%);
}

.stage {
  position: relative;
  min-height: 590px;
}

.stage__glow {
  position: absolute;
  inset: 8% 0 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 113, 227, 0.12),
    rgba(0, 113, 227, 0.03) 45%,
    transparent 70%
  );
  filter: blur(8px);
}

.device {
  position: absolute;
  z-index: 2;
}

.device--phone {
  right: 8px;
  top: 24px;
  width: 266px;
  height: 548px;
  padding: 9px;
  border-radius: 52px;
  background: linear-gradient(145deg, #3a3a3c, #101012 40%, #2c2c2e);
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
  animation: float 7s ease-in-out infinite;
}

.device--phone::after {
  position: absolute;
  left: -3px;
  top: 130px;
  width: 3px;
  height: 62px;
  border-radius: 3px 0 0 3px;
  background: #2c2c2e;
  content: "";
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 43px;
  background: #f5f5f7;
  color: #1d1d1f;
}

.phone-island {
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 3;
  width: 82px;
  height: 24px;
  border-radius: 20px;
  background: #08080a;
  transform: translateX(-50%);
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px 0;
  font-size: 10px;
  font-weight: 600;
}

.phone-app {
  padding: 34px 18px 18px;
}

.phone-app__kicker {
  color: #86868b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-app__title {
  margin-top: 2px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.phone-health {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #e8f6ee;
  color: #147a43;
  font-size: 11px;
  font-weight: 600;
}

.phone-health i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.12);
}

.phone-list {
  margin-top: 12px;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.phone-seg {
  display: flex;
  gap: 3px;
  margin-top: 14px;
  padding: 3px;
  border-radius: 10px;
  background: #e9e9ee;
}

.phone-seg span {
  flex: 1;
  padding: 5px 0;
  border-radius: 7px;
  color: #6e6e73;
  font-size: 9px;
  text-align: center;
}

.phone-seg .on {
  background: #fff;
  color: #1d1d1f;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.phone-row__icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #f2f2f7;
  font-size: 13px;
}

.phone-row__body {
  min-width: 0;
  flex: 1;
}

.phone-row__body b {
  display: block;
  font-size: 11px;
  font-weight: 600;
}

.phone-row__body small {
  display: block;
  color: #86868b;
  font-size: 9.5px;
  line-height: 1.3;
}

.phone-row__value {
  color: #86868b;
  font-size: 10px;
  font-weight: 500;
}

.phone-tabs {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  color: #86868b;
  font-size: 8px;
  text-align: center;
}

.phone-tabs b {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 500;
}

.phone-tabs .on {
  color: #2dac38;
}

.device--box {
  left: -26px;
  bottom: 18px;
  z-index: 3;
  width: 280px;
  height: 184px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(150deg, #2e2e31, #141416 55%, #232326);
  box-shadow: var(--shadow-lg);
  color: #fff;
  animation: float 8s ease-in-out infinite reverse;
}

.device--box::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 23px;
  content: "";
}

.box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.box-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37d08c;
  box-shadow: 0 0 12px rgba(55, 208, 140, 0.9);
}

.box-name {
  margin-top: 24px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.box-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.box-ports {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.box-ports span {
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}

.box-ports span:nth-child(1) {
  width: 34px;
}

.box-ports span:nth-child(2) {
  width: 18px;
}

.box-ports span:nth-child(3) {
  width: 18px;
}

.box-ports span:nth-child(4) {
  width: 52px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.24);
}

.float-card {
  position: absolute;
  z-index: 4;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  color: var(--ink);
}

.float-card--route {
  left: 4px;
  bottom: 236px;
  width: 236px;
}

.float-card--mcp {
  left: 14px;
  top: 74px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 500;
}

.float-card--mcp i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #eef4ff;
  color: #0066cc;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.float-card--route b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.float-card--route small {
  display: block;
  margin-top: 3px;
  color: var(--mut);
  font-size: 10.5px;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.route-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7c7cc;
}

.route-line i:first-child,
.route-line i:last-child {
  background: #2dac38;
}

.route-line span {
  height: 1px;
  flex: 1;
  background: repeating-linear-gradient(
    90deg,
    #c7c7cc 0 4px,
    transparent 4px 7px
  );
}

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

.device--box {
  animation-name: float-box;
}

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

/* ---------- quick stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

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

.stat b {
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--mut);
  font-size: 13px;
}

/* ---------- cards ---------- */

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 21px;
}

.card p {
  margin-top: 10px;
  color: var(--mut);
  font-size: 15px;
  line-height: 1.55;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pain-fix {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13.5px;
}

.pain-fix b {
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}

.pill--green {
  background: var(--green-soft);
  color: #147a43;
}

.pill--blue {
  background: #eef4ff;
  color: #0066cc;
}

.pill--orange {
  background: #fff2e8;
  color: #b54708;
}

.pill--dark {
  background: #1d1d1f;
  color: #fff;
}

.tier {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

.tier--must {
  background: #e8f6ee;
  color: #147a43;
}

.tier--optional {
  background: #eef4ff;
  color: #0066cc;
}

.tier--separate {
  background: #fff2e8;
  color: #b54708;
}

.tier--self,
.tier--definable {
  background: #f3eefe;
  color: #6b3fa0;
}

.tier--builtin {
  background: #f2f2f7;
  color: #6e6e73;
}

.module__tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--mut);
  font-size: 10.5px;
  font-weight: 500;
}

.module__tier i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.module__tier--must {
  color: #147a43;
}

.module__tier--optional {
  color: #0066cc;
}

.module__tier--separate {
  color: #b54708;
}

.module__tier--self,
.module__tier--definable {
  color: #6b3fa0;
}

.module__tier--builtin {
  color: #6e6e73;
}

.section--dark .pill {
  background: rgba(255, 255, 255, 0.09);
  color: #d2d2d7;
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--dark .card p {
  color: var(--mut);
}

/* ---------- timeline ---------- */

.timeline-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.timeline-layout h2 {
  font-size: clamp(32px, 3.8vw, 46px);
}

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

.timeline::before {
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-2);
  content: "";
}

.timeline li {
  position: relative;
  padding: 0 0 30px 34px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--line-2);
  content: "";
}

.section--soft .timeline li::before {
  border-color: var(--bg-soft);
}

.timeline time {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.timeline b {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
}

.timeline p {
  margin-top: 5px;
  color: var(--mut);
  font-size: 14.5px;
}

/* ---------- product matrix ---------- */

.product-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.product-card__top {
  position: relative;
  display: flex;
  min-height: 150px;
  align-items: flex-end;
  padding: 24px;
  background: var(--surface);
  overflow: hidden;
}

.product-card__top::after {
  position: absolute;
  inset: auto -20% -60% 20%;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12), transparent 70%);
  content: "";
}

.product-card:nth-child(2) .product-card__top {
  background: #f2f7ff;
}

.product-card:nth-child(3) .product-card__top {
  background: #f4f1ea;
}

.product-card:nth-child(4) .product-card__top {
  background: #f0f6f3;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 26px;
}

.product-card__body p {
  margin-top: 8px;
  flex: 1;
  color: var(--mut);
  font-size: 14.5px;
}

.product-card__body .link-arrow {
  margin-top: 18px;
  font-size: 14px;
}

.mini-box {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 78px;
  border-radius: 16px;
  background: linear-gradient(145deg, #333337, #141416);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.mini-box::after {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #37d08c;
  box-shadow: 0 0 8px rgba(55, 208, 140, 0.8);
  content: "";
}

.mini-book {
  position: relative;
  z-index: 1;
  width: 102px;
  height: 132px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px 14px 14px 8px;
  background: linear-gradient(90deg, #f7f1e5 0 8px, #fff 8px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.mini-book::before,
.mini-book::after {
  position: absolute;
  left: 22px;
  right: 16px;
  height: 2px;
  border-radius: 2px;
  background: #d8d0c0;
  content: "";
}

.mini-book::before {
  top: 42px;
  box-shadow: 0 12px 0 #d8d0c0, 0 24px 0 #d8d0c0;
}

.mini-book::after {
  top: 30px;
  right: 48px;
  background: #b9ad97;
}

.mini-board {
  position: relative;
  z-index: 1;
  display: grid;
  width: 118px;
  height: 78px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #2f6b4f, #174534);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.mini-board span {
  width: 56px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0 2px,
    transparent 2px 6px
  );
}

/* ---------- architecture ---------- */

.arch {
  display: grid;
  gap: 14px;
  margin-top: 48px;
}

.arch__layer {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.arch__label {
  color: #8dc5ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch__items span {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  color: #e8e8ed;
  font-size: 12.5px;
}

.arch__arrow {
  display: grid;
  height: 10px;
  place-items: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  line-height: 1;
}

.arch-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(141, 197, 255, 0.06);
  color: #c7c7cc;
  font-size: 13.5px;
  line-height: 1.55;
}

.arch-note b {
  color: #fff;
}

/* ---------- feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

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

.feature-row--reverse .feature-row__media {
  order: -1;
}

.feature-row__copy {
  max-width: 500px;
}

.feature-row__copy h3 {
  margin-top: 10px;
}

.feature-row__copy p {
  margin-top: 14px;
  color: var(--mut);
  font-size: 16px;
}

.feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.feature-row__media {
  display: grid;
  min-height: 320px;
  place-items: center;
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}

.feature-row__media--blue {
  background: linear-gradient(160deg, #eef5ff, #dfeaff);
}

.feature-row__media--green {
  background: linear-gradient(160deg, #eef8f2, #dcefe4);
}

.feature-row__media--sand {
  background: linear-gradient(160deg, #faf6ee, #efe6d5);
}

.feature-phone {
  width: 196px;
  height: 392px;
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(145deg, #3a3a3c, #101012 45%, #2c2c2e);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}

.feature-phone__screen {
  height: 100%;
  overflow: hidden;
  padding: 22px 12px 12px;
  border-radius: 29px;
  background: #f5f5f7;
  color: #1d1d1f;
}

.fp-title {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.fp-sub {
  margin-top: 2px;
  color: #86868b;
  font-size: 8px;
}

.fp-seg {
  display: flex;
  gap: 2px;
  margin-top: 10px;
  padding: 2px;
  border-radius: 7px;
  background: #e9e9ee;
}

.fp-seg span {
  flex: 1;
  padding: 3px 0;
  border-radius: 5px;
  color: #6e6e73;
  font-size: 7px;
  text-align: center;
}

.fp-seg .on {
  background: #fff;
  color: #1d1d1f;
  font-weight: 600;
}

.fp-list {
  margin-top: 10px;
  overflow: hidden;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.fp-row {
  display: flex;
  gap: 7px;
  padding: 9px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 8px;
  line-height: 1.35;
}

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

.fp-ico {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 5px;
  background: #f2f2f7;
  font-size: 8px;
}

.fp-row b {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
}

.fp-row small {
  display: block;
  color: #86868b;
  font-size: 7.5px;
}

.fp-time {
  margin-left: auto;
  color: #86868b;
  font-size: 7px;
  white-space: nowrap;
}

/* ---------- tables ---------- */

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}

th,
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

td b {
  font-weight: 600;
}

.table-note {
  margin-top: 12px;
  color: var(--mut);
  font-size: 12.5px;
}

/* spec list */

.spec-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.spec-nav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  scrollbar-width: none;
}

.spec-nav__inner::-webkit-scrollbar {
  display: none;
}

.spec-nav a {
  padding: 14px 12px;
  border-bottom: 2px solid transparent;
  color: var(--mut);
  font-size: 13px;
  white-space: nowrap;
}

.spec-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.spec-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.spec-section:last-child {
  border-bottom: 0;
}

.spec-head {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  margin-bottom: 28px;
}

.spec-head p {
  color: var(--mut);
  font-size: 15px;
}

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

.spec-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  color: var(--mut);
  font-size: 14px;
}

.spec-row dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.spec-row dd small {
  display: block;
  margin-top: 4px;
  color: var(--mut);
  font-size: 12.5px;
}

/* ---------- capability catalog ---------- */

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

.tier-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-elev);
}

.tier-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tier-card h3 {
  margin-top: 14px;
  font-size: 19px;
}

.tier-card > p {
  margin-top: 8px;
  color: var(--mut);
  font-size: 13px;
  line-height: 1.5;
}

.tier-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tier-card li {
  position: relative;
  padding: 5px 0 5px 16px;
  color: var(--ink-2);
  font-size: 12.5px;
}

.tier-card li::before {
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0.45;
}

.tier-sub {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tier-sub__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tier-sub__head + ul {
  margin-top: 10px;
}

.tier-card__note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--mut);
  font-size: 11.5px;
  line-height: 1.5;
}

.tier-card__modules {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
}

.tier-card__modules code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.cat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-elev);
}

.cat b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.cat span {
  display: block;
  margin-top: 4px;
  color: var(--mut);
  font-size: 12.5px;
}

.cat strong {
  display: block;
  margin-top: 14px;
  color: var(--brand);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

.module {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-elev);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.module:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.module__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.module__name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.module__count {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--mut);
  font-size: 11px;
  font-weight: 600;
}

.module h4 {
  margin-top: 8px;
  font-size: 17px;
}

.module p {
  margin-top: 6px;
  color: var(--mut);
  font-size: 13px;
  line-height: 1.5;
}

.module__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.module__tools code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.catalog {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-elev);
  overflow: hidden;
}

.catalog__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.catalog__search {
  position: relative;
  min-width: 240px;
  flex: 1;
}

.catalog__search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-elev);
  color: var(--ink);
  font-size: 14px;
}

.catalog__search svg {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  color: var(--mut);
}

.catalog select {
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-elev);
  color: var(--ink);
  font-size: 14px;
}

.catalog__count {
  color: var(--mut);
  font-size: 12.5px;
  white-space: nowrap;
}

.catalog__table {
  max-height: 680px;
  overflow: auto;
}

.catalog table {
  font-size: 13px;
}

.catalog thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.catalog td {
  padding: 11px 16px;
  vertical-align: middle;
}

.catalog td:first-child {
  width: 260px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.catalog td:nth-child(2) {
  width: 130px;
  color: var(--mut);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.catalog td:nth-child(3) {
  width: 86px;
  white-space: nowrap;
}

.catalog td:nth-child(4) {
  color: var(--ink-2);
  line-height: 1.45;
}

.catalog .empty {
  padding: 48px 16px;
  color: var(--mut);
  text-align: center;
}

.noscript {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid #f5c2c0;
  border-radius: 12px;
  background: #fff4f3;
  color: #8a1f17;
  font-size: 14px;
}

/* ---------- scenes ---------- */

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

.scene-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.scene-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.scene-media {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  background: var(--surface);
}

.scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}

.scene-card:hover .scene-media img {
  transform: scale(1.015);
}

.scene-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.92));
  content: "";
  pointer-events: none;
}

.scene-zoom {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.scene-media--plain::after {
  display: none;
}

.scene-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 26px;
}

.scene-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.scene-tag {
  color: var(--mut-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.scene-body h3 {
  font-size: 22px;
}

.scene-body p {
  margin-top: 10px;
  color: var(--mut);
  font-size: 14.5px;
  line-height: 1.6;
}

.scene-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.scene-list li {
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 10.5px;
}

.scene-body .link-arrow {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
}

/* scene visual mocks */

.viz {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 24px;
  background: linear-gradient(160deg, #f7f8fa, #eef1f6);
}

.viz--run {
  background: linear-gradient(160deg, #eef8f2, #dfefe5);
}

.viz--book {
  background: linear-gradient(160deg, #faf6ee, #efe6d5);
}

.viz--inbox {
  align-content: center;
  gap: 10px;
  background: linear-gradient(160deg, #f2f6ff, #e5edfb);
}

.viz--home {
  background: linear-gradient(160deg, #f7f3ed, #efe5d8);
}

.viz-panel {
  width: min(100%, 330px);
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.09);
}

.viz-kicker {
  color: var(--mut-2);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.viz-title {
  margin-top: 3px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.viz-big {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.viz-big span {
  margin-left: 6px;
  color: var(--mut);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.viz-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-top: 14px;
}

.viz-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #37d08c, #1f9d55);
  opacity: 0.8;
}

.viz-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--mut);
  font-size: 10px;
}

.viz-book {
  width: min(100%, 240px);
  padding: 18px 16px 16px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px 16px 16px 8px;
  background: linear-gradient(90deg, #f4ecdd 0 9px, #fffdf8 9px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.viz-book__seal {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 5px;
  background: #b23a2b;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.viz-book b {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.viz-book small {
  display: block;
  margin-top: 3px;
  color: #8d7f68;
  font-size: 9.5px;
}

.viz-route {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
}

.viz-route i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b23a2b;
}

.viz-route span {
  height: 1px;
  flex: 1;
  background: repeating-linear-gradient(90deg, #c9bfae 0 4px, transparent 4px 7px);
}

.viz-list {
  width: 100%;
  padding: 11px 13px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.viz-list b {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mut-2);
}

.viz-list div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  font-size: 10.5px;
  color: var(--ink-2);
}

.viz-list span {
  color: var(--mut-2);
}

.viz-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
}

.viz-toggle b {
  color: #147a43;
  font-weight: 600;
}

/* ---------- scenario stories ---------- */

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.story:last-of-type {
  border-bottom: 0;
}

.story--reverse .story__media {
  order: -1;
}

.story__copy h3 {
  font-size: clamp(24px, 2.6vw, 34px);
}

.story__copy > p {
  margin-top: 14px;
  color: var(--mut);
  font-size: 15.5px;
  line-height: 1.65;
}

.story__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.story__tags span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
}

.shot-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 184px;
  padding: 7px 9px;
  border: 1px solid rgba(0, 113, 227, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1.35;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.shot-label b {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.shot-label span {
  display: block;
}

.shot-label small {
  display: block;
  margin-top: 1px;
  color: var(--mut);
  font-size: 9.5px;
}

.shot-label--left {
  left: 8px;
  transform: translateY(-50%);
}

.shot-label--right {
  right: 8px;
  transform: translateY(-50%);
}

.story__points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.story__points li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.story__points li > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.story__points b {
  display: block;
  font-size: 14px;
}

.story__points small {
  display: block;
  margin-top: 2px;
  color: var(--mut);
  font-size: 12.5px;
  line-height: 1.5;
}

.story__media {
  display: grid;
  place-items: center;
  padding: 32px;
  border-radius: 26px;
  background: var(--surface);
}

.shot-frame {
  position: relative;
  width: min(100%, 360px);
  padding: 8px;
  border-radius: 42px;
  background: linear-gradient(145deg, #3a3a3c, #101012 45%, #2c2c2e);
  box-shadow: var(--shadow-lg);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

.shot-frame--chat {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.shot-frame--chat img {
  border-radius: 22px;
}

.callout {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
  transform: translate(-50%, -50%);
}

.scene-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.scene-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.scene-tile:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.scene-tile__caption {
  padding: 16px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
}

.scene-tile__caption-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.scene-tile__caption h3 {
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.scene-tile__metric {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: #b9dcff;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.scene-tile__caption p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  line-height: 1.45;
}

.scene-tile__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #101012;
}

.scene-tile__media img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}

.scene-tile:hover .scene-tile__media img {
  transform: scale(1.015);
}

.scene-tile__body {
  padding: 16px;
}

.scene-tile__body h3 {
  font-size: 17px;
}

.scene-tile__body p {
  margin-top: 6px;
  color: var(--mut);
  font-size: 12.5px;
  line-height: 1.5;
}

.tile-label {
  position: absolute;
  top: 18%;
  left: 6%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tile-label b {
  color: var(--brand);
  font-weight: 700;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.more-card {
  padding: 22px;
}

.more-card h3 {
  font-size: 18px;
}

.more-card p {
  margin-top: 8px;
  color: var(--mut);
  font-size: 13.5px;
}

.more-card .link-arrow {
  margin-top: 14px;
  font-size: 13px;
}

/* ---------- architecture canvas ---------- */

.arch-canvas {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.arch-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.arch-title {
  font-size: 12.5px;
  font-weight: 600;
}

.arch-src {
  color: var(--mut-2);
  font-family: var(--font-mono);
  font-size: 10px;
}

.arch-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--mut);
  font-size: 10.5px;
}

.arch-legend .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
}

.dot--g {
  background: #1f9d55;
}

.dot--b {
  background: #2dac38;
}

.dot--n {
  background: #c7c7cc;
}

.arch-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
}

.arch-flow {
  padding: 26px 24px;
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
}

.arch-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.arch-row__label {
  color: var(--mut);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-node {
  min-width: 112px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.arch-node b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.arch-node small {
  display: block;
  margin-top: 2px;
  color: var(--mut-2);
  font-family: var(--font-mono);
  font-size: 9px;
}

.arch-node--ok {
  border-color: rgba(31, 157, 85, 0.45);
}

.arch-node--opt {
  border-color: rgba(0, 113, 227, 0.42);
}

.arch-node--def {
  border-color: rgba(0, 0, 0, 0.16);
  color: var(--mut);
}

.arch-edge {
  display: grid;
  height: 18px;
  place-items: center;
  color: #c7c7cc;
  font-size: 12px;
  line-height: 1;
}

.arch-side {
  padding: 22px;
  border-left: 1px solid var(--line);
  background: #fff;
}

.arch-side h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.arch-side > p {
  margin-top: 6px;
  color: var(--mut);
  font-size: 11.5px;
}

.arch-side__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}

.arch-side__row span {
  color: var(--mut);
}

.arch-side__row b {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
}

.arch-side__note {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: #f2f7ff;
  color: #0066cc;
  font-size: 10.5px;
  line-height: 1.55;
}

.jmap-ui {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #111;
  box-shadow: var(--shadow);
}

.jmap-ui a {
  display: block;
  background: #111;
}

.jmap-ui img {
  display: block;
  width: 100%;
  height: auto;
}

.jmap-ui figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  padding: 14px 18px;
  background: #111;
  color: #fff;
  font-size: 13px;
}

.jmap-ui figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.jmap-ui figcaption b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
}

/* ---------- screenshot gallery ---------- */

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

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111;
}

.shot a {
  display: grid;
  height: 520px;
  place-items: center;
  background: #101012;
}

.shot img {
  width: auto;
  height: 520px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: #101012;
}

.shot-mock {
  height: 420px;
  padding: 20px;
  background: #f5f5f7;
  color: var(--ink);
}

.shot-mock__title {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.shot-mock__sub {
  margin-top: 2px;
  color: var(--mut);
  font-size: 10.5px;
}

.shot-mock__group {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.shot-mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11px;
}

.shot-mock__row:last-child {
  border-bottom: 0;
}

.shot-mock__row span {
  color: var(--mut);
}

.shot-mock__row b {
  font-weight: 600;
}

.shot figcaption {
  padding: 16px 18px 18px;
  background: rgba(0, 0, 0, 0.92);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.shot figcaption b {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

/* ---------- deploy ---------- */

.form-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.form-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.form-card h3 {
  font-size: 24px;
}

.form-card__sub {
  margin-top: 6px;
  color: var(--mut);
  font-size: 13px;
}

.topology {
  display: grid;
  gap: 7px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.topo-node {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-elev);
  font-size: 12px;
}

.topo-node i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
}

.topo-node--muted {
  color: var(--mut);
}

.topo-node--muted i {
  background: #c7c7cc;
}

.topo-link {
  display: grid;
  height: 6px;
  place-items: center;
  color: #c7c7cc;
  font-size: 10px;
  line-height: 1;
}

.form-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-card li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.form-card li::before {
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.form-card .actions {
  margin-top: auto;
  padding-top: 24px;
}

/* ---------- jPhone / jMap hero ---------- */

.app-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.app-hero__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.app-hero__copy h1 {
  font-size: clamp(42px, 5.6vw, 68px);
}

.app-hero__copy .lead {
  margin-top: 22px;
}

.app-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.app-hero__visual {
  display: grid;
  min-height: 560px;
  place-items: center;
  border-radius: 36px;
  background: radial-gradient(
      circle at 60% 30%,
      rgba(0, 113, 227, 0.12),
      transparent 60%
    ),
    var(--surface);
  overflow: hidden;
}

.phone-large {
  width: 286px;
  height: 590px;
  padding: 10px;
  border-radius: 56px;
  background: linear-gradient(145deg, #3a3a3c, #101012 40%, #2c2c2e);
  box-shadow: var(--shadow-lg);
}

.phone-large--shot {
  position: relative;
  height: auto;
  padding: 9px;
  border-radius: 52px;
}

.phone-large--shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 43px;
}

.phone-large--shot .phone-island {
  top: 18px;
  width: 84px;
  height: 24px;
}

.phone-large .phone-screen {
  border-radius: 47px;
}

.phone-large .phone-app {
  padding: 42px 20px 20px;
}

.phone-large .phone-app__title {
  font-size: 28px;
}

.phone-large .phone-row {
  padding: 13px 12px;
}

.phone-large .phone-row__body b {
  font-size: 12px;
}

.phone-large .phone-row__body small {
  font-size: 10px;
}

.phone-large .phone-tabs {
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 10px 16px;
}

.book-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.book {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 310px;
  height: 430px;
  padding: 26px 24px 24px 38px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px 22px 22px 10px;
  background: linear-gradient(90deg, #f4ecdd 0 14px, #fffdf8 14px);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.book::before {
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
  content: "";
}

.book__seal {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: #b23a2b;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.book__kicker {
  margin-top: 18px;
  color: #8d7f68;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book__title {
  margin-top: 4px;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.book__meta {
  margin-top: 8px;
  color: #8d7f68;
  font-size: 11px;
}

.book__route {
  position: relative;
  margin-top: 26px;
  padding-left: 18px;
}

.book__route::before {
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: repeating-linear-gradient(
    180deg,
    #c9bfae 0 4px,
    transparent 4px 8px
  );
  content: "";
}

.book__stop {
  position: relative;
  padding: 0 0 17px;
}

.book__stop::before {
  position: absolute;
  left: -18px;
  top: 4px;
  width: 7px;
  height: 7px;
  border: 2px solid #fffdf8;
  border-radius: 50%;
  background: #b23a2b;
  box-shadow: 0 0 0 1px #c9bfae;
  content: "";
}

.book__stop b {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.book__stop small {
  display: block;
  margin-top: 2px;
  color: #8d7f68;
  font-size: 10px;
}

.book__stamp {
  position: absolute;
  right: 22px;
  bottom: 20px;
  padding: 5px 7px;
  border: 1px solid rgba(178, 58, 43, 0.55);
  border-radius: 3px;
  color: rgba(178, 58, 43, 0.8);
  font-size: 9px;
  letter-spacing: 0.12em;
  transform: rotate(-6deg);
}

/* ---------- help ---------- */

.help-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.help-side {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.help-side__title {
  margin-bottom: 12px;
  color: var(--mut);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.help-side a {
  display: block;
  padding: 7px 10px;
  border-left: 2px solid transparent;
  color: var(--mut);
  font-size: 14px;
}

.help-side a:hover,
.help-side a.is-active {
  border-left-color: var(--brand);
  background: #f2f7ff;
  color: var(--ink);
  text-decoration: none;
}

.help-content section {
  padding: 8px 0 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--nav-h) + 28px);
}

.help-content section:last-child {
  border-bottom: 0;
}

.help-content h2 {
  font-size: 32px;
}

.help-content h3 {
  margin-top: 30px;
  font-size: 20px;
}

.help-content p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15px;
}

.help-content ul,
.help-content ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15px;
}

.help-content li {
  margin: 6px 0;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 16px 18px 16px 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elev);
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  left: 16px;
  top: 15px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  content: counter(step);
  font-size: 11px;
  font-weight: 600;
}

.steps b {
  display: block;
  font-size: 15px;
}

.steps span {
  display: block;
  margin-top: 3px;
  color: var(--mut);
  font-size: 13.5px;
}

details {
  border-bottom: 1px solid var(--line);
}

details summary {
  position: relative;
  padding: 17px 34px 17px 0;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  position: absolute;
  right: 4px;
  top: 50%;
  color: var(--mut);
  content: "+";
  font-size: 20px;
  font-weight: 300;
  transform: translateY(-50%);
  transition: transform 0.2s var(--ease);
}

details[open] summary::after {
  content: "−";
}

details .faq-body {
  padding: 0 0 18px;
  color: var(--mut);
  font-size: 14.5px;
  line-height: 1.6;
}

/* changelog */

.changelog {
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.release {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.release__version {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.release__date {
  display: block;
  margin-top: 4px;
  color: var(--mut-2);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 400;
}

.release h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.release ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--mut);
  font-size: 13.5px;
}

.release li {
  margin: 4px 0;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--surface);
}

.cta::before {
  position: absolute;
  inset: -40% 20% auto;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12), transparent 70%);
  content: "";
}

.cta__inner {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.cta h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}

.cta p {
  margin-top: 18px;
  color: var(--mut);
  font-size: 18px;
}

.cta .actions {
  justify-content: center;
  margin-top: 30px;
}

.cta note {
  display: block;
  margin-top: 16px;
  color: var(--mut-2);
  font-size: 12.5px;
}

/* ---------- footer ---------- */

.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--mut);
  font-size: 12.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.footer__brand p {
  max-width: 280px;
  margin-top: 12px;
  color: var(--mut);
  line-height: 1.55;
}

.footer h4 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.footer a {
  display: block;
  padding: 4px 0;
  color: var(--mut);
}

.footer a:hover {
  color: var(--ink);
  text-decoration: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--mut-2);
  font-size: 12px;
}

.footer__bottom p {
  margin: 0;
}

/* ---------- reveal ---------- */

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

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

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

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

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero__inner,
  .app-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__copy,
  .app-hero__copy {
    max-width: 720px;
  }

  .stage {
    min-height: 560px;
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .app-hero__visual {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .timeline-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .help-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 40px;
  }

  .arch-body {
    grid-template-columns: 1fr;
  }

  .arch-side {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

@media (max-width: 820px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: block;
  }

  .section {
    padding: 84px 0;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

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

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

  .story {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .story--reverse .story__media {
    order: 0;
  }

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }

  .feature-row--reverse .feature-row__media {
    order: 0;
  }

  .arch__layer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .spec-head,
  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .help-side {
    position: static;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .help-side__title {
    display: none;
  }

  .help-side a {
    border-left: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }

  .help-side a:hover,
  .help-side a.is-active {
    border-left: 0;
    border-bottom-color: var(--brand);
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap--wide {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero::before {
    height: 520px;
  }

  .stage {
    min-height: 590px;
    transform: none;
    margin-top: 6px;
  }

  .hero-shot {
    min-height: 0;
    margin-top: 8px;
  }

  .hero-shot__frame {
    width: min(100%, 300px);
    transform: none;
  }

  .device--phone {
    position: relative;
    right: auto;
    top: auto;
    width: 250px;
    height: 516px;
    margin: 48px auto 0;
    border-radius: 46px;
    transform: none;
    animation: none;
  }

  .phone-screen {
    border-radius: 37px;
  }

  .device--box,
  .float-card--route {
    display: none;
  }

  .float-card--mcp {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .module-grid,
  .cat-grid,
  .shot-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .arch-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .story__media {
    padding: 18px;
  }

  .shot-frame {
    width: min(100%, 300px);
  }

  .shot-label {
    max-width: 158px;
    padding: 6px 7px;
    font-size: 9.5px;
  }

  .shot-label b {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .shot-label small {
    font-size: 8.5px;
  }

  .more-grid,
  .scene-gallery {
    grid-template-columns: 1fr;
  }

  .scene-tile__media img {
    height: 380px;
  }

  .arch-flow {
    padding: 20px 16px;
  }

  .shot a {
    height: auto;
    min-height: 380px;
  }

  .shot img {
    height: 380px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .spec-section {
    padding: 44px 0;
  }

  .release {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog__bar {
    align-items: stretch;
  }

  .catalog__search {
    min-width: 100%;
  }

  .catalog td:first-child {
    width: auto;
    white-space: normal;
  }

  .catalog td:nth-child(2) {
    width: auto;
  }

  .catalog td:nth-child(3) {
    width: auto;
  }

  .catalog table {
    min-width: 720px;
  }

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

  .app-hero {
    padding: 56px 0 64px;
  }

  .app-hero__visual {
    min-height: 480px;
  }

  .phone-large {
    width: 250px;
    height: 516px;
  }

  .book {
    width: 280px;
    height: 400px;
  }

  .book-stage {
    min-height: 460px;
  }
}

/* ============================================================
   yiersa product site — brand overrides & new components
   ============================================================ */
:root {
  --paper: #f7f3e9;
  --paper-2: #fbf8ef;
  --brand-ink: #1e6b45;
  --accent: #e00030;
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --shadow-soft: 0 2px 6px rgba(22, 37, 27, .04), 0 18px 50px rgba(22, 37, 27, .07);
}
body { background: var(--bg); }
.brand__logo { width: 132px; height: auto; }
.brand__divider { background: var(--line-2); }
.brand span:last-child { font-weight: 650; letter-spacing: .02em; }
.nav__inner { min-height: var(--nav-h); }
.nav__link[aria-current="page"] { color: var(--brand-ink); }
.nav__cta { background: var(--brand-ink); }
.nav__cta:hover { background: #175337; }
.eyebrow { color: var(--brand-ink); letter-spacing: .16em; }
.hero { padding-top: 78px; }
.hero::before { background: radial-gradient(ellipse at 72% 18%, rgba(45,172,56,.13), transparent 52%), radial-gradient(ellipse at 12% 8%, rgba(224,0,48,.045), transparent 38%); }
.hero__statement { font-size: clamp(38px, 4.8vw, 64px); letter-spacing: -.035em; line-height: 1.08; }
.hero .lead { max-width: 560px; }
.hero__meta { gap: 10px 20px; }
.hero-shot__frame { width: min(100%, 310px); border-radius: 34px; }
.hero-shot__frame::before { background: linear-gradient(160deg, rgba(45,172,56,.18), rgba(224,0,48,.05)); }
.hero-shot__img { border-radius: 28px; }
.value-card__icon { color: var(--brand-ink); background: var(--green-soft); }
.value-card h3 { letter-spacing: -.01em; }
.section--paper { background: var(--paper); }
.section--paper .card, .section--paper .value-card { background: var(--paper-2); }
.section--paper .eyebrow { color: var(--brand-ink); }
.story__copy h3 { letter-spacing: -.02em; }
.shot-label { max-width: 224px; padding: 9px 11px; background: rgba(12, 28, 18, .82); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 12.5px; line-height: 1.4; backdrop-filter: blur(12px); }
.shot-label b { width: 22px; height: 22px; background: var(--brand); color: #fff; font-size: 11px; }
.shot-label small { color: rgba(255,255,255,.72); font-size: 11px; }
.shot-frame { background: #e9efe5; border-radius: 28px; }
.shot-frame img { border-radius: 20px; }
.scene-tile__caption { background: linear-gradient(180deg, transparent, rgba(8, 20, 12, .78) 42%, rgba(8, 20, 12, .92)); }
.scene-tile__caption h3 { font-size: 22px; }
.scene-tile__metric { color: #b8e6bd; }
.arch-canvas { background: #f2f5ef; border-color: rgba(22,37,27,.1); }
.arch-toolbar { background: rgba(255,255,255,.76); border-bottom-color: rgba(22,37,27,.08); }
.arch-node { border-color: rgba(45,172,56,.42); }
.arch-node--ok { border-color: rgba(45,172,56,.55); box-shadow: inset 0 0 0 1px rgba(45,172,56,.08); }
.arch-node--opt { border-color: rgba(224,0,48,.45); }
.arch-node--def { border-color: rgba(22,37,27,.18); border-style: dashed; }
.arch-side { background: #fff; }
.arch-side__row b { color: var(--brand-ink); }
.spec-nav a:hover, .spec-nav a.is-active { color: var(--brand-ink); }
.spec-nav a.is-active { border-bottom-color: var(--brand); }
.spec-row dt { color: var(--mut); }
.spec-row dd b { color: var(--ink); }
.tier--must { background: #e8f4e6; color: #1e6b45; }
.tier--optional { background: #fff1e8; color: #9a4a00; }
.tier--definable { background: #eef1f7; color: #3d4d6b; }
.tier--builtin { background: #f1f1f3; color: #5f5f66; }
.card:hover { border-color: rgba(45,172,56,.28); }
.btn--primary { background: var(--brand-ink); }
.btn--primary:hover { background: #175337; }
.btn--ghost { border-color: rgba(22,37,27,.22); }
.cta { background: #10251a; }
.cta::before { background: radial-gradient(ellipse at 15% 20%, rgba(45,172,56,.34), transparent 55%), radial-gradient(ellipse at 85% 80%, rgba(224,0,48,.12), transparent 42%); }
.cta h2 { color: #f7fbf6; }
.cta p { color: rgba(247,251,246,.72); }
.cta .btn--ghost { color: #f7fbf6; border-color: rgba(255,255,255,.34); }
.footer { background: #0d1f15; }
.footer__brand p { color: rgba(255,255,255,.62); }
.footer h4 { color: rgba(255,255,255,.86); }
.footer a { color: rgba(255,255,255,.62); }
.footer a:hover { color: #fff; }
.footer__bottom { border-top-color: rgba(255,255,255,.12); }
.footer__bottom p { color: rgba(255,255,255,.48); }
.footer .brand__divider { background: rgba(255,255,255,.22); }

/* brand lockup */
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup img { width: 150px; height: auto; }
.brand-lockup span { font-size: 13px; color: var(--mut); letter-spacing: .08em; }
.footer .brand-lockup img { width: 168px; }

/* hero device frame without fake status bar */
.device-shot { position: relative; width: min(100%, 310px); margin-inline: auto; }
.device-shot__bezel { background: #0f1f15; border-radius: 42px; padding: 10px; box-shadow: var(--shadow-lg); }
.device-shot__screen { border-radius: 34px; overflow: hidden; background: #fff; }
.device-shot__screen img { width: 100%; height: auto; display: block; }
.device-shot__caption { margin-top: 14px; text-align: center; font-size: 12px; color: var(--mut); }
.device-shot__caption b { color: var(--ink); font-weight: 600; }

/* three-end strip */
.ends-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.end-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.end-card__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--brand-ink); text-transform: uppercase; }
.end-card h3 { margin: 8px 0 6px; font-size: 20px; letter-spacing: -.02em; }
.end-card p { margin: 0; color: var(--mut); font-size: 14px; }
.end-card__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.end-card__meta span { font-size: 11px; color: var(--mut); background: var(--bg-soft); border-radius: 999px; padding: 4px 9px; }
.end-card__icon { width: 38px; height: 38px; border-radius: 12px; background: var(--green-soft); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 12px; }
.end-card__icon svg { width: 21px; height: 21px; }

/* capability layers */
.layer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.layer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.layer-card__no { font-family: var(--font-mono); font-size: 11px; color: var(--brand-ink); letter-spacing: .1em; }
.layer-card h3 { margin: 10px 0 4px; font-size: 21px; letter-spacing: -.02em; }
.layer-card .role { color: var(--mut); font-size: 13px; margin-bottom: 14px; }
.layer-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.layer-card li { font-size: 13.5px; color: var(--ink-2); padding-left: 16px; position: relative; line-height: 1.5; }
.layer-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.layer-card__foot { margin-top: auto; padding-top: 16px; font-size: 11px; color: var(--mut); }

/* capability catalog */
.cap-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.cap-search { flex: 1 1 260px; position: relative; }
.cap-search input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; padding: 0 44px 0 42px; font-size: 14px; color: var(--ink); outline: none; }
.cap-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(45,172,56,.12); }
.cap-search svg { position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; color: var(--mut); }
.cap-toolbar select { height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; padding: 0 36px 0 14px; font-size: 14px; color: var(--ink); }
.cap-count { margin-left: auto; font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cap-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; }
.cap-item[hidden] { display: none; }
.cap-item__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cap-item h3 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.cap-item p { margin: 8px 0 0; font-size: 13px; color: var(--mut); line-height: 1.55; }
.cap-item__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cap-item__meta span { font-size: 10.5px; color: var(--mut); background: var(--bg-soft); border-radius: 999px; padding: 3px 8px; }
.status { font-size: 10.5px; border-radius: 999px; padding: 3px 8px; white-space: nowrap; font-weight: 600; }
.status--live { background: #e6f4e3; color: #1e6b45; }
.status--gray { background: #fff1e6; color: #965000; }
.status--plan { background: #eef1f7; color: #4a5b78; }
.cap-empty { display: none; text-align: center; padding: 48px 20px; color: var(--mut); border: 1px dashed var(--line-2); border-radius: 16px; }
.cap-empty.is-on { display: block; }

/* report / code callout */
.formula { background: #10251a; color: #e9f7ea; border-radius: 18px; padding: 24px 26px; font-family: var(--font-mono); font-size: 13px; line-height: 1.8; overflow-x: auto; }
.formula b { color: #8ee49a; font-weight: 600; }
.formula span { color: rgba(233,247,234,.58); }
.quote-card { border-left: 3px solid var(--brand); background: var(--paper-2); border-radius: 0 16px 16px 0; padding: 20px 22px; }
.quote-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.quote-card cite { display: block; margin-top: 10px; font-style: normal; font-size: 12px; color: var(--mut); }

/* mini program schematic */
.mp-stage { display: grid; place-items: center; padding: 26px; background: linear-gradient(160deg, #eaf5e7, #f7f3e9); border-radius: 24px; }
.mp-phone { width: min(100%, 290px); background: #10251a; border-radius: 36px; padding: 9px; box-shadow: var(--shadow); }
.mp-screen { background: #f4f8f1; border-radius: 29px; padding: 18px 14px 14px; min-height: 520px; }
.mp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mp-head img { width: 104px; height: auto; }
.mp-head span { font-size: 10px; color: var(--mut); }
.mp-hero { background: linear-gradient(135deg, #dff1dc, #f7f3e9); border-radius: 18px; padding: 16px; }
.mp-hero b { display: block; font-size: 17px; line-height: 1.35; letter-spacing: -.02em; }
.mp-hero p { margin: 7px 0 0; font-size: 11px; color: var(--mut); line-height: 1.5; }
.mp-hero .mp-cta { margin-top: 12px; width: 100%; border-radius: 10px; background: #2dac38; color: #fff; font-size: 12px; padding: 10px; text-align: center; }
.mp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.mp-grid div { background: #fff; border: 1px solid rgba(22,37,27,.07); border-radius: 12px; padding: 11px; font-size: 11px; color: var(--ink-2); }
.mp-grid b { display: block; font-size: 15px; color: var(--brand-ink); margin-top: 3px; }
.mp-list { margin-top: 10px; background: #fff; border-radius: 14px; padding: 12px; }
.mp-list div { display: flex; justify-content: space-between; font-size: 11px; padding: 7px 0; border-bottom: 1px solid rgba(22,37,27,.06); color: var(--ink-2); }
.mp-list div:last-child { border-bottom: 0; }
.mp-list span { color: var(--mut); }
.mp-note { margin-top: 10px; font-size: 10px; color: var(--mut); text-align: center; }
.mp-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(22,37,27,.07); text-align: center; font-size: 9px; color: var(--mut); }
.mp-tabs b { display: block; font-size: 13px; margin-bottom: 2px; color: var(--brand-ink); }

/* clerkpad screen gallery */
.screen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.screen-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); }
.screen-card img { width: 100%; height: auto; border-radius: 10px; display: block; background: #eef5ea; }
.screen-card h3 { margin: 14px 2px 4px; font-size: 17px; letter-spacing: -.01em; }
.screen-card p { margin: 0 2px 4px; color: var(--mut); font-size: 12.5px; line-height: 1.55; }
@media (max-width: 1080px) { .screen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .screen-grid { grid-template-columns: 1fr; } .screen-card h3 { font-size: 19px; } .screen-card p { font-size: 14px; } }

/* admin schematic */
.admin-stage { background: #f2f5ef; border: 1px solid rgba(22,37,27,.1); border-radius: 20px; padding: 18px; }
.admin-window { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfcfa; }
.admin-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d8e2d5; display: block; }
.admin-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 10px; color: var(--mut); }
.admin-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.admin-side { background: #10251a; padding: 16px 12px; color: rgba(255,255,255,.7); font-size: 11px; }
.admin-side b { display: block; color: #fff; font-size: 12px; margin-bottom: 14px; }
.admin-side div { padding: 7px 8px; border-radius: 7px; margin-bottom: 2px; }
.admin-side div.on { background: rgba(45,172,56,.22); color: #fff; }
.admin-main { padding: 18px; }
.admin-main h4 { margin: 0 0 12px; font-size: 15px; }
.admin-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.admin-kpis div { background: #f4f8f1; border: 1px solid rgba(22,37,27,.06); border-radius: 10px; padding: 10px; }
.admin-kpis span { display: block; font-size: 9px; color: var(--mut); }
.admin-kpis b { display: block; font-size: 18px; color: var(--brand-ink); margin-top: 2px; }
.admin-rows { margin-top: 12px; border: 1px solid rgba(22,37,27,.07); border-radius: 10px; overflow: hidden; }
.admin-rows div { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 8px; padding: 8px 10px; font-size: 10px; border-bottom: 1px solid rgba(22,37,27,.06); }
.admin-rows div:last-child { border-bottom: 0; }
.admin-rows span { color: var(--mut); }
.admin-rows b { color: var(--ink-2); font-weight: 600; }

/* small print / labels */
.demo-note { margin-top: 10px; font-size: 11px; color: var(--mut); }
.demo-note b { color: var(--ink-2); font-weight: 600; }
.pill--green { background: #e6f4e3; color: #1e6b45; }
.pill--orange { background: #fff0e6; color: #965000; }
.pill--blue { background: #eaf0fb; color: #3d4d6b; }
.inline-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.inline-list span { font-size: 12px; color: var(--mut); background: var(--bg-soft); border-radius: 999px; padding: 5px 10px; }

/* responsive additions */
@media (max-width: 1080px) {
  .layer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .ends-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .brand-lockup span { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 46px; }
  .hero__statement { font-size: clamp(38px, 10vw, 54px); }
  .layer-grid { grid-template-columns: 1fr; }
  .cap-toolbar { align-items: stretch; }
  .cap-search { flex-basis: 100%; }
  .cap-count { margin-left: 0; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .admin-kpis { grid-template-columns: 1fr 1fr; }
  .mp-stage { padding: 16px; }
  .footer .brand-lockup img { width: 150px; }
}

/* inline code */
code {
  font-family: var(--font-mono);
  font-size: .92em;
  background: rgba(22, 37, 27, .06);
  padding: 1px 5px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .shot-label { max-width: 176px; padding: 7px 9px; font-size: 11px; }
  .shot-label b { width: 19px; height: 19px; font-size: 10px; }
  .shot-label small { font-size: 10px; }
}
