/* ============ Base ============ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fafaf8;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #0c0e14;
}

a {
  color: #2b4bff;
}
a:hover {
  color: #1e38d6;
}

.page {
  background: #fafaf8;
  min-width: 1100px;
}

/* ============ Dark sections (hero / contact) ============ */
.dark-section {
  background: #0c0e14;
  color: #f5f5f2;
}

/* ============ Nav ============ */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 56px;
}

.logo {
  font:
    600 20px "Space Grotesk",
    sans-serif;
  letter-spacing: -0.01em;
}

.logo-dot {
  color: #6e86ff;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav-link {
  font:
    500 14.5px "Instrument Sans",
    sans-serif;
  color: #9fa3ae;
  text-decoration: none;
}
.nav-link:hover {
  color: #f5f5f2;
}

.lang-pills {
  display: flex;
  gap: 2px;
  background: #1b1e27;
  border-radius: 99px;
  padding: 3px;
}

.lang-pill {
  border: none;
  cursor: pointer;
  border-radius: 99px;
  padding: 4px 11px;
  font:
    600 11px "Instrument Sans",
    sans-serif;
  background: transparent;
  color: #9fa3ae;
}
.lang-pill.active {
  background: #f5f5f2;
  color: #0c0e14;
}

.btn-nav-contact {
  background: #2b4bff;
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 10px 20px;
  font:
    600 14px "Instrument Sans",
    sans-serif;
  cursor: pointer;
  text-decoration: none;
}
.btn-nav-contact:hover {
  background: #1e38d6;
  color: #ffffff;
}

/* ============ Hero ============ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 96px 56px 110px;
}

.eyebrow {
  font:
    600 12px ui-monospace,
    Menlo,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6e86ff;
}

.hero h1 {
  margin: 0;
  font:
    600 92px/1.02 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.035em;
  max-width: 1000px;
}
.hero h1 .accent {
  color: #6e86ff;
}

.site-el .hero h1 {
  font:
    600 84px/1.05 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.03em;
  max-width: 1050px;
}

.hero-sub {
  margin: 0;
  font:
    400 20px/1.6 "Instrument Sans",
    sans-serif;
  color: #9fa3ae;
  max-width: 640px;
}
.site-el .hero-sub {
  max-width: 660px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
}

.btn-primary {
  background: #2b4bff;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 16px 34px;
  font:
    600 16px "Instrument Sans",
    sans-serif;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  background: #1e38d6;
  color: #ffffff;
}

.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid #2a2d38;
  border-radius: 10px;
  padding: 14px 28px;
  font:
    600 16px "Instrument Sans",
    sans-serif;
  color: #f5f5f2;
  cursor: pointer;
  text-decoration: none;
}
.btn-whatsapp-outline:hover {
  border-color: #21a85c;
  color: #f5f5f2;
}

.wa-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #21a85c;
  display: inline-block;
}

.lang-chips {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.lang-chip {
  border: 1px solid #2a2d38;
  border-radius: 99px;
  padding: 5px 14px;
  font:
    500 13px "Instrument Sans",
    sans-serif;
  color: #9fa3ae;
}

/* ============ Problem / stats ============ */
.problem {
  padding: 90px 56px;
  text-align: center;
}

.problem h2 {
  margin: 0 auto 54px;
  font:
    600 46px/1.1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.02em;
  max-width: 640px;
}
.site-el .problem h2 {
  font:
    600 44px/1.15 "Space Grotesk",
    sans-serif;
  max-width: 720px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1080px;
  margin: 0 auto;
}

