:root{--font-dm-sans:"DM Sans";--font-manrope:"Manrope";--font-heebo:Arial}
:root {
  --ink: #17251f;
  /* Text colors keep at least 4.5:1 contrast on the paper, white, and tinted panels. */
  --muted: #5f6b62;
  --green: #3c7256;
  --lime: #d4ecab;
  --paper: #f7f8f4;
  --border: #e2e6dd;
  --white: #fff;
  --focus: #2f6b4a;
  --on-dark-muted: #a9bea8;
  --success: #3f6d33;
  --warning: #7a5a1c;
  --danger: #9a3f2c;
  /* Hebrew glyphs fall back to Heebo; the Latin faces have no Hebrew coverage. */
  --font-body: var(--font-dm-sans), var(--font-heebo), Arial, sans-serif;
  --font-display: var(--font-manrope), var(--font-heebo), Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled,
.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.sidebar :focus-visible {
  outline-color: var(--lime);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
}
/* Tracking separates Hebrew letters; Hebrew text keeps natural spacing. */
:lang(he) {
  letter-spacing: normal !important;
}
/* Directional icons point toward the reading direction. */
[dir='rtl'] .lucide-arrow-right,
[dir='rtl'] .lucide-arrow-up-right,
[dir='rtl'] .lucide-log-out {
  transform: scaleX(-1);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.brand-mark {
  background: var(--ink);
  color: var(--lime);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.brand-muted {
  font-weight: 500;
}
.brand-light {
  color: #f3f8ef;
}
.brand-light .brand-mark {
  background: var(--lime);
  color: #203a2e;
}
.landing {
  max-width: 1440px;
  margin: auto;
  padding: 0 6%;
}
.nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 12px;
  font-size: 13px;
  background: #fff8;
  white-space: nowrap;
}
.dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #679c53;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
  gap: 35px;
  align-items: center;
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow > span:empty {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #7fab58;
}
.hero h1 {
  font-size: clamp(55px, 6.2vw, 87px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -4px;
  margin: 25px 0;
}
.hero h1 > span {
  color: #56805e;
}
.hero-copy > p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 7px;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
}
.primary {
  background: #203c2d;
  color: #f4f8ef;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.hero-note > span {
  padding: 0 4px;
}
.conversation-stage {
  height: 535px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse, #dce8d1 0%, #edf0e6 45%, transparent 72%);
}
.stage-grid {
  position: absolute;
  inset: 40px -5px;
  background-image:
    linear-gradient(#bdd0b629 1px, transparent 1px),
    linear-gradient(90deg, #bdd0b629 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: radial-gradient(ellipse, #000, transparent 70%);
}
.chat-preview {
  position: relative;
  transform: rotate(-3deg);
  width: 335px;
  background: #fff;
  border: 1px solid #dce4d4;
  border-radius: 18px;
  box-shadow:
    0 22px 70px #26382a15,
    0 2px 8px #26382a08;
  overflow: hidden;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid #e7ece2;
  background: #fffffff0;
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #223e2e;
  color: var(--lime);
  border-radius: 50%;
  font-size: 26px;
}
.chat-header strong {
  display: block;
  font-size: 12px;
}
.chat-header div > span {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  color: var(--muted);
}
.example-tag {
  margin-inline-start: auto;
  background: #f0f4e9;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 5px;
  border-radius: 4px;
}
.chat-body {
  background: #f5f7f0;
  padding: 22px 17px 18px;
}
.chat-question {
  background: #dbeec7;
  padding: 11px 14px;
  border-start-start-radius: 12px;
  border-start-end-radius: 12px;
  border-end-end-radius: 3px;
  border-end-start-radius: 12px;
  margin-inline-start: 38px;
  font-size: 12px;
  line-height: 1.5;
}
.chat-question > span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 11px;
  color: var(--muted);
  gap: 3px;
}
.chat-answer {
  margin-top: 16px;
  margin-inline-end: 24px;
  background: white;
  padding: 18px;
  border-start-start-radius: 3px;
  border-start-end-radius: 12px;
  border-end-end-radius: 12px;
  border-end-start-radius: 12px;
  border: 1px solid #e8ede1;
}
.answer-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-answer h3 {
  font-size: 32px;
  letter-spacing: -1.5px;
  margin-top: 9px;
  font-weight: 600;
}
.chat-answer > p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.chat-stats {
  display: flex;
  gap: 38px;
  margin-top: 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eef1e8;
}
.chat-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
}
.chat-stats span {
  font-size: 11px;
  color: var(--muted);
}
.answer-foot {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 10px;
}
.small-question {
  margin-top: 18px;
  padding: 12px;
}
.chat-input {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.send-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #34523a;
  color: #e4efdb;
  border-radius: 50%;
}
.floating-tag {
  position: absolute;
  top: 47px;
  inset-inline-end: 23px;
  background: white;
  border: 1px solid #e7ebdf;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 5px 12px #223e2e06;
  transform: rotate(4deg);
  z-index: 2;
}
.floating-security {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  bottom: 25px;
  inset-inline-start: 14px;
  padding: 14px 19px;
  border-radius: 9px;
  background: white;
  box-shadow: 0 10px 25px #223e2e0b;
  transform: rotate(2deg);
}
.floating-security > svg {
  color: #7d9964;
}
.floating-security strong {
  display: block;
  font-size: 11px;
}
.floating-security span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.integration-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.integration-strip > span {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: var(--muted);
  max-width: 135px;
  line-height: 1.8;
}
.integration-strip strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.4px;
}
.how-section {
  padding: 80px 0;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-heading h2 {
  font-size: 34px;
  letter-spacing: -1.4px;
  line-height: 1.3;
  margin-top: 15px;
  font-weight: 500;
}
.section-heading > p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 45px;
}
.feature-grid article {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  position: relative;
}
.feature-number {
  position: absolute;
  inset-inline-end: 0;
  color: var(--muted);
  font-size: 13px;
}
.feature-grid svg {
  color: #63835c;
  width: 22px;
  height: 22px;
}
.feature-grid h3 {
  font-size: 17px;
  margin: 20px 0 10px;
  font-weight: 600;
}
.feature-grid p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  max-width: 300px;
}
.trust-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: #ecf0e5;
  border: 1px solid #e3e8d9;
  border-radius: 10px;
}
.trust-banner > svg {
  color: #728667;
}
.trust-banner h3 {
  font-size: 16px;
  font-weight: 600;
}
.trust-banner p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.trust-banner .pill {
  margin-inline-start: auto;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  font-size: 13px;
  color: var(--muted);
}
footer .brand {
  font-size: 16px;
}
footer .brand-mark {
  width: 27px;
  height: 27px;
}
footer > a:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.connect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
  background: radial-gradient(ellipse at 50% 40%, #e7eddd, transparent 70%);
}
.connect-card {
  margin: 70px auto 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 45px;
  max-width: 530px;
  width: 100%;
  text-align: center;
  box-shadow: 0 15px 45px #223e2e08;
}
.connect-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #edf3e6;
  color: #648154;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}
