:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #667085;
  --line: #d9e2dc;
  --panel: #ffffff;
  --bg: #f3f6f2;
  --soft: #edf5ee;
  --green: #16845f;
  --green-dark: #0d4739;
  --mint: #cfeedd;
  --gold: #be841f;
  --blue: #2467a8;
  --red: #b94747;
  --shadow: 0 18px 42px rgba(25, 42, 53, 0.1);
  --small-shadow: 0 8px 22px rgba(25, 42, 53, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(243, 246, 242, 0.95)),
    radial-gradient(circle at top right, rgba(190, 132, 31, 0.13), transparent 32rem),
    var(--bg);
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 780;
  padding: 0.72rem 1rem;
  box-shadow: 0 10px 22px rgba(22, 132, 95, 0.22);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

button.ghost {
  background: #e8f2ed;
  color: var(--green-dark);
  box-shadow: none;
}

button.danger {
  background: #fff1f1;
  color: var(--red);
  box-shadow: none;
}

button.danger:hover {
  background: #f9dcdc;
  color: #8f2f2f;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.78rem 0.85rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea:focus,
input:focus,
select:focus {
  border-color: rgba(22, 132, 95, 0.7);
  box-shadow: 0 0 0 4px rgba(22, 132, 95, 0.12);
}

textarea {
  resize: vertical;
}

.hidden {
  display: none !important;
}

.marketing-site {
  min-height: 100vh;
}

.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(217, 226, 220, 0.84);
  background: rgba(250, 253, 250, 0.88);
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  backdrop-filter: blur(16px);
}

.marketing-brand {
  color: var(--ink);
  text-decoration: none;
}

.marketing-brand span {
  color: var(--muted);
}

.marketing-links {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.marketing-links a {
  color: #344238;
  font-weight: 720;
  padding: 0.65rem 0.8rem;
  text-decoration: none;
}

.marketing-links a:hover {
  color: var(--green-dark);
}

.marketing-actions,
.hero-cta,
.auth-tabs {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.marketing-main {
  display: grid;
  gap: 1.25rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 3rem) 3rem;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.02fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  min-height: calc(100vh - 7rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 237, 0.92)),
    radial-gradient(circle at 82% 18%, rgba(36, 103, 168, 0.16), transparent 24rem),
    radial-gradient(circle at 8% 78%, rgba(190, 132, 31, 0.14), transparent 22rem);
  padding: clamp(1.2rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.landing-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.6rem, 5.45vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.landing-subcopy {
  max-width: 700px;
  color: #435164;
  font-size: 1.1rem;
  line-height: 1.65;
}

.text-link {
  color: var(--green-dark);
  font-weight: 820;
  text-decoration: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 740px;
  margin-top: 1.25rem;
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.85rem;
  color: var(--muted);
}

.trust-strip strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
}

.hero-media-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: #0f2d25;
  box-shadow: 0 34px 70px rgba(16, 43, 36, 0.26);
}

.hero-media-card img,
.roi-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 21, 0.02), rgba(8, 24, 21, 0.42)),
    linear-gradient(90deg, rgba(8, 24, 21, 0.4), transparent 55%);
  pointer-events: none;
}

.hero-float-card,
.hero-score-card {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(10, 35, 29, 0.82);
  color: #fff;
  padding: 0.95rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.hero-float-card {
  left: 1rem;
  bottom: 1rem;
}

.hero-float-card span,
.hero-float-card small,
.hero-score-card span {
  display: block;
  color: #cde5dc;
  font-size: 0.84rem;
}

.hero-float-card strong {
  display: block;
  margin: 0.18rem 0;
  font-size: 1.45rem;
}

.hero-score-card {
  right: 1rem;
  top: 1rem;
  text-align: center;
}

.hero-score-card strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

.hero-product-shot {
  display: grid;
  gap: 0.8rem;
  border: 1px solid #d6e6dc;
  border-radius: 8px;
  background: #102b24;
  color: #fff;
  padding: 1rem;
  box-shadow: 0 30px 60px rgba(16, 43, 36, 0.24);
}

.preview-toolbar {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  color: #c8ded4;
  font-size: 0.85rem;
}

.preview-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #78d6a6;
}

