/* ==========================================================================
   7DNA Analytica — Core Stylesheet v2
   Professional Scientific Research Company
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Brand */
  --navy:         #0D2137;
  --navy-mid:     #163352;
  --teal:         #0A7A74;
  --teal-dark:    #085F5A;
  --teal-pale:    #F0F7F6;

  /* Backgrounds */
  --bg:           #FFFFFF;
  --bg-2:         #F5F7FA;
  --bg-3:         #EDF0F5;
  --bg-dark:      #0D1E30;
  --bg-dark-2:    #0A1825;

  /* Text */
  --text:         #1A2838;
  --muted:        #4D6070;
  --muted-2:      #7A90A0;

  /* Borders */
  --border:       #DDE3EA;
  --border-2:     #C8D2DC;

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --container:    1240px;
  --radius:       6px;
  --radius-sm:    4px;
  --radius-pill:  100px;

  /* Shadows — restrained */
  --shadow-xs:    0 1px 3px rgba(13,33,55,0.06);
  --shadow-sm:    0 2px 8px rgba(13,33,55,0.08);
  --shadow-md:    0 6px 20px rgba(13,33,55,0.10);

  --transition:   160ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

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

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: var(--teal);
  flex-shrink: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section           { padding: 88px 0; }
.section--tight    { padding: 56px 0; }
.section--light    { background: var(--bg-2); }
.section--border   { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.section--dark     {
  background: var(--bg-dark);
  border-top: 1px solid #1A3050;
  border-bottom: 1px solid #1A3050;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #E8EFF5; }
.section--dark p, .section--dark .lede { color: #8FA8BE; }
.section--dark .eyebrow { color: rgba(10,122,116,0.9); }
.section--dark .eyebrow::before { background: var(--teal); }

.section-head              { max-width: 660px; margin-bottom: 48px; }
.section-head h2           { margin-bottom: 12px; }
.section-head .lede        { margin: 0; }
.section-head--center      { margin-left: auto; margin-right: auto; text-align: center; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover { background: var(--teal-dark); }

.btn-outline {
  border: 1.5px solid var(--border-2);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { border-color: var(--navy); background: var(--bg-2); }

.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.88);
  background: transparent;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); }

.btn-ghost {
  color: var(--teal-dark);
  padding: 11px 0;
  font-weight: 600;
}
.btn-ghost .arrow { display: inline-block; margin-left: 5px; transition: transform var(--transition); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-sm  { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg  { padding: 13px 28px; font-size: 0.95rem; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header.is-scrolled { box-shadow: var(--shadow-xs); }

.nav-wrap {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
}
.logo-tagline {
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2px;
}

.main-nav { flex: 1; }
.main-nav > ul { display: flex; align-items: center; gap: 1px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--navy); background: var(--bg-2); }
.nav-link.is-active { color: var(--navy); font-weight: 600; }
.caret { font-size: 0.5rem; opacity: 0.5; transition: transform var(--transition); }
.nav-item:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 10;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.dropdown a:hover { background: var(--bg-2); color: var(--navy); }
.dd-note { display: block; font-size: 0.7rem; color: var(--muted-2); font-weight: 400; margin-top: 1px; }
.dropdown-divider { height: 1px; background: var(--border); margin: 5px 8px; }

.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; flex-shrink: 0;
}
.hamburger span {
  display: block; height: 1.5px; width: 20px; background: var(--navy); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: #fff;
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 0.875rem; z-index: 9999;
}
.skip-link:focus { left: 8px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.78rem; color: var(--muted-2); padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--muted-2); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--teal-dark); }
.breadcrumb .sep { margin: 0 7px; }
.breadcrumb .current { color: var(--navy); font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-dark);
  padding: 112px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.hero h1           { color: #E8EFF5; margin-bottom: 18px; }
.hero .lede        { color: #7A9AB5; margin-bottom: 32px; max-width: 500px; }
.hero .eyebrow     { color: rgba(10,122,116,0.9); margin-bottom: 14px; }
.hero .eyebrow::before { background: var(--teal); }
.hero-visual       { opacity: 0.85; }
.hero-visual svg   { width: 100%; height: auto; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  align-items: stretch;
}
.stat-item {
  flex: 1;
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-2);
}
.card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; }
.card-num {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-dark);
  margin-bottom: 10px; display: block;
}
.card h3 { margin-bottom: 8px; }
.card p  { font-size: 0.9rem; margin: 0; }
.card .mini-list { margin-top: 12px; }
.card .mini-list li {
  font-size: 0.85rem; color: var(--muted);
  padding: 4px 0 4px 16px; position: relative;
}
.card .mini-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--teal);
}

