:root {
  --bg: #00000f;
  --bg-deep: #00001e;
  --ink: #f0f0f0;
  --ink-soft: #f0f0e1;
  --accent: #f0875a;
  --accent-strong: #e13c3c;
  --accent-coral: #e1784b;
  --accent-mint: #96e1c3;
  --card: #3a2542;
  --cta-gradient: linear-gradient(135deg, #4a2a4b, #c45b93, #f0875a);
  --line: rgba(240, 240, 240, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 15, 0.45);
  --glow-purple: rgba(196, 91, 147, 0.45);
  --glow-orange: rgba(240, 135, 90, 0.45);
  --glow-red: rgba(225, 60, 60, 0.45);
  --glow-mint: rgba(150, 225, 195, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: radial-gradient(
      circle at top left,
      rgba(225, 60, 60, 0.22),
      transparent 52%
    ),
    radial-gradient(circle at 20% 70%, rgba(150, 225, 195, 0.18), transparent 55%),
    radial-gradient(circle at 90% 30%, rgba(225, 120, 75, 0.18), transparent 45%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 15, 0.92);
  backdrop-filter: blur(12px);
  z-index: 10;
  border-bottom: 1px solid rgba(240, 240, 240, 0.08);
}

.nav-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transform: scale(1.25);
  transform-origin: center;
}

.logo span {
  display: inline-block;
  transform: scale(1.12);
  transform-origin: left center;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
    0 0 18px rgba(255, 255, 255, 0.45);
}

.site-nav a.is-active {
  color: #fff;
  text-shadow: 0 0 12px var(--glow-purple), 0 0 24px var(--glow-purple);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #4a2a4b, #c45b93);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(12, 10, 25, 0.3);
}

.button.primary {
  background: var(--cta-gradient);
  color: #fff;
}

.button.primary:hover {
  box-shadow: 0 0 24px var(--glow-purple), 0 0 36px var(--glow-orange),
    0 14px 30px rgba(0, 0, 15, 0.4);
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.ghost:hover {
  box-shadow: 0 0 20px var(--glow-purple);
}

.button.small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  padding: 96px 24px 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -1;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.hero-content h1 span {
  color: inherit;
}

.accent-text {
  background: linear-gradient(135deg, #4a2a4b, #c45b93, #f0875a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.trace-heading {
  position: relative;
  color: #f5f5f5;
}

.trace-heading::after {
  content: attr(data-trace);
  position: absolute;
  inset: 0;
  font: inherit;
  color: transparent;
  background: linear-gradient(135deg, #f0875a, #e1784b, #e13c3c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: pre-wrap;
  opacity: 0;
  pointer-events: none;
  mask-image: radial-gradient(
    220px 220px at var(--trace-x, 50%) var(--trace-y, 50%),
    #000 0%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    220px 220px at var(--trace-x, 50%) var(--trace-y, 50%),
    #000 0%,
    transparent 70%
  );
  transition: opacity 0.2s ease;
}

.faq-bubbles__field {
  position: relative;
  min-height: clamp(620px, 75vw, 900px);
  margin-top: 28px;
  border-radius: 32px;
  padding: 40px 16px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

.faq-bubbles__field.has-expanded .faq-bubble:not(.is-expanded) {
  opacity: 0.2;
}

.faq-bubble {
  position: absolute;
  width: var(--bubble-size, 190px);
  height: var(--bubble-size, 190px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  color: #f5f5f5;
  cursor: pointer;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    width 0.3s ease, height 0.3s ease, opacity 0.2s ease;
  transform: translate3d(var(--bubble-x, 0px), var(--bubble-y, 0px), 0)
    translate(var(--bubble-dx, 0px), var(--bubble-dy, 0px))
    translateY(var(--bubble-lift, 0px))
    scale(var(--bubble-scale, 1));
  will-change: transform;
  z-index: 1;
}

.faq-bubble:hover {
  --bubble-scale: 1.07;
  --bubble-lift: -10px;
  z-index: 6;
  box-shadow: 0 28px 60px rgba(0, 0, 15, 0.6), 0 0 32px var(--glow-purple);
}

.faq-bubble:focus-visible {
  outline: 2px solid rgba(240, 135, 90, 0.8);
  outline-offset: 4px;
}

.faq-bubble__question {
  font-weight: 600;
  font-size: 0.98rem;
}

.faq-bubble__answer {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.8);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.35s ease;
}

.faq-bubble__close {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240, 240, 240, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.faq-bubble.is-expanded {
  z-index: 5;
  box-shadow: 0 28px 80px rgba(0, 0, 15, 0.7), 0 0 40px var(--glow-orange);
}

.faq-bubble.is-expanded .faq-bubble__answer {
  opacity: 1;
  max-height: 240px;
}

.faq-bubble.is-expanded .faq-bubble__close {
  opacity: 1;
}

.faq-bubble.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .faq-bubbles__field {
    min-height: clamp(420px, 92vw, 560px);
    padding: 24px 10px;
  }

  .faq-bubble__question {
    font-size: 0.9rem;
  }

  .faq-bubble__answer {
    font-size: 0.85rem;
  }
}

.trace-heading:hover::after {
  opacity: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 240, 240, 0.2);
  background: rgba(11, 11, 34, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 16px var(--glow-purple);
}

.nav-badge {
  margin-top: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.hero-badge {
  display: none;
  margin: 0 0 16px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 12px;
}

.hero-meta div {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(58, 37, 66, 0.9);
  border: 1px solid rgba(240, 240, 240, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hero-meta div:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 240, 240, 0.24);
  box-shadow: 0 0 20px var(--glow-purple), 0 0 18px var(--glow-orange);
}

.hero-card {
  background: linear-gradient(160deg, #00000f, #00001e);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 240, 240, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 15, 0.6), 0 0 30px var(--glow-purple);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.stack-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 240, 240, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.stack-item:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 240, 240, 0.22);
  box-shadow: 0 0 18px var(--glow-purple), 0 0 16px var(--glow-orange);
}

.stack-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.stack-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a2a4b, #c45b93, #f0875a);
  box-shadow: 0 0 10px rgba(196, 91, 147, 0.6);
}

.stack-item h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.stack-tag {
  margin-left: auto;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240, 240, 240, 0.7);
}

.stack-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.stack-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.stack-proof span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240, 240, 240, 0.18);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  margin-top: 8px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #4a2a4b, #c45b93);
  border: 1px solid rgba(240, 240, 240, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 15, 0.45);
  padding: 12px;
  height: clamp(324px, 39.6vw, 432px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-visual img {
  width: 72%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-visual:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px rgba(0, 0, 15, 0.6), 0 0 28px var(--glow-purple),
    0 0 24px var(--glow-orange);
}

.pill {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(240, 240, 240, 0.12);
  background: rgba(11, 11, 34, 0.9);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stack {
  overflow: hidden;
  padding: 12px 0 32px;
  background: transparent;
}

.stack-track {
  display: flex;
  gap: 48px;
  justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: marquee 16s linear infinite;
}

.stack-track span {
  background: linear-gradient(135deg, #4a2a4b, #c45b93, #f0875a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(196, 91, 147, 0.35);
}

.logo-showcase {
  padding-top: 24px;
  padding-bottom: 40px;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(240, 240, 240, 0.16);
  background: linear-gradient(
    135deg,
    rgba(74, 42, 75, 0.7),
    rgba(196, 91, 147, 0.65),
    rgba(240, 135, 90, 0.6)
  );
  padding: 18px 0;
  --marquee-gap: 40px;
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: logo-marquee-scroll 70s linear infinite;
  will-change: transform;
  --marquee-distance: 0px;
}

.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: calc(var(--marquee-gap) * 1.4);
  padding-right: calc(var(--marquee-gap) * 1.4);
  flex-shrink: 0;
}

.logo-marquee img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(5, 12, 24, 0.35));
  opacity: 0.9;
  display: block;
  align-self: center;
}

.logo-marquee img.logo-lg {
  transform: scale(1.2);
}

.logo-marquee img.logo-md {
  transform: scale(1.25);
}

.logo-marquee img.logo-lg2 {
  transform: scale(1.35);
}

.logo-marquee img.logo-xl {
  transform: scale(1.9);
}

.logo-marquee img.logo-xxl {
  transform: scale(2);
}

.logo-marquee img.logo-lg.logo-center {
  transform: translateY(17px) scale(1.44);
  transform-origin: center;
}

.logo-marquee img.logo-xxl.logo-shift {
  transform: translateY(7px) scale(2);
  transform-origin: center;
}

.logo-marquee img.logo-node-shift {
  transform: translateY(3px);
  transform-origin: center;
}

.logo-marquee img.logo-n8n-shift {
  transform: translateY(1px) scale(1.35);
  transform-origin: center;
}

.promo-video-card {
  padding: 32px;
  display: grid;
  gap: 24px;
  border-radius: 28px;
  border: 1px solid rgba(240, 180, 120, 0.22);
  background: linear-gradient(
    140deg,
    rgba(46, 30, 44, 0.92),
    rgba(20, 14, 32, 0.95)
  );
  box-shadow: 0 26px 60px rgba(0, 0, 15, 0.6), 0 0 22px rgba(240, 135, 90, 0.25);
}

.promo-video-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.promo-video-header p {
  max-width: 640px;
  color: rgba(240, 240, 240, 0.75);
}

.promo-video-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(240, 240, 240, 0.65);
}

.promo-video-tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.promo-video-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(240, 180, 120, 0.28);
  background: rgba(8, 10, 20, 0.75);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.promo-video {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

  .home-page .hero-badge {
    display: inline-flex;
  }

  .nav-toggle {
    padding: 16px 28px;
    font-size: 1rem;
  }
  .promo-video-meta {
    align-items: flex-start;
  }
}

@keyframes mobile-sheen {
  0% {
    background-position: 0% 50%;
    opacity: 0.45;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.75;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.45;
  }
}


@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-30%);
  }
}

