:root {
  color-scheme: light;
  --ink: #182029;
  --muted: #56616f;
  --line: #dce3e8;
  --surface: #ffffff;
  --soft: #f4f7f8;
  --green: #13795b;
  --green-dark: #0e5944;
  --teal: #1d9a9a;
  --yellow: #ffcb45;
  --coral: #f06b4f;
  --blue: #365dd8;
  --shadow: 0 24px 80px rgba(24, 32, 41, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--teal));
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.primary {
  color: #ffffff;
  background: var(--green);
}

.primary:hover {
  background: var(--green-dark);
}

.secondary {
  color: var(--green);
  background: #e6f4ef;
}

.light {
  background: #ffffff;
  border-color: var(--line);
}

.text-link {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
  align-items: center;
  gap: 56px;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 64px 0 80px;
}

.hero-copy h1,
.section-heading h2,
.cta h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 5.85rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.22rem;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-product {
  position: relative;
}

.hero-product::before {
  position: absolute;
  inset: -26px;
  content: "";
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 203, 69, 0.55), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(240, 107, 79, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(29, 154, 154, 0.24), rgba(54, 93, 216, 0.16));
  border-radius: 32px;
}

.window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: #f9fbfb;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.panel,
.tool-grid article,
.template-card,
.assistant-actions article,
.voice-grid article,
.resource-grid article,
.pricing-grid article,
.product-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.panel {
  min-height: 132px;
  padding: 18px;
}

.panel p,
.resource-grid p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 2.2rem;
}

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

.timeline {
  grid-column: 1 / -1;
}

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

.timeline li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline li span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

.assistant {
  grid-column: 1 / -1;
  min-height: auto;
  background: #f0faf7;
}

section {
  padding: 86px 0;
}

.products,
.resources,
.pricing,
.voice-agents,
.login-page {
  background: var(--soft);
}

.section-heading,
.product-layout,
.tool-grid,
.industry-panel,
.resource-grid,
.assistant-layout,
.voice-grid,
.trust,
.pricing-grid,
.cta,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 32px;
}

.section-heading h2,
.cta h2 {
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 3.65rem);
}

.product-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.feature-product {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(19, 121, 91, 0.96), rgba(29, 154, 154, 0.82)),
    linear-gradient(45deg, var(--green), var(--teal));
}

.feature-product .eyebrow,
.feature-product p {
  color: rgba(255, 255, 255, 0.82);
}

.feature-product h3 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.feature-product a {
  width: fit-content;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
}

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

.product-list article,
.tool-grid article,
.template-card,
.assistant-actions article,
.voice-grid article,
.resource-grid article,
.pricing-grid article {
  padding: 24px;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

article p {
  margin: 0;
  color: var(--muted);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.template-card {
  display: grid;
  gap: 20px;
  align-content: start;
  min-height: 430px;
  padding: 24px;
}

.template-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.template-header .eyebrow {
  margin-bottom: 4px;
}

.template-header h3 {
  margin: 0;
}

.template-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.template-card dl div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfb;
}

.template-card dt {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 850;
}

.template-card dd {
  margin: 0;
  color: var(--muted);
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
}

.login-card {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.login-card .brand {
  margin-bottom: 26px;
}

.login-card h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.05;
}

.login-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.login-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.assistant-console {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(24, 32, 41, 0.08);
}

.assistant-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.assistant-header h3,
.assistant-header p {
  margin: 0;
}

.assistant-header p {
  color: var(--muted);
}

.assistant-form {
  display: grid;
  gap: 14px;
}

.assistant-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.assistant-form textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.assistant-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 750;
}

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

.assistant-actions article,
.voice-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.voice-grid article {
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 250, 247, 0.95)),
    #ffffff;
}

.voice-grid h3 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-size: 1.25rem;
}

.tabs {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: -8px auto 24px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  min-height: 42px;
  padding: 0 16px;
}

.tab.active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.industry-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: 360px;
  padding: 34px;
  border-radius: 8px;
  background: #f7faf9;
  border: 1px solid var(--line);
}

.industry-panel h3 {
  max-width: 560px;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.08;
}

.industry-panel p:not(.eyebrow) {
  max-width: 560px;
}

.industry-visual {
  display: grid;
  gap: 14px;
}

