:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --bg-deep: #0a0c10;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-edge: rgba(255, 255, 255, 0.18);
  --glass-inner: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-soft: #ffffff;
  --text-muted: #ffffff;
  --accent-a: #7dd3fc;
  --accent-b: #a78bfa;
  --accent-c: #fdba74;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}

.orb:nth-child(1) {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: radial-gradient(circle, var(--accent-a) 0%, transparent 70%);
  top: -8%;
  left: -5%;
}

.orb:nth-child(2) {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  background: radial-gradient(circle, var(--accent-b) 0%, transparent 70%);
  top: 35%;
  right: -10%;
  animation-delay: -6s;
}

.orb:nth-child(3) {
  width: min(45vw, 340px);
  height: min(45vw, 340px);
  background: radial-gradient(circle, var(--accent-c) 0%, transparent 70%);
  bottom: -5%;
  left: 25%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, 4%) scale(1.05); }
  66% { transform: translate(-2%, 2%) scale(0.98); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Top bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: clamp(0.65rem, 2vw, 1rem) clamp(1.25rem, 4vw, 3rem);
  background: rgba(10, 12, 16, 0.65);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand span {
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--glass-inner);
  border-color: rgba(125, 211, 252, 0.3);
}

.main {
  position: relative;
  z-index: 2;
  flex: 1;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(165%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 45%,
    transparent 60%,
    rgba(255, 255, 255, 0.08) 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0.7;
}

header.hero {
  padding: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.75rem;
  animation: rise 0.9s ease-out both;
}

header.hero.compact {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1.5rem;
}

header.hero.compact h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.badge span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 12px var(--accent-a);
}

h1 {
  font-weight: 800;
  font-size: clamp(2.35rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

h1 em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b), var(--accent-c));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-soft);
  max-width: 58ch;
  letter-spacing: -0.011em;
  line-height: 1.55;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 840px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

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

section.panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  animation: rise 0.85s ease-out both;
}

.panel + .panel {
  margin-top: 1.25rem;
}

h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
  margin: 1.25rem 0 0.65rem;
}

p {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul.services {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

ul.services li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--glass-inner);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

ul.services li:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.25);
}

ul.services li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.45);
}

.details {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Cards linking to sections */
.teaser-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--glass-inner);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.teaser-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.teaser-card h3 {
  margin-top: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.teaser-card p {
  flex: 1;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.teaser-card .more {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-a);
}

/* Contact */
.contact-block {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .contact-block {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.12);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  color: var(--bg-deep);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.25);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 1rem 0;
  color: #22c55e;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.form-success[hidden] {
  display: none !important;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(16px);
}

.site-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-links a {
  display: block;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}

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

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ——— Homepage only ——— */
.page-home .wrap--home {
  max-width: 1120px;
}

.hero-mega.glass {
  overflow: visible;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.75rem;
  animation: rise 0.85s ease-out both;
}

.hero-mega-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-mega-grid {
    grid-template-columns: 1fr min(38%, 400px);
    gap: 2.5rem;
  }

  .hero-mega-copy .lead {
    max-width: 52ch;
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-top: 1.5rem;
}

.hero-pills li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-mega-visual {
  position: relative;
  min-height: 280px;
}

@media (min-width: 960px) {
  .hero-mega-visual {
    min-height: 380px;
  }
}