.preview-toolbar strong {
  margin-left: auto;
}

.preview-search {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #eaf7ef;
  padding: 0.9rem;
}

.preview-lead {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.9rem;
}

.preview-lead.featured {
  background: #eaf7ef;
  color: var(--ink);
}

.preview-lead span {
  display: block;
  margin-top: 0.18rem;
  color: #b8cdc4;
  font-size: 0.9rem;
}

.preview-lead.featured span {
  color: #53645a;
}

.preview-lead b {
  display: grid;
  min-width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
}

.client-band,
.section-block,
.proof-section,
.free-access {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--small-shadow);
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.client-logos span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf8;
  color: #3d4a42;
  font-weight: 800;
  padding: 0.9rem;
  text-align: center;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1rem;
}

.section-heading h2,
.proof-copy h2,
.free-access h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.proof-copy p,
.free-access p {
  color: var(--muted);
  line-height: 1.6;
}

.benefit-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.use-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-grid article,
.use-case-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 1rem;
}

.benefit-grid h3,
.use-case-grid h3 {
  margin: 0.7rem 0 0.4rem;
}

.benefit-grid p,
.use-case-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.benefit-icon {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 900;
}

.section-block.alt {
  background: #f8faf8;
}

.roi-section {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.82fr);
  gap: 1rem;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 43, 36, 0.96), rgba(20, 50, 43, 0.9)),
    #102b24;
  color: #fff;
  padding: clamp(1rem, 2.8vw, 1.6rem);
  box-shadow: var(--shadow);
}

.roi-media {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.roi-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.roi-copy .eyebrow {
  color: #a9edcf;
}

.roi-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.roi-copy p {
  color: #d6e7df;
  line-height: 1.6;
}

.roi-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.roi-stats span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfe4dc;
  padding: 0.85rem;
}

.roi-stats strong {
  display: block;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

.proof-section,
.free-access {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 1rem;
  align-items: center;
}

.proof-list {
  display: grid;
  gap: 0.7rem;
}

.proof-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.9rem;
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list span {
  margin-top: 0.2rem;
  color: var(--muted);
}

.auth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--small-shadow);
}

.auth-tabs {
  margin-bottom: 0.9rem;
}

.auth-tabs button.active {
  background: var(--green-dark);
  color: #fff;
}

.auth-form {
  display: grid;
  gap: 0.8rem;
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
  color: #33443a;
  font-weight: 760;
}

.auth-card small {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
}

.password-rules {
  margin-top: -0.35rem !important;
  line-height: 1.45;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(17, 47, 39, 0.98), rgba(9, 27, 24, 0.98)),
    #11251f;
  color: #fff;
}

.brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #e6f6df, #c2ead7);
  color: var(--green-dark);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.brand strong {
  display: block;
  line-height: 1.1;
}

.brand span,
.sidebar-panel small,
.sidebar-panel span,
.sidebar-foot span {
  display: block;
  color: #b9c8c1;
  font-size: 0.82rem;
}

nav {
  display: grid;
  gap: 0.45rem;
}

