:root {
  --bqe-navy: #003d5c;
  --bqe-navy-dark: #062d42;
  --bqe-cyan: #0b6b8f;
  --bqe-gold: #f7b31b;
  --bqe-orange: #ff6b21;
  --ink: #142532;
  --muted: #637180;
  --line: #d7e1e8;
  --panel: #ffffff;
  --surface: #eef5f8;
  --soft-gold: #fff5dc;
  --shadow: 0 24px 70px rgba(8, 36, 52, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(0, 61, 92, 0.08) 0, rgba(0, 61, 92, 0.08) 25%, transparent 25%, transparent 50%, rgba(247, 179, 27, 0.08) 50%, rgba(247, 179, 27, 0.08) 75%, transparent 75%) 0 0 / 72px 72px,
    linear-gradient(180deg, #f8fbfd 0%, var(--surface) 100%);
}

a {
  color: var(--bqe-cyan);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

.notice-panel {
  width: min(1120px, 100%);
  overflow: hidden;
  border: 1px solid rgba(0, 61, 92, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.brand-bar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 34px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.brand-logo {
  display: block;
  width: 188px;
  max-width: 48%;
  height: auto;
}

.brand-context {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 61, 92, 0.18);
  border-radius: 999px;
  color: var(--bqe-navy-dark);
  background: #f6fafc;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bqe-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 33, 0.14);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 0;
}

.message-area {
  padding: 62px 64px 58px;
  border-right: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--bqe-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--bqe-navy-dark);
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: #425363;
  font-size: 20px;
  line-height: 1.55;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(247, 179, 27, 0.5);
  outline-offset: 3px;
}

.button-primary {
  color: #ffffff;
  background: var(--bqe-navy);
  box-shadow: 0 12px 28px rgba(0, 61, 92, 0.22);
}

.button-primary:hover {
  background: var(--bqe-navy-dark);
}

.button-secondary {
  color: var(--bqe-navy);
  background: #ffffff;
  border-color: rgba(0, 61, 92, 0.24);
}

.button-secondary:hover {
  border-color: var(--bqe-cyan);
  background: #f5fafc;
}

.support-line {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.support-line a {
  font-weight: 800;
}

.details-panel {
  padding: 46px 34px;
  background:
    linear-gradient(180deg, var(--soft-gold), #ffffff 42%),
    #ffffff;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 61, 92, 0.11);
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  margin: 0 0 7px;
  color: #657684;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.notice-footer {
  padding: 20px 34px;
  border-top: 1px solid var(--line);
  background: #f7fafc;
}

.notice-footer p {
  max-width: 920px;
  margin: 0;
  color: #526371;
  font-size: 14px;
  line-height: 1.55;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  min-width: 150px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--bqe-navy-dark);
  box-shadow: 0 16px 40px rgba(6, 45, 66, 0.24);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .page-shell {
    align-items: stretch;
    padding: 20px;
  }

  .brand-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .brand-logo {
    max-width: 260px;
    width: 56%;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .message-area {
    padding: 42px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .lede {
    font-size: 18px;
  }

  .details-panel {
    padding: 32px 28px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding: 0;
  }

  .notice-panel {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .brand-logo {
    width: 220px;
    max-width: 100%;
  }

  .brand-context {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .message-area {
    padding: 34px 22px;
  }

  h1 {
    font-size: 34px;
  }

  .lede {
    font-size: 16px;
  }

  .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .details-panel,
  .notice-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .toast {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}
