:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee8;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --navy: #0f1b2d;
  --shadow: 0 18px 50px rgba(15, 27, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  color: var(--white);
  background: var(--blue);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 222, 232, 0.75);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
.strip,
.contact {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: 138px;
  height: 40px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 180ms ease;
}

.brand:hover img {
  transform: translateY(-1px);
}

.nav {
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 6vw, 82px) clamp(20px, 4vw, 56px) clamp(24px, 5vw, 52px);
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.hero-copy {
  max-width: 710px;
  animation: heroCopyIn 620ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 13vw, 9.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.24);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
}

.hero-media {
  width: 100%;
  animation: heroMediaIn 760ms ease 90ms both;
}

.hero-media img {
  width: 100%;
  min-height: 340px;
  max-height: 620px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateZ(0);
  animation: heroFloat 7s ease-in-out infinite;
}

.strip {
  justify-content: center;
  gap: 1px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: var(--navy);
}

.strip div {
  width: min(100%, 380px);
  min-height: 112px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
}

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

.strip strong {
  font-size: 1.4rem;
}

.strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 56px);
}

.muted {
  background: var(--paper);
}

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

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

.service,
.price,
.examples article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service:hover,
.price:hover,
.examples article:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 16px 42px rgba(15, 27, 45, 0.1);
}

.service p,
.examples p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.service-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf1ff;
  font-weight: 900;
}

.price {
  min-height: 360px;
}

.price.featured {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow);
}

.price-type {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 850;
}

.price h3 {
  margin-bottom: 22px;
  font-size: 2.4rem;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

li + li {
  margin-top: 10px;
}

.examples article {
  min-height: 170px;
}

.examples a,
.examples span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 850;
}

.examples a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.examples a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

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

.contact {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(46px, 7vw, 72px) clamp(20px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.62)),
    var(--navy);
}

.contact div {
  max-width: 760px;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  margin-bottom: 14px;
}

.contact .button {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--blue);
  box-shadow: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMediaIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .hero,
  .service-grid,
  .pricing-grid,
  .examples {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .strip {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .strip div {
    width: 100%;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-media img {
    min-height: 260px;
  }

  .button {
    width: 100%;
  }

  .service,
  .price,
  .examples article {
    min-height: auto;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
