html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Marketing design system color tokens */
:root {
  --cps-navy: #08213f;
  --cps-navy-900: #04152a;
  --cps-teal: #18a7a7;
  --cps-teal-700: #0f7f87;
  --cps-gold: #d7ad4b;
  --cps-gold-700: #b08d3a;
  --cps-slate: #5d6b7a;
  --cps-slate-300: #a3adb8;
  --cps-slate-100: #e4e8ec;
  --cps-light: #f6f9fc;
  --cps-white: #ffffff;
}

/* Override Bootstrap focus to match marketing */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(24, 167, 167, .12);
  border-color: var(--cps-teal);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--cps-slate-300);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Primary button — matches marketing .btn-primary */
.button-primary {
  color: var(--cps-white) !important;
  background: var(--cps-teal) !important;
  border: 2px solid var(--cps-teal);
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-primary:hover {
  background: var(--cps-teal-700) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 33, 63, .12);
}

/* Secondary/dark button — aligned with marketing navy */
.button-dark {
  color: var(--cps-white);
  background: var(--cps-navy);
  border: 2px solid var(--cps-navy);
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-dark:hover {
  background: var(--cps-navy-900);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 33, 63, .12);
}

/* Navbar alignment with marketing header */
.navbar {
  border-bottom: 1px solid var(--cps-slate-100) !important;
  box-shadow: none !important;
}

.navbar-brand {
  font-weight: 700;
  color: var(--cps-navy) !important;
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

/* Links */
a {
  color: var(--cps-teal);
  text-decoration: none;
}

a:hover {
  color: var(--cps-teal-700);
}

/* Card styling closer to marketing */
.card {
  border-radius: 18px;
  border: 1px solid var(--cps-slate-100);
}

.card-body {
  padding: 32px;
}

/* Form controls closer to marketing */
.form-control {
  border: 1px solid var(--cps-slate-100);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
}

.form-control:focus {
  border-color: var(--cps-teal);
  box-shadow: 0 0 0 3px rgba(24, 167, 167, .12);
}

/* Footer */
footer {
  border-top: 1px solid var(--cps-slate-100);
  padding-top: 24px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--cps-slate);
}
