/* RankingBite — Design System: Bold Spatial */
/* Accent: electric violet oklch(0.72 0.22 295) */
:root {
  --bg:       #0A0A0F;
  --bg-alt:   #13131A;
  --bg-cell:  #1A1A24;
  --line:     rgba(255,255,255,.07);
  --line-s:   rgba(255,255,255,.14);
  --text:     #FFFFFF;
  --mute:     rgba(255,255,255,.6);
  --dim:      rgba(255,255,255,.36);
  --accent:   oklch(0.72 0.22 295);
  --accent-s: oklch(0.72 0.22 295 / .15);
  --sans:     "Inter Tight","Inter",system-ui,sans-serif;
  --mono:     "JetBrains Mono",ui-monospace,monospace;
  --r:        20px;
}

*,::before,::after { box-sizing: border-box; margin: 0; padding: 0 }
html { -webkit-text-size-adjust: 100% }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: -.02em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
button { font-family: inherit; cursor: pointer }

/* Container */
.c { max-width: 1360px; margin: 0 auto; padding: 0 56px }

/* Mono label */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
}

/* Floating pill nav */
.site-nav { position: sticky; top: 16px; z-index: 50; padding: 0 24px; pointer-events: none }
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 56px;
  background: rgba(18,18,24,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-s);
  border-radius: 16px;
  pointer-events: all;
}
.nav-logo img { height: 26px; filter: brightness(0) invert(1) }
.nav-links { display: flex; gap: 20px; font-size: 13px; color: var(--mute) }
.nav-links a { transition: color .15s }
.nav-links a:hover, .nav-links a.active { color: var(--text) }
.nav-cta {
  padding: 8px 16px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: -.01em;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .88 }

/* Eyebrow */
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 40px }
.eyebrow-rule { width: 40px; height: 1px; background: var(--line-s); flex-shrink: 0 }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 28px;
  background: var(--text); color: var(--bg);
  font-size: 15px; font-weight: 600; border-radius: 999px;
  letter-spacing: -.01em; transition: opacity .15s;
}
.btn:hover { opacity: .88 }

.btn-ghost {
  display: inline-block; padding: 14px 24px;
  border: 1px solid var(--line-s); color: var(--text);
  font-size: 15px; font-weight: 500; border-radius: 999px;
  transition: border-color .15s;
}
.btn-ghost:hover { border-color: var(--text) }

.btn-accent {
  display: inline-block; padding: 16px 28px;
  background: var(--accent); color: var(--bg);
  font-size: 15px; font-weight: 600; border-radius: 999px;
  letter-spacing: -.01em; transition: opacity .15s;
}
.btn-accent:hover { opacity: .88 }

/* Chip */
.chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border: 1px solid var(--accent);
  border-radius: 999px; font-family: var(--mono);
  font-size: 10px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent);
}

/* Section label */
.sect-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px;
}

/* Page hero */
.page-hero {
  padding: 80px 0 96px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; opacity: .45;
  background: radial-gradient(ellipse 60% 50% at 15% 0%, var(--accent-s), transparent 60%);
  pointer-events: none;
}
.page-hero > .c { position: relative }
.page-hero h1 {
  font-size: 80px; line-height: .97;
  font-weight: 500; letter-spacing: -.045em;
  margin-bottom: 28px; max-width: 1100px;
}
.page-hero .lead { font-size: 20px; line-height: 1.55; color: var(--mute); max-width: 720px }

/* Gradient text */
.grad {
  background: linear-gradient(135deg, var(--accent), oklch(0.78 0.18 320));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.italic { font-style: italic; color: var(--accent) }

/* Card */
.card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 32px }

/* Comparison table */
.cmp-table { background: var(--bg-alt); border: 1px solid var(--line-s); border-radius: var(--r); overflow: hidden }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; padding: 22px 32px; border-bottom: 1px solid var(--line); align-items: center; font-size: 15px }
.cmp-row:last-child { border-bottom: none }
.cmp-head { background: var(--bg); padding: 16px 32px }

/* CTA band */
.cta-band {
  padding: 120px 0; position: relative; overflow: hidden;
  background: var(--bg-alt); border-bottom: none !important;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; opacity: .6;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--accent-s), transparent 60%);
  pointer-events: none;
}
.cta-band > .c { position: relative }

