:root {
  --blue: #0b5cff;
  --blue-dark: #073a9d;
  --green: #00a878;
  --green-dark: #08765a;
  --red: #e53935;
  --ink: #111827;
  --muted: #5d6b82;
  --line: #d9e2ef;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(31, 45, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 239, 0.8);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  font-weight: 900;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
  min-height: 760px;
  padding: 72px clamp(20px, 5vw, 72px) 88px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(11, 92, 255, 0.08), rgba(0, 168, 120, 0.08) 42%, rgba(229, 57, 53, 0.06)),
    var(--white);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.legal-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(11, 92, 255, 0.24);
}

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

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
}

.phone-shell {
  position: relative;
  width: min(360px, 74vw);
  aspect-ratio: 0.54;
  padding: 20px;
  background: #18202e;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.phone-top {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 82px;
  height: 7px;
  background: #2c3443;
  border-radius: 999px;
  transform: translateX(-50%);
}

.app-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 34px 18px 20px;
  background: #f9fbff;
  border-radius: 22px;
  overflow: hidden;
}

.metric-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.metric-strip span,
.growth-chart i {
  display: block;
  border-radius: 8px;
}

.metric-strip span {
  height: 56px;
  background: #eaf0fb;
}

.metric-strip span:nth-child(1) {
  background: rgba(11, 92, 255, 0.14);
}

.metric-strip span:nth-child(2) {
  background: rgba(0, 168, 120, 0.16);
}

.metric-strip span:nth-child(3) {
  background: rgba(229, 57, 53, 0.14);
}

.screen-panel {
  min-height: 148px;
  padding: 18px;
  color: var(--white);
  border-radius: 8px;
}

.screen-panel strong,
.screen-panel span {
  display: block;
}

.screen-panel strong {
  font-size: 1.25rem;
}

.screen-panel span {
  margin-top: 8px;
  opacity: 0.82;
}

.panel-blue {
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, var(--blue), #119ad9);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.screen-grid div {
  min-height: 94px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.screen-grid b,
.screen-grid span {
  display: block;
}

.screen-grid b {
  color: var(--blue-dark);
}

.screen-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.growth-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  min-height: 110px;
  padding: 14px;
  margin-top: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.growth-chart i:nth-child(1) {
  height: 36%;
  background: var(--blue);
}

.growth-chart i:nth-child(2) {
  height: 55%;
  background: var(--green);
}

.growth-chart i:nth-child(3) {
  height: 76%;
  background: var(--blue);
}

.growth-chart i:nth-child(4) {
  height: 92%;
  background: var(--red);
}

.signal {
  position: absolute;
  min-width: 118px;
  padding: 10px 14px;
  color: var(--white);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
  box-shadow: var(--shadow);
}

.signal-green {
  right: 8%;
  top: 18%;
  background: var(--green);
}

.signal-red {
  left: 5%;
  bottom: 18%;
  background: var(--red);
}

.section {
  padding: 86px clamp(20px, 5vw, 72px);
}

.band {
  background: var(--soft);
}

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

.section h2,
.legal-content h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.two-column,
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
}

.two-column p,
.split p,
.contact-section p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.03rem;
}

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

.service-card {
  min-height: 244px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-accent {
  display: block;
  width: 40px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 999px;
}

.card-accent.blue {
  background: var(--blue);
}

.card-accent.green {
  background: var(--green);
}

.card-accent.red {
  background: var(--red);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  align-items: start;
}

.split h2 {
  max-width: 780px;
}

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

.stat-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-row span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.stat-row:nth-child(2) span {
  background: var(--green);
}

.stat-row:nth-child(3) span {
  background: var(--red);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-style: normal;
}

.contact-card strong {
  color: var(--blue-dark);
  font-size: 1.1rem;
}

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

.contact-card a,
.legal-content a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #101827;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  color: #c8d4e8;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  padding: 72px clamp(20px, 5vw, 72px) 52px;
  background:
    linear-gradient(115deg, rgba(11, 92, 255, 0.1), rgba(0, 168, 120, 0.08), rgba(229, 57, 53, 0.06)),
    var(--soft);
}

.legal-hero h1 {
  margin-bottom: 12px;
}

.legal-hero p:last-child {
  color: var(--muted);
}

.legal-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-content ul {
  padding-left: 22px;
}

@media (max-width: 960px) {
  .hero,
  .two-column,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-visual {
    min-height: 500px;
  }

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

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .nav,
  .footer-links {
    gap: 12px 16px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1,
  .legal-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4.1rem);
  }

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

  .button {
    width: 100%;
  }

  .product-visual {
    min-height: 430px;
  }

  .phone-shell {
    width: min(280px, 86vw);
    padding: 14px;
    border-radius: 26px;
  }

  .app-screen {
    gap: 12px;
    padding: 28px 12px 14px;
    border-radius: 18px;
  }

  .screen-panel {
    min-height: 116px;
  }

  .metric-strip span {
    height: 44px;
  }

  .signal {
    display: none;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

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

  .service-card {
    min-height: auto;
  }
}
