:root {
  color-scheme: dark;
  --background: #06111d;
  --surface: #0d1b2b;
  --surface-strong: #11243a;
  --border: #22364c;
  --text: #f6f9fc;
  --muted: #9eacbd;
  --blue: #4f9cff;
  --blue-strong: #247df0;
  --green: #31d98b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(79, 156, 255, 0.2), transparent 36rem),
    var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.card {
  width: min(100%, 680px);
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17, 36, 58, 0.96), rgba(9, 24, 39, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.brand {
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(49, 217, 139, 0.28);
  border-radius: 999px;
  background: rgba(49, 217, 139, 0.08);
  color: #9af2ca;
  font-size: 0.86rem;
  font-weight: 650;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(49, 217, 139, 0.12);
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2rem, 7vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.lead {
  max-width: 56ch;
  margin: 22px 0 30px;
  font-size: 1.08rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 0 0 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--border);
}

.facts div {
  min-width: 0;
  padding: 17px;
  background: var(--surface);
}

.facts dt {
  min-height: 2.6em;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.facts dd {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--blue-strong);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--blue);
}

.text-link,
.back-link {
  color: #b9d8ff;
  font-weight: 650;
  text-underline-offset: 4px;
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
}

.shield {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(79, 156, 255, 0.35);
  border-radius: 18px;
  background: rgba(79, 156, 255, 0.12);
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 800;
}

.persian {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.persian p {
  margin-bottom: 0;
}

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

  .facts dt {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
