:root {
  --bg: #e9e9eb;
  --card: #f7f7f8;
  --line: #ececee;
  --text: #25262a;
  --muted: #6d6e72;
  --muted-2: #4a4b50;
  --muted-3: #8a8b90;
  --dot: #d2d2d7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.page-shell {
  min-height: 100vh;
  padding: 32px 20px;
}

.card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid #e1e1e4;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,.06);
}

.topbar,
.section,
.footer,
.hero {
  padding-left: 48px;
  padding-right: 48px;
}

.topbar {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: block;
  width: auto;
}

.logo-top {
  height: 128px;
}

.logo-footer {
  height: 128px;
  margin: 0 auto;
}

.nav {
  display: flex;
  gap: 40px;
  font-size: 15px;
  color: #5f6064;
}

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

.hero {
  padding-top: 56px;
  padding-bottom: 44px;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: 66px;
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.hero .strong {
  font-weight: 700;
  color: #222326;
}

.hero .muted {
  font-weight: 400;
  color: #6f7074;
}

.hero-copy {
  max-width: 625px;
  margin-top: 34px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--muted);
}

.hero-copy p,
.section-copy p,
.footer p { margin: 0; }
.hero-copy p + p,
.section-copy p + p,
.footer-meta p + p { margin-top: 12px; }
.darker { color: #44454a; }

.divider {
  height: 1px;
  background: var(--line);
}

.divider.inset {
  margin: 0 48px;
}

.section {
  padding-top: 40px;
  padding-bottom: 48px;
}

.section h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.section-copy {
  max-width: 720px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--muted);
}

.stack-emphasis {
  color: #323338;
}

.inner-divider {
  height: 1px;
  background: var(--line);
  margin: 40px 0 32px;
}

.philosophy-copy span { margin-left: 12px; }

.pillars {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.pillar {
  padding-right: 24px;
}

.pillar + .pillar {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.pillar-dot {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  border: 3px solid var(--dot);
  margin-bottom: 18px;
}

.pillar h3,
.ecosystem-copy h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 400;
  color: var(--text);
}

.pillar p {
  margin-top: 16px;
  max-width: 180px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #66676b;
}

.ecosystem-copy h3 { font-size: 28px; }
.ecosystem-copy .ellipsis {
  letter-spacing: .15em;
  color: #a7a8ac;
}

.footer {
  padding-top: 40px;
  padding-bottom: 48px;
  text-align: center;
}

.footer > p {
  font-size: 18px;
  color: #66676b;
}

.footer > p + p { margin-top: 8px; }

.footer-meta {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-3);
}

@media (max-width: 900px) {
  .logo-top,
  .logo-footer { height: 108px; }
  .hero h1 { font-size: 56px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .pillar:nth-child(3),
  .pillar:nth-child(4) { padding-top: 8px; }
  .pillar:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 640px) {
  .page-shell { padding: 18px 10px; }
  .topbar,
  .section,
  .footer,
  .hero { padding-left: 22px; padding-right: 22px; }
  .topbar {
    padding-top: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav { gap: 18px; font-size: 14px; }
  .logo-top,
  .logo-footer { height: 84px; }
  .hero { padding-top: 34px; padding-bottom: 32px; }
  .hero h1 { font-size: 42px; max-width: none; }
  .hero-copy,
  .section-copy { font-size: 17px; }
  .section h2 { font-size: 34px; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .pillar,
  .pillar + .pillar { border-left: none; padding: 0; }
  .pillar p { max-width: none; }
  .divider.inset { margin: 0 22px; }
}
