/* =========================================================
   Okta 产品介绍站 · 前台样式
   设计语言：深色身份层 + 浅色内容区，蓝青渐变作为唯一强调色
   ========================================================= */

:root {
  --brand: #1668e3;
  --accent: #12c2b4;
  --ink: #081326;
  --ink-2: #16233a;
  --text: #26364b;
  --muted: #5a6b82;
  --line: #e3e9f2;
  --line-soft: #eef3f9;
  --bg: #ffffff;
  --bg-soft: #f7fafe;
  --dark: #060f1f;
  --radius: 16px;
  --wrap: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

.ico {
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap--narrow {
  max-width: 820px;
}

.wrap--wide {
  max-width: 1120px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  --nav-fg: #0c1a2b;
  color: var(--nav-fg);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(12, 26, 43, 0.07);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px -22px rgba(8, 19, 38, 0.5);
}

body.page-home .site-header:not(.is-scrolled):not(.is-open) {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  --nav-fg: #eaf1fb;
}

body.page-home .site-header:not(.is-scrolled):not(.is-open) .brand-mark {
  color: #57a8ff;
}

body.page-home .site-header:not(.is-scrolled):not(.is-open) .brand-text em {
  color: #7b93b0;
}

/* 上传自定义 Logo 后，为避免深色 Logo 落在深色背景上看不清，
   首页头部从初始状态就保持浅色实底（需与上面的深色规则同权重并置后） */
body.page-home.has-logo .site-header:not(.is-scrolled) {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(12, 26, 43, 0.07);
  --nav-fg: #0c1a2b;
}

body.has-logo .site-header .brand-text em {
  color: #8ca0b8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--brand);
  transition: color 0.3s;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-img {
  height: 38px;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.brand-text strong {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: inherit;
}

.brand-text em {
  display: block;
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #8ca0b8;
  margin-top: 3px;
}

.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #8ca0b8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
}

.nav > a {
  color: var(--nav-fg);
  opacity: 0.76;
  padding: 6px 0;
  position: relative;
  transition: opacity 0.2s;
}

.nav > a:hover {
  opacity: 1;
}

.nav > a.is-active {
  opacity: 1;
}

.nav > a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
}

/* 用 .nav > a.nav-cta 提高优先级，否则会被 .nav > a 的 padding: 6px 0 覆盖 */
.nav > a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand);
  color: #fff !important;
  opacity: 1 !important;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 26px -16px var(--brand);
  transition: transform 0.2s, filter 0.2s;
}

.nav > a.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.nav > a.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--nav-fg);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s,
    box-shadow 0.2s;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 32px -18px var(--brand);
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 22px 40px -20px var(--brand);
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.36);
}

.btn--outline {
  color: var(--ink-2);
  border-color: var(--line);
  background: #fff;
}

.btn--outline:hover {
  border-color: #b9d2f4;
  color: var(--brand);
}

.btn--block {
  width: 100%;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: 158px 0 112px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 78% 64% at 50% 28%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 78% 64% at 50% 28%, #000 20%, transparent 72%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-glow--1 {
  width: 560px;
  height: 560px;
  top: -200px;
  left: -140px;
  background: rgba(22, 104, 227, 0.55);
}

.hero-glow--2 {
  width: 520px;
  height: 520px;
  bottom: -260px;
  right: -100px;
  background: rgba(18, 194, 180, 0.28);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 66px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #86b9f0;
  text-transform: uppercase;
}

.kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 194, 180, 0.18);
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  font-weight: 700;
}

.hero-title em {
  font-style: normal;
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(100deg, #7cc8ff 0%, #ffffff 46%, #8df0da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-desc {
  margin-top: 24px;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.9;
  color: #a9bdd6;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  font-size: 12.5px;
  color: #7e93ae;
  letter-spacing: 0.03em;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(126, 147, 174, 0.6);
}

/* 右侧决策流面板 */
.hero-visual {
  position: relative;
  padding: 26px 0;
}

.hv-ring {
  position: absolute;
  inset: -8% -6%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hv-panel {
  position: relative;
  z-index: 2;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(180deg, #ffffff, #f7fafe);
  box-shadow: 0 44px 90px -44px rgba(0, 8, 30, 0.95),
    0 0 0 1px rgba(10, 30, 60, 0.05);
  color: var(--ink);
  animation: floaty 9s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hv-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 4px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}

.hv-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand);
  background: #eaf2ff;
  padding: 3px 9px;
  border-radius: 999px;
}

.hv-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0fa968;
  box-shadow: 0 0 0 4px rgba(15, 169, 104, 0.14);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(15, 169, 104, 0);
  }
}

