*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #58595B;
  --navy-dark: #3D3D3D;
  --navy-deep: #2D2D2D;
  --accent: #1B3A6B;
  --accent-dark: #152D55;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --muted: #64748b;
  --text: #2D2D2D;
  --border: rgba(88,89,91,0.15);
  --radius-lg: 16px;
}

html, body {
  height: 100%;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--accent);
  color: var(--text);
  line-height: 1.7;
}

body { display: flex; flex-direction: column; min-height: 100vh; }

/* NAV */
.si-nav {
  background: #ffffff;
  height: 110px; display: flex; align-items: center;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.si-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto;
}
.si-logo-wrap { text-decoration: none; }
.knm-logo-img {
  height: 90px;
  width: auto;
  display: block;
}
.si-back {
  color: rgba(0,0,0,0.5); font-size: 14px;
  text-decoration: none; display: flex; align-items: center;
  gap: 6px; transition: color .2s;
}
.si-back:hover { color: var(--navy-deep); }

/* MAIN */
.si-main {
  flex: 1; display: flex; align-items: center;
  justify-content: center; padding: 3rem 1.5rem;
  position: relative; overflow: hidden;
}
.si-main::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 40%, rgba(21,45,85,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.si-wrap { width: 100%; max-width: 440px; position: relative; z-index: 1; }

.si-eyebrow { text-align: center; margin-bottom: 1.75rem; }
.si-eyebrow span {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}

.si-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.si-top {
  background: var(--navy); padding: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.si-card-logo {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.si-top h1 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.si-top p { font-size: 13px; color: rgba(255,255,255,0.5); }

.si-body { padding: 2rem; }

/* TABS */
.si-tabs {
  display: flex; border-radius: 8px;
  background: var(--off-white); padding: 3px; margin-bottom: 1.75rem;
}
.si-tab {
  flex: 1; padding: 9px; font-size: 13px; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  border: none; background: transparent;
  cursor: pointer; border-radius: 6px;
  transition: background .2s, color .2s; color: var(--muted);
}
.si-tab.active {
  background: var(--white); color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.si-tab-content { display: none; }
.si-tab-content.active { display: block; }

/* FIELDS */
.si-field { margin-bottom: 1.1rem; }
.si-field label {
  font-size: 11px; font-weight: 600; color: var(--muted);
  margin-bottom: 6px; display: block;
  letter-spacing: .05em; text-transform: uppercase;
}
.si-input {
  width: 100%; padding: 11px 14px;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  border: 1px solid var(--border); border-radius: 8px;
  outline: none; background: var(--off-white); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.si-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.12);
  background: var(--white);
}

.si-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.si-forgot {
  font-size: 12px; color: var(--accent);
  text-align: right; cursor: pointer;
  display: block; margin-top: -8px; margin-bottom: 1.1rem;
  font-weight: 500; text-decoration: none;
}
.si-forgot:hover { text-decoration: underline; }

.si-btn {
  width: 100%; background: var(--accent); color: var(--white);
  border: none; border-radius: 8px; padding: 13px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s; letter-spacing: .01em;
}
.si-btn:hover { background: var(--accent-dark); }

.si-divider {
  display: flex; align-items: center; gap: 12px; margin: 1.25rem 0;
}
.si-divider-line { flex: 1; height: 1px; background: var(--border); }
.si-divider span { font-size: 12px; color: var(--muted); white-space: nowrap; }

.si-btn-outline {
  width: 100%; background: transparent; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 8px; padding: 12px;
  font-size: 14px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: background .2s;
}
.si-btn-outline:hover { background: rgba(27,58,107,0.05); }

.si-secure {
  text-align: center; font-size: 11px;
  color: var(--muted); margin-top: 1.25rem;
}

.si-alert {
  background: rgba(27,58,107,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: .875rem 1rem;
  margin-bottom: 1.25rem; font-size: 13px;
  color: var(--text); display: flex;
  align-items: flex-start; gap: 10px; line-height: 1.6;
}
.si-alert span { color: var(--accent); flex-shrink: 0; margin-top: 1px; font-size: 16px; }

.si-consent {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: var(--muted); line-height: 1.7; cursor: pointer;
  font-weight: 400;
}
.si-consent input { margin-top: 3px; flex-shrink: 0; }

.si-privacy { font-size: 12px; color: var(--muted); text-align: center; margin-top: .75rem; line-height: 1.6; }

.si-error { display: block; font-size: 12px; color: #dc2626; margin-top: .3rem; }

/* FOOTER */
.si-footer {
  text-align: center; padding: 1.5rem; flex-shrink: 0;
}
.si-footer p { font-size: 12px; color: rgba(255,255,255,0.25); }
.si-footer-links { margin-top: 8px; }
.si-footer-links a {
  color: rgba(255,255,255,0.35); text-decoration: none;
  margin: 0 8px; font-size: 12px; transition: color .2s;
}
.si-footer-links a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 480px) {
  .si-main { padding: 1.5rem 1rem; }
  .si-body { padding: 1.5rem; }
  .si-two-col { grid-template-columns: 1fr; gap: 0; }
  .si-nav { padding: 0 1.25rem; }
}
