/* ============================================================
   SinoDesk — landing page styles
   Dark navy base, amber accent. No frameworks, no build step.
   ============================================================ */

:root {
  --bg: #0a0f1e;
  --bg-soft: #0e1730;
  --panel: #131d38;
  --panel-2: #18243f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf7;
  --muted: #98a5c2;
  --accent: #ffb547;
  --accent-soft: rgba(255, 181, 71, 0.12);
  --cyan: #4cc9f0;
  --radius: 18px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: 1.14rem;
}

p {
  margin: 0;
}

em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------- header ------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 15, 30, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), #ff8a3d);
  color: #10162a;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
}

.brand-name {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a {
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav + .header-actions {
  margin-left: 0;
}

.lang-toggle {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lang-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* -------------------------------- buttons ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: 9px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff9a3c);
  color: #14180f;
  box-shadow: 0 10px 26px -12px rgba(255, 181, 71, 0.75);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -12px rgba(255, 181, 71, 0.85);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

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

.btn-block {
  width: 100%;
}

/* --------------------------------- hero -------------------------------- */

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% 40% 20% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 181, 71, 0.16), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 10% -25% 0 55%;
  background: radial-gradient(circle at 60% 50%, rgba(76, 201, 240, 0.13), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-copy h1 {
  margin-bottom: 20px;
  max-width: 15ch;
}

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-trust li {
  position: relative;
  padding-left: 18px;
}

.hero-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.8rem;
}

.hero-card {
  background: linear-gradient(165deg, var(--panel-2), var(--panel) 60%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ee2a0;
  box-shadow: 0 0 0 4px rgba(94, 226, 160, 0.15);
}

.stat-big {
  margin-top: 22px;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  background: linear-gradient(120deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.hero-rows {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}

.hero-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-rows > div:last-child {
  border-bottom: 0;
}

.hero-rows b {
  color: var(--text);
  font-weight: 600;
}

/* ------------------------------- sections ------------------------------ */

.section {
  padding: clamp(56px, 8vw, 92px) 0;
  border-top: 1px solid var(--line);
}

.section-tight {
  padding: clamp(44px, 6vw, 68px) 0;
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.section-sub {
  color: var(--muted);
  margin-top: 14px;
}

/* -------------------------------- cards -------------------------------- */

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 181, 71, 0.4);
  background: var(--panel-2);
}

.card-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.chips span {
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}

.card-meta {
  font-size: 0.76rem !important;
  color: rgba(152, 165, 194, 0.78) !important;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 4px;
}

.card-meta b {
  color: var(--text);
}

/* --------------------------------- case -------------------------------- */

.section-dark {
  background: linear-gradient(180deg, #0c1428, #0a0f1e);
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.case-copy h2 {
  max-width: 24ch;
  margin-bottom: 18px;
}

.case-copy > p {
  color: var(--muted);
}

.case-points {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.case-points li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--muted);
}

.case-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

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

.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric b {
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.metric span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --------------------------------- steps ------------------------------- */

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

.steps li {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.step-no {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.steps h3 {
  margin: 10px 0 8px;
}

.steps p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* -------------------------------- voices ------------------------------- */

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

.voice {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.voice blockquote {
  margin: 0;
  font-size: 0.95rem;
  color: #cfd7ea;
  line-height: 1.7;
}

.voice figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
}

.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #14180f;
  background: linear-gradient(140deg, var(--accent), #ff8a3d);
}

.avatar-lg {
  width: 52px;
  height: 52px;
  font-size: 1rem;
}

.voice figcaption b {
  display: block;
  font-size: 0.88rem;
}

.voice figcaption small {
  color: var(--muted);
  font-size: 0.78rem;
}

.guarantees {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.guarantees > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guarantees b {
  font-size: 0.9rem;
}

.guarantees span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* --------------------------------- team -------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.team-grid > div > h2 {
  margin-bottom: 14px;
  max-width: 22ch;
}

.team-grid > div > p {
  color: var(--muted);
}

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

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 10px;
}

.member b {
  font-size: 0.88rem;
  margin-top: 4px;
}

.member small {
  color: var(--muted);
  font-size: 0.74rem;
}

/* -------------------------------- quote -------------------------------- */

.section-quote {
  background: linear-gradient(180deg, #0d1526, #0b1120);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.quote-copy > p {
  color: var(--muted);
  margin-top: 14px;
}

.quote-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.quote-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.quote-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.quote-alt {
  margin-top: 26px !important;
  font-size: 0.88rem;
  color: var(--muted) !important;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

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

.field label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0d1526;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(152, 165, 194, 0.5);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 181, 71, 0.16);
}

.field input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 107, 107, 0.6);
}

.form-note {
  font-size: 0.76rem;
  color: rgba(152, 165, 194, 0.8);
  text-align: center;
}

.form-error {
  font-size: 0.84rem;
  color: #ff8b8b;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 9px;
  padding: 9px 12px;
}

.quote-success {
  background: var(--panel);
  border: 1px solid rgba(94, 226, 160, 0.35);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  box-shadow: var(--shadow);
}

.success-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(94, 226, 160, 0.15);
  color: #5ee2a0;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.quote-success p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 40ch;
}

.quote-success .ref {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}

/* --------------------------------- faq --------------------------------- */

.faq-wrap {
  max-width: 800px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
  max-width: 68ch;
}

/* -------------------------------- footer ------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 28px;
  background: #080d19;
  font-size: 0.88rem;
}

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

.footer-grid p {
  color: var(--muted);
  margin-top: 10px;
}

.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(152, 165, 194, 0.85);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(152, 165, 194, 0.75);
  font-size: 0.78rem;
  flex-wrap: wrap;
}

.file-mode-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 90;
  max-width: min(92vw, 640px);
  background: rgba(255, 181, 71, 0.14);
  border: 1px solid rgba(255, 181, 71, 0.45);
  color: #ffd79a;
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 10px 16px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  text-align: center;
}

/* ------------------------------- reveal -------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------ responsive ----------------------------- */

@media (max-width: 980px) {
  .hero-grid,
  .case-grid,
  .quote-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-card {
    max-width: 460px;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #0b1120;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    color: var(--text);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .cards,
  .voices,
  .steps,
  .guarantees,
  .team-members,
  .case-metrics,
  .field-row,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .guarantees {
    gap: 18px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-trust {
    gap: 8px 18px;
  }
}

/* ============================================================
   Service landing pages  (/translation, /sourcing, ...)
   ============================================================ */

.card {
  position: relative;
}

.card-link {
  color: inherit;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.card:hover .card-link {
  color: var(--accent);
}

.card-more {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.crumbs a:hover {
  color: var(--accent);
}

.crumbs span:last-child {
  color: var(--text);
}

.service-hero {
  position: relative;
  padding: clamp(36px, 5vw, 64px) 0 clamp(34px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: -40% 45% 10% -25%;
  background: radial-gradient(circle at 35% 45%, rgba(255, 181, 71, 0.14), transparent 62%);
  pointer-events: none;
}

.service-hero .wrap {
  position: relative;
}

.service-hero h1 {
  max-width: 21ch;
  margin-bottom: 18px;
}

.service-hero .lede {
  max-width: 62ch;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.fact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 17px;
}

.fact b {
  display: block;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 2px;
}

.fact span {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

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

.list-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.list-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.list-card p {
  color: var(--muted);
  font-size: 0.87rem;
}

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

.risk {
  border-left: 3px solid #ff8b8b;
  background: var(--panel);
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
}

.risk b {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.risk p {
  color: var(--muted);
  font-size: 0.86rem;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 580px;
}

.price-table th,
.price-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.price-table td {
  color: #cfd7ea;
}

.price-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

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

.price-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.price-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(152, 165, 194, 0.85);
}

.deliverables {
  display: grid;
  gap: 10px;
}

.deliverables li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.cross-link {
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.cross-link a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  transition: color 0.15s ease;
}

.cross-link a:hover {
  color: var(--accent);
}

.cross-link b {
  display: block;
  font-size: 1.02rem;
}

.cross-link small {
  color: var(--muted);
  font-size: 0.82rem;
}

.cross-link .arrow {
  font-size: 1.4rem;
  color: var(--accent);
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .fact-row,
  .risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .list-cards,
  .fact-row,
  .risk-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-hero h1 {
    max-width: 100%;
  }

  .cross-link a {
    gap: 12px;
  }
}

/* ============================================================
   Specimen blocks (honest samples, not client work)
   ============================================================ */

.specimen-note {
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px dashed rgba(255, 181, 71, 0.4);
  border-radius: 10px;
  background: rgba(255, 181, 71, 0.06);
  font-size: 0.85rem;
  color: #dcc8a3;
}

.specimen-note a {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.specimen-note a:hover {
  text-decoration: underline;
}

.code-block {
  background: #0b1020;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #b9c6e0;
  margin: 0;
  white-space: pre;
}

.code-block .k {
  color: var(--cyan);
}

.specimen-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 760px) {
  .specimen-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 四张服务卡时用两列，避免 3+1 的孤行 */
@media (min-width: 981px) {
  .cards.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 页脚邮箱可点击 */
.site-footer a:hover {
  color: var(--accent);
}
