/* Shared styles for /add-ons/ pages. Generated pages link this file; edit here, not in the HTML. */
:root {
  --ink: #13212b;
  --muted: #5d6872;
  --paper: #fffaf3;
  --white: #ffffff;
  --teal: #0b5266;
  --teal-2: #0f7180;
  --aqua: #d9f2f2;
  --coral: #df6a4f;
  --gold: #f2bd4d;
  --leaf: #2e8b73;
  --line: #d9e3e5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Aptos, "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

/* Header (same as the rest of 2027.headstarteast.org) */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  background: rgba(11, 82, 102, 0.97); color: var(--white);
  border-bottom: 5px solid var(--coral);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 15px 24px 13px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand img { width: 116px; height: auto; flex: 0 0 auto; }
.brand-kicker { display: block; color: rgba(255,255,255,0.76); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-title { display: block; color: var(--white); font-size: 15px; font-weight: 900; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 800; }
.nav a { text-decoration: none; color: rgba(255,255,255,0.88); }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .button { color: var(--ink); background: var(--gold); padding: 8px 14px; border-radius: 8px; }
.nav .button:hover { background: #e0ae38; }

/* Hero */
.page-hero {
  background-color: var(--teal);
  background-size: cover;
  background-position: center 58%;
  color: var(--white);
  padding-top: 80px;
  border-bottom: 5px solid var(--coral);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; padding: 56px 24px 48px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 900; line-height: 1.08; margin-bottom: 12px; max-width: 820px; text-wrap: balance; }
.title-note { display: inline-block; font-size: 13px; font-weight: 800; color: var(--ink); background: var(--gold); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.page-hero .promise { font-size: 19px; color: rgba(255,255,255,0.9); max-width: 640px; line-height: 1.6; margin-bottom: 18px; }
.quote { margin: 0 0 16px; max-width: 640px; }
.quote p { font-style: italic; font-size: 18px; color: var(--gold); }
.quote cite { display: block; font-style: normal; font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.8); margin-top: 4px; }
.page-hero .audience { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 11px 20px; border-radius: 8px; font-weight: 900; font-size: 15px; text-decoration: none;
  background: var(--gold); color: var(--ink); border: 2px solid var(--gold);
}
.btn:hover { background: #e0ae38; border-color: #e0ae38; }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn.ghost:hover { background: rgba(255,255,255,0.12); }
.section .btn.ghost { color: var(--teal); border-color: var(--teal); }
.section .btn.ghost:hover { background: var(--aqua); }

/* Sections */
.section { padding: 64px 24px; }
.section.alt { background: var(--paper); }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section h2 { font-size: clamp(22px, 3.5vw, 34px); font-weight: 900; color: var(--teal); margin-bottom: 14px; line-height: 1.2; }
.section-intro, .prose p { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 760px; margin-bottom: 14px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px 20px; }
.section.alt .card { background: var(--white); }
.card strong { display: block; font-size: 13px; font-weight: 900; color: var(--teal); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--muted); line-height: 1.65; }
.card .num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--teal); color: var(--white); font-weight: 900; margin-bottom: 10px; }
.who-grid .card { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); }
.who-grid .card::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--coral); }

/* Presenters */
.presenter { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; margin-top: 28px; }
.presenter + .presenter { padding-top: 28px; border-top: 1px solid var(--line); }
.photo-frame { width: 260px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--aqua); border: 4px solid var(--white); box-shadow: 0 6px 24px rgba(11,82,102,0.18); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.placeholder { display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 900; color: var(--teal); }
.presenter h3 { font-size: 24px; font-weight: 900; color: var(--teal); margin-bottom: 4px; }
.presenter .role { font-size: 15px; font-weight: 700; color: var(--teal-2); margin-bottom: 14px; }
.presenter .role span { display: block; }
.presenter p { color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags span { font-size: 14px; font-weight: 700; color: var(--teal); background: var(--aqua); border-radius: 999px; padding: 5px 12px; }
.soon { font-style: italic; }

/* Agenda */
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }
.day { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.day h3 { background: var(--teal); color: var(--white); font-size: 16px; font-weight: 900; padding: 14px 18px; }
.day .sub { font-size: 15px; color: var(--muted); padding: 12px 18px 0; font-weight: 700; }
.day ol { list-style: none; margin: 0; padding: 8px 18px 16px; }
.day li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.day li:last-child { border-bottom: 0; }
.day li.no-time { grid-template-columns: 1fr; }
.day time { font-weight: 900; color: var(--teal-2); white-space: nowrap; }
.agenda-note { margin-top: 16px; font-size: 16px; color: var(--muted); }
.agenda-note a, .day a, .fine a { color: var(--teal-2); font-weight: 700; }

/* Register box */
.register-box { background: var(--teal); color: var(--white); border-radius: 14px; padding: 32px 28px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.price { font-size: 52px; font-weight: 900; line-height: 1; color: var(--gold); }
.price small { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); margin-top: 8px; letter-spacing: 0.04em; }
.register-box p { color: rgba(255,255,255,0.88); margin-bottom: 12px; line-height: 1.6; }
.register-box .btn.ghost { color: var(--white); border-color: rgba(255,255,255,0.55); }
.register-box.pending { grid-template-columns: 1fr; }
.note-box { background: var(--aqua); border-left: 4px solid var(--teal-2); border-radius: 0 8px 8px 0; padding: 16px 20px; margin-top: 20px; color: var(--ink); font-size: 16px; }

/* Overview cards */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.addon-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 2px 10px rgba(11,82,102,0.06); }
.addon-card:hover { box-shadow: 0 8px 26px rgba(11,82,102,0.16); }
.addon-card .top { background: var(--teal); color: var(--white); padding: 18px 20px; }
.addon-card .top .eyebrow { margin-bottom: 6px; }
.addon-card h3 { font-size: 20px; font-weight: 900; line-height: 1.25; }
.addon-card .body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.addon-card .when { font-weight: 800; color: var(--teal); }
.addon-card .who { font-size: 16px; color: var(--muted); }
.addon-card .presenter-line { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.addon-card .presenter-line img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.addon-card .foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper); font-weight: 900; }
.addon-card .foot .amt { color: var(--teal); font-size: 20px; }
.addon-card .foot .go { color: var(--coral); }