.connect-card .eyebrow {
  display: block;
  font-size: 12px;
}
.connect-card h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
  font-weight: 500;
  line-height: 1.2;
  margin: 20px 0;
}
.connect-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 15px 0;
  font-size: 14px;
}
.connect-card .button {
  margin-top: 20px;
  width: 100%;
}
.connect-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 25px;
}
.error {
  background: #fff0eb;
  color: #9e4b39;
  padding: 14px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 15px;
}
.error p {
  color: inherit;
  margin: 6px 0;
}
.error img {
  vertical-align: middle;
}
.workspace {
  display: flex;
  min-height: 100vh;
  background: #f6f7f3;
}
.sidebar {
  width: 242px;
  flex-shrink: 0;
  background: #20372c;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  color: #a7baa4;
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
}
.sidebar .brand {
  font-size: 18px;
}
.business-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff08;
  border: 1px solid #ffffff13;
  border-radius: 8px;
  padding: 14px 10px;
  margin: 40px 0 35px;
}
.business-switch > span {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  background: #d6e9bd;
  color: #345536;
  border-radius: 6px;
  font-weight: 600;
}
.business-switch strong {
  font-size: 13px;
  color: #f1f5eb;
  display: block;
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.business-switch small {
  font-size: 12px;
  display: block;
  margin-top: 4px;
  color: var(--on-dark-muted);
}
.sidebar-label {
  font-size: 12px;
  letter-spacing: 1.7px;
  margin: 0 10px 15px;
  color: var(--on-dark-muted);
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 8px;
}
.selected {
  background: #d5e8b8;
  color: #2a492f;
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-bottom > div {
  display: flex;
  gap: 10px;
  border-top: 1px solid #ffffff12;
  padding-top: 20px;
}
.sidebar-bottom p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--on-dark-muted);
}
.sidebar-bottom svg {
  flex-shrink: 0;
}
.sidebar-bottom button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  color: #a7baa4;
  margin-top: 25px;
  font-size: 13px;
  padding: 0;
}
.workspace-main {
  margin-inline-start: 242px;
  width: calc(100% - 242px);
}
.workspace-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  background: #fcfdf9;
}
.workspace-header > span > span {
  margin: 0 12px;
  color: var(--muted);
}
.owner-badge {
  background: #e3ebd7;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  color: #37543a;
}
.workspace-content {
  max-width: 1200px;
  margin: auto;
  padding: 45px;
}
.dashboard-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dashboard-title h1 {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1.4px;
  margin-top: 13px;
}
.dashboard-title p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.summary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 30px;
}
.summary-cards article {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 21px;
  position: relative;
}
.summary-cards svg {
  position: absolute;
  inset-inline-end: 19px;
  top: 22px;
  color: #93a183;
}
.summary-cards span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.summary-cards strong {
  font-weight: 500;
  font-size: 16px;
  display: block;
  margin-top: 14px;
  word-break: break-word;
  padding-inline-end: 20px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 42px 0 20px;
}
.section-title h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.section-title > span {
  font-size: 12px;
  color: var(--muted);
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.connection-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 235px;
}
.connection-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.provider-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
}
.provider-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e7eadd;
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.status-ready {
  color: var(--success);
  background: #f0f7e8;
  border-color: #cfe0c0;
}
.status-syncing {
  color: #2f5a6b;
  background: #eef5f8;
  border-color: #cfe1e8;
}
.status-attention {
  color: var(--danger);
  background: #fff0eb;
  border-color: #f0cfc4;
}
.connection-card h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
  margin: 18px 0 8px;
  font-weight: 600;
}
.connection-card > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  min-height: 38px;
}
.connection-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}
.connection-actions > button {
  flex: 1;
  border: 1px solid #e3e8d9;
  padding: 9px 12px;
  background: #fff;
  border-radius: 5px;
  font-size: 12px;
  color: #526c45;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.connection-actions > button > svg:last-child {
  margin-inline-start: auto;
}
.connection-actions .disconnect {
  flex: 0;
  padding: 9px;
  color: var(--danger);
}
.connection-details {
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  color: var(--muted);
  word-break: break-word;
}
.connection-details strong {
  color: #52684c;
  font-weight: 500;
}
.error-text {
  color: var(--danger);
  margin-top: 4px;
}
.error-code {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
}
.reporting-note {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #eaf0e0;
  border: 1px solid #dfe7d3;
  border-radius: 9px;
  padding: 24px;
  margin-top: 30px;
}
.reporting-note > svg {
  color: #72915a;
  flex-shrink: 0;
}
.reporting-note h3 {
  font-size: 14px;
}
.reporting-note p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.7;
}
.reporting-note .pill {
  margin-inline-start: auto;
  font-size: 12px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff7e6;
  border: 1px solid #ebdfc3;
  color: var(--warning);
  border-radius: 7px;
  font-size: 13px;
  padding: 13px 16px;
  margin-top: 22px;
}
.notice svg {
  flex-shrink: 0;
}
.notice-success {
  background: #f0f7e8;
  border-color: #cfe0c0;
  color: var(--success);
}
.notice-error {
  background: #fff0eb;
  border-color: #f0cfc4;
  color: var(--danger);
}
.notice button {
  margin-inline-start: auto;
  border: 0;
  background: none;
  color: inherit;
  display: grid;
  place-items: center;
  min-width: 32px;
  min-height: 32px;
  border-radius: 6px;
}
dialog.modal {
  background: white;
  color: var(--ink);
  border: 0;
  border-radius: 14px;
  padding: 35px;
  max-width: 500px;
  width: calc(100% - 40px);
  max-height: 90vh;
  overflow: auto;
}
dialog.modal::backdrop {
  background: #17291ecc;
  backdrop-filter: blur(4px);
}
.modal-close {
  position: absolute;
  inset-inline-end: 14px;
  top: 14px;
  border: 0;
  background: none;
  color: var(--muted);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.modal-close:hover:not(:disabled) {
  background: #f0f3ec;
}
.modal .connect-icon {
  margin-inline-start: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.modal h2 {
  font-size: 25px;
  letter-spacing: -0.5px;
  font-weight: 500;
}
.modal > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 12px 0 22px;
}
.modal label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 17px;
}
.modal input {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #849282;
  border-radius: 6px;
  background: #fbfcf8;
  font-size: 13px;
  margin-top: 7px;
  color: #30472d;
}
.modal form > .button {
  width: 100%;
  margin-top: 25px;
}
.confirm-dialog {
  max-width: 440px;
}
.confirm-dialog .connect-icon {
  background: #fff0eb;
  color: var(--danger);
}
.confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.confirm-actions .button {
  flex: 1;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid #c9d1c3;
}
.danger {
  background: var(--danger);
  color: #fff;
}
.modal small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 20px;
}
.spin {
  animation: spin 1.3s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 740px;
  }
}
@media (max-width: 1150px) {
  .connection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar {
    width: 215px;
  }
  .workspace-main {
    margin-inline-start: 215px;
    width: calc(100% - 215px);
  }
  .workspace-content {
    padding: 30px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .floating-tag {
    inset-inline-end: 0;
  }
  .integration-strip strong {
    font-size: 13px;
  }
}
@media (max-width: 850px) {
  .landing {
    padding: 0 6%;
  }
  .nav {
    height: 80px;
  }
  .nav-links {
    gap: 15px;
  }
  .nav > .pill {
    display: none;
  }
  .hero {
    gap: 0;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .chat-preview {
    width: 290px;
  }
  .conversation-stage {
    height: 520px;
  }
  .floating-tag {
    top: 25px;
    font-size: 11px;
  }
  .floating-security {
    bottom: 20px;
    inset-inline-start: -5px;
    font-size: 11px;
  }
  .hero-note {
    font-size: 12px;
  }
  .hero-note > span {
    padding: 0;
  }
  .integration-strip {
    flex-wrap: wrap;
    justify-content: center;
  }
  .integration-strip > span {
    max-width: none;
    width: 100%;
    text-align: center;
  }
  .sidebar {
    width: 185px;
    padding: 25px 15px;
  }
  .sidebar .brand {
    font-size: 14px;
  }
  .workspace-main {
    margin-inline-start: 185px;
    width: calc(100% - 185px);
  }
  .workspace-content {
    padding: 25px;
  }
  .workspace-header {
    padding: 0 25px;
  }
  .dashboard-title h1 {
    font-size: 27px;
  }
  .summary-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .summary-cards article {
    padding: 15px;
  }
  .summary-cards strong {
    margin-top: 8px;
  }
  .connection-card {
    padding: 18px;
  }
  .reporting-note .pill {
    display: none;
  }
  .section-title > span {
    display: none;
  }
  .trust-banner p {
    max-width: 330px;
  }
  footer > span {
    display: none;
  }
}
@media (max-width: 600px) {
  .brand {
    font-size: 17px;
  }
  .nav-links a:not(:last-child) {
    display: none;
  }
  .nav-links {
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 64px;
    letter-spacing: -3px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
  .conversation-stage {
    height: 530px;
    margin-top: 25px;
  }
  .chat-preview {
    width: 320px;
  }
  .floating-security {
    inset-inline-start: 0;
    bottom: 14px;
  }
  .floating-tag {
    inset-inline-end: 0;
    top: 28px;
  }
  .hero-note {
    font-size: 12px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .section-heading > p {
    margin-top: 20px;
  }
  .how-section {
    padding: 55px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .feature-grid p {
    max-width: none;
  }
  .trust-banner {
    padding: 22px;
    gap: 12px;
  }
  .trust-banner .pill {
    display: none;
  }
  .trust-banner h3 {
    font-size: 14px;
  }
  .trust-banner p {
    font-size: 12px;
  }
  footer {
    gap: 20px;
  }
  footer > a:last-child {
    font-size: 12px;
  }
  .connect-card {
    padding: 30px 22px;
    margin-top: 45px;
  }
  .connect-card h1 {
    font-size: 30px;
  }
  .connect-page {
    padding-top: 30px;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 18px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }
  .sidebar .brand {
    font-size: 17px;
  }
  .business-switch,
  .sidebar-label,
  .sidebar-item,
  .sidebar-bottom > div {
    display: none;
  }
  .sidebar-bottom {
    margin-top: 0;
  }
  .sidebar-bottom button {
    margin-top: 0;
    font-size: 12px;
  }
  .workspace {
    display: block;
  }
  .workspace-main {
    width: 100%;
    margin: 0;
  }
  .workspace-header {
    height: 55px;
    padding: 0 20px;
  }
  .workspace-content {
    padding: 30px 20px;
  }
  .dashboard-title h1 {
    font-size: 27px;
  }
  .dashboard-title .pill {
    display: none;
  }
  .dashboard-title p {
    line-height: 1.7;
  }
  .summary-cards {
    grid-template-columns: 1fr;
  }
  .summary-cards article {
    padding: 16px;
  }
  .summary-cards strong {
    font-size: 14px;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .connection-card {
    padding: 22px;
    min-height: 210px;
  }
  .status {
    font-size: 12px;
  }
  .connection-card p {
    font-size: 13px;
  }
  .connection-card h3 {
    font-size: 17px;
  }
  .connection-actions > button {
    font-size: 13px;
  }
  .reporting-note {
    padding: 20px;
  }
  .reporting-note h3 {
    font-size: 13px;
  }
  .modal {
    padding: 27px;
  }
  .modal label {
    font-size: 13px;
  }
  .modal input {
    font-size: 14px;
  }
}
.guided-connect .step-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0;
}
.guided-connect .step-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 6px 0 0;
}
.input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 8px;
}
.input-row input {
  margin-top: 0;
  flex: 1;
  min-width: 0;
}
.input-row .button {
  padding: 10px 14px;
  gap: 6px;
  flex-shrink: 0;
}
.check-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 13px;
  margin: 12px 0 0;
}
.check-ok svg {
  flex-shrink: 0;
}
.connect-option {
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 20px;
}
.connect-option > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 8px 0 16px;
}
.connect-option > .button {
  width: 100%;
  margin-top: 20px;
}
.connect-option > p + .button {
  margin-top: 0;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.error .text-button {
  color: inherit;
  padding: 4px 0;
  min-height: 0;
}
.manual-steps {
  margin: 12px 0 0;
  padding-inline-start: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink);
}
.manual-steps a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.security-note {
  background: #f3f6ef;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 22px;
}
.security-note h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  margin: 0;
}
.security-note ul {
  margin: 8px 0 0;
  padding-inline-start: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
