:root {
  color-scheme: light;
  --navy: #084a5b;
  --navy-2: #285d69;
  --blue: #0c7188;
  --blue-dark: #075a6d;
  --blue-light: #e7f3f5;
  --ink: #1f2933;
  --muted: #64748b;
  --line: #d9e2ec;
  --surface: #ffffff;
  --canvas: #f4f7f6;
  --warm: #ff6800;
  --danger: #9b2c2c;
  --success: #24755a;
  --shadow: 0 18px 48px rgba(16, 42, 67, 0.11);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255, 255, 255, .82), transparent 40%),
    radial-gradient(ellipse at 84% 30%, rgba(8, 74, 91, .05), transparent 43%),
    var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button { font: inherit; }
.shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  background: var(--navy);
  border-bottom: 4px solid var(--warm);
  color: white;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 17px; color: white; text-decoration: none; }
.brand img { display: block; width: 156px; height: auto; }
.brand span { padding-left: 17px; border-left: 1px solid rgba(255,255,255,.32); color: #d8e4e7; font-size: .92rem; }

.main-content { flex: 1; display: grid; align-items: center; padding-block: 72px; }
.center-card, .landing { width: min(760px, 100%); margin: 0 auto; }
.center-card { text-align: center; }
.landing { padding: 42px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.93); box-shadow: var(--shadow); }

.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { color: var(--navy); line-height: 1.15; }
h1 { max-width: 650px; margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.045em; }
h2 { margin: 0 0 4px; font-size: 1rem; }
.lede { max-width: 660px; margin: 18px 0 30px; color: var(--muted); font-size: 1.06rem; }

.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-bottom: 24px; }
.status-card { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfd; }
.status-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.status-dot { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--muted); }
.status-dot.success { background: var(--success); box-shadow: 0 0 0 4px rgba(36,117,90,.12); }

.button { min-height: 42px; border: 0; border-radius: 8px; padding: 9px 17px; cursor: pointer; font-weight: 760; }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: var(--blue-dark); }
.header-button { border: 1px solid rgba(255,255,255,.35); background: transparent; color: white; }
.link-button { display: inline-flex; align-items: center; text-decoration: none; }
.notice { min-height: 24px; margin: 16px 0 0; color: var(--muted); }

.shared-card { min-height: 150px; padding: 24px; border-left: 4px solid var(--warm); border-radius: 0 12px 12px 0; background: #fffaf6; }
.shared-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 0; }
.shared-card dt { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.shared-card dd { margin: 3px 0 0; color: var(--navy); font-weight: 750; }
.shared-card p { color: var(--muted); }

.spinner { display: block; width: 42px; height: 42px; margin: 0 auto 18px; border: 4px solid #d9e6e9; border-top-color: var(--warm); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.error-card h1 { font-size: 2rem; }
.error-card p { color: var(--danger); }
.site-footer { padding: 24px 0; color: var(--muted); font-size: .8rem; text-align: center; }

[hidden] { display: none !important; }

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1100px); }
  .header-inner { min-height: 72px; }
  .brand img { width: 128px; }
  .brand span { display: none; }
  .main-content { padding-block: 38px; }
  .landing { padding: 28px 22px; }
  .status-grid, .shared-card dl { grid-template-columns: 1fr; }
}