@keyframes logo-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--marquee-distance)));
  }
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 84px 24px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head.tool-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.tool-carousel-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .section-head.tool-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-carousel-actions {
    align-self: flex-end;
  }
}

.services-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-rows: auto 1fr;
  gap: 40px;
  align-items: center;
}

.services-head {
  grid-column: 1 / -1;
  max-width: none;
  width: 100%;
  margin-bottom: 24px;
}

.services-head h2 {
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
}

.services-head p {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
}

.services-visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
  position: relative;
  z-index: 0;
  pointer-events: auto;
}

.services-visual img {
  width: 108%;
  max-width: 774px;
  transform: translate(80px, -40px);
  height: auto;
  display: block;
  pointer-events: none;
}

.services-bubble {
  position: absolute;
  left: -20px;
  top: calc(40% - 220px);
  transform: translate(-20px, -50%);
  max-width: 260px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(
    140deg,
    rgba(32, 20, 44, 0.95),
    rgba(12, 8, 24, 0.9)
  );
  border: 1px solid rgba(196, 91, 147, 0.5);
  box-shadow: 0 18px 40px rgba(5, 5, 20, 0.5), 0 0 26px var(--glow-purple);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.services-bubble::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: 18px;
  border-left: 12px solid rgba(32, 20, 44, 0.95);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  filter: drop-shadow(0 6px 12px rgba(5, 5, 20, 0.35));
}

