* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.glass {
  background: rgba(15, 21, 35, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-glow {
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.35), transparent);
}

.page-hero {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(99, 102, 241, 0.2), transparent);
  padding-top: calc(var(--site-header-offset) + 1.25rem) !important;
}

.home-hero {
  padding-top: calc(var(--site-header-offset) + 1rem) !important;
}

main > section.mesh-bg:first-child:not(.home-hero) {
  padding-top: calc(var(--site-header-offset) + 1.5rem) !important;
}

.card-hover {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(99, 102, 241, 0.3);
  border-color: rgba(129, 140, 248, 0.45);
}

/* Service hub cards */
.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 56px -16px rgba(99, 102, 241, 0.35);
  border-color: rgba(129, 140, 248, 0.5);
}
.service-card .service-icon {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.4);
}
.service-card .arrow-link {
  transition: transform 0.3s ease, color 0.3s ease;
}
.service-card:hover .arrow-link {
  transform: translateX(4px);
}

/* Expertise page cards — readable typography & spacing */
.expertise-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 1024px) {
  .expertise-card { padding: 2rem 2.25rem; }
}
.expertise-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.expertise-icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}
.expertise-icon--brand { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; }
.expertise-icon--green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.expertise-icon--sky { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.expertise-icon--amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.expertise-icon--cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.expertise-icon--violet { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.expertise-icon--emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.expertise-icon--blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.expertise-icon--orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.expertise-icon--teal { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.expertise-icon--rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.expertise-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
@media (min-width: 1024px) {
  .expertise-card-title { font-size: 1.375rem; }
}
.expertise-card-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
@media (min-width: 1024px) {
  .expertise-card-desc { font-size: 1rem; }
}
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tech-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4375rem 0.875rem;
  border-radius: 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
}
.expertise-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  font-weight: 600;
  color: #a5b4fc;
}
.expertise-card-cta i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.expertise-card:hover .expertise-card-cta i {
  transform: translateX(4px);
}
.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(99, 102, 241, 0.25);
  border-color: rgba(129, 140, 248, 0.35);
}
.expertise-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #7c3aed;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* Gradient border glow */
.glow-border {
  position: relative;
}
.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(129,140,248,0.5), rgba(99,102,241,0.1), rgba(167,139,250,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.glow-border:hover::after { opacity: 1; }

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 { animation-delay: 0s; }
.orb-2 { animation-delay: -2.5s; }
.orb-3 { animation-delay: -5s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Marquee tech strip */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Pulse ring on featured badge */
.pulse-ring {
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Counter stat */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Detail page hero mesh */
.mesh-bg {
  background-color: #0f1523;
  background-image:
    radial-gradient(at 20% 30%, rgba(99,102,241,0.18) 0, transparent 50%),
    radial-gradient(at 80% 20%, rgba(139,92,246,0.12) 0, transparent 45%),
    radial-gradient(at 60% 80%, rgba(59,130,246,0.1) 0, transparent 40%);
}

/* Hero expertise highlights */
.expertise-hero-grid {
  display: grid;
  gap: 0.875rem;
}
@media (min-width: 640px) {
  .expertise-hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
  }
}
@media (min-width: 1024px) {
  .expertise-hero-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.5rem;
  }
}
.expertise-hero-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.expertise-hero-item:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(129, 140, 248, 0.25);
  transform: translateY(-2px);
}
.expertise-hero-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.expertise-hero-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.35;
}
.expertise-hero-desc {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* Feature pill hover */
.feature-pill {
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.feature-pill:hover {
  background-color: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateX(4px);
}

/* Process step connector */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: calc(100% + 0.5rem);
  width: calc(100% - 3.5rem);
  height: 2px;
  background: linear-gradient(90deg, rgba(99,102,241,0.5), rgba(99,102,241,0.1));
  display: none;
}
@media (min-width: 1024px) {
  .process-row .process-step:not(:last-child)::after { display: block; }
}

.timeline-line::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366f1, #818cf8, #6366f1, transparent);
  z-index: 0;
}

.social-bar a {
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.social-bar a:hover { transform: scale(1.12); }

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 1.125rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.contact-social-link:hover {
  color: #fff;
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}
.contact-social-link--instagram:hover {
  border-color: rgba(236, 72, 153, 0.45);
  background: rgba(236, 72, 153, 0.15);
}
.contact-social-link--whatsapp:hover {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.15);
}

