:root {
  --ink: #071827;
  --muted: #5b7081;
  --line: #d7e6ed;
  --soft: #f4faf9;
  --panel: #ffffff;
  --accent: #16a596;
  --accent-dark: #0b4a76;
  --lime: #c9ff8f;
  --aqua: #78e3d8;
  --sky: #4698bd;
  --navy: #0b4773;
  --warning: #b45309;
  --shadow: 0 22px 55px rgba(7, 24, 39, 0.12);
  --shadow-strong: 0 30px 80px rgba(7, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(120, 227, 216, 0.18) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(315deg, rgba(201, 255, 143, 0.2) 0%, rgba(255, 255, 255, 0) 32%),
    #eef5f7;
}

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

button {
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  background: var(--accent-dark);
  cursor: pointer;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(11, 74, 118, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

button:hover {
  background: #083b5e;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11, 74, 118, 0.2);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.secondary {
  color: var(--navy);
  background: #f2fbfa;
  border: 1px solid var(--line);
  box-shadow: none;
}

.secondary:hover {
  background: #e7f8f5;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 340px 1fr;
}

.side-panel {
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(120, 227, 216, 0.16), rgba(201, 255, 143, 0.08) 38%, rgba(11, 74, 118, 0) 70%),
    #071827;
  color: #f7fbfc;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #27c2b3;
  color: #061315;
  font-weight: 900;
}

.brand-logo {
  width: 72px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 25px;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  max-width: 760px;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.eyebrow,
.section-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-label {
  color: var(--accent);
}

.brand-tagline {
  margin: 4px 0 0;
  color: #d9eef2;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.muted {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.service-list,
.stack-list {
  padding-top: 18px;
  border-top: 1px solid rgba(120, 227, 216, 0.22);
}

.service-list ul {
  margin: 0;
  padding-left: 18px;
  color: #d9eef2;
  font-size: 12.5px;
  line-height: 1.45;
}

.service-list li {
  margin-bottom: 7px;
  padding-left: 2px;
  overflow-wrap: anywhere;
}

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

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

.stack-grid span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(120, 227, 216, 0.18);
  border-radius: 8px;
  padding: 6px 8px;
  color: #e9fbfb;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
}

.stack-grid img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.rate-note {
  margin: 0;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

main {
  padding: 34px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.auth-panel,
.workspace {
  max-width: 1180px;
  margin: 0 auto;
}

.auth-panel {
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: center;
}

.landing-chat-shell {
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 520px);
}

.landing-copy {
  width: 100%;
  max-width: 680px;
  min-width: 0;
}

.landing-copy h2 {
  width: 100%;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.12;
  max-width: 560px;
  overflow-wrap: anywhere;
}

.landing-copy .muted {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.45;
}

.landing-copy .eyebrow {
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  color: #073a3a;
  background: rgba(201, 255, 143, 0.78);
}

.landing-highlights {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-highlights span {
  border: 1px solid rgba(22, 165, 150, 0.22);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(7, 24, 39, 0.07);
}

.chatbot-preview {
  width: 100%;
  min-height: 520px;
  border: 1px solid rgba(120, 227, 216, 0.42);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 253, 252, 0.98)),
    var(--panel);
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  text-align: left;
}

.chatbot-preview:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(242, 252, 250, 1)),
    var(--panel);
  border-color: var(--accent);
}

.chatbot-preview:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 4px;
}

.preview-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, rgba(120, 227, 216, 0.18), rgba(201, 255, 143, 0.22));
}

.preview-header img {
  width: 58px;
  height: 48px;
  object-fit: contain;
}

.preview-header strong {
  font-size: 23px;
  letter-spacing: 0;
  line-height: 1.15;
}

.preview-header strong,
.preview-header small {
  display: block;
}

.preview-header small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 600;
}