.services-bubble::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: 16px;
  border-left: 14px solid rgba(196, 91, 147, 0.45);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  z-index: -1;
}

.services-bubble p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: rgba(240, 240, 240, 0.9);
}

.services-visual:hover .services-bubble,
.services-visual:focus-within .services-bubble {
  opacity: 1;
  transform: translate(0, -50%);
  pointer-events: auto;
}

.services-bubble .button {
  width: 100%;
  justify-content: center;
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-content {
  grid-column: 2;
  position: relative;
  z-index: 1;
}

.page-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: rgba(240, 240, 240, 0.65);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 18px;
}

.about-hero__grid {
  gap: 40px;
}

.about-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-hero__visual img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 240, 240, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 15, 0.55), 0 0 28px var(--glow-purple);
}

.about-hero__badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(12, 8, 24, 0.92);
  border: 1px solid rgba(196, 91, 147, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 226, 240, 0.92);
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.about-team-card {
  padding: 0;
  overflow: hidden;
}

.about-team-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(240, 240, 240, 0.08);
}

.about-team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-team-card__content {
  padding: 20px 22px 24px;
}

@media (max-width: 720px) {
  .about-hero__badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
  }
}

.legal-content {
  max-width: 900px;
  display: grid;
  gap: 18px;
}

.legal-content h2 {
  margin-top: 12px;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  background: rgba(196, 91, 147, 0.18);
  border: 1px solid rgba(196, 91, 147, 0.45);
  color: #f2d6ff;
  margin-bottom: 14px;
}

.why-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.price-card h3,
.case-card h3 {
  margin-bottom: 10px;
}

.price-amount {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 10px 0 16px;
  background: linear-gradient(135deg, #f0875a, #f3a25a, #ffd08a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.price-note {
  color: rgba(240, 240, 240, 0.7);
  font-size: 0.95rem;
}

.price-card .checklist {
  margin-top: 18px;
}

.pricing-page .page-hero {
  padding-bottom: 96px;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  position: relative;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 30px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(196, 91, 147, 0.35),
    rgba(240, 135, 90, 0.1) 55%,
    transparent 70%
  );
  filter: blur(10px);
  opacity: 0.8;
  z-index: 0;
}

.pricing-hero > * {
  position: relative;
  z-index: 1;
}

.pricing-hero__panel {
  background: linear-gradient(
    160deg,
    rgba(58, 37, 66, 0.92),
    rgba(20, 14, 32, 0.95)
  );
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(240, 240, 240, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 15, 0.6), 0 0 20px var(--glow-purple);
}

.pricing-hero__panel h3 {
  margin-top: 12px;
}

.pricing-hero__panel .checklist {
  margin-top: 16px;
}

.pricing-hero__panel .checklist li {
  margin-bottom: 10px;
}

.pricing-hero__meta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(240, 240, 240, 0.65);
}

