:root {
  --orange: #f47a20;
  --orange-dark: #c84f0f;
  --yellow: #ffc845;
  --ink: #20201d;
  --muted: #71695f;
  --cream: #fff8ec;
  --green: #0f9f72;
  --blue: #246bfe;
  --rose: #ef466f;
}

* {
  letter-spacing: 0;
}

body {
  background: #fffaf2;
  color: var(--ink);
  font-family: "Trebuchet MS", "Aptos", sans-serif;
}

.topbar {
  background: var(--orange);
  box-shadow: 0 12px 30px rgba(121, 50, 9, .16);
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar-brand {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: #fff;
  border-radius: 6px;
  color: var(--orange-dark);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.hero-band {
  background:
    linear-gradient(135deg, rgba(244, 122, 32, .92), rgba(255, 200, 69, .88)),
    radial-gradient(circle at 92% 10%, rgba(15, 159, 114, .42), transparent 28%),
    var(--orange);
  color: #fff;
  padding: 54px 0 42px;
}

.hero-band h1 {
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  font-weight: 900;
  line-height: .96;
  max-width: 980px;
}

.hero-copy {
  font-size: 1.1rem;
  max-width: 700px;
}

.section-kicker {
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: .7rem;
  text-transform: uppercase;
}

.impact-strip {
  background: rgba(32, 32, 29, .92);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.impact-strip div {
  background: rgba(255, 255, 255, .07);
  padding: 22px;
}

.impact-strip strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.impact-strip span {
  color: #ffe6c8;
  font-size: .82rem;
  text-transform: uppercase;
}

.workspace {
  padding: 34px 0 56px;
}

.auth-shell {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
}

.auth-copy,
.auth-card,
.panel {
  background: #fff;
  border: 1px solid rgba(32, 32, 29, .1);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(55, 37, 20, .08);
  padding: 24px;
}

.auth-copy {
  background: var(--ink);
  color: #fff;
}

.auth-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: .96;
}

.control-tabs {
  gap: 10px;
}

.control-tabs .nav-link {
  border: 1px solid rgba(32, 32, 29, .12);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
}

.control-tabs .nav-link.active {
  background: var(--ink);
  color: #fff;
}

.panel-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0;
}

.form-control {
  border-color: rgba(32, 32, 29, .16);
  border-radius: 6px;
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 .2rem rgba(244, 122, 32, .18);
}

.btn {
  border-radius: 6px;
  font-weight: 900;
}

.btn-orange,
.btn-dark-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn-dark-orange {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-outline-orange {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.btn-green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.business-card,
.lead-chip,
.pipeline-card {
  background: var(--cream);
  border: 1px solid rgba(244, 122, 32, .22);
  border-radius: 8px;
  padding: 16px;
}

.business-card strong,
.lead-chip strong,
.pipeline-card strong {
  display: block;
  font-weight: 900;
}

.action-panel {
  min-height: 210px;
}

.action-panel p {
  color: var(--muted);
  min-height: 54px;
}

.accent-green {
  border-top: 6px solid var(--green);
}

.accent-blue {
  border-top: 6px solid var(--blue);
}

.output-panel pre {
  background: #191916;
  border-radius: 8px;
  color: #ffe1ba;
  margin: 0;
  max-height: 420px;
  overflow: auto;
  padding: 18px;
  white-space: pre-wrap;
}

.lead-table tbody tr {
  background: #fff;
}

.score-pill {
  background: var(--yellow);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-width: 54px;
  padding: 6px 10px;
}

.kanban {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.kanban-column {
  background: #fff3df;
  border-radius: 8px;
  min-height: 210px;
  padding: 12px;
}

.kanban-column h4 {
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-card {
  background: #fff;
  margin-top: 10px;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(244, 122, 32, 1), rgba(215, 83, 11, 1));
  color: #fff;
  padding: 48px 0 28px;
}

.site-footer h2,
.site-footer h3 {
  font-weight: 900;
}

.footer-top {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer-brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-mark {
  color: var(--orange-dark);
}

.footer-lead {
  font-size: 1.15rem;
  line-height: 1.45;
  margin: 18px 0 0;
  max-width: 760px;
}

.btn-footer {
  background: #fff;
  border-color: #fff;
  color: var(--orange-dark);
  min-width: 150px;
}

.footer-divider {
  background: rgba(255, 255, 255, .35);
  height: 1px;
  margin: 34px 0 28px;
}

.footer-grid h3 {
  font-size: .86rem;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid li,
.footer-bottom {
  color: rgba(255, 255, 255, .88);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-contact span {
  align-items: center;
  display: flex;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .24);
  display: flex;
  font-size: .9rem;
  gap: 16px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .impact-strip {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    display: grid;
  }
}
