:root {
  --bg: #eff1f4;
  --card: #ffffff;
  --text: #0f1419;
  --muted: #52636f;
  --line: #dde3ea;
  --accent: #ff2026;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  padding-top: var(--fixed-header-offset);
}

.page {
  min-height: 100vh;
  padding: 24px 20px 36px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.license-card {
  width: min(980px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}

.license-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.status-badge {
  border: 1px solid #b9efcc;
  color: #0f8a43;
  background: #f2fff7;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

h1 {
  margin: 18px 0 6px;
  font-family: Archivo, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.item,
.address-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fcfdff;
}

.label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.value {
  margin: 8px 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text);
  font-weight: 600;
}

.accent {
  color: var(--accent);
  font-size: 1.5rem;
  font-family: "Roboto Flex", Inter, sans-serif;
  font-variation-settings: "opsz" 40, "wght" 820;
}

.address-item {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .license-card {
    padding: 20px;
  }

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

  .license-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