.pricing-hero__meta strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.pricing-veteran .veteran-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.6fr);
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: 32px;
  border: 1px solid rgba(240, 180, 120, 0.28);
  background: linear-gradient(
    140deg,
    rgba(78, 34, 34, 0.92),
    rgba(24, 16, 32, 0.96)
  );
  box-shadow: 0 26px 60px rgba(0, 0, 15, 0.6), 0 0 24px rgba(240, 135, 90, 0.4);
  position: relative;
  overflow: hidden;
}

.pricing-veteran .veteran-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 16% 20%,
      rgba(240, 135, 90, 0.3),
      transparent 60%
    ),
    radial-gradient(circle at 88% 15%, rgba(255, 208, 138, 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.pricing-veteran .veteran-banner__content > * {
  position: relative;
  z-index: 2;
}

.pricing-veteran .veteran-banner__content p {
  color: rgba(240, 240, 240, 0.78);
  font-size: 1.05rem;
  max-width: 560px;
}

.pricing-veteran .veteran-banner__badge {
  width: clamp(180px, 22vw, 240px);
  height: clamp(180px, 22vw, 240px);
  border-radius: 999px;
  border: 1px solid rgba(240, 180, 120, 0.45);
  background: radial-gradient(circle at 30% 30%, #f0875a, #5a2530 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff4e3;
  box-shadow: 0 18px 40px rgba(0, 0, 15, 0.5), 0 0 30px rgba(240, 135, 90, 0.4);
  position: relative;
  z-index: 2;
}

.pricing-veteran .veteran-banner__badge strong {
  font-size: 3.6rem;
  line-height: 1;
}

.pricing-veteran .veteran-banner__badge span {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .pricing-veteran .veteran-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-veteran .veteran-banner__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-veteran .hero-actions {
    justify-content: center;
  }
}

.retainer-bubbles .faq-bubbles__field {
  min-height: clamp(520px, 70vw, 720px);
  max-width: 880px;
}

@media (min-width: 960px) {
  .retainer-bubbles .faq-bubbles__field {
    min-height: clamp(680px, 70vw, 780px);
  }
}

.retainer-bubbles.section {
  padding-bottom: 56px;
}

.retainer-bubbles .faq-bubble {
  border-color: rgba(150, 225, 195, 0.25);
}

.retainer-bubbles .faq-bubble:hover {
  box-shadow: 0 26px 60px rgba(0, 0, 15, 0.6), 0 0 32px var(--glow-mint);
}

.retainer-bubbles .faq-bubble.is-expanded {
  box-shadow: 0 28px 80px rgba(0, 0, 15, 0.7), 0 0 40px var(--glow-mint);
}

.retainer-bubbles .faq-bubble__answer ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.retainer-bubbles .faq-bubble__answer li {
  position: relative;
  padding-left: 20px;
  text-align: left;
  font-size: 0.86rem;
  color: rgba(240, 240, 240, 0.75);
}

.retainer-bubbles .faq-bubble__answer li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-mint);
  font-weight: 700;
}

.intern-bubbles .faq-bubbles__field {
  min-height: clamp(520px, 70vw, 720px);
  max-width: 860px;
}

@media (min-width: 960px) {
  .intern-bubbles .faq-bubbles__field {
    min-height: clamp(640px, 70vw, 760px);
  }
}

.intern-bubbles .faq-bubble {
  padding: 18px;
  gap: 10px;
}

.intern-bubbles .faq-bubble__avatar {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 15, 0.45), 0 0 18px rgba(196, 91, 147, 0.35);
}

.intern-bubbles .faq-bubble__question {
  font-size: 0.95rem;
}

.intern-bubbles .faq-bubble__answer {
  font-size: 0.86rem;
}

.pricing-note {
  border-color: rgba(150, 225, 195, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 15, 0.55), 0 0 18px var(--glow-mint);
}

.newsletter-page .page-hero {
  padding-bottom: 80px;
}

.newsletter-feed__wrap {
  display: grid;
  gap: 28px;
}

.newsletter-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-card__content {
  display: grid;
  gap: 10px;
}

.newsletter-feature {
  display: grid;
  gap: 18px;
}

.newsletter-card__media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(240, 180, 120, 0.22);
  background: rgba(8, 10, 20, 0.7);
  aspect-ratio: 16 / 9;
}

.newsletter-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsletter-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(240, 240, 240, 0.6);
}

.newsletter-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsletter-card__tags span {
  border: 1px solid rgba(240, 135, 90, 0.3);
  color: rgba(255, 221, 205, 0.9);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-card__link {
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.newsletter-pagination {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.newsletter-pagination__label {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.6);
}

.newsletter-pagination__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-page-btn {
  border: 1px solid rgba(240, 180, 120, 0.35);
  background: rgba(14, 12, 28, 0.8);
  color: rgba(240, 240, 240, 0.85);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.newsletter-page-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 177, 120, 0.7);
  box-shadow: 0 10px 25px rgba(24, 16, 36, 0.35);
}

.newsletter-page-btn.is-active {
  border-color: rgba(255, 190, 135, 0.9);
  background: linear-gradient(135deg, rgba(255, 157, 100, 0.95), rgba(255, 204, 140, 0.85));
  color: #1a0c19;
  font-weight: 600;
}

.newsletter-card.is-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 24px;
}

