/* ==========================================================================
   Section-Specific Styles
   Anthropic-inspired: clean, warm, spacious, refined
   ========================================================================== */

/* ===== NAVBAR ===== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-lg) 0;
  background-color: #faf8f3;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background-color: #faf8f3;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(232, 228, 220, 0.6);
}

[data-theme="dark"] .navbar {
  background-color: #111110;
}

[data-theme="dark"] .navbar.scrolled {
  background-color: #111110;
  border-bottom-color: rgba(42, 41, 38, 0.6);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-heading);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.navbar__logo:hover {
  opacity: 0.7;
}

.navbar__logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-body);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text-heading);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar__link:hover {
  color: var(--color-text-heading);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  font-size: var(--text-sm);
  padding: 0.625rem 1.5rem;
  font-weight: 600;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Mobile menu button */
.navbar__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}

.navbar__menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-text-heading);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__menu-btn.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.navbar__menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.navbar__menu-btn.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Collapse nav links into hamburger at 1024px */
@media (max-width: 1024px) {
  .navbar__menu-btn {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-xl);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: var(--z-overlay);
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__link {
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--color-text-heading);
  }

  .navbar__cta {
    font-size: var(--text-sm);
    padding: 0.875rem 2rem;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--space-5xl) + 80px);
  padding-bottom: var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.5;
}

.hero__bg canvas {
  width: 100%;
  height: 100%;
}

.hero__split {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.hero__content {
  flex: 0 0 60%;
  max-width: 60%;
}

.hero__heading {
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xl);
  color: var(--color-text-heading);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-body);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero__video {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.hero__visual {
  flex: 1;
  min-width: 0;
  min-height: 300px;
  aspect-ratio: 1 / 1;
  position: relative;
}

.hero__visual::before {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.16) 0%, rgba(45, 106, 79, 0.06) 45%, transparent 72%);
  pointer-events: none;
}

[data-theme="dark"] .hero__visual::before {
  background: radial-gradient(circle, rgba(92, 184, 138, 0.22) 0%, rgba(92, 184, 138, 0.07) 45%, transparent 72%);
}

.hero__visual canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--space-4xl) + 60px);
    padding-bottom: var(--space-3xl);
  }

  .hero__split {
    flex-direction: column;
    gap: var(--space-2xl);
  }

  .hero__content {
    flex: none;
    max-width: 100%;
  }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg-primary);
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-bar__label {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-bar__marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.trust-bar__track {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  white-space: nowrap;
  will-change: transform;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  padding: var(--space-xs) var(--space-sm);
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: var(--color-bg-primary);
}

.services__header {
  margin-bottom: var(--space-4xl);
  max-width: 640px;
}

.services__heading {
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-text-heading);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-xl);
}

.services__subtext {
  font-size: var(--text-lg);
  color: var(--color-text-body);
  line-height: var(--leading-relaxed);
  max-width: 540px;
}

/* -- Bento Grid Layout -- */
.services__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-lg);
}

.services__bento .svc-card--featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

/* -- Service Card -- */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
}

.svc-card:hover {
  border-color: var(--color-accent-green-pale);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.svc-card--featured {
  background-color: var(--color-bg-dark);
  border-color: transparent;
}

.svc-card--featured:hover {
  border-color: rgba(92, 184, 138, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .svc-card--featured {
  background-color: #0e0e0d;
  border-color: var(--color-border);
}

/* -- Badge -- */
.svc-card__badge {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--color-accent-terracotta);
  color: #ffffff;
}

/* -- Number -- */
.svc-card__number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2xl);
  opacity: 0.5;
}

.svc-card--featured .svc-card__number {
  color: rgba(250, 248, 243, 0.25);
}

/* -- Icon -- */
.svc-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-secondary);
  color: var(--color-accent-green);
  margin-bottom: var(--space-xl);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .svc-card__icon {
  background-color: var(--color-accent-green-pale);
  border-color: var(--color-accent-green);
}

