:root {
  --bg: #f7f4ef;
  --bg-soft: #ebe6dc;
  --ink: #141414;
  --muted: #65625c;
  --line: rgba(20, 20, 20, 0.12);
  --card: rgba(255, 255, 255, 0.72);
  --accent: #2347ff;
  --accent-dark: #1024a8;
  --accent-soft: #e6ebff;
  --green: #1f8f5f;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.11);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-premium: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(35, 71, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 92% 4%, rgba(31, 143, 95, 0.1), transparent 20rem),
    radial-gradient(circle at 50% 100%, rgba(35, 71, 255, 0.06), transparent 28rem);
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% -5%, black 15%, transparent 72%);
}

.page-bg::after {
  content: "";
  position: absolute;
  width: min(42vw, 480px);
  height: min(42vw, 480px);
  right: -6%;
  top: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 71, 255, 0.1), transparent 68%);
  animation: bgDrift 14s var(--ease-premium) infinite alternate;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}

.bg-orb-one {
  width: min(34vw, 360px);
  height: min(34vw, 360px);
  left: -8%;
  top: 34%;
  background: radial-gradient(circle, rgba(35, 71, 255, 0.14), transparent 68%);
  animation: bgDrift 16s var(--ease-premium) infinite alternate-reverse;
}

.bg-orb-two {
  width: min(28vw, 300px);
  height: min(28vw, 300px);
  right: 10%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(31, 143, 95, 0.12), transparent 70%);
  animation: bgDrift 18s var(--ease-premium) 1s infinite alternate;
}

.bg-orb-three {
  width: min(18vw, 180px);
  height: min(18vw, 180px);
  left: 42%;
  top: 12%;
  background: radial-gradient(circle, rgba(35, 71, 255, 0.1), transparent 72%);
  animation: subtleFloat 8s ease-in-out infinite;
}

.bg-ring {
  position: absolute;
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  left: -14%;
  bottom: -18%;
  border: 1px solid rgba(35, 71, 255, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 58%, rgba(35, 71, 255, 0.04) 59%, transparent 60%),
    radial-gradient(circle, transparent 72%, rgba(20, 20, 20, 0.04) 73%, transparent 74%);
}

.bg-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 71, 255, 0.22), transparent);
  transform-origin: left center;
}

.bg-line-one {
  width: min(42vw, 420px);
  left: 8%;
  top: 22%;
  transform: rotate(-8deg);
}

.bg-line-two {
  width: min(36vw, 360px);
  right: 6%;
  top: 58%;
  transform: rotate(10deg);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-color: rgba(20, 20, 20, 0.11);
  background: rgba(247, 244, 239, 0.97);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.04em;
  font-size: 1.22rem;
  transition: transform 260ms var(--ease-out);
}

.site-header .brand {
  position: relative;
  justify-self: start;
  grid-column: 1;
  z-index: 2;
  min-height: 48px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--accent));
  box-shadow: 0 12px 30px rgba(35, 71, 255, 0.24);
  font-size: 1rem;
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}

.brand-logo {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.site-header .brand-logo {
  width: auto;
  max-width: min(220px, 40vw);
  height: 48px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  transition: transform 360ms var(--ease-out), filter 360ms ease;
}

.site-header .brand-logo img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-position: left center;
  border-radius: 0;
}

.site-header .brand.has-logo .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-logo.is-fallback .brand-mark {
  display: grid;
}

.brand-logo.is-fallback img {
  display: none;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 18px 42px rgba(35, 71, 255, 0.32);
}

.brand:hover .brand-logo img {
  transform: rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 12px 24px rgba(35, 71, 255, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 2;
  justify-self: center;
}

.nav-links a {
  position: relative;
  overflow: hidden;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 680;
  font-size: 0.94rem;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: 3;
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 780;
  letter-spacing: -0.01em;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease, background 200ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.38), transparent 72%);
  transform: translateX(-130%);
  transition: transform 620ms var(--ease-premium);
}

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

  .button:hover::after {
    transform: translateX(130%);
  }
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 32px rgba(35, 71, 255, 0.24);
}

.button.primary:hover {
  background: var(--accent-dark);
}

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