.newsletter-card.is-featured .newsletter-card__media {
  order: 2;
}

.newsletter-article {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.newsletter-article__cover {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(240, 180, 120, 0.22);
  background: rgba(8, 10, 20, 0.7);
  aspect-ratio: 16 / 9;
}

.newsletter-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsletter-article__image {
  margin: 24px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(240, 180, 120, 0.22);
  background: rgba(12, 10, 24, 0.6);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.newsletter-article__image img {
  width: 100%;
  height: auto;
  display: block;
}

.newsletter-article__image figcaption {
  padding: 12px 16px 14px;
  font-size: 0.85rem;
  color: rgba(240, 240, 240, 0.65);
  background: rgba(8, 8, 18, 0.7);
}

.newsletter-article__body {
  display: grid;
  gap: 16px;
  color: rgba(240, 240, 240, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}

.newsletter-article__body h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-top: 10px;
}

.newsletter-article__body ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.newsletter-article__body li {
  position: relative;
  padding-left: 20px;
}

.newsletter-article__body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.newsletter-article__cta {
  margin-top: 12px;
}

@media (max-width: 860px) {
  .newsletter-card.is-featured {
    grid-template-columns: 1fr;
  }

  .newsletter-card.is-featured .newsletter-card__media {
    order: 0;
  }
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(240, 240, 240, 0.65);
  margin-bottom: 12px;
}

.case-links {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}

.case-links a {
  font-weight: 600;
  color: var(--accent);
}

.section-actions {
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.faq-item {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(240, 240, 240, 0.08);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: rgba(240, 240, 240, 0.7);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "–";
  transform: translateY(-1px);
}

.faq-item p {
  padding: 0 20px 18px;
  color: rgba(240, 240, 240, 0.75);
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240, 240, 240, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 15, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 240, 240, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 15, 0.6), 0 0 24px var(--glow-orange);
}

.portfolio-categories .section-head {
  align-items: flex-start;
}

.portfolio-rows {
  display: grid;
  gap: 36px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin: 18px 0 24px;
}

.portfolio-filters .filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.6);
}

.portfolio-filters select {
  appearance: none;
  background: rgba(12, 8, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(240, 240, 240, 0.9);
  padding: 10px 38px 10px 14px;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.02em;
  min-width: 180px;
}

.portfolio-filters select:focus {
  outline: 2px solid rgba(196, 91, 147, 0.5);
  outline-offset: 2px;
}

.portfolio-row {
  display: grid;
  gap: 18px;
}

.portfolio-row__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.portfolio-row__header h3 {
  margin: 0 0 6px;
}

.portfolio-row__header p {
  margin: 0;
  color: rgba(240, 240, 240, 0.7);
}

.portfolio-row__actions {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  border: 1px solid rgba(240, 240, 240, 0.25);
  background: rgba(9, 8, 20, 0.65);
  color: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 240, 240, 0.45);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4), 0 0 18px var(--glow-pink);
}

.portfolio-carousel {
  overflow: hidden;
}

.portfolio-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(320px, 74vw, 980px);
  gap: 24px;
  overflow-x: hidden;
  padding-top: 10px;
  padding-bottom: 6px;
  scroll-padding: 0 12vw;
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
}

.portfolio-track::-webkit-scrollbar {
  display: none;
}

.portfolio-track.is-dragging {
  cursor: grabbing;
}

.portfolio-card {
  display: grid;
  grid-template-rows: 160px 1fr;
  padding: 0;
  scroll-snap-align: start;
  overflow: hidden;
}

.portfolio-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(64, 42, 77, 0.9), rgba(17, 12, 28, 0.9));
  color: rgba(240, 240, 240, 0.7);
  font-size: 0.9rem;
  position: relative;
  background-size: cover;
  background-position: center;
}

.portfolio-thumb > span:not(.portfolio-thumb__badge) {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 240, 240, 0.2);
  background: rgba(7, 6, 14, 0.55);
}

.portfolio-thumb__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cta-gradient);
  border: 1px solid transparent;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portfolio-body {
  padding: 20px 22px 24px;
  display: grid;
  gap: 12px;
}

.portfolio-body h4 {
  margin: 0;
  font-size: 1.1rem;
}

.portfolio-body p {
  margin: 0;
  color: rgba(240, 240, 240, 0.72);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.portfolio-meta span {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(240, 240, 240, 0.75);
}

.portfolio-details {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.portfolio-detail {
  display: grid;
  gap: 4px;
}

.portfolio-detail__label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.55);
}

.portfolio-detail__value {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.78);
  line-height: 1.4;
}