.industry-visual span {
  display: block;
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(19, 121, 91, 0.16), rgba(29, 154, 154, 0.5));
}

.industry-visual span:nth-child(2) {
  margin-left: 48px;
  background: linear-gradient(90deg, rgba(255, 203, 69, 0.5), rgba(240, 107, 79, 0.35));
}

.industry-visual span:nth-child(3) {
  margin-right: 72px;
  background: linear-gradient(90deg, rgba(54, 93, 216, 0.35), rgba(19, 121, 91, 0.2));
}

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

.resource-grid article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-grid h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.resource-grid a {
  color: var(--green);
  font-weight: 850;
}

.trust {
  text-align: center;
}

.trust p {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 750;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.logo-row span {
  min-width: 140px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 850;
}

.pricing-grid article {
  min-height: 180px;
}

.pricing-grid .featured {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.pricing-grid .featured p {
  color: rgba(255, 255, 255, 0.76);
}

.cta {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 32px;
  align-items: end;
}

.demo-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(24, 32, 41, 0.08);
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.demo-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 750;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .product-layout,
  .industry-panel,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4.8rem);
  }

  .tool-grid,
  .template-grid,
  .assistant-layout,
  .resource-grid,
  .voice-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }

  .hero,
  .section-heading,
  .product-layout,
  .tool-grid,
  .industry-panel,
  .resource-grid,
  .trust,
  .template-grid,
  .pricing-grid,
  .cta,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .dashboard-grid,
  .product-list,
  .assistant-actions {
    grid-template-columns: 1fr;
  }

  .timeline,
  .assistant {
    grid-column: auto;
  }

  .feature-product,
  .industry-panel {
    padding: 24px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

.agent-page {
  min-height: 100vh;
  color: var(--ink);
  background: #eef3f2;
}

.agent-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.agent-topbar-actions,
.agent-kpis,
.phone-actions,
.document-tools,
.lead-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-topbar-actions {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.agent-topbar-actions a {
  color: var(--green);
}

.agent-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

.agent-shell {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 36px;
}

.agent-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.agent-heading h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.agent-heading p,
.panel-heading span,
.business-list span,
.business-list em,
.meeting-list span,
.form-status {
  color: var(--muted);
}

.agent-heading p {
  margin: 6px 0 0;
}

.agent-kpis span,
.lead-summary span {
  min-width: 104px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.9rem;
}

.agent-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  gap: 18px;
  align-items: start;
}

.agent-column {
  display: grid;
  gap: 18px;
}

.agent-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(24, 32, 41, 0.06);
}

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

.panel-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}

.agent-form,
.lead-loader {
  display: grid;
  gap: 12px;
}

.agent-form label,
.lead-loader label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.agent-form input,
.agent-form select,
.agent-form textarea,
.document-tools select,
.document-panel textarea,
.lead-loader input,
.lead-loader select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.agent-form input,
.agent-form select,
.document-tools select,
.lead-loader input,
.lead-loader select {
  min-height: 42px;
  padding: 0 12px;
}

.agent-form textarea,
.document-panel textarea {
  min-height: 104px;
  resize: vertical;
  padding: 12px;
}

.document-panel textarea {
  min-height: 190px;
  margin-top: 12px;
}

.business-list,
.meeting-list {
  display: grid;
  gap: 10px;
}

.business-list article,
.meeting-list article {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.business-list em {
  font-style: normal;
  font-size: 0.86rem;
}

.meeting-list article {
  grid-template-columns: 82px 1fr;
  align-items: center;
}

.meeting-list time {
  color: var(--green);
  font-weight: 850;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.compact {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.88rem;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7f8;
}

.segmented-control button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.segmented-control .active {
  background: #ffffff;
  color: var(--green);
  box-shadow: 0 1px 5px rgba(24, 32, 41, 0.12);
}

.lead-summary {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .agent-workspace,
  .agent-heading {
    grid-template-columns: 1fr;
  }

  .agent-heading {
    display: grid;
  }
}

@media (max-width: 640px) {
  .agent-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .agent-shell {
    width: min(100% - 24px, 1480px);
    padding-top: 18px;
  }

  .agent-heading h1 {
    font-size: 1.55rem;
  }

  .meeting-list article {
    grid-template-columns: 1fr;
  }
}
