:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7f9fc;
  --ink: #101828;
  --muted: #5f6b7a;
  --soft: #8a94a6;
  --line: #e6ebf1;
  --blue: #3157ff;
  --blue-soft: #eef3ff;
  --green-soft: #effaf5;
  --green: #147d5b;
  --rose: #c56b7b;
  --shadow: 0 24px 84px rgba(16, 24, 40, 0.1);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(16, 24, 40, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.026) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.38), transparent 54%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.38), transparent 54%);
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 64px;
  margin: 1rem auto 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(230, 235, 241, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 46px rgba(16, 24, 40, 0.06);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

.brand,
.nav-links,
.nav-cta,
.hero-actions,
.button,
.text-link,
.feature-row,
.contact-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  padding-left: 0.2rem;
  font-weight: 650;
}

.brand img {
  width: 118px;
  height: auto;
}

.nav-links {
  gap: clamp(1rem, 3vw, 2rem);
  color: #475467;
  font-size: 0.92rem;
  font-weight: 520;
}

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

.nav-cta {
  gap: 0.45rem;
  min-height: 40px;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #050b18;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: calc(100% - 2rem);
  max-width: var(--max);
  min-height: 86svh;
  margin: 0 auto;
  padding: 8.75rem 0 4.5rem;
}

.hero-copy {
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.25rem;
  max-width: 720px;
  font-size: clamp(3rem, 5.8vw, 4.95rem);
  font-weight: 610;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-copy p:not(.eyebrow) {
  width: min(660px, 100%);
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(56, 88, 233, 0.2);
}

.button-primary:hover {
  background: #2948d8;
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #cdd6e1;
}

.hero-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.1rem;
  background: var(--surface);
}

.panel-head span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 620;
}

.panel-head small {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 560;
}

.router-stack {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.router-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 36px;
  gap: 0.9rem;
  align-items: center;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem;
  background: #fff;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.router-card:hover {
  transform: translateY(-2px);
  border-color: #c9d3e3;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
}

.router-card img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.router-card span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.router-card small {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.router-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 620;
}

.router-card > svg {
  display: grid;
  place-self: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0.55rem;
  color: var(--ink);
}

.router-mua small {
  color: #ad5367;
}

.panel-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.panel-proof div {
  display: grid;
  gap: 0.1rem;
  padding: 1rem;
  background: #fbfcff;
}

.panel-proof strong {
  font-size: 1.05rem;
  font-weight: 650;
}

.panel-proof span {
  color: var(--muted);
  font-size: 0.78rem;
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: calc(100% - 2rem);
  max-width: var(--max);
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.credibility-strip div {
  display: grid;
  gap: 0.42rem;
  min-height: 132px;
  align-content: center;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.86);
}

.credibility-strip strong {
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 620;
}

.credibility-strip span {
  color: var(--muted);
  font-size: 0.96rem;
}

.business-section {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
  width: calc(100% - 2rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.business-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.07);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.business-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.business-media:hover {
  box-shadow: 0 26px 76px rgba(16, 24, 40, 0.11);
}

.business-media:hover img {
  transform: scale(1.025);
}

.business-content {
  width: 100%;
  max-width: 600px;
  min-width: 0;
}

h2 {
  margin-bottom: 1rem;
  max-width: 720px;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-weight: 620;
}

.business-content p:not(.eyebrow),
.section-heading p,
.contact-section p {
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-row {
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.45rem 0 1.75rem;
}

.feature-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 520;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.feature-row span:hover {
  transform: translateY(-1px);
  border-color: #cdd6e1;
  background: #fbfcff;
}

.feature-row svg {
  color: var(--blue);
}

.text-link {
  width: fit-content;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 600;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover {
  color: #1f3ed0;
  gap: 0.7rem;
}

.section {
  width: calc(100% - 2rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 2rem;
}

.section-heading .text-link {
  margin-top: 1.25rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-item {
  min-height: 245px;
  padding: clamp(1.15rem, 2.5vw, 1.55rem);
  background: #fff;
  transition: transform 180ms ease, background 180ms ease;
}

.proof-item:hover {
  transform: translateY(-2px);
  background: #fbfcff;
}

.proof-item span {
  display: inline-block;
  margin-bottom: 2.8rem;
  color: var(--blue);
  font-weight: 620;
}

.proof-item h3 {
  margin-bottom: 0.65rem;
  font-size: 1.14rem;
}

.proof-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-section h2 {
  max-width: 620px;
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.contact-row {
  gap: 0.9rem;
  min-height: 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-row:hover {
  transform: translateY(-2px);
  border-color: #cdd6e1;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.07);
}

.contact-row > svg {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0.62rem;
  background: var(--ink);
  color: #fff;
}

.contact-row strong,
.contact-row small {
  display: block;
}

.contact-row strong {
  margin-bottom: 0.1rem;
  font-weight: 620;
}

.contact-row small {
  color: var(--muted);
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  width: calc(100% - 2rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(56, 88, 233, 0.26);
  outline-offset: 3px;
}

[data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.is-ready [data-animate] {
  opacity: 1;
  transform: translateY(22px);
}

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

.hero-copy[data-animate] {
  transition-delay: 80ms;
}

.hero-panel[data-animate] {
  transition-delay: 180ms;
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }

  .hero,
  .business-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .credibility-strip {
    grid-template-columns: 1fr;
  }

  .panel-proof {
    grid-template-columns: 1fr;
  }

  .business-agency .business-content {
    order: 2;
  }

  .business-agency .business-media {
    order: 1;
  }

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

  .proof-item {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 1rem);
    min-height: 60px;
    margin-top: 0.5rem;
  }

  .brand img {
    width: 108px;
  }

  .nav-cta span {
    display: none;
  }

  .nav-cta {
    width: 42px;
    justify-content: center;
    padding: 0;
  }

  .hero {
    padding-top: 7.25rem;
  }

  h1 {
    font-size: clamp(2.28rem, 9.8vw, 3rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.65rem);
    line-height: 1.08;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .business-media {
    aspect-ratio: 1 / 1;
  }

  .feature-row span {
    width: 100%;
  }

  .contact-row {
    min-height: 76px;
  }
}

@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;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

}
