:root {
  --brand: #e63138;
  --brand-strong: #bd1f26;
  --brand-soft: #fff1f2;
  --brand-line: #f4b4b8;
  --primary: #e63138;
  --primary-strong: #bd1f26;
  --primary-soft: #fff1f2;
  --primary-line: #f4b4b8;
  --ink: #1a1a1e;
  --text: #24242a;
  --muted: #686c75;
  --subtle: #9498a1;
  --paper: #fafafa;
  --surface: #ffffff;
  --surface-soft: #f4f4f5;
  --surface-warm: #fbfaf8;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --green: #158257;
  --green-soft: #ecfdf3;
  --yellow: #b7791f;
  --yellow-soft: #fff8e6;
  --status-red: #c92d35;
  --status-red-soft: #fff0f0;
  --blue: #285f8f;
  --blue-soft: #eef6fb;
  --code: #111113;
  --shadow-sm: 0 10px 28px rgba(12, 12, 12, 0.07);
  --shadow-md: 0 24px 68px rgba(12, 12, 12, 0.1);
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #fafafa 40%, #f4f4f5 100%);
  font-family: Inter, "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.64;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(230, 49, 56, 0.24);
  outline-offset: 2px;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 62px;
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  font-size: 34px;
  line-height: 1.16;
  font-weight: 780;
}

h3 {
  font-weight: 740;
}

p {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-strong);
  border-color: var(--primary-line);
  background: var(--surface);
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 86px 0 62px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #fafafa 72%, #f4f4f5 100%);
}

.hero::before,
.hero-scene,
.node,
.line,
.terminal-ghost {
  display: none;
}

.hero-layout {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.hero-content {
  width: auto;
  padding: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 780;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.72;
}

.text-highlight {
  display: inline;
  padding: 0 10px 4px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--brand);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.13), 0 12px 24px rgba(230, 49, 56, 0.18);
}

.headline-line {
  display: block;
  width: fit-content;
}

.inline-icon,
.button-icon,
.tag-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-icon {
  width: 17px;
  height: 17px;
}

.tag-icon {
  width: 14px;
  height: 14px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.trust-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px 6px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(12, 12, 12, 0.05);
  font-size: 13px;
  font-weight: 760;
}

.trust-chip strong {
  font: inherit;
}

.trust-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 14px;
  line-height: 1;
}

.trust-icon .inline-icon {
  width: 15px;
  height: 15px;
}

.trust-green .trust-icon {
  color: var(--green);
  background: var(--green-soft);
}

.trust-blue .trust-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.trust-red .trust-icon {
  color: var(--brand);
  background: var(--brand-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
  line-height: 1.25;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 150ms var(--ease-enter),
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:active {
  transform: scale(0.97);
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 12px 26px rgba(230, 49, 56, 0.2);
}

.button.primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.button.secondary,
.button.light {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}

.button.dark {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.hero-art-card {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 250, 250, 0.82));
  box-shadow:
    0 26px 80px rgba(12, 12, 12, 0.12),
    0 0 0 1px rgba(212, 212, 216, 0.86);
}

.hero-art-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-art-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1586 / 992;
  object-fit: cover;
}

.hero-art-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(212, 212, 216, 0.76);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-style: normal;
}

.hero-art-caption strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
  white-space: nowrap;
}

.hero-art-caption i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #27ba45;
  box-shadow: 0 0 0 5px rgba(39, 186, 69, 0.13);
}

.panel-header {
  min-height: 48px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 760;
}

.panel-time {
  color: var(--subtle);
  font-size: 13px;
}

.status-visual {
  min-height: 170px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f4f5 54%, #fff1f2 100%);
  border-bottom: 1px solid var(--line);
}

.visual-node {
  min-height: 92px;
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(12, 12, 12, 0.06);
}

.visual-node svg {
  width: 28px;
  height: 28px;
}

.visual-node span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.visual-node.exit {
  color: var(--brand);
}

