@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Inter:wght@400;500&display=swap');

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

:root {
  --bg:       #FBF8F3;
  --white:    #FFFFFF;
  --border:   #EDE9E2;
  --blue:     #2B5C8A;
  --blue-lt:  #EAF1F8;
  --text:     #1A2B3C;
  --muted:    #6B6860;
  --hint:     #8A8680;
  --radius:   12px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo svg { display: block; }

.nav-name { line-height: 1.2; }
.nav-name p { margin: 0; }
.nav-name .top { font-size: 13px; font-weight: 500; color: var(--text); }
.nav-name .sub { font-size: 10px; color: var(--hint); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  font-weight: 500;
}

/* ── PAGE WRAPPER ── */
.page { max-width: 900px; margin: 0 auto; padding: 52px 32px 80px; }

/* ── EYEBROW ── */
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

/* ── HEADINGS ── */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.lead {
  font-size: 14px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.card-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-lt);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 18px;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s;
}

.card:hover { border-color: var(--blue); }

.card p.label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 5px;
}

.card p.desc {
  font-size: 12px;
  color: var(--hint);
  line-height: 1.55;
}

/* ── SECTION DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.badge-p16  { background: #EEEDFE; color: #3C3489; }
.badge-xvive { background: #E1F5EE; color: #085041; }
.badge-md   { background: #FAEEDA; color: #633806; }

/* ── MIX BARS ── */
.mix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.mix-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.mix-card h3 { font-size: 13px; margin-bottom: 2px; }
.mix-card .sub { font-size: 11px; color: var(--hint); margin-bottom: 10px; }

.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.bar-label {
  font-size: 11px;
  color: var(--muted);
  width: 90px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-track {
  flex: 1;
  height: 6px;
  background: #F0EDE8;
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
}

.bar-pct {
  font-size: 10px;
  color: var(--hint);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

/* ── CHECKLIST ── */
.checklist { list-style: none; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.checklist li:last-child { border-bottom: none; }

.checklist input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.checklist .step-text { line-height: 1.5; }
.checklist .step-note { font-size: 12px; color: var(--hint); margin-top: 2px; }

/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--hint);
  margin-top: auto;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hint);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin: 36px 0 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 0 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .page { padding: 36px 18px 60px; }
  h1 { font-size: 28px; }
}
