/* Digital Access Labs LLC — UI/UX Pro Max Bento & Enterprise SaaS Design System */
:root {
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-secondary: #0ea5e9;
  --color-emerald: #059669;
  --color-emerald-bg: #ecfdf5;
  --color-amber: #d97706;

  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-muted: #f1f5f9;
  --color-dark: #090d16;
  --color-dark-card: #111827;
  --color-dark-border: rgba(148, 163, 184, 0.16);

  --color-ink: #0f172a;
  --color-ink-muted: #475569;
  --color-ink-subtle: #64748b;
  --color-border: #e2e8f0;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.14), 0 4px 16px rgba(37, 99, 235, 0.06);
  --max-w: 1200px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.11), transparent),
    radial-gradient(ellipse 50% 40% at 95% 15%, rgba(14, 165, 233, 0.08), transparent);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.24);
  flex-shrink: 0;
}

.brand-title {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-ink-subtle);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink-muted);
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.1rem;
  border-radius: 999px;
  background: var(--color-ink);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-btn:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: clamp(3rem, 6vw, 5.2rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-ink);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.hero h1 {
  margin: 1.15rem 0 1.15rem;
  font-size: clamp(2.4rem, 4.5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-ink);
}

.hero h1 .text-gradient {
  background: linear-gradient(120deg, #2563eb 0%, #0ea5e9 55%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 56ch;
  font-size: 1.06rem;
  color: var(--color-ink-muted);
  margin: 0 0 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-ink);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.84rem;
  color: var(--color-ink-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.trust-item svg {
  color: var(--color-emerald);
  flex-shrink: 0;
}

/* Interactive Hero Console Mockup */
.console-shell {
  background: var(--color-dark);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 28px 60px -15px rgba(15, 23, 42, 0.38);
  position: relative;
  overflow: hidden;
}

.console-shell::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 68%);
  pointer-events: none;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.95rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-dark-border);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.console-env {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem;
  border-radius: 12px;
}

.console-tab {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.4rem;
  border-radius: 9px;
  transition: all 0.2s ease;
  min-height: 36px;
}

.console-tab[aria-selected="true"] {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.console-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-dark-border);
  border-radius: 14px;
  padding: 1.1rem;
}

.console-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.console-panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.console-panel-sub {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.sku-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  white-space: nowrap;
}

.console-rows {
  display: grid;
  gap: 0.55rem;
}

.console-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 9px;
  font-size: 0.82rem;
}

.console-row span:first-child {
  color: #cbd5e1;
}

.console-row strong {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #f8fafc;
}

.console-footer {
  margin-top: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Section Generic */
.section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-sub {
  margin: 0.75rem 0 0;
  color: var(--color-ink-muted);
  font-size: 1.02rem;
}

/* Bento Grid Showcase (ui-ux-pro-max Bento Pattern) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.35);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.bento-accent {
  background: linear-gradient(155deg, #ffffff 0%, #eff6ff 100%);
}

.bento-dark {
  background: var(--color-dark);
  color: #f8fafc;
  border-color: var(--color-dark-border);
}

.bento-dark p {
  color: #94a3b8 !important;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.bento-dark .bento-icon {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
}

.bento-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.94rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--color-surface-muted);
  color: var(--color-ink);
  font-size: 0.76rem;
  font-weight: 600;
}

.bento-dark .chip {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* Mini Visual Widget inside Bento */
.mini-audit {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.65rem;
}

.mini-audit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.mini-bar-wrap {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.mini-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #059669);
}

/* Channels Section */
.channels-surface {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.channel-tile {
  padding: 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.channel-tile:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.channel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.channel-name {
  font-size: 1.06rem;
  font-weight: 700;
}

.channel-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: #dbeafe;
  color: #1e40af;
  font-weight: 600;
}

.channel-desc {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--color-ink-muted);
}

.channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Dark Entity & Compliance Hub */
.compliance-section {
  background: var(--color-dark);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.compliance-section::after {
  content: "";
  position: absolute;
  inset: auto auto -180px -120px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  pointer-events: none;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.entity-box {
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
}

.entity-dl {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 1rem;
}

.entity-dl div {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--color-dark-border);
}

.entity-dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.entity-dl dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.entity-dl dd {
  margin: 0.25rem 0 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
}

.faq-stack {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}

.faq-item summary {
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Legal Subpages */
.legal-wrap {
  max-width: 820px;
  padding: 3.5rem 0 5rem;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}

.legal-card h1 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-card h2 {
  margin: 2rem 0 0.55rem;
  font-size: 1.18rem;
  font-weight: 700;
}

.legal-card p,
.legal-card li {
  color: var(--color-ink-muted);
  font-size: 0.96rem;
}

/* Footer */
.site-footer {
  background: #060910;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 2.25rem 0;
  font-size: 0.86rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* Motion */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .span-7, .span-5, .span-4, .span-6 {
    grid-column: span 12;
  }

  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-btn) {
    display: none;
  }

  .console-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .channels-grid {
    grid-template-columns: 1fr;
  }
}
