:root {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #18202f;
  --muted: #667085;
  --line: #e5e7eb;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --soft: #eef4ff;
  --green-soft: #ecfdf5;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 251, 0.78);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; font-size: 20px; }
.logo { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #22c55e); box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link { color: var(--muted); font-weight: 650; }
.nav-link:hover { color: var(--text); }
select { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 9px 14px; font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 20px; font-weight: 700; border: 1px solid transparent; transition: 0.2s ease; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: #cbd5e1; transform: translateY(-1px); }

.hero { padding: 88px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); color: #1d4ed8; border: 1px solid #dbeafe; padding: 8px 13px; border-radius: 999px; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.06em; margin: 0 0 22px; }
.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.note { color: var(--muted); font-size: 14px; }

.lab-card { background: #0f172a; border-radius: 30px; padding: 22px; box-shadow: var(--shadow); color: #e5e7eb; }
.lab-top { display: flex; gap: 8px; margin-bottom: 18px; }
.dot { width: 11px; height: 11px; border-radius: 999px; background: #475569; }
.lab-body { background: #111827; border-radius: 22px; padding: 22px; }
.lab-title { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 4px; }
.lab-subtitle { color: #93c5fd; margin-bottom: 18px; }
.terminal-line { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; color: #cbd5e1; padding: 9px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.18); }
.terminal-line:last-child { border-bottom: 0; }

section { padding: 58px 0; }
.section-title { max-width: 760px; margin-bottom: 28px; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; line-height: 1.12; margin: 0 0 12px; }
.section-title p { color: var(--muted); font-size: 18px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04); }
.card.featured { grid-column: span 1; border-color: #bfdbfe; background: linear-gradient(180deg, #ffffff, #f8fbff); }
.icon { width: 42px; height: 42px; border-radius: 14px; background: var(--soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.02em; }
.card p { margin: 0 0 16px; color: var(--muted); }
.card-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--primary); }
.card-links a:hover { text-decoration: underline; }

.philosophy { background: linear-gradient(135deg, #eff6ff, #f0fdf4); border: 1px solid #dbeafe; border-radius: 30px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.philosophy p { color: var(--muted); font-size: 18px; }
.principles { display: grid; gap: 12px; }
.principle { background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(229, 231, 235, 0.9); border-radius: 18px; padding: 14px 16px; font-weight: 700; }

footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid, .philosophy { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav { height: auto; padding: 16px 0; align-items: flex-start; }
  .nav-actions { flex-wrap: wrap; justify-content: flex-end; }
  .hero { padding-top: 54px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand { font-size: 18px; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .nav { flex-direction: column; }
  .nav-actions { width: 100%; justify-content: flex-start; }
}
