/* ==========================================================================
   JDX DIGITAL — 佳德兴数字科技
   Design system: light, editorial, engineered.
   ========================================================================== */

:root {
  --bg: #f6f7fa;
  --bg-soft: #f1f3f8;
  --surface: #ffffff;
  --ink: #0d1424;
  --ink-soft: #263149;
  --muted: #5f6b7c;
  --muted-2: #5f6b7c;
  --line: #e4e7ee;
  --line-soft: #edf0f5;
  --cobalt: #335cff;
  --cobalt-deep: #2345d8;
  --cobalt-wash: #eef2ff;
  --violet: #7b5cff;
  --mint: #cdf56f;
  --mint-soft: #effbdc;
  --green: #12845b;
  --amber: #c77700;
  --danger: #cf3b2f;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --brand-logo-h: 50px;          /* 页头横版字标高度（唯一真源） */
  --shadow-card: 0 1px 2px rgba(13, 20, 36, 0.04), 0 18px 40px -28px rgba(13, 20, 36, 0.18);
  --shadow-lift: 0 2px 4px rgba(13, 20, 36, 0.04), 0 32px 70px -36px rgba(20, 32, 70, 0.32);
  --font-sans: "Inter", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "JetBrains Mono", "Roboto Mono", Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--cobalt);
  color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #eef0f5;
}
::-webkit-scrollbar-thumb {
  background: #c9cedb;
  border: 3px solid #eef0f5;
  border-radius: 99px;
}

.container {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2); line-height: 1.5;}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 5px;
  border: 1px solid rgba(51, 92, 255, 0.28);
  border-radius: 4px;
  color: var(--cobalt);
  font-size: 12px;
  letter-spacing: 0.04em; line-height: 1.5;}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(51, 92, 255, 0.1);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 132, 91, 0.09);
  flex: none;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.35s ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .icon {
  transform: translate(2px, -2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(13, 20, 36, 0.5);
}

.btn-primary:hover {
  background: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -16px rgba(51, 92, 255, 0.65);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding-inline: 6px;
  border-radius: 6px;
  height: auto;
}

.btn-ghost:hover {
  color: var(--cobalt);
}

.btn-ghost .icon {
  width: 17px;
  height: 17px;
}

.btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

.round-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-out);
}

.round-link:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
  transform: rotate(45deg);
}

.round-link .icon {
  width: 17px;
  height: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
  color: var(--cobalt);
  border-color: var(--cobalt);
}

.text-link .icon {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(247, 248, 251, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(13, 20, 36, 0.07);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 5px 10px rgba(30, 42, 78, 0.12));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  line-height: 1.5;
}
/* 横版透明字标（替换旧「方形图标 + 文字」组合） */
.brand-logo {
  display: block;
  width: auto;
  height: var(--brand-logo-h, 50px);
  max-width: 100%;
  object-fit: contain;
  filter: none;
}

.footer-brand .brand-logo {
  height: calc(var(--brand-logo-h, 50px) + 4px);
}


.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
}

.desktop-nav a {
  position: relative;
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cobalt);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
}

.desktop-nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.header-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.menu-toggle .icon {
  width: 18px;
  height: 18px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 18px 32px 40px;
  background: #f9fafc;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(13, 20, 36, 0.25);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.mobile-nav a em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2); line-height: 1.5;}

.mobile-menu-cta {
  width: 100%;
  margin-top: 24px;
}

.mobile-menu-meta {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-2); line-height: 1.5;}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 158px;
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(51, 92, 255, 0.09), transparent 62%),
    radial-gradient(900px 700px at 8% 30%, rgba(123, 92, 255, 0.055), transparent 60%),
    linear-gradient(180deg, #f8f9fc 0%, #f6f7fa 100%);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 62%;
  height: 88%;
  background-image: linear-gradient(rgba(13, 20, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 20, 36, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 75% 25%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 75% 25%, #000 10%, transparent 72%);
  opacity: 0.75;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
}

.hero-orb-a {
  width: 380px;
  height: 380px;
  top: 40px;
  right: 6%;
  background: radial-gradient(circle, rgba(51, 92, 255, 0.2), transparent 68%);
}

.hero-orb-b {
  width: 300px;
  height: 300px;
  top: 330px;
  right: 38%;
  background: radial-gradient(circle, rgba(205, 245, 111, 0.18), transparent 70%);
}

.hero-cross {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(51, 92, 255, 0.35);
}

.hero-cross-a {
  top: 180px;
  left: 48%;
}

.hero-cross-b {
  bottom: 190px;
  right: 4%;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-bottom: 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 24px 0 36px;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(46px, 5.3vw, 74px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.highlight {
  position: relative;
  display: inline-block;
  color: var(--cobalt);
  z-index: 0;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 1%;
  right: 0;
  bottom: 0.08em;
  height: 0.12em;
  background: linear-gradient(90deg, rgba(51, 92, 255, 0.22), rgba(123, 92, 255, 0.3));
  border-radius: 999px;
  transform: skewX(-14deg) rotate(-1deg);
  z-index: -1;
}

.hero-lead {
  max-width: 510px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}

/* Hero console */

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  justify-self: end;
  padding: 20px 0 40px;
}

.console {
  position: relative;
  border: 1px solid rgba(13, 20, 36, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 48px 100px -42px rgba(20, 32, 70, 0.45), 0 2px 6px rgba(13, 20, 36, 0.04);
  transform: rotate(-1.3deg);
  transition: transform 0.7s var(--ease-out);
  overflow: hidden;
}

.hero-visual:hover .console {
  transform: rotate(0deg) translateY(-3px);
}

.console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 220px at 100% 0%, rgba(51, 92, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.console-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  background: rgba(248, 249, 252, 0.9);
  border-bottom: 1px solid var(--line-soft);
}

.console-dots {
  display: flex;
  gap: 4px;
}

.console-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9dde6;
}

.console-dots i:first-child {
  background: #f0b7b2;
}

.console-dots i:nth-child(2) {
  background: #f2d9a2;
}

.console-dots i:nth-child(3) {
  background: #bcd8b4;
}

.console-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted-2); line-height: 1.5;}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green); line-height: 1.5;}