.hv-flow {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hv-flow li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: 11px;
  background: #f5f8fd;
  border: 1px solid transparent;
}

.hv-flow li:nth-child(4) {
  opacity: 0.6;
}

.hv-flow li.is-active {
  background: #f0f6ff;
  border-color: rgba(22, 104, 227, 0.26);
  box-shadow: 0 8px 20px -12px rgba(22, 104, 227, 0.55);
}

.hv-node {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e4ebf5;
  color: var(--brand);
}

.hv-body b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0c1a2b;
  line-height: 1.3;
}

.hv-body em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: #7a8ba3;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hv-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e9eef6;
  color: #6b7c93;
  white-space: nowrap;
}

.hv-pill.ok {
  background: #e4f6ee;
  color: #0b8a5b;
}

.hv-pill.run {
  background: #e8f0ff;
  color: var(--brand);
}

.hv-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
  padding: 10px 4px 2px;
  border-top: 1px dashed #e4ebf5;
  font-size: 11px;
  color: #8a99ae;
}

.hv-foot b {
  color: #41526b;
  font-weight: 500;
}

.hv-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px -20px rgba(0, 10, 40, 0.85);
  font-size: 11.5px;
  font-weight: 500;
}

.hv-chip--a {
  top: -17px;
  right: -14px;
  color: var(--brand);
}

.hv-chip--b {
  bottom: -19px;
  left: -22px;
  color: #0b8a5b;
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 36px 28px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--muted);
}

.stat span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   Section basics
   ========================================================= */
.section {
  padding: 108px 0;
}

.section--tight {
  padding: 72px 0 96px;
}

.section--insight {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.section--related {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 88px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 54px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  line-height: 1.26;
}

.section-head > p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 660px;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow--light {
  color: #6fc3ff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
  white-space: nowrap;
}

.link-arrow:hover {
  color: var(--brand);
  border-color: var(--brand);
  gap: 11px;
}

/* =========================================================
   Problems
   ========================================================= */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.problem {
  position: relative;
  padding: 32px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.problem::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.problem:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -40px rgba(8, 19, 38, 0.4);
}

.problem:hover::after {
  transform: scaleX(1);
}

.problem-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #b9c6d8;
}

.problem h3 {
  margin-top: 14px;
  font-size: 19px;
}

.problem p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.problem-fix {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--brand);
}

/* =========================================================
   Capabilities
   ========================================================= */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cap-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 104, 227, 0.28);
  box-shadow: 0 28px 54px -38px rgba(10, 40, 90, 0.45);
}

.cap-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #e3ecfa;
  background: linear-gradient(140deg, #eaf2ff, #f1fbf8);
  color: var(--brand);
}

.cap-icon--lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin-bottom: 0;
}

.cap-card h3 {
  font-size: 17.5px;
}

.cap-tagline {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--brand);
}

.cap-desc {
  flex: 1;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.cap-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.25s, gap 0.25s;
}

.cap-card:hover .cap-more {
  color: var(--brand);
  gap: 10px;
}

/* =========================================================
   Architecture
   ========================================================= */
.section--arch {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: 104px 0;
}

.section--arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 78%);
  pointer-events: none;
}

.section--arch .wrap {
  position: relative;
  z-index: 2;
}

.section--arch .section-head h2 {
  color: #fff;
}

.section--arch .section-head > p {
  color: #93a7c0;
}

.arch {
  display: grid;
  grid-template-columns: 1fr 48px 1.4fr 48px 1fr;
  align-items: center;
  margin-top: 46px;
}

.arch-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.arch-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b85a3;
  margin-bottom: 3px;
}

.arch-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13.5px;
  color: #d6e3f2;
  transition: background 0.25s, border-color 0.25s;
}

