/*
 * forge.css v2 — CompanyForge Design System · "Registry Modern"
 * Single stylesheet for all pages. Version: 2026-07-07 (v2, replaces 2026-06-09).
 *
 * Design language: the visual vocabulary of HK statutory filings — form codes,
 * ledger rules, chop stamps — rebuilt as a precise fintech system.
 * Brand: midnight navy #0A1024 + electric blue #0A5CFF. Chop red is reserved
 * for stamps and overdue states only.
 * Display: Syne 700/800 (Latin; CJK falls back to PingFang/Noto bold).
 * Data voice: IBM Plex Mono — filing codes, amounts, dates, eyebrows, pills.
 * Body: system stack (fast, GFW-safe; all fonts self-hosted in /assets/fonts/).
 *
 * v2 keeps every v1 class name and token alias — pages linking this file
 * restyle without markup changes.
 *
 * ─── TABLE OF CONTENTS ─────────────────────────────────────────────
 *  1. Tokens   2. Base   3. Typography   4. CJK   5. Watermark
 *  6. Containers   7. Nav   8. Buttons   9. Hero   10. Sections
 * 11–14. Cards (bullet/service/package/stat)   15. Flywheel
 * 16. Tables   17. FAQ   18. Forms   19. Badges/Pills/Stamps
 * 20. CTA   21. Footer   22. Utilities   23. Responsive   24. Dark
 * ───────────────────────────────────────────────────────────────────
 */

@import url('/assets/fonts/fonts.css');

/* ─── 1. TOKENS ───────────────────────────────────────────────────── */
:root {
  /* Brand */
  --cf-navy:          #0A1024;
  --cf-navy-800:      #101A3C;
  --cf-navy-700:      #1A2650;
  --cf-blue:          #0A5CFF;
  --cf-blue-dark:     #0847C4;
  --cf-blue-deeper:   #063693;
  --cf-blue-light:    rgba(10, 92, 255, 0.08);
  --cf-blue-border:   rgba(10, 92, 255, 0.28);
  --cf-blue-hover:    rgba(10, 92, 255, 0.42);
  --cf-seal:          #C8371E;   /* chop red — stamps + overdue only */
  --cf-seal-light:    rgba(200, 55, 30, 0.08);
  --cf-green:         #0E8A5F;
  --cf-green-light:   rgba(14, 138, 95, 0.10);
  --cf-amber:         #B26B00;
  --cf-amber-light:   rgba(178, 107, 0, 0.10);

  /* Surfaces */
  --bg:               #FAFBFE;
  --bg-2:             #F2F5FB;
  --bg-3:             #E9EEF8;
  --bg-dark:          var(--cf-navy);

  /* Borders */
  --border:           #DDE4F0;
  --border-strong:    #C3CDE0;
  --rule:             #0A102422; /* ledger hairline */

  /* Text */
  --text-1:           #0A1024;
  --text-2:           #3D4966;
  --text-3:           #7C88A6;
  --text-invert:      #FFFFFF;

  /* Aliases (v1 compat) */
  --accent:           var(--cf-blue);
  --accent-dark:      var(--cf-blue-dark);
  --accent-light:     var(--cf-blue-light);

  /* Type */
  --font-display:     'Syne', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-mono:        'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --text-xs:          11px;
  --text-sm:          13px;
  --text-base:        16px;
  --text-md:          17px;
  --text-lg:          19px;
  --text-xl:          24px;
  --text-2xl:         32px;
  --text-3xl:         42px;
  --text-4xl:         56px;
  --text-hero:        clamp(34px, 5.2vw, 62px);
  --text-section:     clamp(25px, 3.2vw, 38px);
  --text-cta:         clamp(26px, 3.5vw, 42px);

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Radius — squared, registry-precise */
  --r:      8px;
  --r-sm:   6px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(10, 16, 36, 0.06);
  --shadow-md:      0 2px 16px rgba(10, 16, 36, 0.06);
  --shadow-lg:      0 6px 32px rgba(10, 16, 36, 0.10);
  --shadow-blue:    0 4px 18px rgba(10, 92, 255, 0.10);
  --shadow-blue-lg: 0 8px 32px rgba(10, 92, 255, 0.18);

  /* Layout */
  --w-container:    1120px;
  --w-prose:        760px;
  --w-prose-wide:   880px;
  --nav-h:          64px;
}