.console-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s infinite;
}

.console-body {
  padding: 20px;
}

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

.console-heading h2 {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap; line-height: 1.5;}

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

.chip-mint {
  background: var(--mint-soft);
  color: #3f6b0a;
}

.chip-blue {
  background: #eef3ff;
  color: #3355c8;
}

.chip-amber {
  background: #fff4e2;
  color: #94580a;
}

.sprint-list {
  margin-top: 16px;
}

.sprint-list li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}

.sprint-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--cobalt);
}

.sprint-check .icon {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}

.sprint-check-progress {
  background: #fff4e2;
  color: var(--amber);
}

.sprint-check-progress .icon {
  transform: rotate(45deg);
}

.sprint-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sprint-main b {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sprint-main small {
  font-size: 12px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; line-height: 1.5;}

.console-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(51, 92, 255, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, #f6f8ff, #fbfcff);
}

.console-panel-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted); line-height: 1.5;}

.console-up {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em; line-height: 1.5;}

.console-metric {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 6px;
}

.console-metric strong {
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.console-metric span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.console-metric em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  color: var(--muted-2); line-height: 1.5;}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
  margin-top: 10px;
}

.mini-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 1px 1px;
  background: #dfe6fb;
  transition: height 0.6s ease;
}

.mini-bars i:nth-child(3n) {
  background: #c9d6fa;
}

.mini-bars i.is-now {
  background: var(--cobalt);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(13, 20, 36, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -22px rgba(20, 32, 70, 0.35);
  animation: floaty 7s ease-in-out infinite alternate;
}

.float-card b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.float-card small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: var(--muted-2); line-height: 1.5;}

.float-score {
  top: 0;
  right: -22px;
}

.float-speed {
  left: -34px;
  bottom: 14px;
  animation-delay: -2.4s;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(var(--cobalt) 0 99%, #e9edf7 99% 100%);
  position: relative;
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

.score-ring span {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cobalt);
}

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--mint-soft);
  color: #4b7a0e;
}

.float-icon .icon {
  width: 16px;
  height: 16px;
}

/* Stats */

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border-top: 1px solid rgba(13, 20, 36, 0.09);
}

.stat {
  padding: 26px 0 30px 34px;
  border-left: 1px solid rgba(13, 20, 36, 0.07);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-value small {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--cobalt);
  font-weight: 600;
}

.stat-label {
  margin-top: 9px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Client logos
   -------------------------------------------------------------------------- */

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

.logo-strip-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 28px 0;
}

.logo-strip-label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  line-height: 1.7;
  text-transform: uppercase;
}

.logo-strip-label span {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
}

.logo-row {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.client-logo {
  font-size: 15px;
  color: #5f6b7c;
  white-space: nowrap;
  transition: color 0.25s ease;
  cursor: default;
}

.client-logo:hover {
  color: var(--ink);
}

a.client-logo {
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

a.client-logo:hover,
a.client-logo:focus-visible {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.logo-serif {
  font-family: "Songti SC", "SimSun", Georgia, serif;
  font-size: 17px;
  letter-spacing: 0.12em;
}

.logo-wide {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.logo-strong {
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 14px;
}

.logo-soft {
  font-weight: 300;
  letter-spacing: 0.22em;
  font-size: 14px;
}

.logo-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.logo-serif2 {
  font-family: "Songti SC", "SimSun", Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.18em;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(72px, 6.6vw, 92px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.72fr);
  align-items: end;
  gap: clamp(32px, 6vw, 90px);
  margin-bottom: clamp(24px, 2.6vw, 32px);
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.section-lead {
  max-width: 400px;
  padding-bottom: 5px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.section-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}

.section-note a {
  color: var(--cobalt);
  font-weight: 500;
  margin-left: 6px;
}

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

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services {
  background: var(--bg);
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.07), transparent 68%);
  pointer-events: none;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 338px;
  padding: 30px 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 92, 255, 0.09), transparent 68%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(51, 92, 255, 0.26);
}

.service-card:hover::after {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(51, 92, 255, 0.14);
  border-radius: 14px;
  background: var(--cobalt-wash);
  color: var(--cobalt);
}

.service-icon .icon {
  width: 21px;
  height: 21px;
}

.service-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2); line-height: 1.5;}