.stat {
  padding: 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat:not(:last-child) {
  border-right: 1px solid rgba(12, 14, 20, 0.1);
}

.stat-num {
  font:
    600 60px/1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.03em;
  color: #2b4bff;
}

.stat-text {
  font:
    400 15px/1.55 "Instrument Sans",
    sans-serif;
  color: #4a4d57;
}

/* ============ Solution rows ============ */
.solution {
  padding: 20px 56px 90px;
  max-width: 1080px;
  margin: 0 auto;
}

.solution-row {
  border-top: 1px solid rgba(12, 14, 20, 0.1);
  display: grid;
  grid-template-columns: 120px 1fr 1.2fr;
  gap: 32px;
  padding: 34px 0;
  align-items: baseline;
}
.solution-row:last-child {
  border-bottom: 1px solid rgba(12, 14, 20, 0.1);
}

.solution-num {
  font:
    700 40px "Space Grotesk",
    sans-serif;
  color: #d8ddff;
}

.solution-title {
  font:
    600 24px "Space Grotesk",
    sans-serif;
  letter-spacing: -0.01em;
}

.solution-text {
  font:
    400 16px/1.6 "Instrument Sans",
    sans-serif;
  color: #4a4d57;
}

/* ============ Demo section ============ */
.demo-section {
  background: #eff1ff;
  border-top: 1px solid #e0e4ff;
  border-bottom: 1px solid #e0e4ff;
  padding: 90px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.demo-intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
}
.site-el .demo-intro {
  max-width: 640px;
}

.demo-intro .eyebrow {
  color: #2b4bff;
}

.demo-intro h2 {
  margin: 0;
  font:
    600 46px/1.1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.02em;
}
.site-el .demo-intro h2 {
  font:
    600 44px/1.12 "Space Grotesk",
    sans-serif;
}

.demo-intro p {
  margin: 0;
  font:
    400 17px/1.6 "Instrument Sans",
    sans-serif;
  color: #4a4d57;
}

/* ============ Verticals ============ */
.verticals {
  padding: 90px 56px;
  max-width: 1080px;
  margin: 0 auto;
}

.verticals h2 {
  margin: 0 0 44px;
  font:
    600 46px/1.1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.02em;
  text-align: center;
}
.site-el .verticals h2 {
  font:
    600 44px/1.12 "Space Grotesk",
    sans-serif;
}

.verticals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.vertical-card {
  border: 1px solid #e7e5e0;
  border-top: 3px solid #2b4bff;
  border-radius: 14px;
  padding: 36px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vertical-title {
  font:
    600 26px "Space Grotesk",
    sans-serif;
}

.vertical-text {
  font:
    400 15.5px/1.6 "Instrument Sans",
    sans-serif;
  color: #4a4d57;
}

.teaser {
  margin-top: 20px;
  border: 1px dashed #c7ceff;
  border-radius: 14px;
  padding: 22px 28px;
  background: #f6f7ff;
  display: flex;
  align-items: center;
  gap: 16px;
}

.teaser-badge {
  flex: none;
  border-radius: 99px;
  padding: 5px 12px;
  background: #d8ddff;
  color: #1e38d6;
  font:
    600 11px ui-monospace,
    Menlo,
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.teaser-text {
  font:
    400 15.5px/1.6 "Instrument Sans",
    sans-serif;
  color: #4a4d57;
}

.teaser-text strong {
  font-weight: 600;
  color: #1b1e26;
}

/* ============ How + About ============ */
.how-about {
  padding: 0 56px 90px;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.how h2 {
  margin: 0 0 40px;
  font:
    600 46px/1.1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.02em;
  text-align: center;
}
.site-el .how h2 {
  font:
    600 44px/1.12 "Space Grotesk",
    sans-serif;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e7e5e0;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-label {
  font:
    600 13px ui-monospace,
    Menlo,
    monospace;
  color: #2b4bff;
}

.step-title {
  font:
    600 19px "Space Grotesk",
    sans-serif;
}

.step-text {
  font:
    400 14.5px/1.55 "Instrument Sans",
    sans-serif;
  color: #4a4d57;
}

.about {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.about-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, #f1efea 0 8px, #e9e7e1 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  font:
    500 9px ui-monospace,
    Menlo,
    monospace;
  color: #8a8d96;
}

.about-quote {
  margin: 0;
  font:
    500 21px/1.55 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.01em;
  color: #1b1e26;
}
.site-el .about-quote {
  line-height: 1.6;
}

.about-byline {
  font:
    400 14.5px "Instrument Sans",
    sans-serif;
  color: #7a7d86;
}

/* ============ Contact ============ */
.contact {
  padding: 90px 56px;
}

.contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-intro h2 {
  margin: 0;
  font:
    600 46px/1.1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.02em;
}
.site-el .contact-intro h2 {
  font:
    600 44px/1.12 "Space Grotesk",
    sans-serif;
}

.contact-intro p {
  margin: 0;
  font:
    400 16.5px/1.6 "Instrument Sans",
    sans-serif;
  color: #9fa3ae;
}

.btn-whatsapp-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #21a85c;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font:
    600 16px "Instrument Sans",
    sans-serif;
  color: #ffffff;
  cursor: pointer;
  align-self: flex-start;
  text-decoration: none;
}
.btn-whatsapp-solid:hover {
  background: #178b4a;
  color: #ffffff;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font:
    400 14px ui-monospace,
    Menlo,
    monospace;
  color: #6b6f7a;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #2a2d38;
  border-radius: 10px;
  padding: 13px 14px;
  font:
    400 15px "Instrument Sans",
    sans-serif;
  background: #15171e;
  color: #f5f5f2;
  outline: none;
}

.contact-form textarea {
  line-height: 1.5;
  min-height: 110px;
  resize: vertical;
}

/* Honeypot: kept in the layout for bots that read the DOM, invisible and
   unreachable for people - never collapse this to `display: none` alone,
   some bots skip fields that are outright hidden. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn-submit {
  background: #2b4bff;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 15px 30px;
  font:
    600 16px "Instrument Sans",
    sans-serif;
  cursor: pointer;
}
.btn-submit:hover {
  background: #1e38d6;
}
.btn-submit.sent,
.btn-submit.sent:hover {
  background: #178b4a;
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-note {
  font:
    400 13px "Instrument Sans",
    sans-serif;
  color: #6b6f7a;
}

.form-error {
  font:
    500 13.5px/1.5 "Instrument Sans",
    sans-serif;
  color: #ff8a8a;
}

/* Consent line under the submit button. Muted like .form-note - it is a
   disclosure, not a call to action. */
.form-privacy {
  font:
    400 12.5px/1.5 "Instrument Sans",
    sans-serif;
  color: #5f636e;
}
.form-privacy a {
  color: #9aa0ae;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-privacy a:hover {
  color: #f5f5f2;
}

.footer {
  max-width: 1080px;
  margin: 70px auto 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #23262f;
  padding-top: 24px;
  font:
    400 13.5px "Instrument Sans",
    sans-serif;
  color: #6b6f7a;
}

/* The global blue link colour has too little contrast on the dark footer. */
.footer a {
  color: #9aa0ae;
  text-decoration: none;
}
.footer a:hover {
  color: #f5f5f2;
  text-decoration: underline;
}

/* ============ Privacy page ============ */
/* The footer sits in its own dark band here rather than at the end of the
   contact section, so it needs the padding that .contact would have given it. */
.legal-footer-wrap {
  padding: 0 56px 56px;
}
/* Logo doubles as the home link on subpages. */
.logo-link {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 900px) {
  .legal-footer-wrap {
    padding: 0 22px 32px;
  }
}

/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 50;
}

.wa-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #21a85c;
  color: #ffffff;
  border-radius: 99px;
  padding: 13px 22px;
  font:
    600 15px "Instrument Sans",
    sans-serif;
  box-shadow: 0 12px 30px -10px rgba(23, 139, 74, 0.5);
  cursor: pointer;
  text-decoration: none;
}
.wa-float a:hover {
  background: #178b4a;
  color: #ffffff;
}

.wa-float .wa-dot {
  background: #ffffff;
}

/* ============ Chat demo widget ============ */
@keyframes cd-blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

@keyframes cd-pop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chat-demo {
  width: 420px;
  height: 600px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7e5e0;
  border-radius: 16px;
  overflow: hidden;
  font-family: "Instrument Sans", system-ui, sans-serif;
  box-shadow: 0 24px 60px -32px rgba(12, 14, 20, 0.28);
}

.cd-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eeece7;
  background: #fcfcfa;
}

.cd-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2b4bff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font:
    600 15px "Space Grotesk",
    sans-serif;
  flex: none;
}