a[aria-label="Chat on WhatsApp"],
#scroll-top {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
}
a[aria-label="Chat on WhatsApp"] i {
  font-size: 1.25rem;
}

#scroll-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.portfolio-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-item.hidden-item {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.portfolio-card-visual {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 55%);
}
.portfolio-card-visual i {
  font-size: 3.25rem;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}
.portfolio-section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.portfolio-section-heading i {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  font-size: 1rem;
}
.portfolio-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.portfolio-filter {
  white-space: nowrap;
}

.testimonial-slide {
  display: none;
  animation: fadeInUp 0.5s ease forwards;
}
.testimonial-slide.active { display: block; }

/* Testimonial carousel — 2-up desktop, 1-up mobile */
.testimonial-carousel {
  position: relative;
}
.testimonial-viewport {
  overflow: hidden;
  margin: 0 -0.5rem;
}
.testimonial-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
@media (min-width: 768px) {
  .testimonial-track { gap: 1.5rem; }
}
.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}
.testimonial-card[data-clone] { display: none; }
@media (min-width: 768px) {
  .testimonial-card[data-clone] { display: block; }
}
.testimonial-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 1024px) {
  .testimonial-card-inner { padding: 1.75rem 2rem; }
}
.testimonial-card-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 16px 32px -12px rgba(99, 102, 241, 0.25);
}
.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #cbd5e1;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  .testimonial-quote { font-size: 1rem; }
}
.testimonial-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testimonial-carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.testimonial-carousel-btn:hover {
  color: #fff;
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.35);
  transform: scale(1.05);
}
.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.testimonial-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.testimonial-dot.is-active {
  width: 1.75rem;
  background: #6366f1;
}
.testimonial-autoplay-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #818cf8);
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

.map-placeholder {
  background:
    linear-gradient(135deg, rgba(99,102,241,0.15) 25%, transparent 25%) -10px 0,
    linear-gradient(225deg, rgba(99,102,241,0.15) 25%, transparent 25%) -10px 0,
    linear-gradient(315deg, rgba(99,102,241,0.15) 25%, transparent 25%),
    linear-gradient(45deg, rgba(99,102,241,0.15) 25%, transparent 25%);
  background-size: 20px 20px;
  background-color: #1e293b;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  overflow-x: hidden;
  max-width: 100%;
  -webkit-user-select: none;
  user-select: none;
}
input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}
img, video, iframe {
  max-width: 100%;
}

/* Site-wide layout — 50px side margin on desktop, responsive on smaller screens */
:root {
  --site-side-margin: 200px;
}
@media (max-width: 1535px) {
  :root { --site-side-margin: 120px; }
}
@media (max-width: 1279px) {
  :root { --site-side-margin: 64px; }
}
@media (max-width: 1023px) {
  :root { --site-side-margin: 32px; }
}
@media (max-width: 639px) {
  :root { --site-side-margin: 16px; }
}
@media (max-width: 399px) {
  :root { --site-side-margin: 12px; }
}

.site-container,
.max-w-7xl,
html body .site-container,
html body .max-w-7xl,
html body main .site-container,
html body footer .site-container {
  width: auto !important;
  max-width: none !important;
  margin-left: var(--site-side-margin) !important;
  margin-right: var(--site-side-margin) !important;
  box-sizing: border-box;
}

.site-shell,
nav.glass.site-shell {
  width: auto;
  max-width: none;
  margin-left: var(--site-side-margin);
  margin-right: var(--site-side-margin);
}

/* Nav already has outer margin — inner row fills the bar */
.site-shell .site-container,
nav.site-shell .site-container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

