:root {
  --ink: #17211f;
  --muted: #64716d;
  --line: #d9ded5;
  --paper: #fffdf7;
  --wash: #f4f1e8;
  --green: #1f6f63;
  --green-dark: #164d46;
  --mint: #dff4ed;
  --gold: #d9902f;
  --rose: #c95549;
  --blue: #326f9f;
  --shadow: 0 18px 48px rgba(23, 33, 31, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.9);
  border-bottom: 1px solid rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(31, 111, 99, 0.18);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.nav-cta {
  padding: 10px 14px;
  color: var(--green-dark);
  background: var(--mint);
  border: 1px solid rgba(31, 111, 99, 0.22);
  border-radius: var(--radius);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(34px, 5vw, 64px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.8rem, 5.9vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

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

h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.workspace-actions,
.trust-row,
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 24px;
}

.button,
.icon-button,
.side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
}

.button {
  padding: 12px 16px;
}

.button svg,
.icon-button svg,
.side-link svg,
.trust-row svg,
.steps svg,
.checklist svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(31, 111, 99, 0.22);
}

.button.secondary {
  color: var(--green-dark);
  background: var(--paper);
  border-color: var(--line);
}

.trust-row {
  margin-top: 20px;
  color: var(--muted);
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(390px, 100%);
  padding: 18px;
  background: #17211f;
  border: 10px solid #27322f;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.phone-head {
  display: flex;
  justify-content: space-between;
  color: #b7c3bf;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.message {
  width: fit-content;
  max-width: 86%;
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 18px;
  font-weight: 700;
}

.message.inbound {
  color: var(--ink);
  background: #ecefeb;
}

.message.outbound {
  margin-left: auto;
  color: white;
  background: var(--green);
}

.ticket-card {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ticket-card.mini {
  margin-top: 18px;
}

.ticket-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pill.urgent {
  color: #79261f;
  background: #ffe3df;
}

.band,
.templates-section,
.pricing-section,
.pilot-plan-section,
.trust-section,
.calculator-section,
.launch-section,
.audit-section {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.band {
  background: var(--paper);
}

.vertical-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 0 clamp(18px, 5vw, 72px) clamp(52px, 7vw, 96px);
}

.vertical-copy p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--muted);
}

.vertical-list {
  display: grid;
  gap: 10px;
}

