:root {
  --green: #0e8b45;
  --green-dark: #086332;
  --red: #d71920;
  --blue: #149ad6;
  --navy: #10263f;
  --gold: #c99a38;
  --ink: #17212b;
  --muted: #687383;
  --line: #e6ebef;
  --soft: #f5f8fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(14,139,69,.08), transparent 28%),
    radial-gradient(circle at 90% 16%, rgba(20,154,214,.10), transparent 22%),
    linear-gradient(135deg, #f8fbf9 0%, #f4f7fb 100%);
}

.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 5vw;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 24px rgba(16,38,63,.05);
}
.brand-block { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand-image {
  width: 250px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
  background: white;
  border-radius: 10px;
}
.brand-copy .eyebrow { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.brand-copy h1 { margin: 4px 0 2px; color: var(--navy); font-size: clamp(21px, 2vw, 30px); }
.brand-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.status-pill {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: #edf8f1;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #cfe9d8;
}
.status-dot { display: inline-block; width: 8px; height: 8px; background: var(--green); border-radius: 50%; margin-right: 8px; }

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: 54px;
  align-items: center;
  width: min(1220px, 90vw);
  margin: 0 auto;
  padding: 64px 0;
}
.hero-panel { padding: 12px 0; }
.hero-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(14,139,69,.08);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-panel h2 {
  margin: 20px 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.hero-panel h2 span { color: var(--green); }
.hero-text { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 32px;
}
.feature-grid article {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(230,235,239,.9);
  box-shadow: 0 10px 28px rgba(16,38,63,.04);
}
.feature-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: white; background: var(--navy); font-weight: 800; font-size: 12px;
}
.feature-grid article:nth-child(2) .feature-icon { background: var(--green); }
.feature-grid article:nth-child(3) .feature-icon { background: var(--red); }
.feature-grid article:nth-child(4) .feature-icon { background: var(--blue); }
.feature-grid h3 { margin: 12px 0 6px; font-size: 15px; color: var(--navy); }
.feature-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.disclaimer { margin-top: 20px; padding-left: 14px; border-left: 3px solid var(--gold); color: var(--muted); font-size: 12px; line-height: 1.6; }

.login-card {
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(16,38,63,.15);
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--red) 33% 66%, var(--blue) 66% 100%);
}
.mini-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--red); }
.login-head h2 { margin: 8px 0 6px; font-size: 30px; color: var(--navy); }
.login-head p { margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.6; }
form label { display: block; margin: 14px 0 7px; font-size: 13px; font-weight: 700; color: var(--navy); }
input[type="text"], input[type="password"] {
  width: 100%;
  border: 1px solid #d7dee5;
  background: #fbfcfd;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14px;
  outline: none;
  transition: .2s ease;
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,139,69,.09); background: white; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 62px; }
.show-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--green-dark); font-weight: 800; cursor: pointer; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 20px; }
.check { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-weight: 500; }
.text-link { color: var(--green-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
.primary-btn {
  width: 100%; border: none; border-radius: 10px; padding: 14px 18px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white; font-size: 15px; font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 24px rgba(14,139,69,.22);
}
.primary-btn:hover { transform: translateY(-1px); }
.form-message { margin: 12px 0 0; color: var(--muted); font-size: 12px; min-height: 18px; }
.security-note { margin-top: 22px; padding: 14px; display: flex; gap: 12px; border-radius: 12px; background: #f6f9fb; border: 1px solid var(--line); }
.shield { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e8f5ed; color: var(--green-dark); font-weight: 900; flex: 0 0 auto; }
.security-note strong { display: block; color: var(--navy); font-size: 13px; }
.security-note span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 2px; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 5vw; font-size: 12px; color: #7b8793; border-top: 1px solid var(--line); background: rgba(255,255,255,.75); }

@media (max-width: 900px) {
  .topbar { align-items: flex-start; }
  .brand-image { width: 180px; height: 60px; }
  .brand-copy p { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .login-card { max-width: 620px; width: 100%; }
}
@media (max-width: 620px) {
  .topbar { padding: 14px 5vw; }
  .brand-image { width: 140px; height: 48px; }
  .brand-copy .eyebrow { display: none; }
  .brand-copy h1 { font-size: 18px; }
  .status-pill { display: none; }
  .hero-panel h2 { font-size: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .login-card { padding: 26px 20px; border-radius: 16px; }
  .form-row { align-items: flex-start; flex-direction: column; }
}
