:root {
  color-scheme: light;
  --ink: #13221c;
  --muted: #5d6b64;
  --soft: #eef7f4;
  --line: #dbe7e2;
  --surface: #ffffff;
  --green: #009b72;
  --green-dark: #047857;
  --mint: #d8f7ed;
  --coral: #ff6b4a;
  --sun: #ffc947;
  --blue: #3478f6;
  --shadow: 0 18px 50px rgba(19, 34, 28, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7faf8;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-180%);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  box-shadow: 0 8px 28px rgba(19, 34, 28, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #24362f;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  border-radius: 6px;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--soft);
  outline: none;
}

.site-nav .nav-login {
  border: 1px solid var(--line);
}

.site-nav .nav-cta,
.primary-action,
.demo-form button,
.plan-card a {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 155, 114, 0.24);
}

.site-nav .nav-cta:hover,
.primary-action:hover,
.demo-form button:hover,
.plan-card a:hover {
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88svh;
  padding: 116px 16px 68px;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=84");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 18, 0.62);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  color: #fff;
}

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

.hero .eyebrow {
  color: var(--mint);
}

.hero h1,
.section h2,
.visual-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

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

.primary-action,
.secondary-action,
.text-link,
.plan-card a,
.demo-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  max-width: 560px;
  margin: 36px 0 0;
}

.hero-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
}

.hero-metrics dt {
  font-size: 24px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.proof-strip {
  display: flex;
  gap: 10px;
  width: min(calc(100% - 32px), var(--max));
  margin: -28px auto 0;
  padding: 14px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.proof-strip span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--soft);
  padding: 9px 13px;
  color: #24463a;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p,
.visual-copy p,
.demo-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section h2,
.visual-copy h2 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
}

.product-showcase {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.phone-preview,
.feature-card,
.use-case,
.plan-card,
.demo-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(19, 34, 28, 0.08);
}

.phone-preview {
  min-height: 540px;
  padding: 18px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.phone-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

.phone-top strong {
  flex: 1;
}

.phone-top em {
  color: var(--green-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.chat-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.chat-list article {
  border-radius: 8px;
  background: #f3f6f4;
  padding: 12px;
}

.chat-list article.active {
  background: var(--mint);
}

.chat-list b,
.chat-list span {
  display: block;
}

.chat-list span {
  color: var(--muted);
  font-size: 14px;
}

.message-bubble {
  width: fit-content;
  max-width: 82%;
  margin-top: 18px;
  border-radius: 8px;
  padding: 12px 14px;
}

.message-bubble.inbound {
  background: #f1f2f3;
}

.message-bubble.outbound {
  margin-left: auto;
  background: #d9fdd3;
}

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

.feature-card,
.plan-card {
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.feature-icon.api {
  background: var(--green);
}

.feature-icon.qr {
  background: var(--blue);
}

.feature-icon.ai {
  background: var(--coral);
}

.feature-icon.crm {
  background: #7c3aed;
}

.feature-icon.voice {
  background: var(--sun);
  color: #17231d;
}

.feature-card h3,
.use-case h3,
.plan-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.feature-card p,
.use-case p,
.plan-card p,
.workflow-list p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  align-items: center;
  gap: 34px;
  width: 100%;
  max-width: none;
  background: #eaf8f3;
  padding: 72px max(16px, calc((100% - var(--max)) / 2));
}

.visual-band img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ai-voice-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  align-items: center;
  gap: 34px;
}

.ai-voice-section img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ai-voice-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.voice-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.voice-points span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  color: #24463a;
  font-weight: 800;
}

.text-link {
  margin-top: 22px;
  border: 1px solid var(--green);
  color: var(--green-dark);
}

.text-link:hover {
  background: var(--surface);
}

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

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

.use-case {
  overflow: hidden;
}

.use-case img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.use-case h3,
.use-case p {
  padding-inline: 20px;
}

.use-case h3 {
  margin-top: 20px;
}

.use-case p {
  padding-bottom: 22px;
}

.workflow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  border-left: 4px solid var(--green);
  background: var(--surface);
  padding: 22px;
}

.workflow-list span {
  color: var(--coral);
  font-weight: 900;
}

.workflow-list strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 20px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
}

.billing-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  margin: -12px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.billing-toggle button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #30453d;
  cursor: pointer;
  padding: 8px 14px;
  font-weight: 900;
}

.billing-toggle button.is-active {
  background: var(--green);
  color: #fff;
}

.plan-price {
  margin: 10px 0 12px !important;
  color: var(--ink) !important;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.plan-price span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.featured-plan {
  border-color: rgba(0, 155, 114, 0.48);
  background: #f0fff9;
}

.featured-plan > span {
  width: fit-content;
  border-radius: 999px;
  background: var(--sun);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  color: #33443d;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
}

.plan-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "\2713";
  font-weight: 900;
}

.plan-card a {
  margin-top: auto;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.demo-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: #2e4038;
  font-weight: 800;
}

.demo-form input,
.demo-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
}

.demo-form input:focus,
.demo-form select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(0, 155, 114, 0.18);
}

.demo-form button {
  border: 0;
  cursor: pointer;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin-top: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 24px;
  padding: 42px max(16px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-footer nav a {
  border-radius: 6px;
  background: var(--soft);
  padding: 10px 12px;
  color: #26453b;
  font-weight: 800;
}

.footer-note {
  grid-column: 1 / -1;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
    margin-top: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 86svh;
    padding-top: 104px;
  }

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

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

  .hero-metrics,
  .section-head,
  .product-showcase,
  .visual-band,
  .ai-voice-section,
  .demo-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section h2,
  .visual-copy h2 {
    font-size: 34px;
  }

  .feature-grid,
  .use-case-grid,
  .plans-grid,
  .pricing-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .phone-preview {
    min-height: auto;
  }

  .visual-band {
    padding: 64px 16px;
  }

  .visual-band img {
    height: 320px;
  }

  .ai-voice-section img {
    height: 320px;
  }

  .voice-points {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 15px;
  }

  .brand span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 84svh;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section h2,
  .visual-copy h2 {
    font-size: 30px;
  }

  .demo-section {
    grid-template-columns: 1fr;
  }
}
