/* =========================================================
   go-dev · AI 数字员工 — 站点样式
   视觉参考：京东云官网
   白底 / 浅灰分区 / 大字号轻字重标题 / 细分割线 / 京东红点缀
   ========================================================= */

:root {
  --ink: #262626;
  --ink-2: #333333;
  --ink-3: #555555;
  --paper: #ffffff;
  --paper-2: #f6f8fa;
  --paper-3: #f5f5f5;
  --text: #262626;
  --muted: #666666;
  --muted-2: #999999;
  --line: #e8e8e8;
  --line-soft: #f0f0f0;
  --line-strong: #e6e6e6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #e1251b;
  --accent-deep: #c81623;
  --accent-bright: #ff8a7e;
  --accent-wash: #fff7f6;
  --danger: #c81623;
  --sans: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", Roboto, Arial, sans-serif;
  --mono: var(--sans);
  --shell: 1240px;
  --gutter: 40px;
  --header-h: 64px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

::selection { background: #ffe9e6; color: #262626; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }

.shell {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn-sm { height: 36px; padding: 0 18px; font-size: 13px; border-radius: 4px; }
.btn-light { background: #ffffff; color: #262626; }
.btn-light:hover { background: #f2f2f2; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #ffffff; background: transparent; }
.btn-ghost:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.btn-ink { background: var(--ink); color: #ffffff; }
.btn-ink:hover { background: #000000; }
.btn-outline { border-color: #dcdfe6; color: #262626; background: #ffffff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.text-link:hover { color: var(--accent); }
.text-link svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-solid { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 1;
}
.brand-name {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: currentColor;
}
.brand-dot {
  width: 5px;
  height: 5px;
  margin: 9px 0 0 4px;
  border-radius: 50%;
  background: var(--accent);
}
.brand-sub {
  margin-left: 13px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 8px;
}
.nav-link {
  position: relative;
  font-size: 14px;
  padding: 22px 0;
  color: #333333;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav-link:hover { color: var(--accent); }
.nav-link.is-current { color: var(--accent); }
.nav-link.is-current::after { transform: scaleX(1); }
.nav-ext {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  color: var(--muted-2);
  transform: translateY(-1px);
  transition: color 0.2s;
}
.nav-link:hover .nav-ext { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.header-phone {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 58px);
  background: #0a0c1e;
  color: #ffffff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 70% 25%, #000 5%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 80% at 70% 25%, #000 5%, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 820px; height: 820px;
  right: -180px; top: -220px;
  background:
    radial-gradient(circle at 55% 45%, rgba(124, 92, 255, 0.38) 0%, rgba(124, 92, 255, 0.1) 45%, transparent 68%),
    radial-gradient(circle at 30% 70%, rgba(46, 91, 255, 0.22) 0%, transparent 55%);
  filter: blur(6px);
}
.hero-ring {
  position: absolute;
  width: 820px; height: 820px;
  right: -60px; top: -40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 90px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
  min-height: 520px;
  padding-bottom: 70px;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0.005em;
  color: #ffffff;
}
.hero h1 .hl {
  font-style: normal;
  background: linear-gradient(92deg, #c7d2fe 8%, #e9d5ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  margin-top: 24px;
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.64);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent-bright);
  border-radius: 50%;
}

/* Hero console */
.hero-media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 570px;
  animation: rise 0.8s var(--ease) both;
}
.console {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  color: var(--text);
}
.console-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #888888;
}
.console-dots { display: flex; gap: 5px; }
.console-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #dddddd;
}
.console-crumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-crumb b { color: #cccccc; font-weight: 400; margin: 0 4px; }
.console-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  white-space: nowrap;
  font-size: 10.5px;
}
.console-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s infinite;
}
.console-body {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 340px;
}
.console-side {
  padding: 16px 12px;
  background: #fafafa;
  border-right: 1px solid var(--line);
}
.side-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #999999;
  padding: 0 8px 10px;
}
.agent {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}
.agent.is-on { background: #fff1ef; box-shadow: inset 2px 0 0 var(--accent); }
.agent-avatar {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: #f0f1f3;
  font-size: 11px;
  color: #777777;
}
.agent.is-on .agent-avatar { background: #ffe3df; color: var(--accent); }
.agent-meta { min-width: 0; line-height: 1.35; }
.agent-meta strong {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: #444444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agent-meta span {
  display: block;
  font-size: 9.5px;
  color: #aaaaaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agent-dot {
  margin-left: auto;
  width: 5px; height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.agent-dot.is-idle { background: #d8d8d8; }

.console-main { padding: 18px 18px 16px; display: flex; flex-direction: column; }
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  color: #888888;
  padding-bottom: 8px;
  border-bottom: 1px solid #f2f2f2;
}
.board-step { color: #b0b0b0; white-space: nowrap; }
.task-list { margin-top: 4px; }
.task-list li {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f4f4f4;
  font-size: 11.5px;
  color: #555555;
}
.task-list li:last-child { border-bottom: 0; }
.tick {
  width: 15px; height: 15px;
  display: grid;
  place-items: center;
  border: 1px solid #dddddd;
  border-radius: 50%;
  color: #ffffff;
}
.tick svg { width: 9px; height: 9px; }
.task-list li.is-done .tick { background: var(--accent); border-color: var(--accent); }
.task-list li.is-active .tick { border-color: var(--accent); background: #fff1ef; }
.task-list li em {
  font-style: normal;
  font-size: 9px;
  color: #bbbbbb;
  white-space: nowrap;
}
.task-list li em.is-wait { color: var(--accent); }
.task-list li.is-active { color: #262626; }
.console-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9.5px;
  color: #999999;
}
.console-foot .bar {
  flex: 1;
  height: 3px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}
.console-foot .bar i {
  display: block;
  width: 60%;
  height: 100%;
  background: var(--accent);
}
.hero-media-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.42);
}
.hero-media-note .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-bright);
}

/* Hero strip */
.hero-strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.strip-stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
}
.strip-stages span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.strip-stages i {
  font-style: normal;
  font-size: 10px;
  color: var(--accent-bright);
}
.strip-note {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
}

/* ---------- Generic section ---------- */
.section {
  padding: 112px 0;
  scroll-margin-top: var(--header-h);
}
.section-head {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 18px;
}
.sec-label span { color: #999999; }
.sec-body { max-width: 760px; margin-inline: auto; }
h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.38;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--text);
}
.sec-lede {
  margin-top: 18px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- Problem ---------- */
.problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-row {
  padding: 32px 32px 36px;
  border-right: 1px solid var(--line);
}
.problem-row:last-child { border-right: 0; }
.problem-no {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--accent);
}
.problem-row h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.problem-row p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Statement ---------- */
.statement { background: #ffffff; padding: 0 0 112px; }
.statement-inner {
  position: relative;
  overflow: hidden;
  padding: 66px 72px;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(124, 92, 255, 0.24), transparent 65%),
    radial-gradient(500px 300px at 8% 90%, rgba(46, 91, 255, 0.16), transparent 65%),
    #0d0f1c;
  color: #ffffff;
}
.statement-kicker {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  margin-bottom: 22px;
}
.statement-text {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.55;
  font-weight: 300;
  color: #ffffff;
}

/* ---------- Workforce ---------- */
.section-workforce { background: var(--paper-2); }
.stage-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 54px;
  border-bottom: 1px solid var(--line);
}
.stage-tab {
  position: relative;
  display: block;
  width: 100%;
  padding: 20px 18px 20px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.stage-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.stage-tab .tab-no {
  display: block;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 8px;
}
.stage-tab .tab-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #333333;
}
.stage-tab .tab-role {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted-2);
}
.stage-tab:hover { color: var(--text); }
.stage-tab[aria-selected="true"] .tab-name { color: var(--ink); }
.stage-tab[aria-selected="true"]::after { transform: scaleX(1); }
.stage-hint {
  display: none;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted-2);
}