/* Footer */
.footer { background: var(--teal); color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer strong { color: var(--gold); }
.footer a { color: rgba(255,255,255,0.75); }

@media (max-width: 920px) { .nav .nav-link { display: none; } }
@media (max-width: 700px) {
  .presenter { grid-template-columns: 1fr; }
  .photo-frame { width: 180px; }
  .register-box { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 12px 16px 10px; }
  .brand img { width: 94px; }
  .brand-title { font-size: 13px; }
  .page-hero-inner { padding: 40px 16px 36px; }
  .section { padding: 48px 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

/* Oct 18 design review (RECOMMENDATIONS.md M1-M5, S1-S5) */
@media (max-width: 920px) { .nav .button { display: inline-flex; } }
.nav .button { min-height: 44px; display: inline-flex; align-items: center; }

/* M1 hero facts panel */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px; overflow: hidden; max-width: 900px; margin: 8px 0 22px; }
.facts > div { background: rgba(8,58,73,.92); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.facts .label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.facts .value { font-size: 16px; font-weight: 800; color: #fff; }
.facts a.value { text-decoration: underline; text-underline-offset: 3px; }
.facts .sub { font-size: 16px; color: rgba(255,255,255,.88); }
.facts .amt { font-size: 26px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.facts .presenter-cell { flex-direction: row; align-items: center; gap: 12px; }
.facts .presenter-cell > div { display: flex; flex-direction: column; gap: 4px; }
.facts .presenter-cell img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.facts .cal-link { display: inline-block; margin-top: 4px; color: var(--gold); font-weight: 800; font-size: 15px; }
.text-link { color: var(--white); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.choose-one { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.88); }
.choose-one strong { color: var(--gold); }
.choose-one a { color: var(--white); font-weight: 800; }

/* S3 who card */
.who-card { max-width: 560px; margin-top: 26px; background: var(--paper); border: 1px solid #efe6d8; border-radius: 12px; padding: 22px 24px; }
.section.alt .who-card { background: var(--white); }
.who-card h3 { font-size: 19px; font-weight: 900; color: var(--teal); margin-bottom: 6px; }
.who-card > p { color: var(--muted); margin-bottom: 8px; }
.who-card ul { list-style: none; margin: 0; padding: 0; }
.who-card li { padding: 4px 0 4px 26px; position: relative; font-weight: 800; }
.who-card li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 900; }
.who-card .conflict { margin-top: 12px; padding-top: 12px; border-top: 1px solid #efe6d8; color: var(--ink); }

/* M3 objectives */
.objectives { border-top: 2px solid var(--teal); margin-top: 20px; }
.objective { display: grid; grid-template-columns: 240px 1fr; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.objective h3 { display: flex; gap: 14px; align-items: center; align-self: start; font-size: 20px; font-weight: 900; color: var(--teal); }
.objective .num { display: inline-flex; flex: 0 0 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--teal); color: var(--white); font-size: 16px; }
.objective p, .objective li { font-size: 17px; line-height: 1.7; color: #3d4a54; }
.objective ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.objective li, .objective strong { color: var(--ink); }

/* Presenter's verbatim learning objectives (numbered list) */
.objective-list { border-top: 2px solid var(--teal); margin: 20px 0 0; padding: 0; list-style: none; counter-reset: obj; }
.objective-list li { counter-increment: obj; display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.7; color: var(--ink); }
.objective-list li::before { content: counter(obj); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--teal); color: var(--white); font-size: 16px; font-weight: 900; }

/* S1 presenter */
.presenter-side { display: flex; flex-direction: column; gap: 16px; }
.pull { margin: 0; border-top: 3px solid var(--coral); padding-top: 12px; }
.pull p { font-size: 18px; font-weight: 800; font-style: italic; color: var(--teal); line-height: 1.45; margin: 0; }
.pull cite { display: block; font-style: normal; color: var(--muted); font-size: 15px; margin-top: 6px; }
.presenter .tags { margin: 0 0 14px; }
.more-bio summary { cursor: pointer; font-weight: 800; color: var(--teal-2); min-height: 44px; display: flex; align-items: center; }
.more-bio p { margin-top: 8px; }

/* S2 + M4 agenda beside register */
.agenda-register { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.agenda-register .days { grid-template-columns: 1fr; }
.register-panel { background: var(--teal); color: var(--white); border-radius: 14px; padding: 26px 26px 22px; margin-top: 56px; }
.register-panel .eyebrow { margin-bottom: 6px; }
.register-panel .price { font-size: 44px; font-weight: 900; color: var(--gold); line-height: 1.1; margin-bottom: 12px; }
.register-panel .price span { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.85); }
.register-panel .big { font-size: 18px; margin-bottom: 14px; }
.checks { list-style: none; margin: 0 0 18px; padding: 0; }
.checks li { position: relative; padding: 4px 0 4px 26px; color: rgba(255,255,255,.92); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.register-panel .btn.ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.register-panel .fine { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,.88); }
.register-panel .fine a { color: var(--gold); font-weight: 800; }

/* S4 section rhythm */
.section.alt { border-top: 1px solid #efe6d8; border-bottom: 1px solid #efe6d8; }

/* M5 text floor */
.card strong { font-size: 14px; }
.price small { font-size: 16px; }

/* M2 sticky register bar (phones) */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: flex; position: fixed; inset: auto 0 0 0; z-index: 20; background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11,82,102,.12);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; gap: 12px; }
  .sticky-cta div { display: flex; flex-direction: column; line-height: 1.25; }
  .sticky-cta strong { font-size: 20px; color: var(--teal); }
  .sticky-cta span { font-size: 15px; color: var(--muted); }
  .sticky-cta .btn { width: auto; min-width: 130px; }
  main.has-sticky ~ .footer { padding-bottom: 72px; }
}
@media (max-width: 860px) {
  .agenda-register { grid-template-columns: 1fr; }
  .register-panel { margin-top: 0; }
}
@media (max-width: 700px) {
  .objective { grid-template-columns: 1fr; }
  .presenter { grid-template-columns: 1fr; }
  .presenter-side { max-width: 260px; }
}

/* Final round (Oct 18): Sunday card note under the price; Puerto Rico locals line */
.addon-card .card-note { margin: 0; padding: 0 20px 14px; background: var(--paper); font-size: 15px; color: var(--muted); }
.locals { margin: 0 0 8px; background: var(--white); border: 2px solid var(--gold); border-radius: 10px; padding: 14px 18px; font-size: 16px; color: var(--ink); }

/* Leadership title: forced break after the colon; each line still wraps on narrow phones */
.page-hero h1.h1-split { max-width: none; }
.page-hero h1 .h1-line { text-wrap: balance; }

/* Presenter logo beside name/title, and the presenter's other sessions (Melvin Gravely, Oct 20) */
.presenter-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.presenter-head .org-logo { width: 96px; height: 96px; flex: none; object-fit: contain; }
.presenter-sessions { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.presenter-sessions h4 { font-size: 16px; font-weight: 900; color: var(--teal); margin-bottom: 8px; }
.presenter-sessions ul { list-style: none; padding: 0; margin: 0; }
.presenter-sessions li { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; }
.presenter-sessions li + li { border-top: 1px solid var(--line); }
.presenter-sessions li span { color: var(--muted); font-size: 15px; }

/* CLASS page (Oct 20 brief): two-price register cards, what-you-get list, FAQ */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.price-card { background: var(--white); border: 2px solid var(--line); border-radius: 14px; padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.price-card h3 { font-size: 20px; font-weight: 900; color: var(--teal); }
.price-card p { color: var(--muted); line-height: 1.6; }
.price-card .btn { align-self: flex-start; }
.section .both { font-weight: 800; color: var(--teal); margin: 18px 0 6px; }
.get-list { margin: 10px 0 24px; padding-left: 22px; color: var(--muted); line-height: 1.75; max-width: 760px; }
.get-list li + li { margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 760px; }
.faq summary { font-weight: 800; color: var(--teal); cursor: pointer; }
.faq details p { color: var(--muted); line-height: 1.7; margin-top: 8px; }
.footer-cta .cta-row { margin: 12px 0 18px; flex-wrap: wrap; }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } }
.price-cards { grid-template-columns: repeat(3, 1fr); }
.price-card .card-price { font-size: 30px; font-weight: 900; color: var(--teal); line-height: 1.2; }
.price-card .card-price span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
@media (max-width: 900px) { .price-cards { grid-template-columns: 1fr; } }
.nowrap { white-space: nowrap; }
