/* =================================================================
   SIGNET FORWARDING  —  Design System v2
   Reference: Stripe · Flexport · Linear · McKinsey · FT.com
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,300;1,9..144,400;1,9..144,600;1,9..144,700&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Palette — warm, not cold */
  --ink:           #0C0B09;
  --ink-80:        rgba(12,11,9,0.80);
  --ink-55:        rgba(12,11,9,0.55);
  --ink-30:        rgba(12,11,9,0.30);
  --ink-12:        rgba(12,11,9,0.12);
  --ink-06:        rgba(12,11,9,0.06);

  --canvas:        #F4F1EC;
  --canvas-dim:    #EDEAE3;
  --canvas-border: #E0DDD6;

  --white:         #FFFFFF;

  --night:         #0C2B18;
  --night-2:       #163825;
  --night-3:       #1E4A31;

  --amber:         #15803D;
  --amber-vivid:   #16A34A;
  --amber-pale:    #DCFCE7;
  --amber-border:  rgba(21,128,61,0.22);

  /* Semantic */
  --green:         #166534;
  --green-bg:      #F0FDF4;
  --green-border:  #BBF7D0;
  --red:           #991B1B;
  --red-bg:        #FEF2F2;
  --red-border:    #FECACA;
  --blue:          #1E40AF;
  --blue-bg:       #EFF6FF;
  --blue-border:   #BFDBFE;
  --yellow:        #92400E;
  --yellow-bg:     #FFFBEB;
  --yellow-border: #FDE68A;
  --purple:        #5B21B6;
  --purple-bg:     #F5F3FF;
  --purple-border: #DDD6FE;

  /* Typography */
  --font-serif:  'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:   'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Border radius */
  --r-sm:   3px;
  --r-md:   6px;
  --r-lg:   10px;
  --r-xl:   16px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 56px rgba(0,0,0,0.14), 0 8px 16px rgba(0,0,0,0.08);

  /* Layout */
  --sidebar-w:   256px;
  --topbar-h:    60px;
  --max-w:       1240px;

  /* Motion */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:      0.12s;
  --t-base:      0.22s;
  --t-slow:      0.38s;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }
input:focus, textarea:focus, select:focus, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ── Typography Scale ──────────────────────────────────────── */
.t-display {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.t-hero {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.t-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.t-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.t-h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.3;
}

.t-h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.t-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.t-body { font-size: 0.9375rem; line-height: 1.7; }
.t-sm   { font-size: 0.875rem; }
.t-xs   { font-size: 0.8125rem; }
.t-mono { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.02em; }

.t-muted  { color: var(--ink-55); }
.t-subtle { color: var(--ink-30); }
.t-amber  { color: var(--amber-vivid); }

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

.section     { padding: var(--sp-24) 0; }
.section-md  { padding: var(--sp-16) 0; }
.section-sm  { padding: var(--sp-12) 0; }

/* ================================================================
   PUBLIC NAVIGATION
   ================================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(10,15,26,0.96);
  border-bottom-color: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.nav-logo .wordmark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-logo .wordmark em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  transition: color var(--t-fast);
  letter-spacing: 0.005em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t-fast);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.5625rem 1.125rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

.btn:active { transform: translateY(1px); }

/* Filled dark */
.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: #1a1917;
  box-shadow: var(--shadow-sm);
}

/* Amber / primary */
.btn-amber {
  background: var(--amber-vivid);
  color: var(--white);
  border-color: var(--amber-vivid);
}
.btn-amber:hover {
  background: var(--amber);
  box-shadow: var(--shadow-sm);
}

/* Ghost on dark bg */
.btn-ghost-dark {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.80);
  border-color: rgba(255,255,255,0.12);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.20);
}

/* Outline on light bg */
.btn-outline {
  background: transparent;
  color: var(--ink-80);
  border-color: var(--ink-12);
}
.btn-outline:hover {
  border-color: var(--ink-30);
  background: var(--ink-06);
}

/* Ghost on light bg */
.btn-ghost {
  background: transparent;
  color: var(--ink-55);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--ink-06);
  color: var(--ink);
}