.arch-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(120, 180, 255, 0.35);
}

.arch-item .ico {
  color: #7fa8e8;
}

.arch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-arrow span {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(120, 170, 255, 0.1), rgba(120, 170, 255, 0.75));
}

.arch-arrow span::before {
  content: "";
  position: absolute;
  right: 0;
  top: -3.5px;
  width: 7px;
  height: 7px;
  border-top: 1.4px solid rgba(140, 200, 255, 0.9);
  border-right: 1.4px solid rgba(140, 200, 255, 0.9);
  transform: rotate(45deg);
}

.arch-arrow span::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fc3ff;
  box-shadow: 0 0 12px #6fc3ff;
}

.arch-core {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(110, 170, 255, 0.28);
  background: linear-gradient(160deg, rgba(30, 90, 220, 0.22), rgba(12, 30, 60, 0.55));
  box-shadow: 0 34px 80px -46px rgba(30, 120, 255, 0.8);
}

.arch-core-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.arch-core-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 180, 255, 0.3);
  background: rgba(120, 180, 255, 0.14);
  color: #8fcbff;
}

.arch-core-head b {
  display: block;
  font-size: 15px;
  color: #fff;
}

.arch-core-head em {
  display: block;
  font-style: normal;
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #7a9bc4;
}

.arch-layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.arch-layer {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(4, 12, 26, 0.5);
  font-size: 11.5px;
  color: #9fb4cc;
  line-height: 1.5;
}

.arch-layer span {
  display: block;
  margin-bottom: 4px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #6fc3ff;
}

.arch-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
  font-size: 12.5px;
  line-height: 1.75;
  color: #90a6bf;
}

.arch-notes b {
  display: block;
  margin-bottom: 4px;
  font-size: 13.5px;
  color: #e6effa;
}

/* =========================================================
   Steps
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  position: relative;
  padding: 30px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.steps li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 104, 227, 0.12);
}

.step-no {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.steps h3 {
  margin-top: 12px;
  font-size: 17px;
}

.steps p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--muted);
}

.step-meta {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f3f7fc;
  font-size: 11px;
  color: #7b8ca4;
}

/* =========================================================
   Post cards
   ========================================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-grid--list {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 104, 227, 0.24);
  box-shadow: 0 30px 56px -40px rgba(10, 40, 90, 0.5);
}

.post-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2a63, #1668e3);
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card:hover .post-cover img {
  transform: scale(1.045);
}

.post-cat {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 16, 32, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 11px;
  color: #fff;
}

.post-pin {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 11px;
  font-weight: 600;
  color: #04241f;
}

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.post-body time {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #8998ac;
}

.post-body h3 {
  margin-top: 9px;
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 600;
  transition: color 0.2s;
}

.post-card:hover .post-body h3 {
  color: var(--brand);
}

.post-body p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 3.5em;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 11.5px;
  color: #93a2b6;
}

.post-meta i {
  font-style: normal;
  opacity: 0.5;
}

.post-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.post-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 108px 20px;
  align-items: center;
  gap: 20px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, padding 0.2s;
}

.post-row:hover {
  background: #fff;
  padding-left: 14px;
}

.post-row-cat {
  font-size: 11px;
  color: var(--brand);
  background: #eff5ff;
  padding: 4px 6px;
  border-radius: 6px;
  text-align: center;
}

.post-row-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-row time {
  font-size: 12px;
  color: #93a2b6;
  text-align: right;
}

.post-row .ico {
  color: #b7c5d8;
}

/* =========================================================
   Demo
   ========================================================= */
.section--demo {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  padding: 96px 0;
}

.section--demo::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: rgba(22, 104, 227, 0.28);
  filter: blur(100px);
  pointer-events: none;
}

.demo-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: start;
}

.demo-copy h2 {
  color: #fff;
  font-size: clamp(1.75rem, 2.9vw, 2.4rem);
  line-height: 1.28;
}

.demo-copy > p {
  margin-top: 18px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.9;
  color: #93a7c0;
}

.demo-points {
  margin-top: 28px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: #c6d6e8;
}

.demo-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.demo-points .ico {
  color: var(--accent);
  margin-top: 3px;
}