.service-content {
  margin-top: 26px;
}

.service-content h2, .service-content h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.service-content p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 420px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag-list li {
  padding: 4px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #f8f9fb;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.service-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 26px;
}

.service-foot p {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-meta {
  font-size: 12px;
  color: var(--muted-2);
}

.service-card-dark {
  border-color: #131c31;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(51, 92, 255, 0.28), transparent 68%),
    #0e1526;
  color: #fff;
}

.service-card-dark::after {
  background: radial-gradient(circle, rgba(205, 245, 111, 0.12), transparent 68%);
}

.service-card-dark:hover {
  border-color: rgba(205, 245, 111, 0.3);
}

.service-card-dark .service-icon {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--mint);
}

.service-card-dark .service-index {
  color: rgba(255, 255, 255, 0.38);
}

.service-card-dark .service-content p {
  color: rgba(255, 255, 255, 0.6);
}

.service-card-dark .tag-list li {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
}

.service-card-dark .service-meta {
  color: rgba(255, 255, 255, 0.45);
}

.service-card-dark .round-link {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.service-card-dark .round-link:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Work / cases
   -------------------------------------------------------------------------- */

.work {
  background: var(--surface);
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafbfc;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease;
}

.filter span {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.6; line-height: 1.5;}

.filter:hover {
  color: var(--ink);
  background: #fff;
}

.filter.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 12px -8px rgba(13, 20, 36, 0.6);
}

.filter.is-active span {
  opacity: 0.55;
}

.work-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  white-space: nowrap; line-height: 1.5;}

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

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.35s ease;
  animation: cardIn 0.55s var(--ease-out) both;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(51, 92, 255, 0.24);
}

.case-hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: inherit;
}

.case-hit:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: -5px;
}

.case-art {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background: #edf1fa;
}

.case-art svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease-out);
}

.case-card:hover .case-art svg {
  transform: scale(1.025);
}

.case-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(13, 20, 36, 0.06));
  pointer-events: none;
}

.case-hover {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; line-height: 1.5;}

.case-hover .icon {
  width: 12px;
  height: 12px;
}

.case-card:hover .case-hover {
  opacity: 1;
  transform: translateY(0);
}

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

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.case-client {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--ink-soft);
}

.case-client::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cobalt);
}

.case-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2); line-height: 1.5;}

.case-body h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.case-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.case-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.case-metric {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.case-metric strong {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}

.case-metric small {
  font-size: 12px;
  color: var(--muted-2); line-height: 1.5;}

.case-tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap; line-height: 1.5;}

.case-empty {
  grid-column: 1 / -1;
  padding: 60px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 13px;
}