.portfolio-detail--metrics {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(240, 240, 240, 0.12);
  background: rgba(10, 7, 20, 0.6);
}

.portfolio-features {
  display: grid;
  gap: 6px;
}

.portfolio-features ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(240, 240, 240, 0.75);
  font-size: 0.85rem;
}

.portfolio-features li {
  margin: 4px 0;
}

.portfolio-actions {
  margin-top: auto;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.portfolio-link:hover {
  color: #fff;
}

.portfolio-row--feature .portfolio-card {
  scroll-snap-align: center;
}

.portfolio-card--flip {
  grid-template-rows: 1fr;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  max-height: 540px;
  perspective: 1400px;
}

.portfolio-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.portfolio-card--flip.is-flipped .portfolio-card__inner {
  transform: rotateY(180deg);
}

.portfolio-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.portfolio-face--back {
  transform: rotateY(180deg) translateZ(1px);
  background: linear-gradient(135deg, rgba(68, 40, 86, 0.92), rgba(8, 7, 18, 0.98));
  pointer-events: none;
}

.portfolio-card--flip.is-flipped .portfolio-face--front {
  pointer-events: none;
}

.portfolio-card--flip.is-flipped .portfolio-face--back {
  pointer-events: auto;
}

.portfolio-front-actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.portfolio-details-btn,
.portfolio-view-btn {
  margin: 0;
}

.portfolio-back-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  margin: 0;
}

.portfolio-card--flip .portfolio-body {
  height: 100%;
}

.portfolio-card--flip .portfolio-thumb {
  height: 100%;
  border-radius: inherit;
}

.portfolio-thumb__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(140, 80, 170, 0.2), rgba(7, 6, 15, 0.85));
  color: rgba(240, 240, 240, 0.75);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}
.portfolio-card--flip .chip {
  justify-self: flex-start;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.portfolio-card--flip .portfolio-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 0.75rem;
}

.portfolio-card--flip .portfolio-actions {
  margin-top: auto;
}

.portfolio-card--flip .portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4a2a4b, #c45b93, #f0875a);
  color: #fff;
  font-weight: 600;
}

.portfolio-card--flip .portfolio-link:hover {
  color: #fff;
  box-shadow: 0 0 24px var(--glow-purple), 0 0 36px var(--glow-orange),
    0 12px 24px rgba(0, 0, 0, 0.4);
}

.portfolio-body--details {
  padding: 18px 20px;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.portfolio-body--details > * {
  position: relative;
  z-index: 2;
}

.portfolio-body--details h4 {
  font-size: 1rem;
}

.portfolio-body--details p {
  font-size: 0.9rem;
  line-height: 1.35;
}

.portfolio-body--details .portfolio-tags span {
  font-size: 0.68rem;
  padding: 4px 10px;
}

.portfolio-body--details .portfolio-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.portfolio-body--details .portfolio-detail__label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
}

.portfolio-body--details .portfolio-detail__value {
  font-size: 0.82rem;
}

.portfolio-body--details .portfolio-features {
  grid-column: 1 / -1;
}

.portfolio-body--details .portfolio-features ul {
  columns: 2;
  column-gap: 16px;
}

.portfolio-body--details .portfolio-detail--metrics {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .portfolio-track {
    grid-auto-columns: 88vw;
    scroll-padding: 0 6vw;
  }

  .portfolio-card--flip {
    min-height: 260px;
    max-height: 420px;
  }
}

.card.compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card.compact a {
  font-weight: 600;
  color: var(--accent);
}

.muted {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.6);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.checklist li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

.panel {
  background: linear-gradient(140deg, rgba(58, 37, 66, 0.92), rgba(28, 18, 40, 0.92));
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(240, 240, 240, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(240, 240, 240, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 15, 0.45);
  margin-bottom: 18px;
  display: block;
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 15, 0.6), 0 0 26px var(--glow-mint);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.panel-grid div {
  padding: 14px;
  border-radius: 12px;
  background: rgba(240, 240, 240, 0.06);
}

.tool-panels-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(320px, 88vw, 1040px);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 12vw;
  scrollbar-width: none;
  margin-bottom: 24px;
}

.tool-panels-carousel::-webkit-scrollbar {
  display: none;
}

.tool-panels-carousel > .panel {
  min-width: 0;
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .tool-panels-carousel {
    grid-auto-columns: min(92vw, 720px);
    scroll-padding: 0 10vw;
  }
}

.converter-tool {
  display: grid;
  gap: 24px;
}

.converter-header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}

.converter-meta {
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
}