.svc-card--featured .svc-card__icon {
  border-color: rgba(250, 248, 243, 0.1);
  background-color: rgba(250, 248, 243, 0.05);
  color: #5cb88a;
}

.svc-card--featured:hover .svc-card__icon {
  background-color: rgba(92, 184, 138, 0.12);
  border-color: rgba(92, 184, 138, 0.3);
}

.svc-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* -- Title -- */
.svc-card__title {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-heading);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.svc-card--featured .svc-card__title {
  color: var(--color-text-inverse);
  font-size: var(--text-2xl);
}

[data-theme="dark"] .svc-card--featured .svc-card__title {
  color: #f2efe8;
}

/* -- Description -- */
.svc-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: auto;
  padding-bottom: var(--space-xl);
}

.svc-card--featured .svc-card__desc {
  color: rgba(250, 248, 243, 0.5);
  font-size: var(--text-base);
}

[data-theme="dark"] .svc-card--featured .svc-card__desc {
  color: rgba(242, 239, 232, 0.45);
}

/* -- CTA Link -- */
.svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent-green);
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: auto;
}

.svc-card:hover .svc-card__cta {
  gap: 12px;
}

.svc-card--featured .svc-card__cta {
  color: #5cb88a;
}

.svc-card__arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9em;
}

.svc-card:hover .svc-card__arrow {
  transform: translateX(3px);
}

/* -- Responsive -- */
@media (max-width: 1024px) {
  .services__bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__bento .svc-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .services__bento {
    grid-template-columns: 1fr;
  }

  .svc-card {
    padding: var(--space-xl);
  }

  .services__header {
    margin-bottom: var(--space-3xl);
  }
}

/* ===== WHY US SECTION ===== */
.why-us {
  background-color: var(--color-bg-primary);
}

.why-us__header {
  margin-bottom: var(--space-3xl);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-2xl);
}

.why-us__item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.why-us__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-accent-green);
}

.why-us__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.why-us__item-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.why-us__item-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .why-us__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HOW IT WORKS / TIMELINE ===== */
.timeline {
  background-color: var(--color-bg-primary);
}

.timeline__header {
  margin-bottom: var(--space-3xl);
}

.timeline__split {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3xl);
}

.timeline__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.timeline__visual {
  flex: 0 0 420px;
  height: 480px;
  position: sticky;
  top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.timeline__visual canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.timeline__line {
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background-color: var(--color-border);
  z-index: 0;
}

.timeline__line-fill {
  width: 100%;
  height: 0;
  background-color: var(--color-accent-green);
  transition: height 0.3s ease;
}

.timeline__step {
  display: flex;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
  padding: var(--space-lg) 0;
}

.timeline__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-primary);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline__step.active .timeline__number {
  background-color: var(--color-accent-green);
  border-color: var(--color-accent-green);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--color-accent-green-pale);
}

.timeline__step-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.timeline__step-duration {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent-green);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.timeline__step-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 480px;
}

@media (max-width: 1024px) {
  .timeline__visual {
    flex: 0 0 320px;
    height: 380px;
  }
}

@media (max-width: 768px) {
  .timeline__split {
    flex-direction: column;
  }

  .timeline__visual {
    flex: none;
    width: 100%;
    height: 300px;
    position: static;
    order: -1;
    margin-bottom: var(--space-xl);
  }

  .timeline__step {
    gap: var(--space-lg);
  }

  .timeline__line {
    left: 19px;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__heading {
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-lg);
  letter-spacing: var(--tracking-tight);
}

.cta-section__text {
  font-size: var(--text-base);
  color: rgba(250, 248, 243, 0.6);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--leading-relaxed);
}

.cta-section .btn--primary {
  background-color: #ffffff;
  color: var(--color-bg-dark);
}

.cta-section .btn--primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
}