.cd-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cd-title {
  font:
    600 14px "Instrument Sans",
    sans-serif;
  color: #0c0e14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cd-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font:
    400 12px "Instrument Sans",
    sans-serif;
  color: #5a5d66;
}

.cd-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1da463;
  display: inline-block;
}

.cd-lang-pills {
  margin-left: auto;
  display: flex;
  gap: 2px;
  background: #efede8;
  border-radius: 99px;
  padding: 3px;
  flex: none;
}

.cd-lang-pill {
  border: none;
  cursor: pointer;
  border-radius: 99px;
  padding: 4px 10px;
  font:
    600 11px "Instrument Sans",
    sans-serif;
  background: transparent;
  color: #5a5d66;
}
.cd-lang-pill.active {
  background: #0c0e14;
  color: #ffffff;
}

.cd-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafaf8;
}

.cd-msg-bot {
  align-self: flex-start;
  max-width: 82%;
  background: #ffffff;
  border: 1px solid #ebe9e4;
  color: #1b1e26;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  line-height: 1.5;
  animation: cd-pop 0.25s ease both;
}

.cd-msg-user {
  align-self: flex-end;
  max-width: 82%;
  background: #2b4bff;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 14px;
  line-height: 1.5;
  animation: cd-pop 0.25s ease both;
}

