/* ==========================================================================
   UBIK GROUP — DESIGN SYSTEM (WARM EDITORIAL LIGHT / PRECISION DARK)
   WCAG 2.2 AA Compliant · Zero Frameworks · Responsive 12-Column Architecture
   ========================================================================== */

:root,
[data-theme="light"] {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --surface-2: #F3F1EC;
  --ink: #1D1D1B;
  --ink-muted: #4E4E4A;
  --ink-subtle: #666660;
  --border: #E3E0D7;
  --border-strong: #C9C5B9;
  --accent: #0B6E4F;
  --accent-hover: #08553D;
  --accent-ink: #FFFFFF;
  --accent-soft: #E7F3EE;
  --accent-border: #B5D9CB;
  --badge-bg: #ECEAE3;
  --shadow-sm: 0 1px 2px rgba(29, 29, 27, 0.04);
  --shadow-md: 0 10px 28px rgba(29, 29, 27, 0.07);
  --shadow-lg: 0 24px 60px rgba(29, 29, 27, 0.14);
  --header-bg: rgba(250, 249, 246, 0.92);
  --danger: #B42318;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container: 1200px;
  --header-h: 64px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #0B0D0C;
  --surface: #131615;
  --surface-2: #1A1F1D;
  --ink: #F4F5F4;
  --ink-muted: #B8C0BC;
  --ink-subtle: #8F9A95;
  --border: #252B28;
  --border-strong: #3A433E;
  --accent: #2DD4BF;
  --accent-hover: #5EEAD4;
  --accent-ink: #071A17;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-border: rgba(45, 212, 191, 0.32);
  --badge-bg: #1F2522;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.65);
  --header-bg: rgba(11, 13, 12, 0.90);
  --danger: #F97066;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  transition: background-color 0.2s ease, color 0.2s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 2000;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { left: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
.mono-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
  display: inline-block;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.15rem, 4.2vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.2rem; line-height: 1.28; }
h4 { font-size: 1.02rem; line-height: 1.35; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-muted);
  line-height: 1.62;
  margin: 18px 0 0;
  max-width: 64ch;
}

.muted { color: var(--ink-muted); }
.subtle { color: var(--ink-subtle); }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-link svg {
  height: 26px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  background: var(--surface-2);
}
.nav-link.active { font-weight: 600; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.theme-toggle:hover { border-color: var(--border-strong); background: var(--surface-2); }
.theme-toggle svg { width: 17px; height: 17px; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 999;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px;
  overflow-y: auto;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-drawer-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid transparent;
}
.mobile-drawer-nav a.active,
.mobile-drawer-nav a:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 13px 22px; font-size: 15px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 6px 0;
  border: 0;
}
.btn-ghost:hover { text-decoration: underline; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Sections & Grid */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--surface-2); }

.section-head {
  margin-bottom: 36px;
  max-width: 720px;
}
.section-head p { margin: 12px 0 0; color: var(--ink-muted); }

.hero {
  padding: 68px 0 64px;
  border-bottom: 1px solid var(--border);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Cards & Spec Panels */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.card-interactive:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.spec-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.spec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); display: inline-block; margin-right: 6px;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-key { color: var(--ink-subtle); font-family: var(--font-mono); font-size: 12px; }
.spec-val { color: var(--ink); font-weight: 600; text-align: right; }

/* Tags & Badges */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  background: var(--badge-bg);
  color: var(--ink-muted);
  border: 1px solid var(--border);
}

.tag-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-border);
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Filter Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover { border-color: var(--border-strong); color: var(--ink); }
.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.search-input {
  width: 100%;
  max-width: 300px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
}

/* Monochrome Client Logo Strip */
.logo-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.client-logo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: center;
}

.client-logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.client-logo-img {
  max-height: 36px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.15s ease;
}
.client-logo-img.logo-square { max-height: 44px; }
[data-theme="dark"] .client-logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.client-logo-card:hover .client-logo-img { opacity: 1; }

.client-logo-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-subtle);
  line-height: 1.4;
}

/* Team Cards & Headshots */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 1 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  width: 100%;
}

.team-photo-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-monogram {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 600;
  color: var(--ink-subtle);
  letter-spacing: 0.04em;
}

.team-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.team-bio {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 4px 0 0;
  line-height: 1.6;
}

/* Metrics Strip */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.metric-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.metric-value {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.metric-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 8px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
table.data-table th,
table.data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.data-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-subtle);
  background: var(--surface-2);
}
table.data-table tr:last-child td { border-bottom: 0; }

/* Stepper */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Accordions (FAQ) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.accordion-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  display: none;
  padding: 0 22px 20px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
}
.accordion-item.open .accordion-panel { display: block; }

/* Tabs */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.tab-btn {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}
.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { min-height: 110px; resize: vertical; }

.form-error {
  font-size: 13px;
  color: var(--danger);
  display: none;
  margin-top: 4px;
}
.form-error.show { display: block; }

.form-success {
  display: none;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--ink);
}
.form-success.show { display: block; }

.honeypot { display: none !important; }

/* Sticky Sidebar & Breadcrumbs */
.sticky-col {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-subtle);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

.prose h2 { margin-top: 34px; margin-bottom: 12px; font-size: 1.4rem; }
.prose h3 { margin-top: 24px; margin-bottom: 10px; }
.prose p { margin: 0 0 16px; color: var(--ink-muted); }
.prose ul { margin: 0 0 18px; padding-left: 20px; color: var(--ink-muted); }
.prose li { margin-bottom: 8px; }

/* Callout Banner */
.callout {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

/* Modal */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 13, 12, 0.65);
  backdrop-filter: blur(4px);
  padding: 24px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal-dialog {
  width: 100%;
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-close {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-2);
  color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
}

/* Footer — Strict Flush-Left 5-Column Alignment */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

.footer-brand svg {
  height: 46px;
  width: auto;
  color: var(--ink);
  display: block;
}

.footer-brand p {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 28ch;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
  text-align: left;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-links li { width: 100%; text-align: left; }

.footer-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  appearance: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}
.footer-link:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-subtle);
}

.footer-bottom-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
  display: block;
}

.footer-social-link:hover {
  color: var(--accent);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .col-8, .col-7, .col-6, .col-5, .col-4 { grid-column: 1 / -1; }
  .sticky-col { position: static; }
  .steps-grid, .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: none; }
  .team-card { flex-basis: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .hero { padding: 44px 0; }
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .metric-grid, .form-grid, .team-grid, .steps-grid, .steps-5 {
    grid-template-columns: 1fr;
  }
  .team-card { flex-basis: 100%; max-width: 100%; }
  .header-actions .btn-primary { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