.visual-path {
  height: 92px;
  position: relative;
}

.visual-path::before,
.visual-path::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.18), rgba(230, 49, 56, 0.5));
}

.visual-path::before {
  top: 35%;
  transform: rotate(8deg);
}

.visual-path::after {
  top: 62%;
  transform: rotate(-8deg);
}

.visual-path span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 7px rgba(12, 12, 12, 0.08);
}

.visual-path span:first-child {
  top: 29%;
  left: 24%;
  animation: route-pulse 1800ms var(--ease-enter) infinite;
}

.visual-path span:last-child {
  top: 59%;
  right: 24%;
  background: var(--brand);
  box-shadow: 0 0 0 7px rgba(230, 49, 56, 0.12);
  animation: route-pulse 1800ms var(--ease-enter) 520ms infinite;
}

.status-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.status-card {
  min-height: 104px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.status-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

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

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.status-table th,
.status-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.status-table th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

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

.product-note {
  padding: 14px 15px;
  border-top: 1px solid var(--line);
  color: #7a2026;
  background: var(--brand-soft);
  font-size: 14px;
}

.pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.pill.green {
  color: #0f6845;
  border-color: #b7e3ca;
  background: var(--green-soft);
}

.pill.yellow {
  color: #7a4c0b;
  border-color: #ebd5a8;
  background: var(--yellow-soft);
}

.pill.red {
  color: #8e242b;
  border-color: #efb6ba;
  background: var(--status-red-soft);
}

.section {
  padding: 70px 0;
}

.section.soft {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.deep {
  color: var(--text);
  background:
    linear-gradient(180deg, #f4f4f5 0%, #fafafa 100%);
  border-top: 1px solid var(--line);
}

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

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2,
.page-title h1 {
  margin-bottom: 10px;
}

.section-head p,
.page-title p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.deep .section-head p,
.deep .muted {
  color: var(--muted);
}

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

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 21px;
  background: var(--surface);
  box-shadow: none;
  transition:
    transform 160ms var(--ease-enter),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 18px;
  line-height: 1.25;
}

.card h3::before,
.roadmap-item h3::before,
.step-card h3::before,
.resource-top h3::before,
.article-item h2::before,
.article-card h2::before,
.source-card strong::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--primary-line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, #ffffff, var(--brand-soft));
  box-shadow: inset 0 0 0 6px rgba(230, 49, 56, 0.08);
}

.quick-guide .card h3::before {
  display: none;
}

.roadmap-item h3,
.step-card h3,
.resource-top h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.25;
}

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

.card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.metric {
  min-height: 106px;
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}

.metric::before {
  content: "";
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 18px;
  border: 1px solid var(--primary-line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(230, 49, 56, 0.14), rgba(255, 255, 255, 0.95));
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.metric span {
  color: var(--muted);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(21, 130, 87, 0.12);
}

.status-dot.yellow {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(183, 121, 31, 0.14);
}

.status-dot.red {
  background: var(--status-red);
  box-shadow: 0 0 0 3px rgba(201, 45, 53, 0.14);
}

.product-strip {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: start;
}

.console {
  border-radius: 8px;
  border: 1px solid #27272a;
  overflow: hidden;
  background: var(--code);
  color: #f5f5f5;
  box-shadow: var(--shadow-sm);
}

.console-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid #27272a;
}

.console-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--status-red);
}

.console-bar span:nth-child(2) {
  background: var(--yellow);
}

.console-bar span:nth-child(3) {
  background: var(--green);
}