nav a {
  border-radius: 8px;
  color: #dce8e2;
  padding: 0.78rem 0.85rem;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

nav a.active,
nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar-panel {
  margin-top: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-panel strong {
  display: block;
  margin: 0.3rem 0;
  font-size: 2.35rem;
}

.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

.sidebar-foot strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

main {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
  padding: 1.25rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  border: 1px solid rgba(217, 226, 220, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(12px);
}

.topbar h1,
.hero-band h2,
.panel h2 {
  margin: 0;
  letter-spacing: 0;
}

.topbar h1 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1;
}

.subhead {
  display: block;
  max-width: 680px;
  margin-top: 0.5rem;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1rem;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  background:
    linear-gradient(135deg, rgba(15, 98, 75, 0.96), rgba(11, 34, 29, 0.98)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='620' viewBox='0 0 1200 620'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.18'%3E%3Cpath d='M24 526 C184 300 268 360 430 158 S782 220 948 70 1122 160 1190 82'/%3E%3Cpath d='M0 382 C222 232 304 260 464 120 S764 90 986 262 1142 182 1200 222'/%3E%3Cpath d='M66 120 C240 220 340 80 520 198 S780 360 1100 250'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.26'%3E%3Ccircle cx='210' cy='318' r='5'/%3E%3Ccircle cx='470' cy='132' r='5'/%3E%3Ccircle cx='820' cy='170' r='5'/%3E%3Ccircle cx='1010' cy='235' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-band .eyebrow {
  color: #b9f2d4;
}

.hero-band h2 {
  max-width: 760px;
  font-size: clamp(1.9rem, 3.5vw, 3.35rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 690px;
  margin: 0.65rem 0 0;
  color: #d9eee6;
  font-size: 0.98rem;
  line-height: 1.45;
}

.search-box {
  display: grid;
  gap: 0.8rem;
  max-width: 760px;
  margin-top: 0.95rem;
}

.search-box textarea {
  min-height: 92px;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.search-controls {
  display: grid;
  grid-template-columns: 180px max-content;
  gap: 0.8rem;
  align-items: end;
}

.search-controls label {
  color: #d7eee4;
  font-size: 0.82rem;
  font-weight: 760;
}

.proof-card {
  display: grid;
  gap: 0.78rem;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.proof-card > span {
  color: #cbe9dd;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-row {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  padding: 0.75rem;
}

.proof-row b,
.proof-row small {
  display: block;
}

.proof-row small {
  color: #d8ece4;
  margin-top: 0.18rem;
}

.proof-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.proof-meter span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d8f5b8, #47d493, #4fa4dd);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stats-grid article,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--small-shadow);
}

.stats-grid article {
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.stats-grid article::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--soft);
}

.stats-grid span,
.muted {
  color: var(--muted);
}

.stats-grid strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 2.05rem;
  line-height: 1;
}

.growth-command {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr) minmax(360px, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.growth-form {
  display: grid;
  gap: 0.75rem;
}

.growth-form textarea {
  min-height: 112px;
  font-size: 1.1rem;
  font-weight: 750;
}

.company-profile-form {
  display: grid;
  gap: 0.7rem;
}

.company-profile-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.company-profile-form textarea {
  min-height: 74px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.growth-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.growth-metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 0.75rem;
}

.growth-metric span,
.growth-metric small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.growth-metric strong {
  display: block;
  margin: 0.22rem 0;
  color: var(--green-dark);
  font-size: 1.55rem;
}

.kpi-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.kpi-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.62rem 0.7rem;
}

.kpi-row span {
  color: var(--muted);
}

.growth-plan-panel {
  margin-bottom: 1rem;
}

.growth-summary {
  max-width: 900px;
}

.growth-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.growth-pillar,
.week-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f8fbf8);
  padding: 0.85rem;
}

.growth-pillar span,
.week-card span {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.growth-pillar strong,
.week-card strong {
  display: block;
  margin-top: 0.3rem;
}

.growth-pillar ul,
.week-card ul {
  display: grid;
  gap: 0.38rem;
  margin: 0.65rem 0;
  padding-left: 1.1rem;
}

.growth-pillar li,
.week-card li {
  color: var(--muted);
}

.growth-pillar small {
  color: var(--green-dark);
  font-weight: 800;
}

.weekly-plan {
  margin-top: 1rem;
}

.panel-head.compact {
  margin-bottom: 0.7rem;
}

.weekly-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.crm-command {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.insight-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 0.85rem;
}

.insight-card span,
.insight-card small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.insight-card strong {
  display: block;
  margin: 0.28rem 0;
  color: var(--green-dark);
  font-size: 1.65rem;
}

.recommendation-list {
  display: grid;
  gap: 0.55rem;
}

.recommendation-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f7fbf8);
  padding: 0.75rem;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.recommendation-item:hover {
  border-color: rgba(22, 132, 95, 0.5);
  box-shadow: var(--small-shadow);
  transform: translateY(-1px);
}

.recommendation-item strong,
.recommendation-item span {
  display: block;
}

.recommendation-item span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.panel {
  min-width: 0;
  padding: 1rem;
}

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

.panel-head input {
  max-width: 270px;
  background: #fbfdfb;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

thead {
  background: #f7faf7;
}

th {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: left;
  text-transform: uppercase;
}

td,
th {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.7rem;
}

tbody tr {
  cursor: pointer;
  transition: background 140ms ease;
}

tbody tr:hover,
tbody tr.selected {
  background: #eff8f2;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.company-cell strong,
.company-cell span,
.contact-cell strong,
.contact-cell span {
  display: block;
}

.company-cell span,
.contact-cell span {
  color: var(--muted);
  font-size: 0.85rem;
}

.score {
  display: inline-grid;
  min-width: 3rem;
  place-items: center;
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--green-dark);
  font-weight: 850;
  padding: 0.3rem 0.55rem;
}

.score.mid {
  background: #fff4da;
  color: #8b5a06;
}

.score.low {
  background: #fbe8e8;
  color: #963030;
}

.stage-select {
  min-width: 145px;
  padding-block: 0.55rem;
}

.detail-panel {
  position: sticky;
  top: 1rem;
}

.empty-state {
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 1rem;
  text-align: center;
}

.detail-stack {
  display: grid;
  gap: 0.8rem;
}

.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
}

.detail-line span {
  color: var(--muted);
}

.detail-line strong {
  text-align: right;
  word-break: break-word;
}

.evidence {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
}

.evidence li::marker {
  color: var(--green);
}

.outreach-builder {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(22, 132, 95, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(22, 132, 95, 0.08), rgba(36, 103, 168, 0.06));
  padding: 0.85rem;
}

.outreach-builder strong,
.outreach-builder small {
  display: block;
}

.outreach-builder small {
  margin-top: 0.25rem;
  color: var(--muted);
}

.outreach-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  gap: 0.55rem;
  align-items: center;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.inline-check input {
  width: auto;
}

.outreach-result {
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.75rem;
}

.outreach-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.outreach-meta span {
  color: var(--green-dark);
  font-weight: 850;
}

.outreach-meta small {
  color: var(--muted);
  text-align: right;
}

.outreach-result pre {
  overflow: auto;
  margin: 0;
  border-radius: 8px;
  background: #f7faf7;
  color: var(--ink);
  font: inherit;
  line-height: 1.48;
  padding: 0.75rem;
  white-space: pre-wrap;
}

.angle-list {
  display: grid;
  gap: 0.35rem;
}

.angle-list strong {
  color: var(--green-dark);
  font-size: 0.86rem;
}

.angle-list p,
.angle-list ul {
  margin: 0;
  color: var(--muted);
}

.note-form {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 0.5rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.kanban-col {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf8;
  padding: 0.8rem;
}

.kanban-col h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.deal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 0.6rem;
  padding: 0.7rem;
  box-shadow: 0 5px 14px rgba(25, 42, 53, 0.05);
}

.deal-card span {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
  margin-top: 0.18rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.csv-upload {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  border: 1px dashed rgba(22, 132, 95, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 132, 95, 0.08), rgba(36, 103, 168, 0.06)),
    #fbfdfb;
  padding: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.csv-upload.dragging,
.csv-upload.has-file {
  border-color: var(--green);
  background:
    linear-gradient(135deg, rgba(22, 132, 95, 0.13), rgba(36, 103, 168, 0.09)),
    #fff;
  box-shadow: 0 0 0 4px rgba(22, 132, 95, 0.1);
}

.csv-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.csv-upload strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green-dark);
  font-size: 1rem;
}

.csv-upload span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.field-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#csvInput {
  min-height: 180px;
  margin-bottom: 0.8rem;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
}