.demo-contact {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 12.5px;
  color: #8fa5be;
}

.demo-contact span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.demo-form {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 44px 90px -44px rgba(0, 0, 0, 0.85);
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.field em {
  font-style: normal;
  color: #e0443b;
  margin-left: 3px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #dfe7f1;
  border-radius: 9px;
  background: #fbfcfe;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a7b6c9;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 104, 227, 0.12);
}

.field textarea {
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.65;
  color: #93a2b6;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid #bfe9d7;
  border-radius: 9px;
  background: #e9f8f1;
  font-size: 13px;
  color: #0b8a5b;
}

/* =========================================================
   Inner page hero
   ========================================================= */
.page-hero {
  position: relative;
  padding: 142px 0 64px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(90% 130% at 10% 0%, #eaf2ff 0%, rgba(234, 242, 255, 0) 58%),
    linear-gradient(180deg, #f8fbff, #fff);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  line-height: 1.24;
  letter-spacing: -0.022em;
  max-width: 900px;
}

.page-hero-desc {
  margin-top: 18px;
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.88;
  color: var(--muted);
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #8a99ae;
}

.crumb a {
  color: #68788e;
  transition: color 0.2s;
}

.crumb a:hover {
  color: var(--brand);
}

.crumb span {
  color: #c0cbda;
}

.crumb i {
  font-style: normal;
  color: #8998ac;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  list-style: none;
}

.chip-row li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 11.5px;
  color: #41526b;
  letter-spacing: 0.02em;
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.detail-tagline {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--brand);
}

/* =========================================================
   Products
   ========================================================= */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.prod-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.prod-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 104, 227, 0.26);
  box-shadow: 0 28px 54px -40px rgba(10, 40, 90, 0.45);
}

.prod-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.prod-head h2 {
  font-size: 18px;
}

.prod-head .cap-icon {
  margin-bottom: 0;
  width: 44px;
  height: 44px;
}

.prod-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.prod-feats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
  font-size: 12.5px;
  color: #3a4c63;
}

.prod-feats li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.65;
}

.prod-feats .ico {
  margin-top: 3px;
  color: #0b8a5b;
}

.prod-card .cap-more {
  margin-top: auto;
  padding-top: 18px;
}

.prod-card--cta {
  justify-content: center;
  border-style: dashed;
  border-color: #c9dcf7;
  background: linear-gradient(160deg, #f4f9ff, #f2fcf9);
}

.prod-card--cta .cap-more {
  margin-top: 20px;
  padding-top: 0;
  color: var(--brand);
}

/* =========================================================
   Detail layout / sidebar
   ========================================================= */
.detail-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 56px;
  align-items: start;
}

.detail-side,
.about-side {
  position: sticky;
  top: 96px;
}

.side-card {
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.side-card h3 {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #69798f;
}

.side-card > p {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #4e6480;
}

.side-card--accent {
  border-color: #d8e8fb;
  background: linear-gradient(160deg, #f2f7ff, #f0fbf8);
}

.side-card--accent h3 {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

.side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  font-size: 13px;
  color: #3a4c63;
}

.side-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.65;
}

.side-list .ico {
  margin-top: 2px;
  color: var(--brand);
}

.side-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}

.side-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}

.side-links a:hover {
  background: #f4f8fe;
  color: var(--brand);
}

.side-links a span {
  flex: 1;
}

.side-links .ico:first-child {
  color: #7f93ac;
}

.side-links .ico:last-child {
  color: #c0cbda;
}

/* =========================================================
   Prose
   ========================================================= */
.prose {
  font-size: 15.5px;
  line-height: 1.95;
  color: #2b3b50;
}

.prose--article {
  font-size: 16.5px;
}

.prose h2 {
  margin: 48px 0 16px;
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 34px 0 12px;
  font-size: 1.14rem;
  color: var(--ink);
}

.prose h4 {
  margin: 26px 0 10px;
  font-size: 1rem;
  color: var(--ink);
}

.prose p {
  margin: 16px 0;
}

.prose ul,
.prose ol {
  margin: 16px 0;
  padding-left: 1.35em;
}

.prose li {
  margin: 8px 0;
  padding-left: 2px;
}