.case-skeleton {
  height: 430px;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, #f2f4f8 20%, #f8f9fc 40%, #f2f4f8 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process {
  background:
    radial-gradient(800px 500px at 0% 100%, rgba(51, 92, 255, 0.05), transparent 65%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 108px;
}

.process-intro h2 {
  margin-top: 18px;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.process-intro .section-lead {
  margin-top: 22px;
}

.process-side-card {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.process-side-card ul {
  margin-top: 14px;
}

.process-side-card li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.process-side-card li span {
  flex: none;
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 12px;
  padding-top: 2px; line-height: 1.5;}

.avatar-row {
  display: flex;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.avatar + .avatar {
  margin-left: -9px;
}

.avatar-a {
  background: #dfe7ff;
}
.avatar-b {
  background: #e2f5cb;
}
.avatar-c {
  background: #ffe8d4;
}

.avatar-row p {
  margin-left: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.avatar-row small {
  color: var(--muted-2);
  font-size: 12px; line-height: 1.5;}

.process-list {
  border-top: 1px solid rgba(13, 20, 36, 0.12);
}

.process-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 28px 22px;
  margin: 0 -22px;
  border-bottom: 1px solid rgba(13, 20, 36, 0.1);
  border-radius: 16px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px -24px rgba(13, 20, 36, 0.3);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cobalt);
  padding-top: 7px; line-height: 1.5;}

.step-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step-title h2, .step-title h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.step-tag {
  flex: none;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted); line-height: 1.5;}

.step-body p {
  margin-top: 8px;
  max-width: 580px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Stack
   -------------------------------------------------------------------------- */

.stack {
  background: var(--surface);
}

.stack-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #fbfcfe);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.stack-column {
  padding: 30px 25px;
  border-left: 1px solid var(--line-soft);
  transition: background 0.35s ease;
}

.stack-column:first-child {
  border-left: 0;
}

.stack-column:hover {
  background: rgba(246, 248, 255, 0.7);
}

.stack-head h2, .stack-head h3 {
  margin-top: 7px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stack-column > p {
  margin-top: 12px;
  min-height: 74px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.tech-chips li {
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: #f7f8fb;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; line-height: 1.5;}

.stack-column:hover .tech-chips li {
  border-color: rgba(51, 92, 255, 0.14);
  background: #fff;
}

.tech-chips li:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

/* --------------------------------------------------------------------------
   Estimator
   -------------------------------------------------------------------------- */

.estimator-section {
  background:
    radial-gradient(900px 600px at 90% 0%, rgba(51, 92, 255, 0.1), transparent 62%),
    linear-gradient(180deg, #f4f6fb 0%, #eef2fc 55%, #f6f7fa 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.estimator {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  border: 1px solid rgba(13, 20, 36, 0.1);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 40px 90px -50px rgba(20, 32, 70, 0.4);
  overflow: hidden;
}

.estimator-controls {
  padding: clamp(24px, 3.4vw, 40px);
}

.estimate-group {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.estimate-group:last-child {
  margin-bottom: 0;
}

.estimate-group legend {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.estimate-group legend span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cobalt); line-height: 1.5;}

.estimate-group legend em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2); line-height: 1.5;}

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

.type-card {
  position: relative;
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafbfd;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.type-card:hover {
  border-color: #cbd4e8;
  background: #f7f9ff;
}

.type-card.is-checked {
  border-color: var(--cobalt);
  background: #f4f7ff;
  box-shadow: inset 0 0 0 1px rgba(51, 92, 255, 0.22);
}

.type-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.type-check .icon {
  width: 9px;
  height: 9px;
  stroke-width: 2.6;
}

.type-card.is-checked .type-check {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: #fff;
}

.type-icon {
  display: block;
  color: var(--cobalt);
}

.type-icon .icon {
  width: 20px;
  height: 20px;
}

.type-card b {
  display: block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
}

.type-card small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--muted-2);
  white-space: nowrap; line-height: 1.5;}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f5f7fa;
}

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

.segmented label {
  position: relative;
  display: block;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 54px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-align: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.segmented b {
  font-size: 13px;
  font-weight: 600;
}

.segmented small {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
}

.segmented label.is-checked span {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 3px 8px -4px rgba(13, 20, 36, 0.18);
}

.segmented label.is-checked b {
  color: var(--cobalt);
}

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

.feature {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.feature:hover {
  background: #f8faff;
}

.feature input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feature-box {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: none;
  border: 1px solid #d5dbe7;
  border-radius: 5px;
  background: #fff;
  color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.feature-box .icon {
  width: 10px;
  height: 10px;
  stroke-width: 2.6;
}

.feature.is-checked .feature-box {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: #fff;
}

.feature b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.feature small {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: -0.02em; line-height: 1.5;}

.estimate-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 38px);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(123, 92, 255, 0.14), transparent 65%),
    linear-gradient(170deg, #f0f4ff 0%, #e9efff 100%);
  border-left: 1px solid rgba(51, 92, 255, 0.12);
}

.estimate-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.estimate-badge {
  padding: 4px 8px;
  border: 1px solid rgba(51, 92, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  color: var(--cobalt);
  white-space: nowrap; line-height: 1.5;}

.estimate-label {
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}

.estimate-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: -0.06em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  flex-wrap: wrap;
}

.estimate-price span {
  font-size: 16px;
  color: var(--cobalt);
  font-weight: 600;
}

.estimate-price b {
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.1;
}

.estimate-price em {
  font-style: normal;
  font-size: 17px;
  color: var(--muted-2);
  margin: 0 3px;
}

.estimate-caption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-2);
}

.estimate-list-wrap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(51, 92, 255, 0.12);
}

.estimate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.estimate-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(51, 92, 255, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  color: var(--ink-soft);
}

.estimate-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cobalt);
}

.estimate-weeks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(51, 92, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  color: var(--muted);
}