.cta-section__note {
  margin-top: var(--space-lg);
  font-size: var(--text-xs);
  color: rgba(250, 248, 243, 0.35);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: var(--color-bg-primary);
}

.faq__header {
  margin-bottom: var(--space-3xl);
}

.faq__list {
  max-width: 700px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-xl) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-heading);
  transition: color 0.2s ease;
  gap: var(--space-xl);
}

.faq__question:hover {
  color: var(--color-accent-green);
}

.faq__question-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-text-muted);
}

.faq__question-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.faq__item.active .faq__question-icon {
  transform: rotate(180deg);
}

.faq__item.active .faq__question {
  color: var(--color-accent-green);
}

.faq__answer {
  height: 0;
  overflow: hidden;
}

.faq__answer-inner {
  padding-bottom: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 600px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-bg-primary);
  color: var(--color-text-body);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__brandrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 420px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-heading);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
  text-decoration: none;
}

.footer__logo-img {
  height: 30px;
  width: 30px;
  object-fit: contain;
}

.footer__tagline {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 920px;
  padding: var(--space-3xl) var(--space-2xl);
  border-radius: var(--radius-xl);
  background-color: var(--color-bg-secondary);
  background-image: url("../assets/mesh.webp");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.footer__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.38));
}

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

.footer__cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1816;
  margin-bottom: var(--space-xs);
}

.footer__cta-text {
  font-size: var(--text-base);
  color: #4a4640;
  line-height: var(--leading-normal);
  margin-bottom: var(--space-lg);
}

.footer__linksrow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4xl);
  padding: var(--space-2xl) 0;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 180px;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer__link {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-body);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-text-heading);
}

.footer__legalrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-xl);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__social-link:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text-heading);
}

.footer__social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .footer__brandrow {
    flex-direction: column;
  }

  .footer__cta {
    max-width: 100%;
    padding: var(--space-xl);
  }

  .footer__linksrow {
    gap: var(--space-2xl);
  }

  .footer__legalrow {
    justify-content: center;
    text-align: center;
  }
}

.hero--full .hero__content {
  flex: 1;
  max-width: 100%;
}

.hero--3d .hero__content {
  flex: 1;
  max-width: 100%;
}

/* Sphere hidden for now. To bring it back: remove display:none below and set
   .hero--3d .hero__content above to flex: 0 0 56%; max-width: 56%; */
.hero--3d .hero__visual {
  display: none;
  max-width: 470px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .hero--3d .hero__content {
    flex: none;
    max-width: 100%;
  }

  .hero--3d .hero__visual {
    display: none;
    width: 100%;
    max-width: 300px;
    min-height: 240px;
    margin: 0 auto;
  }
}

.section--tight {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero--viewport {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--space-2xl) + 80px);
  padding-bottom: var(--space-xl);
}

.services__subtext + .why-us__grid {
  margin-top: var(--space-3xl);
}

.why-us__grid + .why-us__grid {
  margin-top: var(--space-3xl);
}

.section-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-4xl);
}

.container--narrow {
  max-width: 60vw;
}

@media (max-width: 1024px) {
  .container--narrow {
    max-width: 85vw;
  }
}

@media (max-width: 768px) {
  .container--narrow {
    max-width: 100%;
  }
}

.trust-bar--tight {
  padding: var(--space-md) 0;
}

.section--tight .services__header {
  margin-bottom: var(--space-lg);
}

.section--tight .services__heading {
  margin-bottom: var(--space-md);
}

.section--tight .svc-card {
  padding: var(--space-xl);
}

.section--tight .svc-card__desc {
  padding-bottom: var(--space-md);
}

.section--tight .svc-card__number {
  margin-bottom: var(--space-md);
}

.section--tight .svc-card__icon {
  margin-bottom: var(--space-md);
}

.section--tight .why-us__header {
  margin-bottom: var(--space-lg);
}

.section--tight .cta-section__text {
  margin-bottom: var(--space-lg);
}

.services__bento--row {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
}

