/* ================================================================
   BusinessLicense101.com — Design System
   VIBE: Friendly textbook. Like a smart teacher, not a lawyer.
   Colors: Warm amber + fresh green + sky blue. NOT dark/corporate.
   Fonts: Rounded, friendly, large. 4th-grade readable.
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Lora:wght@400;600;700&display=swap');

:root {
  /* Colors — warm, optimistic, NOT corporate */
  --sun:      #F59E0B;   /* amber yellow — primary */
  --sun-dark: #D97706;
  --sun-pale: #FEF3C7;
  --sun-mid:  #FDE68A;
  --leaf:     #10B981;   /* fresh green — secondary */
  --leaf-dark:#059669;
  --leaf-pale:#D1FAE5;
  --sky:      #3B82F6;   /* friendly blue — accent */
  --sky-dark: #2563EB;
  --sky-pale: #DBEAFE;
  --coral:    #F97316;   /* orange — highlights */
  --coral-pale:#FFEDD5;
  --plum:     #8B5CF6;   /* purple — occasional */
  --plum-pale:#EDE9FE;

  /* Neutrals — warm not cold */
  --ink:      #1C1917;   /* almost black, warm */
  --ink-mid:  #44403C;
  --ink-soft: #78716C;
  --cream:    #FFFBF5;   /* warm white background */
  --paper:    #FFF8ED;   /* slightly warmer */
  --sand:     #F5F0E8;
  --border:   #E7E0D5;

  /* Typography — BIG and friendly */
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Lora', serif;

  /* Spacing */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --max-w: 1000px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--sky-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Container ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 700px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--sun);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(245,158,11,0.12);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none !important;
}
.logo-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--sun); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.logo-text { font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; color: var(--ink); line-height: 1.1; }
.logo-text span { color: var(--sun-dark); }
.logo-tagline { font-size: 0.68rem; color: var(--ink-soft); font-family: var(--font-head); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.88rem; color: var(--ink-mid);
  padding: 7px 14px; border-radius: var(--r-sm);
  transition: all 0.15s;
}
.site-nav a:hover { background: var(--sun-pale); color: var(--sun-dark); text-decoration: none; }
.nav-cta {
  background: var(--sun) !important; color: var(--ink) !important;
  border-radius: var(--r-sm) !important; font-weight: 800 !important;
}
.nav-cta:hover { background: var(--sun-dark) !important; color: #fff !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800;
  font-size: 1rem; padding: 14px 28px;
  border-radius: var(--r-lg); border: none;
  cursor: pointer; text-decoration: none !important;
  transition: all 0.18s; line-height: 1;
}
.btn-sun    { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-dark); color: #fff; transform: translateY(-2px); }
.btn-leaf   { background: var(--leaf); color: #fff; }
.btn-leaf:hover { background: var(--leaf-dark); transform: translateY(-2px); }
.btn-sky    { background: var(--sky); color: #fff; }
.btn-sky:hover { background: var(--sky-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--sky-dark);
  border: 2.5px solid var(--sky);
}
.btn-outline:hover { background: var(--sky); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.2); color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.35); }

/* ── Section spacing ── */
.section      { padding: 72px 0; }
.section-sand { padding: 72px 0; background: var(--sand); }
.section-sun  { padding: 72px 0; background: var(--sun-pale); }
.section-leaf { padding: 72px 0; background: var(--leaf-pale); }