.activity-list {
  display: grid;
  gap: 0.55rem;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 0.75rem;
}

.activity-item small {
  color: var(--muted);
  white-space: nowrap;
}

.ai-coach {
  margin-top: 1rem;
}

.coach-layout {
  display: grid;
  gap: 0.8rem;
}

.coach-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(22, 132, 95, 0.26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(22, 132, 95, 0.08), rgba(36, 103, 168, 0.05));
  padding: 0.8rem;
}

.coach-status strong {
  color: var(--green-dark);
}

.coach-status span {
  color: var(--muted);
  font-size: 0.9rem;
}

.coach-messages {
  display: grid;
  gap: 0.65rem;
  max-height: 310px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 0.85rem;
}

.coach-message {
  max-width: 82%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.72rem 0.8rem;
}

.coach-message.user {
  justify-self: end;
  background: #e8f2ed;
}

.coach-message strong,
.coach-message p {
  display: block;
  margin: 0;
}

.coach-message strong {
  margin-bottom: 0.28rem;
  color: var(--green-dark);
  font-size: 0.82rem;
}

.coach-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
}

.coach-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.account-panel {
  margin-top: 1rem;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.account-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 0.9rem;
}

.account-summary span,
.account-summary small {
  display: block;
  color: var(--muted);
}