.cd-summary {
  align-self: stretch;
  background: #eff1ff;
  border: 1px solid #d8ddff;
  border-radius: 12px;
  padding: 14px;
  animation: cd-pop 0.3s ease both;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cd-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font:
    600 13px "Instrument Sans",
    sans-serif;
  color: #1e38d6;
}

.cd-summary-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2b4bff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.cd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cd-chip {
  background: #ffffff;
  border: 1px solid #d8ddff;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 12px;
  color: #2b3564;
}

.cd-summary-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: #4a5070;
}

.cd-typing {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid #ebe9e4;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  display: flex;
  gap: 4px;
}

.cd-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a8d96;
  animation: cd-blink 1s infinite;
}
.cd-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.cd-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.cd-footer {
  border-top: 1px solid #eeece7;
  background: #ffffff;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cd-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cd-option {
  background: #ffffff;
  border: 1.5px solid #2b4bff;
  color: #2b4bff;
  border-radius: 99px;
  padding: 8px 14px;
  font:
    500 13px "Instrument Sans",
    sans-serif;
  cursor: pointer;
}
.cd-option:hover {
  background: #2b4bff;
  color: #ffffff;
}

.cd-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-input {
  flex: 1;
  min-width: 0;
  border: 1px solid #e7e5e0;
  border-radius: 99px;
  padding: 9px 14px;
  font:
    400 13px "Instrument Sans",
    system-ui,
    sans-serif;
  color: #1b1e26;
  background: #fcfcfa;
  outline: none;
}
.cd-input::placeholder {
  color: #9a9da6;
}

.cd-send {
  width: 36px;
  height: 36px;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: #efede8;
  color: #9a9da6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
  cursor: pointer;
}

/* ============================================================================
   RESPONSIVE
   ----------------------------------------------------------------------------
   Additive only. Every rule below lives in a max-width query, so the desktop
   layout at >=1100px - the width the fixed design was built for - is untouched.
   The two base rules that follow style elements that exist solely for mobile,
   so hiding them costs desktop nothing.
   ========================================================================== */

.nav-toggle {
  display: none;
}

/* Duplicates the nav's Contact CTA inside the mobile dropdown, where the
   standalone .btn-nav-contact is hidden. */
.nav-link-contact {
  display: none;
}

/* ---------------------------------------------------------------- <=1099px --
   Small desktop / large tablet. Releases the 1100px floor so the page can
   go fluid, and pulls the 56px gutters in. Layout stays multi-column.        */
@media (max-width: 1099px) {
  .page {
    min-width: 0;
  }

  .nav {
    padding: 20px 32px;
  }
  .hero {
    padding: 76px 32px 88px;
  }
  .problem,
  .demo-section,
  .verticals,
  .contact {
    padding: 72px 32px;
  }
  .solution {
    padding: 20px 32px 72px;
  }
  .how-about {
    padding: 0 32px 72px;
  }

  .hero h1 {
    font-size: 66px;
  }
  .site-el .hero h1 {
    font-size: 60px;
  }

  .problem h2,
  .site-el .problem h2,
  .demo-intro h2,
  .site-el .demo-intro h2,
  .verticals h2,
  .site-el .verticals h2,
  .how h2,
  .site-el .how h2,
  .contact-intro h2,
  .site-el .contact-intro h2 {
    font-size: 40px;
  }

  .stat {
    padding: 0 22px;
  }
  .stat-num {
    font-size: 50px;
  }
  .contact-grid {
    gap: 44px;
  }
  .footer {
    margin-top: 56px;
  }
}

/* ----------------------------------------------------------------- <=900px --
   Tablet. Nav collapses to a hamburger and every side-by-side grid becomes a
   single column.                                                            */