/* Footer */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line) }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px }
.foot-logo img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 16px }
.foot-tag { font-size: 14px; color: var(--mute); line-height: 1.6; max-width: 300px }
.foot-col-h { font-size: 12px; color: var(--dim); margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; font-family: var(--mono) }
.foot-col { display: flex; flex-direction: column; gap: 10px }
.foot-col a { color: var(--mute); font-size: 14px; transition: color .15s }
.foot-col a:hover { color: var(--text) }
.foot-bottom {
  display: flex; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--dim);
  font-family: var(--mono); letter-spacing: .02em;
}

/* ─── HAMBURGER ───────────────────────────────────────────────────────────── */
.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 201;
  flex-shrink: 0;
  outline: none;
}
.nav-ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-ham.open span:nth-child(2) { opacity: 0 }
.nav-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .c { padding: 0 20px }

  /* Nav */
  .site-nav { padding: 0 12px; top: 10px }
  .nav-inner { height: 52px; padding: 0 20px }
  .nav-ham { display: flex }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 18px;
    z-index: 200;
    display: none;
    pointer-events: all;
  }
  .nav-links.open { display: flex }
  .nav-cta { display: none }

  /* Page hero */
  .page-hero { padding: 56px 0 64px }
  .page-hero h1 { font-size: 48px; letter-spacing: -.03em; margin-bottom: 20px }
  .page-hero .lead { font-size: 17px }

  /* Eyebrow */
  .eyebrow { flex-wrap: wrap; gap: 10px }

  /* Comparison table */
  .cmp-table { overflow-x: auto }
  .cmp-row { font-size: 13px; padding: 16px 20px; gap: 16px }

  /* CTA band */
  .cta-band { padding: 80px 0 }

  /* Footer */
  .site-footer { padding: 48px 0 32px }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px }
  .foot-grid > div:first-child { grid-column: 1 / -1 }
  .foot-bottom { flex-direction: column; gap: 8px }
}

@media (max-width: 540px) {
  .c { padding: 0 14px }
  .page-hero h1 { font-size: 36px }
  .foot-grid { grid-template-columns: 1fr }
  .foot-bottom { text-align: center }
}

/* ─── SERVICE DETAIL PAGES ────────────────────────────────────────────────── */
.pill-badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border: 1px solid var(--accent);
  border-radius: 999px; font-family: var(--mono);
  font-size: 11px; color: var(--accent);
  letter-spacing: .08em; text-transform: uppercase;
}

.svc-overview { padding: 88px 0; border-bottom: 1px solid var(--line) }
.svc-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start }
.svc-overview-grid h2 { font-size: 52px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 24px }
.svc-overview-grid p { font-size: 17px; line-height: 1.65; color: var(--mute) }
.svc-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line) }
.svc-stat-num { font-size: 48px; font-weight: 500; letter-spacing: -.04em; color: var(--accent) }
.svc-stat-label { font-size: 13px; color: var(--mute); margin-top: 6px; line-height: 1.5 }

.deliv-section { padding: 88px 0; border-bottom: 1px solid var(--line) }
.deliv-section h2 { font-size: 52px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 48px }
.deliv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.deliv-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 32px }
.deliv-num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .08em; margin-bottom: 20px }
.deliv-title { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px }
.deliv-desc { font-size: 14px; color: var(--mute); line-height: 1.65 }

.platforms-section { padding: 88px 0; border-bottom: 1px solid var(--line); background: var(--bg-alt) }
.platforms-section h2 { font-size: 52px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 48px }
.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.platform-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px }
.platform-name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 8px }
.platform-role { font-size: 13px; color: var(--mute); line-height: 1.5 }

.related-svcs { padding: 88px 0 }
.related-svcs h2 { font-size: 52px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 48px }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.related-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: block; transition: border-color .15s }
.related-card:hover { border-color: var(--accent) }
.related-pill { display: inline-flex; align-items: center; padding: 3px 10px; border: 1px solid var(--accent); border-radius: 999px; font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px }
.related-name { font-size: 18px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 8px }
.related-desc { font-size: 13px; color: var(--mute); line-height: 1.55 }

@media (max-width: 900px) {
  .svc-overview-grid { grid-template-columns: 1fr; gap: 40px }
  .svc-overview-grid h2 { font-size: 36px }
  .svc-stat-row { grid-template-columns: 1fr 1fr }
  .deliv-grid { grid-template-columns: 1fr }
  .deliv-section h2, .platforms-section h2, .related-svcs h2 { font-size: 36px }
  .platforms-grid { grid-template-columns: repeat(2, 1fr) }
  .related-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 540px) {
  .related-grid { grid-template-columns: 1fr }
  .svc-stat-num { font-size: 36px }
}
