:root {
  --primary: #00B7EB;
  --primary-hover: #008CC6;
  --accent: #69D4FF;
  --paper: #FFFFFF;
  --soft: #F4FBFE;
  --ink: #212529;
  --muted: #6B7280;
  --dark: #07111d;
  --dark-2: #0b1d2b;
  --line: #dcebf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(18px, 8vw, 148px);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  min-width: 86px;
  padding: 3px 0 11px;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 8px;
  line-height: 1;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--primary);
  transform: translateX(-50%);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:last-child {
  color: #fff;
  background: var(--primary);
}

.hero {
  position: relative;
  min-height: 520px;
  padding: 132px clamp(18px, 8vw, 148px) 52px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.98) 0%, rgba(7, 17, 29, 0.94) 48%, rgba(7, 17, 29, 0.70) 70%, rgba(7, 17, 29, 0.28) 100%),
    url("assets/hero-email-marketing.png") right center / cover no-repeat,
    var(--dark);
}

.hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -40px;
  width: 520px;
  height: 520px;
  background: linear-gradient(135deg, rgba(0, 183, 235, 0.32), rgba(105, 212, 255, 0.04));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  right: 166px;
  top: 154px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 32px solid var(--primary);
  transform: rotate(-14deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.process .eyebrow {
  color: #fff;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  color: var(--accent);
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.09;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.lead {
  max-width: 620px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.button.primary::after {
  content: "→";
  margin-left: 12px;
}

.button.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.proof-line span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 800;
}

.signature {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.hero-symbol {
  display: none;
}

.section {
  padding: clamp(56px, 7vw, 82px) clamp(18px, 8vw, 148px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.services {
  background: #fff;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.icon-grid article {
  min-height: 160px;
  padding: 20px 14px 18px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: var(--primary-hover);
  border: 1px solid var(--line);
  font-size: 27px;
  line-height: 1;
}

.icon-grid p,
.timeline p,
.data p,
.contact p {
  color: var(--muted);
}

.icon-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.process {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 17, 29, 0.96), rgba(7, 17, 29, 0.98)),
    var(--dark);
}

.process h2 {
  color: #fff;
}

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

.timeline article {
  position: relative;
  text-align: center;
}

.timeline article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -24px;
  top: 42px;
  color: var(--primary);
  font-size: 28px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 16px;
  color: var(--primary);
  border: 1px solid rgba(105, 212, 255, 0.45);
  border-radius: 50%;
  font-weight: 900;
}

.timeline h3 {
  color: #fff;
}

.timeline p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.automation-band {
  padding: 34px clamp(18px, 8vw, 148px) 42px;
  color: #fff;
  background: linear-gradient(90deg, var(--primary-hover), var(--primary), var(--accent));
  text-align: center;
}

.automation-band p {
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.automation-band div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.automation-band span {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.data {
  background: #fff;
}

.data-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 22px;
  max-width: 920px;
}

.data-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(33, 37, 41, 0.05);
}

.stat-card {
  display: grid;
  gap: 6px;
}

.stat-card strong {
  color: var(--primary-hover);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.stat-card small {
  color: var(--muted);
}

.data ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.data li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 750;
}

.data li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: var(--soft);
}

.contact-panel {
  padding: 30px;
  color: #fff;
  background: var(--dark);
  box-shadow: 12px 12px 0 var(--primary);
}

.contact-panel span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.70);
  font-weight: 750;
}

.contact-panel a {
  display: block;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  text-decoration: none;
}

.contact-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 8vw, 148px);
  color: #fff;
  background: var(--dark);
}

@media (max-width: 1060px) {
  .automation-band div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .timeline article::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    color: #fff;
    background: var(--dark);
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .icon-grid,
  .automation-band div,
  .timeline,
  .data-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .icon-grid article {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    display: none;
  }

  .nav a {
    padding: 7px 8px;
    font-size: 12px;
  }
}