.prose ul li::marker {
  color: var(--brand);
}

.prose ol li::marker {
  color: var(--brand);
  font-weight: 600;
}

.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose strong {
  font-weight: 650;
  color: var(--ink);
}

.prose blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: #f4f8fe;
  font-size: 15px;
  line-height: 1.85;
  color: #334860;
}

.prose blockquote p {
  margin: 0;
}

.prose code {
  padding: 1px 6px;
  border: 1px solid #e2eaf4;
  border-radius: 5px;
  background: #f1f5fb;
  font-family: var(--mono);
  font-size: 0.87em;
  color: #1b4c8c;
}

.prose pre {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #081326;
  color: #d6e4f5;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.75;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.prose table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: #f5f9fe;
  font-weight: 600;
  color: var(--ink-2);
}

.prose img {
  display: block;
  max-width: 100%;
  margin: 26px 0;
  border-radius: 12px;
}

.prose hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* =========================================================
   Article page
   ========================================================= */
.page-hero--article {
  padding-bottom: 56px;
  border-bottom: 0;
  background: radial-gradient(90% 120% at 15% 0%, #eaf2ff 0%, rgba(234, 242, 255, 0) 60%),
    linear-gradient(180deg, #f8fbff, #fff);
}

.article-title {
  font-size: clamp(1.8rem, 3.1vw, 2.6rem) !important;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.article-lede {
  margin-top: 16px;
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 12.5px;
  color: #7b8ca4;
}

.article-meta > span,
.article-meta > time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta .ico {
  color: #a7b6c9;
}

.article-cover-wrap {
  position: relative;
  z-index: 2;
  margin-top: -20px;
}

.article-cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 34px 60px -46px rgba(10, 30, 70, 0.55);
}

.article-body {
  padding-top: 52px;
  padding-bottom: 8px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: #93a2b6;
  letter-spacing: 0.06em;
}

.article-tags a {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f2f6fc;
  font-size: 12px;
  color: #41526b;
  transition: color 0.2s, border-color 0.2s;
}

.article-tags a:hover {
  color: var(--brand);
  border-color: #b9d2f4;
}

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7fafe;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.author-card b {
  font-size: 14px;
  color: var(--ink);
}

.author-card p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.an-item {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}

.an-item:hover {
  border-color: rgba(22, 104, 227, 0.32);
  transform: translateY(-2px);
}

.an-item span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #93a2b6;
}

.an-item b {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-2);
}

.an-item--next {
  text-align: right;
}

/* =========================================================
   Filters / pager / empty
   ========================================================= */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.filter-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: #4e6480;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-chips a:hover {
  border-color: #bbd3f5;
  color: var(--brand);
}

.filter-chips a.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.filter-chips a span {
  font-size: 11px;
  opacity: 0.6;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  min-width: 290px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 104, 227, 0.1);
}

.search-box .ico {
  color: #93a2b6;
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
}

.search-box button {
  padding: 4px;
  border: 0;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
}

.result-hint {
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}

.result-hint b {
  color: var(--ink);
}

.empty-state {
  padding: 76px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-state > .ico {
  color: #c3d0e0;
}

.empty-state h3 {
  margin-top: 14px;
  font-size: 17px;
}

.empty-state p {
  margin: 8px 0 20px;
  font-size: 13.5px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.pager ul {
  display: flex;
  gap: 6px;
  list-style: none;
}

.pager a,
.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: #4e6480;
  transition: border-color 0.2s, color 0.2s;
}

.pager-btn {
  padding: 0 14px;
}

.pager a:hover,
.pager-btn:hover {
  border-color: #bbd3f5;
  color: var(--brand);
}

.pager a.is-on {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.pager-btn.is-off {
  opacity: 0.42;
  pointer-events: none;
}

/* =========================================================
   About
   ========================================================= */
.fact-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}

.fact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-list span {
  color: #7b8ca4;
}

.fact-list b {
  font-weight: 600;
  color: var(--ink-2);
  text-align: right;
}

.cta-band {
  padding: 60px 0;
  background: var(--dark);
  color: #fff;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.cta-band p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #93a7c0;
  max-width: 560px;
}

.notfound {
  padding: 180px 0 130px;
  text-align: center;
}

.nf-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--brand);
}

