:root {
  color-scheme: light;
  --ink: #24405d;
  --dark: #151515;
  --muted: #6f8194;
  --green: #00d084;
  --green-dark: #006f78;
  --blue: #1f6de0;
  --cyan: #4fb4ff;
  --line: #e8eef4;
  --soft: #f5f9fb;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(35, 64, 93, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.topbar nav,
.navActions,
.heroActions,
.customerLogos div,
.integrationLogos,
.stats,
.socialLinks,
.footerBottom {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  justify-self: start;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.brandIcon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 24px;
  color: var(--green);
  font-weight: 950;
  font-size: 28px;
  transform: skew(-20deg);
}

.topbar nav {
  gap: 26px;
  justify-self: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.navActions {
  justify-self: end;
  gap: 18px;
  font-size: 13px;
  font-weight: 850;
}

.navCta,
.primaryButton,
.smallButton,
.greenContent a,
.ctaBand a,
.footerCta a,
.leadForm button {
  border: 0;
  border-radius: 9px;
  color: white;
  background: var(--green-dark);
  font-weight: 950;
  cursor: pointer;
}

.navCta {
  padding: 9px 16px;
}

.hero {
  max-width: 1180px;
  min-height: 440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding: 74px 24px 96px;
}

.hero h1 {
  max-width: 420px;
  margin-bottom: 16px;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}

.heroActions {
  gap: 28px;
  margin-top: 30px;
}

.textLink {
  color: var(--green);
  font-weight: 950;
}

.primaryButton,
.smallButton {
  padding: 13px 20px;
}

.heroMock {
  position: relative;
  min-height: 330px;
}

.phoneMock,
.dashboardCard,
.statusCard {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.phoneMock {
  left: 70px;
  top: 32px;
  width: 145px;
  height: 260px;
  padding: 18px 12px;
  border-radius: 24px;
  transform: rotate(-5deg);
}

.phoneHeader {
  width: 44px;
  height: 5px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #c9d8e4;
}

.messageBubble {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 13px;
  color: var(--ink);
  background: #e9fff5;
  font-size: 12px;
  line-height: 1.45;
}

.messageBubble.muted {
  background: #f1f5f9;
  color: var(--green-dark);
}

.dashboardCard {
  right: 28px;
  top: 6px;
  width: 230px;
  min-height: 190px;
  padding: 22px;
  border-radius: 18px;
  transform: rotate(3deg);
}

.dashboardCard span,
.dashboardCard small {
  color: var(--muted);
}

.dashboardCard strong {
  display: block;
  margin: 12px 0 4px;
  font-size: 40px;
}

.chartBars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
  height: 68px;
  margin-top: 18px;
}

.chartBars i {
  display: block;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--green), #9df4d3);
}

.chartBars i:nth-child(1) { height: 38%; }
.chartBars i:nth-child(2) { height: 64%; }
.chartBars i:nth-child(3) { height: 44%; }
.chartBars i:nth-child(4) { height: 82%; }
.chartBars i:nth-child(5) { height: 56%; }

.statusCard {
  right: 104px;
  bottom: 20px;
  display: grid;
  gap: 8px;
  width: 250px;
  padding: 18px;
  border-radius: 18px;
  transform: rotate(-2deg);
}

.statusCard b {
  font-size: 17px;
}

.statusCard span {
  color: var(--muted);
  font-size: 13px;
}

.statusCard span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
  font-weight: 950;
}

.customerLogos {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 24px 86px;
  text-align: center;
}

.customerLogos p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customerLogos div {
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 24px;
}

.customerLogos span {
  color: #1f2937;
  font-size: 18px;
  font-weight: 950;
  opacity: 0.72;
}

.gatewayIntro {
  text-align: center;
  overflow: hidden;
}

.gatewayIntro h2,
.integrations h2,
.testimonials h2 {
  margin-bottom: 28px;
  font-size: 26px;
}

.greenBand {
  position: relative;
  min-height: 350px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: white;
}

.greenBand::before {
  content: "";
  position: absolute;
  inset: 54px -6vw 18px;
  z-index: -1;
  background: var(--green);
  transform: skewY(4deg);
}

.floatingPhone {
  justify-self: end;
  width: 118px;
  height: 270px;
  margin-right: 120px;
  padding: 20px 14px;
  border: 7px solid #e5e7eb;
  border-radius: 34px;
  background: white;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.18);
}

.floatingPhone div,
.floatingPhone span {
  display: block;
  border-radius: 999px;
}

