:root {
  --ink: #13231f;
  --muted: #54615d;
  --surface: #ffffff;
  --soft: #f4f7f4;
  --line: #d8e0dc;
  --teal: #0f766e;
  --teal-dark: #0b5f5a;
  --blue: #315c91;
  --amber: #bd6a16;
  --coral: #b73445;
  --shadow: 0 18px 55px rgba(19, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 220, 0.84);
  backdrop-filter: blur(16px);
}

.site-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(420px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  color: var(--teal-dark);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(19, 35, 31, 0.18);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex: 1;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--teal);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-cta,
.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: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.header-cta-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.header-cta-secondary:hover,
.header-cta-secondary:focus-visible {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--teal);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--teal);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #eaf2ee;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/logo.png");
  background-repeat: no-repeat;
  background-size: 460px auto;
  background-position: calc(100% - 80px) calc(100% - 36px);
  opacity: 0.08;
}

.hero-product {
  position: absolute;
  top: 92px;
  right: -40px;
  width: min(740px, 56vw);
  height: 560px;
  transform: rotate(-2deg);
}

.product-window {
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(19, 35, 31, 0.18);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.window-bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f8faf8;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--teal);
}

.window-bar strong {
  margin-left: 10px;
  font-size: 13px;
  color: var(--muted);
}

.product-layout {
  display: grid;
  grid-template-columns: 154px 1fr;
  min-height: 476px;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px;
  background: #17362f;
}

.product-sidebar img {
  margin-bottom: 12px;
  border-radius: 8px;
}

.sidebar-pill {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.sidebar-pill.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.product-main {
  padding: 22px;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.product-toolbar small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-toolbar strong {
  display: block;
  font-size: 24px;
}

.product-toolbar button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
}

.question-preview {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.question-meta,
.product-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.question-meta span,
.product-metrics span {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: #e6f4ef;
  font-size: 11px;
  font-weight: 800;
}

.question-preview h3 {
  margin: 16px 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

.question-preview p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.answer-grid span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.product-metrics {
  margin-top: 16px;
}

.product-metrics span {
  color: var(--ink);
  background: #f5f7f6;
}

.product-metrics strong {
  color: var(--amber);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1160px) / 2));
  padding: 72px 0;
}

.hero-logo {
  width: 210px;
  height: auto;
  margin-bottom: 20px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro-grid h2,
.demo-grid h2,
.security-grid h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.04;
}

.hero h1 {
  max-width: 620px;
  font-size: 56px;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: #2d403a;
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-proof span {
  padding: 7px 9px;
  border: 1px solid rgba(19, 35, 31, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
}

.section-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-band,
.feature-band,
.workflow-band,
.integration-band,
.demo-band,
.security-band,
.contact-band {
  padding: 78px 0;
}

.intro-band,
.workflow-band {
  background: var(--surface);
}

.feature-band,
.security-band {
  background: #f4f7f4;
}

.integration-band {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.demo-band {
  background: #edf5f3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.demo-grid,
.security-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.intro-grid h2,
.demo-grid h2,
.security-grid h2,
.contact-panel h2,
.section-heading h2 {
  font-size: 36px;
}

.intro-grid p,
.demo-grid p,
.contact-panel p,
.workflow-panel p,
.feature-card p,
.security-list {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

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

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

.feature-card {
  min-height: 246px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  margin-bottom: 22px;
  padding: 0 10px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: var(--blue);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  background: var(--amber);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
}

.integration-card {
  min-height: 278px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
}

.integration-brand {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 0 12px;
  border-radius: 7px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.google-brand {
  background: var(--teal);
}

.teams-brand {
  background: var(--blue);
}

.custom-brand {
  background: var(--amber);
}

.integration-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.18;
}

.integration-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

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

.workflow-step {
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.workflow-step span {
  display: block;
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 12px;
}

.workflow-step.active {
  color: #ffffff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.workflow-step.active span {
  color: #bde8df;
}

.workflow-panel {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfa;
}

.workflow-panel h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.18;
}

.workflow-panel p {
  margin: 0;
}

.workflow-output {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(19, 35, 31, 0.08);
}

.workflow-output span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-output strong {
  font-size: 22px;
  line-height: 1.25;
}

.demo-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.demo-actions span {
  color: var(--muted);
  font-size: 14px;
  word-break: break-word;
}

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

.security-list li {
  position: relative;
  padding-left: 26px;
}

.security-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--teal);
}

.contact-band {
  background: #17362f;
}

.contact-panel {
  color: #ffffff;
}

.contact-panel h2 {
  color: #ffffff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

.saved-lead-note {
  padding: 13px 14px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  color: var(--teal-dark);
  background: #edf5f3;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field span,
.form-group legend {
  color: #263a34;
  font-size: 13px;
  font-weight: 900;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 15px;
}

.form-field textarea {
  resize: vertical;
  min-height: 104px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  border-color: var(--teal);
}

.form-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.option-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.option-line input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.verification-line {
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: #edf5f3;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

.form-status[data-status="error"] {
  color: var(--coral);
}

.form-status[data-status="success"] {
  color: var(--teal-dark);
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.is-hidden {
  display: none;
}

.was-validated input:invalid,
.was-validated textarea:invalid {
  border-color: var(--coral);
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #13231f;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: #ffffff;
}

.footer-inner > span {
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 10px 20px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .hero {
    min-height: 88svh;
    align-items: flex-start;
  }

  .hero::before {
    background-size: 310px auto;
    background-position: calc(100% - 18px) calc(100% - 28px);
  }

  .hero-product {
    top: auto;
    right: -260px;
    bottom: -70px;
    width: 720px;
    height: 440px;
    opacity: 0.74;
  }

  .product-window {
    min-height: 430px;
  }

  .hero-content {
    width: min(690px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 240px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .intro-grid,
  .demo-grid,
  .security-grid,
  .contact-panel,
  .workflow-panel {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    font-size: 14px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-product {
    right: -375px;
    bottom: -250px;
    opacity: 0.36;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 34px 0 86px;
  }

  .hero-logo {
    width: 168px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

  .intro-band,
  .feature-band,
  .workflow-band,
  .integration-band,
  .demo-band,
  .security-band,
  .contact-band {
    padding: 56px 0;
  }

  .intro-grid h2,
  .demo-grid h2,
  .security-grid h2,
  .contact-panel h2,
  .section-heading h2 {
    font-size: 28px;
  }

  .feature-grid,
  .integration-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .workflow-panel,
  .demo-actions {
    padding: 22px;
  }

  .contact-form {
    padding: 18px;
  }

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

  .workflow-panel h3 {
    font-size: 22px;
  }

  .workflow-output strong {
    font-size: 18px;
  }

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