.btn-danger {
  background: var(--red-bg);
  color: var(--red);
  border-color: var(--red-border);
}
.btn-danger:hover { background: #fee2e2; }

/* Sizes */
.btn-xs  { padding: 0.3125rem 0.625rem; font-size: 0.75rem; }
.btn-sm  { padding: 0.4375rem 0.875rem; font-size: 0.8125rem; }
.btn-lg  { padding: 0.75rem 1.625rem; font-size: 0.9375rem; }
.btn-xl  { padding: 0.9375rem 2rem; font-size: 1rem; font-weight: 500; }
.btn-icon { padding: 0.5rem; width: 34px; height: 34px; border-radius: var(--r-md); }
.w-full { width: 100%; justify-content: center; }

/* ================================================================
   HERO  (dark, editorial, typographic)
   ================================================================ */
.hero {
  background: var(--night);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

/* Subtle texture */
.hero-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(21,128,61,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(28,38,53,0.8) 0%, transparent 50%);
}

/* Faint ruled lines */
.hero-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 100% 72px;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 180px var(--sp-6) var(--sp-16);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-vivid);
  margin-bottom: var(--sp-6);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--sp-8);
  max-width: 820px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}

.hero-headline strong {
  font-weight: 600;
  color: var(--white);
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.52);
  max-width: 480px;
  margin-bottom: var(--sp-10);
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-16);
}

.hero-rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-6);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding-bottom: var(--sp-8);
}

.hero-meta-item {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.01em;
}

.hero-meta-item strong {
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.hero-meta-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.12);
}

/* ================================================================
   PAGE HEADERS  (inner pages, dark band)
   ================================================================ */
.page-band {
  background: var(--night);
  padding: 120px var(--sp-6) var(--sp-12);
}

.page-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-band-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-vivid);
  margin-bottom: var(--sp-4);
}

.page-band-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.page-band-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
}

/* ================================================================
   SERVICES — editorial list layout
   ================================================================ */
.services-list {
  border-top: 1px solid var(--ink-12);
}

.service-row {
  display: grid;
  grid-template-columns: 2fr 3fr auto;
  align-items: start;
  gap: var(--sp-8);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--ink-12);
  transition: background var(--t-fast);
}

.service-row:hover {
  background: var(--ink-06);
  margin: 0 calc(-1 * var(--sp-6));
  padding-left: var(--sp-6);
  padding-right: var(--sp-6);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-30);
  margin-top: 6px;
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--ink-55);
  line-height: 1.7;
  max-width: 480px;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-55);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
  margin-top: 4px;
}

/* ================================================================
   PROCESS STEPS  (minimal, typographic)
   ================================================================ */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-12);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.step-cell {
  background: var(--white);
  padding: var(--sp-8);
}

.step-idx {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-30);
  margin-bottom: var(--sp-6);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}

.step-body {
  font-size: 0.9rem;
  color: var(--ink-55);
  line-height: 1.7;
}

/* ================================================================
   STAT BAND  (dark, minimal)
   ================================================================ */
.stat-band {
  background: var(--night);
  padding: var(--sp-12) 0;
}

.stat-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.stat-cell {
  background: var(--night);
  padding: var(--sp-8) var(--sp-6);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.01em;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-block {
  background: var(--night);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-12);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(21,128,61,0.10) 0%, transparent 60%);
}

.cta-block-inner { position: relative; z-index: 2; }

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: var(--sp-4);
  max-width: 600px;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.48);
  margin-bottom: var(--sp-8);
  max-width: 460px;
  line-height: 1.7;
  font-weight: 300;
}

/* ================================================================
   CARDS  (refined, minimal)
   ================================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}

.card-sm { padding: var(--sp-5); }

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--ink-06);
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.card-subtitle {
  font-size: 0.8125rem;
  color: var(--ink-55);
  margin-top: 2px;
}

/* Dashboard stat card */
.stat-card {
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.stat-lbl {
  font-size: 0.8125rem;
  color: var(--ink-55);
  font-weight: 400;
}

.stat-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: var(--sp-2);
}

.delta-up   { color: var(--green); }
.delta-down { color: var(--red); }

/* ================================================================
   FORMS  (refined)
   ================================================================ */
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-80);
}

.required { color: #DC2626; margin-left: 1px; }

.form-control {
  width: 100%;
  padding: 0.5625rem 0.75rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}

.form-control:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(21,128,61,0.14);
}

.form-control::placeholder { color: var(--ink-30); }

.form-control:disabled {
  background: var(--canvas);
  color: var(--ink-55);
  cursor: not-allowed;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230C0B09' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 2.25rem;
}

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

.input-wrap { position: relative; }

