:root {
  --bg: #edf5fb;
  --card: #ffffff;
  --ink: #0b1726;
  --muted: #65758a;
  --line: #dce7f2;
  --brand: #07517f;
  --brand-2: #0a74aa;
  --good: #0a7c55;
  --warn: #a56400;
  --bad: #b42318;
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, #d8eefb 0, var(--bg) 32%, #f8fbfe 100%);
  color: var(--ink);
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 32px auto;
  display: grid;
  gap: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(4, 49, 82, 0.08);
}

.hero { padding: 34px; }
.brand-row, .split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-row { justify-content: flex-start; }
.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-weight: 900;
  font-size: 30px;
}
.eyebrow {
  margin: 0 0 4px;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 12px;
}
h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(34px, 5vw, 64px); line-height: .95; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 24px 0 0;
}

.status-grid, .three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.status-grid div, .three-cols div, .summary {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #f6fafd;
}
.status-grid span, .three-cols span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}
.status-grid strong, .three-cols strong { font-size: 16px; }

.notice {
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff8e8;
  color: var(--warn);
  font-weight: 700;
}
.notice.good { background: #e9fbf4; color: var(--good); }
.notice.bad { background: #fff1f0; color: var(--bad); }
.hidden { display: none !important; }

label {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin: 14px 0 8px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  background: #fbfdff;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(10, 116, 170, .12); }
button, .link-button {
  border: 0;
  border-radius: 18px;
  padding: 15px 18px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.primary { background: var(--brand); color: white; }
.secondary { background: #e8f3fb; color: var(--brand); border: 1px solid #cce3f2; }
.ghost { background: #f3f7fb; color: var(--brand); border: 1px solid var(--line); }
.full { width: 100%; margin-top: 14px; }
button:disabled { opacity: .55; cursor: not-allowed; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.panel { margin: 18px 0; }
.summary { color: var(--muted); line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.full-span { grid-column: 1 / -1; }
.muted { color: var(--muted); line-height: 1.6; }

@media (max-width: 760px) {
  .card, .hero { padding: 22px; }
  .brand-row, .split-row { align-items: flex-start; flex-direction: column; }
  .status-grid, .three-cols, .form-grid { grid-template-columns: 1fr; }
  .full-span { grid-column: auto; }
}
