.xcloc-page {
  --xcloc-green: #7ef0c9;
  --xcloc-ice: #dff7ff;
  --xcloc-blue: #8bc5ff;
  --xcloc-gold: #f7c272;
  --xcloc-ink: #090c12;
  background:
    radial-gradient(circle at 14% 16%, rgba(126, 240, 201, 0.11), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(139, 197, 255, 0.12), transparent 26%),
    radial-gradient(circle at 70% 78%, rgba(247, 194, 114, 0.08), transparent 22%),
    linear-gradient(180deg, #06080d 0%, #0a0d13 40%, #07090e 100%);
}

.xcloc-page::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.42;
}

.xcloc-page::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(126, 240, 201, 0.12), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(139, 197, 255, 0.12), transparent 24%),
    radial-gradient(circle at 64% 82%, rgba(247, 194, 114, 0.09), transparent 20%);
  filter: blur(24px);
}

.xcloc-page .site-header {
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  border-bottom-color: rgba(255,255,255,0.05);
}

.xcloc-page code {
  padding: 0.14em 0.42em;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fbfdff;
  font-size: 0.95em;
}

#overview,
#workflow,
#engines,
#privacy {
  scroll-margin-top: 108px;
}

.xcloc-hero {
  padding: clamp(30px, 4vw, 46px) 0 clamp(36px, 6vw, 72px);
}

.xcloc-hero-shell {
  display: grid;
  gap: 28px;
}

.xcloc-hero-heading {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.xcloc-hero-heading h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.xcloc-video-card {
  padding: clamp(18px, 2vw, 24px);
}

.xcloc-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.34);
}

.xcloc-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.xcloc-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 16px;
}

.xcloc-video-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(126, 240, 201, 0.18), rgba(139, 197, 255, 0.14));
  border: 1px solid rgba(170, 239, 255, 0.16);
  color: #f3fffb;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.xcloc-video-caption {
  color: #d2dde8;
  line-height: 1.6;
}

.xcloc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.xcloc-section-head p,
.xcloc-step-copy p,
.xcloc-engine-card p,
.xcloc-privacy-card p {
  margin: 0;
  color: #d2dde8;
  line-height: 1.72;
}

.xcloc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.xcloc-product-hunt-badge {
  display: inline-flex;
  width: 250px;
  max-width: 100%;
  height: 54px;
  line-height: 0;
}

.xcloc-product-hunt-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.xcloc-product-hunt-section {
  padding: clamp(36px, 6vw, 72px) 0;
}

.xcloc-product-hunt-shell {
  display: flex;
  justify-content: center;
}

.xcloc-hero-side,
.xcloc-engine-card,
.xcloc-privacy-card {
  border-color: rgba(255,255,255,0.08);
}

.xcloc-hero-side {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(16, 22, 34, 0.82), rgba(8, 12, 20, 0.94)),
    linear-gradient(135deg, rgba(126, 240, 201, 0.08), transparent 34%);
}

.xcloc-hero-side {
  padding: 24px;
  align-content: start;
}

.xcloc-check-list,
.xcloc-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: #dce7f0;
  line-height: 1.65;
}

.xcloc-jump-bar {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(8, 11, 17, 0.9);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.xcloc-jump-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.xcloc-jump-row::-webkit-scrollbar {
  display: none;
}

.xcloc-jump-row a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #ecf8ff;
  font-weight: 700;
  font-size: 0.88rem;
}

.xcloc-jump-row a:hover,
.xcloc-jump-row a:focus-visible {
  border-color: rgba(126, 240, 201, 0.22);
  background: rgba(255,255,255,0.07);
  outline: none;
}

.xcloc-step-copy h3,
.xcloc-engine-card h3,
.xcloc-privacy-card h3 {
  letter-spacing: -0.03em;
}

.xcloc-section-head {
  display: grid;
  gap: 12px;
  max-width: 72ch;
  margin-bottom: 24px;
}

.xcloc-step {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
}

.xcloc-step--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.xcloc-step--reverse .xcloc-step-copy {
  order: 2;
}

.xcloc-step--reverse .xcloc-step-image {
  order: 1;
}

.xcloc-step-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.xcloc-step-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.xcloc-step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(126, 240, 201, 0.22), rgba(139, 197, 255, 0.18));
  border: 1px solid rgba(170, 239, 255, 0.18);
  color: #f4fffb;
  font-weight: 800;
}

.xcloc-step-kicker {
  color: #b4f6e2;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.xcloc-step-copy h3,
.xcloc-engine-card h3,
.xcloc-privacy-card h3 {
  margin: 0;
  font-size: clamp(1.46rem, 2.4vw, 2.1rem);
  line-height: 1.06;
}

.xcloc-step-image {
  position: relative;
}

.xcloc-step-image::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto;
  height: 52%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(126, 240, 201, 0.16), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
}

.xcloc-step-image img,
.xcloc-engine-wide-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: 0 26px 58px rgba(0,0,0,0.3);
}

.xcloc-engine-grid,
.xcloc-privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.xcloc-engine-card,
.xcloc-privacy-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.xcloc-engine-card--wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: center;
}

.xcloc-engine-wide-copy {
  display: grid;
  gap: 14px;
}

.xcloc-engine-wide-image {
  min-width: 0;
}

.xcloc-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.xcloc-footnote {
  color: #acb9c8;
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .xcloc-hero-grid,
  .xcloc-step,
  .xcloc-step--reverse,
  .xcloc-engine-grid,
  .xcloc-privacy-grid,
  .xcloc-engine-card--wide {
    grid-template-columns: 1fr;
  }

  .xcloc-step--reverse .xcloc-step-copy,
  .xcloc-step--reverse .xcloc-step-image {
    order: initial;
  }

  .xcloc-engine-card--wide {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .xcloc-hero {
    padding-top: 18px;
  }

  .xcloc-video-card,
  .xcloc-hero-side,
  .xcloc-step,
  .xcloc-engine-card,
  .xcloc-privacy-card {
    padding: 20px;
  }

  .xcloc-video-frame,
  .xcloc-step-image img,
  .xcloc-engine-wide-image img {
    border-radius: 22px;
  }

  .xcloc-hero-heading h1 {
    max-width: 13ch;
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .xcloc-jump-row a {
    font-size: 0.84rem;
  }
}