.console-body {
  padding: 18px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.console-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-line strong {
  text-align: right;
}

.console-line:last-child {
  border-bottom: 0;
}

.page-hero {
  padding: 66px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.page-title {
  max-width: 850px;
}

.page-title h1 {
  font-size: 46px;
  line-height: 1.12;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
  gap: 42px;
  align-items: center;
}

.page-visual {
  min-height: 280px;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, #ffffff, #f4f4f5);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.page-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(230, 49, 56, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

.menu-preview {
  position: relative;
  z-index: 1;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(12, 12, 12, 0.06);
}

.app-dot {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--brand);
}

.app-dot svg {
  width: 24px;
  height: 24px;
}

.menu-preview strong {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  color: var(--ink);
}

.visual-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.visual-stack div,
.node-strip span,
.knowledge-grid span {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.visual-stack span,
.node-strip span,
.knowledge-grid span {
  color: var(--muted);
}

.visual-stack strong {
  margin-left: auto;
  color: var(--ink);
}

.lock-card,
.knowledge-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(12, 12, 12, 0.06);
}

.lock-card svg,
.knowledge-card > svg {
  width: 42px;
  height: 42px;
  color: var(--brand);
}

.lock-card strong,
.knowledge-card strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.lock-card span,
.knowledge-card span {
  color: var(--muted);
}

.node-strip,
.knowledge-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.download-box {
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--primary);
  border-radius: 8px;
  padding: 26px;
  color: var(--text);
  background:
    linear-gradient(135deg, #ffffff, #fff1f2);
  box-shadow: var(--shadow-sm);
}

.download-box p {
  color: var(--muted);
}

.install-note {
  margin-top: 20px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.install-note h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.install-note p {
  margin-bottom: 12px;
  font-size: 14px;
}

.install-note .code-block {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.report-box {
  min-height: 320px;
  margin: 0;
  border-radius: 8px;
  padding: 22px;
  color: #f5f5f5;
  background: var(--code);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  box-shadow: var(--shadow-sm);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.roadmap-item {
  min-height: 170px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.roadmap-item span,
.step-card span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
}

.roadmap-item p {
  color: var(--muted);
}

.code-block {
  overflow-x: auto;
  border-radius: 8px;
  padding: 16px;
  color: #f5f5f5;
  background:
    linear-gradient(180deg, #111827 0%, #0f172a 100%);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
}

.access-panel {
  max-width: 640px;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--primary);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(135deg, #ffffff, #fff1f2);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  background: var(--surface);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 49, 56, 0.1);
}

.form-row.has-error {
  animation: error-nudge 180ms var(--ease-move);
}

.form-row.has-error input {
  border-color: var(--status-red);
  box-shadow: 0 0 0 4px rgba(201, 45, 53, 0.1);
}

.hidden {
  display: none !important;
}

.note {
  border-left: 4px solid var(--yellow);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  background: var(--yellow-soft);
  color: #6e531b;
}

.section-spaced {
  margin-top: 52px;
}

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

.resource-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  box-shadow: none;
}

.resource-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.resource-top h3 {
  margin-bottom: 0;
}

.resource-card p,
.resource-card dd {
  color: var(--muted);
}

.resource-card dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.resource-card dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.resource-card dt {
  color: var(--ink);
  font-weight: 760;
}

.resource-card dd {
  margin: 0;
}

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

.step-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  box-shadow: none;
}

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

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}

.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.table th {
  color: var(--muted);
  background: var(--surface-soft);
  font-weight: 760;
}

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

.article-hub {
  display: grid;
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.article-diagnostic {
  position: sticky;
  top: 90px;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--primary);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, #ffffff, #fff1f2);
  box-shadow: var(--shadow-sm);
}

.article-diagnostic h2 {
  margin: 12px 0 18px;
  font-size: 25px;
  line-height: 1.18;
}

.article-diagnostic ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 20px;
}

.article-diagnostic li {
  color: var(--muted);
}

.article-diagnostic strong {
  color: var(--ink);
}

.article-index-panel {
  min-width: 0;
}

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

.article-item {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: var(--surface);
  box-shadow: none;
  transition:
    transform 160ms var(--ease-enter),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.article-item h2 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 19px;
  line-height: 1.24;
}

.article-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.article-tag {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  color: var(--primary-strong);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 760;
}

.article-body {
  max-width: none;
}

.quick-guide {
  margin-bottom: 36px;
}

.quick-guide h2 {
  margin-bottom: 18px;
}

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

.article-card {
  scroll-margin-top: 92px;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: none;
}

.article-card.featured {
  grid-column: 1 / -1;
  min-height: auto;
  border-color: var(--primary-line);
  background:
    linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
}

.article-card h2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 12px;
  font-size: 25px;
  line-height: 1.18;
}

.article-card h3 {
  margin: 18px 0 7px;
  font-size: 15px;
  line-height: 1.25;
}

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

.article-lede {
  color: var(--text) !important;
  font-size: 16px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.process-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.process-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.source-panel {
  scroll-margin-top: 92px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

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

.source-card {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  box-shadow: none;
  transition:
    transform 160ms var(--ease-enter),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.source-card strong {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  line-height: 1.25;
}

.source-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  padding: 30px 0;
  color: #d8d8de;
  background: var(--ink);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: #ffffff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-weight: 780;
}

.motion-ready .motion-item {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 220ms var(--ease-enter),
    transform 220ms var(--ease-enter);
  transition-delay: var(--motion-delay, 0ms);
}

.motion-ready .motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.unlocking {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.unlocking.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 220ms var(--ease-enter),
    transform 220ms var(--ease-enter);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translate3d(0, -1px, 0);
  }

  .card:hover,
  .resource-card:hover,
  .step-card:hover,
  .roadmap-item:hover,
  .article-item:hover,
  .article-card:hover,
  .source-card:hover {
    transform: translate3d(0, -2px, 0);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 56px;
  }

  .hero-layout,
  .product-strip,
  .download-panel,
  .split-panel,
  .article-hub,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art-card {
    max-width: 720px;
  }

  .page-visual {
    max-width: 620px;
  }

  .article-diagnostic {
    position: static;
  }

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

@media (max-width: 900px) {
  .site-header {
    top: 8px;
  }

  .nav {
    min-height: auto;
    padding: 12px;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 8px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .motion-ready .motion-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .grid.three,
  .grid.two,
  .grid.four,
  .metric-band,
  .status-summary,
  .roadmap,
  .resource-grid,
  .steps,
  .article-list,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  h2,
  .page-title h1 {
    font-size: 30px;
  }

  .hero {
    padding: 86px 0 44px;
  }

  .page-hero {
    padding: 86px 0 38px;
  }

  .nav-links a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }

  .form-row,
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .text-highlight {
    padding: 0 8px 3px;
  }

  .hero-copy,
  .section-head p,
  .page-title p {
    font-size: 16px;
  }

  .trust-chip {
    width: 100%;
  }

  .hero-art-caption {
    position: static;
    border-width: 1px 0 0;
    border-radius: 0;
    background: var(--surface);
    backdrop-filter: none;
  }

  .hero-art-image {
    min-height: 250px;
    object-position: 42% center;
  }

  .page-visual {
    min-height: auto;
    padding: 16px;
  }

  .menu-preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-preview strong {
    font-size: 20px;
  }

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

  .status-table th,
  .status-table td,
  .table th,
  .table td {
    padding: 10px;
  }

  .console-line {
    flex-direction: column;
    gap: 4px;
  }

  .console-line strong {
    text-align: left;
  }

  .article-diagnostic,
  .article-card {
    padding: 18px;
  }

  .process-list,
  .source-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .motion-item,
  .unlocking {
    opacity: 1;
    transform: none;
  }

  .visual-path span {
    animation: none !important;
  }
}

@keyframes error-nudge {
  0% {
    transform: translate3d(0, 0, 0);
  }

  35% {
    transform: translate3d(-5px, 0, 0);
  }

  70% {
    transform: translate3d(4px, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes route-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.65;
  }

  48% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.65;
  }
}