.converter-meta div {
  background: rgba(240, 240, 240, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
  display: grid;
  gap: 4px;
}

.converter-meta span {
  color: rgba(240, 240, 240, 0.7);
  font-size: 0.85rem;
}

.converter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.converter-drop {
  position: relative;
  border: 1px dashed rgba(240, 240, 240, 0.3);
  border-radius: 16px;
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: rgba(10, 8, 18, 0.5);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.converter-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.converter-drop__text span {
  color: var(--accent-strong);
}

.converter-drop.is-dragging {
  border-color: var(--accent-strong);
  box-shadow: 0 0 24px rgba(255, 122, 49, 0.3);
}

.converter-controls {
  display: grid;
  gap: 16px;
}

.converter-field {
  display: grid;
  gap: 8px;
}

.converter-field label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.converter-field input,
.converter-field select {
  width: 100%;
  background: rgba(12, 8, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: rgba(240, 240, 240, 0.9);
  padding: 10px 12px;
  font-size: 0.85rem;
}

.converter-field input:focus,
.converter-field select:focus {
  outline: 2px solid rgba(196, 91, 147, 0.5);
  outline-offset: 2px;
}

.converter-field--row {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.converter-video {
  background: rgba(240, 240, 240, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.converter-video__status {
  font-size: 0.8rem;
  color: rgba(240, 240, 240, 0.6);
}

.converter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.converter-log {
  font-size: 0.9rem;
}

.converter-list {
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}

.brand-palette {
  display: grid;
  gap: 24px;
}

.brand-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.brand-palette-drop {
  position: relative;
  border: 1px dashed rgba(240, 240, 240, 0.3);
  border-radius: 16px;
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: rgba(10, 8, 18, 0.5);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-palette-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.brand-palette-drop.is-dragging {
  border-color: var(--accent-strong);
  box-shadow: 0 0 24px rgba(255, 122, 49, 0.3);
}

.brand-palette-preview {
  display: grid;
  gap: 16px;
}

.brand-palette-preview__image {
  width: 100%;
  min-height: 140px;
  border-radius: 16px;
  background: rgba(240, 240, 240, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-palette-preview__image img {
  max-width: 100%;
  max-height: 240px;
  display: block;
}

.brand-palette-controls {
  display: grid;
  gap: 8px;
}

.brand-palette-controls label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.6);
}

.brand-palette-controls select {
  background: rgba(12, 8, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: rgba(240, 240, 240, 0.9);
  padding: 10px 12px;
  font-size: 0.85rem;
}

.brand-palette-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.brand-palette-swatch {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--swatch-color, rgba(240, 240, 240, 0.08));
  color: var(--swatch-ink, #fff);
  display: grid;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-palette-swatch:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 15, 0.45);
}

.brand-palette-swatch__label {
  font-weight: 600;
  font-size: 0.85rem;
}

.brand-palette-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-palette-output {
  font-size: 0.85rem;
}

.converter-item {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(240, 240, 240, 0.06);
  border: 1px solid rgba(240, 240, 240, 0.12);
}

.converter-item__meta {
  display: grid;
  gap: 4px;
}

.converter-output {
  font-size: 0.8rem;
  color: rgba(240, 240, 240, 0.65);
}

.converter-status {
  font-size: 0.8rem;
  color: rgba(240, 240, 240, 0.6);
}

.converter-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.proof-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240, 240, 240, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proof-icon {
  width: 208px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 0, 15, 0.6), 0 0 22px var(--glow-purple);
}

.proof-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.proof-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(240, 240, 240, 0.08);
}

.proof-card li:last-child {
  border-bottom: none;
}

.process {
  background: var(--bg-deep);
  border-radius: var(--radius);
}

.process-interactive {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

.process-steps {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
}

.process-step {
  border: 1px solid rgba(240, 240, 240, 0.08);
  background: var(--card);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-step:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 240, 240, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 15, 0.55), 0 0 18px var(--glow-purple);
}

.process-step.is-active {
  border-color: rgba(240, 240, 240, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 15, 0.6), 0 0 22px var(--glow-orange);
}

.process-step__index {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a2a4b, #c45b93, #f0875a);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

.process-step__hint {
  display: block;
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.7);
  margin-top: 6px;
}

.process-panel {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(240, 240, 240, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 15, 0.5);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.process-panel.is-fading {
  opacity: 0;
  transform: translateY(8px);
}

.process-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(240, 240, 240, 0.1);
  overflow: hidden;
  margin-bottom: 18px;
}

.process-progress__bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(135deg, #4a2a4b, #c45b93, #f0875a);
  transition: transform 0.35s ease;
}

.process-detail__label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(240, 240, 240, 0.7);
  margin-bottom: 8px;
}

.process-detail {
  flex: 1;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240, 240, 240, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 15, 0.6), 0 0 22px var(--glow-red);
}

.step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a2a4b, #c45b93, #f0875a);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
  overflow: hidden;
  background: #07090f;
  color: #fff;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0, 0, 15, 0.9), rgba(0, 0, 30, 0.88));
  z-index: 1;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  z-index: 0;
  pointer-events: none;
}

.cta > *:not(.cta-bg) {
  position: relative;
  z-index: 2;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(0, 0, 15, 0.65), 0 0 30px var(--glow-orange),
    0 0 24px var(--glow-purple);
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
}

.cta .button.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.faq details {
  border: 1px solid rgba(240, 240, 240, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  background: var(--card);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 84px 24px 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-tagline {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 320px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  flex: 1;
  min-width: min(520px, 100%);
}

.footer-group h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.footer-link {
  display: inline-flex;
  width: fit-content;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  position: relative;
  padding: 2px 0;
}

.footer-link:hover {
  color: #fff;
}

.footer-link::after {
  content: attr(data-trace);
  position: absolute;
  inset: 0;
  font: inherit;
  color: transparent;
  background: linear-gradient(135deg, #f0875a, #e1784b, #e13c3c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: pre;
  opacity: 0;
  pointer-events: none;
  mask-image: radial-gradient(
    140px 140px at var(--trace-x, 50%) var(--trace-y, 50%),
    #000 0%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    140px 140px at var(--trace-x, 50%) var(--trace-y, 50%),
    #000 0%,
    transparent 70%
  );
  transition: opacity 0.2s ease;
}

.footer-link:hover::after {
  opacity: 1;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  width: 100%;
  margin-top: 32px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 14, 0.78);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1350px, 96vw);
  height: min(76vh, 765px);
  max-height: 76vh;
  background: rgba(12, 8, 24, 0.95);
  border-radius: 20px;
  border: 1px solid rgba(240, 240, 240, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 20, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  background: transparent;
  border: 1px solid rgba(240, 240, 240, 0.2);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 2;
}

.modal-frame {
  border: none;
  width: 100%;
  height: 100%;
  min-height: 700px;
  flex: 1;
  display: block;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.modal-open {
  overflow: hidden;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 960px) {
  .stack-track {
    justify-content: flex-start;
    padding-left: 24px;
  }

  .pricing-hero {
    grid-template-columns: 1fr;
  }

  .services-split {
    grid-template-columns: 1fr;
  }

  .services-head,
  .services-content {
    grid-column: 1 / -1;
  }

  .services-visual {
    width: 100%;
    margin-bottom: 24px;
  }

  .services-visual img {
    width: 100%;
    max-width: 620px;
    transform: translate(0, 0);
  }

  .services-bubble {
    opacity: 0;
    transform: translate(-20px, -50%);
    pointer-events: none;
  }

  .services-bubble::after {
    display: none;
  }

  .services-split.is-visible .services-bubble {
    opacity: 1;
    transform: translate(0, -50%);
    pointer-events: auto;
  }

  .process-interactive {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 24px;
    background: var(--card);
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 12px;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 72px;
  }

  .cta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.panel {
  background: var(--card);
}

.card,
.proof-card,
.step,
.process-panel,
.process-step,
.panel,
.faq-item,
.faq details,
.hero-card,
.hero-meta div,
.stack-item,
.faq-bubble {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    rgba(58, 37, 66, 0.92),
    rgba(20, 14, 32, 0.95)
  );
  box-shadow: 0 18px 46px rgba(0, 0, 15, 0.55);
}

.card::before,
.proof-card::before,
.step::before,
.process-panel::before,
.process-step::before,
.panel::before,
.faq-item::before,
.faq details::before,
.hero-card::before,
.hero-meta div::before,
.stack-item::before,
.faq-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 18% 18%,
      rgba(196, 91, 147, 0.22),
      transparent 55%
    ),
    radial-gradient(circle at 85% 20%, rgba(240, 135, 90, 0.15), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  opacity: 0.9;
  z-index: 0;
}

.card > *,
.proof-card > *,
.step > *,
.process-panel > *,
.process-step > *,
.panel > *,
.faq-item > *,
.faq details > *,
.hero-card > *,
.hero-meta div > *,
.stack-item > *,
.faq-bubble > * {
  position: relative;
  z-index: 2;
}

.trace-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    240px 240px at var(--trace-x, 50%) var(--trace-y, 50%),
    rgba(240, 135, 90, 0.45),
    rgba(225, 60, 60, 0.18) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  border-radius: inherit;
}

.trace-sheen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.faq-bubble {
  position: absolute;
  top: 0;
  left: 0;
}

.trace-sheen:hover::after {
  opacity: 1;
}

@media (max-width: 720px) {
  .trace-sheen::after {
    opacity: 0.6;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.25) 30%,
      rgba(255, 140, 210, 0.45) 50%,
      rgba(255, 196, 150, 0.45) 65%,
      rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 200%;
    -webkit-animation: mobile-sheen 3.5s ease-in-out infinite;
    animation: mobile-sheen 3.5s ease-in-out infinite;
    mix-blend-mode: screen;
    transform: translate3d(0, 0, 0);
    filter: saturate(1.2) brightness(1.25);
    will-change: background-position, opacity;
  }
}