.input-prefix,
.input-suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-30);
  font-size: 0.875rem;
  pointer-events: none;
}

.input-prefix { left: 0.75rem; }
.input-prefix ~ .form-control { padding-left: 2rem; }

.input-suffix { right: 0.75rem; }

.form-hint  { font-size: 0.78125rem; color: var(--ink-55); }
.form-error { font-size: 0.78125rem; color: #DC2626; }

/* Upload zone */
.upload-zone {
  border: 1.5px dashed var(--ink-12);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  background: var(--canvas);
}

.upload-zone:hover, .upload-zone.active {
  border-color: var(--amber);
  background: var(--amber-pale);
}

.upload-zone-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--sp-3);
  color: var(--ink-30);
}

.upload-zone p { font-size: 0.875rem; color: var(--ink-55); }
.upload-zone .link { color: var(--amber); font-weight: 500; }
.upload-zone .hint { font-size: 0.75rem; color: var(--ink-30); margin-top: 4px; }

/* ================================================================
   DATA TABLES
   ================================================================ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink-12);
  border-radius: var(--r-lg);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  padding: var(--sp-3) var(--sp-5);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-55);
  background: var(--canvas);
  border-bottom: 1px solid var(--ink-12);
  text-align: left;
  white-space: nowrap;
}

.data-table tbody tr { transition: background var(--t-fast); }
.data-table tbody tr:hover { background: var(--canvas); }

.data-table tbody td {
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.875rem;
  color: var(--ink-80);
  border-bottom: 1px solid var(--ink-06);
  vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.col-ref {
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  color: var(--ink);
  font-weight: 500;
}

.col-strong {
  font-weight: 600;
  color: var(--ink);
}

.col-dim { color: var(--ink-55); }

/* ================================================================
   BADGES
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-pending    { background: var(--canvas-dim); color: var(--ink-55); }
.badge-pending::before { background: var(--ink-30); }

.badge-submitted  { background: var(--blue-bg); color: var(--blue); border: 1px solid var(--blue-border); }
.badge-submitted::before { background: var(--blue); }

.badge-review     { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); }
.badge-review::before { background: #D97706; }

.badge-clearance  { background: var(--purple-bg); color: var(--purple); border: 1px solid var(--purple-border); }
.badge-clearance::before { background: var(--purple); }

.badge-released   { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.badge-released::before { background: #16A34A; }

.badge-delivered  { background: var(--night); color: rgba(255,255,255,0.75); }
.badge-delivered::before { background: rgba(255,255,255,0.4); }

.badge-paid       { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.badge-paid::before { background: #16A34A; }

.badge-unpaid     { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.badge-unpaid::before { background: #DC2626; }

/* ================================================================
   ALERTS
   ================================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  line-height: 1.6;
}

.alert-info    { background: var(--blue-bg);   color: #1E3A8A; border: 1px solid var(--blue-border); }
.alert-success { background: var(--green-bg);  color: var(--green); border: 1px solid var(--green-border); }
.alert-warning { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); }
.alert-danger  { background: var(--red-bg);    color: var(--red); border: 1px solid var(--red-border); }

/* ================================================================
   DASHBOARD LAYOUT
   ================================================================ */
.dash-wrap {
  display: flex;
  min-height: 100vh;
  background: var(--canvas);
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--night);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 200;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: transform var(--t-slow) var(--ease);
}

.sidebar-head {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.sidebar-wordmark {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.sidebar-wordmark em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-3);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.nav-group { margin-bottom: var(--sp-5); }

.nav-group-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  padding: var(--sp-2) var(--sp-3) var(--sp-2);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  color: rgba(255,255,255,0.52);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
  margin-bottom: 1px;
  position: relative;
}

.nav-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.80); }

.nav-item.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-weight: 500;
}

.nav-item.active svg { opacity: 1; }

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 14px;
  background: var(--amber-vivid);
  border-radius: 0 1px 1px 0;
}

.nav-badge {
  margin-left: auto;
  background: var(--amber-vivid);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--r-pill);
  min-width: 18px;
  text-align: center;
  line-height: 16px;
  height: 16px;
}

.sidebar-foot {
  padding: var(--sp-4) var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--t-fast);
}

.sidebar-user:hover { background: rgba(255,255,255,0.05); }

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.user-name { font-size: 0.8125rem; font-weight: 500; color: rgba(255,255,255,0.80); }
.user-role { font-size: 0.71875rem; color: rgba(255,255,255,0.30); margin-top: 1px; }

