/* firstcmms.com — styled after the product's login page (LoginPage.css):
   dark hero panel on the left, white content panel on the right. */

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: 'Outfit', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #374151;
  background: #ffffff;
}

.page {
  display: flex;
  min-height: 100vh;
}

/* ── Hero panel (dark, left) ─────────────────────────────── */

.hero {
  flex: 0 0 30%;
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(135deg, #0d1520 0%, #1a3050 50%, #2d5a7b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(75, 156, 211, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-tagline {
  font-family: 'IBM Plex Sans', 'Outfit', sans-serif;
  font-size: 13px;
  color: #7ec8e3;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 28px 0 0;
  position: relative;
  text-align: center;
}

.hero-desc {
  font-size: 14px;
  color: #7a9db8;
  text-align: center;
  max-width: 300px;
  margin: 12px 0 0;
  line-height: 1.7;
  position: relative;
}

.hero-footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: #2d4a60;
}

/* ── Logo (shared) ───────────────────────────────────────── */

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.logo-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.brand-first {
  font-weight: 700;
  font-size: 34px;
  color: #ffffff;
  line-height: 1;
}

.brand-cmms {
  font-weight: 400;
  font-size: 34px;
  color: #7ec8e3;
  line-height: 1;
}

.logo-divider {
  width: 100%;
  height: 1px;
  background: #1f3a55;
  margin: 8px 0 6px;
}

.logo-tagline {
  font-family: 'IBM Plex Sans', 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #7a9db8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* light variant, content panel */
.logo--light .brand-first { font-size: 22px; color: #1a2744; }
.logo--light .brand-cmms  { font-size: 22px; color: #2d7bb5; }
.logo--light .logo-divider { background: #cdd5de; }
.logo--light .logo-tagline { color: #5a6a7a; letter-spacing: 0.8px; }

/* ── Content panel (white, right) ────────────────────────── */

.panel {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* fixed top offset so the logo sits at the same height on every page */
  padding: clamp(72px, 16vh, 180px) 36px 18px;
}

.panel-inner {
  width: 100%;
  max-width: 1040px;
}

.panel-inner > .logo {
  align-items: flex-start;
  width: fit-content;
}

.site-nav {
  margin: 26px 0 14px;
  font-size: 13px;
}

.site-nav a {
  color: #2d7bb5;
  text-decoration: none;
  margin-right: 18px;
}

.site-nav a[aria-current="page"] {
  color: #1a2744;
  font-weight: 600;
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
  margin: 0 0 3px;
}

.subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 8px;
}

h2 {
  font-size: 15px;
  font-weight: 600;
  color: #1a2744;
  margin: 12px 0 4px;
}

p, li {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 5px;
}

ul { padding-left: 20px; margin: 0; }

li { margin-bottom: 2px; }

a { color: #2d7bb5; }

strong { color: #1a2744; font-weight: 600; }

.footer-text {
  margin-top: 12px;
  font-size: 11px;
  color: #9ca3af;
}

/* ── Responsive (mirrors the login page) ─────────────────── */

@media (max-width: 768px) {
  .page { flex-direction: column; }

  .hero {
    position: static;
    height: auto;
    min-height: 220px;
    flex: none;
    justify-content: flex-start;
    padding: 36px 24px 32px;
  }

  .hero-footer { display: none; }

  .panel { padding: 24px 20px; }
}