nav.site-shell {
  margin-top: 0.625rem !important;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  background: rgba(15, 21, 35, 0.9);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

:root {
  --site-header-offset: 5.75rem;
}

@media (min-width: 640px) {
  :root {
    --site-header-offset: 6.25rem;
  }
}

@media (min-width: 1000px) {
  :root {
    --site-header-offset: 11rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --site-header-offset: 11rem;
  }
}

@media (min-width: 1536px) {
  :root {
    --site-header-offset: 11.25rem;
  }
}

header nav .site-container > div:last-child {
  flex-shrink: 0;
}

header nav a[href*="intent=quote"] {
  white-space: nowrap !important;
  flex-shrink: 0;
  line-height: 1.2;
}

@media (min-width: 1280px) and (max-width: 1535px) {
  header nav a[href*="intent=quote"] {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem !important;
    gap: 0.35rem;
  }
}

header a[aria-label="XtremeDevelop Home"] {
  flex-shrink: 0;
  margin-right: 1rem;
  position: relative;
}

header a[aria-label="XtremeDevelop Home"] img[src*="logo.png"] {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 2.75rem;
  max-width: min(180px, 44vw);
  object-fit: contain;
}

@media (min-width: 1000px) {
  header a[aria-label="XtremeDevelop Home"] img[src*="logo.png"] {
    max-height: 9.25rem;
    max-width: 310px;
  }
}

footer a[aria-label="XtremeDevelop Home"] {
  display: inline-block;
  max-width: 100%;
  position: relative;
}

.site-footer .grid > div:first-child {
  min-width: 0;
}

footer a[aria-label="XtremeDevelop Home"] img[src*="logo.png"] {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 3.75rem;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  footer a[aria-label="XtremeDevelop Home"] img[src*="logo.png"] {
    max-height: 4.25rem;
  }
}

@media (min-width: 1024px) {
  footer a[aria-label="XtremeDevelop Home"] img[src*="logo.png"] {
    max-height: 4.75rem;
  }
}

.site-logo-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 14rem;
  max-width: 20rem;
  padding: 0.65rem 0.8rem;
  background: #0f1523;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

header a[aria-label="XtremeDevelop Home"]:hover,
header a[aria-label="XtremeDevelop Home"]:focus-visible {
  z-index: 60;
}

header a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip,
header a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip,
footer a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip,
footer a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip {
  opacity: 1;
  visibility: visible;
}

.site-logo-tooltip-line {
  display: block;
  opacity: 0;
  transform: translateY(5px);
  line-height: 1.2;
}

.site-logo-tooltip-line--1 {
  font-size: 0.9rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.03em;
  color: #fff;
}

.site-logo-tooltip-line--2 {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38bdf8;
}

.site-logo-tooltip-line--3 {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #7dd3fc;
}

.site-logo-tooltip-line--4 {
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #a5b4fc;
  margin-top: 0.15rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

header a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip-line--1,
header a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip-line--1,
footer a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip-line--1,
footer a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip-line--1 {
  animation: siteLogoTooltipLine 0.3s ease 0.05s forwards;
}

header a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip-line--2,
header a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip-line--2,
footer a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip-line--2,
footer a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip-line--2 {
  animation: siteLogoTooltipLine 0.3s ease 0.2s forwards;
}

header a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip-line--3,
header a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip-line--3,
footer a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip-line--3,
footer a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip-line--3 {
  animation: siteLogoTooltipLine 0.3s ease 0.35s forwards;
}

header a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip-line--4,
header a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip-line--4,
footer a[aria-label="XtremeDevelop Home"]:hover .site-logo-tooltip-line--4,
footer a[aria-label="XtremeDevelop Home"]:focus-visible .site-logo-tooltip-line--4 {
  animation: siteLogoTooltipLine 0.3s ease 0.5s forwards;
}

@keyframes siteLogoTooltipLine {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-logo-tooltip-line {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

@media (min-width: 1280px) {
  header .nav-desktop {
    font-size: 0.8125rem;
    gap: 0.2rem 0.4rem;
  }

  header .nav-link {
    padding: 0.3rem 0.4rem;
    gap: 0.3rem;
  }

  header .nav-link-icon {
    font-size: 0.75rem;
    width: 0.875rem;
  }
}

@media (min-width: 1536px) {
  header .nav-desktop {
    font-size: 0.875rem;
    gap: 0.35rem 0.65rem;
  }

  header .nav-link {
    padding: 0.4rem 0.55rem;
    gap: 0.4rem;
  }

  header .nav-link-icon {
    font-size: 0.8rem;
    width: 1rem;
  }
}

/* Solid header on scroll — prevent content showing through nav */
header.fixed {
  z-index: 50;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

header.fixed.is-scrolled {
  background: rgba(15, 21, 35, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

header.fixed.is-scrolled nav.glass.site-shell {
  background: #0f1523;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  margin-top: 0.75rem;
}

.site-gutter {
  padding-left: 0;
  padding-right: 0;
}
/* Widen inner hero blocks that were capped on sub-pages */
.hero-copy {
  width: 100%;
  max-width: none;
}

.nav-desktop {
  gap: 0.35rem 0.65rem;
}

header .nav-desktop {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}
.nav-link-icon {
  font-size: 0.8rem;
  width: 1rem;
  text-align: center;
  opacity: 0.9;
  flex-shrink: 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 0.55rem;
  right: 0.55rem;
  width: auto;
  height: 2px;
  background: #818cf8;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.12);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-nav-icon {
  width: 1.125rem;
  text-align: center;
  flex-shrink: 0;
  color: #818cf8;
  font-size: 0.9rem;
}
#mobile-menu ul {
  gap: 0.35rem;
}

.sitemap-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .sitemap-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (min-width: 1536px) {
  .sitemap-grid { grid-template-columns: repeat(4, 1fr); }
}
.sitemap-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.5rem;
}
.sitemap-card h2 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.sitemap-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.sitemap-card a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.sitemap-card a:hover { color: #a5b4fc; }
.sitemap-card a i {
  width: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #818cf8;
}

@media (max-width: 1023px) {
  .timeline-line::before { display: none; }
}

/* Methodology page */
.method-progress {
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.35) transparent;
}
.method-progress-step {
  flex: 0 0 auto;
  width: 7.5rem;
  scroll-snap-align: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}
@media (min-width: 640px) {
  .method-progress-step { width: 8.5rem; }
}
@media (min-width: 1024px) {
  .method-progress-step { width: auto; flex: 1; }
}
.method-progress-circle {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.15);
  border: 2px solid rgba(99, 102, 241, 0.35);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
@media (min-width: 1024px) {
  .method-progress-circle {
    width: 4rem;
    height: 4rem;
    font-size: 1rem;
  }
}
.method-progress-step:hover .method-progress-circle,
.method-progress-step.is-active .method-progress-circle {
  color: #fff;
  background: #6366f1;
  border-color: #818cf8;
  box-shadow: 0 0 24px -4px rgba(99, 102, 241, 0.55);
  transform: scale(1.06);
}
.method-progress-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.35;
  transition: color 0.25s ease;
}
@media (min-width: 640px) {
  .method-progress-label { font-size: 0.75rem; }
}
.method-progress-step.is-active .method-progress-label,
.method-progress-step:hover .method-progress-label {
  color: #e2e8f0;
}
.method-progress-track {
  position: relative;
}
.method-progress-track::before {
  content: '';
  position: absolute;
  top: 1.625rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.45), rgba(129, 140, 248, 0.45), transparent);
  z-index: 0;
  display: none;
}
@media (min-width: 1024px) {
  .method-progress-track::before { display: block; top: 2rem; }
}

.methodology-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1280px) {
  .methodology-layout {
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}
.method-nav {
  position: sticky;
  top: 6.25rem;
  z-index: 10;
}
.method-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.875rem;
  margin-bottom: 0.35rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.method-nav-link:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
}
.method-nav-link.is-active {
  color: #fff;
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.35);
}
.method-nav-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.method-nav-link.is-active .method-nav-num {
  color: #fff;
  background: #6366f1;
}

