:root {
  --navy: #025687;
  --gold: #bf9b5f;
  --canvas: #f5f3ee;
  --ink: #23252b;
  --rule: #e4e1d8;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
}

a:hover {
  color: #013f63;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  height: 30px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-accent {
  color: var(--gold);
}

.header-note {
  font-size: 13px;
  color: #6b6e76;
}

/* Main content */

.page {
  flex: 1;
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content {
  width: 100%;
  max-width: 920px;
}

.content h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 44px;
  letter-spacing: -0.01em;
}

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

.app-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.app-card--disabled {
  opacity: 0.62;
}

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

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon--active {
  background: var(--navy);
}

.app-icon--pending {
  background: #c7cad1;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 20px;
}

.status--available {
  background: #e7f4ed;
  color: #1a7a4c;
}

.status--pending {
  background: #eceeef;
  color: #797c84;
}

.card-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
}

.card-body p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #6b6e76;
}

.app-card--disabled .card-body h2 {
  color: #54565e;
}

.app-card--disabled .card-body p {
  color: #8a8d95;
}

.app-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.app-link--disabled {
  color: #adb0b7;
  cursor: not-allowed;
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 24px 40px 40px;
  font-size: 12px;
  color: #9a9da5;
}

/* Responsive */

@media (max-width: 700px) {
  .site-header,
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }

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