.vertical-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.vertical-list span {
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.steps,
.template-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article,
.template-card,
.price-card,
.panel,
.metric {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps article,
.template-card,
.price-card {
  padding: 20px;
}

.steps article {
  background: #faf9f3;
}

.steps svg {
  color: var(--green);
  margin-bottom: 18px;
}

.steps p,
.template-card p,
.price-card p,
.form-note,
.muted {
  color: var(--muted);
}

.template-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 12px;
}

.template-card button {
  margin-top: auto;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  min-height: 740px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(52px, 7vw, 96px);
  overflow: hidden;
  background: #f9f7f0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sidebar {
  padding: 18px;
  background: #17211f;
  color: white;
}

.sidebar-brand {
  align-items: flex-start;
  margin-bottom: 24px;
}

.sidebar-brand small {
  display: block;
  color: #aeb8b4;
  font-weight: 650;
}

.side-link {
  width: 100%;
  margin: 5px 0;
  justify-content: flex-start;
  padding: 11px 12px;
  color: #cdd6d2;
  background: transparent;
  border-color: transparent;
}

.side-link:hover,
.side-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.workspace {
  padding: clamp(18px, 3vw, 30px);
  overflow: hidden;
}

.workspace-head,
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.panel-actions select {
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.icon-button {
  width: 44px;
  color: var(--green-dark);
  background: var(--paper);
  border-color: var(--line);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  padding: 18px;
}

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

.metric strong {
  display: block;
  margin: 8px 0 4px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.dashboard-grid,
.simulator-grid,
.settings-grid,
.audit-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 16px;
}

.pilot-banner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  color: var(--ink);
  background: linear-gradient(90deg, #ecf8f3, #fffaf0);
  border: 1px solid rgba(31, 111, 99, 0.2);
  border-radius: var(--radius);
}

.pilot-banner strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.pilot-banner p {
  margin: 4px 0 0;
  color: var(--muted);
}

.panel {
  padding: 18px;
}

.ticket-list {
  display: grid;
  gap: 10px;
}

.ticket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ticket-row strong {
  display: block;
}

.ticket-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.next-action {
  margin: 10px 0 0;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.urgency-reason {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.warning-text {
  color: #9b3b1f !important;
  font-weight: 850;
}

.ticket-actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tiny-button {
  min-height: 34px;
  padding: 7px 9px;
  color: var(--green-dark);
  background: var(--mint);
  border: 1px solid rgba(31, 111, 99, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
}

.tiny-button.neutral {
  color: var(--ink);
  background: #f5f3ed;
  border-color: var(--line);
}

.report-card {
  display: grid;
  gap: 12px;
}

.report-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
}

.report-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.report-line strong {
  color: var(--ink);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(23, 33, 31, 0.32);
}

.ticket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 39;
  width: min(420px, 100%);
  height: 100vh;
  padding: 22px;
  overflow: auto;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 44px rgba(23, 33, 31, 0.18);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-item {
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-item strong {
  display: block;
  margin-top: 4px;
}

.script-box {
  display: grid;
  gap: 12px;
}

.script-box p {
  margin: 0;
  padding: 13px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 760;
}

.outreach-box > div {
  display: grid;
  gap: 8px;
}

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

.objection-box > div {
  display: grid;
  align-content: space-between;
  gap: 8px;
}

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

.close-kit > div {
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.launch-brief {
  min-height: 220px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: 760 0.92rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.handoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.handoff-grid div {
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.handoff-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.handoff-grid strong {
  display: block;
  margin-top: 5px;
  line-height: 1.35;
}

.get-started-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.get-started-hero h3 {
  max-width: 720px;
  margin: 10px 0;
  font-size: 1.55rem;
}

.get-started-hero p {
  max-width: 720px;
}

.customer-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.customer-steps div,
.customer-setup-grid div {
  min-height: 150px;
}

.customer-steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  color: white;
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
}

.customer-steps p {
  margin: 8px 0 0;
  color: var(--muted);
}

.copy-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  padding: 12px 14px;
  color: white;
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 850;
}

.audit-lead-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.audit-lead-card:hover {
  border-color: rgba(31, 111, 99, 0.34);
  box-shadow: 0 8px 20px rgba(23, 33, 31, 0.08);
}

.audit-lead-card p {
  margin: 0;
  color: var(--muted);
}

.prospect-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.priority-pill {
  min-height: 28px;
  padding: 6px 9px;
  color: var(--green-dark);
  background: #eef4ee;
  border: 1px solid rgba(31, 111, 99, 0.18);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.priority-pill.hot {
  color: #6b3e00;
  background: #fff1c8;
  border-color: rgba(196, 143, 47, 0.34);
}

.priority-pill.warm {
  color: var(--green-dark);
  background: #e7f4ef;
}

.priority-pill.nurture {
  color: #53625d;
  background: #eef0ed;
}

.next-action-text {
  padding: 10px 11px;
  color: var(--green-dark) !important;
  background: #f2f8f4;
  border: 1px solid rgba(31, 111, 99, 0.16);
  border-radius: var(--radius);
  font-weight: 850;
}

.prospect-status-select {
  width: fit-content;
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink);
  background: #f5f3ed;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}

.data-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.launch-checklist {
  display: grid;
  gap: 10px;
}

.readiness-meter {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.readiness-track {
  height: 12px;
  overflow: hidden;
  background: #e7ebe4;
  border-radius: 999px;
}

.readiness-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--green));
  border-radius: inherit;
  transition: width 180ms ease;
}

.readiness-meter strong {
  color: var(--green-dark);
}

.owner-proof-panel {
  background: #fbf8ef;
  border-color: rgba(196, 143, 47, 0.28);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.proof-grid div {
  padding: 13px;
  background: white;
  border: 1px solid rgba(196, 143, 47, 0.25);
  border-radius: var(--radius);
}

.proof-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-grid strong {
  display: block;
  margin-top: 5px;
  color: #6b3e00;
  font-size: 1.18rem;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.setup-grid div {
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.setup-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.setup-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--green-dark);
}

.setup-grid p {
  margin: 7px 0 0;
  color: var(--muted);
}

.cadence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cadence-grid div {
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cadence-grid span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 8px;
  color: #6b3e00;
  background: #fff1c8;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.cadence-grid strong {
  display: block;
  color: var(--green-dark);
}

.cadence-grid p {
  margin: 7px 0 0;
  color: var(--muted);
}

.risk-panel {
  border-color: rgba(148, 63, 39, 0.18);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.risk-grid div {
  padding: 13px;
  background: white;
  border: 1px solid rgba(148, 63, 39, 0.16);
  border-radius: var(--radius);
}

.risk-grid span {
  display: block;
  color: #7a3f2b;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.risk-grid strong {
  display: block;
  margin-top: 5px;
  line-height: 1.35;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.domain-grid div {
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.domain-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--green-dark);
  overflow-wrap: anywhere;
}

.domain-grid p {
  margin: 7px 0 0;
  color: var(--muted);
}

.deploy-panel {
  border-color: rgba(31, 111, 99, 0.2);
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.deploy-grid div {
  padding: 13px;
  background: white;
  border: 1px solid rgba(31, 111, 99, 0.16);
  border-radius: var(--radius);
}

.deploy-grid span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
}

.deploy-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
}

.deploy-grid p {
  margin: 7px 0 0;
  color: var(--muted);
}

.launch-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.launch-command-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.launch-command-card div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.launch-command-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.launch-command-card strong {
  color: var(--green-dark);
}

.launch-command-card p {
  margin: 0;
  color: var(--muted);
}

.launch-command-card.focus {
  grid-column: 1 / -1;
  background: #f8f4e8;
  border-color: rgba(196, 143, 47, 0.36);
}

.launch-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.launch-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.launch-check strong {
  display: block;
}

.launch-check span {
  color: var(--muted);
}

.bar-chart {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: 96px 1fr 40px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  background: #e7ebe4;
  border-radius: 999px;
}

.bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: inherit;
}

.toolbar {
  justify-content: space-between;
  margin-bottom: 14px;
}

.search {
  display: flex;
  min-width: min(420px, 100%);
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search svg {
  width: 18px;
  color: var(--muted);
}

.search input,
.toolbar select,
.form-panel input,
.form-panel select,
.audit-form input,
.audit-form select {
  width: 100%;
  min-height: 44px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search input {
  border: 0;
  outline: 0;
}

.toolbar select,
.form-panel input,
.form-panel select,
.audit-form input,
.audit-form select {
  padding: 0 12px;
}

.form-panel {
  display: grid;
  gap: 13px;
}

.form-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.sms-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #17211f;
  border-radius: var(--radius);
}

.template-list {
  display: grid;
  gap: 10px;
}

.template-item {
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.template-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist.compact {
  gap: 9px;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 750;
}

.checklist svg {
  color: var(--green);
}

.pricing-section {
  background: var(--paper);
}

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

.price-card h3 {
  margin: 16px 0 8px;
  font-size: 2.5rem;
}

.price-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: var(--muted);
  font-weight: 720;
}

.price-card .button {
  width: 100%;
  margin-top: 20px;
}

.price-card.featured {
  border-color: rgba(31, 111, 99, 0.38);
  box-shadow: var(--shadow);
}

.pilot-plan-section {
  background: #17211f;
  color: white;
}

.pilot-plan-section .eyebrow {
  color: #8bd9c9;
}

.pilot-plan-section .section-head {
  color: white;
}

.pilot-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pilot-plan article {
  min-height: 210px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.pilot-plan span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 28px;
  color: #17211f;
  background: #8bd9c9;
  border-radius: 999px;
  font-weight: 900;
}

.pilot-plan p {
  color: #c9d4d0;
}

.trust-section {
  background: var(--paper);
}

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

.trust-grid article {
  padding: 20px;
  background: #faf9f3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-grid svg {
  width: 22px;
  height: 22px;
  margin-bottom: 18px;
  color: var(--green);
}

.trust-grid p {
  color: var(--muted);
}

.launch-section {
  background: var(--paper);
}

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

.launch-grid article {
  padding: 20px;
  background: #faf9f3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.launch-grid svg {
  width: 22px;
  height: 22px;
  margin-bottom: 18px;
  color: var(--green);
}

.launch-grid p {
  color: var(--muted);
}

.launch-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.summary-chip {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.summary-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.summary-chip strong {
  display: block;
  margin-top: 5px;
  font-size: 1.6rem;
  line-height: 1;
}

.calculator-section {
  background: var(--wash);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 16px;
}

.calc-controls,
.calc-result {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.calc-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.calc-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.calc-controls input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.calc-result {
  display: grid;
  align-content: center;
  gap: 10px;
}

.calc-result strong {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
}

.calc-result p {
  margin: 0;
  color: var(--muted);
}

.audit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 800;
}

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

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 20px;
}

.legal-page .brand {
  margin-bottom: 48px;
}

.legal-page section {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-page h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.legal-page h2 {
  margin-top: 32px;
  font-size: 1.35rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.summary-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #faf9f3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.summary-page ol {
  padding-left: 22px;
}

.print-button {
  margin-top: 18px;
}

@media print {
  body {
    background: white;
  }

  .legal-page {
    max-width: none;
    padding: 0;
  }

  .legal-page .brand {
    margin-bottom: 24px;
  }

  .legal-page section {
    border: 0;
    padding: 0;
  }

  .print-button,
  .topbar,
  .footer {
    display: none !important;
  }

  .legal-page h1 {
    font-size: 42px;
  }

  .summary-grid div {
    break-inside: avoid;
  }
}

.audit-section p {
  max-width: 68ch;
  color: var(--muted);
}

.audit-form {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-state {
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: white;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@media (max-width: 980px) {
  .hero,
  .audit-section,
  .vertical-section,
  .calculator,
  .app-shell,
  .dashboard-grid,
  .simulator-grid,
  .settings-grid,
  .audit-workspace {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .objection-box {
    grid-template-columns: 1fr;
  }

  .close-kit {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sidebar-brand {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .side-link {
    margin: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
  }

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

  .nav-links {
    display: none;
  }

  .hero-actions,
  .hero-actions .button,
  .audit-form .button {
    width: 100%;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .steps,
  .template-grid,
  .pricing-grid,
  .pilot-plan,
  .trust-grid,
  .launch-grid,
  .launch-summary,
  .calc-controls,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    margin-inline: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .workspace-head {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-head {
    flex-direction: column;
  }

  .panel-actions {
    justify-content: flex-start;
  }

  .panel-actions select,
  .panel-actions .tiny-button {
    width: 100%;
  }

  .prospect-status-select,
  .audit-lead-card .tiny-button {
    width: 100%;
  }

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

  .pilot-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .ticket-row {
    grid-template-columns: 1fr;
  }

  .ticket-actions {
    justify-content: flex-start;
  }

  .bar-row {
    grid-template-columns: 80px 1fr 34px;
  }

  .vertical-list div {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .launch-command-grid {
    grid-template-columns: 1fr;
  }

  .get-started-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-steps {
    grid-template-columns: 1fr;
  }

  .handoff-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .setup-grid {
    grid-template-columns: 1fr;
  }

  .cadence-grid {
    grid-template-columns: 1fr;
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .deploy-grid {
    grid-template-columns: 1fr;
  }
}