.button.ghost {
  color: var(--accent);
  background: var(--accent-soft);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section.tight {
  padding: 58px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.section-heading {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.section-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.hero h1 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  opacity: 0;
  transform: translateY(18px);
}

.hero h1 span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0.05em;
  right: 0.05em;
  bottom: 0.02em;
  height: 0.12em;
  border-radius: 999px;
  background: rgba(35, 71, 255, 0.14);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-text {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  opacity: 0;
  transform: translateY(14px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  opacity: 0;
  transform: translateY(14px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-item {
  position: relative;
  overflow: hidden;
  flex: 1 1 120px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  opacity: 0;
  transform: translateY(14px);
}

.proof-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 52%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.proof-item:hover::before {
  opacity: 1;
}

.proof-item strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.proof-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-card {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.32)),
    linear-gradient(135deg, rgba(35, 71, 255, 0.16), rgba(31, 143, 95, 0.1));
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.browser {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: #fff;
  box-shadow: 0 22px 48px rgba(20, 20, 20, 0.12);
}

.browser::after {
  content: "";
  position: absolute;
  inset: 44px 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(35, 71, 255, 0.75), transparent);
  opacity: 0;
  transform: translateX(-100%);
}

.browser-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  background: #fafafa;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d9d9d9;
}

.browser-top span:nth-child(1) {
  background: #ff6b6b;
}

.browser-top span:nth-child(2) {
  background: #f6c85f;
}

.browser-top span:nth-child(3) {
  background: #58c477;
}

.browser-content {
  padding: 16px;
}

.mock-kicker {
  width: 118px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  transform: scaleX(0);
  transform-origin: left;
}

.mock-title {
  width: 82%;
  height: 48px;
  margin-top: 14px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--ink), #404040);
  transform: scaleX(0);
  transform-origin: left;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.mock-card {
  min-height: 72px;
  border-radius: 14px;
  background: #f1f1f1;
  opacity: 0;
  transform: translateY(10px);
}

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

.hero-insight {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 16px;
  width: min(260px, calc(100% - 28px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(20, 20, 20, 0.94), rgba(17, 27, 89, 0.92));
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.18);
  opacity: 0;
  transform: translateY(12px);
}

.hero-insight span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 720;
}

.hero-insight strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.insight-meter {
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.insight-meter span {
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, #87f0bd);
}

.industries {
  margin-top: 24px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
}

.industries-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 760;
}

.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industries-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 680;
  color: var(--ink);
}

.industries-list li span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.industries-list li {
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.industries-list li:hover {
  border-color: rgba(35, 71, 255, 0.24);
  background: #fff;
  box-shadow: 0 12px 26px rgba(20, 20, 20, 0.06);
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

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

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 16px 38px rgba(20, 20, 20, 0.05);
}

.card::after,
.price-card::after,
.contact-panel::after,
.form::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 42%);
  opacity: 0;
  transition: opacity 260ms ease;
}

@media (hover: hover) {
  .card {
    transition: transform 220ms var(--ease-out), border-color 220ms ease;
  }

  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(35, 71, 255, 0.22);
  }

  .card:hover::after,
  .price-card:hover::after,
  .contact-panel:hover::after,
  .form:hover::after {
    opacity: 1;
  }
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.card .icon {
  position: relative;
  overflow: hidden;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 16px;
  color: var(--accent);
  background: var(--accent-soft);
  transition: transform 280ms var(--ease-out), background 280ms ease, color 280ms ease;
}

.card .icon svg {
  width: 22px;
  height: 22px;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  transition: stroke-dashoffset 760ms var(--ease-premium);
}

.card.is-visible .icon svg,
.card:hover .icon svg {
  stroke-dashoffset: 0;
}

.card:hover .icon {
  transform: translateY(-2px) rotate(-3deg);
  background: var(--accent);
  color: #fff;
}

.card.featured {
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.card.featured p,
.card.featured .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.card.featured .icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.card.featured .icon svg {
  stroke: currentColor;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.work-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 45px rgba(20, 20, 20, 0.07);
}

@media (hover: hover) {
  .work-card {
    transition: transform 220ms var(--ease-out), border-color 220ms ease;
  }

  .work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(35, 71, 255, 0.24);
  }

  .work-card:hover .mini-page {
    transform: translateY(-4px);
  }

  .work-card:hover .mini-block {
    background: rgba(35, 71, 255, 0.22);
  }
}

