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

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-elev: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --mut: #6e6e73;
  --mut-2: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #1f9d55;
  --green-soft: #e8f6ee;
  --orange: #f56300;
  --red: #e30000;
  --surface: #f5f5f7;
  --surface-2: #ececf0;
  --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: 48px;
  --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(--blue);
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

::selection {
  background: rgba(0, 113, 227, 0.2);
}

:focus-visible {
  outline: 2px solid var(--blue);
  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: #86868b;
  --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(--blue);
  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;
}

.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(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-hover);
  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 .lead {
  margin-top: 24px;
  max-width: 540px;
}

.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 */

.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: #0071e3;
}

.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(--blue);
  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: #0071e3;
}

.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 {
  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 {
  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(--blue);
  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(--blue);
  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-phone {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 148px;
  padding: 4px;
  border-radius: 18px;
  background: #1d1d1f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.mini-phone div {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, #eaf2ff);
}

.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(--blue);
  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-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(--blue);
  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;
}

/* ---------- 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(--blue);
}

.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(--blue);
  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 .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(--blue);
  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;
  }
}

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

  .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(--blue);
  }
}

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

  .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 {
    grid-template-columns: 1fr;
  }

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