:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #596273;
  --line: #d8dee8;
  --teal: #1c6657;
  --blue: #365bd8;
  --rose: #b12a78;
  --amber: #b85b00;
  --shadow: 0 20px 55px rgba(17, 24, 39, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.site-hero {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  padding: 18px clamp(18px, 4vw, 56px) 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.96), rgba(246, 248, 251, 0.82) 42%, rgba(246, 248, 251, 0.26)),
    url("home-background.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a,
.button,
.card-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  padding-top: 120px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 12vw, 124px);
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  width: min(560px, 100%);
  margin: 22px 0 0;
  color: #293241;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button.primary {
  border-color: rgba(28, 102, 87, 0.35);
  background: var(--teal);
  color: #ffffff;
}

main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 42px clamp(16px, 4vw, 36px) 72px;
}

.section {
  padding: 34px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.app-card {
  min-height: 240px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.app-card.featured {
  border-color: rgba(28, 102, 87, 0.34);
  box-shadow: var(--shadow);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.card-meta span {
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.app-card p,
.split p,
.path-list dd {
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  margin-top: 12px;
  border-color: rgba(54, 91, 216, 0.26);
  color: var(--blue);
}

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

.ops-panel {
  min-height: 190px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(28, 102, 87, 0.12);
}

.status-dot.warm {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(184, 91, 0, 0.13);
}

.status-dot.blue {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(54, 91, 216, 0.12);
}

.ops-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.path-list {
  margin: 0;
  display: grid;
  gap: 10px;
}

.path-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.path-list dt {
  margin-bottom: 6px;
  font-weight: 800;
}

.path-list dd {
  margin: 0;
}

@media (max-width: 820px) {
  .site-hero {
    background:
      linear-gradient(180deg, rgba(246, 248, 251, 0.98), rgba(246, 248, 251, 0.78) 56%, rgba(246, 248, 251, 0.52)),
      url("home-background.png") center / cover no-repeat;
  }

  .site-nav {
    align-items: flex-start;
  }

  .hero-copy {
    padding-top: 82px;
  }

  .app-grid,
  .ops-grid,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .site-hero {
    padding-inline: 14px;
  }

  .nav-links a {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 13px;
  }
}