.preview-header small:first-child {
  margin-top: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-messages {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.preview-bubble {
  width: fit-content;
  max-width: 86%;
  padding: 15px 18px;
  border-radius: 8px;
  line-height: 1.45;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(7, 24, 39, 0.08);
}

.preview-bubble.bot {
  background: #effcfa;
  border: 1px solid rgba(22, 165, 150, 0.22);
}

.preview-bubble.user {
  align-self: flex-end;
  color: #fff;
  background: var(--navy);
}

.preview-input {
  margin: 20px 24px 24px;
  border: 1px solid rgba(11, 74, 118, 0.12);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--navy);
  background: #f8fbfc;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.form-grid,
.stacked-form {
  padding: 26px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #123349;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 24, 39, 0.03);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(22, 165, 150, 0.16);
}

.phone-control {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 10px;
}

.phone-control select,
.phone-control input {
  min-width: 0;
}

.phone-prefix {
  min-width: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 10px;
  color: var(--navy);
  background: #eef9f7;
  font-weight: 700;
  text-align: center;
  user-select: none;
}

.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.human-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(22, 165, 150, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: #f7fcfb;
  line-height: 1.35;
}

.human-check input {
  width: auto;
  margin-top: 3px;
  flex: 0 0 auto;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.topbar {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

#user-app .content-grid {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
}

.chat-trust-sidebar {
  display: grid;
  gap: 18px;
}

.chat-strength-card,
.chat-clients-card {
  border: 1px solid rgba(120, 227, 216, 0.2);
  border-radius: 20px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(120, 227, 216, 0.13), rgba(201, 255, 143, 0.12)),
    rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-strong);
}

.chat-strength-card h3,
.chat-clients-card h3 {
  margin: 6px 0 18px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
}

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

.chat-strength-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(120, 227, 216, 0.2);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.84);
}

.chat-strength-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #0b4a76;
  background:
    linear-gradient(135deg, rgba(120, 227, 216, 0.78), rgba(201, 255, 143, 0.72)),
    #effdfa;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.chat-strength-list p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.chat-clients-card p:not(.section-label) {
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

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

.chat-client-logos img {
  width: 100%;
  max-width: 120px;
  height: 60px;
  max-height: 60px;
  object-fit: contain;
  justify-self: center;
  border: 1px solid rgba(120, 227, 216, 0.16);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px -20px rgba(7, 24, 39, 0.36);
}

.chat-panel,
.quote-panel,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-panel {
  min-height: 680px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.chat-log {
  padding: 24px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.message {
  max-width: 82%;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.48;
  white-space: pre-wrap;
  box-shadow: 0 10px 22px rgba(7, 24, 39, 0.07);
}

.message.bot {
  align-self: flex-start;
  background: #effcfa;
  border: 1px solid rgba(22, 165, 150, 0.22);
}

.message.user {
  align-self: flex-end;
  color: #fff;
  background: var(--navy);
}

.message.warning {
  border-color: #f6d58f;
  background: #fff7e6;
}

.quote-builder-message {
  width: min(620px, 100%);
  max-width: 100%;
  white-space: normal;
}

.chat-quote-builder {
  display: grid;
  gap: 12px;
  white-space: normal;
}

.chat-quote-builder fieldset {
  background: rgba(255, 255, 255, 0.55);
}

.chat-quote-builder button {
  width: fit-content;
}

.pdf-ready {
  display: grid;
  gap: 10px;
}

.next-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.next-step-actions button,
.next-step-actions .secondary {
  width: auto;
  box-shadow: none;
}

.quote-action-message {
  display: grid;
  gap: 12px;
}

.journey-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.journey-options button {
  width: auto;
  box-shadow: none;
}

.quote-action-message p {
  margin-bottom: 0;
}

.download-link {
  width: fit-content;
  border-radius: 8px;
  padding: 11px 14px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.download-link:hover {
  background: #083b5e;
}

.chat-input {
  border-top: 1px solid var(--line);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
}

.chat-input > button {
  width: auto;
  min-width: 76px;
  height: 44px;
  padding: 0 18px;
  align-self: end;
}

.chat-fieldset {
  display: grid;
  gap: 10px;
}

.file-drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px dashed rgba(11, 74, 118, 0.28);
  border-radius: 8px;
  background: #f7fcfb;
}

.file-drop input {
  max-width: 240px;
  padding: 0;
  border: 0;
  background: transparent;
}

.quote-panel {
  padding: 22px;
  display: grid;
  gap: 15px;
  align-content: start;
}

fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 10px;
  background: #fbfefd;
}

legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 900;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
}

