/* Design tokens lifted from www.xfree.com so the download page inherits the
   exact palette, spacing scale and component radii used across the site. */
:root {
  --spacing-xs: 8px;
  --spacing-s: 12px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;

  --c-woodsmoke: #0d0d0d;
  --c-eerie-black: #191919;
  --c-mineshaft: #323232;
  --c-stack: #8b8b8b;
  --c-iron: #cbcbcb;
  --c-seashell: #f1f1f1;
  --c-alabaster: #f7f7f7;

  --c-main: #7e1fe0;
  --c-main-h: 269.5;
  --c-main-s: 75.7%;
  --c-main-l: 50%;
  --c-secondary: #be8fef;
  --c-blue: #3c95ff;
  --c-yellow: #f5a01b;
  --c-green: #2ea24a;

  --page-max: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme='light'] {
  --c-base: #fff;
  --c-base--translucent: hsla(0, 0%, 100%, 0.95);
  --c-base-secondary: #f7f7f7;
  --c-base-text: #000;
  --c-base-text-secondary: #999;
  --c-base-text-tertiary: #4b4b4b;
  --c-base-link: var(--c-main);
  --c-base-line: #e6e6e6;
  --c-border: #dedede;
  --c-header-line: transparent;
  --c-controls-base: #f2f2f2;
  --c-controls-base--hover: #e0e0e0;
  --c-controls-item: #000;
  --c-tag-base: #f2f2f2;
  --c-tag-base--hover: #e6e6e6;
  --c-tag-text: var(--c-base-text);
  --c-tag-big-border: #dedede;
  --c-button-secondary-base: hsla(269.5, 75.7%, 50%, 0.08);
  --c-button-secondary-base--hover: hsla(269.5, 75.7%, 50%, 0.14);
  --c-button-secondary-text: var(--c-main);
  --c-main--hover: hsl(var(--c-main-h), var(--c-main-s), calc(var(--c-main-l) * 0.8));
  --c-main--hover-shadow: hsla(269.5, 75.7%, 50%, 0.45);
  --c-placeholder: #e6e6e6;
  --c-footer-text: #8b8b8b;
  --c-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  --c-hero-glow-a: hsla(269.5, 75.7%, 50%, 0.2);
  --c-hero-glow-b: hsla(212, 100%, 62%, 0.14);
  --c-phone-shell: #0d0d0d;
  --c-marquee-fade: #fff;
}