.estimate-weeks p {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.estimate-weeks b {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.estimate-summary .btn {
  margin-top: auto;
  padding-top: 0;
}

.estimate-summary > .btn {
  margin-top: 24px;
}

.estimate-fine {
  margin-top: 11px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing {
  background: var(--surface);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.3s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.plan-featured {
  border-color: rgba(51, 92, 255, 0.38);
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(51, 92, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #fbfcff, #f6f9ff);
  box-shadow: 0 24px 50px -36px rgba(51, 92, 255, 0.45);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--cobalt);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px -8px rgba(51, 92, 255, 0.8); line-height: 1.5;}

.plan-head h2, .plan-head h3 {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.plan-head > p:last-child {
  margin-top: 6px;
  min-height: 44px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-price span {
  font-size: 15px;
  color: var(--muted);
  margin-right: 2px;
  letter-spacing: 0;
}

.plan-price em {
  margin-left: 5px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  color: var(--muted-2);
  letter-spacing: 0; line-height: 1.5;}

.plan-list {
  flex: 1;
  margin-top: 20px;
}

.plan-list li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 5px;
  border-left: 1.4px solid var(--cobalt);
  border-bottom: 1.4px solid var(--cobalt);
  transform: rotate(-45deg);
  opacity: 0.8;
}

.plan .btn {
  margin-top: 26px;
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.pricing-note b {
  color: var(--ink-soft);
}

.pricing-note a {
  flex: none;
  color: var(--cobalt);
  font-weight: 500;
}

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

/* --------------------------------------------------------------------------
   Trust / testimonials
   -------------------------------------------------------------------------- */

.trust {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(123, 92, 255, 0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}

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

.promise {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease-out);
}

.promise:hover {
  background: #fff;
  border-color: rgba(51, 92, 255, 0.2);
  transform: translateY(-3px);
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(51, 92, 255, 0.16);
  border-radius: 11px;
  background: var(--cobalt-wash);
  color: var(--cobalt);
}

.promise-icon .icon {
  width: 18px;
  height: 18px;
}

.promise h2, .promise h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.promise p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 440px;
}

.testimonials {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.testimonial-head p:last-child {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

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

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.testimonial blockquote {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.testimonial blockquote::before {
  content: "“";
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 0.6;
  color: var(--cobalt);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

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

.testimonial figcaption small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: var(--muted-2); line-height: 1.5;}

/* --------------------------------------------------------------------------
   Insights
   -------------------------------------------------------------------------- */

.insights {
  background: var(--surface);
}

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

.insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 24px 4px 28px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.insight-card:hover {
  border-top-color: var(--cobalt);
}

.insight-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cobalt);
  transition: width 0.5s var(--ease-out);
}

.insight-card:hover::after {
  width: 100%;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2); line-height: 1.5;}

.insight-category {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--cobalt);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.02em; line-height: 1.5;}

.insight-card h3 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.025em;
  transition: color 0.25s ease;
}

.insight-card:hover h3 {
  color: var(--cobalt);
}

.insight-excerpt {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
  color: var(--muted-2); line-height: 1.5;}

.insight-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out);
}

.insight-arrow .icon {
  width: 13px;
  height: 13px;
}

.insight-card:hover .insight-arrow {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
  transform: rotate(45deg);
}

.insight-skeleton {
  height: 280px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fafbfc, transparent);
  animation: pulseSoft 1.6s infinite;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.faq-intro .section-lead {
  margin-top: 22px;
}

.faq-intro .text-link {
  margin-top: 24px;
}

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

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--cobalt);
}