/* Dark section cards */
.section--dark .card { background: #0F2540; border-color: #1E3A58; }
.section--dark .card:hover { border-color: #2D5280; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.section--dark .card h3 { color: #D8E8F2; }
.section--dark .card p  { color: #7A9AB5; }

/* ---------- Product cards ---------- */
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-sm); border-color: var(--border-2); }
.product-card::before {
  content: ""; display: block; height: 3px;
  background: var(--teal);
}
.product-media {
  background: var(--bg-dark);
  padding: 28px 28px 0;
  min-height: 160px;
  display: flex; align-items: flex-end;
}
.product-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-tag {
  display: inline-flex; align-self: flex-start;
  padding: 3px 10px; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--teal-pale); color: var(--teal-dark);
  border: 1px solid rgba(10,122,116,0.2);
}
.product-tag.dev { background: var(--bg-2); color: var(--muted-2); border-color: var(--border); }
.product-name { font-size: 1.3rem; }
.product-desc { font-size: 0.9rem; flex: 1; }
.product-body .btn-row { margin-top: 6px; }

/* ---------- Discipline list items ---------- */
.discipline-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition);
}
.discipline-row:first-child { border-top: 1px solid var(--border); }
.discipline-row:hover { background: var(--bg-2); margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
.discipline-num {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  color: var(--muted-2); min-width: 24px;
  padding-top: 2px;
}
.discipline-body h4 { margin-bottom: 4px; }
.discipline-body p  { font-size: 0.875rem; margin: 0; }

/* ---------- Process / Workflow ---------- */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.process-step:last-child { border-bottom: none; }
.process-node {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(10,122,116,0.5);
  background: rgba(10,122,116,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 700;
  color: rgba(10,122,116,0.9);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.process-text h4 { color: #D8E8F2; margin-bottom: 4px; }
.process-text p  { font-size: 0.88rem; color: #7A9AB5; margin: 0; }

/* ---------- Publications ---------- */
.pub-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.pub-item:last-child { border-bottom: none; }
.pub-title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.pub-title a:hover { color: var(--teal-dark); }
.pub-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted-2); }
.pub-meta .journal { font-style: italic; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 48px 56px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #E8EFF5; margin-bottom: 8px; font-size: 1.6rem; }
.cta-band p  { color: #7A9AB5; margin: 0; max-width: 440px; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 52px;
}
.page-hero h1      { margin-bottom: 12px; }
.page-hero .lede   { margin: 0; }
.page-hero--dark   { background: var(--bg-dark); border-bottom: 1px solid #1A3050; }
.page-hero--dark h1 { color: #E8EFF5; }
.page-hero--dark p, .page-hero--dark .lede { color: #7A9AB5; }
.page-hero--dark .eyebrow { color: rgba(10,122,116,0.9); }
.page-hero--dark .eyebrow::before { background: var(--teal); }

/* ---------- Tables ---------- */
table.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.data-table th { color: var(--navy); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; background: var(--bg-2); }
.data-table td { color: var(--muted); }
.data-table tbody tr:hover { background: var(--bg-2); }

/* ---------- Forms ---------- */
.form-shell { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.form-field .req  { color: var(--teal); }
.form-field input, .form-field select, .form-field textarea {
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--teal); outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted-2); }
.form-note  { font-size: 0.75rem; color: var(--muted-2); margin-top: 4px; }
.form-check { display: flex; align-items: flex-start; gap: 9px; }
.form-check input[type="checkbox"] { width: 15px; height: 15px; margin-top: 3px; accent-color: var(--teal); }
.form-check label { font-size: 0.85rem; color: var(--muted); }
.form-actions { margin-top: 8px; }

/* ---------- Team ---------- */
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-sm); }
.team-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: #fff; margin-bottom: 14px;
}
.team-name { font-size: 1rem; margin-bottom: 3px; }
.team-role { display: block; font-size: 0.8rem; font-weight: 500; color: var(--teal-dark); margin-bottom: 10px; }
.team-badge {
  display: inline-flex; padding: 2px 9px;
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: var(--radius-pill); background: var(--teal-pale); color: var(--teal-dark);
  border: 1px solid rgba(10,122,116,0.2); margin-bottom: 8px;
}
.team-card p { font-size: 0.875rem; margin: 0; }

/* ---------- Insight / Blog cards ---------- */
.insight-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; height: 100%;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.insight-card:hover { box-shadow: var(--shadow-sm); border-color: var(--border-2); }
.insight-cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dark); }
.insight-card h3 { font-size: 1.05rem; line-height: 1.3; }
.insight-card p  { font-size: 0.875rem; flex: 1; margin: 0; }
.insight-date    { font-size: 0.73rem; color: var(--muted-2); margin-top: auto; }

.insight-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; background: var(--bg-dark);
  border-radius: var(--radius); padding: 48px;
  margin-bottom: 36px;
  border: 1px solid #1A3050;
}
.insight-feature h3 { color: #E8EFF5; font-size: 1.5rem; }
.insight-feature p  { color: #7A9AB5; }

/* ---------- Post body ---------- */
.post-body { max-width: 720px; margin: 0 auto; }
.post-body h2 { margin: 40px 0 14px; }
.post-body h3 { margin: 28px 0 10px; }
.post-body p  { margin-bottom: 18px; color: var(--text); line-height: 1.75; }
.post-body p.lede { color: var(--muted); }
.post-body ul { margin: 0 0 18px 0; }
.post-body ul li { position: relative; padding-left: 18px; margin-bottom: 8px; color: var(--text); }
.post-body ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.post-body blockquote {
  border-left: 2px solid var(--teal); padding: 4px 0 4px 20px;
  margin: 28px 0; color: var(--navy); font-size: 1.05rem; line-height: 1.65;
}
.post-meta {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; font-size: 0.8rem; color: var(--muted-2); margin: 14px 0 36px;
}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-2); }

