/* ============================================================
   GAP2IT — site.css  (light / cream theme)
   Font: Inter via system stack
   Replaces: dark navy theme
   ============================================================ */

:root {
  /* Cream / warm-white palette */
  --bg:        #F9F7F3;          /* page background — warm off-white */
  --bg-alt:    #F0EDE6;          /* slightly deeper cream — alt sections */
  --surface:   #FFFFFF;          /* card / nav background */
  --surface-2: #F4F1EB;          /* inset surface, subtle wells */
  --text:      #111827;          /* primary text — near black */
  --muted:     #6B7280;          /* muted / secondary text */
  --subtle:    #9CA3AF;          /* hints, placeholders */
  --line:      #E5E0D8;          /* hairlines, borders */
  --line-md:   #D4CFC6;          /* medium border for emphasis */

  /* Brand */
  --brand:     #2563EB;          /* blue primary */
  --brand-600: #1D4ED8;          /* darker hover */
  --brand-50:  #EFF6FF;          /* very light blue tint */
  --brand-100: #DBEAFE;          /* light blue fill */

  /* Semantic */
  --ok:        #16a34a;
  --warn:      #d97706;
  --danger:    #dc2626;

  /* Spacing & shape */
  --radius:    14px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  /* Shadows — soft, warm-tinted */
  --shadow:    0 4px 24px rgba(60, 50, 30, .10);
  --shadow-sm: 0 2px 10px rgba(60, 50, 30, .08);
  --shadow-xs: 0 1px 4px  rgba(60, 50, 30, .06);
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
               Helvetica, Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Links ────────────────────────────────────────────────── */
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); text-decoration: underline; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-brand {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
  transition: background .15s, box-shadow .15s;
}
.btn-brand:hover {
  background: var(--brand-600);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: #fff;
}

.btn-ghost {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line-md);
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
  background: var(--surface);
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
  background: var(--brand-50);
}

/* ── Layout helpers ───────────────────────────────────────── */
.section       { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt   { background: var(--bg-alt); }

.container-narrow { max-width: 960px;  margin: 0 auto; padding: 0 24px; }
.container-wide   { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ──────────────────────────────────────────────────── */
.navbar-custom {
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line) !important;
  box-shadow: var(--shadow-xs);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .3px;
  color: var(--text) !important;
}
.navbar .nav-link {
  color: var(--muted) !important;
  font-size: .92rem;
  font-weight: 500;
}
.navbar .nav-link:hover { color: var(--text) !important; }
.nav-cta { margin-left: 10px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 64px;
  background: var(--bg);
}
.hero h1 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--text);
}
.hero h1 .accent { color: var(--brand); }
.hero p.lead { color: var(--muted); font-size: 1.08rem; }

/* Eyebrow pill */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--brand);
  background: var(--brand-100);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 20px;
  width: fit-content;
}
.eyebrow-pill .dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Proof strip ──────────────────────────────────────────── */
.proof-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.proof-strip .proof-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.proof-strip .proof-label {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.3;
}
@media (max-width: 575px) {
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ── Cards & surfaces ─────────────────────────────────────── */
.card-surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.card-surface .card-title { color: var(--text); }
.card-surface .card-text  { color: var(--muted); }

/* Fear / audience cards */
.fear-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, border-color .2s;
}
.fear-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-100);
}
.fear-card .fear-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.fear-card .fear-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.fear-card .fear-a {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Door cards */
.door-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, border-color .2s;
}
.door-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand);
}
.door-card .door-num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.door-card .door-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.door-card .door-body {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ── Founder block ────────────────────────────────────────── */
.founder-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-xs);
}
.founder-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--line-md);
  flex-shrink: 0;
}
.founder-name  { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.founder-role  { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.founder-story { font-size: .92rem; color: var(--muted); line-height: 1.65; }
.brand-line    {
  font-size: .92rem;
  font-weight: 700;
  color: var(--brand);
  font-style: italic;
  margin-top: 12px;
}

/* ── Testimonial cards ────────────────────────────────────── */
.test-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}
.test-outcome {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 12px;
}
.test-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .03em;
}
.test-note {
  font-size: .78rem;
  color: var(--subtle);
  font-style: italic;
  margin-top: 16px;
}

/* ── Method steps ─────────────────────────────────────────── */
.method-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.step-num {
  width: 32px; height: 32px;
  background: var(--brand-100);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}
