:root {
  --lpp-navy: #1e2a4a;
  --lpp-gold: #c9a24d;
  --lpp-bg: #f7f6f3;
  --lpp-border: #d8d2c4;
  --lpp-text: #1a1a2e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--lpp-bg);
  color: var(--lpp-text);
  line-height: 1.5;
}

a { color: var(--lpp-navy); }

.shell { max-width: 960px; margin: 0 auto; padding: 1.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.toolkit-hero {
  margin-bottom: 1.25rem;
  background: var(--lpp-navy);
  color: #fff;
}

.toolkit-hero__layout {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.toolkit-hero__cover-link {
  border-radius: 12px;
  display: block;
  overflow: hidden;
}

.toolkit-hero__book-cover {
  display: block;
  height: auto;
  max-height: 320px;
  width: clamp(150px, 20vw, 220px);
}
@media (max-width: 720px) {
  .toolkit-hero__layout {
    grid-template-columns: 1fr;
  }

  .toolkit-hero__cover-link {
    margin: 0 auto;
  }
}

.toolkit-hero__content {
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

.toolkit-hero__lede {
  margin: 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.92);
}

.toolkit-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.toolkit-hero__actions .btn-primary {
  background: var(--lpp-gold);
  color: var(--lpp-navy);
}

.toolkit-hero__actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-list,
.signup-steps {
  padding-left: 1.4rem;
}

.feature-list li,
.signup-steps li {
  margin-bottom: 0.45rem;
}

.section-divider {
  border: 0;
  border-top: 1px solid var(--lpp-border);
  margin: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(300px, 72vw);
}

.brand-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lpp-navy);
  letter-spacing: 0.02em;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card {
  background: #fff;
  border: 1px solid var(--lpp-border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary { background: var(--lpp-navy); color: #fff; }
.btn-secondary { background: transparent; border: 1px solid var(--lpp-border); color: var(--lpp-navy); }

.form { display: grid; gap: 0.75rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--lpp-border);
  font: inherit;
}

.notice { padding: 0.75rem; border-radius: 8px; }
.notice.error { background: #fde8e8; color: #8b1e1e; }
.notice.success { background: #e8f5e9; color: #1b5e20; }

.stat strong { display: block; font-size: 1.5rem; color: var(--lpp-gold); }

.tool-list { list-style: none; padding: 0; margin: 0; }
.tool-list li {
  border-top: 1px solid var(--lpp-border);
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lpp-border);
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.site-footer a { color: #666; }

.positive { color: #1b5e20; }

/* College prep action plan */
#action-plan-card #plan-note { margin-top: 0; }
.plan-group { margin-top: 1rem; }
.plan-group h3 { margin: 0 0 0.35rem; font-size: 0.95rem; color: var(--lpp-navy); }
.plan-list { list-style: none; padding: 0; margin: 0; }
.plan-item {
  border-top: 1px solid var(--lpp-border);
  padding: 0.85rem 0;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.plan-item.is-done .plan-item__main { opacity: 0.55; }
.plan-item.is-done .plan-item__head strong { text-decoration: line-through; }
.plan-item__main { min-width: 0; }
.plan-item__head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.plan-instructions { margin: 0.35rem 0 0.25rem; font-size: 0.95rem; }
.plan-reason { margin: 0 0 0.25rem; font-size: 0.88rem; color: #444; }
.plan-meta { font-size: 0.8rem; color: #666; }
.plan-resource { margin-top: 0.25rem; font-size: 0.85rem; }
.plan-toggle { flex-shrink: 0; white-space: nowrap; }
.pri {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  color: #fff;
}
.pri-urgent { background: #b3261e; }
.pri-high { background: #b26a00; }
.pri-normal { background: var(--lpp-navy); }
.pri-later { background: #6b7280; }
@media (max-width: 560px) {
  .plan-item { flex-direction: column; }
  .plan-toggle { align-self: flex-start; }
}

.lpp-persona-guide {
  margin: 1.5rem 0 0;
}

.persona-appearance {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.persona-avatar {
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--persona-accent, var(--lpp-gold));
  box-shadow: 0 4px 16px rgba(30, 42, 74, 0.15);
}

.persona-avatar--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.persona-avatar--lg { width: 72px; height: 72px; }
.persona-avatar--md { width: 56px; height: 56px; }

.persona-bubble {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.15rem;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  border: 1px solid var(--lpp-border);
}

.persona-bubble__meta strong {
  display: block;
  color: var(--lpp-navy);
}

.persona-bubble__title {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.persona-bubble__text {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}