.services__bento--row .svc-card--featured {
  grid-column: auto;
  grid-row: auto;
}

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

@media (max-width: 1024px) {
  .services__bento--row {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid--three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services__bento--row {
    grid-template-columns: 1fr;
  }

  .why-us__grid--three {
    grid-template-columns: 1fr;
  }
}
.benefits {
  margin-top: var(--space-4xl);
}

.benefit {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.benefit:last-child {
  border-bottom: 1px solid var(--color-border);
}

.benefit__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-green);
  padding-top: 6px;
}

.benefit__title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-heading);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
}

.benefit__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 540px;
}

.leadcard__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(250, 248, 243, 0.08);
}

.leadcard__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(250, 248, 243, 0.4);
  padding-top: 2px;
}

.leadcard__value {
  font-size: var(--text-sm);
  color: rgba(250, 248, 243, 0.75);
  line-height: 1.6;
}

.legal {
  padding: var(--space-4xl) 0;
}

.legal__header {
  margin-bottom: var(--space-3xl);
}

.legal__updated {
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.legal__body h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-heading);
  letter-spacing: var(--tracking-tight);
  margin: var(--space-3xl) 0 var(--space-md);
}

.legal__body h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-heading);
  margin: var(--space-2xl) 0 var(--space-sm);
}

.legal__body p {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.legal__body ul {
  margin: 0 0 var(--space-lg);
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.legal__body li {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 1.7;
}

.legal__body a {
  color: var(--color-accent-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__body strong {
  color: var(--color-text-heading);
  font-weight: 600;
}

@media (max-width: 768px) {
  .benefit {
    grid-template-columns: 40px 1fr;
    gap: var(--space-md);
  }

  .leadcard__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.hero--compact {
  min-height: auto;
  padding-top: calc(var(--space-3xl) + 80px);
  padding-bottom: var(--space-3xl);
}

.field {
  margin-top: var(--space-4xl);
}

.field__stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(250, 248, 243, 0.07);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.5);
  background-color: #141311;
  background-image:
    radial-gradient(110% 130% at 80% 50%, rgba(92, 184, 138, 0.06), transparent 55%),
    linear-gradient(rgba(250, 248, 243, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 248, 243, 0.022) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}

.flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 0.42fr auto 1.35fr;
  gap: var(--space-xl);
  padding: var(--space-2xl) var(--space-2xl) 0;
  min-height: 480px;
}

.flow__zone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.flow__step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 58px;
}

.flow__sub {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(242, 239, 232, 0.5);
  max-width: 30ch;
}

.flow__arrow {
  align-self: center;
  margin-top: var(--space-2xl);
  font-size: 18px;
  line-height: 1;
  color: rgba(92, 184, 138, 0.55);
  user-select: none;
}

.flow__num {
  color: #5cb88a;
  margin-right: 8px;
}

.flow__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.55);
}

.mkt {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  mask-image: linear-gradient(180deg, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent);
}

.mkt__row {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(242, 239, 232, 0.42);
  animation: row-lift 12s linear infinite;
  animation-delay: var(--d, 0s);
}

@keyframes row-lift {
  0% { color: rgba(242, 239, 232, 0.72); }
  3.5% { color: rgba(242, 239, 232, 0.42); }
  100% { color: rgba(242, 239, 232, 0.42); }
}

.mkt__row--hot {
  color: rgba(242, 239, 232, 0.6);
}

.mkt__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: 3px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #5cb88a;
  background: rgba(92, 184, 138, 0.1);
  border: 1px solid rgba(92, 184, 138, 0.28);
  border-radius: var(--radius-full);
  opacity: 0;
}

.mkt__tag::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5cb88a;
  box-shadow: 0 0 6px rgba(92, 184, 138, 0.9);
}

.mkt__row--a { animation: row-a 12s ease-in-out infinite; }
.mkt__row--b { animation: row-b 12s ease-in-out infinite; }
.mkt__row--c { animation: row-c 12s ease-in-out infinite; }

