/* ==========================================================================
   BusinessGeneratorPro — homepage-only visual redesign ("Playful Colorful")
   Loaded AFTER style.css, on index.html only — every other page (and the
   tool's actual behavior/markup) is untouched. Pure visual override.
   ========================================================================== */

:root {
  --ink: #221C15;
  --ink-soft: #5A5344;
  --paper: #FFF7E8;
  --paper-dim: #FFF1D3;
  --line: #EADFC2;
  --line-strong: #D9CBA3;
  --brass: #FF6B5B;        /* coral — primary accent */
  --brass-deep: #E5503F;
  --brass-tint: #FFE4DE;
  --green: #2FA36B;
  --green-tint: #E1F4EA;
  --rust: #B0A998;
  --rust-tint: #F1EDE1;
  --sky: #4C9AFF;
  --yellow: #FFC93C;

  --serif: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 16px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  position: relative;
  overflow-x: hidden;
}

a { color: var(--brass-deep); }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* decorative blob shapes, page background only — no markup changes */
body::before,
body::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 42% 58% 63% 37% / 41% 45% 55% 59%;
  filter: blur(2px);
}
body::before {
  top: -180px;
  right: -220px;
  width: 560px;
  height: 560px;
  background: var(--yellow);
  opacity: 0.55;
}
body::after {
  top: 720px;
  left: -180px;
  width: 420px;
  height: 420px;
  background: var(--sky);
  opacity: 0.35;
}

.site-header, main, footer { position: relative; z-index: 1; }

/* -------------------------------------------------- header -------------------------------------------------- */

.site-header {
  border-bottom: none;
  padding: 28px 0;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}
.wordmark span { color: var(--brass-deep); font-style: italic; }

.site-nav { gap: 10px; }
.site-nav a {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.site-nav a:first-child { background: var(--ink); color: var(--paper); }
.site-nav a:hover:not(:first-child) { background: var(--paper-dim); color: var(--ink); }

/* -------------------------------------------------- hero -------------------------------------------------- */

.entry { padding: 48px 0 8px; text-align: center; }
.entry-label { display: none; }
.entry-pos {
  border: none;
  background: var(--brass);
  color: var(--paper);
  font-weight: 700;
  font-family: var(--sans);
  font-style: normal;
  border-radius: 999px;
  padding: 8px 18px;
  transform: rotate(-2deg);
  display: inline-block;
}
.entry h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.03;
  margin: 24px auto 20px;
}
.entry .lede { margin: 0 auto; text-align: center; }

/* -------------------------------------------------- generator tool -------------------------------------------------- */

.tool {
  background: var(--ink);
  border: none;
  border-radius: 28px;
  padding: 40px;
}
.tool label { color: var(--paper); opacity: 0.75; font-weight: 600; }

input[type="text"], select, textarea {
  border: none;
  border-radius: 12px;
  background: var(--paper);
  padding: 14px 16px;
}
input[type="text"]:focus, select:focus, textarea:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 0;
  border-color: transparent;
}

.chip {
  border: none;
  border-radius: 999px;
  background: rgba(255,247,232,0.12);
  color: var(--paper);
  font-weight: 600;
  padding: 9px 18px;
}
.chip[aria-pressed="true"] {
  background: var(--brass);
  color: var(--ink);
}
.chip:hover { background: rgba(255,247,232,0.22); }
.chip[aria-pressed="true"]:hover { background: var(--brass); }

.btn {
  border: none;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  padding: 15px 30px;
}
.btn:hover { background: #ffd75e; }
.tool-hint { color: var(--paper); opacity: 0.6; }

.boost { border-top: 1px dashed rgba(255,247,232,0.25); }
.boost summary { color: var(--yellow); }
.boost textarea { width: 100%; }

/* -------------------------------------------------- results -------------------------------------------------- */

.results-count { color: var(--ink-soft); font-weight: 600; }

.card-grid {
  gap: 14px;
  background: transparent;
  border: none;
}

.name-card {
  background: var(--paper-dim);
  border-radius: 18px;
  padding: 20px 20px 18px;
  border: 2px solid var(--ink);
}
.card-grid .name-card:nth-child(4n+1) { transform: rotate(-1.2deg); }
.card-grid .name-card:nth-child(4n+2) { transform: rotate(0.8deg); }
.card-grid .name-card:nth-child(4n+3) { transform: rotate(-0.6deg); }
.card-grid .name-card:nth-child(4n+4) { transform: rotate(1deg); }

.name-card .headword { font-family: var(--serif); font-weight: 800; }
.name-card .tags {
  display: inline-block;
  background: var(--sky);
  color: var(--paper);
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
  width: fit-content;
}
.icon-btn {
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  background: var(--paper);
}
.icon-btn:hover { background: var(--yellow); border-color: var(--ink); }

.empty-state { border: 2px dashed var(--line-strong); border-radius: 18px; }

/* -------------------------------------------------- sections / faq -------------------------------------------------- */

.section { border-top: none; }
.faq-item { background: var(--paper-dim); border-radius: 16px; padding: 18px 22px; }

/* -------------------------------------------------- browse grid -------------------------------------------------- */

.browse-grid a {
  border: none;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  color: var(--paper);
  padding: 13px 16px;
}
.browse-grid a:hover { background: var(--ink) !important; color: var(--paper); }
.browse-grid a:nth-child(6n+1) { background: var(--sky); }
.browse-grid a:nth-child(6n+2) { background: var(--brass); }
.browse-grid a:nth-child(6n+3) { background: var(--yellow); color: var(--ink); }
.browse-grid a:nth-child(6n+4) { background: var(--ink); }
.browse-grid a:nth-child(6n+5) { background: var(--sky); }
.browse-grid a:nth-child(6n+0) { background: var(--brass); }

/* -------------------------------------------------- simple content pages (about, etc.) -------------------------------------------------- */

.about-card {
  background: var(--paper-dim);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 36px 40px;
  margin-bottom: 32px;
}
.about-card p { color: var(--ink); }
.about-card p:last-child { margin-bottom: 0; }
.about-card h3 { margin-top: 28px; }
.about-card h3:first-child { margin-top: 0; }

.cta-row { text-align: center; }
.cta-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 15px 32px;
  text-decoration: none;
}
.cta-pill:hover { background: #ffd75e; }

/* -------------------------------------------------- footer -------------------------------------------------- */

footer {
  border-top: none;
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px 32px 0 0;
  margin-top: 24px;
}
footer .wrap { opacity: 1; }
footer a { color: var(--paper); opacity: 0.75; }
footer a:hover { opacity: 1; color: var(--yellow); }

@media (max-width: 640px) {
  body::before, body::after { display: none; }
}