.faq-plus {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: transform 0.35s var(--ease-out), background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.faq-plus .icon {
  width: 13px;
  height: 13px;
}

details[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.faq-answer {
  padding: 0 48px 24px 0;
}

.faq-answer p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 100% 10%, rgba(123, 92, 255, 0.09), transparent 65%),
    linear-gradient(180deg, #f6f8ff, #eef3ff 70%, #f0f4ff);
  border-top: 1px solid var(--line);
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(51, 92, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 92, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 15% 45%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 65% at 15% 45%, #000, transparent 75%);
  pointer-events: none;
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.contact-intro h2 {
  margin-top: 20px;
  font-size: clamp(40px, 4.9vw, 60px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.contact-intro .section-lead {
  margin-top: 24px;
  max-width: 410px;
}

.contact-list {
  margin-top: 36px;
  max-width: 400px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid rgba(13, 20, 36, 0.09);
}

.contact-list li:last-child {
  border-bottom: 1px solid rgba(13, 20, 36, 0.09);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid rgba(13, 20, 36, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--cobalt);
}

.contact-icon .icon {
  width: 16px;
  height: 16px;
}

.contact-list small {
  display: block;
  margin-bottom: 1px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-2); line-height: 1.5;}

.contact-list a,
.contact-list p,
.copy-wechat {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--cobalt);
}

.copy-wechat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: copy;
}

.copy-wechat span {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2); line-height: 1.5;}

.contact-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 13px 16px;
  border: 1px dashed rgba(51, 92, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.contact-meta p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-meta b {
  color: var(--ink);
}

.contact-meta small {
  color: var(--muted-2);
  font-size: 12px; line-height: 1.5;}

.contact-card {
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(13, 20, 36, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 40px 90px -55px rgba(20, 32, 70, 0.45);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.form-head > span {
  font-size: 12px;
  color: var(--muted-2); line-height: 1.5;}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 11px;
  min-width: 0;
}

.field > span,
.field > legend {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0;
}

.field i {
  color: var(--cobalt);
  font-style: normal;
}

.field em {
  margin-left: 3px;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: var(--muted-2); line-height: 1.5;}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input,
.field select {
  height: 38px;
  padding: 0 12px;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a93a6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.field textarea {
  min-height: 78px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.7;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f6b7c;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(51, 92, 255, 0.09);
}

.field.has-error input,
.field.has-error textarea {
  border-color: rgba(207, 59, 47, 0.55);
  background: #fffafa;
}

.field-error {
  font-size: 12px;
  line-height: 1.4;
  color: var(--danger);
}

.field-error:empty {
  display: none;
}

.field-services {
  margin: 0 0 11px;
  padding: 0;
  border: 0;
}

.field-services legend {
  margin-bottom: 5px;
}

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

.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
  font-size: 12px;
  color: var(--muted);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.choice span .icon {
  width: 10px;
  height: 10px;
  display: none;
  stroke-width: 2.6;
}

.choice:hover span {
  border-color: #c9d3e6;
  background: #fff;
}

.choice input:checked + span {
  border-color: var(--cobalt);
  background: #f3f6ff;
  color: var(--cobalt);
  font-weight: 500;
}

.choice input:checked + span .icon {
  display: block;
}

.submit-btn {
  margin-top: 4px;
  height: 48px;
}

.submit-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.submit-btn.is-loading .submit-label,
.submit-btn.is-loading .icon {
  display: none;
}

.field-consent {
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 10px;
}
.field-consent > input {
  width: 15px;
  height: 15px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--cobalt);
  cursor: pointer;
}
.field-consent > span {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
}
.field-consent > span a {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.field-consent > .field-error {
  flex-basis: 100%;
  padding-left: 23px;
}

.form-note {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted-2);
  text-align: center;
}

.form-error {
  margin-top: 10px;
  padding: 8px 11px;
  border: 1px solid rgba(207, 59, 47, 0.2);
  border-radius: 7px;
  background: #fff6f5;
  font-size: 13px;
  color: var(--danger);
}

.form-success {
  padding: 8px 2px;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #4b7a0e;
  box-shadow: 0 0 0 8px rgba(205, 245, 111, 0.16);
}

.success-mark .icon {
  width: 23px;
  height: 23px;
  stroke-width: 2;
}

.form-success h2, .form-success h3 {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.form-success > p:not(.mono-label) {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.form-success > p b {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cobalt);
  font-weight: 500;
}

.success-next {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbfd;
}

.success-next > span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2); line-height: 1.5;}

.success-next ol {
  margin-top: 10px;
  counter-reset: step;
}

.success-next li {
  position: relative;
  padding: 4px 0 4px 22px;
  counter-increment: step;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.success-next li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 5px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cobalt);
}

.success-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.success-actions .btn {
  height: 42px;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--surface);
  padding-top: 12px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 52px 0 44px;
}

.footer-cta p {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.footer-cta p span {
  color: var(--muted-2);
}

.footer-arrow {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: background 0.3s ease, transform 0.45s var(--ease-out);
}

.footer-arrow .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.4;
}

.footer-arrow:hover {
  background: var(--cobalt);
  transform: rotate(45deg);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand > p {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted-2); line-height: 1.5;}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col-title {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2); line-height: 1.5;}

.footer-col a,
.footer-copy {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-copy:hover {
  color: var(--cobalt);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
  flex-wrap: wrap; line-height: 1.5;}

.footer-legal span {
  margin: 0 5px;
}

.footer-legal a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--cobalt);
  text-decoration-color: currentColor;
}

.footer-made {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Modals / toast
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 27, 0.55);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  animation: fadeIn 0.3s ease;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: min(90vh, 900px);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 60px 120px -40px rgba(5, 10, 25, 0.6);
  overflow: hidden;
  animation: modalIn 0.42s var(--ease-out);
}

.article-modal-panel {
  max-width: 780px;
}

.modal-scroll {
  max-height: min(90vh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(13, 20, 36, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 6px 18px -10px rgba(13, 20, 36, 0.3);
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}

.modal-close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}

.modal-close .icon {
  width: 17px;
  height: 17px;
}

.case-modal-cover {
  height: clamp(230px, 38vh, 360px);
  background: #eef1f8;
  overflow: hidden;
}

.case-modal-cover svg {
  width: 100%;
  height: 100%;
  display: block;
}

.case-detail {
  padding: clamp(24px, 4vw, 42px);
}

.case-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.case-detail-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase; line-height: 1.5;}

.case-detail-head h2 {
  margin-top: 8px;
  max-width: 640px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.case-detail-client {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}

.case-detail-year {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  padding-top: 4px;
}

.case-detail-summary {
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.detail-label {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cobalt); line-height: 1.5;}

.case-detail-grid p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.case-detail-grid ol {
  counter-reset: approach;
}

.case-detail-grid ol li {
  position: relative;
  padding: 5px 0 5px 24px;
  counter-increment: approach;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.case-detail-grid ol li::before {
  content: "0" counter(approach);
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cobalt); line-height: 1.5;}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.case-result {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbfd;
}

.case-result strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--cobalt);
}

.case-result span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted); line-height: 1.5;}

