:root {
  color-scheme: dark light;
  --ink: #151718;
  --ink-deep: #0f1112;
  --ink-soft: #202326;
  --paper: #f7f7f4;
  --paper-soft: #eeeee9;
  --white: #ffffff;
  --muted: #777b82;
  --muted-dark: #babcc5;
  --line: rgba(21, 23, 24, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --purple: #8b6cff;
  --violet: #d9a8ff;
  --cyan: #61f1ff;
  --magenta: #ff5a9f;
  --green: #d8ff73;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 17px 0;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
}

.brand-mark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark img {
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a,
.site-footer a {
  opacity: 0.84;
}

.nav-links a:hover,
.site-footer a:hover {
  opacity: 1;
}

.header-cta {
  justify-self: end;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  height: min(86svh, 760px);
  min-height: 660px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 17, 18, 0) 66%, #151718 100%),
    #151718;
  color: var(--white);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(15, 17, 18, 0.88) 0%, rgba(15, 17, 18, 0.54) 48%, rgba(15, 17, 18, 0.94) 100%),
    url("assets/glitchfx-hero-neon.jpg") center 24% / cover no-repeat;
  opacity: 0.24;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 180px;
  content: "";
  background: linear-gradient(180deg, transparent 0%, #151718 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 118px 0 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #151718;
  font-weight: 850;
  line-height: 1.1;
}

.hero-pill span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #151718;
  color: var(--white);
}

.eyebrow {
  margin: 26px 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1080px;
  margin-bottom: 20px;
  background: linear-gradient(92deg, #ffd8ff 0%, #b88dff 48%, #6a52db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 4.9rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.25rem;
  line-height: 1.55;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  background: var(--white);
  color: #151718;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-secondary.dark {
  border-color: rgba(21, 23, 24, 0.14);
  background: var(--white);
  color: var(--ink);
  backdrop-filter: none;
}

.engine-panel {
  position: relative;
  display: grid;
  width: min(100%, 1040px);
  min-height: 286px;
  margin-top: 28px;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.15fr) minmax(220px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.engine-panel::before {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(217, 168, 255, 0.58), rgba(97, 241, 255, 0.42), transparent);
}

.engine-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(18, 20, 22, 0.86);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.engine-source {
  aspect-ratio: 1.18;
  transform: rotate(-2deg);
}

.engine-source img,
.engine-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.engine-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
}

.engine-chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px;
  background: rgba(18, 20, 22, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 70px rgba(0, 0, 0, 0.32);
}

.engine-chain span {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 850;
}

.engine-chain span:nth-child(3) {
  border-color: rgba(217, 168, 255, 0.5);
  color: var(--white);
}

.engine-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  transform: rotate(2deg);
}

.engine-thumb {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(18, 20, 22, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.engine-thumb-wide {
  grid-column: span 2;
  aspect-ratio: 1.9;
}

.engine-thumb figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 850;
}

.proof-strip {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 44px max(16px, calc((100% - var(--max)) / 2)) 54px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #151718;
  color: var(--white);
}

.proof-item {
  min-height: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 18px 0 0;
}

.proof-kicker {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.25;
}

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 98px 0;
}

.section-copy {
  max-width: 780px;
}

.section-copy p:not(.eyebrow) {
  color: #696f78;
  font-size: 1.08rem;
}

.section-copy.narrow {
  max-width: 680px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  background: var(--paper);
}

.intro-section .eyebrow,
.search-section .eyebrow,
.faq-section .eyebrow {
  color: #6b58db;
}

.effect-marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21, 23, 24, 0.1);
  border-radius: 22px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    var(--paper-soft);
  box-shadow: 0 18px 50px rgba(21, 23, 24, 0.12);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.effect-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: effect-scroll 54s linear infinite;
  will-change: transform;
}

.effect-marquee:hover .effect-track {
  animation-play-state: paused;
}

.effect-frame {
  position: relative;
  flex: 0 0 188px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 23, 24, 0.12);
  border-radius: 18px;
  background: #151718;
}