fieldset input {
  width: auto;
}

.skill-checklist {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
  padding: 14px 16px 16px;
  white-space: normal;
}

.skill-checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  margin: 0;
  padding: 2px 0;
  line-height: 1.05;
  font-size: 14px;
}

.skill-checklist input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
}

.quote-output {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}

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

.quote-output-actions button {
  width: 100%;
  box-shadow: none;
}

.activation-help {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(22, 165, 150, 0.24);
  border-radius: 8px;
  background: #effcfa;
  color: #26444b;
}

.activation-code {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.activation-code:hover,
.activation-code:focus-visible {
  color: #ffffff;
}

.activation-help a {
  color: var(--accent-dark);
  font-weight: 900;
}

.activation-help.hidden {
  display: none;
}

.estimate-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  color: #062c30;
  background: linear-gradient(90deg, rgba(120, 227, 216, 0.34), rgba(201, 255, 143, 0.44));
  font-weight: 900;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 20px;
}

.backend-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.backend-status span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #b45309;
}

.backend-status.connected span {
  background: var(--accent);
}

.backend-status p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.metric-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.metric-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.metric-strip span {
  display: block;
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
}

.metric-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 750;
}

.admin-card {
  padding: 22px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-align: right;
}

.section-heading-actions button {
  width: auto;
  white-space: nowrap;
  box-shadow: none;
}

.pipeline-card,
.report-card {
  grid-column: 1 / -1;
}

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

.pipeline-column {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fcfb;
}

.pipeline-column > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--navy);
}

.pipeline-column > div span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ddfff5;
  font-weight: 900;
}

.pipeline-column p,
.followup-item,
.activity-item {
  margin: 0;
  padding: 11px;
  border: 1px solid rgba(22, 165, 150, 0.16);
  border-radius: 8px;
  background: #fff;
}

.pipeline-column small,
.followup-item small,
.activity-item small,
td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.followup-list,
.activity-feed {
  display: grid;
  gap: 10px;
}

.followup-item p,
.activity-item p {
  margin: 4px 0 0;
  color: #314a56;
}

.activity-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.activity-item > span {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.knowledge-card,
.activity-card,
.crm-actions-card {
  align-self: start;
}

.knowledge-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.knowledge-item {
  padding: 14px;
  border-radius: 8px;
  background: #f4fbfa;
  color: #34495a;
  overflow-wrap: anywhere;
  border: 1px solid rgba(22, 165, 150, 0.14);
}

.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  font-size: 13px;
  background: #f1fbf8;
}

dialog {
  max-width: 560px;
  width: calc(100% - 56px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow-strong);
}

dialog::backdrop {
  background: rgba(7, 24, 39, 0.58);
}

#inquiry-form,
#schedule-form {
  padding: 30px;
  display: grid;
  gap: 16px;
}

#schedule-form h3,
#schedule-form .muted,
#inquiry-form h3,
#inquiry-form .muted {
  margin-bottom: 2px;
}

#schedule-form label,
#inquiry-form label {
  display: grid;
  gap: 8px;
}

.registration-dialog .form-grid {
  padding: 28px;
  box-shadow: none;
}

