:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #173257;
  background: #f8fafc;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left,
      rgba(31,74,137,.08), transparent 28rem),
    radial-gradient(circle at top right,
      rgba(249,115,22,.08), transparent 26rem),
    #f8fafc;
}

a {
  color: #1f4a89;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  min-height: 78px;
  padding: 14px 4%;
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.topbar img {
  max-width: 185px;
  max-height: 48px;
  object-fit: contain;
}

.brand-title {
  font-size: 16px;
  font-weight: 900;
  color: #173257;
  padding-left: 20px;
  border-left: 1px solid #dbe4f0;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.top-right form {
  margin: 0;
}

.account {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 13px 4%;
  overflow-x: auto;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.tabs a {
  flex-shrink: 0;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #365574;
}

.tabs a:hover,
.tabs a:focus {
  background: #eaf1fb;
  text-decoration: none;
}

.main {
  max-width: 1440px;
  padding: 28px 28px 70px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 54px 46px 50px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(
    130deg, #fff 0%, #f1f6ff 100%
  );
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(31,74,137,.06);
}

.eyebrow {
  color: #1f4a89;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(25px, 3vw, 38px);
  color: #173257;
  margin: 15px 0;
  font-weight: 900;
}

h2 {
  font-size: 21px;
  color: #173257;
  margin-top: 0;
}

p {
  color: #64748b;
  line-height: 1.7;
}

.hero p {
  max-width: 800px;
  margin: auto;
}

.metrics {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metrics article,
.panel,
.login {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(31,74,137,.045);
}

.metrics article {
  padding: 24px;
  border-left: 4px solid #1f4a89;
}

.metrics small {
  display: block;
  color: #64748b;
  font-weight: 800;
}

.metrics strong {
  display: block;
  margin-top: 12px;
  font-size: 34px;
  font-weight: 900;
  color: #173257;
}

.panel {
  margin-top: 20px;
  padding: 28px;
}

.login {
  max-width: 440px;
  margin: 55px auto;
  padding: 38px;
}

label {
  display: block;
  margin: 20px 0 8px;
  font-size: 12px;
  font-weight: 900;
  color: #1e3a5f;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #bfd0e6;
  border-radius: 11px;
  color: #173257;
  background: white;
  font: inherit;
  font-size: 14px;
}

input:focus,
select:focus {
  border-color: #2c6fd6;
  outline: 3px solid rgba(44,111,214,.12);
}

button {
  cursor: pointer;
  border-radius: 11px;
  font-weight: 900;
  padding: 12px 18px;
  border: 1px solid #bfd0e6;
}

button.primary {
  margin-top: 23px;
  background: #1f4a89;
  color: white;
  border-color: #1f4a89;
}

button.primary:hover {
  background: #163967;
}

button.outline {
  background: white;
  color: #1f4a89;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

th,
td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
}

th {
  background: #f1f6ff;
  color: #1e3a5f;
  font-weight: 900;
}

footer {
  padding: 25px;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

@media(max-width: 760px) {
  .main { padding: 16px; }
  .hero { padding: 35px 20px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .brand-title { display: none; }
  .account { display: none; }
  .panel { padding: 18px; }
}