/* Main content */
.dash-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Topbar */
.topbar {
  height: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid var(--ink-12);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-6);
  gap: var(--sp-4);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-crumbs {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.crumb        { font-size: 0.8125rem; color: var(--ink-55); }
.crumb-sep    { font-size: 0.6875rem; color: var(--ink-30); }
.crumb.active { color: var(--ink); font-weight: 500; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.topbar-sep {
  width: 1px;
  height: 18px;
  background: var(--ink-12);
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-55);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background var(--t-fast), color var(--t-fast);
}

.icon-btn:hover { background: var(--ink-06); color: var(--ink); }

.icon-btn .dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: #DC2626;
  border: 1.5px solid var(--white);
  border-radius: 50%;
}

/* Page content */
.page-content { padding: var(--sp-6); flex: 1; }

.page-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.018em;
}

.page-subtitle { font-size: 0.875rem; color: var(--ink-55); margin-top: 3px; }

/* Stats grid */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

/* Content grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-5);
}

/* ================================================================
   TIMELINE
   ================================================================ */
.timeline { padding-left: 24px; position: relative; }

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: var(--ink-12);
}

.tl-item { position: relative; margin-bottom: var(--sp-5); }
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--ink-12);
  z-index: 1;
}

.tl-item.done .tl-dot    { background: var(--green); border-color: var(--green); }
.tl-item.current .tl-dot {
  background: var(--white);
  border-color: var(--amber-vivid);
  box-shadow: 0 0 0 3px var(--amber-pale);
}

.tl-title { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.tl-date  { font-size: 0.78125rem; color: var(--ink-30); margin-top: 2px; }
.tl-note  { font-size: 0.8125rem; color: var(--ink-55); margin-top: 3px; line-height: 1.5; }

/* ================================================================
   PRICING CALCULATOR
   ================================================================ */
.calc-wrap {
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.calc-head {
  background: var(--night);
  padding: var(--sp-6) var(--sp-8);
}

.calc-head-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-1);
}

.calc-head-sub { font-size: 0.875rem; color: rgba(255,255,255,0.45); }

.calc-body { padding: var(--sp-8); }

.calc-result {
  background: var(--canvas);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-top: var(--sp-5);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) 0;
  font-size: 0.875rem;
  color: var(--ink-55);
  border-bottom: 1px solid var(--ink-06);
}

.result-row:last-child { border-bottom: none; }

.result-row.total {
  border-top: 1px solid var(--ink-12);
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: none;
}

.result-amount { font-weight: 500; color: var(--ink); }

/* ================================================================
   DOCUMENT TAGS
   ================================================================ */
.doc-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.doc-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--canvas);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  color: var(--ink-80);
  font-weight: 400;
}

.doc-tag.uploaded { background: var(--green-bg);  border-color: var(--green-border);  color: var(--green); }
.doc-tag.missing  { background: var(--yellow-bg); border-color: var(--yellow-border); color: var(--yellow); }

/* ================================================================
   AUTH PAGES
   ================================================================ */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-aside {
  background: var(--night);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-10);
  position: relative;
  overflow: hidden;
}

.auth-aside::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 60%, rgba(21,128,61,0.10) 0%, transparent 55%);
  pointer-events: none;
}

.auth-aside-content { position: relative; z-index: 2; }

.auth-aside-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-top: var(--sp-12);
}

.auth-aside-meta { font-size: 0.875rem; color: rgba(255,255,255,0.35); margin-top: var(--sp-3); }

.auth-form-panel {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-10) var(--sp-12);
  overflow-y: auto;
}

.auth-form-inner { width: 100%; max-width: 400px; }

.auth-form-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.auth-form-sub { font-size: 0.9rem; color: var(--ink-55); margin-bottom: var(--sp-8); }

/* ================================================================
   MODAL
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,26,0.6);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
  backdrop-filter: blur(4px);
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  padding: var(--sp-8);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--t-slow) var(--ease);
}

.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ================================================================
   SIDEBAR OVERLAY  (mobile)
   ================================================================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,26,0.5);
  z-index: 150;
  backdrop-filter: blur(2px);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--night);
  padding: var(--sp-16) 0 0;
  color: rgba(255,255,255,0.48);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.footer-brand-name em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.35); }

.footer-brand-desc { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-col-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: var(--sp-5);
}

.footer-col-links { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer-col-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  transition: color var(--t-fast);
}

.footer-col-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

/* ================================================================
   UTILITIES
   ================================================================ */
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }

.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }

.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.gap-6 { gap: var(--sp-6); }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }

.divider { height: 1px; background: var(--ink-12); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .steps-wrap { grid-template-columns: 1fr; }
  .auth-wrap  { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .services-list .service-row { grid-template-columns: 1fr; gap: var(--sp-3); }
  .service-tag { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .dash-main { margin-left: 0; }
  .sidebar   { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: block; }

  .page-hd { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: 1fr; }

  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .cta-block { padding: var(--sp-10) var(--sp-6); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .stat-band-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stat-band-inner { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.anim-up   { animation: fadeUp  0.6s var(--ease) both; }
.anim-in   { animation: fadeIn  0.4s var(--ease) both; }

.d-100 { animation-delay: 0.10s; }
.d-200 { animation-delay: 0.20s; }
.d-300 { animation-delay: 0.30s; }
.d-400 { animation-delay: 0.40s; }
.d-500 { animation-delay: 0.50s; }

/* ================================================================
   COMPATIBILITY ALIASES  (old class/variable names → new system)
   ================================================================ */

/* Old CSS custom property names */
:root {
  --navy-900:   var(--night);
  --navy-800:   var(--night-2);
  --navy-700:   var(--night-3);
  --gray-50:    var(--canvas);
  --gray-100:   var(--canvas-dim);
  --gray-200:   var(--canvas-border);
  --gray-300:   var(--ink-12);
  --gray-400:   var(--ink-30);
  --gray-500:   var(--ink-55);
  --gray-600:   var(--ink-55);
  --gray-700:   var(--ink-80);
  --gray-800:   var(--ink-80);
  --gray-900:   var(--ink);
  --white:      #FFFFFF;
  --font-display: var(--font-serif);
  --gold-400:   var(--amber);
  --gold-500:   var(--amber);
  --gold-600:   var(--amber-vivid);
  --success:    var(--green);
  --warning:    var(--yellow);
  --danger:     var(--red);
  --danger-bg:  var(--red-bg);
  --radius-sm:  var(--r-sm);
  --radius-md:  var(--r-md);
  --radius-lg:  var(--r-lg);
  --radius-xl:  var(--r-xl);
  --radius-2xl: var(--r-xl);
  --info:           var(--blue);
  --info-bg:        var(--blue-bg);
  --warning-bg:     var(--yellow-bg);
  --warning-text:   var(--yellow);
  --warning-border: var(--yellow-border);
  --space-1:    var(--sp-1);
  --space-2:    var(--sp-2);
  --space-3:    var(--sp-3);
  --space-4:    var(--sp-4);
  --space-5:    var(--sp-5);
  --space-6:    var(--sp-6);
  --space-8:    var(--sp-8);
  --space-10:   var(--sp-10);
  --space-12:   var(--sp-12);
  --space-16:   var(--sp-16);
  --space-20:   var(--sp-20);
  --space-24:   var(--sp-24);
}

/* Old button class aliases */
.btn-primary      { background: var(--amber-vivid); color: var(--white); border-color: var(--amber-vivid); }
.btn-primary:hover { background: var(--amber); box-shadow: var(--shadow-sm); }
.btn-outline-dark { background: transparent; color: var(--ink-80); border: 1px solid var(--ink-12); }
.btn-outline-dark:hover { border-color: var(--ink-30); background: var(--ink-06); }

/* Old section header classes */
.section-header { text-align: center; margin-bottom: var(--sp-10); }
.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-vivid);
  margin-bottom: var(--sp-3);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}
.section-subtitle { font-size: 1rem; color: var(--ink-55); line-height: 1.7; max-width: 540px; margin: 0 auto; }

/* Old service card (used in inline area views) */
.service-card {
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}
.service-card p { font-size: 0.9rem; color: var(--ink-55); line-height: 1.7; }
.service-icon { display: none; } /* icons removed per design brief */

/* Old steps classes */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-5); }
.step-item { padding: var(--sp-6); background: var(--white); border: 1px solid var(--ink-12); border-radius: var(--r-lg); }
.step-number { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--ink-30); margin-bottom: var(--sp-4); }
.step-item h3 { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 400; color: var(--ink); margin-bottom: var(--sp-2); }
.step-item p  { font-size: 0.9rem; color: var(--ink-55); line-height: 1.7; }

