:root {
  --ink: #0e0f12;
  --paper: #f7f5f1;
  --paper-strong: #fffdf8;
  --muted: #5a5f66;
  --line: rgba(14, 15, 18, 0.12);
  --coral: #ff6b4a;
  --teal: #0f766e;
  --blue: #284b63;
  --amber: #d89d28;
  --shadow: 0 24px 60px rgba(14, 15, 18, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(247, 245, 241, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.brand-mark span {
  color: var(--coral);
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  place-items: center;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 73px 16px auto;
  z-index: 35;
  display: none;
  padding: 12px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  padding: 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.section-band {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-top: clamp(42px, 6vw, 84px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero-copy,
.demo-copy,
.section-heading,
.contact > div {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: 0.86;
}

h2 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.16;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.08;
}

.hero-body,
.section-heading p,
.demo-copy p,
.contact p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button.primary {
  background: var(--coral);
  color: #140704;
}

.button.secondary {
  background: var(--paper-strong);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  opacity: 0.72;
}

.product-board {
  position: absolute;
  right: clamp(16px, 4vw, 42px);
  bottom: clamp(16px, 4vw, 42px);
  left: clamp(16px, 4vw, 42px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(14, 15, 18, 0.78);
  color: var(--paper-strong);
  backdrop-filter: blur(16px);
}

.board-header,
.metric-row,
.flow-card {
  display: flex;
  align-items: center;
}

.board-header {
  justify-content: space-between;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.metric-row div {
  padding: 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-row span,
.flow-card {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

.metric-row strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 1.55rem;
}

.flow-card {
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  margin-top: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

.dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.dot.coral {
  background: var(--coral);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--paper-strong);
}

.proof-strip div {
  min-height: 138px;
  padding: 26px clamp(18px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 28px;
  align-items: end;
}

.service-grid,
.reference-grid,
.pricing-grid,
.timeline {
  max-width: 1180px;
  margin: 0 auto;
}

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

.service-grid article,
.reference-card,
.pricing-grid article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.service-grid article {
  min-height: 260px;
  padding: 22px;
}

.service-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 38px;
  color: var(--coral);
}

.service-grid p,
.reference-card p,
.pricing-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.62;
}

.references {
  background: #ece7de;
}

.segment-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto 16px;
}

.segment-control button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.segment-control button.active {
  background: var(--ink);
  color: var(--paper);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.reference-card {
  min-height: 290px;
  padding: 24px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.reference-card.is-hidden {
  display: none;
}

.reference-card:hover {
  transform: translateY(-3px);
}

.reference-card span,
.pricing-grid span,
.timeline span {
  display: block;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-card strong {
  display: inline-flex;
  margin-top: 10px;
  color: var(--ink);
}

.demo-band {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 7vw, 90px);
  background: var(--ink);
  color: var(--paper);
}

.phone-demo {
  width: min(100%, 360px);
  min-height: 620px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #17191f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.phone-top {
  width: 92px;
  height: 5px;
  margin: 0 auto 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.chat-row {
  width: fit-content;
  max-width: 82%;
  margin-bottom: 14px;
  padding: 13px 15px;
  border-radius: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.chat-row.client {
  margin-left: auto;
  background: var(--teal);
}

.chat-row.bot {
  background: rgba(255, 255, 255, 0.12);
}

.demo-copy p {
  max-width: 680px;
  color: rgba(247, 245, 241, 0.72);
}

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

.timeline article {
  min-height: 250px;
  padding: 24px;
}

.timeline span {
  color: var(--amber);
}

.pricing {
  background: var(--paper-strong);
}

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

.pricing-grid article {
  min-height: 310px;
  padding: 24px;
}

.pricing-grid .featured {
  border-color: rgba(255, 107, 74, 0.7);
  box-shadow: 0 20px 60px rgba(255, 107, 74, 0.15);
}

.pricing-grid strong {
  display: block;
  margin-top: 26px;
  font-size: 1.2rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 560px);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.contact > div,
.contact-form {
  max-width: 680px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.14);
}

.contact-form .button {
  width: fit-content;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .hero,
  .contact,
  .demo-band,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual img {
    min-height: 520px;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .section-band {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3.25rem, 20vw, 5rem);
  }

  .hero-subtitle {
    font-size: 1.45rem;
  }

  .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .product-board {
    padding: 14px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

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

  .proof-strip div {
    min-height: 118px;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:nth-child(2n) {
    border-right: 0;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .reference-card,
  .pricing-grid article,
  .timeline article {
    min-height: auto;
  }

  .phone-demo {
    min-height: 480px;
  }

  .site-footer {
    display: grid;
  }
}