.mkt__row--a .mkt__tag { animation: tag-a 12s ease-in-out infinite; }
.mkt__row--b .mkt__tag { animation: tag-b 12s ease-in-out infinite; }
.mkt__row--c .mkt__tag { animation: tag-c 12s ease-in-out infinite; }

.scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  background: linear-gradient(180deg, transparent, rgba(92, 184, 138, 0.045) 78%, rgba(168, 230, 196, 0.32));
  border-bottom: 1px solid rgba(168, 230, 196, 0.5);
  box-shadow: 0 2px 26px rgba(92, 184, 138, 0.3);
  animation: scan 12s linear infinite;
  pointer-events: none;
}

.gate {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gate__column {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 10px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(92, 184, 138, 0.14) 45%, rgba(168, 230, 196, 0.3) 50%, rgba(92, 184, 138, 0.14) 55%, transparent);
  filter: blur(6px);
}

.gate__column::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 34px;
  background: linear-gradient(180deg, transparent, rgba(168, 230, 196, 0.6), transparent);
  animation: column-sweep 3.2s ease-in-out infinite;
}

@keyframes column-sweep {
  0% { top: -16%; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.gate__rail {
  position: absolute;
  top: 4%;
  bottom: 4%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(92, 184, 138, 0.45) 30%, rgba(92, 184, 138, 0.45) 70%, transparent);
}

.gate__core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5cb88a;
  box-shadow: 0 0 0 7px rgba(92, 184, 138, 0.1), 0 0 26px rgba(92, 184, 138, 0.45);
  animation: gate-ping 12s ease-in-out infinite;
}

.gate__ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 1px solid rgba(168, 230, 196, 0.5);
  opacity: 0;
  animation: gate-ripple 12s ease-out infinite;
}

@keyframes gate-ripple {
  0%, 14% { transform: scale(1); opacity: 0; }
  15.5% { opacity: 0.5; }
  19% { transform: scale(5); opacity: 0; }
  19.01% { transform: scale(1); opacity: 0; }
  20.5% { opacity: 0.5; }
  24% { transform: scale(5); opacity: 0; }
  24.01% { transform: scale(1); opacity: 0; }
  26% { opacity: 0.5; }
  30% { transform: scale(5); opacity: 0; }
  100% { transform: scale(5); opacity: 0; }
}

.flow__status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin: var(--space-lg) calc(var(--space-2xl) * -1) 0;
  padding: var(--space-md) var(--space-2xl);
  border-top: 1px solid rgba(250, 248, 243, 0.07);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.4);
}

.flow__status-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.flow__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5cb88a;
  box-shadow: 0 0 8px rgba(92, 184, 138, 0.8);
  animation: dot-pulse 2.2s ease-in-out infinite;
}

.flow__status-item--matched,
.flow__status-item--drafted {
  opacity: 0;
}

.flow__status-item--matched { animation: status-matched 12s ease-in-out infinite; }