/* ─── 2. BASE ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cf-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cf-blue); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--cf-blue); color: #fff; }

/* ─── 3. TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; color: var(--text-1); }
h4, h5, h6 { font-family: var(--font-body); font-weight: 700; line-height: 1.3; color: var(--text-1); }
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-xl); }
p  { color: var(--text-2); }
strong { color: var(--text-1); }
code, kbd, samp, .mono { font-family: var(--font-mono); font-size: 0.92em; }

/* ─── 4. CJK ──────────────────────────────────────────────────────── */
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3,
[lang^="zh"] h1, [lang^="zh"] h2, [lang^="zh"] h3 {
  font-family: 'Syne', 'PingFang SC', 'PingFang TC', 'Noto Sans SC', 'Noto Sans TC', 'Microsoft YaHei', sans-serif;
  font-weight: 700; letter-spacing: 0;
}

/* ─── 5. WATERMARK — faint registry grid on dark panels ──────────── */
.bg-watermark, .cf-hero, .cta-outer {
  position: relative;
}
.cf-hero::before, .cta-outer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
}

/* ─── 6. CONTAINERS ───────────────────────────────────────────────── */
.container        { max-width: var(--w-container); margin: 0 auto; padding: 0 var(--sp-6); }
.container-prose  { max-width: var(--w-prose); margin: 0 auto; padding: 0 var(--sp-6); }
.container-prose-wide { max-width: var(--w-prose-wide); margin: 0 auto; padding: 0 var(--sp-6); }

/* ─── 7. NAV ──────────────────────────────────────────────────────── */
.cf-nav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  max-width: var(--w-container); margin: 0 auto; padding: 0 var(--sp-6);
  height: var(--nav-h);
}
header:has(.cf-nav) {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 251, 254, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.cf-nav__brand { display: flex; align-items: center; gap: 10px; color: var(--text-1); }
.cf-nav__brand:hover { text-decoration: none; }
.cf-nav__logo {
  width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cf-blue) 0%, var(--cf-blue-deeper) 100%);
  box-shadow: var(--shadow-blue);
}
.cf-nav__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.cf-nav__links { display: flex; align-items: center; gap: var(--sp-2); }
.cf-nav__link {
  font-size: var(--text-sm); font-weight: 500; color: var(--text-2);
  padding: 6px 12px; border-radius: var(--r-sm);
}
.cf-nav__link:hover { color: var(--text-1); background: var(--bg-2); text-decoration: none; }
.cf-nav__link--active { color: var(--cf-blue-dark); background: var(--cf-blue-light); }
.cf-nav__right { display: flex; align-items: center; gap: var(--sp-3); }
.cf-nav__cta {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--cf-blue); padding: 9px 16px; border-radius: var(--r-sm);
  transition: background 0.15s ease, transform 0.15s ease;
}
.cf-nav__cta:hover { background: var(--cf-blue-dark); text-decoration: none; transform: translateY(-1px); }
.cf-lang-sw { display: flex; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.cf-lang-btn {
  font-family: var(--font-mono); font-size: 11px; padding: 5px 9px; border: 0; cursor: pointer;
  background: transparent; color: var(--text-3);
}
.cf-lang-btn.active, .cf-lang-btn[aria-pressed="true"] { background: var(--cf-navy); color: #fff; }
.cf-nav__back { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-3); }
.cf-nav__sub { font-size: var(--text-sm); color: var(--text-3); }

/* ─── 8. BUTTONS ──────────────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 13px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; transition: all 0.15s ease; text-decoration: none;
}
.btn-primary { background: var(--cf-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--cf-blue-dark); box-shadow: var(--shadow-blue-lg); transform: translateY(-1px); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--text-1); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--cf-blue); color: var(--cf-blue-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--cf-blue-dark); text-decoration: none; }
.btn-lg { padding: 16px 32px; font-size: 14px; }
.btn-sm { padding: 8px 14px; font-size: 12px; }
/* On dark panels */
.cf-hero .btn-secondary, .cta-outer .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.35); }
.cf-hero .btn-secondary:hover, .cta-outer .btn-secondary:hover { border-color: #fff; color: #fff; }

/* ─── 9. HERO — midnight registry panel ──────────────────────────── */
.cf-hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(10, 92, 255, 0.28), transparent 60%),
    linear-gradient(180deg, var(--cf-navy) 0%, var(--cf-navy-800) 100%);
  color: #fff;
  padding: calc(var(--sp-20) + 8px) 0 var(--sp-20);
  overflow: hidden;
}
.cf-hero > .container, .cf-hero > .container-prose { position: relative; z-index: 1; }
.cf-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #9DBEFF; border: 1px solid rgba(157, 190, 255, 0.35);
  padding: 6px 12px; border-radius: var(--r-sm); margin-bottom: var(--sp-6);
  background: rgba(10, 92, 255, 0.12);
}
.cf-hero__h1 { color: #fff; max-width: 17ch; }
.cf-hero__h1 .accent-word { color: #6FA1FF; }
.cf-hero__sub { font-size: var(--text-lg); color: #B9C3DC; max-width: 56ch; margin-top: var(--sp-6); }
.cf-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-10); }
@media (prefers-reduced-motion: no-preference) {
  .cf-hero__badge, .cf-hero__h1, .cf-hero__sub, .cf-hero__actions {
    animation: cf-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .cf-hero__h1 { animation-delay: 0.06s; }
  .cf-hero__sub { animation-delay: 0.12s; }
  .cf-hero__actions { animation-delay: 0.18s; }
}
@keyframes cf-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ─── 10. SECTIONS — ledger headings ─────────────────────────────── */
.section-outer { padding: var(--sp-20) 0; }
.section-outer.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-wrap { max-width: var(--w-container); margin: 0 auto; padding: 0 var(--sp-6); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--cf-blue-dark);
  margin-bottom: var(--sp-4);
}
.section-eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--cf-blue);
}
.section-title {
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 3px 0 -2px var(--rule); /* ledger double-rule */
  margin-bottom: var(--sp-6); max-width: 26ch;
}
.section-sub { font-size: var(--text-md); color: var(--text-2); max-width: 62ch; margin-bottom: var(--sp-10); }

