/* ClinicalEthicsPrep — brand styles
   Palette (from brand board):
   Paper #F7F5F0 | Ice #E4ECF1 | Mist #8FA6B8 | Slate #2F4B63 | Mudpaint Navy #16283A | Brass #B0894F
*/

:root {
  --paper: #F7F5F0;
  --ice: #E4ECF1;
  --mist: #8FA6B8;
  --slate: #2F4B63;
  --navy: #16283A;
  --brass: #B0894F;
  --line: #E0DCD2;
  --ink: #22303C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

.sans { font-family: 'Segoe UI', Arial, sans-serif; }

/* ---------- Header ---------- */
header.site {
  background: var(--navy);
  color: #fff;
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.brand .word {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.15;
}
.brand .word .l1 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
}
.brand .word .l2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 7px;
  color: var(--brass);
}
nav.main a {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--ice);
  text-decoration: none;
  font-size: 14px;
  margin-left: 26px;
}
nav.main a:hover { color: #fff; }
nav.main a.cta {
  background: var(--brass);
  color: var(--navy);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
}
nav.main a.cta:hover { background: #c49a5e; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 70px 24px 84px;
}
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero .kicker {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--mist);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 20px;
}
.hero h1 .brass { color: var(--brass); }
.hero p.lead {
  font-size: 19px;
  color: var(--ice);
  max-width: 640px;
  margin-bottom: 34px;
}
.btn {
  font-family: 'Segoe UI', Arial, sans-serif;
  display: inline-block;
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn.primary { background: var(--brass); color: var(--navy); }
.btn.primary:hover { background: #c49a5e; }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--mist);
  margin-left: 12px;
}
.btn.ghost:hover { border-color: #fff; }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--slate); }

/* ---------- Sections ---------- */
section.band { padding: 64px 24px; }
section.band.ice { background: var(--ice); }
.band-inner { max-width: 1100px; margin: 0 auto; }
.eyebrow {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--mist);
  text-transform: uppercase;
  margin-bottom: 10px;
}
section.band h2 {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 14px;
}
section.band p.sub { max-width: 700px; color: #4b5763; margin-bottom: 36px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
}
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: #4b5763; }
.card .tag {
  font-family: 'Segoe UI', Arial, sans-serif;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 20px;
  padding: 3px 10px;
  margin-top: 14px;
}

/* Team */
.team-note {
  background: #fff;
  border-left: 4px solid var(--brass);
  border-radius: 0 12px 12px 0;
  padding: 26px 30px;
  max-width: 820px;
}
.team-note p { color: #3d4a56; font-size: 16px; }

/* Pricing */
.price-box {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.price-box h3 { font-size: 24px; margin-bottom: 8px; }
.price-box p { color: var(--ice); max-width: 520px; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy);
  color: var(--mist);
  padding: 46px 24px 34px;
}
.foot-inner { max-width: 1100px; margin: 0 auto; }
.foot-inner .disclaimer {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.7;
  color: #7e93a6;
  border-top: 1px solid #24384d;
  padding-top: 22px;
  margin-top: 22px;
}
.foot-links { font-family: 'Segoe UI', Arial, sans-serif; font-size: 13px; }
.foot-links a { color: var(--ice); text-decoration: none; margin-right: 22px; }
.foot-links a:hover { color: #fff; }
.copyright {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 12px;
  color: #7e93a6;
  margin-top: 16px;
}

/* ---------- Login page ---------- */
.auth-wrap {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 60px 24px;
  flex-wrap: wrap;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  width: 400px;
}
.auth-card h2 { color: var(--navy); font-size: 24px; margin-bottom: 6px; }
.auth-card p.hint { font-size: 14px; color: #6b7885; margin-bottom: 24px; }
.auth-card label {
  font-family: 'Segoe UI', Arial, sans-serif;
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 6px;
}
.auth-card input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cfd6dc;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.auth-card input:focus { outline: 2px solid var(--slate); border-color: var(--slate); }
.auth-card .btn { width: 100%; margin-top: 24px; }
.auth-error {
  font-family: 'Segoe UI', Arial, sans-serif;
  display: none;
  background: #fdecea;
  color: #a33a2e;
  font-size: 13px;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 16px;
}
.plans { width: 400px; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 16px;
  position: relative;
}
.plan.best { border: 2px solid var(--brass); }
.plan .best-tag {
  font-family: 'Segoe UI', Arial, sans-serif;
  position: absolute;
  top: -11px; right: 18px;
  background: var(--brass);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: 20px;
}
.plan h4 { color: var(--navy); font-size: 17px; }
.plan .price { font-size: 26px; color: var(--navy); font-weight: 600; margin: 6px 0; }
.plan .price span { font-size: 14px; color: #6b7885; font-weight: 400; }
.plan ul {
  font-family: 'Segoe UI', Arial, sans-serif;
  list-style: none;
  font-size: 13.5px;
  color: #4b5763;
  margin: 10px 0 16px;
}
.plan ul li { padding: 3px 0 3px 22px; position: relative; }
.plan ul li::before { content: "✓"; color: var(--brass); position: absolute; left: 0; font-weight: 700; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  nav.main a { margin-left: 14px; font-size: 13px; }
}
