/* Brainstorm 2026 — 90-Day AI Roadmap worksheet.
   Palette sampled directly from the official conference logo. */
:root {
  --navy: #010080;
  --navy-deep: #000059;
  --navy-tint: #eef0fa;
  --orange: #dd4516;
  --orange-deep: #b8360f;
  --orange-tint: #fdeee8;

  --ink: #16181d;
  --ink-soft: #5a6270;
  --ink-faint: #8a92a0;
  --line: #dfe3ea;
  --line-soft: #edf0f5;
  --bg: #f6f7fb;
  --card: #ffffff;

  --radius: 14px;
  --max-w: 680px;
  --font-head: 'League Spartan', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Afacad', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 1px 1px rgba(16,24,40,.03);
  --shadow-md: 0 8px 24px rgba(16,24,40,.08), 0 2px 6px rgba(16,24,40,.04);
  --shadow-lg: 0 18px 44px rgba(16,24,40,.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; min-height: 100%;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

#app { min-height: 100vh; }
@supports (min-height: 100dvh) { #app { min-height: 100dvh; } }

h1, h2, h3, .btn, .field-label, .eyebrow, .round-tag, .phase-name, .brandline {
  font-family: var(--font-head);
}

.screen-outer {
  flex: 1; width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 20px calc(160px + env(safe-area-inset-bottom, 0px));
}

/* ---------- Progress ---------- */
.progress-wrap {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 20px 10px;
}
.progress-inner { max-width: var(--max-w); margin: 0 auto; }
.progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--ink-soft); margin-bottom: 8px;
  font-family: var(--font-head); font-weight: 600;
  letter-spacing: .01em; gap: 12px;
}
.progress-meta .pm-title { color: var(--navy); }
.progress-meta .pm-step { flex: none; }
.step-dots { display: flex; gap: 5px; }
.step-dot {
  height: 4px; flex: 1; border-radius: 99px; background: var(--line);
  transition: background .25s ease;
}
.step-dot.done { background: var(--navy); }
.step-dot.current { background: var(--orange); }

/* ---------- Cover ---------- */
.cover { padding-top: 26px; }
.cover-scroll-pad { height: 4px; }
.cover-logo {
  display: block; width: 100%; max-width: 330px; height: auto;
  margin: 6px 0 26px;
}
.track-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy-tint); color: var(--navy);
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 99px; margin-bottom: 14px;
}
.track-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
}
.cover h1 {
  font-size: 29px; line-height: 1.15; margin: 0 0 14px;
  letter-spacing: -.01em; color: var(--ink); font-weight: 700;
}
.cover-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  color: var(--ink-soft); font-size: 15px; margin-bottom: 22px;
}
.cover-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cover-meta svg { flex: none; opacity: .75; }