.effect-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.effect-frame figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

@keyframes effect-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px max(16px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.band .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.64);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.feature-card {
  min-height: 238px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #1b1e20;
}

.feature-card:nth-child(2) {
  border-color: rgba(97, 241, 255, 0.34);
}

.feature-card:nth-child(3) {
  border-color: rgba(255, 90, 159, 0.32);
}

.feature-card:nth-child(4) {
  border-color: rgba(217, 168, 255, 0.38);
}

.card-index {
  display: block;
  margin-bottom: 46px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.64);
}

.search-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: start;
}

.keyword-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keyword-list li {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: var(--white);
  color: #2b2e33;
  font-weight: 800;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto 12px;
  border: 1px solid rgba(21, 23, 24, 0.12);
  border-radius: 18px;
  padding: 34px;
  background:
    linear-gradient(110deg, rgba(217, 168, 255, 0.34), rgba(97, 241, 255, 0.14)),
    var(--white);
  color: var(--ink);
}

.download-section .eyebrow {
  margin-top: 0;
  color: #6b58db;
}

.download-section h2 {
  margin-bottom: 12px;
  font-size: 2.2rem;
}

.download-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: #4f5660;
}

.faq-section {
  padding-top: 76px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 32px 0 42px;
}

.site-footer,
.site-footer nav {
  color: var(--ink);
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.policy-page {
  background: var(--paper);
}

.policy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 22px 0;
}

.policy-main {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 42px 0 86px;
}

.policy-main h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: 4rem;
  line-height: 0.98;
}

.policy-main h2 {
  margin-top: 38px;
  font-size: 1.72rem;
}

.policy-main h3 {
  margin-top: 28px;
}

.policy-main p,
.policy-main li {
  color: #424851;
  font-size: 1.02rem;
}

.policy-main a {
  color: #6b58db;
  font-weight: 800;
}

.policy-date {
  font-weight: 850;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .nav-links {
    justify-content: center;
    gap: 16px;
  }

  .hero {
    height: 82svh;
    min-height: 660px;
  }

  .hero-content {
    padding-top: 112px;
  }

  h1 {
    font-size: 4.05rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .engine-panel {
    grid-template-columns: 1fr;
    max-width: 640px;
    gap: 14px;
  }

  .engine-panel::before {
    display: none;
  }

  .engine-source,
  .engine-collage {
    aspect-ratio: 1.65;
    transform: none;
  }

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

  .engine-thumb-wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  .intro-section,
  .search-section,
  .download-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .policy-main h1 {
    font-size: 3.1rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 24px, var(--max));
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 14px;
  }

  .brand-mark span {
    font-size: 0.98rem;
  }

  .nav-links {
    grid-column: span 2;
    order: 3;
    justify-content: flex-start;
    gap: 14px;
    font-size: 0.82rem;
  }

  .header-cta {
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .hero {
    height: 78svh;
    min-height: 640px;
  }

  .hero-content {
    width: min(100% - 24px, var(--max));
    padding-top: 128px;
  }

  .hero-pill {
    max-width: 100%;
    min-height: 38px;
    font-size: 0.86rem;
  }

  .eyebrow {
    margin-top: 22px;
  }

  h1 {
    font-size: 2.82rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2.12rem;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .engine-panel {
    margin-top: 38px;
  }

  .engine-chain {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .feature-grid,
  .keyword-list {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    padding-inline: 16px;
  }

  .effect-marquee {
    padding: 10px;
  }

  .effect-frame {
    flex-basis: 154px;
  }

  .section,
  .band {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .download-section {
    padding: 24px;
  }

  .policy-header {
    align-items: flex-start;
    gap: 14px;
  }

  .policy-header .button {
    width: auto;
    min-height: 42px;
  }

  .policy-main {
    padding-top: 28px;
  }

  .policy-main h1 {
    font-size: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .effect-marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .effect-track {
    animation: none;
  }
}