[data-theme='dark'] {
  --c-base: #121212;
  --c-base--translucent: hsla(0, 0%, 7%, 0.95);
  --c-base-secondary: #1c1c1c;
  --c-base-text: #e8e8e8;
  --c-base-text-secondary: #8c8c8c;
  --c-base-text-tertiary: #8d8d8d;
  --c-base-link: #9655ff;
  --c-base-line: #2e2e2e;
  --c-border: #454545;
  --c-header-line: #2e2e2e;
  --c-controls-base: #2e2e2e;
  --c-controls-base--hover: #3d3d3d;
  --c-controls-item: #eaeaea;
  --c-tag-base: #262626;
  --c-tag-base--hover: #333;
  --c-tag-text: #eaeaea;
  --c-tag-big-border: #3d3d3d;
  --c-button-secondary-base: hsla(269.5, 75.7%, 50%, 0.3);
  --c-button-secondary-base--hover: hsla(269.5, 75.7%, 50%, 0.42);
  --c-button-secondary-text: #fff;
  --c-main--hover: hsl(var(--c-main-h), var(--c-main-s), calc(var(--c-main-l) * 1.2));
  --c-main--hover-shadow: transparent;
  --c-placeholder: #2e2e2e;
  --c-footer-text: #717171;
  --c-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  --c-hero-glow-a: hsla(269.5, 75.7%, 50%, 0.34);
  --c-hero-glow-b: hsla(212, 100%, 62%, 0.18);
  --c-phone-shell: #000;
  --c-marquee-fade: #121212;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji';
  font-size: 16px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background: var(--c-base);
  color: var(--c-base-text);
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

.shell {
  margin: 0 auto;
  max-width: var(--page-max);
  padding: 0 16px;
  width: 100%;
}

@media (min-width: 600px) {
  .shell {
    padding: 0 3.6vw;
  }
}

@media (min-width: 1320px) {
  .shell {
    padding: 0 40px;
  }
}

.skip-link {
  background: var(--c-main);
  color: #fff;
  left: 8px;
  padding: 10px 16px;
  position: absolute;
  top: -60px;
  transition: top 0.2s;
  z-index: 200;
}

.skip-link:focus {
  top: 8px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay='1'] { transition-delay: 0.08s; }
.reveal[data-delay='2'] { transition-delay: 0.16s; }
.reveal[data-delay='3'] { transition-delay: 0.24s; }
.reveal[data-delay='4'] { transition-delay: 0.32s; }
.reveal[data-delay='5'] { transition-delay: 0.4s; }

/* ---------- Buttons (mirrors .x-button on xfree.com) ---------- */
.x-button {
  align-items: center;
  background: var(--c-main);
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 8px transparent;
  color: #fefffe;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  height: 44px;
  justify-content: center;
  letter-spacing: 0.01em;
  padding: 0 20px;
  position: relative;
  transition: all 0.3s;
}

@media (hover: hover) {
  .x-button:hover,
  .x-button:focus-visible {
    background: var(--c-main--hover);
    box-shadow: 0 0 8px var(--c-main--hover-shadow);
    color: #fff;
    transform: translateY(-1px);
  }
}

.x-button--shine {
  overflow: hidden;
}

.x-button--shine::after {
  animation: shine 3.6s var(--ease-out) infinite;
  background: linear-gradient(100deg, transparent 20%, hsla(0, 0%, 100%, 0.45) 50%, transparent 80%);
  content: '';
  inset: 0 auto 0 -60%;
  position: absolute;
  width: 55%;
}

@keyframes shine {
  0%,
  62% { transform: translateX(0); }
  100% { transform: translateX(360%); }
}

.icon-bounce {
  animation: nudge 2.4s ease-in-out infinite;
}

@keyframes nudge {
  0%, 72%, 100% { transform: translateY(0); }
  80% { transform: translateY(3px); }
  88% { transform: translateY(-1px); }
}

.x-button--secondary {
  background: var(--c-button-secondary-base);
  border-radius: 8px;
  box-shadow: none;
  color: var(--c-button-secondary-text);
  font-weight: 500;
  height: 40px;
  padding: 0 16px;
}

.x-button--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--c-border);
  border-radius: 8px;
  color: var(--c-base-text);
  font-weight: 500;
  height: 40px;
  padding: 0 16px;
}

@media (hover: hover) {
  .x-button--ghost:hover {
    background: var(--c-controls-base);
    box-shadow: inset 0 0 0 1px var(--c-border);
    color: var(--c-base-text);
  }
}

.x-button--hero {
  font-size: 16px;
  height: 56px;
  padding: 0 28px;
  width: 100%;
}

@media (min-width: 600px) {
  .x-button--hero {
    width: auto;
  }
}

.x-button__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.x-button__label {
  text-align: left;
}