/* ─── 11. CARDS — bullet / feature ───────────────────────────────── */
.bullets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-5); }
.bullet-card, .prose-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: var(--sp-6); box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.bullet-card:hover { border-color: var(--cf-blue-border); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.bullet-icon {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-sm);
  background: var(--cf-blue-light); color: var(--cf-blue-dark); margin-bottom: var(--sp-4);
  font-size: 18px;
}
.bullet-title { font-size: var(--text-md); font-weight: 700; margin-bottom: var(--sp-2); }
.bullet-desc { font-size: var(--text-sm); color: var(--text-2); }

/* ─── 12. CARDS — service ─────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-5); }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: var(--sp-8) var(--sp-6); position: relative; overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cf-blue), var(--cf-blue-deeper));
  opacity: 0; transition: opacity 0.15s ease;
}
.service-card:hover { border-color: var(--cf-blue-border); box-shadow: var(--shadow-blue-lg); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }
.svc-icon { font-size: 24px; margin-bottom: var(--sp-4); }
.svc-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.svc-desc { font-size: var(--text-sm); color: var(--text-2); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-4); }
.svc-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em;
  color: var(--text-3); border: 1px solid var(--border); padding: 3px 8px; border-radius: var(--r-sm);
}

/* ─── 13. CARDS — package / pricing ──────────────────────────────── */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-5); align-items: start; }
.pkg-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6); position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.pkg-card:hover { border-color: var(--cf-blue-border); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.pkg-card.featured, .pkg-card--featured { border: 2px solid var(--cf-blue); box-shadow: var(--shadow-blue-lg); }
.pkg-badge {
  position: absolute; top: -12px; left: var(--sp-6);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--cf-navy); color: #fff; padding: 4px 10px; border-radius: var(--r-sm);
}
.pkg-name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.pkg-price { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-2xl); letter-spacing: -0.02em; color: var(--text-1); }
.pkg-price-suffix, .pkg-price-note { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-3); }
.pkg-divider { height: 1px; background: var(--border); margin: var(--sp-5) 0; }
.pkg-items { list-style: none; display: grid; gap: var(--sp-3); font-size: var(--text-sm); color: var(--text-2); }
.pkg-items li { padding-left: 22px; position: relative; }
.pkg-items li::before { content: "✓"; position: absolute; left: 0; color: var(--cf-green); font-weight: 700; }
.pkg-cta { margin-top: var(--sp-6); }
.pkg-note { font-size: var(--text-xs); color: var(--text-3); margin-top: var(--sp-3); }

/* ─── 14. CARDS — stat ────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-5); }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: var(--sp-6); border-top: 3px solid var(--cf-blue);
}
.stat-num {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--text-3xl);
  letter-spacing: -0.03em; color: var(--text-1); line-height: 1.1;
}
.stat-label { font-size: var(--text-sm); font-weight: 600; color: var(--text-2); margin-top: var(--sp-2); }
.stat-source { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-3); margin-top: var(--sp-2); }
/* stats on dark hero */
.cf-hero .stat-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.cf-hero .stat-num { color: #fff; }
.cf-hero .stat-label { color: #B9C3DC; }
.cf-hero .stat-source { color: #7C88A6; }

/* ─── 15. FLYWHEEL / TIMELINE ─────────────────────────────────────── */
.flywheel { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-5); counter-reset: fw; }
.fw-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: var(--sp-6); position: relative;
}
.fw-month {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cf-blue-dark);
  background: var(--cf-blue-light); display: inline-block; padding: 3px 9px; border-radius: var(--r-sm);
  margin-bottom: var(--sp-3);
}
.fw-title { font-weight: 700; font-size: var(--text-md); margin-bottom: var(--sp-2); }
.fw-desc { font-size: var(--text-sm); color: var(--text-2); }
.fw-arrow { display: grid; place-items: center; color: var(--text-3); font-size: 20px; }