.step-title { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.step-desc  { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* ── Progress strip (starter pack) ───────────────────────── */
.progress-strip {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0;
  margin-bottom: 32px;
  overflow-x: auto;
}
.progress-strip .ps-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--subtle);
  white-space: nowrap;
}
.progress-strip .ps-step.active { color: var(--brand); }
.progress-strip .ps-step.done   { color: var(--ok); }
.progress-strip .ps-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-md);
  flex-shrink: 0;
}
.progress-strip .ps-step.active .ps-dot { background: var(--brand); }
.progress-strip .ps-step.done   .ps-dot { background: var(--ok); }
.progress-strip .ps-line {
  width: 28px;
  height: 1.5px;
  background: var(--line);
  flex-shrink: 0;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb-soft {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb-soft a { color: var(--muted); }
.breadcrumb-soft a:hover { color: var(--brand); text-decoration: none; }
.breadcrumb-soft .sep { color: var(--subtle); }
.breadcrumb-soft .current { color: var(--text); font-weight: 600; }

/* ── Section labels ───────────────────────────────────────── */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -.01em;
}

/* ── Check list ───────────────────────────────────────────── */
.check-list { list-style: none; padding-left: 0; }
.check-list li {
  margin: 9px 0;
  padding-left: 26px;
  position: relative;
  font-size: .92rem;
  color: var(--muted);
}
.check-list li::before {
  content: "✓";
  color: var(--ok);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ── Role cards (Door 1) ──────────────────────────────────── */
.role-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}
.role-card .role-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.role-card .role-plain {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.role-card .role-fit {
  font-size: .82rem;
  color: var(--brand);
  font-style: italic;
}

/* ── Activity cards (Door 2 / micro-labs) ─────────────────── */
.activity-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.activity-card .ac-icon {
  width: 36px; height: 36px;
  background: var(--brand-100);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: .85rem;
}
.activity-card .ac-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.activity-card .ac-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Footer CTA band ──────────────────────────────────────── */
.footer-cta {
  background: var(--brand-50);
  border-top: 1px solid var(--brand-100);
  padding: 48px 0;
  text-align: center;
}
.footer-cta p {
  color: var(--muted);
  font-size: .95rem;
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.footer a { color: var(--muted); font-size: .88rem; }
.footer a:hover { color: var(--text); }
.footer-copy    { font-size: .82rem; color: var(--subtle); }
.footer-tagline { font-size: .82rem; color: var(--subtle); font-style: italic; }

/* ── Utility ──────────────────────────────────────────────── */
.muted   { color: var(--muted); }
.subtle  { color: var(--subtle); }
.small   { font-size: .88rem; }
.hr-soft { border-color: var(--line); }

/* ── Accessibility ────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px; top: 16px;
  width: auto; height: auto;
  padding: 8px 14px;
  background: var(--text);
  color: var(--bg);
  border: 2px solid var(--text);
  border-radius: 999px;
  z-index: 10000;
  font-size: .9rem;
  font-weight: 600;
}
a:focus-visible,
button:focus-visible,
.btn-brand:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Starter pack overrides ───────────────────────────────── */
body.starter-pack { padding-top: 72px; }

body.starter-pack .sp-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
body.starter-pack .sp-page-header { padding: 28px 0 8px; }

body.starter-pack h1 {
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 12px;
  color: var(--text);
}
body.starter-pack main h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
body.starter-pack .sp-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}
body.starter-pack .sp-hint {
  color: var(--subtle);
  font-size: .88rem;
}
body.starter-pack .sp-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 900px) {
  body.starter-pack .sp-grid { grid-template-columns: 1fr; }
}
body.starter-pack .grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  body.starter-pack .grid { grid-template-columns: 1fr; }
}
body.starter-pack ul.tight > li { margin: .4rem 0; }

body.starter-pack .sp-pill {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(37,99,235,.3);
  border-radius: 999px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: middle;
  background: var(--brand-50);
}
body.starter-pack .sp-toc a {
  color: var(--brand);
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 6px;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
  font-size: .88rem;
}
body.starter-pack .sp-toc a:hover,
body.starter-pack .sp-toc a:focus {
  background: var(--brand-100);
  color: var(--brand-600);
  outline: none;
}
body.starter-pack .sp-toc strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: .88rem;
}
body.starter-pack .kbd {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82em;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
}
body.starter-pack details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 10px 0;
  background: var(--surface);
}
body.starter-pack details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: .92rem;
}
body.starter-pack details p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: .9rem;
}
body.starter-pack code {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-size: .88em;
  color: var(--text);
}
body.starter-pack main .card-surface h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 .5rem;
  color: var(--text);
}
body.starter-pack section:target { scroll-margin-top: 90px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero { padding-top: 80px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 1.25rem; }
  .proof-strip { padding: 16px; gap: 12px; }
}
@media (max-width: 575px) {
  .hero h1 { font-size: 1.75rem; }
  .door-card { padding: 20px; }
  .founder-block { flex-direction: column; }
}