.methodology-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .methodology-steps { gap: 1.5rem; }
}

.method-step-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 7rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
@media (min-width: 640px) {
  .method-step-card { padding: 1.75rem; }
}
@media (min-width: 1024px) {
  .method-step-card { padding: 2rem 2.25rem; }
}
.method-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 20px 40px -16px rgba(99, 102, 241, 0.25);
}
.method-step-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.method-step-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
}
.method-step-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}
@media (min-width: 640px) {
  .method-step-badge { top: 1.5rem; right: 1.5rem; }
}

.method-deliverables {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 640px) {
  .method-deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
}
.method-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
@media (min-width: 1024px) {
  .method-deliverable { font-size: 0.875rem; padding: 0.75rem 0.875rem; }
}
.method-deliverable i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #818cf8;
  font-size: 0.75rem;
}
.method-step-card:hover .method-deliverable {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.12);
}

.method-principle-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.method-principle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 20px 40px -16px rgba(99, 102, 241, 0.2);
}

/* Clients page */
.client-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
@media (min-width: 640px) {
  .client-card { padding: 1.75rem; }
}
@media (min-width: 1024px) {
  .client-card { padding: 2rem; }
}
.client-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.client-card:hover {
  transform: translateY(-8px);
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 24px 48px -16px rgba(99, 102, 241, 0.3);
}
.client-card:hover::before { opacity: 1; }
.client-card--featured {
  padding: 1.75rem;
}
@media (min-width: 1024px) {
  .client-card--featured { padding: 2.25rem 2.5rem; }
}
.client-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.client-card-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}
.client-logo-mark {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.client-card:hover .client-logo-mark {
  transform: scale(1.08) rotate(-2deg);
}
.client-logo-mark--cyan {
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 8px 24px -8px rgba(6, 182, 212, 0.35);
}
.client-logo-mark--violet {
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 8px 24px -8px rgba(139, 92, 246, 0.35);
}
.client-logo-mark--slate {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.client-logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
@media (min-width: 1024px) {
  .client-card--featured .client-logo-name { font-size: 1.375rem; }
}
.client-logo-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
}
.client-industry-tag {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.client-industry-tag--cyan { color: #22d3ee; background: rgba(6, 182, 212, 0.12); border-color: rgba(6, 182, 212, 0.25); }
.client-industry-tag--violet { color: #a78bfa; background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.25); }
.client-industry-tag--amber { color: #fbbf24; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.25); }
.client-industry-tag--emerald { color: #34d399; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.25); }
.client-industry-tag--sky { color: #38bdf8; background: rgba(14, 165, 233, 0.12); border-color: rgba(14, 165, 233, 0.25); }
.client-card-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #94a3b8;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.client-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.client-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.client-card:hover .client-meta-pill {
  color: #94a3b8;
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.12);
}
.client-meta-pill i { font-size: 0.65rem; color: #818cf8; }
.client-confidential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}
.client-confidential-badge i { font-size: 0.6rem; }

.client-float-icon {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  font-size: 4rem;
  color: rgba(99, 102, 241, 0.06);
  pointer-events: none;
  transition: transform 0.5s ease, color 0.5s ease;
}
.client-card:hover .client-float-icon {
  transform: translate(-4px, -4px) scale(1.05);
  color: rgba(99, 102, 241, 0.12);
}

.trust-stat-card {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.trust-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.3);
}

/* Site footer */
.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}
.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}
.footer-link-list a:hover {
  color: #a5b4fc;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.875rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
}
.footer-contact-list a {
  color: #94a3b8;
  transition: color 0.2s ease;
}
.footer-contact-list a:hover {
  color: #a5b4fc;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  font-size: 0.75rem;
}
@media (max-width: 1279px) {
  .nav-desktop { font-size: 0.75rem; gap: 0.25rem 0.5rem; }
  .nav-link { padding: 0.35rem 0.45rem; gap: 0.3rem; }
  .nav-link-icon { font-size: 0.7rem; width: 0.875rem; }
}
@media (max-width: 639px) {
  .expertise-hero-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .marquee-track, .reveal, .pulse-ring { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Legal pages — Privacy Policy & Terms of Service */
.legal-layout {
  align-items: start;
}
.legal-sidebar {
  position: relative;
}
.legal-toc-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.legal-toc-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}
.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.legal-toc-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #94a3b8;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.legal-toc-link:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
}
.legal-toc-link.is-active {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
  border-left-color: #818cf8;
}
.legal-body {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.legal-section {
  scroll-margin-top: 7rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.legal-section-num {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}
.legal-meta-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.legal-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.legal-meta-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  font-size: 0.8rem;
}
@media (min-width: 1024px) {
  .legal-sidebar .legal-toc-card {
    position: sticky;
    top: 7rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }
  .legal-toc-card::-webkit-scrollbar {
    width: 4px;
  }
  .legal-toc-card::-webkit-scrollbar-thumb {
    background: rgba(129, 140, 248, 0.3);
    border-radius: 4px;
  }
}
@media (max-width: 1023px) {
  .legal-toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .legal-toc-link {
    font-size: 0.8125rem;
    padding: 0.5rem 0.625rem;
    border-left: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .legal-toc-link.is-active {
    border-color: rgba(129, 140, 248, 0.35);
  }
}
@media (max-width: 639px) {
  .legal-toc-list {
    grid-template-columns: 1fr;
  }
}

/* ——— Homepage ——— */
.home-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .home-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
  }
}
.home-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.home-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4375rem 0.875rem;
  border-radius: 9999px;
}
.home-hero-visual {
  position: relative;
  padding: 1px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.45), rgba(99, 102, 241, 0.12), rgba(167, 139, 250, 0.35));
}
.home-hero-visual-inner {
  border-radius: calc(1.25rem - 1px);
  overflow: hidden;
  background: #0f1523;
}
.home-stat-card {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.home-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.3);
}
.home-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
@media (min-width: 1024px) {
  .home-stat-value { font-size: 2.25rem; }
}
.home-stat-label {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.375rem;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .section-header { margin-bottom: 4rem; }
}
.section-label {
  display: inline-block;
  color: #818cf8;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.section-label--left {
  display: block;
  text-align: left;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.875rem;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
.section-desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
}
@media (min-width: 1024px) {
  .section-desc { font-size: 1.0625rem; }
}

