/* ============================================================
   NELLA Support — design system v3
   Editorial, restrained, institutional. No gradients, no glow.
   Type: Fraunces (display) / Inter (UI)
   ============================================================ */
:root {
  /* Palette matched to the NELLA Support logo: magenta pinwheel + black wordmark */
  --ink: #161116;
  --ink-soft: #453d44;
  --muted: #746a72;
  --paper: #fbf8fa;
  --card: #ffffff;
  --line: #ecdfe7;
  --line-dark: #d2bfcb;
  --green: #c4126e;        /* brand magenta (primary) */
  --green-dark: #8e0b4f;   /* deep magenta */
  --green-tint: #fbe9f3;
  --gold: #ec1e8c;         /* bright pink (accent) */
  --gold-tint: #fdedf6;
  --red: #9c2525;
  --red-tint: #f7e6e6;
  --radius: 6px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-family: var(--font-body); font-weight: 700; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn:hover, nav a:hover, .side a:hover { text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* Small-caps label used across sections */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #b9b6ad; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: flex-end; gap: 28px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #b9b6ad; }
.topbar a:hover { color: #fff; }
.topbar .phone { color: var(--gold); font-variant-numeric: tabular-nums; }
header.site { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 14px; height: 14px; background: var(--green); display: inline-block; align-self: center; }
.brand em { font-style: italic; font-weight: 400; color: var(--green); }
nav.main { display: flex; align-items: center; gap: 24px; padding-top: 12px; }
nav.main a { color: var(--ink-soft); font-weight: 500; font-size: 13px; letter-spacing: .05em; border-bottom: 2px solid transparent; padding-bottom: 2px; white-space: nowrap; }
nav.main a:hover { color: var(--ink); }
nav.main a.active { color: var(--ink); border-bottom-color: var(--gold); }
/* Resources dropdown */
.nav-drop { position: relative; padding-bottom: 10px; margin-bottom: -10px; }
.nav-drop .drop-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop .drop-toggle svg { width: 13px; height: 13px; transition: transform .15s ease; }
.nav-drop:hover .drop-toggle svg, .nav-drop:focus-within .drop-toggle svg { transform: rotate(180deg); }
.drop-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 200px; background: var(--card); border: 1px solid var(--line-dark); padding: 6px 0; z-index: 60; box-shadow: 0 12px 28px rgba(22, 17, 22, .1); }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 11px 18px; font-size: 13px; font-weight: 500; color: var(--ink-soft); border-bottom: none; letter-spacing: .04em; }
.drop-menu a:hover { background: var(--green-tint); color: var(--ink); }
.drop-menu a.active { color: var(--green); font-weight: 600; }

.nav-auth { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-auth .btn, .btn { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); border-radius: 2px; padding: 9px 11px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 20px; height: 20px; display: block; }
.nav-toggle .i-close, header.site.menu-open .nav-toggle .i-burger { display: none; }
header.site.menu-open .nav-toggle .i-close { display: block; }
@media (max-width: 1060px) {
  header.site .container { flex-wrap: wrap; gap: 14px; padding-top: 12px; padding-bottom: 12px; justify-content: flex-start; }
  .brand { margin-right: auto; }
  .brand svg, .brand img { height: 56px !important; width: auto; }
  .nav-toggle { display: block; order: 3; }
  .nav-auth { order: 2; }
  nav.main { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 2px; border-top: 1px solid var(--line); margin-top: 4px; }
  header.site.menu-open nav.main { display: flex; }
  nav.main a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  nav.main a.active { color: var(--green); border-bottom-color: var(--line); }
  nav.main a:last-child { border-bottom: none; }
  /* dropdown flattens into the stacked menu */
  .nav-drop { position: static; width: 100%; padding-bottom: 0; margin-bottom: 0; }
  .nav-drop .drop-toggle { display: flex; width: 100%; }
  .nav-drop .drop-toggle svg { display: none; }
  .drop-menu { display: block; position: static; border: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0; background: transparent; }
  .drop-menu a { padding: 12px 4px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .chip-user { display: none; } }
/* Signed-in account bar — sits just above the page content */
.account-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.account-bar .container { display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.account-bar .btn, .account-bar .chip-user { padding: 10px 20px; font-size: 13px; line-height: 1.2; }
.account-bar .btn:first-child { margin-left: 0; }
/* Notification bell */
.bell-wrap { position: relative; }
.bell { position: relative; background: none; border: 1px solid var(--line-dark); border-radius: 2px; padding: 9px 11px; cursor: pointer; color: var(--ink); display: block; }
.bell svg { width: 19px; height: 19px; display: block; }
.bell:hover { border-color: var(--ink); }
.bell-count { position: absolute; top: -7px; right: -7px; background: var(--green); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.bell-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 340px; max-width: 88vw; max-height: 420px; overflow-y: auto; background: var(--card); border: 1px solid var(--line-dark); box-shadow: 0 14px 32px rgba(22,17,22,.14); z-index: 90; }
.bell-item { display: block; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.bell-item:hover { background: var(--paper); text-decoration: none; }
.bell-item.unread { background: var(--green-tint); }
.bell-item strong { display: block; color: var(--ink); font-size: 13.5px; }
.bell-item span { display: block; }
.bell-item em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.bell-empty { padding: 22px 18px; font-size: 13.5px; color: var(--muted); }

/* Express processing toggle at checkout */
.express-opt { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-tint); border: 1px solid var(--line-dark); padding: 16px 18px; margin: 18px 0 4px; font-size: 13.5px; line-height: 1.55; cursor: pointer; }
.express-opt input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--green); flex-shrink: 0; }
.express-opt strong { color: var(--green-dark); }

/* Domain availability checker */
.domain-check { background: var(--card); border: 1px solid var(--line-dark); padding: 22px 24px; margin-bottom: 24px; }
.domain-check .dc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.domain-check input { flex: 1; min-width: 200px; padding: 12px 14px; border: 1px solid var(--line-dark); font-size: 15px; font-family: var(--font-body); }
.dc-results { margin-top: 14px; display: grid; gap: 7px; }
.dc-res { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 9px 14px; border: 1px solid var(--line); background: var(--paper); }
.dc-res.free { border-color: #7cb342; background: #f2f8ec; }
.dc-res.taken { border-color: #d2a0a0; background: #faf0f0; color: var(--muted); }

/* Paper-form option on order pages */
.paper-option { background: var(--gold-tint); border: 1px solid var(--line-dark); padding: 14px 20px; font-size: 13.5px; margin-bottom: 22px; line-height: 1.6; }
.paper-option strong { color: var(--green-dark); }

/* Signature pad modal */
.sign-overlay { position: fixed; inset: 0; background: rgba(22,17,22,.55); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sign-box { background: var(--card); border: 1px solid var(--line-dark); padding: 30px 32px; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; }
#sign-canvas { width: 100%; height: 170px; background: #fff; border: 1px dashed var(--line-dark); display: block; cursor: crosshair; }

/* Password field */
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 46px; }
.pw-eye { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); padding: 7px; }
.pw-eye:hover { color: var(--ink); }
.pw-eye svg { width: 19px; height: 19px; display: block; }
.pw-eye .i-hide, .pw-eye.showing .i-show { display: none; }
.pw-eye.showing .i-hide { display: block; }
.pw-meter { height: 4px; background: var(--line); margin-top: 9px; }
.pw-meter span { display: block; height: 4px; width: 0; transition: width .25s ease, background .25s ease; }

/* USD price hint */
.usd-hint { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 7px; font-family: var(--font-body); letter-spacing: 0; }

.chip-user { border: 1px solid var(--ink); color: var(--ink); padding: 8px 16px; font-weight: 600; font-size: 13px; letter-spacing: .04em; cursor: pointer; background: none; }
.chip-user:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 28px; border-radius: 2px; font-weight: 600; font-size: 13.5px; letter-spacing: .05em; cursor: pointer; border: 1px solid transparent; font-family: var(--font-body); text-align: center; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-gold { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-gold:hover { background: #000; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 12.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Hero (dark, kente-inspired geometric backdrop, animated) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #f6f0f4;
  padding: 100px 0 88px;
  border-bottom: 4px solid var(--gold);
  background-color: #1c0a15;
}
/* aurora blobs — soft magenta light that visibly drifts and breathes */
.hero { background: linear-gradient(120deg, #150710 0%, #240c1b 55%, #33112a 100%); }
.hero::before {
  content: '';
  position: absolute; width: 900px; height: 700px; right: -220px; top: -260px;
  background: radial-gradient(closest-side, rgba(236,30,140,.42), rgba(236,30,140,.12) 55%, transparent 72%);
  filter: blur(50px);
  animation: blob-a 11s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute; width: 760px; height: 620px; left: -260px; bottom: -320px;
  background: radial-gradient(closest-side, rgba(196,18,110,.34), rgba(142,11,79,.14) 55%, transparent 72%);
  filter: blur(55px);
  animation: blob-b 14s ease-in-out infinite alternate;
}
/* rotating brand pinwheels (injected in index.html) */
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art .pw { position: absolute; }
.hero-art .pw svg { width: 100%; height: 100%; display: block; animation: pw-spin 50s linear infinite; }
.hero-art .pw1 { width: 500px; height: 500px; right: -110px; top: -90px; opacity: .3; }
.hero-art .pw2 { width: 300px; height: 300px; right: 20%; bottom: -130px; opacity: .22; }
.hero-art .pw2 svg { animation-duration: 34s; animation-direction: reverse; }
.hero-art .pw3 { width: 190px; height: 190px; right: 38%; top: 8%; opacity: .14; }
.hero-art .pw3 svg { animation-duration: 26s; }
.hero > .container { position: relative; z-index: 1; animation: hero-rise .9s cubic-bezier(.2,.7,.3,1) both; }
@keyframes blob-a {
  from { transform: translate(0, 0) scale(1); opacity: .95; }
  to   { transform: translate(-160px, 90px) scale(1.18); opacity: .65; }
}
@keyframes blob-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(140px, -70px) scale(1.14); }
}
@keyframes pw-spin { to { transform: rotate(360deg); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .hero-art .pw2, .hero-art .pw3 { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero > .container, .hero-art .pw svg { animation: none; }
}
.hero .kicker { color: var(--gold); margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 780px; margin-bottom: 26px; font-weight: 500; color: #fdfcf8; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero h1 .g { font-style: italic; color: var(--gold); }
.hero p.lead { font-size: 18px; color: #e4d6de; max-width: 560px; margin-bottom: 38px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta-row .btn-gold { background: var(--gold); color: #1c0a15; border-color: var(--gold); font-weight: 700; }
.hero .cta-row .btn-gold:hover { background: #f24d9f; border-color: #f24d9f; }
.hero .cta-row .btn-outline { border-color: #f6f0f4; color: #f6f0f4; }
.hero .cta-row .btn-outline:hover { background: #f6f0f4; color: #1c0a15; }
.hero .stats { display: flex; gap: 0; margin-top: 72px; flex-wrap: wrap; border-top: 1px solid rgba(244,241,234,.28); }
.hero .stats div { padding: 20px 36px 0 0; margin-right: 36px; }
.hero .stats div strong { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: #ffffff; }
.hero .stats div span { font-size: 13px; color: #f2e9ee; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.block.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 12px 0 14px; font-weight: 500; }
.sec-head p { color: var(--muted); font-size: 16px; }
.center .sec-head, .sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: var(--card); padding: 34px 30px; position: relative; transition: background .15s ease; display: flex; flex-direction: column; align-items: flex-start; }
.card:hover { background: #fdf9fb; }
.card .btn { margin-top: 0; }
.card .icon { width: 40px; height: 40px; color: var(--green); margin-bottom: 20px; }
.card .icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 600; }
.card p.desc { color: var(--muted); font-size: 14px; margin-bottom: 24px; line-height: 1.6; min-height: unset !important; }
.card .price { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); margin-top: auto; margin-bottom: 18px; }
/* Cards without a price row (e.g. legislations): anchor the button to the bottom */
.card p.desc + .btn { margin-top: auto; }
.card .price small { color: var(--muted); font-weight: 400; font-size: 13px; font-family: var(--font-body); }
.badge-free { display: inline-block; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 3px 10px; margin-bottom: 12px; }

/* ---------- Steps (order progress) ---------- */
.steps { display: flex; border: 1px solid var(--line-dark); margin: 36px 0; overflow-x: auto; background: var(--card); }
.steps .step { flex: 1; text-align: center; padding: 14px 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); white-space: nowrap; border-right: 1px solid var(--line); }
.steps .step:last-child { border-right: none; }
.steps .step.active { background: var(--ink); color: var(--paper); }
.steps .step.done { color: var(--green); }
.steps .step.done::before { content: '✓ '; }

/* ---------- Forms ---------- */
.panel { background: var(--card); border: 1px solid var(--line); padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.thirds { grid-template-columns: 1fr 1fr 1fr; }
.form-row.single { grid-template-columns: 1fr; }
@media (max-width: 720px) { .form-row, .form-row.thirds { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-dark); border-radius: 2px; font-size: 15px; font-family: var(--font-body); background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,89,55,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.checkgroup label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; padding: 9px 0; cursor: pointer; }
.checkgroup input { width: 17px; height: 17px; accent-color: var(--green); }
.form-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.repeat-block { border: 1px solid var(--line); background: #fdfcf9; padding: 24px; margin-bottom: 18px; position: relative; }
.repeat-block h4 { margin-bottom: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.repeat-block .rm { position: absolute; top: 16px; right: 16px; background: none; color: var(--red); border: 1px solid var(--red); padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
.repeat-block .rm:hover { background: var(--red); color: #fff; }

/* ---------- Notice ---------- */
.notice { background: var(--gold-tint); color: var(--ink-soft); border-bottom: 1px solid var(--line); text-align: center; padding: 13px 18px; font-size: 13px; }
.notice.gold { background: var(--gold-tint); }

/* ---------- Dashboard ---------- */
.dash-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 48px 28px 80px; align-items: start; }
@media (max-width: 860px) { .dash-wrap { grid-template-columns: 1fr; } }
.side { border-right: 1px solid var(--line); padding-right: 8px; position: sticky; top: 92px; }
.side a { display: block; color: var(--ink-soft); padding: 11px 14px; font-size: 14px; font-weight: 500; border-left: 2px solid transparent; cursor: pointer; }
.side a span { margin-left: 0; }
.side a:hover { color: var(--ink); background: var(--card); }
.side a.active { color: var(--green); border-left-color: var(--green); font-weight: 600; background: var(--card); }
.side hr { border: none; border-top: 1px solid var(--line); margin: 12px 0; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 36px; }
.stat { background: var(--card); padding: 26px 24px; }
.stat .num { font-family: var(--font-head); font-size: 36px; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.stat .lbl { color: var(--muted); font-size: 13px; font-weight: 500; }
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: -20px 0 36px; }
.quick-actions .qa-lbl { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-right: 4px; }
.quick-actions .qa { flex: 1 1 0; justify-content: center; display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border: 1px solid var(--line-dark); background: var(--card); font-size: 14px; font-weight: 600; color: var(--green); cursor: pointer; }
.quick-actions .qa svg { width: 22px; height: 22px; flex-shrink: 0; }
.quick-actions .qa:hover { background: var(--green); border-color: var(--green); color: #fff; text-decoration: none; }

/* ---------- Service filter (shared: home + registrations) ---------- */
.svc-filter { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.filter-search { position: relative; flex: 1; min-width: 240px; }
.filter-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.filter-search input { width: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--line-dark); font-size: 15px; font-family: var(--font-body); background: #fff; }
.filter-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(196,18,110,.12); }
.chip { padding: 10px 18px; border: 1px solid var(--line-dark); background: #fff; font-size: 13px; font-weight: 600; letter-spacing: .03em; cursor: pointer; white-space: nowrap; font-family: var(--font-body); color: var(--ink-soft); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.chip:hover:not(.on) { border-color: var(--ink); color: var(--ink); }
.svc-count { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- Tables & badges ---------- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-dark); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.data td { padding: 15px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: #fdfcf9; }
.badge { display: inline-block; padding: 3px 10px; border: 1px solid; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.badge.draft { color: var(--muted); border-color: var(--line-dark); }
.badge.pending_payment { color: var(--gold); border-color: var(--gold); }
.badge.paid, .badge.success, .badge.demo { color: var(--green); border-color: var(--green); }
.badge.processing, .badge.awaiting_documents { color: #1d4fa1; border-color: #1d4fa1; }
.badge.submitted_to_registry { color: #6b21a8; border-color: #6b21a8; }
.badge.completed { color: #fff; background: var(--green); border-color: var(--green); }
.badge.cancelled, .badge.failed { color: var(--red); border-color: var(--red); }
.badge.requested { color: var(--muted); border-color: var(--line-dark); }
.badge.quoted { color: var(--gold); border-color: var(--gold); }
.badge.shipped { color: #6b21a8; border-color: #6b21a8; }
.badge.delivered { color: #fff; background: var(--green); border-color: var(--green); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding-left: 6px; margin: 14px 0; }
.timeline li { position: relative; padding: 0 0 18px 24px; border-left: 1px solid var(--line-dark); margin-left: 8px; font-size: 13.5px; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.timeline li time { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Checkout summary ---------- */
.summary { background: var(--card); border: 1px solid var(--line-dark); padding: 30px; }
.summary .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.summary .row.total { border-bottom: none; border-top: 2px solid var(--ink); margin-top: 6px; font-family: var(--font-head); font-weight: 600; font-size: 20px; padding-top: 16px; }

/* ---------- Document preview ---------- */
.doc-preview { background: #fff; border: 1px solid var(--line-dark); padding: 48px 54px; font-family: Georgia, 'Times New Roman', serif; font-size: 14.5px; line-height: 1.8; max-height: 640px; overflow-y: auto; }
.doc-preview h2 { text-align: center; font-family: Georgia, serif; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.doc-preview h3 { font-family: Georgia, serif; font-size: 15px; margin: 18px 0 8px; }
.doc-preview p { margin-bottom: 12px; }
.doc-preview .sig-row { display: flex; justify-content: space-between; gap: 40px; margin-top: 44px; }
.doc-preview .sig { flex: 1; border-top: 1px solid #333; padding-top: 8px; font-size: 13px; }

/* ---------- Auth ---------- */
.auth-wrap { max-width: 440px; margin: 72px auto; padding: 0 20px; }
.auth-wrap .panel { padding: 44px; }
.auth-wrap h1 { font-size: 28px; margin-bottom: 8px; font-weight: 500; }
.auth-wrap .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }
.auth-wrap .alt { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* ---------- How it works ---------- */
.how-section {
  position: relative;
  background:
    /* faint brand pinwheel watermark */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cg fill='%23c4126e' opacity='.06'%3E%3Cpath d='M0,-6 C6,-16 8,-30 2,-40 C14,-34 22,-20 18,-6 C13,-1 5,-2 0,-6 Z'/%3E%3Cpath d='M0,-6 C6,-16 8,-30 2,-40 C14,-34 22,-20 18,-6 C13,-1 5,-2 0,-6 Z' transform='rotate(45)'/%3E%3Cpath d='M0,-6 C6,-16 8,-30 2,-40 C14,-34 22,-20 18,-6 C13,-1 5,-2 0,-6 Z' transform='rotate(90)'/%3E%3Cpath d='M0,-6 C6,-16 8,-30 2,-40 C14,-34 22,-20 18,-6 C13,-1 5,-2 0,-6 Z' transform='rotate(135)'/%3E%3Cpath d='M0,-6 C6,-16 8,-30 2,-40 C14,-34 22,-20 18,-6 C13,-1 5,-2 0,-6 Z' transform='rotate(180)'/%3E%3Cpath d='M0,-6 C6,-16 8,-30 2,-40 C14,-34 22,-20 18,-6 C13,-1 5,-2 0,-6 Z' transform='rotate(225)'/%3E%3Cpath d='M0,-6 C6,-16 8,-30 2,-40 C14,-34 22,-20 18,-6 C13,-1 5,-2 0,-6 Z' transform='rotate(270)'/%3E%3Cpath d='M0,-6 C6,-16 8,-30 2,-40 C14,-34 22,-20 18,-6 C13,-1 5,-2 0,-6 Z' transform='rotate(315)'/%3E%3C/g%3E%3C/svg%3E") no-repeat right -140px top -120px / 520px 520px,
    linear-gradient(180deg, var(--gold-tint) 0%, var(--paper) 60%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.how .item { background: var(--card); padding: 34px 28px; position: relative; transition: box-shadow .2s ease; }
.how .item:hover { box-shadow: inset 0 -3px 0 var(--gold); }
.how .ic { width: 44px; height: 44px; color: var(--green); background: var(--green-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.how .ic svg { width: 22px; height: 22px; }
.how .n { font-family: var(--font-head); font-size: 15px; color: var(--gold); font-weight: 600; margin-bottom: 8px; letter-spacing: .06em; }
.how h3 { font-size: 18px; margin-bottom: 10px; font-weight: 600; }
.how p { color: var(--muted); font-size: 14px; }

/* ---------- Quotes ---------- */
.quote-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quote { background: var(--card); padding: 32px 30px; font-size: 15px; font-family: var(--font-head); font-weight: 400; line-height: 1.7; color: var(--ink-soft); display: flex; flex-direction: column; }
.quote .who { margin-top: auto; padding-top: 20px; font-family: var(--font-body); font-weight: 600; font-size: 13.5px; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.quote .who em { display: block; font-style: normal; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .03em; box-shadow: 0 0 0 3px var(--gold-tint); }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #9d9a91; padding: 64px 0 32px; font-size: 14px; }
footer.site h4 { color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
footer.site a { color: #9d9a91; display: block; padding: 4px 0; }
footer.site a:hover { color: var(--gold); text-decoration: none; }
footer.site .brand { color: #fff; }
footer.site .brand em { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-grid > div + div { padding-top: 62px; } /* drop link columns so their first links align with the intro text beside the logo */
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div + div { padding-top: 0; } }
.wa-fab { position: fixed; bottom: 24px; right: 24px; z-index: 950; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .15s ease, box-shadow .15s ease; }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(0,0,0,.34); color: #fff; text-decoration: none; }
@media (max-width: 700px) { .wa-fab { bottom: 18px; right: 18px; width: 50px; height: 50px; } }

.foot-social { display: flex; gap: 10px; margin-top: 18px; }
footer.site .foot-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #3f3c44; color: #9d9a91; padding: 0; }
footer.site .foot-social a svg { width: 17px; height: 17px; }
footer.site .foot-social a:hover { border-color: var(--gold); color: var(--gold); }

.foot-note { border-top: 1px solid #33322e; padding-top: 24px; font-size: 12.5px; color: #6f6d65; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer.site .foot-note a { display: inline; padding: 0; }
.foot-note .foot-legal { white-space: nowrap; }

/* Ghana clock in account bar */
.gh-clock { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-left: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gh-clock svg { width: 15px; height: 15px; color: var(--green); }
@media (max-width: 700px) { .gh-clock { display: none; } }
.disclaimer { border: 1px solid #33322e; padding: 16px 20px; font-size: 12.5px; color: #85837a; margin-bottom: 40px; }

/* ---------- Toast ---------- */
#toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 13px 26px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200; max-width: 90vw; border-left: 3px solid var(--gold); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { border-left-color: var(--red); }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-title { padding: 56px 28px 10px; }
.page-title h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 500; }
.page-title p { color: var(--muted); max-width: 620px; margin-top: 12px; }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .big { font-family: var(--font-head); font-size: 28px; color: var(--line-dark); margin-bottom: 12px; }
