:root {
  --night: #070b12;
  --steel: #1c2736;
  --red: #ff3b4f;
  --amber: #f5b642;
  --ice: #d8f4ff;
  --muted: #91a1b8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ice);
  background: var(--night);
}

a {
  color: inherit;
  text-decoration: none;
}

.fortress {
  min-height: 830px;
  padding: 28px clamp(18px, 5vw, 76px) 90px;
  background:
    linear-gradient(90deg, rgba(255, 59, 79, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 59, 79, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 78% 34%, rgba(255, 59, 79, 0.22), transparent 32%),
    linear-gradient(135deg, #070b12, #162134);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  padding: 13px 16px;
  border: 1px solid var(--red);
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

button {
  padding: 12px 16px;
  border: 0;
  color: var(--night);
  background: var(--amber);
  cursor: pointer;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 390px;
  gap: 70px;
  align-items: center;
  padding-top: 105px;
}

.status {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 7vw, 98px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero p:last-child,
.ring-copy p,
.shelf p,
.watch-card p,
.protocol li,
footer p,
address span {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero p:last-child {
  max-width: 780px;
  font-size: 21px;
}

.shield-emblem {
  display: grid;
  place-items: center;
  aspect-ratio: 0.78;
  padding: 40px;
  clip-path: polygon(50% 0, 92% 18%, 82% 78%, 50% 100%, 18% 78%, 8% 18%);
  color: var(--night);
  background: linear-gradient(160deg, var(--amber), var(--red));
  text-align: center;
}

.shield-emblem strong {
  font-size: clamp(38px, 5vw, 62px);
  text-transform: uppercase;
}

.shield-emblem span {
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.security-ring,
.armory,
.watch-floor,
.protocol,
footer {
  padding: 94px clamp(18px, 5vw, 76px);
}

.security-ring {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
  background: #0b1019;
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.ring {
  position: relative;
  min-height: 520px;
  border: 2px solid rgba(245, 182, 66, 0.35);
  border-radius: 50%;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 2px dashed rgba(255, 59, 79, 0.5);
  border-radius: 50%;
}

.ring span {
  position: absolute;
  padding: 14px 18px;
  color: var(--night);
  background: var(--ice);
  font-weight: 900;
  text-transform: uppercase;
}

.ring span:nth-child(1) { left: 31%; top: 3%; }
.ring span:nth-child(2) { right: -2%; top: 38%; }
.ring span:nth-child(3) { left: 34%; bottom: 3%; }
.ring span:nth-child(4) { left: -2%; top: 38%; }
.ring span:nth-child(5) { left: 42%; top: 43%; background: var(--red); color: white; }

.armory {
  color: var(--night);
  background: #f3f5f8;
}

.armory .status {
  color: var(--red);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.shelf article {
  min-height: 330px;
  padding: 28px;
  border: 1px solid #cdd5e0;
  background: white;
}

.shelf b {
  display: block;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 28px;
  text-transform: uppercase;
}

.watch-floor {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--steel);
}

.watch-card {
  padding: 28px;
  border: 1px solid rgba(216, 244, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.watch-card span {
  color: var(--amber);
  font-size: 42px;
  font-weight: 900;
}

.watch-card.alert {
  color: var(--night);
  background: var(--amber);
}

.watch-card.alert p {
  color: #3a2a07;
}

.watch-card.dark {
  background: #03060b;
}

.protocol {
  background: var(--night);
}

.protocol ol {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding-left: 24px;
}

.protocol li {
  padding: 20px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.04);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  background: #03060b;
}

address {
  display: grid;
  gap: 12px;
  min-width: min(100%, 420px);
  padding: 30px;
  border: 1px solid var(--red);
  font-style: normal;
}

address a {
  color: var(--amber);
  font-size: 24px;
  font-weight: 900;
}

@media (max-width: 1000px) {
  .hero,
  .security-ring,
  .shelf,
  .watch-floor,
  footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .ring {
    min-height: 420px;
  }
}