.floatingPhone div {
  height: 52px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #e8fff5, #dbeafe);
}

.floatingPhone span {
  height: 10px;
  margin: 12px 0;
  background: #d7efe5;
}

.greenContent {
  max-width: 410px;
  text-align: left;
}

.greenContent h3 {
  font-size: 24px;
}

.greenContent p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.greenContent a {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 16px;
  border: 1px solid white;
  background: transparent;
}

.integrations {
  max-width: 980px;
  margin: 0 auto;
  padding: 58px 24px 44px;
  text-align: center;
}

.integrationLogos {
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 28px;
}

.integrationLogos span {
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 48px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 950;
}

.smallButton {
  display: inline-block;
  padding: 12px 18px;
}

.developerBlock {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 24px 78px;
}

.quote {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 28px;
  font-style: italic;
  text-align: center;
}

.codeWindow {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.codeTop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 0;
  color: #b8c7d9;
}

.codeTop span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #38bdf8;
}

.codeTop span:first-child { background: #ef4444; }
.codeTop span:nth-child(2) { background: #f59e0b; }

pre {
  margin: 0;
  padding: 22px;
  overflow: auto;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.7;
}

.developerFeatures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.developerFeatures article {
  display: grid;
  gap: 6px;
}

.developerFeatures span {
  color: var(--muted);
  line-height: 1.5;
}

.statsBand {
  padding: 78px 24px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #1422a8, #1f6de0);
}

.statsBand h2 {
  margin-bottom: 34px;
  font-size: 27px;
}

.stats {
  justify-content: center;
  flex-wrap: wrap;
  gap: 54px;
}

.stats strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.stats span {
  display: block;
  max-width: 130px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.featureGrid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
  padding: 36px 24px 76px;
}

.featureGrid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
}

.featureGrid i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid #8fc9ff;
  border-radius: 999px;
  color: var(--blue);
  font-style: normal;
  font-weight: 950;
}

.featureGrid span {
  color: var(--muted);
  line-height: 1.45;
}

.testimonials {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px 76px;
  text-align: center;
}

.testimonialGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.testimonialGrid article,
.partnerBlock article,
.contactCards article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  padding: 24px;
}

.testimonialGrid p {
  color: var(--muted);
  line-height: 1.6;
}

.testimonialGrid b,
.testimonialGrid span {
  display: block;
}

.testimonialGrid span {
  color: var(--green-dark);
  margin-top: 4px;
}

.partnerBlock {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.partnerBlock h2 {
  margin-bottom: 30px;
  text-align: center;
  font-size: 26px;
}

.partnerBlock div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.partnerBlock article {
  display: grid;
  gap: 8px;
  background: white;
}

.partnerBlock span,
.contactCards span {
  color: var(--muted);
  line-height: 1.5;
}

.ctaBand,
.footerCta {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-radius: 18px;
  color: white;
  background: var(--cyan);
}

.ctaBand {
  padding: 30px 38px;
}

.ctaBand h2,
.footerCta h2 {
  margin-bottom: 8px;
}

.ctaBand p,
.footerCta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.ctaBand a,
.footerCta a {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid white;
  background: transparent;
}

.contactSection {
  max-width: 780px;
  margin: 0 auto;
  padding: 78px 24px 80px;
}

.contactSection h2 {
  font-size: 32px;
}

.contactNote {
  color: var(--muted);
}

.leadForm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.leadForm label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.leadForm .full,
.leadForm button,
.formStatus,
.turnstileField {
  grid-column: 1 / -1;
}

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

.turnstileField {
  min-height: 65px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd9e3;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.leadForm button {
  justify-self: start;
  padding: 12px 18px;
}

.formStatus {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.formStatus.ok {
  color: #0f8f54;
}

.formStatus.error {
  color: #b91c1c;
}

.contactCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 46px;
  text-align: center;
}

.contactCards article {
  display: grid;
  gap: 8px;
}

.siteFooter {
  margin-top: 34px;
  color: white;
  background: var(--dark);
}

.footerCta {
  position: relative;
  top: -48px;
  padding: 28px 34px;
}

.footerInner {
  max-width: 980px;
  margin: -10px auto 0;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 54px;
  padding: 0 24px 54px;
}

.footerBrand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footerLogo {
  color: white;
}

.footerBrand p,
.footerBrand span,
.footerColumn a,
.footerBottom {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.socialLinks {
  gap: 10px;
}

.socialLinks a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--dark);
  background: white;
  font-size: 11px;
  font-weight: 950;
}

.footerColumn {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footerColumn h3 {
  margin-bottom: 8px;
  color: white;
  font-size: 17px;
}

.footerColumn a:hover {
  color: var(--green);
}

.footerBottom {
  max-width: 980px;
  margin: 0 auto;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 38px;
  font-size: 12px;
}

.policyModal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.policyModal.isOpen {
  display: grid;
}

.policyBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, 0.62);
  backdrop-filter: blur(6px);
}

.policyDialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, 86vh);
  overflow: auto;
  border-radius: 22px;
  background: white;
  box-shadow: 0 34px 90px rgba(8, 18, 32, 0.28);
  padding: 34px;
}

.policyClose {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--soft);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.policyEyebrow {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policyDialog h2 {
  margin-right: 46px;
  font-size: 30px;
}

.policyBody {
  display: grid;
  gap: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.policyBody h3 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 18px;
}

.policyBody ul {
  margin: 0;
  padding-left: 20px;
}

.policyBody li {
  margin: 8px 0;
}

.cookieConsent {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
}

.cookieConsent.isOpen {
  display: grid;
}

.cookieOverlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 24, 0.66);
  backdrop-filter: blur(4px);
}

.cookiePanel {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(760px, 90vh);
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: 0 34px 90px rgba(10, 16, 24, 0.34);
  padding: 34px;
}

.cookieIcon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 4px solid #ff5a2a;
  border-radius: 16px;
  color: #ff5a2a;
  font-weight: 950;
}

.cookiePanel h2 {
  margin-bottom: 12px;
  color: #252a31;
  font-size: 28px;
}

.cookiePanel p {
  max-width: 800px;
  color: #343a43;
  line-height: 1.55;
}

.cookiePolicyLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 20px;
}

.cookiePolicyLinks button {
  border: 0;
  border-bottom: 1px solid #252a31;
  padding: 0 0 2px;
  color: #252a31;
  background: transparent;
  cursor: pointer;
}

.cookieDetail {
  display: none;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
  padding: 18px;
  color: #343a43;
  line-height: 1.55;
}

.cookieDetail.isOpen {
  display: block;
}

.cookieDetail h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.cookieDetail h4 {
  margin: 14px 0 6px;
  color: var(--ink);
}

.cookieDetail ul {
  margin: 0;
  padding-left: 20px;
}

.cookieDetail li {
  margin: 7px 0;
}

.cookieSwitches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 34px;
}

.cookieSwitches label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 136px;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 18px;
  background: #f6f8fb;
  color: #252a31;
  font-weight: 850;
}

.cookieSwitches input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.cookieSwitches i {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #73777e;
}

.cookieSwitches i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}

.cookieSwitches input:checked + i {
  background: var(--green-dark);
}

.cookieSwitches input:checked + i::after {
  transform: translateX(18px);
}

.cookieSwitches .locked i {
  background: #c7cbd1;
}

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

.cookieActions button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  border: 1px solid #252a31;
  border-radius: 12px;
  padding: 12px 16px;
  background: white;
  color: #252a31;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  white-space: normal;
}

.cookieActions button:last-child {
  color: white;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .greenBand,
  .featureGrid,
  .developerFeatures,
  .partnerBlock div,
  .footerInner {
    grid-template-columns: 1fr;
  }

  .topbar {
    justify-items: start;
  }

  .topbar nav,
  .navActions,
  .footerBottom {
    flex-wrap: wrap;
    justify-self: start;
  }

  .heroMock {
    min-height: 360px;
  }

  .floatingPhone,
  .greenContent {
    justify-self: center;
    margin: 0;
    text-align: center;
  }

  .greenBand {
    gap: 28px;
    padding: 60px 24px;
  }

  .greenBand::before {
    inset: 20px -6vw;
  }
}

@media (max-width: 700px) {
  .topbar nav {
    gap: 14px;
  }

  .hero {
    padding-top: 48px;
  }

  .heroMock {
    min-height: 430px;
  }

  .phoneMock,
  .dashboardCard,
  .statusCard {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 14px;
    transform: none;
  }

  .phoneMock {
    height: 250px;
  }

  .stats {
    gap: 28px;
  }

  .stats strong {
    font-size: 34px;
  }

  .testimonialGrid,
  .contactCards,
  .leadForm {
    grid-template-columns: 1fr;
  }

  .ctaBand,
  .footerCta {
    align-items: flex-start;
    flex-direction: column;
  }

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