/* ============================================================
   Qiko — sub-page styles (Contact, Terms, Privacy, DPDP, Status)
   Reuses navbar + footer from style.css. Tokens:
   navy #0F172A / #1E293B · warm-white #FAFAF8 · green #10B981 / #34D399
   ============================================================ */

.subpage { background: #FAFAF8; }

/* ---------- shared hero band ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 150px 24px 78px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, rgba(16,185,129,0) 68%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #34D399;
  margin-bottom: 20px;
}
.page-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 12px rgba(16,185,129,0.7);
}
.page-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 20ch;
  padding-bottom: 0.12em;
}
.page-title .accent {
  color: #34D399;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
}
.page-lede {
  margin-top: 30px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: #94A3B8;
  max-width: 56ch;
}
.page-lede a {
  color: #34D399;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(52, 211, 153, 0.4);
}
.page-lede a:hover {
  color: #6EE7B7;
}

/* ---------- page body shell ---------- */
.page-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px 110px;
}

/* ============================================================
   LEGAL DOCUMENTS (terms / privacy / dpdp)
   ============================================================ */
.legal-layout {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 56px;
  align-items: start;
}

/* sticky table of contents */
.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
}
.legal-toc-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94A3B8;
  margin-bottom: 16px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-toc a {
  counter-increment: toc;
  display: flex;
  gap: 11px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.4;
  color: #64748B;
  border-left: 2px solid transparent;
  transition: color 160ms ease, background 160ms ease;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #CBD5E1;
}
.legal-toc a:hover { color: #0F172A; background: #F1F1ED; }
.legal-toc a.active {
  color: #0F172A;
  background: rgba(16,185,129,0.08);
}
.legal-toc a.active::before { color: #10B981; }

/* document meta */
.doc-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  background: #fff;
  border: 1px solid #E8E8E0;
  border-radius: 999px;
  font-size: 13px;
  color: #64748B;
  margin-bottom: 40px;
  white-space: nowrap;
}
.doc-meta .dm-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
}
.doc-meta strong { color: #0F172A; font-weight: 600; }

/* prose */
.legal-content { max-width: 70ch; }
.legal-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.015em;
  color: #0F172A;
  margin: 52px 0 18px;
  padding-top: 8px;
  scroll-margin-top: 90px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h2 .h2-num {
  font-size: 14px;
  font-weight: 800;
  color: #10B981;
  font-variant-numeric: tabular-nums;
}
.legal-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1E293B;
  margin: 30px 0 12px;
}
.legal-content p,
.legal-content li {
  font-size: 16px;
  line-height: 1.78;
  color: #475569;
  text-wrap: pretty;
}
.legal-content p { margin-bottom: 18px; }
.legal-content strong { color: #1E293B; font-weight: 600; }
.legal-content a { color: #0E9F6E; font-weight: 500; border-bottom: 1px solid rgba(16,185,129,0.3); }
.legal-content a:hover { border-bottom-color: #10B981; }
.legal-content ul, .legal-content ol { margin: 0 0 20px 2px; padding-left: 22px; }
.legal-content li { margin-bottom: 9px; padding-left: 4px; }
.legal-content li::marker { color: #10B981; }

/* callout box for important clauses */
.legal-note {
  display: flex;
  gap: 15px;
  background: #fff;
  border: 1px solid #E8E8E0;
  border-left: 3px solid #10B981;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 26px 0 30px;
}
.legal-note .ln-ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(16,185,129,0.1);
  color: #0E9F6E;
  display: grid;
  place-items: center;
}
.legal-note .ln-ico svg { width: 18px; height: 18px; }
.legal-note p { margin: 0; font-size: 15px; line-height: 1.68; color: #475569; }
.legal-note p strong { color: #0F172A; }

/* definition / data table */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 30px;
  font-size: 15px;
  border: 1px solid #E8E8E0;
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th {
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  background: #F4F4EF;
  padding: 13px 18px;
}
.legal-table td {
  padding: 14px 18px;
  border-top: 1px solid #ECECE6;
  color: #475569;
  line-height: 1.6;
  vertical-align: top;
}
.legal-table td:first-child { color: #1E293B; font-weight: 600; width: 38%; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* left: method cards */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.method-card {
  background: #fff;
  border: 1px solid #E8E8E0;
  border-radius: 16px;
  padding: 26px 24px;
  transition: transform 220ms cubic-bezier(.22,.61,.36,1), box-shadow 220ms ease, border-color 220ms ease;
}
.method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(15,23,42,0.08);
  border-color: #D9D9D0;
}
.method-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(16,185,129,0.1);
  color: #0E9F6E;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.method-ico svg { width: 21px; height: 21px; }
.method-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #0F172A;
  margin-bottom: 6px;
}
.method-card p { font-size: 14px; line-height: 1.6; color: #64748B; margin-bottom: 14px; }
.method-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0E9F6E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.method-link:hover { color: #10B981; }
.method-card.span-2 { grid-column: 1 / -1; }
.method-card.span-2 { display: flex; align-items: center; gap: 20px; }
.method-card.span-2 .method-ico { margin-bottom: 0; }
.method-card.span-2 > div { flex: 1; }

/* hours strip inside wide card */
.hours-row { display: flex; gap: 28px; margin-top: 4px; }
.hours-row span { font-size: 13.5px; color: #64748B; }
.hours-row strong { color: #1E293B; font-weight: 600; }

/* right: form */
.contact-form-card {
  background: #fff;
  border: 1px solid #E8E8E0;
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: 0 22px 50px rgba(15,23,42,0.05);
}
.contact-form-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin-bottom: 6px;
}
.contact-form-card .cf-sub { font-size: 14.5px; color: #64748B; margin-bottom: 26px; line-height: 1.6; }
.cf-field { margin-bottom: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #0F172A;
  background: #FAFAF8;
  border: 1px solid #E2E2DA;
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.cf-field textarea { resize: vertical; min-height: 118px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: #9AA6B2; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
.cf-submit {
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: #10B981;
  border: none;
  border-radius: 11px;
  padding: 14px;
  cursor: pointer;
  margin-top: 4px;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.cf-submit:hover { background: #0E9F6E; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(16,185,129,0.28); }
.cf-fineprint { margin-top: 14px; font-size: 12.5px; color: #94A3B8; line-height: 1.6; text-align: center; }
.cf-fineprint a { color: #0E9F6E; }

/* ============================================================
   SYSTEM STATUS
   ============================================================ */
.status-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.04));
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 18px;
  padding: 26px 30px;
  margin-bottom: 14px;
}
.status-banner .sb-pulse {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.status-banner .sb-pulse i {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #10B981;
}
.status-banner .sb-pulse i::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #10B981;
  animation: status-ping 1.8s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes status-ping {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}
.status-banner h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #0F172A;
}
.status-banner p { font-size: 14px; color: #64748B; margin-top: 3px; }
.status-updated { margin-left: auto; text-align: right; font-size: 12.5px; color: #94A3B8; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .status-banner .sb-pulse i::after { animation: none; }
}

/* component list */
.status-section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94A3B8;
  margin: 46px 0 16px;
}
.status-list {
  background: #fff;
  border: 1px solid #E8E8E0;
  border-radius: 16px;
  overflow: hidden;
}
.status-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid #EFEFE9;
}
.status-item:first-child { border-top: none; }
.status-item .si-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: #0F172A;
}
.status-item .si-desc { font-size: 13px; color: #94A3B8; margin-top: 2px; }
.status-item .si-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0E9F6E;
}
.status-item .si-state .si-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.status-item.degraded .si-state { color: #B45309; }
.status-item.degraded .si-state .si-dot { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,0.18); }

/* 90-day uptime bar */
.uptime-block {
  background: #fff;
  border: 1px solid #E8E8E0;
  border-radius: 16px;
  padding: 26px 28px;
}
.uptime-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.uptime-head .uh-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; color: #0F172A; }
.uptime-head .uh-pct { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 15px; color: #0E9F6E; }
.uptime-bars {
  display: flex;
  gap: 3px;
  height: 38px;
  align-items: stretch;
}
.uptime-bars span {
  flex: 1;
  border-radius: 3px;
  background: #10B981;
  opacity: 0.9;
  transition: opacity 140ms ease, transform 140ms ease;
}
.uptime-bars span:hover { transform: scaleY(1.08); opacity: 1; }
.uptime-bars span.dip { background: #F59E0B; }
.uptime-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: #94A3B8;
}

/* incident history */
.incident {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid #ECECE6;
}
.incident:first-child { border-top: none; }
.incident .inc-date {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
  padding-top: 2px;
}
.incident .inc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #0F172A;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.incident .inc-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
}
.inc-tag.resolved { background: rgba(16,185,129,0.12); color: #0E9F6E; }
.inc-tag.maintenance { background: rgba(59,130,246,0.12); color: #2563EB; }
.incident .inc-body { font-size: 14.5px; line-height: 1.7; color: #64748B; }
.incident .inc-body strong { color: #334155; font-weight: 600; }

.status-empty {
  text-align: center;
  padding: 40px 0 8px;
  color: #94A3B8;
  font-size: 14.5px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-toc { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-methods { order: 2; }
}
@media (max-width: 560px) {
  .page-hero { padding: 128px 20px 56px; }
  .page-body { padding: 48px 20px 80px; }
  .contact-methods { grid-template-columns: 1fr; }
  .method-card.span-2 { flex-direction: column; align-items: flex-start; }
  .cf-row { grid-template-columns: 1fr; }
  .status-updated { display: none; }
  .incident { grid-template-columns: 1fr; gap: 8px; }
  .contact-form-card { padding: 26px 22px; }
}

/* ============================================================
   WEB DEVELOPMENT PAGE (Build with Us)
   ============================================================ */

/* ---------- hero ---------- */
.wd-hero {
  position: relative;
  overflow: hidden;
  background: #FAFAF8;
  padding: 118px 24px 76px;
}
.wd-hero-glow {
  position: absolute;
  top: -160px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(16,185,129,0.14) 0%, rgba(16,185,129,0) 68%);
  pointer-events: none;
}
.wd-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
/* let grid tracks shrink below content min-content (prevents mobile overflow) */
.wd-hero-left, .wd-hero-right { min-width: 0; }
.wd-title, .wd-sub { overflow-wrap: break-word; }
.wd-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E6E2D8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5A5648;
  width: fit-content;
}
.wd-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
  animation: wd-pulse 2s ease-in-out infinite;
}
@keyframes wd-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.wd-title {
  margin-top: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #171712;
}
.wd-sub {
  margin-top: 22px;
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.7;
  color: #5A5648;
  max-width: 48ch;
}
.wd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 30px;
}
.wd-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10B981;
  color: #fff;
  border-radius: 11px;
  padding: 14px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(16,185,129,0.28);
  transition: transform .16s, box-shadow .16s, background .16s;
}
.wd-btn-primary:hover {
  transform: translateY(-2px);
  background: #0EA271;
  box-shadow: 0 12px 30px rgba(16,185,129,0.38);
}
.wd-btn-primary i, .wd-btn-primary svg { width: 18px; height: 18px; }
.wd-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2B2B24;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 8px;
  border-bottom: 2px solid transparent;
  transition: border-color .16s, color .16s;
}
.wd-btn-ghost:hover { border-color: #10B981; color: #0E9F6E; }
.wd-btn-ghost i, .wd-btn-ghost svg { width: 17px; height: 17px; }
.wd-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
}
.wd-stat { display: flex; flex-direction: column; }
.wd-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: #171712;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.wd-stat-lbl { font-size: 12.5px; color: #8A8677; margin-top: 3px; }
.wd-stat-div { width: 1px; height: 40px; background: #E6E2D8; }

/* ---------- code editor card ---------- */
.wd-hero-right { position: relative; }
.code-card {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  background: #0E1626;
  border: 1px solid #1E2A3E;
  box-shadow: 0 34px 74px -26px rgba(8,14,24,0.55);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.code-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  background: #0B111F;
  border-bottom: 1px solid #1B2740;
}
.code-dots { display: flex; gap: 6px; }
.code-dots span { width: 11px; height: 11px; border-radius: 50%; }
.code-dots span:nth-child(1) { background: #FF5F57; }
.code-dots span:nth-child(2) { background: #FEBC2E; }
.code-dots span:nth-child(3) { background: #28C840; }
.code-tabs { display: flex; gap: 5px; }
.code-tab {
  padding: 5px 11px;
  border-radius: 7px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: #64748B;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color .16s, background .16s, border-color .16s;
}
.code-tab:hover { color: #94A3B8; }
.code-tab.active {
  background: #111F33;
  color: #6EE7B7;
  border-color: rgba(16,185,129,0.35);
}
.code-lang {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #475569;
}
.code-lang::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #34D399; }
.code-body {
  background: #080E18;
  min-height: 300px;
  padding: 18px 16px;
  font-size: 12.5px;
  line-height: 1.75;
}
.code-pane { display: flex; gap: 16px; }
.code-pane:not(.active) { display: none; }
.code-lines {
  display: flex;
  flex-direction: column;
  text-align: right;
  color: #33425C;
  user-select: none;
  border-right: 1px solid #16223A;
  padding-right: 14px;
  min-width: 1.6rem;
}
.code-src { flex: 1; min-width: 0; overflow-x: auto; color: #CBD5E1; }
.code-src p { white-space: pre; }
.code-src .pl1 { padding-left: 1.4em; }
.code-src .pl2 { padding-left: 2.8em; }
.code-src .pl3 { padding-left: 4.2em; }
.code-src .pl4 { padding-left: 5.6em; }
.sy-cmt  { color: #5A6B85; font-style: italic; }
.sy-kw   { color: #7DD3FC; }
.sy-fn   { color: #FBBF24; }
.sy-str  { color: #86EFAC; }
.sy-var  { color: #F9A8D4; }
.sy-prop { color: #FCA5A5; }
.sy-num  { color: #C4B5FD; }
.sy-tag  { color: #93C5FD; }
.sy-op   { color: #94A3B8; }
.cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: #34D399;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: wd-blink 1s step-end infinite;
}
@keyframes wd-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.code-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  background: #080E18;
  border-top: 1px solid #16223A;
  font-size: 10.5px;
  color: #475569;
}
.code-foot-l { display: inline-flex; align-items: center; gap: 7px; }
.code-ok { width: 6px; height: 6px; border-radius: 50%; background: #34D399; }

/* ---------- floating badges ---------- */
.wd-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 13px;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid #E6E2D8;
  box-shadow: 0 14px 34px -16px rgba(23,23,18,0.3);
}
.wd-float-1 { bottom: -18px; left: -22px; animation: wd-floaty 4s ease-in-out infinite; }
.wd-float-2 { top: -18px; right: -16px; animation: wd-floaty 4.6s ease-in-out infinite 0.8s; }
@keyframes wd-floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.wd-float-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(16,185,129,0.12);
  color: #0E9F6E;
}
.wd-float-ic-alt { background: rgba(37,99,235,0.12); color: #2563EB; }
.wd-float-ic i, .wd-float-ic svg { width: 18px; height: 18px; }
.wd-float-lbl { display: block; font-size: 10px; color: #8A8677; line-height: 1; margin-bottom: 4px; }
.wd-float-val { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px; color: #171712; line-height: 1; }

/* ---------- services marquee ---------- */
.wd-mq-sec { background: #fff; overflow: hidden; }
.wd-mq-lede { max-width: 52ch; margin: 16px auto 0; font-size: 16px; line-height: 1.7; color: #5A5648; }
.mq { margin-top: 46px; display: flex; flex-direction: column; gap: 16px; }
.mq-track {
  display: flex;
  width: max-content;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.mq-left  { animation: mq-scroll-l 42s linear infinite; }
.mq-right { animation: mq-scroll-r 42s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq-scroll-l { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes mq-scroll-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.mq-group { display: flex; gap: 14px; padding-right: 14px; flex-shrink: 0; }
.mq-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #FAFAF8;
  border: 1px solid #E6E2D8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #3A3730;
  white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
}
.mq-pill:hover { border-color: #10B981; background: rgba(16,185,129,0.06); color: #0E9F6E; }
.mq-pill i, .mq-pill svg { width: 16px; height: 16px; color: #10B981; }

/* ---------- how-we-work timeline ---------- */
.subpage .hiw { background: #FAFAF8; }
.tl { position: relative; max-width: 720px; margin: 56px auto 0; }
.tl-line {
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, #10B981 0%, #10B981 68%, rgba(16,185,129,0) 100%);
}
.tl-item { position: relative; padding-left: 42px; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px #FAFAF8, 0 0 0 7px rgba(16,185,129,0.18);
}
.tl-step {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0FA968;
}
.tl-title {
  margin-top: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: #171712;
}
.tl-body { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: #5A5648; max-width: 52ch; }
.tl-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E6E2D8;
  font-size: 13px;
  font-weight: 600;
  color: #3A3730;
}
.tl-tag i, .tl-tag svg { width: 15px; height: 15px; color: #10B981; }

/* service detail blocks */
.svc-sec {
  scroll-margin-top: 84px;
  padding: 84px 24px;
  background: #FAFAF8;
  border-top: 1px solid #ECE9E1;
}
.svc-sec.svc-alt { background: #fff; }
.svc-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.svc-alt .svc-text { order: 2; }
.svc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(16,185,129,0.1);
  color: #0E9F6E;
  margin-bottom: 22px;
}
.svc-ico i, .svc-ico svg { width: 26px; height: 26px; }
.svc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #171712;
}
.svc-title .accent {
  color: #0FA968;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
}
.svc-desc {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #475569;
  max-width: 46ch;
}
.svc-list {
  display: grid;
  gap: 14px;
  padding: 30px;
  background: #fff;
  border: 1px solid #ECE9E1;
  border-radius: 18px;
  box-shadow: 0 18px 44px -30px rgba(23,23,18,0.25);
}
.svc-alt .svc-list { background: #FAFAF8; }
.svc-li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #334155;
}
.svc-li i, .svc-li svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #10B981;
  stroke-width: 3;
}

@media (max-width: 980px) {
  .wd-hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .wd-hero-right { width: 100%; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .svc-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-alt .svc-text { order: 0; }
}
@media (max-width: 560px) {
  .wd-hero { padding: 96px 20px 56px; }
  .wd-title { font-size: 30px; }
  .wd-stats { gap: 12px; }
  .wd-stat-num { font-size: 21px; }
  .wd-stat-lbl { font-size: 11px; }
  .svc-sec { padding: 60px 20px; }
  .svc-list { padding: 24px 22px; }
  .wd-float-1 { left: -8px; bottom: -12px; }
  .wd-float-2 { right: -4px; }
  .tl-title { font-size: 20px; }
  /* code editor: keep the header from overflowing a narrow card */
  .code-top { gap: 10px; }
  .code-lang { display: none; }
  .code-tabs { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .code-tabs::-webkit-scrollbar { display: none; }
  .code-foot-r { display: none; }
}
