:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #161616;
  --muted: #666a70;
  --line: #dedfdc;
  --accent: #1f5eff;
  --dark: #111318;
  --dark-soft: #1b1e25;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 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(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-alt { background: #efefec; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247,247,245,.86);
  border-bottom: 1px solid rgba(22,22,22,.08);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 800; letter-spacing: -.04em; font-size: 1.25rem; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; border: 0; background: transparent; font: inherit; font-weight: 600; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-btn { border: 0; background: transparent; font: inherit; font-size: .8rem; font-weight: 600; color: var(--muted); padding: 4px 10px; border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--text); color: white; }

.hero { min-height: calc(100vh - 72px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 72px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; color: var(--accent); margin: 0 0 18px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.7rem, 8vw, 7rem); line-height: .95; letter-spacing: -.065em; margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.05em; margin-bottom: 22px; }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
.hero-lead { font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 18px; }
.hero-text { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 600; border: 1px solid var(--line); transition: .2s ease; }
.button.primary { background: var(--text); color: white; border-color: var(--text); }
.button.primary:hover { transform: translateY(-2px); background: #2a2a2a; }
.button.secondary:hover { background: white; }

.hero-card { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.05); }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #37b76b; margin-bottom: 18px; }
.card-kicker { color: var(--muted); font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.hero-card h2 { font-size: 1.75rem; letter-spacing: -.04em; }
.hero-card p:last-child { color: var(--muted); margin-bottom: 0; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.prose { color: var(--muted); font-size: 1.05rem; }
.prose p { margin-bottom: 18px; }
.solution-grid span { font-size: .78rem; font-weight: 700; color: var(--accent); }

.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 42px; }
.section-heading p { max-width: 440px; color: var(--muted); margin-bottom: 8px; }
.project-grid { display: grid; grid-template-columns: 1.25fr .875fr .875fr; gap: 18px; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; }
.project.featured { background: #e8eeff; border-color: #cedaff; }
.project p { color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--accent); margin-bottom: 24px; }
.chip-list { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 0; }
.chip-list li { font-size: .78rem; padding: 7px 10px; border-radius: 999px; background: rgba(0,0,0,.055); }

.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.solution-grid article { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.solution-grid h3 { margin-top: 52px; font-size: 1.6rem; }
.solution-grid p { color: var(--muted); max-width: 430px; margin-bottom: 0; }

.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.text-link { display: inline-block; margin-top: 18px; color: var(--text); font-weight: 600; }
.contact { border-top: 1px solid var(--line); }
.contact-inner { max-width: 780px; text-align: center; }
.contact-inner .eyebrow { text-align: center; }
.contact-inner p { color: var(--muted); font-size: 1.06rem; }
.contact-actions { justify-content: center; }
.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .hero-grid, .split, .lab-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero { min-height: auto; }
  .project-grid { grid-template-columns: 1fr; }
  .project { min-height: 300px; }
}

@media (max-width: 680px) {
  .section { padding: 76px 0; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 22px 20px 26px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero-grid { gap: 32px; }
  h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
  .section-heading { display: block; }
  .solution-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