/* ─── 16. TABLES — ledger style ──────────────────────────────────── */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.vs-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 640px; }
.vs-table th {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-align: left; color: var(--text-3);
  background: var(--bg-2); padding: 12px 16px; border-bottom: 2px solid var(--border-strong);
  white-space: nowrap;
}
.vs-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: top; }
.vs-table tr:last-child td { border-bottom: 0; }
.vs-table tbody tr:hover { background: var(--cf-blue-light); }
.vs-table td:first-child { font-weight: 600; color: var(--text-1); }
.vs-table .num, .vs-table td[data-num] { font-family: var(--font-mono); text-align: right; white-space: nowrap; }

/* ─── 17. FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: var(--w-prose-wide); margin: 0 auto; display: grid; gap: var(--sp-3); }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-item[open] { border-color: var(--cf-blue-border); box-shadow: var(--shadow-blue); }
.faq-q {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  font-weight: 600; font-size: var(--text-base); padding: var(--sp-5) var(--sp-6); color: var(--text-1);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { color: var(--cf-blue); font-family: var(--font-mono); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 var(--sp-6) var(--sp-5); font-size: var(--text-sm); color: var(--text-2); max-width: 70ch; }

/* ─── 18. FORMS ───────────────────────────────────────────────────── */
.form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-8); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { margin-bottom: var(--sp-5); }
.form-label {
  display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; font-family: var(--font-body); font-size: var(--text-base); color: var(--text-1);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  padding: 11px 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--cf-blue); box-shadow: 0 0 0 3px var(--cf-blue-light);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: var(--text-xs); color: var(--text-3); margin-top: var(--sp-2); }
.form-submit { width: 100%; }

/* ─── 19. BADGES / PILLS / STAMPS ─────────────────────────────────── */
.badge, .pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-sm); border: 1px solid var(--border);
  color: var(--text-2); background: #fff;
}
.pill-blue  { color: var(--cf-blue-dark);  background: var(--cf-blue-light);  border-color: var(--cf-blue-border); }
.pill-green { color: var(--cf-green);      background: var(--cf-green-light); border-color: rgba(14,138,95,0.3); }
.pill-amber { color: var(--cf-amber);      background: var(--cf-amber-light); border-color: rgba(178,107,0,0.3); }
.pill-red   { color: var(--cf-seal);       background: var(--cf-seal-light);  border-color: rgba(200,55,30,0.3); }
.pill-navy  { color: #fff;                 background: var(--cf-navy);        border-color: var(--cf-navy); }
/* Chop stamp — the signature mark. Use sparingly: one per view. */
.stamp {
  display: inline-block; font-family: var(--font-mono); font-weight: 500;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cf-seal); border: 2px solid currentColor; border-radius: 4px;
  padding: 5px 12px; transform: rotate(-3deg);
  box-shadow: inset 0 0 0 1.5px #fff, inset 0 0 0 2.5px currentColor;
  opacity: 0.9;
}
.stamp--blue  { color: var(--cf-blue-dark); }
.stamp--green { color: var(--cf-green); }
.highlight-inline { background: linear-gradient(transparent 60%, rgba(10, 92, 255, 0.18) 60%); }

