@font-face {
  font-family: Inter;
  src: url("fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  color: #f6f7fb;
  background: #080b15;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 12% 8%, #12303c66, transparent 52%),
    radial-gradient(ellipse at 92% 80%, #42183855, transparent 50%),
    #080b15;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 12px 16px;
  color: #080b15;
  background: #77eee8;
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.brand {
  width: 100%;
  max-width: 540px;
  padding: 0 0 24px;
  text-align: center;
}

.brand img {
  display: block;
  width: min(256px, 100%);
  height: auto;
  margin: 0 auto 8px;
}

.brand p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cbd4e8;
}

main {
  width: 100%;
  max-width: 540px;
  margin: auto 0;
  padding: clamp(24px, 6vw, 40px);
  border: 1px solid #334459;
  border-radius: 24px;
  background: #111725;
  box-shadow: 0 20px 60px #00000040;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #77eee8;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.closed .status { color: #ff9ad7; }

h1 {
  margin: 0 0 20px;
  max-width: 14ch;
  font-size: clamp(30px, 7.5vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 720;
  overflow-wrap: break-word;
}

.lead {
  margin: 0 0 28px;
  font-size: clamp(19px, 4.9vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #e2e9f5;
}

.next-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  margin: 0 0 18px;
  border-top: 1px solid #334459;
  border-bottom: 1px solid #334459;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 650;
}

.next-step svg {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: #77eee8;
}

.help {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #bac4d8;
}

footer {
  max-width: 540px;
  padding: 28px 0 0;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #aebcd1;
}

@media (min-width: 600px) {
  body { padding-top: 36px; padding-bottom: 32px; }
  .brand { padding-bottom: 32px; }
}

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