.home-service-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .home-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .home-service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}
.home-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-solutions-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .home-solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 1280px) {
  .home-solutions-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.home-solution-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.home-solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(255, 255, 255, 0.06);
}
.home-solution-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.home-solution-tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #818cf8;
  margin-bottom: 0.25rem;
}
.home-solution-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}
.home-solution-desc {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.55;
}

.home-why-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .home-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .home-why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}
.home-why-card {
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.home-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.3);
}
.home-why-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.home-why-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.home-why-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.65;
}

.home-process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .home-process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .home-process-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}
.home-process-step {
  padding: 1.5rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  height: 100%;
}
.home-process-num {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.15);
  border: 2px solid rgba(99, 102, 241, 0.35);
}
.home-process-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.375rem;
}
.home-process-desc {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
}

.home-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .home-explore-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1280px) {
  .home-explore-grid { gap: 1.5rem; }
}
.home-explore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: color 0.25s ease;
}
.home-explore-card i {
  font-size: 1.5rem;
}
.home-explore-card:hover {
  color: #fff;
}

.home-cta-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(129, 140, 248, 0.25);
}
@media (min-width: 1024px) {
  .home-cta-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 3rem;
    gap: 3rem;
  }
}
.home-cta-copy {
  flex: 1;
  min-width: 0;
}
.home-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .home-cta-actions {
    align-items: flex-start;
  }
}
@media (min-width: 1024px) {
  .home-cta-actions {
    align-items: flex-end;
    min-width: 16rem;
  }
}