@media (max-width: 900px) {
  .nav {
    position: relative;
    gap: 14px;
  }

  /* Bar: logo … lang pills, hamburger. The full-width CTA moves into the panel. */
  .btn-nav-contact {
    display: none;
  }
  .lang-pills {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: #f5f5f2;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  /* Three bars fold into an X. */
  .nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Dropdown panel - out of flow so it never widens the bar. */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 6px 0;
    background: #15171e;
    border-top: 1px solid #23262f;
    border-bottom: 1px solid #23262f;
  }
  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 32px;
    font-size: 16px;
  }
  .nav-link-contact {
    display: flex;
    color: #6e86ff;
  }

  .lang-pill {
    min-height: 34px;
    padding: 6px 14px;
  }

  /* Touch sizing starts here, not at the phone breakpoint - 768px is iPad
     portrait, a touch device, and it must clear 44px too. */
  .cd-option {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
  }
  .cd-send {
    width: 44px;
    height: 44px;
  }
  .cd-input {
    min-height: 44px;
    /* 16px keeps iOS Safari from zooming the page in on focus. */
    font-size: 16px;
  }
  .cd-lang-pill {
    min-height: 34px;
    padding: 7px 12px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 46px;
    font-size: 16px;
  }
  .btn-submit {
    min-height: 50px;
  }

  /* Stack every multi-column layout. */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .stat {
    padding: 0;
  }
  .stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(12, 14, 20, 0.1);
    padding-bottom: 26px;
  }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .verticals-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .how-about {
    gap: 52px;
  }

  .teaser {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    padding: 60px 32px 72px;
    gap: 22px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .site-el .hero h1 {
    font-size: 42px;
  }
  .hero-sub {
    font-size: 18px;
  }

  .problem h2,
  .site-el .problem h2,
  .demo-intro h2,
  .site-el .demo-intro h2,
  .verticals h2,
  .site-el .verticals h2,
  .how h2,
  .site-el .how h2,
  .contact-intro h2,
  .site-el .contact-intro h2 {
    font-size: 34px;
  }
}

/* ----------------------------------------------------------------- <=767px --
   Phone / small tablet. Single column throughout, full-width controls, and
   touch targets brought up to 44px.                                         */
@media (max-width: 767px) {
  .nav {
    padding: 16px 20px;
  }
  .nav-links .nav-link {
    padding: 0 20px;
  }

  .hero {
    padding: 48px 20px 60px;
  }
  .problem,
  .demo-section,
  .verticals,
  .contact {
    padding: 60px 20px;
  }
  .solution {
    padding: 12px 20px 60px;
  }
  .how-about {
    padding: 0 20px 60px;
  }

  .hero h1 {
    font-size: 38px;
  }
  .site-el .hero h1 {
    font-size: 34px;
  }
  .hero-sub {
    font-size: 16.5px;
  }

  .problem h2,
  .site-el .problem h2,
  .demo-intro h2,
  .site-el .demo-intro h2,
  .verticals h2,
  .site-el .verticals h2,
  .how h2,
  .site-el .how h2,
  .contact-intro h2,
  .site-el .contact-intro h2 {
    font-size: 30px;
  }

  /* CTAs go full width and stack. */
  .hero-ctas {
    flex-direction: column;
    align-self: stretch;
    gap: 10px;
  }
  .btn-primary,
  .btn-whatsapp-outline {
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .lang-chips {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Demo widget goes fluid; it stays internally scrollable. */
  .chat-demo {
    width: 100%;
    max-width: 420px;
    height: 560px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form textarea {
    min-height: 130px;
  }
  .btn-whatsapp-solid {
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    justify-content: center;
    align-self: stretch;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    margin-top: 48px;
    /* Room for the floating WhatsApp button so it never sits on the text. */
    padding-bottom: 72px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
  }
}

/* ----------------------------------------------------------------- <=480px --
   iPhone range (375–428px).                                                  */
@media (max-width: 480px) {
  .nav {
    padding: 14px 16px;
    gap: 10px;
  }
  .logo {
    font-size: 18px;
  }
  .nav-links .nav-link {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 16px 52px;
    gap: 18px;
  }
  .problem,
  .demo-section,
  .verticals,
  .contact {
    padding: 48px 16px;
  }
  .solution {
    padding: 8px 16px 48px;
  }
  .how-about {
    padding: 0 16px 48px;
    gap: 44px;
  }

  .hero h1 {
    font-size: 32px;
  }
  .site-el .hero h1 {
    font-size: 28px;
  }

  .problem h2,
  .site-el .problem h2,
  .demo-intro h2,
  .site-el .demo-intro h2,
  .verticals h2,
  .site-el .verticals h2,
  .how h2,
  .site-el .how h2,
  .contact-intro h2,
  .site-el .contact-intro h2 {
    font-size: 26px;
  }

  .problem h2 {
    margin-bottom: 36px;
  }
  .stat-num {
    font-size: 42px;
  }
  .solution-num {
    font-size: 30px;
  }
  .solution-title {
    font-size: 20px;
  }

  .vertical-card,
  .step-card {
    padding: 24px 20px;
  }
  .vertical-title {
    font-size: 22px;
  }
  .teaser {
    padding: 18px 20px;
  }

  .about-quote {
    font-size: 18px;
  }
  .about {
    gap: 14px;
  }

  .chat-demo {
    height: 520px;
  }

  .footer {
    font-size: 12.5px;
  }
  .wa-float a {
    padding: 12px 18px;
    font-size: 14px;
  }
}