.account-summary strong {
  display: block;
  margin: 0.35rem 0;
  color: var(--green-dark);
  word-break: break-word;
}

.account-summary button {
  width: 100%;
  margin-top: 0.8rem;
}

#accountVerificationStatus {
  color: var(--red);
}

#accountVerificationStatus.verified {
  color: var(--green-dark);
}

.account-forms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.account-forms h3 {
  margin: 0;
  color: var(--green-dark);
}

.account-password-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 0.9rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  max-width: min(360px, calc(100vw - 2rem));
  border-radius: 8px;
  background: #111827;
  color: #fff;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .marketing-nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .marketing-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .landing-hero,
  .roi-section,
  .proof-section,
  .free-access,
  .growth-command {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .client-logos,
  .benefit-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .sidebar-foot {
    display: none;
  }

  nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
  }

  .hero-band,
  .crm-command,
  .workspace-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .growth-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekly-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .marketing-nav {
    padding: 0.8rem;
  }

  .marketing-actions,
  .marketing-actions button,
  .hero-cta,
  .hero-cta button,
  .auth-tabs,
  .auth-tabs button {
    width: 100%;
  }

  .marketing-links a {
    white-space: nowrap;
  }

  .marketing-main {
    padding: 0.8rem 0.8rem 2rem;
  }

  .landing-copy h1 {
    font-size: 2.65rem;
  }

  .trust-strip,
  .client-logos,
  .benefit-grid,
  .use-case-grid,
  .insight-grid,
  .growth-dashboard,
  .growth-pillars,
  .weekly-actions,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .coach-form {
    grid-template-columns: 1fr;
  }

  .coach-form button,
  .quick-actions button,
  .outreach-controls button {
    width: 100%;
  }

  .coach-message {
    max-width: 100%;
  }

  .outreach-controls,
  .outreach-meta,
  .account-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .account-forms {
    grid-template-columns: 1fr;
  }

  .coach-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .outreach-meta small {
    text-align: left;
  }

  .hero-product-shot {
    padding: 0.8rem;
  }

  .hero-media-card,
  .roi-media {
    min-height: 310px;
  }

  .csv-upload {
    grid-template-columns: 1fr;
  }

  .csv-upload button {
    width: 100%;
  }

  .hero-float-card {
    right: 1rem;
  }

  .hero-score-card {
    top: 0.75rem;
    right: 0.75rem;
  }

  .roi-stats {
    grid-template-columns: 1fr;
  }

  main {
    padding: 0.8rem;
  }

  .topbar,
  .panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions,
  .top-actions button {
    width: 100%;
  }

  .search-controls,
  .stats-grid,
  .kanban {
    grid-template-columns: 1fr;
  }

  .hero-band h2 {
    font-size: 2.2rem;
  }

  .note-form,
  .activity-item {
    grid-template-columns: 1fr;
  }

  .activity-item {
    display: grid;
  }
}