/* ——— FAQ ——— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}
.faq-item {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item.is-open {
  border-color: rgba(129, 140, 248, 0.35);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
}
.faq-question i {
  flex-shrink: 0;
  color: #818cf8;
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.7;
}
.faq-item.is-open .faq-answer {
  display: block;
}

/* ——— Blog & case studies ——— */
.content-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .content-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .content-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}
.content-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.35);
}
.content-card-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #818cf8;
  margin-bottom: 0.5rem;
}
.content-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.content-card-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.content-card-meta {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}
.content-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #a5b4fc;
}

.article-body {
  max-width: 46rem;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 0.75rem;
}
.article-body p,
.article-body li {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-body strong {
  color: #e2e8f0;
}
.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.case-study-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

.checklist-panel {
  display: grid;
  gap: 2rem;
  padding: 2rem 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(255, 255, 255, 0.04) 60%);
  border: 1px solid rgba(129, 140, 248, 0.25);
}
@media (min-width: 1024px) {
  .checklist-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 2.5rem 3rem;
  }
}
.checklist-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.875rem;
  font-weight: 600;
}

.home-inquiry-panel {
  padding: 2rem 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 1024px) {
  .home-inquiry-panel { padding: 2.5rem; }
}
.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #fff;
}
.form-field select option,
.form-field select optgroup {
  color: #0f1523;
  background-color: #ffffff;
}
select option,
select optgroup {
  color: #0f1523;
  background-color: #ffffff;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #6366f1;
}

