/* =========================================================
   ROTICH FOR PRESIDENT — Strategy Backgrounder sub-pages
   Academic / policy-document aesthetic (white background,
   navy body, dark-gold accents). Intentionally distinct
   from the marketing main site (which is dark/black/red).
   ========================================================= */

:root {
  /* Palette */
  --plan-bg:        #fdfaf2;   /* warm cream-white page background */
  --plan-bg-alt:    #faf2dc;   /* deeper cream for callout boxes */
  --plan-paper:     #ffffff;
  --plan-text:      #1a2333;   /* deep navy body */
  --plan-text-mute: #5a6478;   /* secondary copy */
  --plan-gold-dark: #8a6112;   /* heading + accent gold */
  --plan-gold:      #b48a2a;
  --plan-gold-soft: #d4c89c;   /* dividers, rules */
  --plan-line:      #ead9a8;
  --plan-link:      #1a4a8a;

  --plan-radius:    4px;
  --plan-max:       760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--plan-bg);
  color: var(--plan-text);
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Running header ---------- */
.plan-runhead {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: var(--plan-gold-dark);
  padding: 18px 20px;
  border-bottom: 1px solid var(--plan-line);
  background: var(--plan-paper);
  text-transform: uppercase;
}

/* ---------- Page container ---------- */
.plan-wrap {
  max-width: var(--plan-max);
  margin: 0 auto;
  padding: 24px 32px 0;
}

/* ---------- Breadcrumb ---------- */
.plan-breadcrumb {
  font-size: 13px;
  color: var(--plan-text-mute);
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}
.plan-breadcrumb a {
  color: var(--plan-text-mute);
  text-decoration: none;
  transition: color .15s;
}
.plan-breadcrumb a:hover {
  color: var(--plan-gold-dark);
}
.plan-breadcrumb .sep {
  margin: 0 6px;
  color: var(--plan-gold-soft);
}
.plan-breadcrumb .current {
  color: var(--plan-text);
  font-weight: 500;
}

/* ---------- Top back link ---------- */
.plan-backtop {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--plan-text-mute);
  text-decoration: none;
  margin-top: 16px;
}
.plan-backtop:hover { color: var(--plan-gold-dark); }

/* ---------- Title block ---------- */
.plan-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  color: #0c1320;
  letter-spacing: -0.01em;
  margin: 32px 0 6px;
}
.plan-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: var(--plan-gold-dark);
  margin: 0 0 36px;
  line-height: 1.3;
}

/* ---------- Body copy ---------- */
.plan-body p {
  margin: 0 0 18px;
  font-size: 16.5px;
  color: var(--plan-text);
}
.plan-body strong { font-weight: 600; color: #0c1320; }
.plan-body a {
  color: var(--plan-link);
  text-decoration: underline;
  text-decoration-color: rgba(26,74,138,0.35);
}
.plan-body a:hover { text-decoration-color: var(--plan-link); }

/* ---------- Section header (e.g. HOW WE EXECUTE) ---------- */
.plan-section {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plan-gold-dark);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--plan-line);
}

/* ---------- Subsection (smaller header inside a section) ---------- */
.plan-subhead {
  font-size: 17px;
  font-weight: 700;
  color: #0c1320;
  margin: 26px 0 8px;
}

/* ---------- Lists ---------- */
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.plan-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  line-height: 1.65;
  font-size: 16px;
}
.plan-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--plan-gold-dark);
  font-weight: 700;
  font-size: 17px;
}

