/* ===== PATIENTPULSE DEVELOPER PORTAL — GLOBAL STYLES ===== */

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #e0f2fe;
  --secondary: #6366f1;
  --accent: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg: #0f172a;
  --bg-surface: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #273449;
  --border: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --code-bg: #0f172a;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  --gradient-card: linear-gradient(135deg, #1e293b, #273449);
  --shadow-glow: 0 0 40px rgba(14,165,233,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
code, pre { font-family: var(--font-mono); }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.navbar-brand .logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.navbar-brand span { color: var(--primary); }
.navbar-links { display: flex; align-items: center; gap: 0.25rem; }
.navbar-links a { padding: 0.4rem 0.75rem; border-radius: 6px; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); transition: all var(--transition); }
.navbar-links a:hover, .navbar-links a.active { color: var(--text); background: var(--bg-surface); }
.navbar-cta { display: flex; align-items: center; gap: 0.75rem; }
.btn-nav { padding: 0.4rem 1rem; border-radius: 6px; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: none; }
.btn-nav-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-nav-ghost:hover { background: var(--bg-surface); color: var(--text); }
.btn-nav-primary { background: var(--primary); color: white; }
.btn-nav-primary:hover { background: var(--primary-dark); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 0 20px rgba(14,165,233,0.3); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 0 30px rgba(14,165,233,0.5); color: white; }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: #4f46e5; color: white; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-ghost { background: var(--bg-surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-card-hover); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 0.35rem 0.85rem; font-size: 0.8rem; }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.badge-primary { background: rgba(14,165,233,0.15); color: var(--primary); border: 1px solid rgba(14,165,233,0.3); }
.badge-secondary { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }
.badge-success { background: rgba(16,185,129,0.15); color: var(--accent); border: 1px solid rgba(16,185,129,0.3); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }
.badge-neutral { background: rgba(148,163,184,0.1); color: var(--text-muted); border: 1px solid var(--border); }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.card:hover { background: var(--bg-card-hover); border-color: rgba(14,165,233,0.3); box-shadow: var(--shadow-glow); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.card-icon-blue { background: rgba(14,165,233,0.15); }
.card-icon-purple { background: rgba(99,102,241,0.15); }
.card-icon-green { background: rgba(16,185,129,0.15); }
.card-icon-orange { background: rgba(245,158,11,0.15); }

/* ===== HERO ===== */
.hero {
  background: var(--gradient-hero);
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,0.15), transparent);
}
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(14,165,233,0.08), transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.25rem; }
.hero-title { margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero-title .gradient-text { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.15rem; margin-bottom: 2rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .stat-value { font-size: 1.75rem; font-weight: 800; color: var(--text); }
.hero-stat .stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== SECTION ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-surface); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 580px; margin: 0.75rem auto 0; }
.section-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.75rem; }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