.registration-form {
  min-width: min(420px, 100%);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  color: #073a3a;
  background: rgba(201, 255, 143, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.status-pill.new {
  color: #744210;
  background: #fff3cd;
}

.status-pill.active {
  color: #075985;
  background: #dff6ff;
}

.status-pill.quoted {
  color: #053d35;
  background: #d9fff1;
}

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

  .side-panel {
    position: static;
  }

  .auth-panel,
  .content-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .landing-copy {
    grid-column: auto;
  }

  .chatbot-preview {
    min-height: 430px;
  }

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

  .pipeline-board {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell,
  .auth-panel,
  .landing-copy {
    max-width: 100vw;
    min-width: 0;
  }

  main,
  .side-panel {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    padding: 18px;
  }

  .landing-chat-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  h2 {
    font-size: 32px;
    line-height: 1.05;
  }

  .landing-copy h2 {
    font-size: clamp(22px, 6.1vw, 26px);
    line-height: 1.12;
    max-width: min(100%, 340px);
  }

  .landing-copy .muted {
    max-width: 340px;
    font-size: 15px;
    line-height: 1.45;
  }

  .muted {
    font-size: 16px;
  }

  .topbar,
  .chat-input {
    grid-template-columns: 1fr;
    display: grid;
  }

  .phone-control {
    grid-template-columns: 1fr;
  }

  .service-list ul {
    width: 100%;
    max-width: 320px;
    font-size: 12px;
    line-height: 1.42;
  }

  .stack-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .rate-note {
    max-width: 320px;
  }

  .phone-prefix {
    width: fit-content;
  }

  .topbar-actions,
  .dialog-actions {
    justify-content: stretch;
  }

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

  .message {
    max-width: 100%;
  }

  .chatbot-preview {
    min-height: 380px;
  }

  .preview-header,
  .preview-messages {
    padding: 14px;
  }

  .preview-input {
    margin: 14px;
  }

  .preview-bubble {
    max-width: 100%;
  }
}

/* Infihelp logo-aligned visual theme */
:root {
  --ink: #071827;
  --muted: #666666;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --panel: #ffffff;
  --accent: #16a596;
  --accent-dark: #0b4a76;
  --lime: #c9ff8f;
  --aqua: #78e3d8;
  --sky: #4698bd;
  --navy: #0b4a76;
  --warning: #c9ff8f;
  --success: #16a596;
  --purple-soft: #effdfa;
  --amber-soft: #f8ffe9;
  --rose-soft: #f1fbff;
  --shadow: 0 0 0 1px hsl(222 47% 11% / 0.04), 0 1px 2px hsl(222 47% 11% / 0.05), 0 12px 32px -14px hsl(222 47% 11% / 0.18);
  --shadow-strong: 0 0 0 1px hsl(222 47% 11% / 0.06), 0 2px 6px hsl(222 47% 11% / 0.07), 0 22px 40px -18px hsl(222 47% 11% / 0.24);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(120, 227, 216, 0.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(201, 255, 143, 0.1), transparent 26%),
    #ffffff;
  overflow-x: hidden;
}

h1,
h2,
h3,
.topbar h2,
.preview-header strong,
legend,
.section-label {
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  font-weight: 700;
}

button,
.download-link {
  border-radius: 12px;
  background: var(--accent-dark);
  box-shadow: var(--shadow);
  font-weight: 700;
}

button:hover,
.download-link:hover {
  background: #083b5e;
  box-shadow: var(--shadow-strong);
}

button:focus-visible,
.download-link:focus-visible,
.chatbot-preview:focus-visible {
  outline: 3px solid rgba(120, 227, 216, 0.28);
  outline-offset: 3px;
}

button:disabled {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #dbe4ef;
  opacity: 1;
  box-shadow: none;
}

.secondary,
.topbar-actions button,
.dialog-actions .secondary,
.quote-output-actions .secondary {
  color: #0b4a76;
  background: #ffffff;
  border: 1px solid rgba(120, 227, 216, 0.18);
  box-shadow: none;
}

.secondary:hover,
.topbar-actions button:hover,
.dialog-actions .secondary:hover,
.quote-output-actions .secondary:hover {
  color: #083b5e;
  background: var(--purple-soft);
}

.app-shell {
  background: transparent;
}

.side-panel {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(120, 227, 216, 0.12), rgba(201, 255, 143, 0.14)),
    #ffffff;
  border-right: 1px solid var(--line);
  box-shadow: inset -1px 0 0 rgba(120, 227, 216, 0.04);
}

.brand-block {
  padding: 14px;
  border: 1px solid rgba(120, 227, 216, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.brand-logo {
  width: 70px;
  height: 56px;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

.eyebrow,
.section-label,
.preview-header small:first-child {
  color: #16a596;
  letter-spacing: 0;
}

.brand-tagline,
.service-list ul,
.stack-grid span,
.rate-note {
  color: var(--muted);
}

.service-list,
.stack-list {
  border-top: 1px solid rgba(120, 227, 216, 0.12);
}

.service-list ul {
  font-size: 13px;
}

.stack-grid span {
  border-color: rgba(120, 227, 216, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.rate-note {
  padding: 12px;
  border-radius: 16px;
  color: #0b4a76;
  background: var(--amber-soft);
  border: 1px solid rgba(201, 255, 143, 0.2);
}

main {
  background: transparent;
}

.auth-panel,
.workspace {
  max-width: 1220px;
}

.landing-copy .eyebrow {
  color: #0b4a76;
  background: var(--purple-soft);
  border: 1px solid rgba(120, 227, 216, 0.12);
}

.landing-copy h2 {
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(26px, 2.45vw, 38px);
  line-height: 1.1;
}

.landing-copy .muted {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.landing-highlights span {
  border-color: rgba(120, 227, 216, 0.16);
  color: #0b4a76;
  background: #ffffff;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.chatbot-preview,
.chat-panel,
.quote-panel,
.admin-card,
.backend-status,
.metric-strip div,
.form-grid,
.stacked-form,
dialog {
  border-color: var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-strong);
}

.chatbot-preview {
  min-height: 540px;
}

.chatbot-preview:hover {
  border-color: rgba(120, 227, 216, 0.38);
  background: #ffffff;
}

.preview-header {
  border-bottom-color: var(--line);
  background:
    linear-gradient(110deg, rgba(120, 227, 216, 0.13), rgba(201, 255, 143, 0.16));
}

.preview-header strong {
  font-size: 25px;
}

.preview-header small {
  color: var(--muted);
  font-weight: 600;
}

.preview-bubble,
.message {
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-weight: 500;
}

.preview-bubble.bot,
.message.bot,
.activation-help {
  color: var(--ink);
  background: var(--purple-soft);
  border: 1px solid rgba(120, 227, 216, 0.14);
}

.preview-bubble.user,
.message.user {
  color: #ffffff;
  background: var(--accent-dark);
}

.preview-input,
.file-drop,
fieldset,
.human-check,
.knowledge-item,
.pipeline-column {
  border-radius: 16px;
  background: #ffffff;
  border-color: var(--line);
}

.preview-input {
  color: #0b4a76;
  font-weight: 700;
}

label {
  color: var(--ink);
  font-weight: 650;
}

input,
textarea,
select {
  border-color: var(--line);
  border-radius: 14px;
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(120, 227, 216, 0.55);
  outline: 3px solid rgba(120, 227, 216, 0.14);
}

.phone-prefix {
  border-color: rgba(120, 227, 216, 0.16);
  border-radius: 14px;
  color: #083b5e;
  background: var(--purple-soft);
}

.human-check {
  background: var(--soft);
}

.topbar {
  padding: 6px 0 10px;
}

.topbar h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.chat-log {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.8), rgba(255, 255, 255, 0));
}

.chat-input {
  background: #ffffff;
}

.chat-input > button {
  min-width: 74px;
  height: 44px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.estimate-total {
  border: 1px solid rgba(201, 255, 143, 0.24);
  border-radius: 16px;
  color: #0b4a76;
  background: linear-gradient(90deg, #f8ffe9, #effdfa);
}

.metric-strip div {
  border-radius: 18px;
}

.metric-strip span {
  color: #0b4a76;
}

.section-heading {
  align-items: center;
}

.pipeline-column {
  background: var(--soft);
}

.pipeline-column > div,
th {
  color: var(--ink);
}

.pipeline-column > div span {
  background: var(--purple-soft);
  color: #0b4a76;
}

.pipeline-column p,
.followup-item,
.activity-item {
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.activity-item > span,
.backend-status.connected span {
  background: var(--success);
}

th {
  background: var(--purple-soft);
}

td {
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(3px);
}

#inquiry-form,
#schedule-form {
  padding: 30px;
}

.status-pill {
  color: #083b5e;
  background: var(--purple-soft);
  font-weight: 700;
}

.status-pill.new {
  color: #0b4a76;
  background: var(--amber-soft);
}

.status-pill.active {
  color: #075985;
  background: #e0f2fe;
}

.status-pill.quoted {
  color: #0b4a76;
  background: #effdfa;
}

.thanks-dialog {
  max-width: 560px;
}

.thanks-panel {
  padding: clamp(28px, 4vw, 42px);
  display: grid;
  gap: 18px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(120, 227, 216, 0.12), rgba(201, 255, 143, 0.14)),
    #ffffff;
}

.thanks-panel h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
}

.thanks-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.thanks-panel button {
  width: fit-content;
  justify-self: center;
  min-width: 130px;
}

.session-close-message small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.activation-code {
  color: #ffffff;
  background: var(--accent-dark);
}

.activation-help a {
  color: #0b4a76;
}

.journey-options button,
.next-step-actions button,
.quote-output-actions button {
  border-radius: 12px;
}

@media (max-width: 980px) {
  .side-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chatbot-preview {
    min-height: 460px;
  }
}

@media (max-width: 620px) {
  main,
  .side-panel {
    padding: 18px;
  }

  .landing-copy h2 {
    font-size: clamp(26px, 8vw, 34px);
    max-width: 100%;
  }

  .landing-copy .muted {
    max-width: 100%;
    font-size: 15px;
  }

  .brand-block {
    align-items: flex-start;
  }

  .chatbot-preview,
  .chat-panel,
  .quote-panel,
  .admin-card,
  dialog {
    border-radius: 16px;
  }

  .preview-header strong {
    font-size: 21px;
  }
}

/* Modern webpage layout */
.app-shell {
  display: block;
  min-height: 100vh;
}

.side-panel {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: auto;
  padding: 16px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.84);
  border-right: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 16px 40px -34px rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(18px);
}

.side-panel .brand-block {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.side-panel .brand-logo {
  width: 58px;
  height: 46px;
}

.side-panel h1 {
  font-size: 21px;
}

.side-panel .eyebrow,
.side-panel .brand-tagline {
  margin-bottom: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0b4a76;
  font-family: Pacifico, "Brush Script MT", cursive;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.site-nav span {
  border-radius: 999px;
  padding: 6px 14px;
  background: linear-gradient(90deg, #78e3d8 0%, #0b4a76 48%, #c9ff8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(120, 227, 216, 0.12);
  border-radius: 24px;
  padding: 22px 24px;
  color: var(--ink);
  background:
    linear-gradient(110deg, rgba(120, 227, 216, 0.14), rgba(201, 255, 143, 0.18)),
    #ffffff;
  box-shadow: var(--shadow);
}

.strength-section {
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(120, 227, 216, 0.2);
  border-radius: 28px;
  padding: clamp(30px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(120, 227, 216, 0.13), rgba(201, 255, 143, 0.12)),
    #ffffff;
  box-shadow: var(--shadow-strong);
}

.app-mode .strength-section,
.app-mode .clients-section {
  display: none;
}

.strength-heading h2 {
  max-width: 470px;
  margin: 0;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.05;
}

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

.strength-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(120, 227, 216, 0.24);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px -24px rgba(7, 24, 39, 0.36);
}

.strength-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #0b4a76;
  background:
    linear-gradient(135deg, rgba(120, 227, 216, 0.76), rgba(201, 255, 143, 0.66)),
    #effdfa;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.strength-grid p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 750;
  line-height: 1.38;
}

.clients-section {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  border: 1px solid rgba(120, 227, 216, 0.2);
  border-radius: 28px;
  padding: clamp(30px, 4vw, 52px);
  background:
    radial-gradient(circle at 16% 12%, rgba(120, 227, 216, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 253, 250, 0.86)),
    #ffffff;
  box-shadow: var(--shadow-strong);
}

.clients-heading {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 26px;
}

.clients-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

.clients-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
}

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

.client-logo-grid article {
  min-height: 118px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 227, 216, 0.18);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px -28px rgba(7, 24, 39, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.client-logo-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 165, 150, 0.34);
  box-shadow: 0 20px 38px -28px rgba(7, 24, 39, 0.52);
}

.client-logo-grid img {
  width: 100%;
  max-width: 170px;
  height: 72px;
  max-height: 72px;
  object-fit: contain;
  display: block;
}

.client-logo-grid article:nth-child(3) img,
.client-logo-grid article:nth-child(5) img,
.client-logo-grid article:nth-child(7) img,
.client-logo-grid article:nth-child(8) img {
  max-width: 180px;
  max-height: 60px;
}

.client-logo-grid article:nth-child(1) img,
.client-logo-grid article:nth-child(6) img {
  max-width: 104px;
  max-height: 78px;
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 16px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 14px;
  color: #0b4a76;
  background: #ffffff;
  border: 1px solid rgba(120, 227, 216, 0.18);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.site-footer a:hover {
  background: var(--purple-soft);
}

main {
  padding: 0;
}

.view.active {
  min-height: calc(100vh - 78px);
}

.auth-panel,
.workspace {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
}

.landing-chat-shell {
  position: relative;
  min-height: calc(92vh - 78px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 58px) 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 520px);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.landing-chat-shell::before {
  content: "";
  position: absolute;
  inset: 38px -3vw auto auto;
  width: min(40vw, 540px);
  height: min(40vw, 540px);
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(120, 227, 216, 0.14), rgba(201, 255, 143, 0.12)),
    #ffffff;
  transform: rotate(6deg);
  z-index: -1;
}

.landing-copy {
  max-width: 620px;
}

.landing-copy .eyebrow {
  display: inline-flex;
  width: auto;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #0b4a76;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.landing-copy h2 {
  max-width: 620px;
  font-size: clamp(36px, 3.75vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.landing-copy .muted {
  max-width: 610px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.58;
}

.landing-highlights {
  margin-top: 28px;
}

.landing-highlights span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
}

.chatbot-preview {
  min-height: 492px;
  border-radius: 28px;
  transform: translateY(4px);
}

.preview-header {
  padding: 26px 28px;
}

.preview-header img {
  width: 64px;
  height: 52px;
}

.preview-header strong {
  font-size: 26px;
}

.preview-messages {
  padding: 34px 30px;
  gap: 18px;
  justify-content: start;
}

.preview-bubble {
  padding: 18px 20px;
  font-size: 16px;
}

.preview-input {
  margin: 0 28px 28px;
  padding: 18px 20px;
  border-radius: 18px;
}

.marketing-sections {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 22px;
  margin-top: 18px;
}

.feature-band,
.marketing-sections .service-list,
.marketing-sections .stack-list {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.feature-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding: clamp(34px, 4vw, 52px);
}

.feature-band h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.feature-intro {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.62;
}

.feature-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: flow-step;
}

.feature-steps article {
  position: relative;
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(120, 227, 216, 0.24);
  border-radius: 24px;
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 253, 250, 0.78)),
    #ffffff;
  box-shadow: 0 12px 28px -22px rgba(7, 24, 39, 0.36);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-steps article:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 74, 118, 0.28);
  box-shadow: 0 22px 40px -28px rgba(7, 24, 39, 0.5);
}