.work-visual {
  min-height: 250px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(35, 71, 255, 0.95), rgba(31, 143, 95, 0.84)),
    var(--accent);
}

.work-visual.alt {
  background: linear-gradient(135deg, #191919, #535353);
}

.work-visual.light {
  background: linear-gradient(135deg, #e9edf8, #f7efe2);
}

.mini-page {
  height: 190px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
  display: grid;
  gap: 12px;
  transition: transform 260ms var(--ease-out);
}

.mini-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.12);
  transform-origin: left;
}

.mini-line.short {
  width: 54%;
}

.mini-block {
  border-radius: 18px;
  background: rgba(35, 71, 255, 0.14);
}

.work-content {
  padding: 24px;
}

.work-content h3 {
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}

.work-content p {
  margin: 0;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.07);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  transition: transform 240ms var(--ease-out), border-color 240ms ease;
}

.step:hover {
  transform: translateX(4px);
  border-color: rgba(35, 71, 255, 0.22);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--accent);
  font-weight: 850;
  transition: transform 260ms var(--ease-out), background 260ms ease;
}

.step:hover::before {
  transform: scale(1.05);
  background: var(--ink);
}

.step h3 {
  margin: 0 0 6px;
  letter-spacing: -0.035em;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.testimonial {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: center;
  padding: 42px;
  border-radius: 36px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.testimonial::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 18% 22%, rgba(35, 71, 255, 0.32), transparent 34%);
  opacity: 0.72;
  animation: trustGlow 9s var(--ease-premium) infinite alternate;
}

.testimonial > * {
  position: relative;
  z-index: 1;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.testimonial p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.quote-mark {
  font-size: 7rem;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.18);
}

.cta {
  position: relative;
  overflow: hidden;
  width: min(var(--max), calc(100% - 40px));
  margin: 58px auto 0;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.24), transparent 18rem),
    radial-gradient(circle at 86% 12%, rgba(31, 143, 95, 0.38), transparent 16rem),
    radial-gradient(circle at 80% 92%, rgba(255, 255, 255, 0.16), transparent 12rem),
    linear-gradient(135deg, var(--accent), #111b59);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -78px;
  bottom: -92px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 54%, rgba(255, 255, 255, 0.12) 55%, transparent 56%),
    radial-gradient(circle, transparent 70%, rgba(255, 255, 255, 0.12) 71%, transparent 72%);
}

.cta::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.24), transparent 58%);
  transform: translateX(-100%);
  transition: transform 900ms var(--ease-premium);
}

.cta:hover::after {
  transform: translateX(100%);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.cta p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.12rem;
}

.cta .button {
  margin-top: 30px;
  color: var(--ink);
  background: #fff;
}

.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 38px;
}

.page-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
}

.page-hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.package-card .button {
  width: 100%;
  margin-top: auto;
}