/* ── Section headers ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 800;
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--sun-dark);
  background: var(--sun-pale); padding: 4px 12px;
  border-radius: 20px; margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15; color: var(--ink);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.1rem; color: var(--ink-soft);
  max-width: 580px; line-height: 1.7;
}

/* ── Answer boxes — the core UI ── */
.answer-box {
  border-radius: var(--r-xl);
  padding: 28px 32px;
  margin-bottom: 20px;
}
.answer-box-sun  { background: var(--sun-pale); border: 2px solid var(--sun-mid); }
.answer-box-leaf { background: var(--leaf-pale); border: 2px solid #6EE7B7; }
.answer-box-sky  { background: var(--sky-pale); border: 2px solid #93C5FD; }
.answer-box-coral{ background: var(--coral-pale); border: 2px solid #FDBA74; }
.answer-box-plum { background: var(--plum-pale); border: 2px solid #C4B5FD; }

.answer-label {
  font-family: var(--font-head); font-weight: 900;
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.answer-label.sun   { color: var(--sun-dark); }
.answer-label.leaf  { color: var(--leaf-dark); }
.answer-label.sky   { color: var(--sky-dark); }
.answer-label.coral { color: #C2410C; }
.answer-label.plum  { color: #6D28D9; }

.answer-text {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.3rem; line-height: 1.4; color: var(--ink);
}
.answer-sub {
  font-size: 1rem; color: var(--ink-mid);
  margin-top: 8px; line-height: 1.65;
}

/* ── Yes/No big answer ── */
.big-answer {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 900;
  font-size: 2.2rem; padding: 16px 32px;
  border-radius: var(--r-xl);
}
.big-yes { background: var(--leaf-pale); color: var(--leaf-dark); border: 3px solid var(--leaf); }
.big-no  { background: var(--coral-pale); color: #C2410C; border: 3px solid #FB923C; }
.big-maybe { background: var(--sun-pale); color: var(--sun-dark); border: 3px solid var(--sun); }

/* ── Step boxes ── */
.steps-list { display: flex; flex-direction: column; gap: 16px; }
.step-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 24px;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sun); color: var(--ink);
  font-family: var(--font-head); font-weight: 900;
  font-size: 1.1rem; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.step-body h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.05rem; color: var(--ink); margin-bottom: 4px;
}
.step-body p { font-size: 0.95rem; color: var(--ink-mid); margin: 0; line-height: 1.6; }

/* ── Checklist ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 1rem; line-height: 1.6; color: var(--ink-mid);
}
.checklist li::before {
  content: '✓'; font-family: var(--font-head); font-weight: 900;
  font-size: 1rem; color: var(--leaf-dark);
  background: var(--leaf-pale); width: 26px; height: 26px;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 2px;
}

/* ── Warning / Note boxes ── */
.callout {
  border-radius: var(--r-lg); padding: 20px 24px;
  display: flex; gap: 14px; align-items: flex-start;
  margin: 24px 0;
}
.callout-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }
.callout-warn { background: var(--sun-pale); border-left: 4px solid var(--sun); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.callout-good { background: var(--leaf-pale); border-left: 4px solid var(--leaf); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.callout-info { background: var(--sky-pale); border-left: 4px solid var(--sky); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.callout h4 { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; color: var(--ink); }
.callout p  { font-size: 0.92rem; color: var(--ink-mid); margin: 0; line-height: 1.6; }

/* ── Cards grid ── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.card {
  background: #fff; border: 2px solid var(--border);
  border-radius: var(--r-xl); padding: 24px;
  transition: all 0.18s; text-decoration: none !important;
  color: var(--ink); display: block;
}
.card:hover { border-color: var(--sun); box-shadow: 0 6px 24px rgba(245,158,11,0.15); transform: translateY(-3px); color: var(--ink); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.card p  { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.card-tag {
  display: inline-block; font-family: var(--font-head);
  font-weight: 800; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.07em; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 10px;
}
.tag-sun   { background: var(--sun-pale); color: var(--sun-dark); }
.tag-leaf  { background: var(--leaf-pale); color: var(--leaf-dark); }
.tag-sky   { background: var(--sky-pale); color: var(--sky-dark); }
.tag-coral { background: var(--coral-pale); color: #C2410C; }
.tag-plum  { background: var(--plum-pale); color: #6D28D9; }

/* ── State pill links ── */
.state-pill-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 10px; }
.state-pill {
  background: #fff; border: 2px solid var(--border);
  border-radius: var(--r-md); padding: 10px 14px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.88rem; color: var(--ink);
  text-decoration: none !important; transition: all 0.15s;
  display: flex; align-items: center; gap: 8px;
}
.state-pill:hover { border-color: var(--leaf); background: var(--leaf-pale); color: var(--leaf-dark); transform: translateY(-1px); }
.state-abbr-badge {
  font-size: 0.7rem; font-weight: 900; color: var(--leaf-dark);
  background: var(--leaf-pale); padding: 2px 6px;
  border-radius: 5px; flex-shrink: 0;
}

/* ── Prose content ── */
.prose h2 {
  font-family: var(--font-head); font-weight: 900;
  font-size: 1.7rem; color: var(--ink);
  margin: 40px 0 16px; padding-bottom: 8px;
  border-bottom: 3px solid var(--sun-mid);
}
.prose h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.25rem; color: var(--ink); margin: 28px 0 10px;
}
.prose p { margin-bottom: 18px; font-size: 1.05rem; color: var(--ink-mid); line-height: 1.8; }
.prose ul { padding-left: 0; margin-bottom: 18px; }
.prose ul li {
  font-size: 1.05rem; color: var(--ink-mid); line-height: 1.7;
  margin-bottom: 8px; padding-left: 28px; position: relative;
}
.prose ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--sun-dark); font-weight: 900;
}

/* ── Page hero ── */
.page-hero {
  padding: 64px 0 56px; text-align: center;
}
.page-hero h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12; margin-bottom: 18px;
}
.page-hero .subtitle {
  font-size: 1.15rem; color: var(--ink-soft);
  max-width: 600px; margin: 0 auto 28px; line-height: 1.7;
}

/* ── Big number feature ── */
.big-num {
  font-family: var(--font-head); font-weight: 900;
  font-size: 3rem; line-height: 1; color: var(--sun-dark);
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; color: var(--ink-soft);
  padding: 12px 0; display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--sky-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--ink-soft); }

/* ── Footer ── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.8);
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.55); margin-top: 12px; }
.footer-col h4 {
  font-family: var(--font-head); font-weight: 900;
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--sun);
  margin-bottom: 14px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.7);
  font-size: 0.88rem; margin-bottom: 8px;
  text-decoration: none; transition: color 0.15s;
  font-family: var(--font-head); font-weight: 600;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-size: 0.8rem;
  color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ── Disclaimer strip ── */
.disclaimer-strip {
  background: var(--sun-pale); border-top: 3px solid var(--sun);
  padding: 16px 0;
}
.disclaimer-strip p {
  font-family: var(--font-head); font-size: 0.82rem;
  color: #92400E; text-align: center; line-height: 1.6;
  max-width: 760px; margin: 0 auto;
}

/* ── Link list (for guide index) ── */
.guide-link-list { display: flex; flex-direction: column; gap: 10px; }
.guide-link {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 2px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 20px;
  text-decoration: none !important; color: var(--ink);
  transition: all 0.16s; font-family: var(--font-head);
}
.guide-link:hover { border-color: var(--sun); background: var(--sun-pale); color: var(--ink); transform: translateX(4px); }
.guide-link-icon { font-size: 1.4rem; flex-shrink: 0; }
.guide-link-title { font-weight: 800; font-size: 1rem; color: var(--ink); }
.guide-link-sub   { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; font-weight: 600; }
.guide-link-arrow { margin-left: auto; color: var(--sun-dark); font-size: 1.1rem; flex-shrink: 0; }

/* ── FAQ accordion ── */
.faq-item { border: 2px solid var(--border); border-radius: var(--r-lg); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 22px;
  background: #fff; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 800;
  font-size: 1rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; transition: background 0.15s;
}
.faq-q:hover { background: var(--sand); }
.faq-q.open  { background: var(--sun-pale); color: var(--sun-dark); }
.faq-chevron { transition: transform 0.2s; flex-shrink: 0; font-size: 1.1rem; }
.faq-q.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  padding: 0 22px; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  font-size: 1rem; color: var(--ink-mid); line-height: 1.75;
  background: #fff;
}
.faq-a.open { max-height: 500px; padding: 16px 22px 20px; }

/* ── Responsive ── */
@media (max-width: 800px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav    { display: none; }
  .section, .section-sand, .section-sun, .section-leaf { padding: 48px 0; }
}
@media (max-width: 560px) {
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 17px; }
}