/* ---------- Career job cards ---------- */
.job-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 22px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all var(--transition); flex-wrap: wrap;
}
.job-card:hover { border-color: var(--border-2); box-shadow: var(--shadow-xs); }
.job-title { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.job-meta  { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag   {
  font-size: 0.7rem; font-weight: 500; color: var(--muted);
  background: var(--bg-2); padding: 2px 9px;
  border-radius: var(--radius-pill); border: 1px solid var(--border);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark-2);
  color: #6A8BA0;
  padding: 64px 0 28px;
  border-top: 1px solid #152235;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-name { color: #D0DDE8; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.28); }
.footer-brand p {
  font-size: 0.85rem; color: #4D6A7E;
  max-width: 280px; margin-top: 14px; line-height: 1.7;
}
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #6A8BA0; transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--teal); color: var(--teal); }

.footer-col h5 {
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { font-size: 0.875rem; color: #6A8BA0; transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.75); }

.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem; color: #3D5769;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: #3D5769; transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ---------- Info blocks (contact) ---------- */
.info-block { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-block:last-child { border-bottom: none; }
.info-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: var(--radius-sm); background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center; color: var(--teal-dark);
}
.info-block h4 { margin-bottom: 3px; }
.info-block p  { font-size: 0.875rem; margin: 0; }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center; padding: 64px 28px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-2);
}
.empty-state h3 { margin-bottom: 10px; }
.empty-state p  { max-width: 400px; margin: 0 auto 20px; }

/* ---------- Device mock frames ---------- */
.device-frame {
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #081422; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.device-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 10px; background: #060E1A;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.device-dot { width: 7px; height: 7px; border-radius: 50%; background: #1E3050; }
.device-dot:nth-child(1) { background: #C0473D; }
.device-dot:nth-child(2) { background: #C09B3D; }
.device-dot:nth-child(3) { background: #3DAF6B; }
.device-url {
  margin-left: 8px; font-size: 0.62rem; color: #4A6880;
  background: #0C1A2E; padding: 2px 10px; border-radius: var(--radius-pill);
}
.device-body { padding: 16px; background: #0A1626; }
.mock-list { display: flex; flex-direction: column; gap: 8px; }
.mock-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 5px; padding: 9px 11px;
}
.mock-avatar { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; }
.mock-lines  { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mock-line   { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.25); }
.mock-line.dim { background: rgba(255,255,255,0.1); height: 4px; }
.mock-line.w30 { width: 30%; } .mock-line.w40 { width: 40%; } .mock-line.w50 { width: 50%; }
.mock-line.w60 { width: 60%; } .mock-line.w70 { width: 70%; }
.mock-pill { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #0A7A74; background: rgba(10,122,116,0.14); padding: 3px 8px; border-radius: var(--radius-pill); flex-shrink: 0; }
.mock-pill.alt { color: #6366F1; background: rgba(99,102,241,0.14); }
.mock-neuro { display: flex; flex-direction: column; gap: 12px; }
.mock-stat-row { display: flex; gap: 7px; }
.mock-stat { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 5px; padding: 9px 10px; display: flex; flex-direction: column; gap: 7px; }
.mock-stat-num { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.mock-brain-svg { width: 100%; height: auto; }

/* ---------- Badges and utilities ---------- */
.badge {
  display: inline-flex; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); color: var(--muted); background: var(--bg-2);
}
.badge.teal { border-color: rgba(10,122,116,0.25); color: var(--teal-dark); background: var(--teal-pale); }

.text-center { text-align: center; }
.divider { height: 1px; background: var(--border); border: none; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 480ms ease, transform 480ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }
