:root {
  --bg: #050816;
  --surface: #0b1120;
  --text: #f8fafc;
  --muted: #b7c0cf;
  --line: rgba(148, 163, 184, 0.22);
  --accent: #3B82F6;
  --accent-soft: rgba(59, 130, 246, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 0;
}

.page {
  width: 100%;
  min-height: 100vh;
  border-radius: 0;
  background: linear-gradient(180deg, #050816 0%, var(--surface) 100%);
  border: 0;
  box-shadow: none;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.brand-logo {
  width: 30px;
  height: auto;
  flex: 0 0 auto;
}

.content {
  align-self: center;
  display: grid;
  gap: 20px;
  padding: 48px 0;
  justify-items: center;
}

.notice-copy {
  display: grid;
  gap: 10px;
  padding-top: 6px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  background: var(--accent-soft);
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 66px);
  line-height: 1.05;
  font-weight: 850;
}

.notice-copy p {
  margin: 0;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.75;
  color: var(--muted);
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.redirect-status {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.notice-copy .redirect-note {
  color: var(--text);
  font-weight: 700;
}

.redirect-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

[data-countdown-seconds] {
  display: inline-block;
  width: 1.3em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.redirect-progress {
  width: 280px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.redirect-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  color: #8f9aaa;
  font-size: 11px;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .page {
    min-height: 100vh;
    padding: 20px;
    border-radius: 0;
  }

  .header,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .content {
    padding: 40px 0;
  }

  .notice-copy p {
    font-size: 14px;
  }

  .redirect-progress {
    width: 100%;
  }
}