.hero-deck {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.glass--mini {
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-float {
  position: absolute;
  width: 100%;
  max-width: 320px;
  padding: 1.15rem 1.25rem;
  animation: cardBob 6s ease-in-out infinite;
}

.hero-float:nth-child(1) {
  top: 0;
  right: 0;
  z-index: 3;
  animation-delay: 0s;
  --rot: -2deg;
}

.hero-float:nth-child(2) {
  top: 42%;
  left: 0;
  z-index: 2;
  max-width: 280px;
  animation-delay: -2s;
  --rot: 2.5deg;
}

.hero-float:nth-child(3) {
  bottom: 0;
  right: 8%;
  z-index: 1;
  max-width: 300px;
  animation-delay: -4s;
  --rot: -1deg;
}

@media (max-width: 959px) {
  .hero-float:nth-child(1) {
    position: relative;
    top: auto;
    right: auto;
    max-width: none;
    margin-bottom: 0.75rem;
    --rot: 0deg;
  }

  .hero-float:nth-child(2) {
    position: relative;
    top: auto;
    left: auto;
    max-width: none;
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    --rot: 0deg;
  }

  .hero-float:nth-child(3) {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: none;
    margin-left: 0.75rem;
    --rot: 0deg;
  }

  .hero-deck {
    min-height: 0;
  }

  .hero-float {
    animation: none;
  }
}

@keyframes cardBob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -2deg)); }
  50% { transform: translateY(-8px) rotate(var(--rot, -2deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none !important;
  }
}

.hero-float--accent {
  background: linear-gradient(145deg, rgba(125, 211, 252, 0.12), rgba(167, 139, 250, 0.08));
  border-color: rgba(125, 211, 252, 0.22);
}

.hero-float-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.hero-float-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.hero-float-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
  margin: 0;
}

.hero-float-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.hero-float-tags span {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

/* Bento */
.home-bento {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
  .home-bento {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .bento-tile--stretch {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .bento-tile--stretch + .bento-tile {
    grid-column: 2;
    grid-row: 1;
  }

  .bento-tile--glow {
    grid-column: 2;
    grid-row: 2;
  }

  .bento-tile--cta {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
  }
}

.bento-tile {
  display: block;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: rise 0.9s ease-out both;
}

.home-bento .bento-tile:nth-child(1) { animation-delay: 0.06s; }
.home-bento .bento-tile:nth-child(2) { animation-delay: 0.12s; }
.home-bento .bento-tile:nth-child(3) { animation-delay: 0.18s; }
.home-bento .bento-tile:nth-child(4) { animation-delay: 0.24s; }

a.bento-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.bento-tile--glow {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(125, 211, 252, 0.04));
}

.bento-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-a);
  margin-bottom: 0.65rem;
}

.bento-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.bento-title--sm {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.bento-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}

.bento-arrow {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-a);
  letter-spacing: 0.04em;
}

.bento-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 211, 252, 0.12);
  color: var(--accent-a);
  margin-bottom: 1rem;
}

.bento-icon {
  width: 22px;
  height: 22px;
}

.bento-list {
  list-style: none;
  margin-top: 0.5rem;
}

.bento-list li {
  font-size: 0.88rem;
  color: var(--text-soft);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-list li:last-child {
  border-bottom: none;
}

.bento-list strong {
  color: var(--text);
  font-weight: 700;
}

.btn--inline {
  margin-top: auto;
  padding-top: 1.25rem;
  width: fit-content;
}

/* Homepage value strip */
.home-value.panel {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
}

.home-value-head {
  margin-bottom: 1.75rem;
}

@media (min-width: 720px) {
  .home-value-head {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: start;
  }
}

.home-value-head h2 {
  margin-bottom: 0;
}

.home-value-lead {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 719px) {
  .home-value-lead {
    margin-top: 0.75rem;
  }
}

.home-value-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .home-value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-value-item {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--glass-inner);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.home-value-item:hover {
  border-color: rgba(125, 211, 252, 0.2);
  transform: translateY(-2px);
}

.home-value-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-b);
  margin-bottom: 0.5rem;
}

.home-value-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--text);
}

.home-value-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Services page table of contents */
.service-toc {
  padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 1.25rem;
}

.service-toc-title {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.service-toc-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}

.service-toc-list a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-toc-list a:hover {
  color: var(--accent-a);
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(125, 211, 252, 0.08);
}

.page-services .service-detail h2 {
  scroll-margin-top: 5.5rem;
}

.page-services .service-detail .services {
  margin-top: 1rem;
}

