/* Animal Data Lab — static marketing site */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-blue: #0070f3;
  --secondary-blue: #0051a8;
  --accent-light: #e0f2fe;
  --bg-color: #ffffff;
  --surface-color: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --header-height: 72px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--text-main);
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ---------- Header / Nav ---------- */
.site-header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1.5rem;
}

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

.brand:hover {
  text-decoration: none;
}

.logo {
  height: 44px;
  width: auto;
  vertical-align: middle;
}

.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
  background-color: var(--accent-light);
  text-decoration: none;
}

.nav-link.active {
  color: var(--primary-blue);
  font-weight: 600;
}

.nav-cta {
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--secondary-blue);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--border-color);
}

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

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg-color) 100%);
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero .tagline {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--secondary-blue);
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Stat band ---------- */
.stat-band {
  background-color: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.75rem 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-num {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 220px;
  line-height: 1.5;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg-color) 100%);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */
section.block {
  padding: 4rem 0;
}

section.block.alt {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose p {
  font-size: 1.1rem;
  color: var(--text-main);
  margin: 0 0 1.25rem;
}

.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

/* ---------- Feature cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--accent-light);
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.card p {
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Roadmap ---------- */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.phase {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: stretch;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.phase-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--primary-blue), var(--secondary-blue));
  color: #fff;
  padding: 1.5rem 1rem;
}

.phase-badge .num {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.phase-badge .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-top: 0.35rem;
}

.phase-body {
  padding: 1.75rem 1.75rem 1.75rem 0;
}

.phase-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.phase-body p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.phase-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-blue);
  background-color: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--primary-blue), var(--secondary-blue));
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.cta-band p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-band .btn-primary {
  background-color: #fff;
  color: var(--primary-blue);
}

.cta-band .btn-primary:hover {
  background-color: var(--accent-light);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--accent-light), var(--primary-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.team-card .role {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background-color: var(--text-main);
  color: #cbd5e1;
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.footer-brand img {
  height: 36px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer-legal a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: #fff;
}

.legal-meta {
  color: var(--text-muted) !important;
  font-size: 0.95rem !important;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .brand-text {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .phase {
    grid-template-columns: 1fr;
  }
  .phase-badge {
    flex-direction: row;
    gap: 0.75rem;
    padding: 1rem;
  }
  .phase-body {
    padding: 1.5rem;
  }
}