.case-stack-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.case-stack-row .detail-label {
  flex: none;
  padding-top: 4px;
  margin: 0;
}

.case-stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.case-stack-chips span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft); line-height: 1.5;}

.case-quote {
  margin-top: 28px;
  padding: 24px;
  border-left: 2px solid var(--cobalt);
  border-radius: 0 14px 14px 0;
  background: #f7f9ff;
}

.case-quote p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.case-quote footer {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted-2); line-height: 1.5;}

.case-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbfd;
}

.case-detail-cta p {
  font-size: 13px;
  color: var(--muted);
}

.case-detail-cta b {
  color: var(--ink);
}

.case-detail-cta .btn {
  height: 40px;
  font-size: 12px;
}

.article-panel-inner {
  padding: clamp(28px, 5vw, 56px);
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase; line-height: 1.5;}

.article-detail-meta span + span::before {
  content: "·";
  margin-right: 10px;
}

.article-detail h1 {
  margin-top: 16px;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.article-detail-excerpt {
  margin-top: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.article-body {
  margin-top: 26px;
}

.article-body p {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.article-body h2 {
  margin: 32px 0 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.article-body ul {
  margin: 0 0 20px;
  padding-left: 0;
}

.article-body ul li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cobalt);
}

.article-body blockquote {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 2px solid var(--cobalt);
  border-radius: 0 10px 10px 0;
  background: #f6f8ff;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.article-footer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-footer p {
  font-size: 13px;
  color: var(--muted-2);
}

.article-footer .btn {
  height: 40px;
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 140;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 18px 40px -18px rgba(13, 20, 36, 0.6);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Reveal / motion
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(18, 132, 91, 0.35);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 4px rgba(18, 132, 91, 0);
  }
}

@keyframes floaty {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-9px);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@keyframes pulseSoft {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .desktop-nav a {
    padding-inline: 9px;
  }

  .header-note {
    display: none;
  }

  .float-score {
    right: -6px;
  }

  .float-speed {
    left: -12px;
  }

  .stack-column {
    padding: 26px 20px;
  }

  .stack-column > p {
    min-height: 92px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(1220px, calc(100% - 48px));
  }

  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    justify-self: center;
    max-width: 600px;
    margin-top: 10px;
    width: 100%;
  }

  .hero-lead {
    max-width: 580px;
  }

  .hero-stats {
    margin-top: 20px;
  }

  .float-card {
    display: none;
  }

  .console {
    transform: none;
  }

  .logo-strip-inner {
    gap: 32px;
  }

  .logo-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px 30px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-head .section-lead {
    max-width: 540px;
  }

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

  .stack-column {
    border-top: 1px solid var(--line-soft);
    padding: 28px 26px;
  }

  .stack-column:nth-child(1),
  .stack-column:nth-child(2) {
    border-top: 0;
  }

  .stack-column:nth-child(3) {
    border-left: 0;
  }

  .stack-column > p {
    min-height: 0;
  }

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

  .estimate-summary {
    border-left: 0;
    border-top: 1px solid rgba(51, 92, 255, 0.12);
  }

  .estimate-price b {
    font-size: 38px;
  }

  .plan-grid {
    gap: 14px;
  }

  .plan {
    padding: 26px 22px;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-head p:last-child br {
    display: none;
  }

  .testimonial-grid {
    gap: 12px;
  }

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

  .process-intro {
    position: static;
  }

  .process-intro h2 br {
    display: none;
  }

  .process-side-card {
    max-width: 520px;
  }

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

  .faq-intro {
    position: static;
  }

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

  .contact-intro .section-lead {
    max-width: 560px;
  }

  .contact-card {
    max-width: 680px;
  }
}

@media (max-width: 860px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-skeleton {
    height: 460px;
  }

  .case-skeleton + .case-skeleton {
    display: none;
  }

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

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
    gap: 24px;
  }

  .plan-head > p:last-child {
    min-height: 0;
  }

  .plan-badge {
    left: 22px;
  }

  .insight-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .insight-card {
    min-height: 0;
    padding: 24px 0 26px;
  }

  .insight-skeleton {
    height: 150px;
  }

  .insight-skeleton + .insight-skeleton {
    display: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-cta p {
    font-size: 30px;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    height: 68px;
  }

  .site-header .brand-mark {
    width: 42px;
    height: 42px;
  }

  .site-header .brand-logo {
    height: 38px;
  }

  .brand {
    gap: 10px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    font-size: 12px; line-height: 1.5;}

  .mobile-menu {
    top: 68px;
    padding-inline: 20px;
  }

  .mobile-nav a {
    font-size: 24px;
    padding: 18px 0;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 56px);
    letter-spacing: -0.05em;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 14.5px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn-ghost {
    width: auto;
    align-self: flex-start;
    margin-top: 2px;
  }

  .console-body {
    padding: 16px;
  }

  .console-heading h2 {
    font-size: 16px;
  }

  .console-metric strong {
    font-size: 24px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 28px;
  }

  .stat {
    padding: 20px 0 22px 22px;
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .stat-value {
    font-size: 27px;
  }

  .logo-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
  }

  .logo-row {
    gap: 14px 24px;
  }

  .client-logo {
    font-size: 13px;
  }

  .logo-serif,
  .logo-serif2 {
    font-size: 14px;
  }

  .section {
    padding: 72px 0;
  }

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

  .section-head h2,
  .process-intro h2,
  .faq-intro h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

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

  .service-card {
    min-height: 0;
    padding: 24px;
  }

  .service-card-dark {
    min-height: 0;
  }

  .work-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filter-group {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: 12px;
    scrollbar-width: none;
  }

  .filter-group::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: none;
  }

  .case-art {
    aspect-ratio: 10 / 7;
  }

  .process-step {
    margin: 0;
    padding: 24px 0;
    border-radius: 0;
    grid-template-columns: 34px 1fr;
    gap: 8px;
  }

  .process-step:hover {
    background: transparent;
    box-shadow: none;
  }

  .step-title {
    flex-wrap: wrap;
    gap: 8px;
  }

  .step-title h2, .step-title h3 {
    font-size: 20px;
  }

  .step-body p {
    font-size: 13px;
  }

  .stack-panel {
    grid-template-columns: 1fr;
  }

  .stack-column {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding: 24px;
  }

  .stack-column:nth-child(2) {
    border-top: 1px solid var(--line-soft);
  }

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

  .type-card {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    column-gap: 10px;
    padding: 12px 14px;
  }

  .type-icon {
    grid-row: 1 / 3;
  }

  .type-card b {
    margin-top: 0;
    align-self: end;
  }

  .type-card small {
    align-self: start;
  }

  .type-check {
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
  }

  .type-icon .icon {
    width: 18px;
    height: 18px;
  }

  .segmented {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .segmented-two {
    grid-template-columns: 1fr;
  }

  .segmented span {
    min-height: 46px;
    align-items: flex-start;
    padding-left: 14px;
  }

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

  .estimator {
    border-radius: 22px;
  }

  .estimator-controls {
    padding: 20px;
  }

  .estimate-summary {
    padding: 22px 20px;
  }

  .estimate-price b {
    font-size: 32px;
  }

  .estimator .estimate-group {
    margin-bottom: 24px;
  }

  .pricing-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

  .testimonial {
    min-height: 0;
  }

  .faq-list summary {
    font-size: 14px;
    gap: 12px;
    padding: 18px 0;
  }

  .faq-answer {
    padding-right: 20px;
  }

  .contact-intro h2 {
    font-size: clamp(34px, 9.5vw, 46px);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .contact-card {
    padding: 20px;
    border-radius: 20px;
  }

  .footer-cta {
    padding: 40px 0 34px;
  }

  .footer-cta p {
    font-size: 26px;
  }

  .footer-arrow {
    width: 58px;
    height: 58px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 32px 0;
  }

  .footer-col:nth-child(4) {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-bottom: 22px;
  }

  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-panel {
    max-height: 94vh;
    border-radius: 22px 22px 0 0;
  }

  .modal-scroll {
    max-height: 94vh;
  }

  .case-modal-cover {
    height: 210px;
  }

  .case-detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .case-results {
    grid-template-columns: 1fr;
  }

  .case-result {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .case-result span {
    margin-top: 0;
  }

  .case-detail-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-stack-row {
    flex-direction: column;
    gap: 8px;
  }

  .article-panel-inner {
    padding: 28px 20px;
  }

  .toast {
    bottom: 18px;
    max-width: calc(100% - 32px);
    text-align: center;
  }
}

@media (max-width: 460px) {
  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .sprint-list li {
    grid-template-columns: 22px 1fr;
  }

  .sprint-list .chip {
    display: none;
  }

  .console-metric em {
    display: none;
  }

  .filter {
    padding-inline: 11px;
  }

  .case-body {
    padding: 20px;
  }

  .case-foot {
    flex-wrap: wrap;
    gap: 8px;
  }

  .success-actions {
    flex-wrap: wrap;
  }
}

/* Active navigation + focus states */

.desktop-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.desktop-nav a.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.insight-card:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

.form-success:focus {
  outline: none;
}

.case-empty a {
  color: var(--cobalt);
  font-weight: 500;
}

/* Reduced motion */
@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;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* 键盘可达性：焦点必须看得见（2026-11-10） */
:focus-visible{outline:2px solid var(--cobalt,#335cff);outline-offset:3px;border-radius:4px}
a:focus-visible,button:focus-visible,[role=button]:focus-visible,.chip:focus-visible{outline-offset:3px}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:16px;top:12px;z-index:999;padding:10px 16px;background:#fff;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.15)}

/* 触摸热区补强：小号文字链接实际点击高度 ≥24px（2026-11-10） */
.testimonial figcaption small a,
.pricing-note a,
.header-note{display:inline-flex;align-items:center;min-height:24px}
.header-note{min-height:28px}