/* ---------- Tags (mirrors .x-tag on xfree.com) ---------- */
.x-tag {
  align-items: center;
  background: var(--c-tag-base);
  border-radius: 6px;
  color: var(--c-tag-text);
  display: inline-flex;
  font-size: 14px;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.x-tag--big {
  background: transparent;
  border: 1px solid var(--c-tag-big-border);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  height: 36px;
  letter-spacing: -0.3px;
}

@media (hover: hover) {
  .x-tag--big:hover {
    background: var(--c-button-secondary-base);
    border-color: var(--c-secondary);
    color: var(--c-button-secondary-text);
    transform: translateY(-2px);
  }
}

/* ---------- Header ---------- */
.header {
  align-items: center;
  background: var(--c-base--translucent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--c-header-line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header .shell {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.logo {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  width: 92px;
}

@media (min-width: 600px) {
  .logo {
    width: 114px;
  }
}

.logo img {
  width: 100%;
}

[data-theme='light'] .logo .is-dark,
[data-theme='dark'] .logo .is-light {
  display: none;
}

.header__nav {
  display: none;
  gap: 4px;
}

@media (min-width: 900px) {
  .header__nav {
    display: flex;
  }
}

.header__nav a {
  border-radius: 8px;
  color: var(--c-base-text);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  position: relative;
  transition: background 0.2s;
}

.header__nav a:hover {
  background: var(--c-controls-base);
}

.header__actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.theme-toggle {
  align-items: center;
  background: var(--c-controls-base);
  border: none;
  border-radius: 24px;
  color: var(--c-controls-item);
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
  width: 40px;
}

.theme-toggle:hover {
  background: var(--c-controls-base--hover);
  transform: rotate(-18deg);
}

.theme-toggle svg {
  height: 20px;
  width: 20px;
}

[data-theme='light'] .theme-toggle .ico-sun,
[data-theme='dark'] .theme-toggle .ico-moon {
  display: none;
}

.header .x-button--nav {
  display: none;
}

@media (min-width: 600px) {
  .header .x-button--nav {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  overflow: hidden;
  padding: 28px 0 24px;
  position: relative;
}

@media (min-width: 900px) {
  .hero {
    padding: 48px 0 40px;
  }
}

.blob {
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.blob--a {
  animation: drift-a 18s ease-in-out infinite alternate;
  background: var(--c-hero-glow-a);
  height: 460px;
  left: -140px;
  top: -160px;
  width: 460px;
}

.blob--b {
  animation: drift-b 22s ease-in-out infinite alternate;
  background: var(--c-hero-glow-b);
  height: 420px;
  right: -120px;
  top: 60px;
  width: 420px;
}

@keyframes drift-a {
  to { transform: translate3d(70px, 60px, 0) scale(1.15); }
}

@keyframes drift-b {
  to { transform: translate3d(-60px, 90px, 0) scale(1.2); }
}

.hero__grid {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
}

.hero__copy {
  order: 2;
}

@media (min-width: 1040px) {
  .hero__grid {
    align-items: start;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    padding-top: 12px;
  }

  .hero__copy {
    order: 0;
    padding-top: 28px;
  }

  .stage {
    order: 0;
  }
}

.eyebrow {
  align-items: center;
  background: var(--c-button-secondary-base);
  border-radius: 999px;
  color: var(--c-button-secondary-text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 9px;
  height: 30px;
  letter-spacing: 0.01em;
  padding: 0 14px;
}

.pulse-dot {
  background: var(--c-main);
  border-radius: 50%;
  height: 8px;
  position: relative;
  width: 8px;
}

.pulse-dot::after {
  animation: ping 1.9s cubic-bezier(0, 0, 0.2, 1) infinite;
  background: var(--c-main);
  border-radius: 50%;
  content: '';
  inset: 0;
  position: absolute;
}

@keyframes ping {
  0% { opacity: 0.7; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(2.8); }
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 20px 0 0;
}

.hero h1 em {
  background: linear-gradient(100deg, #9655ff, #7e1fe0 55%, #3c95ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero__lead {
  color: var(--c-base-text-tertiary);
  font-size: 17px;
  line-height: 1.55;
  margin-top: 14px;
  max-width: 36ch;
}

.hero__cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero__proof {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.hero__proof p {
  color: var(--c-base-text-tertiary);
  font-size: 14px;
  line-height: 1.4;
}

.hero__proof strong {
  color: var(--c-base-text);
}

.hero__ticker {
  margin-top: 22px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  overflow: hidden;
}

.hero__ticker-track {
  animation: slide 28s linear infinite;
  display: flex;
  gap: 10px;
  width: max-content;
}

.hero__ticker-track span {
  align-items: center;
  background: var(--c-controls-base);
  border: 1px solid var(--c-base-line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 600;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  white-space: nowrap;
}

.hero__ticker-track img {
  border-radius: 50%;
  height: 26px;
  object-fit: cover;
  width: 26px;
}

.hero__feed {
  margin-top: 36px;
}

@media (min-width: 900px) {
  .hero__feed {
    margin-top: 48px;
  }
}

.hero .marquee {
  margin-bottom: 0;
}

.avatar-stack {
  display: flex;
  flex-shrink: 0;
}

.avatar-stack img {
  animation: pop-in 0.6s var(--ease-out) backwards;
  border: 2px solid var(--c-base);
  border-radius: 50%;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.avatar-stack img + img {
  margin-left: -12px;
}

.avatar-stack img:nth-child(2) { animation-delay: 0.08s; }
.avatar-stack img:nth-child(3) { animation-delay: 0.16s; }
.avatar-stack img:nth-child(4) { animation-delay: 0.24s; }
.avatar-stack img:nth-child(5) { animation-delay: 0.32s; }

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.6); }
}

.hero__meta {
  border-top: 1px solid var(--c-base-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 24px;
  padding-top: 20px;
}

.hero__meta div {
  display: flex;
  flex-direction: column;
}

.hero__meta dt {
  color: var(--c-base-text-secondary);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__meta dd {
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Stage: phone + floating cards ---------- */
.stage {
  display: flex;
  justify-content: center;
  order: 1;
  padding: 8px 0 12px;
  position: relative;
}

.stage__ring {
  animation: spin 26s linear infinite;
  background: conic-gradient(from 0deg, transparent 0 55%, hsla(269.5, 75.7%, 50%, 0.35) 75%, transparent 90%);
  border-radius: 50%;
  filter: blur(28px);
  height: 380px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  z-index: 0;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.phone {
  animation: bob 7s ease-in-out infinite;
  background: var(--c-phone-shell);
  border-radius: 40px;
  box-shadow: 0 40px 80px -34px rgba(30, 0, 60, 0.65), 0 0 0 1px hsla(0, 0%, 100%, 0.07) inset;
  flex-shrink: 0;
  padding: 9px;
  position: relative;
  width: 248px;
  z-index: 2;
}

@media (min-width: 1040px) {
  .phone {
    width: 268px;
  }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone::after {
  background: #1c1c1c;
  border-radius: 999px;
  content: '';
  height: 24px;
  left: 50%;
  position: absolute;
  top: 20px;
  transform: translateX(-50%);
  width: 88px;
  z-index: 6;
}

.phone__screen {
  aspect-ratio: 9 / 19.2;
  background: #0d0d0d;
  border-radius: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.phone__progress {
  display: flex;
  gap: 4px;
  left: 0;
  padding: 12px 16px 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.phone__progress i {
  background: hsla(0, 0%, 100%, 0.25);
  border-radius: 2px;
  flex: 1;
  height: 2.5px;
  overflow: hidden;
  position: relative;
}

.phone__progress i::after {
  animation: fill 3.6s linear infinite;
  background: #fff;
  content: '';
  inset: 0;
  position: absolute;
  transform-origin: left;
}

@keyframes fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.phone__tabs {
  display: flex;
  gap: 18px;
  justify-content: center;
  left: 0;
  padding-top: 54px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.phone__tabs span {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 12.5px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.phone__tabs span.is-active {
  color: #fff;
  position: relative;
}

.phone__tabs span.is-active::after {
  background: #fff;
  border-radius: 2px;
  bottom: -6px;
  content: '';
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 18px;
}

.reels {
  background: #000;
  flex: 1;
  position: relative;
}

.reel {
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: translateY(14%) scale(1.04);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reel.is-active {
  opacity: 1;
  transform: none;
  z-index: 2;
}

.reel.is-leaving {
  opacity: 0;
  transform: translateY(-14%) scale(0.98);
  z-index: 1;
}

.reel__media {
  animation: slow-zoom 9s ease-out both;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.reel.is-active .reel__media {
  animation-play-state: running;
}

@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

.reel__shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0, rgba(0, 0, 0, 0.2) 42%, transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0, transparent 28%);
  inset: 0;
  position: absolute;
}

.reel__info {
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  left: 0;
  padding: 0 56px 14px 14px;
  position: absolute;
  right: 0;
  z-index: 3;
}

.reel.is-active .reel__info {
  animation: rise 0.6s 0.15s var(--ease-out) backwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
}

.reel__creator {
  align-items: center;
  display: flex;
  gap: 8px;
}

.reel__avatar {
  border: 1.5px solid hsla(0, 0%, 100%, 0.9);
  border-radius: 50%;
  height: 28px;
  object-fit: cover;
  width: 28px;
}

.reel__name {
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.reel__follow {
  background: var(--c-main);
  border-radius: 2px;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
}

.reel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.reel__tags i {
  background: hsla(0, 0%, 0%, 0.45);
  backdrop-filter: blur(3px);
  border-radius: 999px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
  padding: 3px 8px;
}

.reel__rail {
  bottom: 66px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: absolute;
  right: 10px;
  z-index: 3;
}

.reel__rail-btn {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reel__rail-btn svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
  height: 24px;
  width: 24px;
}

.reel.is-active .reel__rail-btn:first-child svg {
  animation: heart-beat 2.6s ease-in-out infinite;
  color: #ff3b5c;
}

@keyframes heart-beat {
  0%, 70%, 100% { transform: scale(1); }
  78% { transform: scale(1.22); }
  86% { transform: scale(1.05); }
}

.reel__rail-btn b {
  font-size: 9.5px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.phone__swipe {
  animation: swipe-hint 2.6s ease-in-out infinite;
  align-items: center;
  bottom: 56px;
  color: hsla(0, 0%, 100%, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 4;
}

.phone__swipe svg {
  height: 16px;
  width: 16px;
}

.phone__swipe span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes swipe-hint {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 5px); }
  50% { opacity: 0.95; transform: translate(-50%, -3px); }
}

.phone__tabbar {
  align-items: center;
  background: #121212;
  border-top: 1px solid #262626;
  display: flex;
  justify-content: space-around;
  padding: 10px 12px 14px;
  position: relative;
  z-index: 4;
}

.phone__tabbar i {
  background: #3d3d3d;
  border-radius: 6px;
  display: block;
  height: 16px;
  width: 16px;
}

.phone__tabbar i.is-active {
  background: #9655ff;
  box-shadow: 0 0 10px hsla(269, 100%, 67%, 0.7);
}

.float-card {
  animation: bob 9s ease-in-out infinite;
  background: var(--c-base);
  border: 1px solid var(--c-base-line);
  border-radius: 12px;
  box-shadow: 0 20px 45px -22px rgba(30, 0, 60, 0.55);
  display: none;
  overflow: hidden;
  padding: 8px;
  position: absolute;
  width: 138px;
  z-index: 3;
}

@media (min-width: 1040px) {
  .float-card {
    display: block;
  }
}

.float-card--a {
  animation-delay: -2s;
  left: 0;
  top: 2%;
}

.float-card--b {
  animation-delay: -4.5s;
  bottom: 2%;
  right: 0;
}

@media (min-width: 1200px) {
  .float-card {
    width: 148px;
  }

  .float-card--a {
    left: -16px;
  }

  .float-card--b {
    right: -16px;
  }
}

.float-card img {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.float-card figcaption {
  display: flex;
  flex-direction: column;
  padding: 8px 4px 2px;
}

.float-card b {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.float-card span {
  color: var(--c-base-text-secondary);
  font-size: 11px;
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--c-base-line);
  border-bottom: 1px solid var(--c-base-line);
}

.stats ul {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .stats ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stats li {
  padding: 22px 4px;
}

.stats strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.stats span {
  color: var(--c-base-text-secondary);
  font-size: 13px;
}

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 80px 0;
  }
}

.section--tight {
  padding-bottom: 24px;
  padding-top: 32px;
}

.section--muted {
  background: var(--c-base-secondary);
}

.section__head {
  margin-bottom: 32px;
  max-width: 60ch;
}

.section__head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__head p {
  color: var(--c-base-text-tertiary);
  font-size: 16px;
  margin-top: 12px;
}

.kicker {
  color: var(--c-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Marquee of real homepage reels ---------- */
.marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  bottom: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 8%;
  z-index: 2;
}

.marquee::before {
  background: linear-gradient(90deg, var(--c-marquee-fade), transparent);
  left: 0;
}

.marquee::after {
  background: linear-gradient(270deg, var(--c-marquee-fade), transparent);
  right: 0;
}

.marquee__row {
  display: flex;
  overflow: hidden;
}

.marquee__track {
  animation: slide 46s linear infinite;
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
  will-change: transform;
}

.marquee__row--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 58s;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tile {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease-out);
  width: 132px;
}

@media (min-width: 900px) {
  .tile {
    width: 168px;
  }
}

.tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
  width: 100%;
}

.tile::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0, transparent 45%);
  content: '';
  inset: 0;
  position: absolute;
}

.tile__plays,
.tile__name {
  color: #fff;
  position: absolute;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.tile__plays {
  backdrop-filter: blur(4px);
  background: hsla(0, 0%, 5%, 0.6);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  left: 7px;
  padding: 2px 8px;
  top: 7px;
}

.tile__name {
  bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
  left: 9px;
  overflow: hidden;
  right: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) {
  .tile:hover {
    transform: translateY(-6px);
  }

  .tile:hover img {
    transform: scale(1.08);
  }
}

/* ---------- Categories ---------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  background: var(--c-base);
  border: 1px solid var(--c-base-line);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.feature:hover {
  border-color: var(--c-secondary);
  box-shadow: 0 18px 40px -26px hsla(269.5, 75.7%, 50%, 0.6);
  transform: translateY(-4px);
}

.feature__icon {
  align-items: center;
  background: var(--c-button-secondary-base);
  border-radius: 10px;
  color: var(--c-main);
  display: flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease-out);
  width: 42px;
}

.feature:hover .feature__icon {
  transform: scale(1.1) rotate(-6deg);
}

.feature__icon svg {
  height: 21px;
  width: 21px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--c-base-text-tertiary);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 8px;
}

/* ---------- Install steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  background: var(--c-base);
  border: 1px solid var(--c-base-line);
  border-radius: 12px;
  counter-increment: step;
  padding: 24px 20px;
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.step:hover {
  border-color: var(--c-secondary);
  transform: translateY(-4px);
}

.step::before {
  align-items: center;
  background: var(--c-main);
  border-radius: 50%;
  color: #fff;
  content: counter(step);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  margin-bottom: 14px;
  width: 30px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
}

.step p {
  color: var(--c-base-text-tertiary);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  background: var(--c-base);
  border: 1px solid var(--c-base-line);
  border-radius: 12px;
  padding: 4px 20px;
  transition: border-color 0.3s;
}

.faq details[open] {
  border-color: var(--c-secondary);
}

.faq summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  padding: 18px 0;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  border-bottom: 2px solid var(--c-base-text-secondary);
  border-right: 2px solid var(--c-base-text-secondary);
  content: '';
  flex-shrink: 0;
  height: 8px;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out);
  width: 8px;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq p {
  animation: rise 0.35s var(--ease-out);
  color: var(--c-base-text-tertiary);
  font-size: 15px;
  line-height: 1.65;
  padding-bottom: 20px;
}

/* ---------- Final CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #9655ff, #7e1fe0 52%, #4d0f92);
  background-size: 180% 180%;
  animation: pan 14s ease-in-out infinite alternate;
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
  padding: 40px 28px;
  position: relative;
  text-align: center;
}

@keyframes pan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@media (min-width: 900px) {
  .cta-band {
    padding: 56px 48px;
  }
}

.cta-band::after {
  background: radial-gradient(60% 100% at 80% 0%, hsla(0, 0%, 100%, 0.22), transparent 70%);
  content: '';
  inset: 0;
  position: absolute;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band__icon {
  animation: bob 6s ease-in-out infinite;
  border-radius: 18px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  height: 76px;
  margin: 0 auto 20px;
  width: 76px;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-band p {
  color: hsla(0, 0%, 100%, 0.86);
  margin: 12px auto 0;
  max-width: 52ch;
}

.cta-band .x-button {
  background: #fff;
  color: #4d0f92;
  margin-top: 26px;
}

@media (hover: hover) {
  .cta-band .x-button:hover {
    background: #f1f1f1;
    box-shadow: 0 0 18px hsla(0, 0%, 100%, 0.35);
    color: #4d0f92;
  }
}

/* ---------- Age notice ---------- */
.notice {
  align-items: flex-start;
  border: 1px solid var(--c-base-line);
  border-radius: 12px;
  color: var(--c-base-text-tertiary);
  display: flex;
  font-size: 13px;
  gap: 14px;
  line-height: 1.6;
  margin-top: 40px;
  padding: 18px 20px;
}

.notice strong {
  color: var(--c-base-text);
}

.notice__badge {
  align-items: center;
  background: var(--c-controls-base);
  border-radius: 8px;
  display: flex;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.02em;
  width: 44px;
}

/* ---------- Footer (mirrors xfree.com footer) ---------- */
.footer {
  border-top: 1px solid var(--c-base-line);
  color: var(--c-footer-text);
  font-size: 14px;
  padding: 40px 0 88px;
}

@media (min-width: 900px) {
  .footer {
    padding-bottom: 48px;
  }
}

.footer__row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: center;
  margin-bottom: 22px;
}

.footer__item {
  align-items: center;
  color: var(--c-footer-text);
  display: inline-flex;
  gap: 8px;
  transition: color 0.2s;
}

.footer__item:hover {
  color: var(--c-base-text);
}

.footer__item img,
.footer__item svg {
  height: 16px;
  opacity: 0.75;
  width: 16px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__socials a {
  align-items: center;
  background: var(--c-controls-base);
  border-radius: 50%;
  display: flex;
  height: 34px;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  width: 34px;
}

.footer__socials a:hover {
  background: var(--c-controls-base--hover);
  transform: translateY(-2px);
}

.footer__socials img {
  height: 15px;
  width: 15px;
}

[data-theme='dark'] .footer__socials img {
  filter: invert(1) brightness(1.6);
  opacity: 0.6;
}

.footer__copyright {
  color: var(--c-footer-text);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

/* ---------- Sticky mobile download bar ---------- */
.sticky-bar {
  align-items: center;
  background: var(--c-base--translucent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-base-line);
  bottom: 0;
  display: flex;
  gap: 12px;
  left: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  position: fixed;
  right: 0;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
  z-index: 30;
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

@media (min-width: 900px) {
  .sticky-bar {
    display: none;
  }
}

.sticky-bar img {
  border-radius: 10px;
  height: 44px;
  width: 44px;
}

.sticky-bar__text {
  flex: 1;
  min-width: 0;
}

.sticky-bar__text strong {
  display: block;
  font-size: 14px;
}

.sticky-bar__text span {
  color: var(--c-base-text-secondary);
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