/* ---------- Inline callout box (THE COMMITMENT, THE MATH style) ---------- */
.plan-callout {
  background: var(--plan-bg-alt);
  border-left: 3px solid var(--plan-gold);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: var(--plan-radius);
}
.plan-callout__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plan-gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
}
.plan-callout__body {
  font-style: italic;
  color: var(--plan-text);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- Year-1 Target box (heavier, gold border on all sides) ---------- */
.plan-target {
  background: var(--plan-bg-alt);
  border: 1px solid var(--plan-gold);
  padding: 22px 26px;
  margin: 32px 0 8px;
  border-radius: var(--plan-radius);
}
.plan-target__label {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--plan-gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.plan-target__body {
  font-size: 17px;
  color: var(--plan-text);
  line-height: 1.55;
}
.plan-target__body strong { color: var(--plan-gold-dark); font-weight: 700; }

/* ---------- Bottom navigation row ---------- */
.plan-foot-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 64px 0 30px;
  padding-top: 24px;
  border-top: 1px solid var(--plan-line);
}
.plan-foot-nav__prev,
.plan-foot-nav__next {
  font-size: 14px;
  font-weight: 600;
  color: var(--plan-gold-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.plan-foot-nav__prev:hover,
.plan-foot-nav__next:hover { color: #0c1320; }
.plan-foot-nav__next { justify-self: end; text-align: right; }
.plan-foot-nav__prev .label,
.plan-foot-nav__next .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plan-text-mute);
  font-weight: 600;
  margin-bottom: 2px;
}
.plan-foot-nav__home {
  background: #0c1320;
  color: var(--plan-bg);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
  justify-self: center;
  white-space: nowrap;
}
.plan-foot-nav__home:hover { background: var(--plan-gold-dark); }

/* ---------- Page footer ---------- */
.plan-runfoot {
  border-top: 1px solid var(--plan-line);
  background: var(--plan-paper);
  margin-top: 60px;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--plan-gold-dark);
  text-transform: uppercase;
}
.plan-runfoot__center { color: var(--plan-text-mute); letter-spacing: 0.16em; }
.plan-runfoot a {
  color: var(--plan-gold-dark);
  text-decoration: none;
}
.plan-runfoot a:hover { color: #0c1320; }

/* ---------- Floating Back-to-Main button (middle-left, pill with label) ---------- */
.plan-fab {
  position: fixed;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: rgba(12, 19, 32, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fdfaf2;
  border: 2px solid var(--plan-gold-dark);
  border-radius: 999px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(12, 19, 32, 0.28), 0 0 0 4px rgba(180, 138, 42, 0.12);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan-fab:hover {
  background: var(--plan-gold-dark);
  border-color: var(--plan-gold-dark);
  transform: translateY(-50%) translateX(3px);
  box-shadow: 0 16px 34px rgba(138, 97, 18, 0.4), 0 0 0 5px rgba(180, 138, 42, 0.18);
}
.plan-fab__icon {
  font-size: 18px;
  line-height: 1;
  transition: transform .25s ease;
}
.plan-fab:hover .plan-fab__icon { transform: translateX(-3px); }
.plan-fab__text { display: inline; }

/* Mobile: collapse to icon-only circle so it doesn't crowd narrow screens */
@media (max-width: 600px) {
  .plan-fab {
    left: 12px;
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }
  .plan-fab__icon { font-size: 20px; }
  .plan-fab__text { display: none; }
}

/* Reduced motion: drop the hover translation but keep vertical centering */
@media (prefers-reduced-motion: reduce) {
  .plan-fab,
  .plan-fab__icon { transition: none; }
  .plan-fab:hover { transform: translateY(-50%); }
  .plan-fab:hover .plan-fab__icon { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .plan-wrap { padding: 20px 22px 0; }
  .plan-title { font-size: 30px; }
  .plan-subtitle { font-size: 18px; margin-bottom: 28px; }
  .plan-section { font-size: 12px; margin-top: 32px; }
  .plan-list li { font-size: 15.5px; }
  .plan-body p { font-size: 16px; }
  .plan-foot-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .plan-foot-nav__next { justify-self: center; text-align: center; }
  .plan-foot-nav__home { width: 100%; text-align: center; }
  .plan-runfoot { padding: 14px 22px; font-size: 10px; gap: 10px; flex-wrap: wrap; }
}