.cover-desc {
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 16px 18px;
  color: var(--ink-soft); font-size: 16px; margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.speakers-head {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 12px;
}
.speaker-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px 16px; margin-bottom: 30px;
}
.speaker { display: flex; gap: 11px; align-items: flex-start; min-width: 0; }
.speaker img {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  object-fit: cover; background: var(--line-soft);
  border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
.speaker-text { min-width: 0; }
.speaker-name {
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px;
  color: var(--ink); display: flex; align-items: center; gap: 5px;
  line-height: 1.25;
}
.li-link {
  display: inline-flex; align-items: center; justify-content: center;
  color: #0a66c2; opacity: .85; flex: none;
  transition: opacity .15s ease, transform .15s ease;
}
.li-link:hover { opacity: 1; transform: translateY(-1px); }
.li-link:focus-visible { outline: 2px solid #0a66c2; outline-offset: 2px; border-radius: 3px; }
.speaker-role { font-size: 13px; color: var(--ink-soft); line-height: 1.3; }
.speaker-org { font-size: 13px; color: var(--ink-faint); line-height: 1.3; }

.resume-note {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--orange-tint); border: 1px solid #f6d3c6;
  border-radius: var(--radius); padding: 13px 15px; margin-bottom: 20px;
  font-size: 15px; color: var(--orange-deep);
}
.resume-note strong { font-family: var(--font-head); }


/* ---------- Phases ---------- */
.phase-list { display: grid; gap: 10px; margin: 0 0 8px; }
.phase {
  display: flex; align-items: baseline; gap: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--navy);
}
.phase:last-child { border-left-color: var(--orange); }
.phase-days {
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  color: var(--navy); letter-spacing: .02em; flex: none; min-width: 88px;
}
.phase:last-child .phase-days { color: var(--orange); }
.phase-name { font-weight: 700; font-size: 16px; }
.phase-blurb { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Sections & fields ---------- */
.round-head { padding-top: 22px; margin-bottom: 22px; }
.round-tag {
  display: inline-block; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 11.5px; letter-spacing: .09em;
  text-transform: uppercase; padding: 6px 12px 5px; border-radius: 99px;
  margin-bottom: 12px; line-height: 1;
}
.round-head.board .round-tag { background: var(--orange); }
.round-head h2 {
  font-size: 26px; margin: 0 0 8px; letter-spacing: -.01em;
  line-height: 1.18; font-weight: 700;
}
.round-blurb { color: var(--ink-soft); font-size: 16px; margin: 0; }

.field { margin-bottom: 22px; }
.field-label {
  display: block; font-weight: 700; font-size: 16.5px;
  margin-bottom: 6px; line-height: 1.35; color: var(--ink);
}
.field-helper {
  display: block; font-size: 14px; color: var(--ink-faint); margin-bottom: 8px;
}
.field input[type="text"], .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16.5px;
  color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
}
.field textarea {
  resize: none; overflow: hidden; min-height: 92px; line-height: 1.5;
  display: block;
}
.field input[type="text"]:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(1,0,128,.12);
}
.board-field textarea {
  min-height: 168px; background: var(--navy-tint);
  border-color: #ccd2ee;
}
.board-field textarea:focus { background: #fff; }

/* ---------- Review ---------- */
.review-head { padding-top: 26px; margin-bottom: 20px; }
.review-head h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -.01em; line-height: 1.18; font-weight: 700; }
.review-group {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.review-group-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.review-group-title {
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy);
}
.review-qa { padding: 9px 0; border-top: 1px solid var(--line-soft); }
.review-qa:first-of-type { border-top: none; }
.review-q { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 3px; line-height: 1.35; }
.review-a { font-size: 16px; white-space: pre-wrap; overflow-wrap: break-word; }
.review-a.empty { color: var(--ink-faint); font-style: italic; }

.download-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 22px; margin-top: 20px; box-shadow: var(--shadow-md);
}
.download-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.download-card p { margin: 0 0 16px; color: #c9cdf0; font-size: 15px; }

/* ---------- Buttons & nav ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; border-radius: 11px;
  padding: 13px 20px; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
  min-height: 48px; text-decoration: none; font-family: var(--font-head);
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef0fa; }
.btn-small { font-size: 13.5px; padding: 7px 12px; min-height: 36px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }

.navbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  /* iOS Safari: promote to its own layer so the bar never detaches mid-scroll */
  -webkit-transform: translateZ(0); transform: translateZ(0);
  will-change: transform;
}
.navbar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; gap: 10px; align-items: center;
}
.navbar .btn-primary, .navbar .btn-accent { flex: 1; }
.save-hint {
  text-align: center; font-size: 12.5px; color: var(--ink-faint);
  margin-top: 8px; max-width: var(--max-w); margin-left: auto; margin-right: auto;
}

.footer-note {
  text-align: center; color: var(--ink-faint); font-size: 13px;
  margin-top: 28px; line-height: 1.5;
}
.brandline { font-weight: 700; color: var(--navy); }

@media (max-width: 560px) {
  .cover h1 { font-size: 24px; }
  .round-head h2, .review-head h2 { font-size: 22px; }
  .speaker-grid { grid-template-columns: 1fr; gap: 13px; }
  .phase { flex-direction: column; gap: 3px; }
  .phase-days { min-width: 0; }
}

@media print {
  .navbar, .progress-wrap { display: none; }
}