.flow__status-item--drafted {
  color: #5cb88a;
  animation: status-drafted 12s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@keyframes status-matched {
  0%, 8% { opacity: 0; }
  11%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

@keyframes status-drafted {
  0%, 42% { opacity: 0; }
  45%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

.draft {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-block: auto;
  padding: var(--space-lg);
  background: rgba(250, 248, 243, 0.035);
  border: 1px solid rgba(250, 248, 243, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.draft__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  opacity: 0;
  animation: draft-to 12s ease-in-out infinite;
}

.draft__to {
  font-size: 15px;
  font-weight: 500;
  color: rgba(242, 239, 232, 0.95);
}

.draft__badge {
  flex-shrink: 0;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5cb88a;
  background: rgba(92, 184, 138, 0.1);
  border: 1px solid rgba(92, 184, 138, 0.32);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.draft__line {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(242, 239, 232, 0.78);
  opacity: 0;
}

.draft__line span:not(.draft__caret) {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.38);
  margin-bottom: 2px;
}

.draft__line--a { animation: draft-a 12s ease-in-out infinite; }
.draft__line--b { animation: draft-b 12s ease-in-out infinite; }
.draft__line--c { animation: draft-c 12s ease-in-out infinite; }

.draft__ready::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 6px;
  background: rgba(92, 184, 138, 0.45);
  animation: ready-line 12s ease-in-out infinite;
}

@keyframes ready-line {
  0%, 44% { width: 0; }
  52%, 92% { width: 64px; }
  95.5%, 100% { width: 0; }
}

.draft__ready {
  margin-top: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5cb88a;
  opacity: 0;
  animation: draft-ready 12s ease-in-out infinite;
}

.pkt {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8e6c4;
  box-shadow: 0 0 16px rgba(92, 184, 138, 0.85);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.pkt::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 28px;
  height: 1px;
  transform: translateY(-50%);
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 230, 196, 0.55));
}

.pkt--a { top: 31%; animation: pkt-a 12s linear infinite; }
.pkt--b { top: 54%; animation: pkt-b 12s linear infinite; }
.pkt--c { top: 77%; animation: pkt-c 12s linear infinite; }

@keyframes scan {
  0% { top: 0; opacity: 1; }
  24% { top: 100%; opacity: 1; }
  28%, 100% { top: 100%; opacity: 0; }
}

@keyframes row-a {
  0%, 4% { color: rgba(242, 239, 232, 0.6); }
  7%, 92% { color: rgba(242, 239, 232, 0.95); }
  95.5%, 100% { color: rgba(242, 239, 232, 0.6); }
}

@keyframes row-b {
  0%, 8.5% { color: rgba(242, 239, 232, 0.6); }
  11.5%, 92% { color: rgba(242, 239, 232, 0.95); }
  95.5%, 100% { color: rgba(242, 239, 232, 0.6); }
}

@keyframes row-c {
  0%, 13% { color: rgba(242, 239, 232, 0.6); }
  16%, 92% { color: rgba(242, 239, 232, 0.95); }
  95.5%, 100% { color: rgba(242, 239, 232, 0.6); }
}

@keyframes tag-a {
  0%, 5% { opacity: 0; }
  8%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

@keyframes tag-b {
  0%, 9.5% { opacity: 0; }
  12.5%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

@keyframes tag-c {
  0%, 14% { opacity: 0; }
  17%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

@keyframes gate-ping {
  0%, 13% { transform: scale(1); box-shadow: 0 0 0 7px rgba(92, 184, 138, 0.1), 0 0 26px rgba(92, 184, 138, 0.45); }
  15.5% { transform: scale(1.5); box-shadow: 0 0 0 12px rgba(92, 184, 138, 0.18), 0 0 40px rgba(92, 184, 138, 0.7); }
  17.5% { transform: scale(1); }
  19% { transform: scale(1.5); box-shadow: 0 0 0 12px rgba(92, 184, 138, 0.18), 0 0 40px rgba(92, 184, 138, 0.7); }
  21% { transform: scale(1); }
  23% { transform: scale(1.5); box-shadow: 0 0 0 12px rgba(92, 184, 138, 0.18), 0 0 40px rgba(92, 184, 138, 0.7); }
  25.5%, 100% { transform: scale(1); box-shadow: 0 0 0 7px rgba(92, 184, 138, 0.1), 0 0 26px rgba(92, 184, 138, 0.45); }
}

@keyframes pkt-a {
  0% { left: 33%; opacity: 0; }
  8% { left: 34.5%; opacity: 1; }
  18% { left: 43.5%; opacity: 1; }
  21% { left: 43.5%; opacity: 1; }
  26% { left: 53%; opacity: 0; }
  100% { left: 53%; opacity: 0; }
}

@keyframes pkt-b {
  0%, 13% { left: 34.5%; opacity: 0; }
  14.5% { left: 35.5%; opacity: 1; }
  22% { left: 43.5%; opacity: 1; }
  25% { left: 43.5%; opacity: 1; }
  29.5% { left: 53%; opacity: 0; }
  100% { left: 53%; opacity: 0; }
}

@keyframes pkt-c {
  0%, 18% { left: 34.5%; opacity: 0; }
  19.5% { left: 35.5%; opacity: 1; }
  26% { left: 43.5%; opacity: 1; }
  29% { left: 43.5%; opacity: 1; }
  33.5% { left: 53%; opacity: 0; }
  100% { left: 53%; opacity: 0; }
}

@keyframes draft-to {
  0%, 24% { opacity: 0; }
  27%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

@keyframes draft-a {
  0%, 26% { opacity: 0; }
  29%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

@keyframes draft-b {
  0%, 31% { opacity: 0; }
  34%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

@keyframes draft-c {
  0%, 36% { opacity: 0; }
  39%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

@keyframes draft-ready {
  0%, 42% { opacity: 0; }
  45%, 92% { opacity: 1; }
  95.5%, 100% { opacity: 0; }
}

.pkt--reject {
  width: 5px;
  height: 5px;
  background: rgba(242, 239, 232, 0.4);
  box-shadow: none;
}

.pkt--reject::before {
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(242, 239, 232, 0.35));
}

.pkt--r1 { top: 22%; animation: pkt-r1 12s linear infinite; }
.pkt--r2 { top: 45%; animation: pkt-r2 12s linear infinite; }
.pkt--r3 { top: 68%; animation: pkt-r3 12s linear infinite; }

@keyframes pkt-r1 {
  0%, 6% { left: 16%; opacity: 0; transform: scale(1); }
  7.5% { left: 19%; opacity: 0.6; }
  14% { left: 43%; opacity: 0.6; }
  16.5% { left: 43.5%; opacity: 0; transform: scale(0.35); }
  100% { left: 43.5%; opacity: 0; transform: scale(0.35); }
}

@keyframes pkt-r2 {
  0%, 11% { left: 16%; opacity: 0; transform: scale(1); }
  12.5% { left: 19%; opacity: 0.6; }
  18% { left: 43%; opacity: 0.6; }
  20.5% { left: 43.5%; opacity: 0; transform: scale(0.35); }
  100% { left: 43.5%; opacity: 0; transform: scale(0.35); }
}

@keyframes pkt-r3 {
  0%, 16% { left: 16%; opacity: 0; transform: scale(1); }
  17.5% { left: 19%; opacity: 0.6; }
  22% { left: 43%; opacity: 0.6; }
  24.5% { left: 43.5%; opacity: 0; transform: scale(0.35); }
  100% { left: 43.5%; opacity: 0; transform: scale(0.35); }
}

.draft__caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 6px;
  vertical-align: -2px;
  background: #5cb88a;
  animation: caret 12s steps(1) infinite;
}

@keyframes caret {
  0%, 40% { opacity: 0; }
  41% { opacity: 1; }
  45% { opacity: 0; }
  49% { opacity: 1; }
  53% { opacity: 0; }
  57% { opacity: 1; }
  61%, 100% { opacity: 0; }
}

/* Start the loop at the completed "hold" state (8.4s into the 12s cycle)
   so the full picture is visible at first glance, then the story replays. */
.scan,
.mkt__row--a,
.mkt__row--b,
.mkt__row--c,
.mkt__row--a .mkt__tag,
.mkt__row--b .mkt__tag,
.mkt__row--c .mkt__tag,
.gate__core,
.gate__ripple,
.pkt--a,
.pkt--b,
.pkt--c,
.pkt--r1,
.pkt--r2,
.pkt--r3,
.draft__head,
.draft__line--a,
.draft__line--b,
.draft__line--c,
.draft__ready,
.draft__ready::after,
.draft__caret,
.flow__status-item--matched,
.flow__status-item--drafted {
  animation-delay: -8.4s;
}

.field__headline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.field__headline-dim {
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .flow {
    grid-template-columns: 1fr auto 0.3fr auto 1.2fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .flow {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: var(--space-xl);
    gap: var(--space-lg);
  }

  .flow__step {
    min-height: 0;
  }

  .flow__arrow {
    justify-self: center;
    margin-top: 0;
    transform: rotate(90deg);
  }

  .mkt {
    max-height: 250px;
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 72%, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
  }

  .scan,
  .pkt,
  .gate {
    display: none;
  }

  .draft__head,
  .draft__line,
  .draft__ready,
  .mkt__row--hot .mkt__tag {
    animation: none;
    opacity: 1;
  }

  .draft__caret {
    display: none;
  }

  .mkt__row {
    animation: none;
  }

  .draft__ready::after {
    animation: none;
    width: 64px;
  }

  .mkt__row--hot {
    animation: none;
    color: rgba(242, 239, 232, 0.95);
  }

  .flow__status {
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    margin: var(--space-md) calc(var(--space-xl) * -1) 0;
    padding: var(--space-md) var(--space-xl);
  }

  .flow__status-item--matched,
  .flow__status-item--drafted {
    animation: none;
    opacity: 1;
  }

  .flow__status-dot {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scan,
  .pkt,
  .gate__ripple,
  .gate__column::after,
  .draft__caret {
    display: none;
  }

  .flow__status-dot {
    animation: none;
  }

  .mkt__row {
    animation: none;
  }

  .draft__ready::after {
    animation: none;
    width: 64px;
  }

  .mkt__row--hot,
  .mkt__row--hot .mkt__tag,
  .gate__core,
  .draft__head,
  .draft__line,
  .draft__ready,
  .flow__status-item--matched,
  .flow__status-item--drafted {
    animation: none;
  }

  .mkt__row--hot,
  .mkt__row--hot .mkt__tag,
  .draft__head,
  .draft__line,
  .draft__ready,
  .flow__status-item--matched,
  .flow__status-item--drafted {
    opacity: 1;
  }
}

/* ===== BLOG LISTING ===== */
.blog {
  background-color: var(--color-bg-primary);
}

.blog__header {
  margin-bottom: var(--space-3xl);
  max-width: 640px;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.post-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover {
  border-color: var(--color-accent-green-pale);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

[data-theme="dark"] .post-card:hover {
  border-color: rgba(92, 184, 138, 0.25);
}

.post-card__tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin-bottom: var(--space-md);
}

.post-card__title {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-heading);
  letter-spacing: -0.01em;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-sm);
}

.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: auto;
  padding-bottom: var(--space-xl);
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.post-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent-green);
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-card__cta {
  gap: 12px;
}

.post-card__arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9em;
}

.post-card:hover .post-card__arrow {
  transform: translateX(3px);
}

/* ===== BLOG POST (article) ===== */
.post {
  background-color: var(--color-bg-primary);
}

.post__header {
  margin-bottom: var(--space-3xl);
}

.post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent-green);
  margin-bottom: var(--space-xl);
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post__back:hover {
  gap: 12px;
}

.post__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin-bottom: var(--space-lg);
}

.post__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-text-heading);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
}

.post__meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.post__body h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-heading);
  letter-spacing: var(--tracking-tight);
  margin: var(--space-3xl) 0 var(--space-md);
}

.post__body h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-heading);
  margin: var(--space-2xl) 0 var(--space-sm);
}

.post__body p {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.post__body ul {
  margin: 0 0 var(--space-lg);
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.post__body li {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 1.7;
}

.post__body a {
  color: var(--color-accent-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post__body strong {
  color: var(--color-text-heading);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog__grid {
    grid-template-columns: 1fr;
  }

  .blog__header {
    margin-bottom: var(--space-2xl);
  }

  .post-card {
    padding: var(--space-xl);
  }
}
