:root {
  --navy: #041133;
  --primary: #0146C7;
  --accent: #FFD602;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --success: #16a34a;
  --warning: #d97706;
  --warning-light: #fffbeb;
  --warning-border: #fde68a;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100vh; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
}

::selection { background: rgba(1, 70, 199, 0.15); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.skipLink { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skipLink:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--navy); font-weight: 600; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

/* Full-screen layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  animation: fadeIn 500ms ease both;
}

/* Header */
header {
  width: 100%;
  max-width: 720px;
  padding: 32px 0 0;
  display: flex;
  justify-content: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: opacity 200ms;
}

.logo:hover { opacity: 0.8; }
.logo img { width: 28px; height: 28px; border-radius: 7px; }

.logoName {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Main content — vertically centered */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 600px;
  padding: 40px 0 60px;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--warning-border);
  background: var(--warning-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warning);
  margin-bottom: 28px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warning);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
}

/* Headline */
h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

/* Lead paragraph */
.lead {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 50ch;
}

/* ETA row */
.eta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.eta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eta-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.eta-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.eta-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Action buttons */
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 150ms ease;
  cursor: pointer;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--navy);
  color: #ffffff;
  border: 1px solid var(--navy);
  box-shadow: 0 2px 8px rgba(4, 17, 51, 0.15);
}

.btn-primary:hover {
  background: #0a1d4a;
  box-shadow: 0 4px 16px rgba(4, 17, 51, 0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--border-light, #f3f4f6);
  color: var(--text);
  border-color: #d1d5db;
  transform: translateY(-1px);
}

/* Meta */
.meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* Noscript */
.noscript-msg {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 0 24px 24px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 480px) {
  .eta {
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }
  .eta-sep {
    width: 40px;
    height: 1px;
  }
  .actions {
    flex-direction: column;
    width: 100%;
  }
  .btn { justify-content: center; }
  main { padding: 24px 0 40px; }
}