.feature-steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 227, 216, 0.42);
  border-radius: 999px;
  color: #0b4a76;
  background: #ffffff;
  font-size: 18px;
  font-weight: 900;
  transform: translate(50%, -50%);
  box-shadow: var(--shadow);
}

.feature-steps span {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #0b4a76;
  background:
    linear-gradient(135deg, rgba(120, 227, 216, 0.72), rgba(201, 255, 143, 0.62)),
    #effdfa;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.feature-steps strong {
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.12;
}

.feature-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.marketing-sections .service-list,
.marketing-sections .stack-list {
  padding-top: clamp(22px, 3vw, 34px);
}

.marketing-sections .service-list {
  padding: clamp(30px, 3.4vw, 44px);
}

.marketing-sections .service-list .section-label {
  margin-bottom: 16px;
}

.marketing-sections .service-list ul {
  padding-left: 0;
  list-style: none;
  color: var(--ink);
}

.marketing-sections .service-list li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 36px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.48;
}

.marketing-sections .service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 1px rgba(16, 185, 129, 0.4);
}

.services-signoff {
  margin: 26px 0 0;
  color: #0b4a76;
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  background: linear-gradient(90deg, #78e3d8 0%, #0b4a76 48%, #c9ff8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marketing-sections .stack-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.marketing-sections .stack-grid span {
  padding: 12px;
  font-size: 13px;
}

.marketing-sections .rate-note {
  margin-top: 14px;
  min-height: 118px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .side-panel {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .landing-chat-shell,
  .feature-band,
  .marketing-sections {
    grid-template-columns: 1fr;
  }

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

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

  .feature-steps article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .side-panel {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 18px;
  }

  .header-cta {
    width: fit-content;
  }

  .site-footer {
    width: min(100% - 28px, 1180px);
    margin: 16px auto 24px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
    padding: 20px;
  }

  .site-footer a {
    flex: initial;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .strength-section {
    width: min(100% - 28px, 1180px);
    margin: 28px auto 0;
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 24px;
  }

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

  .clients-section {
    width: min(100% - 28px, 1180px);
    margin: 20px auto 0;
    border-radius: 22px;
    padding: 24px;
  }

  .client-logo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .client-logo-grid article {
    min-height: 112px;
    padding: 18px;
  }

  .auth-panel,
  .workspace {
    width: min(100% - 28px, 1180px);
  }

  .landing-chat-shell {
    min-height: auto;
    padding: 32px 0 40px;
    gap: 28px;
  }

  .landing-chat-shell::before {
    display: none;
  }

  .landing-copy h2 {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.04;
  }

  .landing-copy .muted {
    font-size: 16px;
    line-height: 1.58;
  }

  .chatbot-preview {
    min-height: 500px;
    border-radius: 22px;
    transform: none;
  }

  .feature-steps,
  .marketing-sections .stack-grid {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .marketing-sections .service-list,
  .marketing-sections .stack-list {
    border-radius: 20px;
  }
}

.hidden {
  display: none !important;
}

.clients-section .client-logo-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch;
}

.clients-section .client-logo-grid article {
  min-width: 0;
  min-height: 118px;
  display: grid !important;
  place-items: center;
  overflow: hidden;
}

.clients-section .client-logo-grid img {
  width: 100% !important;
  max-width: 170px !important;
  height: 72px !important;
  max-height: 72px !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .clients-section .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .clients-section .client-logo-grid {
    grid-template-columns: 1fr !important;
  }
}