.featured-package {
  border-color: rgba(35, 71, 255, 0.32);
  background:
    radial-gradient(circle at 18% 0%, rgba(35, 71, 255, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 64px rgba(35, 71, 255, 0.12);
}

@media (hover: hover) {
  .price-card {
    transition: transform 220ms var(--ease-out), border-color 220ms ease;
  }

  .price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(35, 71, 255, 0.22);
  }
}

.price-card strong {
  display: block;
  margin: 14px 0;
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

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

.price-strip.two {
  grid-template-columns: repeat(2, 1fr);
}

.addon-panel {
  margin-top: 34px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  overflow: hidden;
}

.addon-table {
  width: 100%;
  border-collapse: collapse;
}

.addon-table th,
.addon-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.addon-table th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.addon-table td:last-child {
  width: 140px;
  font-weight: 760;
  white-space: nowrap;
}

.addon-table tr:last-child td {
  border-bottom: 0;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.package-result {
  margin: 22px 0;
  padding: 14px;
  border: 1px solid rgba(35, 71, 255, 0.14);
  border-radius: 16px;
  background: rgba(230, 235, 255, 0.72);
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 720;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 999px;
  background:
    linear-gradient(var(--green), var(--green)) center / 8px 2px no-repeat,
    var(--accent-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.form {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 42px rgba(20, 20, 20, 0.06);
}

.contact-panel h2,
.form h2 {
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.contact-panel > .section-copy {
  max-width: none;
  margin-top: 0;
  font-size: 0.98rem;
}

.contact-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-row strong {
  display: block;
  margin-bottom: 4px;
}

.contact-row span,
.contact-row a {
  color: var(--muted);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 740;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(35, 71, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(35, 71, 255, 0.11);
  background: #fff;
}

.site-footer {
  margin-top: 76px;
  padding: 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.footer-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  padding: 56px 0 40px;
}

.footer-brand .button {
  margin-top: 20px;
}

.footer-col h3 {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li,
.footer-list a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.footer-list a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.footer-bottom-links a:hover {
  color: var(--ink);
}

.footer-note {
  margin: 12px 0 0;
  max-width: 340px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .hero h1 {
  animation: heroTextIn 720ms var(--ease-premium) 80ms forwards;
}

body.is-loaded .hero h1 span::after {
  animation: underlineGrow 760ms var(--ease-premium) 620ms forwards;
}

body.is-loaded .hero-text {
  animation: heroTextIn 640ms var(--ease-premium) 230ms forwards;
}

body.is-loaded .hero-actions {
  animation: heroTextIn 640ms var(--ease-premium) 340ms forwards;
}

body.is-loaded .proof-item {
  animation: heroTextIn 560ms var(--ease-premium) calc(440ms + var(--proof-delay, 0ms)) forwards;
}

.hero-proof .proof-item:nth-child(1) {
  --proof-delay: 0ms;
}

.hero-proof .proof-item:nth-child(2) {
  --proof-delay: 90ms;
}

.hero-proof .proof-item:nth-child(3) {
  --proof-delay: 180ms;
}

body.is-loaded .hero-card {
  animation: heroCardIn 780ms var(--ease-premium) 220ms forwards;
}

body.is-loaded .browser::after {
  animation: browserScan 2100ms var(--ease-premium) 900ms 2;
}

body.is-loaded .mock-kicker {
  animation: lineGrow 620ms var(--ease-premium) 760ms forwards;
}

body.is-loaded .mock-title {
  animation: lineGrow 760ms var(--ease-premium) 860ms forwards;
}

body.is-loaded .mock-card {
  animation: mockCardIn 520ms var(--ease-premium) calc(980ms + var(--mock-delay, 0ms)) forwards;
}

.mock-grid .mock-card:nth-child(1) {
  --mock-delay: 0ms;
}

.mock-grid .mock-card:nth-child(2) {
  --mock-delay: 90ms;
}

.mock-grid .mock-card:nth-child(3) {
  --mock-delay: 180ms;
}

.mock-grid .mock-card:nth-child(4) {
  --mock-delay: 270ms;
}

body.is-loaded .hero-insight {
  animation: mockCardIn 620ms var(--ease-premium) 1280ms forwards, subtleFloat 5.5s ease-in-out 2100ms infinite;
}

.work-card.is-visible .mini-line {
  animation: miniLineGrow 620ms var(--ease-premium) both;
}

.work-card.is-visible .mini-line:nth-child(2) {
  animation-delay: 90ms;
}

.work-card.is-visible .mini-line:nth-child(3) {
  animation-delay: 180ms;
}

.work-card.is-visible .mini-block {
  animation: miniBlockIn 680ms var(--ease-premium) 120ms both;
}

.step.is-visible::before {
  animation: badgePop 520ms var(--ease-premium) both;
}

.price-card.is-visible strong {
  animation: pricePop 620ms var(--ease-premium) both;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes underlineGrow {
  to {
    transform: scaleX(1);
  }
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

@keyframes mockCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes browserScan {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes subtleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes miniLineGrow {
  from {
    transform: scaleX(0.45);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes miniBlockIn {
  from {
    opacity: 0.55;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgePop {
  from {
    transform: scale(0.88);
  }
  to {
    transform: scale(1);
  }
}

@keyframes pricePop {
  from {
    opacity: 0.4;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trustGlow {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.04);
  }
}

@keyframes bgDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-4%, 3%, 0) scale(1.04);
  }
}

@media (max-width: 980px) {
  .nav {
    display: flex;
    justify-content: space-between;
    min-height: 76px;
  }

  .site-header .brand,
  .nav-links,
  .nav-actions {
    grid-column: unset;
    justify-self: unset;
  }

  .nav-links {
    position: fixed;
    inset: 76px 18px auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 260ms ease, visibility 260ms ease, transform 360ms var(--ease-out);
  }

  .menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-actions .button {
    display: none;
  }

  .hero,
  .split,
  .testimonial,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 280px;
  }

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

  .sticky-copy {
    position: static;
  }

  .cards,
  .work-grid,
  .price-strip,
  .pricing-notes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .nav,
  .section,
  .hero,
  .industries,
  .page-hero,
  .cta,
  .footer-wrap {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 28px;
    gap: 24px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.075em;
  }

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

  .industries-intro {
    max-width: none;
  }

  .cards,
  .cards.two,
  .work-grid,
  .price-strip,
  .price-strip.two,
  .pricing-notes,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .addon-table td:last-child {
    width: auto;
  }

  .proof-item,
  .card,
  .price-card,
  .contact-panel,
  .form {
    padding: 22px;
  }

  .hero-card {
    min-height: 260px;
    padding: 14px;
    border-radius: 22px;
  }

  .hero-insight {
    left: 24px;
    right: 24px;
    bottom: 20px;
    width: auto;
  }

  .mock-title {
    height: 52px;
  }

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

  .mock-card {
    min-height: 70px;
  }

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

  .testimonial,
  .cta {
    padding: 28px;
    border-radius: 28px;
  }

  .footer-links {
    display: grid;
    gap: 10px;
  }
}

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

  .hero h1,
  .hero-text,
  .hero-actions,
  .proof-item,
  .hero-card,
  .mock-card,
  .hero-insight {
    opacity: 1 !important;
    transform: none !important;
  }

  .mock-kicker,
  .mock-title,
  .hero h1 span::after {
    transform: scaleX(1) !important;
  }
}

.portfolio-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-visual {
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(35, 71, 255, 0.18), rgba(31, 143, 95, 0.16));
}

.portfolio-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.portfolio-mock {
  height: 220px;
  display: grid;
  grid-template-rows: auto 1fr;
  background: linear-gradient(135deg, rgba(35, 71, 255, 0.95), rgba(31, 143, 95, 0.84));
}

.portfolio-mock.dark {
  background: linear-gradient(135deg, #191919, #535353);
}

.portfolio-mock.light {
  background: linear-gradient(135deg, #e9edf8, #f7efe2);
}

.portfolio-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.portfolio-mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d8d8d8;
}

.portfolio-mock-bar span:nth-child(1) {
  background: #ff6b6b;
}

.portfolio-mock-bar span:nth-child(2) {
  background: #f6c85f;
}

.portfolio-mock-bar span:nth-child(3) {
  background: #58c477;
}

.portfolio-mock-bar em {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 720;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-mock-body {
  margin: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  gap: 10px;
  align-content: start;
}

.portfolio-mock.light .portfolio-mock-body .mini-line {
  background: rgba(20, 20, 20, 0.1);
}

.portfolio-mock.light .portfolio-mock-body .mini-block {
  background: rgba(35, 71, 255, 0.12);
}

.portfolio-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 720;
}

.portfolio-card .work-content {
  padding: 22px 22px 24px;
}

.portfolio-domain {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 780;
}

.portfolio-note {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
}

.portfolio-guide {
  display: grid;
  gap: 6px;
  max-width: 780px;
  padding: 18px 20px;
  border: 1px solid rgba(35, 71, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.portfolio-guide strong {
  letter-spacing: -0.02em;
}

.portfolio-guide p {
  margin: 0;
  color: var(--muted);
}

.page-hero code {
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.06);
  font-size: 0.92em;
}

@media (hover: hover) {
  .portfolio-card:hover .portfolio-visit {
    transform: translateX(2px);
  }
}