/* Old dashboard layout classes */
.dashboard-wrapper { display: flex; min-height: 100vh; background: var(--canvas); }
.dashboard-main    { flex: 1; margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-height: 100vh; }
.sidebar-logo      { height: var(--topbar-h); display: flex; align-items: center; padding: 0 var(--sp-5); border-bottom: 1px solid rgba(255,255,255,0.05); }
.logo-mark         { display: none; }
.logo-text         { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: var(--white); }
.logo-text span    { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.4); }
.sidebar-footer    { padding: var(--sp-4) var(--sp-3); border-top: 1px solid rgba(255,255,255,0.05); }
.sidebar-user      { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3); border-radius: var(--r-md); }
.avatar            { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.user-info .name   { font-size: 0.8125rem; font-weight: 500; color: rgba(255,255,255,0.80); }
.user-info .role   { font-size: 0.71875rem; color: rgba(255,255,255,0.30); margin-top: 1px; }
.sidebar-section   { margin-bottom: var(--sp-5); }
.sidebar-section-label { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.22); padding: var(--sp-2) var(--sp-3); }
.sidebar-item      { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); color: rgba(255,255,255,0.52); font-size: 0.875rem; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); margin-bottom: 1px; position: relative; }
.sidebar-item svg  { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }
.sidebar-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.80); }
.sidebar-item.active { background: rgba(255,255,255,0.08); color: var(--white); font-weight: 500; }
.sidebar-item.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 2px; height: 14px; background: var(--amber-vivid); border-radius: 0 1px 1px 0; }
.item-badge        { margin-left: auto; background: var(--amber-vivid); color: var(--white); font-size: 0.625rem; font-weight: 700; padding: 1px 6px; border-radius: var(--r-pill); min-width: 18px; text-align: center; line-height: 16px; height: 16px; }

/* Old topbar classes */
.topbar-breadcrumb  { flex: 1; display: flex; align-items: center; gap: var(--sp-2); font-size: 0.8125rem; }
.breadcrumb-item    { color: var(--ink-55); }
.breadcrumb-item.current { color: var(--ink); font-weight: 500; }
.separator          { color: var(--ink-30); font-size: 0.6875rem; }
.topbar-divider     { width: 1px; height: 18px; background: var(--ink-12); }
.topbar-icon-btn    { width: 34px; height: 34px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--ink-55); background: none; border: none; cursor: pointer; transition: background var(--t-fast); }
.topbar-icon-btn:hover { background: var(--ink-06); color: var(--ink); }
.notif-dot          { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; background: var(--amber-vivid); border-radius: 50%; border: 1.5px solid var(--white); }

/* Old calculator */
.calculator-wrap   { background: var(--white); border: 1px solid var(--ink-12); border-radius: var(--r-lg); overflow: hidden; }
.calculator-header { background: var(--night); padding: var(--sp-5) var(--sp-6); }
.calculator-body   { padding: var(--sp-6); }

/* Old stat card classes */
.stat-value { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; color: var(--ink); letter-spacing: -0.025em; line-height: 1; margin-bottom: var(--sp-1); }
.stat-label { font-size: 0.8125rem; color: var(--ink-55); font-weight: 400; }
.stat-change { display: inline-flex; align-items: center; gap: 3px; font-size: 0.75rem; font-weight: 500; margin-top: var(--sp-2); }
.stat-change.up   { color: var(--green); }
.stat-change.down { color: var(--red); }
.stat-icon { display: none; } /* icons removed per design brief */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); margin-bottom: var(--sp-5); }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.table-wrapper { overflow-x: auto; }

/* Old timeline class aliases → new .tl-* classes */
.timeline-item          { position: relative; margin-bottom: var(--sp-5); padding-left: 24px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--ink-12);
}
.timeline-item.completed .timeline-dot { background: var(--green); border-color: var(--green); }
.timeline-item.active .timeline-dot    { background: var(--white); border-color: var(--amber-vivid); box-shadow: 0 0 0 3px var(--amber-pale); }
.timeline-title { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.timeline-date  { font-size: 0.78125rem; color: var(--ink-30); margin-top: 2px; }
.timeline-note  { font-size: 0.8125rem; color: var(--ink-55); margin-top: 3px; line-height: 1.5; }
/* Connector line for old timeline */
.timeline { position: relative; padding-left: 0; }
.timeline::before { left: 6px; }
