:root {
  color-scheme: light;
  --bg: #f4f7f6;
  --surface: #ffffff;
  --text: #143039;
  --muted: #657980;
  --line: #dce7e4;
  --green: #17655b;
  --blue: #2f6f95;
  --blue-soft: #e7f1f7;
  --mint: #e6f4ee;
  --amber: #b37123;
  --amber-soft: #fff3df;
  --shadow: 0 24px 70px rgba(20, 48, 57, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(23, 101, 91, 0.10), transparent 36%),
    linear-gradient(180deg, #fbfcfc 0%, var(--bg) 100%);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:focus-visible {
  outline: 3px solid rgba(47, 111, 149, 0.42);
  outline-offset: 4px;
}

.shell {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 74px) 0 52px;
}

.hero {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-logo {
  display: block;
  width: min(470px, 100%);
  height: auto;
  margin: 0 auto;
}

.hero-text {
  max-width: 420px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 20px;
}

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

.app-card {
  position: relative;
  display: grid;
  min-height: 265px;
  align-content: start;
  gap: 12px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(20, 48, 57, 0.10);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--mint);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 101, 91, 0.35);
  box-shadow: 0 26px 62px rgba(20, 48, 57, 0.14);
}

.app-card.pending {
  background: rgba(255, 250, 242, 0.95);
}

.app-card.pending:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: 0 18px 48px rgba(20, 48, 57, 0.10);
}

.app-mark,
.app-card strong,
.app-card > span:not(.app-status),
.app-card em {
  position: relative;
  z-index: 1;
}

.app-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green);
  font-weight: 850;
  letter-spacing: 0;
}

.social .app-mark {
  background: var(--blue-soft);
  color: var(--blue);
}

.accounting .app-mark {
  background: var(--amber-soft);
  color: var(--amber);
}

.app-status {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.pending .app-status {
  background: var(--amber-soft);
  color: var(--amber);
}

.app-card strong {
  font-size: 27px;
  line-height: 1.1;
}

.app-card > span:not(.app-mark):not(.app-status) {
  max-width: 260px;
  color: var(--muted);
}

.app-card em {
  align-self: end;
  margin-top: 28px;
  color: var(--green);
  font-style: normal;
  font-weight: 850;
}

.pending em {
  color: var(--amber);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 920px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .hero {
    gap: 20px;
    margin-bottom: 20px;
  }

  .hero-logo {
    width: min(350px, 100%);
  }

  .hero-text {
    font-size: 17px;
  }

  .app-card {
    min-height: 225px;
    padding: 22px;
  }

  .app-card strong {
    font-size: 24px;
  }
}
