:root {
  --bg: #050608;
  --ink: #f8fafc;
  --muted: #c8d0dc;
  --soft: rgba(248,250,252,.72);
  --line: rgba(255,255,255,.15);
  --line-strong: rgba(254,206,20,.48);
  --accent: #FECE14;
  --accent-soft: rgba(254,206,20,.15);
  --panel: rgba(255,255,255,.055);
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 38px);
  --display: Poppins, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --body: Poppins, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -6%, rgba(254,206,20,.2), transparent 28vw),
    radial-gradient(circle at 96% 12%, rgba(255,255,255,.12), transparent 24vw),
    linear-gradient(180deg, #050608 0%, #0a0d12 48%, #050608 100%);
  font-family: var(--body);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 124px); }
.section-rule { border-top: 1px solid var(--line); }

.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5,6,8,.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 55px rgba(0,0,0,.3);
}
.topnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.logo-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #fff;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 920;
  line-height: 1;
  letter-spacing: 0;
}
.logo-lockup::before {
  content: "";
  width: 28px;
  height: 8px;
  margin-right: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 26px rgba(254,206,20,.48);
  flex: 0 0 auto;
}
.topnav nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
.topnav nav a { color: rgba(248,250,252,.72); font-size: 14px; font-weight: 680; }
.topnav nav a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 820;
  letter-spacing: 0;
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #050608; box-shadow: 0 16px 38px rgba(254,206,20,.22); }
.btn-secondary { background: #fff; color: #050608; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.045); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(254,206,20,.08); }
.btn-arrow::after { content: "->"; transition: transform .18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(254,206,20,.52);
}

h1 {
  max-width: 11.5ch;
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 94px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 900;
}
h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.7vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 880;
}
h3 {
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 820;
}
.lead { max-width: 66ch; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.58; }
.small { color: var(--soft); font-size: 15px; }
.meta { color: var(--accent); font-family: var(--mono); font-size: 12px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center right / cover no-repeat;
  opacity: .58;
  filter: saturate(1.05) contrast(1.08);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #050608 0%, rgba(5,6,8,.94) 38%, rgba(5,6,8,.24) 68%, rgba(5,6,8,.4) 100%),
    linear-gradient(0deg, #050608 0%, transparent 22%, transparent 76%, #050608 100%);
}
.hero-content {
  min-height: clamp(620px, 78vh, 820px);
  display: grid;
  align-content: center;
  padding-block: clamp(76px, 10vw, 132px);
}
.hero-copy { max-width: 760px; }
.hero-copy > * + * { margin-top: clamp(18px, 2.7vw, 30px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(254,206,20,.42);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(5,6,8,.64);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(38px, 6vw, 76px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.service-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  padding-top: 78px;
  background:
    linear-gradient(180deg, rgba(5,6,8,.02) 0%, rgba(5,6,8,.12) 42%, rgba(5,6,8,.82) 100%),
    var(--card-image) center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,8,.36), transparent 56%, rgba(5,6,8,.26)),
    linear-gradient(0deg, rgba(5,6,8,.42), transparent 36%);
}
.service-card > * { position: relative; z-index: 1; }
.service-card p { color: var(--muted); }
.service-card .meta {
  position: absolute;
  top: clamp(20px, 2.5vw, 30px);
  left: clamp(20px, 2.5vw, 30px);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: calc(100% - 40px);
  padding: 8px 11px;
  border: 1px solid rgba(254,206,20,.42);
  border-radius: 999px;
  background: rgba(5,6,8,.72);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
  backdrop-filter: blur(10px);
}
.service-card:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
  min-height: 360px;
}
.service-card:last-child:nth-child(3n + 1) h3,
.service-card:last-child:nth-child(3n + 1) p:not(.meta) {
  max-width: 640px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 34px;
  border-block: 1px solid var(--line);
}
.proof-strip strong {
  display: block;
  color: #fff;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.proof-strip span { color: var(--soft); font-size: 14px; }
.proof-strip > div:not(:first-child) { border-left: 1px solid var(--line); padding-left: 24px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(380px, 1.05fr) minmax(0, .95fr); }
.split.reverse .copy { order: 2; }
.copy > * + * { margin-top: 18px; }
.copy ul, .check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 13px;
}
.copy li, .check-list li {
  color: var(--soft);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
}
.copy li::before, .check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(254,206,20,.5);
}

.wide-photo {
  min-height: clamp(360px, 38vw, 520px);
  position: relative;
  overflow: hidden;
  background: var(--photo-image) center / cover no-repeat;
  isolation: isolate;
}
.wide-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #050608 0%, transparent 18%, transparent 82%, #050608 100%),
    linear-gradient(0deg, rgba(5,6,8,.82), transparent 52%, rgba(5,6,8,.24));
}
.wide-photo span {
  position: absolute;
  left: clamp(24px, 4vw, 46px);
  bottom: clamp(24px, 4vw, 42px);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(248,250,252,.86);
  text-shadow: 0 2px 8px var(--bg), 0 0 24px var(--bg);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.detail-card {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255,255,255,.045);
}
.detail-card p { color: var(--muted); margin-top: 14px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.related-link {
  border: 1px solid var(--line);
  padding: 18px;
  color: #fff;
  background: rgba(255,255,255,.035);
  font-weight: 820;
}
.related-link:hover { border-color: var(--line-strong); background: rgba(254,206,20,.08); }

.cta {
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta .container { max-width: 820px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.pagefoot { padding-block: 44px; border-top: 1px solid var(--line); color: var(--soft); font-size: 13px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #fff; font-weight: 720; }

@media (max-width: 980px) {
  .section-head, .split, .split.reverse, .service-grid, .detail-grid, .related-grid, .proof-strip {
    grid-template-columns: 1fr;
  }
  .split.reverse .copy { order: 0; }
  .topnav nav { display: none; }
  .proof-strip > div:not(:first-child) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .service-card:last-child:nth-child(3n + 1) { grid-column: auto; }
  .page-hero::before {
    background: var(--hero-image) center / cover no-repeat;
    opacity: .46;
  }
  .page-hero::after {
    background:
      linear-gradient(90deg, #050608 0%, rgba(5,6,8,.76) 58%, rgba(5,6,8,.36) 100%),
      linear-gradient(0deg, #050608 0%, transparent 24%, transparent 72%, #050608 100%);
  }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(44px, 14vw, 68px); }
  .topnav-inner { align-items: stretch; }
  .logo-lockup { align-self: center; font-size: 17px; max-width: 150px; line-height: 1.08; }
  .logo-lockup::before { width: 22px; margin-right: 10px; }
  .topnav .btn { width: 100%; max-width: 158px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .service-card { min-height: 290px; }
  .wide-photo { min-height: 310px; width: calc(100% + (var(--gutter) * 2)); margin-left: calc(var(--gutter) * -1); }
}