/* ─── 20. CTA BLOCK ───────────────────────────────────────────────── */
.cta-outer {
  background:
    radial-gradient(900px 400px at 20% 120%, rgba(10, 92, 255, 0.3), transparent 60%),
    linear-gradient(180deg, var(--cf-navy-800) 0%, var(--cf-navy) 100%);
  color: #fff; padding: var(--sp-24) 0; overflow: hidden;
}
.cta-inner { max-width: var(--w-prose-wide); margin: 0 auto; padding: 0 var(--sp-6); text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: var(--text-cta); margin-bottom: var(--sp-5); }
.cta-inner p { color: #B9C3DC; }
.cta-note { font-family: var(--font-mono); font-size: var(--text-xs); color: #7C88A6; margin-top: var(--sp-5); }

/* ─── 21. FOOTER ──────────────────────────────────────────────────── */
.cf-footer { background: var(--cf-navy); color: #B9C3DC; padding: var(--sp-16) 0 0; margin-top: var(--sp-20); }
.cf-footer__inner {
  max-width: var(--w-container); margin: 0 auto; padding: 0 var(--sp-6) var(--sp-12);
  display: grid; grid-template-columns: 1.4fr 2fr; gap: var(--sp-16);
}
.cf-footer__name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: #fff; margin-bottom: var(--sp-3); }
.cf-footer__tagline { font-size: var(--text-sm); color: #8E9AB8; }
.cf-footer__tcsp { font-size: var(--text-xs); color: #626F8F; margin-top: var(--sp-5); max-width: 44ch; line-height: 1.6; }
.cf-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.cf-footer__col-title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: #626F8F; margin-bottom: var(--sp-4);
}
.cf-footer__col-links { display: grid; gap: var(--sp-2); }
.cf-footer__col-links a { color: #B9C3DC; font-size: var(--text-sm); }
.cf-footer__col-links a:hover { color: #fff; }
.cf-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--w-container); margin: 0 auto; padding: var(--sp-6);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4);
  font-size: var(--text-xs); color: #626F8F;
}
.cf-footer__legal { display: flex; gap: var(--sp-5); }
.cf-footer__legal a { color: #8E9AB8; }
.cf-footer__legal a:hover { color: #fff; }
.cf-footer .icp-beian, .cf-footer .icp-beian a { color: #626F8F; font-size: var(--text-xs); }
.cf-footer--simple .cf-footer__inner { grid-template-columns: 1fr; }

/* ─── 22. UTILITIES (v1 compat) ───────────────────────────────────── */
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-center { justify-content: center; }
.gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); }
.mt-2 { margin-top: var(--sp-2); } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); } .mt-10 { margin-top: var(--sp-10); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); } .mb-8 { margin-bottom: var(--sp-8); }
.text-center { text-align: center; } .text-sm { font-size: var(--text-sm); } .text-xs { font-size: var(--text-xs); }
.text-muted { color: var(--text-3); } .text-body { color: var(--text-2); } .text-strong { color: var(--text-1); font-weight: 600; }
.text-accent { color: var(--cf-blue-dark); }
.link-chips { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.link-chip {
  font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-2);
  border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 14px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.link-chip:hover { border-color: var(--cf-blue); color: var(--cf-blue-dark); text-decoration: none; }
.contact-chip { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--text-2); }
.contact-alt { font-size: var(--text-sm); color: var(--text-3); }
.tcsp-note { font-size: var(--text-xs); color: var(--text-3); max-width: 60ch; }
.net-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }

/* ─── 23. RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .cf-footer__inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cf-nav__links { display: none; }
  .cf-footer__nav { grid-template-columns: 1fr 1fr; }
  .section-outer { padding: var(--sp-16) 0; }
  .cf-hero { padding: var(--sp-16) 0; }
  .cf-hero__actions .btn-primary, .cf-hero__actions .btn-secondary { width: 100%; }
}

/* ─── 24. DARK MODE ───────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1020; --bg-2: #101731; --bg-3: #162040;
    --border: #202B4E; --border-strong: #2C3A63;
    --rule: #B9C3DC33;
    --text-1: #EDF1FA; --text-2: #AAB6D3; --text-3: #6C7A9E;
    --cf-blue-light: rgba(10, 92, 255, 0.16);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4); --shadow-md: 0 2px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 6px 32px rgba(0,0,0,0.5);
  }
  :root:not([data-theme="light"]) body { background: var(--bg); }
  :root:not([data-theme="light"]) .bullet-card,
  :root:not([data-theme="light"]) .prose-card,
  :root:not([data-theme="light"]) .service-card,
  :root:not([data-theme="light"]) .pkg-card,
  :root:not([data-theme="light"]) .stat-card,
  :root:not([data-theme="light"]) .fw-step,
  :root:not([data-theme="light"]) .faq-item,
  :root:not([data-theme="light"]) .form-wrap,
  :root:not([data-theme="light"]) .table-scroll,
  :root:not([data-theme="light"]) .badge, :root:not([data-theme="light"]) .pill { background: var(--bg-2); }
  :root:not([data-theme="light"]) .vs-table th { background: var(--bg-3); }
  :root:not([data-theme="light"]) header:has(.cf-nav) { background: rgba(11, 16, 32, 0.85); }
  :root:not([data-theme="light"]) a { color: #6FA1FF; }
  :root:not([data-theme="light"]) .stamp { box-shadow: inset 0 0 0 1.5px var(--bg-2), inset 0 0 0 2.5px currentColor; }
}
