:root {
  --ink: #10242c;
  --muted: #60737b;
  --line: #d8e4e7;
  --paper: #f7fbfb;
  --white: #ffffff;
  --teal: #13b8b1;
  --teal-dark: #087c83;
  --mint: #dff7f3;
  --navy: #183a4a;
  --coral: #f26d5b;
  --amber: #f5b84b;
  --shadow: 0 24px 70px rgba(13, 64, 72, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.site-header,
main,
.site-footer {
  width: min(100%, 1520px);
  margin-inline: auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(247, 251, 251, .92);
  border-bottom: 1px solid rgba(216, 228, 231, .85);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 196px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

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

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  background: var(--teal);
  color: #062e35;
  box-shadow: 0 12px 28px rgba(19, 184, 177, .22);
}

.secondary-button {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.hero {
  min-height: calc(92vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(26px, 4vw, 48px) clamp(18px, 5vw, 72px) 32px;
  overflow: hidden;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, .7);
  font-weight: 700;
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -28px 7% 18% -8%;
  background: linear-gradient(135deg, var(--mint), rgba(245, 184, 75, .22));
  border-radius: 28px;
  transform: rotate(-2deg);
}

.hero-visual img {
  position: relative;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(16, 36, 44, .12);
  box-shadow: var(--shadow);
}

.intro-band,
.metrics,
.section,
.screen-showcase,
.timeline,
.demo-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 36px;
  background: var(--navy);
  color: var(--white);
}

.intro-band p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.intro-band .section-kicker {
  color: var(--amber);
}

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

.metrics div {
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: #f4faf9;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  margin-bottom: 6px;
  font-size: 24px;
}

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

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

.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.section-heading.compact {
  max-width: 720px;
}

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

.feature-card {
  min-height: 280px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 36, 44, .06);
}

.feature-card p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 900;
}

.feature-card:nth-child(3n+2) .icon {
  background: #fff3d8;
  color: #9b6500;
}

.feature-card:nth-child(3n) .icon {
  background: #ffe8e3;
  color: #b64131;
}

.screen-showcase {
  background: #eaf5f4;
}

.screen-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.screen-tabs {
  display: grid;
  gap: 10px;
}

.screen-tab {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.screen-tab.is-active {
  color: #06363a;
  border-color: rgba(19, 184, 177, .45);
  background: var(--teal);
}

.screen-preview {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 36, 44, .12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screen-preview img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: center;
  background: #f4faf9;
}

.screen-caption {
  display: block;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.screen-caption h3 {
  margin: 0 0 8px;
}

.screen-caption p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.process-section {
  background: var(--white);
}

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

.process-grid div {
  padding: 26px;
  border-top: 3px solid var(--coral);
  background: var(--paper);
}

.process-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.process-grid p {
  color: var(--muted);
}

.timeline {
  background: var(--navy);
  color: var(--white);
}

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

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

.timeline-list article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.timeline-list time {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--teal);
  font-weight: 900;
}

.timeline-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .72);
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr);
  gap: 34px;
  align-items: start;
  background: linear-gradient(135deg, #f8fcfc 0%, #e5f5f2 100%);
}

.demo-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  color: var(--teal-dark);
}

.contact-stack a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 500;
}

.contact-stack a:hover {
  color: var(--teal-dark);
}

.contact-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(19, 184, 177, .35);
  border-radius: 8px;
  background: rgba(19, 184, 177, .1);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.contact-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.whatsapp-icon {
  border-color: rgba(37, 211, 102, .42);
  background: rgba(37, 211, 102, .12);
  color: #138a43;
}

.demo-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.demo-form label,
.demo-form span {
  display: grid;
  gap: 7px;
}

.demo-form span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

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

.demo-form input:focus {
  outline: 3px solid rgba(19, 184, 177, .18);
  border-color: var(--teal);
}

.demo-form .primary-button {
  width: 100%;
  margin-top: 4px;
  font: inherit;
  font-weight: 900;
}

.demo-form .primary-button:disabled {
  cursor: wait;
  opacity: .72;
  box-shadow: none;
}

.demo-form.is-submitting label,
.demo-form.is-submitting .form-note,
.demo-form.is-submitting .form-status {
  opacity: .42;
}

.form-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--navy);
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.demo-form.is-submitting .form-overlay {
  display: flex;
}

.form-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(19, 184, 177, .24);
  border-top-color: var(--teal);
  border-radius: 999px;
  animation: form-spin .8s linear infinite;
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(19, 184, 177, .12);
  color: #06696f;
}

.form-status.is-error {
  background: rgba(242, 109, 91, .12);
  color: #9d3326;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .5fr) minmax(220px, .7fr);
  gap: 28px;
  padding: 36px clamp(18px, 5vw, 72px);
  background: #0e222b;
  color: rgba(255, 255, 255, .72);
}

.site-footer img {
  width: 188px;
  margin-bottom: 16px;
  filter: brightness(1.08);
}

.site-footer .footer-logo {
  width: 170px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.footer-links,
.legal-info {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-weight: 600;
}

.footer-line,
.legal-info span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-line {
  margin-bottom: 10px;
}

.footer-address-line {
  display: inline-block;
  margin-top: 2px;
}

.footer-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(19, 184, 177, .28);
  border-radius: 6px;
  background: rgba(19, 184, 177, .1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal-page header {
  margin-bottom: 34px;
}

.legal-page a {
  color: var(--teal-dark);
  font-weight: 800;
}

.legal-page section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-page h3 {
  margin-top: 22px;
}

.legal-list {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
}

.legal-list li {
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .intro-band,
  .demo-section,
  .screen-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 820px;
  }

  .feature-grid,
  .metrics,
  .process-grid,
  .timeline-list,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand img {
    width: 160px;
  }

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

  .hero-actions,
  .hero-actions a {
    width: 100%;
  }

  .feature-grid,
  .metrics,
  .process-grid,
  .timeline-list,
  .site-footer,
  .screen-tabs {
    grid-template-columns: 1fr;
  }

  .screen-caption {
    display: block;
  }

  .screen-caption h3 {
    margin-bottom: 8px;
  }
}