.stage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 40px;
  margin-top: 28px;
  padding: 46px 48px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}
.stage-panel.is-swapping { animation: panelIn 0.4s var(--ease); }
.panel-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.stage-panel h3 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.35;
  color: var(--ink);
}
.panel-desc {
  margin-top: 14px;
  max-width: 540px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.panel-dl {
  margin-top: 30px;
  border-top: 1px solid var(--line-soft);
}
.panel-dl > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.panel-dl dt {
  font-size: 12px;
  color: var(--muted-2);
  padding-top: 2px;
}
.panel-dl dd {
  font-size: 13.5px;
  line-height: 1.75;
  color: #444444;
}
.panel-side {
  padding: 28px 28px 24px;
  background: var(--paper-2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.panel-side-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 14px;
}
.panel-side-text {
  font-size: 14px;
  line-height: 1.9;
  color: #333333;
}
.panel-side-mark {
  margin-top: auto;
  padding-top: 28px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

/* ---------- Compare ---------- */
.table-wrap { margin-top: 54px; }
.compare-table { width: 100%; font-size: 14px; }
.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}
.compare-table thead th {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
  white-space: nowrap;
}
.compare-table thead th:first-child { border-radius: 4px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 4px 0 0; }
.compare-table thead th.is-ours { color: var(--accent); }
.compare-table tbody th {
  width: 132px;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  background: #fcfcfc;
}
.compare-table tbody td { color: #444444; }
.compare-table td.is-ours {
  background: var(--accent-wash);
  color: var(--ink);
  font-weight: 500;
}
.compare-table thead th.is-ours { background: #fff1ef; }
.table-hint {
  display: none;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted-2);
}

/* ---------- Pricing ---------- */
.section-pricing { background: var(--paper-2); }
.pricing-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}
.segmented {
  display: inline-flex;
  padding: 4px;
  background: #eceff3;
  border-radius: var(--radius);
}
.segmented-btn {
  padding: 9px 26px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s;
}
.segmented-btn.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.pricing-tip { font-size: 12.5px; color: var(--muted-2); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s;
}
.plan:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }
.plan.is-featured {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.plan-name { font-size: 21px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); }
.plan-flag {
  font-size: 11px;
  color: var(--accent);
  border: 1px solid #ffd2ce;
  background: #fff5f4;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.plan-fit {
  margin-top: 12px;
  min-height: 52px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.plan-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: #444444;
}
.plan-meta span {
  flex: none;
  font-size: 11px;
  color: var(--muted-2);
}
.plan-features {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #555555;
}
.plan-features li svg { width: 13px; height: 13px; margin-top: 4px; color: var(--accent); flex: none; }
.plan .btn { margin-top: 28px; width: 100%; }
.plan.is-featured .btn { background: var(--ink); color: #fff; }
.plan.is-featured .btn:hover { background: #000; }
.pricing-note {
  margin-top: 24px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted-2);
}

/* ---------- Delivery ---------- */
.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--line);
}
.delivery-steps li {
  position: relative;
  padding: 28px 28px 8px 0;
  border-right: 1px solid var(--line-soft);
}
.delivery-steps li:last-child { border-right: 0; padding-right: 0; }
.step-no {
  display: block;
  font-size: 12px;
  color: var(--accent);
}
.delivery-steps h3 {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.step-time {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted-2);
}
.delivery-steps p:last-child {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 250px;
}
.delivery-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 54px;
  padding: 26px 32px;
  background: var(--paper-2);
  border-radius: var(--radius);
}
.delivery-cta p { font-size: 15px; color: #444444; }

/* ---------- Security ---------- */
.section-security { background: var(--paper-2); }
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.security-item {
  padding: 28px 30px 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.security-item h3 { font-size: 18px; font-weight: 600; }
.security-item p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}
.deploy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 16px;
  padding: 22px 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.deploy-label { font-size: 12px; color: var(--muted-2); }
.deploy-options { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.deploy-options span {
  font-size: 14px;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 8px;
}
.deploy-options span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.deploy-row .text-link { margin-left: auto; }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.faq-head .sec-label { margin-bottom: 16px; }
.faq-head h2 { text-align: left; }
.faq-head .text-link { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
  margin-top: 5px;
  color: #999999;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { left: 0; top: 7.5px; width: 16px; height: 1px; }
.faq-icon::after { left: 7.5px; top: 0; width: 1px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 40px 24px 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.section-contact { background: var(--paper-2); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-copy .sec-label { margin-bottom: 18px; }
.contact-copy h2 { text-align: left; }
.contact-lede {
  margin-top: 18px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.contact-direct { margin-top: 34px; }
.contact-person { font-size: 14px; color: #444444; }
.contact-person span {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-left: 8px;
}
.contact-phone {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 300;
  letter-spacing: 0.015em;
  color: var(--accent);
  transition: color 0.2s;
}
.contact-phone:hover { color: var(--accent-deep); }
.contact-response { margin-top: 10px; font-size: 12px; color: var(--muted-2); }

.qr-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.qr-item { width: 148px; }
.qr-btn {
  display: block;
  width: 100%;
  padding: 7px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: zoom-in;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.qr-btn:hover { border-color: #d0d0d0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
.qr-btn img { width: 100%; height: auto; }
.qr-item figcaption { margin-top: 9px; line-height: 1.5; }
.qr-item figcaption strong { display: block; font-size: 12.5px; font-weight: 500; color: #333333; }
.qr-item figcaption span { display: block; font-size: 11px; color: var(--muted-2); }

.lead-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 36px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.form-head h3 { font-size: 20px; font-weight: 600; }
.form-head p { font-size: 11px; color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  color: #555555;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #ffffff;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { height: auto; min-height: 92px; padding: 10px 13px; line-height: 1.7; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23999999' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}
.field input::placeholder,
.field textarea::placeholder { color: #b5b5b5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 37, 27, 0.08);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--danger); background: #fffafa; }
.field-error {
  min-height: 0;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--danger);
}
.btn-submit { width: 100%; margin-top: 8px; }
.form-foot { margin-top: 14px; font-size: 11px; line-height: 1.6; color: var(--muted-2); }

.form-result h3 { font-size: 22px; font-weight: 500; color: var(--ink); }
.form-result > p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.result-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
}
.result-summary {
  margin: 18px 0 0;
  padding: 16px;
  max-height: 220px;
  overflow: auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.9;
  color: #444444;
  white-space: pre-wrap;
  word-break: break-all;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.result-reset {
  margin-top: 20px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--muted);
}
.result-reset:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0a0a;
  color: #999999;
  padding: 56px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.brand-footer { color: #ffffff; }
.brand-footer .brand-sub { border-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.45); }
.footer-desc { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.4); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; align-content: start; }
.footer-links a { font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: #ffffff; }
.footer-contact { text-align: right; }
.footer-contact a { font-size: 18px; font-weight: 400; color: #ffffff; }
.footer-contact p { margin-top: 5px; font-size: 11.5px; color: rgba(255, 255, 255, 0.4); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Modal / toast ---------- */
.qr-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 26px 26px 22px;
  width: min(370px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  border: 0;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  text-align: center;
  overflow: visible;
}
.qr-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.qr-modal img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 2px; }
.qr-modal-title { margin-top: 16px; font-size: 14px; font-weight: 600; }
.qr-modal-note { margin-top: 4px; font-size: 12px; color: var(--muted); }
.qr-close {
  position: absolute;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: #666666;
}
.qr-close svg { width: 12px; height: 12px; }
.qr-close:hover { color: var(--ink); border-color: #cccccc; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 300;
  transform: translate(-50%, 12px);
  padding: 11px 22px;
  background: rgba(38, 38, 38, 0.96);
  color: #ffffff;
  border-radius: 4px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.noscript {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  padding: 14px 20px;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  text-align: center;
}

/* ---------- Reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 37, 27, 0.4); }
  70% { box-shadow: 0 0 0 5px rgba(225, 37, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 37, 27, 0); }
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav { gap: 26px; }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 58px;
  }
  .hero-media { justify-self: start; max-width: 620px; }
  .hero-copy { max-width: 680px; }
  .hero-ring { opacity: 0.6; }
  .stage-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
  .panel-side { padding: 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .lead-card { max-width: 640px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { text-align: left; }
}

@media (max-width: 900px) {
  :root { --gutter: 26px; }
  .section { padding: 82px 0; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px var(--gutter) 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav-link::after { display: none; }
  .nav-toggle { display: block; }
  .section-head { text-align: left; }
  .sec-body { margin-inline: 0; }
  .sec-lede { margin-left: 0; }
  .problem-list { grid-template-columns: 1fr; margin-top: 42px; }
  .problem-row { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-row:last-child { border-bottom: 0; }
  .problem-row h3 { font-size: 18px; }
  .statement { padding-bottom: 82px; }
  .statement-inner { padding: 42px 32px; }
  .stage-rail {
    display: flex;
    overflow-x: auto;
    margin-top: 40px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .stage-rail::-webkit-scrollbar { display: none; }
  .stage-tab { flex: 0 0 auto; width: auto; min-width: 148px; padding-right: 24px; scroll-snap-align: start; }
  .stage-hint { display: block; }
  .stage-panel { margin-top: 20px; }
  .table-wrap { overflow: visible; margin-top: 40px; }
  .compare-table { display: block; min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table tbody { display: block; }
  .compare-table tbody tr { display: block; padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
  .compare-table tbody tr:last-child { border-bottom: 0; }
  .compare-table tbody th {
    display: block;
    width: auto;
    padding: 14px 0 8px;
    border: 0;
    background: transparent;
    font-size: 11px;
    color: var(--muted-2);
  }
  .compare-table tbody td {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 10px;
    padding: 7px 0;
    border: 0;
    font-size: 13.5px;
  }
  .compare-table tbody td::before {
    content: attr(data-label);
    font-size: 9.5px;
    color: var(--muted-2);
    padding-top: 4px;
  }
  .compare-table td.is-ours {
    margin-top: 6px;
    padding: 10px 12px;
    border-left: 2px solid var(--accent);
  }
  .compare-table td.is-ours::before { color: var(--accent); }
  .table-hint { display: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }
  .plan-fit { min-height: 0; }
  .delivery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; }
  .delivery-steps li { padding: 24px 24px 20px 0; border-bottom: 1px solid var(--line-soft); }
  .delivery-steps li:nth-child(2) { border-right: 0; }
  .delivery-steps li:nth-child(3),
  .delivery-steps li:nth-child(4) { border-bottom: 0; }
  .security-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .deploy-row .text-link { margin-left: 0; }
  .section-contact { padding: 82px 0; }
  .lead-card { padding: 28px 24px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .header-inner { gap: 16px; }
  .header-actions { gap: 12px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero h1 { font-size: clamp(34px, 8.4vw, 42px); }
  .hero-lede { font-size: 14.5px; margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-points { gap: 8px 18px; margin-top: 26px; padding-top: 16px; font-size: 11.5px; }
  .console-body { grid-template-columns: 158px minmax(0, 1fr); }
  .agent-meta span { display: none; }
  .hero-strip { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 0 20px; }
  .strip-stages { width: 100%; gap: 8px; }
  .strip-stages span { font-size: 11px; gap: 4px; flex-direction: column; align-items: flex-start; }
  .strip-note { display: none; }
  .statement-inner { padding: 32px 24px; }
  .statement-text { font-size: 25px; }
  .stage-panel { padding: 26px 22px; }
  .panel-dl > div { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
  .pricing-toolbar { margin-top: 34px; }
  .delivery-cta { margin-top: 40px; align-items: flex-start; flex-direction: column; padding: 22px; }
  .delivery-cta .btn { width: 100%; }
  .segmented { width: 100%; }
  .segmented-btn { flex: 1; padding: 9px 8px; }
  .qr-row { gap: 12px; }
  .qr-item { width: calc(50% - 6px); max-width: 150px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .brand-sub { display: none; }
  .header-actions .btn { height: 34px; padding: 0 14px; font-size: 12.5px; }
  .hero h1 { letter-spacing: -0.01em; }
  .console-body { grid-template-columns: 1fr; }
  .console-side { display: none; }
  .console-main { padding: 16px 14px; }
  .task-list li { font-size: 11px; }
  .hero-media-note { font-size: 9.5px; }
  .stage-tab { min-width: 132px; }
  .problem-row { padding: 20px 0; }
  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-steps li { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-right: 0; }
  .delivery-steps li:nth-child(3) { border-bottom: 1px solid var(--line-soft); }
  .delivery-steps li:last-child { border-bottom: 0; }
  .deploy-row { padding: 18px 20px; }
  .lead-card { padding: 22px 18px; }
  .contact-phone { font-size: 26px; }
  .result-actions .btn { flex: 1 1 auto; }
  .footer-contact a { font-size: 16px; }
}

@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;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
