:root {
  color: #12282b;
  background: #f6faf8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(154, 244, 199, 0.28), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(246, 214, 110, 0.18), transparent 24rem),
    linear-gradient(180deg, #fbfffd 0%, #eef8f4 46%, #f8fbfa 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(18, 40, 43, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(11, 61, 58, 0.08);
}

.brand,
.site-header nav,
.hero-actions,
.repo-actions,
.product-feature a,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 11px;
  color: #073f44;
  font-weight: 900;
}

.brand span:last-child {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand small {
  color: #617b78;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(6, 58, 61, 0.18);
}

.site-header nav {
  gap: 4px;
}

.site-header nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #476361;
  font-size: 0.94rem;
  font-weight: 750;
}

.site-header nav a:hover {
  background: #eef8f4;
  color: #063a3d;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 56px 0 42px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.card-topline,
.support-band span {
  color: #0b756b;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 14px 0 20px;
  color: #052f33;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: #082f32;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: #082f32;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.hero-copy p,
.section-heading p,
.product-copy p,
.repo-card p,
.principle-grid p,
.support-band p {
  color: #476361;
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.product-feature a {
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.primary-button,
.product-feature a {
  color: #f5fffb;
  background: #063a3d;
  box-shadow: 0 16px 34px rgba(6, 58, 61, 0.22);
}

.secondary-button {
  border: 1px solid rgba(6, 58, 61, 0.16);
  color: #073f44;
  background: rgba(255, 255, 255, 0.72);
}

.signal-panel {
  display: grid;
  gap: 12px;
}

.signal-panel div,
.product-feature,
.repo-card,
.principle-grid article {
  border: 1px solid rgba(6, 58, 61, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 56px rgba(8, 66, 64, 0.08);
}

.signal-panel div {
  padding: 22px;
}

.signal-panel span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #e7f8f0;
  color: #0b756b;
  font-weight: 950;
}

.signal-panel strong {
  display: block;
  color: #082f32;
  font-size: 1.18rem;
}

.signal-panel p {
  margin: 8px 0 0;
  color: #55706e;
  line-height: 1.55;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(6, 58, 61, 0.08);
  border-radius: 8px;
  background: rgba(6, 58, 61, 0.08);
}

.metrics-strip span {
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: #315351;
  font-weight: 800;
}

.metrics-strip b {
  display: block;
  margin-bottom: 5px;
  color: #063a3d;
  font-size: 1.45rem;
}

.section {
  padding: 74px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(221, 251, 240, 0.95), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 70% 18%, rgba(42, 171, 133, 0.24), transparent 18rem);
}

.product-media img {
  width: min(240px, 72%);
  object-fit: contain;
}

.product-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 20px 0 24px;
  color: #315351;
  line-height: 1.55;
}

.open-source-section {
  padding-top: 46px;
}

.repo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 28px;
}

.repo-card h3 {
  margin: 10px 0 12px;
  font-size: 2rem;
}

.repo-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 220px;
}

.repo-actions span {
  color: #55706e;
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
}

.principles-section {
  padding-top: 46px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle-grid article {
  min-height: 220px;
  padding: 24px;
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(18, 49, 52, 0.12);
  padding: 30px 0 42px;
}

.support-band div {
  display: grid;
  gap: 6px;
}

.support-band strong {
  color: #123134;
  font-size: 1.35rem;
}

.support-band p {
  max-width: 620px;
  margin: 0;
}

@media (max-width: 920px) {
  .site-header nav {
    display: none;
  }

  .hero,
  .product-feature,
  .repo-card,
  .support-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 30px;
  }

  .metrics-strip,
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: calc(100% - 20px);
  }

  .site-header {
    margin-top: 10px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-actions,
  .primary-button,
  .secondary-button,
  .product-feature a {
    width: 100%;
  }

  .metrics-strip,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .product-feature,
  .repo-card {
    padding: 22px;
  }
}