.notfound h1 {
  margin: 16px auto 0;
}

.notfound .page-hero-desc {
  margin-left: auto;
  margin-right: auto;
}

.notfound .hero-actions {
  justify-content: center;
  margin-top: 30px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding-top: 72px;
  background: #050d1a;
  color: #8aa0ba;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 50px;
}

.brand--footer .brand-text strong {
  color: #fff;
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand-mark {
  color: #57a8ff;
}

.footer-about {
  margin-top: 16px;
  max-width: 350px;
  font-size: 12.5px;
  line-height: 1.9;
  color: #849ab4;
}

.footer-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  list-style: none;
}

.footer-standards li {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #7e93ad;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dce7f4;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-col a {
  font-size: 12.5px;
  color: #8aa0ba;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
}

.footer-contact span {
  flex: none;
  width: 30px;
  color: #5f748c;
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #6f8399;
}

.footer-base a {
  color: #8799ad;
}

.footer-tip {
  color: #5d7188;
}

.footer-disclaimer {
  padding: 16px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  line-height: 1.85;
  color: #56697f;
}

/* =========================================================
   Reveal animation
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1120px) {
  .hero-inner {
    gap: 40px;
  }

  .detail-layout,
  .about-layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .demo-wrap {
    gap: 44px;
  }
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 59;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -30px rgba(8, 19, 38, 0.5);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    --nav-fg: #0c1a2b;
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    color: #0c1a2b;
    opacity: 1;
  }

  .nav > a.is-active::after {
    display: none;
  }

  .nav > a.nav-cta {
    margin-top: 16px;
    justify-content: center;
    padding: 13px 16px;
    border: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.is-open {
    background: #fff;
    --nav-fg: #0c1a2b;
  }

  .hero {
    padding: 132px 0 84px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-visual {
    max-width: 520px;
    padding: 10px 0 0;
  }

  .hv-chip--b {
    left: -8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 26px 24px;
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .arch {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .arch-arrow {
    display: none;
  }

  .arch-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .arch-label {
    grid-column: 1 / -1;
  }

  .arch-core {
    order: 2;
  }

  .arch-col--right {
    order: 3;
  }

  .arch-notes {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cap-grid,
  .post-grid,
  .post-grid--list {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li {
    border-right: 0;
    padding-right: 20px;
  }

  .steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .detail-layout,
  .about-layout,
  .demo-wrap {
    grid-template-columns: 1fr;
  }

  .detail-side,
  .about-side {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .section-head--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .wrap {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .section--tight {
    padding: 52px 0 72px;
  }

  .page-hero {
    padding: 118px 0 48px;
  }

  .hero {
    padding: 118px 0 68px;
  }

  .hero-desc {
    font-size: 15.5px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-trust {
    margin-top: 30px;
    gap: 8px 16px;
  }

  .hv-flow li {
    grid-template-columns: 30px minmax(0, 1fr);
    row-gap: 6px;
  }

  .hv-pill {
    grid-column: 2;
    justify-self: start;
  }

  .hv-chip {
    display: none;
  }

  .cap-grid,
  .post-grid,
  .post-grid--list,
  .problem-grid,
  .steps,
  .field-row,
  .article-nav {
    grid-template-columns: 1fr;
  }

  .steps li {
    border-right: 0;
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }

  .steps li:first-child {
    border-top: 0;
  }

  .steps li::before {
    display: none;
  }

  .post-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .post-row time {
    text-align: left;
  }

  .post-row .ico {
    display: none;
  }

  .post-row-cat {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat strong {
    font-size: 1.6rem;
  }

  .arch-col,
  .arch-layers {
    grid-template-columns: 1fr;
  }

  .arch-core {
    padding: 16px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-chips a {
    white-space: nowrap;
  }

  .article-cover {
    aspect-ratio: 16 / 10;
  }

  .article-nav {
    gap: 12px;
  }

  .an-item--next {
    text-align: left;
  }

  .demo-form {
    padding: 20px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .post-grid {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hv-panel,
  .hv-live {
    animation: none;
  }
}
