* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f4f7f6;
  --panel: #ffffff;
  --text: #183029;
  --muted: #667973;
  --border: #d9e3df;
  --primary: #145f49;
  --primary-dark: #0d4636;
  --primary-soft: #e8f3ef;
  --shadow: 0 18px 48px rgba(18, 62, 49, 0.09);
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(20, 95, 73, 0.08), transparent 35rem),
    var(--bg);
  color: var(--text);
}

body { min-height: 100vh; }

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

.hero {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 30px 32px;
  background: linear-gradient(135deg, #ffffff, #edf6f2);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand-mark {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--primary);
  color: white;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--primary);
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 4px 18px;
}

.section-head h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

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

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

.app-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(18, 62, 49, 0.055);
}

.app-card.active,
.app-card.developing {
  border-color: #bdd9cf;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.app-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}

.status {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.active-status {
  color: #0b6a4b;
  background: #e5f7ef;
}

.develop-status {
  color: #725719;
  background: #fff2cd;
}

.app-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.app-card p {
  color: var(--muted);
  line-height: 1.62;
}

.app-address {
  margin: 2px 0 18px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 12px;
  color: white;
  background: var(--primary);
  text-decoration: none;
  font-weight: 800;
  transition: background .15s ease, transform .15s ease;
}

.primary-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.info-panel {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.info-panel strong {
  display: block;
  margin-bottom: 6px;
}

.info-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 26px 0 0;
  color: #82918c;
  font-size: 13px;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 18px;
  }

  .hero {
    align-items: flex-start;
    padding: 24px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 16px;
    font-size: 22px;
  }

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

@media (max-width: 520px) {
  .hero { display: block; }
  .brand-mark { margin-bottom: 18px; }
  .app-card { min-height: 300px; }
  footer { flex-wrap: wrap; }
}
