:root {
  --brand: #990000;
  --brand-deep: #690000;
  --brand-bright: #c41515;
  --ink: #242528;
  --muted: #62646a;
  --paper: #ffffff;
  --line: rgba(36, 37, 40, 0.11);
  --shadow: 0 30px 80px rgba(35, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.12), transparent 26rem),
    linear-gradient(145deg, var(--brand-deep), var(--brand) 55%, #b30000);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  min-height: 100svh;
  padding: clamp(16px, 3vw, 40px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - clamp(32px, 6vw, 80px));
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(22px, 3vw, 42px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 88%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .5;
  pointer-events: none;
}

.ambient-one {
  width: min(58vw, 650px);
  aspect-ratio: 1;
  left: -22%;
  top: -28%;
  background: rgba(255, 255, 255, 0.2);
}

.ambient-two {
  width: min(48vw, 520px);
  aspect-ratio: 1;
  right: -18%;
  bottom: -32%;
  background: rgba(30, 30, 32, 0.32);
}

.content-card {
  width: min(100%, 780px);
  margin: auto;
  padding: clamp(26px, 6vw, 72px);
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: enter .8s cubic-bezier(.2,.75,.2,1) both;
}

.logo-wrap {
  width: clamp(112px, 20vw, 180px);
  margin: 0 auto clamp(24px, 5vw, 42px);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(153, 0, 0, 0.2);
  overflow: hidden;
  transform: translateZ(0);
}

.logo {
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: clamp(.72rem, 1.4vw, .85rem);
  font-weight: 800;
  letter-spacing: .22em;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.intro {
  max-width: 620px;
  margin: clamp(20px, 4vw, 30px) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.65;
  text-wrap: balance;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 5vw, 40px);
  padding: 10px 15px;
  color: var(--ink);
  background: #f6f6f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 0 rgba(196, 21, 21, .35);
  animation: pulse 2s infinite;
}

.progress {
  position: relative;
  width: min(100%, 460px);
  height: 5px;
  margin: 30px auto 0;
  overflow: hidden;
  background: #ececef;
  border-radius: 999px;
}

.progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-bright));
  animation: loading 2.8s ease-in-out infinite;
}

.footer-note {
  margin: 20px 0 0;
  color: #8b8c91;
  font-size: .9rem;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 21, 21, .35); }
  50% { box-shadow: 0 0 0 7px rgba(196, 21, 21, 0); }
}

@keyframes loading {
  0% { transform: translateX(-115%); }
  55%, 100% { transform: translateX(340%); }
}

@media (max-width: 560px) {
  .page-shell { padding: 10px; }
  .hero {
    min-height: calc(100svh - 20px);
    border-radius: 24px;
  }
  .content-card {
    width: 100%;
    padding: 34px 22px;
    border-radius: 26px;
  }
  .intro { line-height: 1.55; }
}

@media (min-width: 1400px) {
  .content-card { max-width: 900px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