/* ——— Homepage dual action (consultation + checklist) ——— */
.home-action-band {
  background: linear-gradient(180deg, rgba(15, 21, 35, 0) 0%, rgba(99, 102, 241, 0.06) 50%, rgba(15, 21, 35, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.home-action-dual {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .home-action-dual {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
  }
}
.home-action-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
@media (min-width: 1024px) {
  .home-action-card { padding: 1.75rem 2rem; }
}
.home-action-card--consult {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, rgba(255, 255, 255, 0.04) 55%);
  border-color: rgba(129, 140, 248, 0.28);
  box-shadow: 0 20px 48px -24px rgba(99, 102, 241, 0.35);
}
.home-action-card--resource {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0.03) 55%);
  border-color: rgba(52, 211, 153, 0.22);
}
.home-action-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.home-action-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.home-action-icon--brand {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}
.home-action-icon--emerald {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}
.home-action-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #818cf8;
  margin-bottom: 0.25rem;
}
.home-action-card--resource .home-action-eyebrow {
  color: #34d399;
}
.home-action-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .home-action-title { font-size: 1.375rem; }
}
.home-action-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.home-action-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
}
.home-action-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}
.home-checklist-preview {
  display: grid;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-grow: 1;
}
.home-checklist-preview-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.home-checklist-preview-item i {
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}
.home-action-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: auto;
}
.home-action-form-row {
  display: grid;
  gap: 0.875rem;
}
@media (min-width: 640px) {
  .home-action-form-row { grid-template-columns: 1fr 1fr; }
}
.home-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.home-action-btn:hover {
  transform: translateY(-1px);
}
.home-action-btn--primary {
  color: #fff;
  background: #6366f1;
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.55);
}
.home-action-btn--primary:hover {
  background: #4f46e5;
}
.home-action-btn--resource {
  color: #fff;
  background: #059669;
  box-shadow: 0 8px 24px -8px rgba(5, 150, 105, 0.45);
}
.home-action-btn--resource:hover {
  background: #047857;
}
.home-action-btn.is-loading,
#quote-submit.is-loading {
  cursor: wait;
  pointer-events: none;
  opacity: 0.88;
}
.home-action-btn.is-loading:hover,
#quote-submit.is-loading:hover {
  transform: none;
}
.home-action-feedback {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.home-action-feedback--success { color: #4ade80; }
.home-action-feedback--error { color: #f87171; }

/* Post-submit next steps */
.form-next-steps {
  margin-top: 0.875rem;
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
}
.form-next-steps--resource {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
}
.form-next-steps__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #4ade80;
}
.form-next-steps--resource .form-next-steps__title {
  color: #34d399;
}
.form-next-steps__lead {
  margin: 0 0 0.625rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.form-next-steps__list {
  margin: 0 0 0.75rem;
  padding-left: 1.125rem;
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.55;
}
.form-next-steps__list li + li {
  margin-top: 0.35rem;
}
.form-next-steps__list strong {
  color: #e2e8f0;
  font-weight: 600;
}
.form-next-steps__note {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}
.form-next-steps__note a,
.form-next-steps__inline-link {
  color: #818cf8;
  text-decoration: underline;
}
.form-next-steps__inline-link:hover,
.form-next-steps__note a:hover {
  color: #a5b4fc;
}
.form-next-steps__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #059669;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.form-next-steps__cta:hover {
  background: #047857;
  color: #fff;
}
.form-next-steps__again {
  display: inline-block;
  margin-top: 0.625rem;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: underline;
  cursor: pointer;
}
.form-next-steps__again:hover {
  color: #cbd5e1;
}
.home-action-footnote {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: #64748b;
}
.home-action-card--resource .checklist-download-link {
  margin-top: 0.75rem;
}

/* Form CAPTCHA + honeypot (bot protection) */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-captcha-wrap {
  margin-top: 0.25rem;
}
.form-captcha-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
}
.form-captcha-question {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.form-field .form-captcha-input,
.form-captcha-input {
  width: calc(4.5rem + 40px);
  min-width: calc(4.5rem + 40px);
  max-width: calc(4.5rem + 40px);
  flex: 0 0 calc(4.5rem + 40px);
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}
.form-field .form-captcha-input:focus,
.form-captcha-input:focus {
  outline: none;
  border-color: #6366f1;
}
.form-captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.form-captcha-refresh:hover {
  color: #fff;
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.12);
}
.form-captcha-wrap.is-loading .form-captcha-question {
  color: #94a3b8;
  font-weight: 500;
}