/* ===== CODE BLOCKS ===== */
.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.code-dots { display: flex; gap: 6px; }
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-dot-red { background: #ff5f57; }
.code-dot-yellow { background: #ffbd2e; }
.code-dot-green { background: #28c940; }
.code-lang { font-size: 0.75rem; color: var(--text-dim); font-family: var(--font-mono); }
.code-copy { font-size: 0.75rem; color: var(--text-dim); cursor: pointer; padding: 0.25rem 0.5rem; border-radius: 4px; border: 1px solid var(--border); background: transparent; transition: all var(--transition); }
.code-copy:hover { color: var(--text); border-color: var(--primary); }
.code-body { padding: 1.25rem; overflow-x: auto; }
.code-body pre { font-size: 0.85rem; line-height: 1.7; color: #e2e8f0; }
.token-keyword { color: #93c5fd; }
.token-string { color: #86efac; }
.token-comment { color: var(--text-dim); font-style: italic; }
.token-number { color: #fda4af; }
.token-function { color: #fde68a; }
.token-type { color: #c4b5fd; }
.token-variable { color: #7dd3fc; }
.token-operator { color: var(--text-muted); }
.token-attr { color: #6ee7b7; }

/* ===== API REFERENCE ===== */
.method-badge { display: inline-flex; align-items: center; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.72rem; font-weight: 700; font-family: var(--font-mono); min-width: 52px; justify-content: center; }
.method-get { background: rgba(16,185,129,0.15); color: #34d399; }
.method-post { background: rgba(14,165,233,0.15); color: #38bdf8; }
.method-put { background: rgba(245,158,11,0.15); color: #fbbf24; }
.method-patch { background: rgba(168,85,247,0.15); color: #c084fc; }
.method-delete { background: rgba(239,68,68,0.15); color: #f87171; }

.endpoint-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  cursor: pointer;
}
.endpoint-row:last-child { border-bottom: none; }
.endpoint-row:hover { background: var(--bg-card-hover); }
.endpoint-path { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text); flex: 1; }
.endpoint-desc { font-size: 0.8rem; color: var(--text-muted); }

/* ===== COMPARISON TABLE ===== */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 0.875rem 1rem; border: 1px solid var(--border); text-align: left; font-size: 0.875rem; }
.compare-table th { background: var(--bg-surface); color: var(--text-muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-table th.highlight, .compare-table td.highlight { background: rgba(14,165,233,0.07); border-color: rgba(14,165,233,0.3); }
.compare-table th.highlight { color: var(--primary); }
.compare-table tr:hover td { background: var(--bg-card-hover); }
.check { color: var(--accent); font-size: 1rem; }
.cross { color: var(--danger); font-size: 1rem; }
.partial { color: var(--warning); font-size: 1rem; }

/* ===== SIDEBAR DOCS LAYOUT ===== */
.docs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 0; min-height: calc(100vh - 64px); }
.docs-sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-track { background: transparent; }
.docs-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-section-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); padding: 0 1.25rem; margin-bottom: 0.4rem; }
.sidebar-link {
  display: flex; align-items: center; gap: 8px;
  padding: 0.4rem 1.25rem;
  font-size: 0.85rem; color: var(--text-muted);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.sidebar-link:hover { color: var(--text); background: rgba(14,165,233,0.05); }
.sidebar-link.active { color: var(--primary); border-left-color: var(--primary); background: rgba(14,165,233,0.08); }
.sidebar-link .sidebar-icon { font-size: 0.9rem; }
.docs-content { padding: 2.5rem 3rem; max-width: 900px; }
.docs-content h1 { margin-bottom: 0.5rem; }
.docs-content h2 { margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.docs-content h3 { margin: 1.75rem 0 0.75rem; }
.docs-content p { margin-bottom: 1rem; }
.docs-content ul, .docs-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); }
.docs-content li { margin-bottom: 0.3rem; }

/* ===== INTEGRATION CARDS ===== */
.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  transition: all var(--transition);
}
.integration-card:hover { border-color: rgba(14,165,233,0.4); box-shadow: var(--shadow-glow); background: var(--bg-card-hover); }
.integration-logo { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.integration-info h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.integration-info p { font-size: 0.8rem; margin: 0; }

/* ===== FEATURE HIGHLIGHT ===== */
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.feature-check { width: 20px; height: 20px; border-radius: 50%; background: rgba(16,185,129,0.15); border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.feature-item h5 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.feature-item p { font-size: 0.82rem; margin: 0; }

/* ===== TABS ===== */
.tabs { border-bottom: 1px solid var(--border); display: flex; gap: 0; margin-bottom: 1.5rem; }
.tab { padding: 0.65rem 1.25rem; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--transition); background: none; border-top: none; border-left: none; border-right: none; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 3rem 1.5rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; margin-bottom: 2rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 0.75rem; max-width: 260px; }
.footer-col h5 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); }

/* ===== MISC COMPONENTS ===== */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 0.2rem 0.5rem; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 4px; font-size: 0.75rem; font-family: var(--font-mono); color: var(--text-muted); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-mono { font-family: var(--font-mono); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ===== CALLOUT ===== */
.callout { padding: 1rem 1.25rem; border-radius: var(--radius-sm); border-left: 3px solid; margin: 1.25rem 0; }
.callout-info { background: rgba(14,165,233,0.08); border-color: var(--primary); }
.callout-warning { background: rgba(245,158,11,0.08); border-color: var(--warning); }
.callout-success { background: rgba(16,185,129,0.08); border-color: var(--accent); }
.callout-title { font-weight: 700; font-size: 0.85rem; margin-bottom: 0.25rem; }
.callout-info .callout-title { color: var(--primary); }
.callout-warning .callout-title { color: var(--warning); }
.callout-success .callout-title { color: var(--accent); }
.callout p { font-size: 0.875rem; margin: 0; }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1.25rem; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; color: white; }
.step-body h4 { margin-bottom: 0.3rem; }
.step-body p { font-size: 0.875rem; margin: 0; }

/* ===== PILL NAV (anchor nav in docs) ===== */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.anchor-nav a { padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.8rem; color: var(--text-muted); border: 1px solid var(--border); transition: all var(--transition); }
.anchor-nav a:hover { color: var(--primary); border-color: var(--primary); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ===== HAMBURGER NAV ===== */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: background var(--transition);
}
.navbar-hamburger:hover { background: var(--bg-surface); }
.navbar-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.navbar-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) { .docs-layout { grid-template-columns: 1fr; } .docs-sidebar { position: relative; top: 0; height: auto; } }
@media (max-width: 768px) {
  .navbar-hamburger { display: flex; }
  .navbar-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(15,23,42,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0.75rem 1rem; gap: 0.25rem; z-index: 99; }
  .navbar-links.open { display: flex; }
  .navbar-links a { padding: 0.65rem 0.75rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-content { padding: 1.5rem; }
  .hero { padding: 4rem 1rem 3rem; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .hero-stats { gap: 1.25rem; } }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-fade-up { animation: fadeUp 0.5s ease forwards; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; display: inline-block; }

/* ===== ARCHITECTURE DIAGRAM ===== */
.arch-box { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; text-align: center; }
.arch-box.primary { border-color: var(--primary); background: rgba(14,165,233,0.08); }
.arch-box.secondary { border-color: var(--secondary); background: rgba(99,102,241,0.08); }
.arch-box.accent { border-color: var(--accent); background: rgba(16,185,129,0.08); }
.arch-box h4 { font-size: 0.85rem; margin-bottom: 0.25rem; }
.arch-box p { font-size: 0.75rem; margin: 0; }
.arch-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 1.2rem; }
.arch-layer { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; }
.arch-layer-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 0.875rem; }
.arch-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.arch-row .arch-box { flex: 1; min-width: 120px; }
