:root {
  color-scheme: light;
  --ink: #18201c;
  --muted: #66716b;
  --line: #d9e0dc;
  --surface: #f7f9f8;
  --paper: #fffdf8;
  --brand: #167d63;
  --brand-dark: #0d4f3d;
  --warm: #c2603d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(22, 125, 99, 0.16), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(194, 96, 61, 0.12), transparent 26%),
    linear-gradient(135deg, #fbf6ea 0%, #eef7f2 52%, #f7f9f8 100%);
}

.site-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--brand-dark);
  border: 1px solid rgba(13, 79, 61, 0.28);
  background: rgba(255, 255, 255, 0.58);
}

.apps-section {
  padding: 34px 0;
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: 26px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.app-list {
  display: grid;
  gap: 12px;
}

.app-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(27, 58, 47, 0.07);
}

.app-item:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.app-item.featured {
  border-color: rgba(22, 125, 99, 0.34);
}

.app-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}

.app-mark.alt {
  background: var(--warm);
}

.app-mark.blue {
  background: #0055ad;
}

.app-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.app-item small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.app-item em {
  display: block;
  margin-top: 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.route-section,
.cases-section,
.proof-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.route-grid div,
.case-card,
.proof-section {
  padding: 18px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.76);
}

.case-card {
  color: inherit;
  text-decoration: none;
}

.case-card:hover {
  border-color: var(--warm);
  transform: translateY(-1px);
}

.case-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--warm);
  background: rgba(194, 96, 61, 0.1);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.case-card strong,
.route-grid b,
.route-grid span {
  display: block;
}

.case-card strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.route-grid b {
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.case-card small,
.route-grid span,
.proof-section p {
  color: var(--muted);
  line-height: 1.6;
}

.case-card small,
.case-card em {
  display: block;
}

.case-card em {
  margin-top: 12px;
  color: var(--brand-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.proof-section h2 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1080px);
    padding: 28px 0;
  }

  .section-heading {
    display: block;
  }

  .app-item {
    grid-template-columns: 40px 1fr;
  }

  .app-mark {
    width: 40px;
    height: 40px;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }
}
