:root {
      color-scheme: dark;
      --bg: #08090c;
      --panel: rgba(18, 21, 31, .78);
      --panel-strong: #171b27;
      --text: #f7f7fb;
      --muted: #b9bbc9;
      --faint: #85899a;
      --line: rgba(255,255,255,.13);
      --blue: #4d82ff;
      --purple: #7b55f6;
      --green: #43d29a;
      --radius: 8px;
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      min-height: 100vh;
      background: var(--bg);
      color: var(--text);
      letter-spacing: 0;
    }

    a { color: inherit; text-decoration: none; }
    button, textarea { font: inherit; }

    .site {
      min-height: 100vh;
      overflow: hidden;
      background:
        radial-gradient(circle at 50% 18%, rgba(77,130,255,.62), transparent 360px),
        radial-gradient(circle at 28% 12%, rgba(43,111,255,.42), transparent 430px),
        radial-gradient(circle at 73% 22%, rgba(123,85,246,.38), transparent 420px),
        linear-gradient(135deg, #061835 0%, #091221 42%, #140d2c 72%, #08090c 100%);
    }

    .topbar {
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      z-index: 20;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding: 0 clamp(14px, 3vw, 44px);
      background: transparent;
      border-bottom: 0;
      backdrop-filter: blur(18px);
    }

    /* Override global main.css `.logo { height: 50px }` on auth pages. */
    body.demo2-redesign .topbar a.logo {
      display: inline-flex;
      align-items: center;
      height: auto;
      line-height: 0;
    }

    .logo img {
      width: 188px;
      height: auto;
      display: block;
    }

    .top-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .language-link {
      min-width: 52px;
      min-height: 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: rgba(255, 255, 255, .72);
      opacity: .88;
      cursor: pointer;
      box-shadow: none;
      transition: opacity .18s ease, color .18s ease, background .18s ease;
    }

    .language-link i {
      font-size: 1.15rem;
    }

    .language-link:hover,
    .language-link:focus-visible {
      opacity: 1;
      color: rgba(255, 255, 255, .95);
      background: rgba(255, 255, 255, .06);
      outline: none;
    }

    .login-link {
      min-height: 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 28px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.24);
      background: rgba(255,255,255,.04);
      color: rgba(255,255,255,.94);
      font-size: 16px;
      font-weight: 680;
      white-space: nowrap;
      backdrop-filter: blur(12px);
    }

    .primary-btn,
    .ghost-btn {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 820;
      white-space: nowrap;
    }

    .primary-btn {
      padding: 0 20px;
      background: var(--blue);
      color: #fff;
      box-shadow: 0 12px 30px rgba(77,130,255,.34);
    }

    .top-actions .primary-btn {
      min-height: 52px;
      padding: 0 30px;
      background: #f7f4ef;
      color: #111216;
      box-shadow: 0 18px 38px rgba(0,0,0,.18);
      font-size: 16px;
      font-weight: 720;
    }

    .ghost-btn {
      padding: 0 18px;
      background: rgba(255,255,255,.08);
      border-color: rgba(255,255,255,.16);
      color: #fff;
    }

    .hero {
      position: relative;
      min-height: 100svh;
      display: grid;
      place-items: center;
      padding: clamp(86px, 8svh, 124px) clamp(16px, 5vw, 72px) clamp(28px, 5svh, 58px);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(8,9,12,.04), rgba(8,9,12,.72) 74%, #08090c),
        radial-gradient(circle at 50% 20%, rgba(255,255,255,.12), transparent 340px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px);
      backdrop-filter: blur(22px);
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      width: min(100%, 1320px);
      display: block;
    }

    .center-stage {
      min-width: 0;
      text-align: center;
    }

    .hero-composer {
      width: 100%;
      display: grid;
      grid-template-columns: minmax(0, clamp(560px, 38vw, 820px));
      align-items: center;
      justify-content: center;
      gap: clamp(16px, 2.4vw, 28px);
    }

    .hero-copy {
      min-width: 0;
    }

    .hero-copy h1 {
      max-width: clamp(560px, 38vw, 820px);
      font-size: clamp(56px, min(4.8vw, 8svh), 104px);
    }

    h1 {
      min-height: auto;
      margin: 22px auto 0;
      max-width: 860px;
      font-size: clamp(54px, 6.4vw, 88px);
      line-height: .98;
      font-weight: 820;
      letter-spacing: 0;
    }

    .title-gradient {
      display: inline-block;
      background: linear-gradient(90deg, #4d82ff 0%, #7b55f6 60%, #9a6cff 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .cursor {
      display: none;
    }

    @keyframes blink { 50% { opacity: 0; } }

    .sub {
      max-width: 560px;
      margin: clamp(12px, 1.4svh, 18px) auto clamp(18px, 2.2svh, 30px);
      color: rgba(255,255,255,.78);
      font-size: clamp(15px, 1.05vw, 19px);
      line-height: 1.52;
    }

    .prompt-shell {
      width: min(100%, clamp(560px, 38vw, 820px));
      margin: 0 auto;
      padding: clamp(12px, 1vw, 18px);
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(77,130,255,.18);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
      backdrop-filter: blur(18px);
      transition: background .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .prompt-shell.song-mode {
      border-color: rgba(77,130,255,.34);
      background: rgba(77,130,255,.22);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    }

    .prompt-shell.video-mode {
      border-color: rgba(123,85,246,.38);
      background: rgba(123,85,246,.24);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    }

    .prompt-type {
      width: 100%;
      min-height: clamp(58px, 6.2svh, 86px);
      display: block;
      padding: 3px 4px 10px;
      color: rgba(255,255,255,.80);
      font-size: clamp(16px, 1.05vw, 20px);
      line-height: 1.45;
      text-align: left;
      caret-color: rgba(255,255,255,.9);
      outline: none;
      user-select: text;
    }

    .prompt-type.is-placeholder { color: rgba(255,255,255,.46); }

    .prompt-cursor {
      display: inline-block;
      width: 1px;
      height: 1em;
      margin-left: 3px;
      background: rgba(255,255,255,.72);
      animation: blink .9s steps(2, start) infinite;
      vertical-align: -2px;
    }

    .prompt-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .prompt-side {
      display: flex;
      align-items: center;
      gap: 9px;
      min-width: 0;
    }

    .round-btn {
      width: clamp(42px, 2.8vw, 54px);
      height: clamp(42px, 2.8vw, 54px);
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(255,255,255,.08);
      color: #fff;
      font-size: 18px;
      flex: 0 0 auto;
    }

    .round-btn:hover {
      border-color: rgba(255,255,255,.28);
      background: rgba(255,255,255,.12);
    }

    .dice-btn {
      position: relative;
    }

    .dice-icon {
      width: 21px;
      height: 21px;
      position: relative;
      display: block;
      border-radius: 7px;
      background: rgba(246,244,241,.92);
      box-shadow: 0 8px 18px rgba(0,0,0,.18);
    }

    .dice-icon span {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(55,35,24,.92);
    }

    .dice-icon span:nth-child(1) { left: 5px; bottom: 5px; }
    .dice-icon span:nth-child(2) { left: 50%; top: 50%; transform: translate(-50%, -50%); }
    .dice-icon span:nth-child(3) { right: 5px; top: 5px; }

    .mode-tabs {
      width: min(100%, clamp(560px, 38vw, 820px));
      display: flex;
      align-items: center;
      gap: clamp(10px, 1vw, 18px);
      margin: 0 auto 18px;
    }

    .mode-tab {
      flex: 1 1 0;
      min-height: clamp(54px, 4.4svh, 72px);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(20,24,38,.82);
      color: rgba(232,235,255,.72);
      font-size: clamp(21px, 1.45vw, 30px);
      font-weight: 720;
      cursor: pointer;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
      backdrop-filter: blur(14px);
    }

    .mode-tab.active {
      border-color: var(--blue);
      background: var(--blue);
      color: #fff;
      box-shadow: 0 12px 28px rgba(77,130,255,.22);
    }

    .mode-tab.active[data-mode="video"] {
      border-color: var(--purple);
      background: var(--purple);
      box-shadow: 0 12px 28px rgba(123,85,246,.24);
    }

    .mode-or {
      width: clamp(48px, 3.2vw, 64px);
      height: clamp(48px, 3.2vw, 64px);
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(255,255,255,.08);
      color: rgba(255,255,255,.86);
      font-size: 24px;
      font-weight: 880;
      flex: 0 0 auto;
    }

    .creator-panel {
      width: min(100%, clamp(560px, 38vw, 820px));
      margin: 0 auto;
      padding: 0;
      touch-action: pan-y;
    }

    .creator-panel .prompt-shell {
      width: 100%;
      user-select: none;
      will-change: transform;
      transition: transform .18s ease, background .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .creator-panel.is-dragging .prompt-shell {
      transition: background .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .mode-dots {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 18px;
    }

    .mode-dot {
      width: 12px;
      height: 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.38);
      transition: width .18s ease, background .18s ease, opacity .18s ease;
    }

    .mode-dot[data-dot="song"] {
      background: rgba(77,130,255,.42);
    }

    .mode-dot[data-dot="video"] {
      background: rgba(123,85,246,.42);
    }

    .mode-dot.active[data-dot="song"] {
      width: 30px;
      background: var(--blue);
    }

    .mode-dot.active[data-dot="video"] {
      width: 30px;
      background: var(--purple);
    }

    .feature-dots {
      display: none;
    }

    .mobile-step-carousel {
      display: contents;
    }

    .mobile-video-prompt {
      display: none;
    }

    .template-rail,
    .side-rail {
      width: clamp(250px, 16vw, 390px);
      min-width: 0;
      display: grid;
      gap: 12px;
      justify-items: center;
    }

    @media (min-width: 1081px) {
      .side-rail,
      .template-rail {
        position: absolute;
        top: 50%;
        transform: translateY(-42%);
        z-index: 1;
      }

      .side-rail {
        left: calc(50% - 50vw + clamp(48px, 5vw, 132px));
      }

      .template-rail {
        right: calc(50% - 50vw + clamp(48px, 5vw, 132px));
      }
    }

    .template-rail-title,
    .side-rail-title {
      width: clamp(250px, 16vw, 390px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: rgba(255,255,255,.72);
      font-size: clamp(14px, .9vw, 18px);
      font-weight: 720;
      white-space: nowrap;
    }

    .template-rail-title span:last-child,
    .side-rail-title span:last-child {
      color: rgba(255,255,255,.44);
      font-size: clamp(12px, .75vw, 15px);
      font-weight: 620;
    }

    .template-stack,
    .side-stack {
      width: clamp(250px, 16vw, 390px);
      aspect-ratio: 25 / 33;
      height: auto;
      position: relative;
      touch-action: pan-y;
    }

    .template-card {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      overflow: hidden;
      padding: 18px;
      border-radius: 24px;
      border: 1px solid rgba(255,255,255,.16);
      background:
        linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.78)),
        radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,.34), transparent 118px),
        linear-gradient(135deg, var(--c1), var(--c2) 52%, var(--c3));
      box-shadow: 0 28px 70px rgba(0,0,0,.32);
      transform: translateX(var(--tx)) rotate(var(--rot)) scale(var(--scale));
      opacity: var(--opacity);
      cursor: pointer;
      transition: transform .24s ease, opacity .24s ease, filter .24s ease;
    }

    .template-card.primary {
      z-index: 3;
    }

    .template-card.secondary {
      z-index: 2;
      filter: saturate(.84) brightness(.86);
    }

    .template-card.tertiary {
      z-index: 1;
      filter: saturate(.72) brightness(.72);
    }

    .template-play {
      position: absolute;
      left: 50%;
      top: 48%;
      width: clamp(54px, 3.8vw, 74px);
      height: clamp(54px, 3.8vw, 74px);
      display: grid;
      place-items: center;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: rgba(0,0,0,.34);
      color: #fff;
      font-size: 22px;
      backdrop-filter: blur(8px);
    }

    .template-tag {
      width: fit-content;
      min-height: 26px;
      display: inline-flex;
      align-items: center;
      margin-bottom: 10px;
      padding: 0 9px;
      border-radius: 999px;
      background: rgba(255,255,255,.18);
      color: rgba(255,255,255,.88);
      font-size: 12px;
      font-weight: 760;
    }

    .template-card strong {
      display: block;
      color: #fff;
      font-size: clamp(20px, 1.35vw, 28px);
      line-height: 1.12;
    }

    .template-card small {
      display: block;
      margin-top: 5px;
      color: rgba(255,255,255,.62);
      font-size: clamp(13px, .9vw, 17px);
    }

    .stack-hit {
      position: absolute;
      top: 0;
      bottom: 0;
      z-index: 4;
      width: 42%;
      border: 0;
      background: transparent;
      padding: 0;
      cursor: pointer;
    }

    [data-side="left"] .stack-hit {
      left: 0;
    }

    [data-side="right"] .stack-hit {
      right: 0;
    }

    .section {
      padding: 92px clamp(16px, 5vw, 72px) 72px;
      background: #08090c;
    }

    .grid,
    .features-wrap,
    .featured-templates-wrap,
    .showcase-wrap,
    .plans-wrap {
      width: min(100%, 1180px);
      margin: 0 auto;
    }

    .showcase-wrap {
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
    }

    .section-title {
      width: min(100%, 1180px);
      margin: 0 auto 26px;
      font-size: clamp(34px, 4vw, 58px);
      line-height: 1.04;
      font-weight: 820;
      text-align: center;
    }

    .section-heading-row {
      width: min(100%, 1180px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin: 0 auto 26px;
    }

    .section-heading-row .section-title {
      width: auto;
      margin: 0;
      text-align: left;
    }

    .view-more-link {
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(255,255,255,.06);
      color: rgba(255,255,255,.78);
      font-size: 14px;
      font-weight: 760;
      white-space: nowrap;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .features-wrap {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
      gap: clamp(14px, 1.6vw, 24px);
    }

    .featured-templates-section {
      padding-bottom: 32px;
    }

    .featured-templates-wrap {
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(280px, 318px);
      gap: 28px;
      overflow-x: auto;
      padding: 0 clamp(16px, 5vw, 72px) 10px;
      scroll-snap-type: x proximity;
      scrollbar-width: none;
    }

    .featured-templates-wrap.is-auto-scrolling,
    .showcase-row.is-auto-scrolling {
      scroll-snap-type: none;
    }

    .featured-templates-wrap::-webkit-scrollbar {
      display: none;
    }

    .featured-template-card {
      min-width: 280px;
      position: relative;
      overflow: hidden;
      aspect-ratio: 456 / 623;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      scroll-snap-align: start;
      padding: 18px;
      border-radius: 24px;
      border: 1px solid rgba(255,255,255,.12);
      background:
        linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.76)),
        radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,.30), transparent 118px),
        linear-gradient(135deg, var(--c1), var(--c2) 52%, var(--c3));
    }

    .featured-template-card:not(.carousel-more-card)::after {
      content: "▶";
      position: absolute;
      left: 12px;
      top: 12px;
      width: 22px;
      height: 22px;
      display: grid;
      place-items: center;
      transform: none;
      border-radius: 50%;
      background: transparent;
      border: 0;
      color: #fff;
      font-size: 12px;
    }

    .featured-template-card strong {
      display: block;
      position: relative;
      margin-top: 10px;
      color: #fff;
      font-size: 22px;
      line-height: 1.16;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .featured-template-card small {
      display: block;
      position: relative;
      margin-top: 6px;
      color: rgba(255,255,255,.66);
      font-size: 14px;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .carousel-more-card {
      align-items: center;
      justify-content: center;
      border-color: transparent;
      background: transparent;
    }

    .carousel-more-card .view-more-link,
    .more-card-body .view-more-link {
      min-height: 46px;
      padding: 0 20px;
      color: rgba(255,255,255,.88);
      background: rgba(255,255,255,.08);
    }

    .feature-card {
      min-height: clamp(188px, 12vw, 236px);
      position: relative;
      overflow: hidden;
      padding: clamp(20px, 1.8vw, 30px);
      border-radius: var(--radius);
      border: 1px solid rgba(255,255,255,.12);
      display: flex;
      flex-direction: column;
      background:
        radial-gradient(circle at 82% 8%, var(--glow), transparent 128px),
        linear-gradient(135deg, var(--tone), #070708 58%, #030305);
    }

    .feature-card::before {
      content: attr(data-mark);
      position: absolute;
      right: clamp(-18px, -1vw, -8px);
      top: clamp(-48px, -2.5vw, -30px);
      font-size: clamp(118px, 9.8vw, 188px);
      line-height: 1;
      font-weight: 950;
      letter-spacing: -12px;
      color: rgba(255,255,255,.12);
      pointer-events: none;
    }

    .tag {
      position: relative;
      display: inline-flex;
      width: fit-content;
      align-items: center;
      min-height: clamp(30px, 2vw, 42px);
      padding: 0 clamp(10px, 1vw, 16px);
      border-radius: 999px;
      background: var(--blue);
      color: #fff;
      font-size: clamp(12px, .82vw, 15px);
      font-weight: 850;
    }

    .showcase-row {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(280px, 318px);
      gap: 28px;
      overflow-x: auto;
      padding: 0 clamp(16px, 5vw, 72px) 10px;
      scroll-snap-type: x proximity;
      scrollbar-width: none;
    }

    .showcase-row::-webkit-scrollbar { display: none; }

    .work-card {
      min-width: 280px;
      scroll-snap-align: start;
    }

    .work-art {
      position: relative;
      aspect-ratio: 456 / 623;
      min-height: 0;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid rgba(255,255,255,.12);
      background:
        linear-gradient(180deg, transparent 36%, rgba(0,0,0,.78)),
        radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,.34), transparent 110px),
        linear-gradient(135deg, var(--c1), var(--c2) 50%, var(--c3));
    }

    .more-card-body {
      aspect-ratio: 456 / 623;
      min-height: 0;
      display: grid;
      place-items: center;
      overflow: hidden;
      border-radius: 24px;
      border: 0;
      background: transparent;
    }

    .work-play {
      position: absolute;
      left: 12px;
      top: 12px;
      width: 22px;
      height: 22px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: transparent;
      border: 0;
      color: #fff;
      font-size: 12px;
    }

    .work-caption {
      padding: 18px 0 0;
    }

    .work-caption strong {
      display: block;
      margin-bottom: 14px;
      color: #fff;
      font-size: 22px;
      line-height: 1.16;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .work-caption span {
      display: inline-flex;
      align-items: center;
      color: #fff;
      font-size: 18px;
      font-weight: 780;
    }

    .pricing-section { padding-top: 92px; }

    .app-cta-section {
      display: none;
    }

    .pricing-lede {
      margin: -10px auto 44px;
      color: rgba(255,255,255,.66);
      text-align: center;
      font-size: 18px;
    }

    .plan-badge {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.24);
      color: #fff;
      font-size: 11px;
      font-weight: 850;
    }

    .pricing-cards {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
      max-width: 860px;
    }

    .plan-card {
      min-height: 620px;
      display: flex;
      flex-direction: column;
      padding: 30px;
      border-radius: 22px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.07);
    }

    .plan-card.featured {
      border-color: var(--blue);
      box-shadow: 0 0 0 1px rgba(77,130,255,.24);
    }

    .plan-head {
      min-height: 190px;
      display: grid;
      grid-template-rows: auto minmax(58px, auto) auto minmax(22px, auto);
      align-content: start;
    }

    .plan-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }

    .plan-card h3 {
      margin: 0;
      color: #fff;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 30px;
      font-weight: 400;
      line-height: 1.1;
    }

    .plan-desc {
      margin: 0;
      color: rgba(255,255,255,.58);
      line-height: 1.45;
    }

    .plan-price {
      display: inline-flex;
      align-items: baseline;
      gap: 4px;
      color: #fff;
      font-size: 24px;
      font-weight: 820;
    }

    .plan-price span {
      color: rgba(255,255,255,.58);
      font-size: 16px;
      font-weight: 650;
    }

    .plan-note {
      margin-top: 6px;
      color: rgba(255,255,255,.48);
      font-size: 14px;
      line-height: 1.35;
    }

    .plan-action {
      width: 100%;
      min-height: 58px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 18px 0 34px;
      border-radius: 999px;
      background: rgba(255,255,255,.12);
      color: #fff;
      font-size: 18px;
      font-weight: 760;
    }

    .plan-card.featured .plan-action {
      background: #f7f4ef;
      color: #111216;
    }

    .plan-features {
      display: grid;
      gap: 14px;
      margin: 0;
      padding: 0;
      list-style: none;
      color: rgba(255,255,255,.88);
      line-height: 1.38;
    }

    .plan-features li {
      display: grid;
      grid-template-columns: 18px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
    }

    .check,
    .minus {
      width: 18px;
      height: 18px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(67,210,154,.14);
      color: #3ee887;
      font-size: 13px;
      font-weight: 900;
      line-height: 1;
      margin-top: 1px;
    }

    .minus {
      background: rgba(255,255,255,.12);
      color: rgba(255,255,255,.62);
    }

    .feature-card h3 {
      position: relative;
      margin: clamp(28px, 2.8vw, 48px) 0 8px;
      font-size: clamp(23px, 1.7vw, 32px);
      line-height: 1.08;
    }

    .feature-card p {
      position: relative;
      margin: 0 0 14px;
      color: rgba(255,255,255,.80);
      font-size: clamp(15px, 1vw, 18px);
      line-height: 1.38;
      flex: 1;
    }

    .feature-card .ghost-btn {
      position: relative;
      align-self: flex-start;
      min-height: clamp(40px, 3.2vw, 56px);
      padding: 0 clamp(18px, 1.55vw, 28px);
      font-size: clamp(16px, 1.12vw, 21px);
      background: #f7f4ef;
      color: #121216;
      border: 0;
    }

    @media (max-width: 1240px) {
      .features-wrap {
        max-width: 920px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .feature-card:last-child {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 1080px) {
      .hero {
        padding-top: 96px;
        place-items: start center;
      }

      .hero-composer {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .side-rail {
        order: 2;
        width: 100%;
        overflow: hidden;
      }

      .template-rail {
        order: 3;
        width: 100%;
        overflow: hidden;
      }

      .hero-copy {
        order: 1;
      }

      .template-rail-title,
      .side-rail-title {
        width: min(100%, 760px);
      }

      .template-stack,
      .side-stack {
        width: 100%;
        height: auto;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 32vw);
        gap: 14px;
        overflow-x: auto;
        padding: 0 0 6px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
      }

      .template-stack::-webkit-scrollbar { display: none; }
      .side-stack::-webkit-scrollbar { display: none; }

      .template-card {
        position: relative;
        min-height: 300px;
        transform: none;
        opacity: 1;
        scroll-snap-align: start;
      }

      .stack-hit {
        display: none;
      }

      .features-wrap {
        max-width: 720px;
      }

      .pricing-cards { grid-template-columns: 1fr; }
      .plan-card { min-height: 0; }
    }

    @media (max-width: 760px) {
      body,
      .site {
        background: #000;
      }

      .site {
        overflow-x: hidden;
        overflow-y: auto;
      }

      main {
        display: flex;
        flex-direction: column;
      }

      .topbar {
        height: 58px;
        padding: 0 14px;
        background: rgba(8,9,12,.42);
        border-bottom: 1px solid rgba(255,255,255,.08);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
      }

      .logo img { width: 168px; }

      .top-actions {
        gap: 7px;
      }

      .language-link {
        min-width: 38px;
        min-height: 38px;
      }

      .language-link i {
        font-size: 1rem;
      }

      .login-link {
        min-height: 38px;
        display: inline-flex;
        padding: 0 13px;
        border: 1px solid rgba(255,255,255,.24);
        background: transparent;
        font-size: 14px;
      }

      .top-actions .primary-btn {
        min-height: 38px;
        padding: 0 14px;
        background: #f7f4ef;
        color: #121216;
        box-shadow: none;
        font-size: 14px;
      }

      .hero {
        min-height: auto;
        padding: 82px 20px 16px;
        order: 1;
      }

      .hero::before {
        background:
          radial-gradient(circle at 50% 42%, rgba(77,130,255,.32), transparent 250px),
          linear-gradient(180deg, rgba(0,0,0,0), #000 86%);
        backdrop-filter: none;
      }

      .side-rail,
      .template-rail {
        display: none;
      }

      h1 {
        min-height: auto;
        max-width: 340px;
        margin: 0 auto;
        font-size: 36px;
        line-height: 1.08;
        font-weight: 760;
      }

      .hero-copy h1 {
        max-width: 340px;
        font-size: 36px;
      }

      .hero-title-line {
        white-space: nowrap;
      }

      .sub {
        max-width: 325px;
        margin: 12px auto 10px;
        font-size: 16px;
        line-height: 1.44;
      }

      .template-stack {
        grid-auto-columns: minmax(220px, 70vw);
      }

      .prompt-shell {
        min-height: 184px;
        margin-top: 0;
        padding: 14px 12px 12px;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
      }

      .prompt-shell.song-mode {
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
      }

      .prompt-shell.video-mode {
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
      }

      .mobile-step-carousel {
        width: 100%;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-top: 0;
      }

      .mobile-step-carousel::-webkit-scrollbar {
        display: none;
      }

      .mobile-step-carousel .prompt-shell {
        scroll-snap-align: center;
        flex: 0 0 100%;
      }

      .mobile-video-prompt {
        display: flex;
      }

      .prompt-type {
        min-height: 96px;
        font-size: 13px;
        line-height: 1.35;
      }

      .prompt-actions {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 10px;
        margin-top: auto;
      }

      .prompt-side + .prompt-side {
        margin-top: 0;
        justify-content: space-between;
      }

      .mode-tabs {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
        gap: 8px;
        margin-bottom: 32px;
      }

      .mode-tab {
        min-height: 44px;
        font-size: 16px;
      }

      .mode-or {
        width: 34px;
        height: 34px;
        font-size: 12px;
      }

      .creator-panel {
        padding: 0;
        overflow: hidden;
      }

      .round-btn {
        width: 40px;
        height: 40px;
      }

      .prompt-shell .primary-btn {
        min-height: 40px;
        padding: 0 16px;
        font-size: 14px;
      }

      #heroCta {
        background: var(--blue) !important;
        box-shadow: 0 12px 30px rgba(77,130,255,.34) !important;
      }

      .mobile-video-prompt .primary-btn {
        background: var(--purple) !important;
        box-shadow: 0 12px 30px rgba(123,85,246,.34) !important;
      }

      .mobile-step-carousel {
        border-radius: 18px;
        background: #000;
        clip-path: inset(0 round 18px);
      }

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

      .features-wrap {
        max-width: 520px;
      }

      #features .features-wrap {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - 20px);
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        padding: 0 10px 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
      }

      #features .features-wrap::-webkit-scrollbar {
        display: none;
      }

      .feature-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
        margin-top: 9px;
      }

      .feature-dot {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: rgba(255,255,255,.34);
        transition: width .18s ease, background .18s ease;
      }

      .feature-dot.active {
        width: 18px;
        background: var(--blue);
      }

      #features {
        order: 2;
      }

      #featured-templates {
        order: 3;
      }

      #featured-templates + .section {
        order: 4;
      }

      .pricing-section {
        display: none;
      }

      .app-cta-section {
        order: 5;
        display: block;
        padding: 8px 10px 22px;
      }

      .app-cta-card {
        width: 100%;
        margin: 0 auto;
        padding: 24px 18px;
        border-radius: 22px;
        background: linear-gradient(135deg, #4c80ff 0%, #7755f1 58%, #8d42e8 100%);
        text-align: center;
      }

      .app-cta-card h2 {
        margin: 0 0 10px;
        color: #fff;
        font-size: 22px;
        line-height: 1.16;
        font-weight: 820;
        letter-spacing: 0;
        white-space: nowrap;
      }

      .app-cta-card .get-app-btn {
        min-height: 48px;
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.48);
        background: rgba(255,255,255,.12);
        color: #fff;
        font-size: 16px;
        font-weight: 820;
      }

      .feature-card,
      .feature-card:last-child {
        grid-column: auto;
      }

      .section {
        padding: 14px 10px 10px;
        background: #000;
      }

      #features {
        padding-top: 0;
      }

      .feature-card {
        min-height: 166px;
        padding: 14px 16px;
        border-radius: 22px;
        display: flex;
        scroll-snap-align: center;
      }

      .tag {
        min-height: 28px;
        padding: 0 10px;
        font-size: 12px;
        margin-bottom: 34px;
      }

      .feature-card h3 {
        margin: 0 0 10px;
        font-size: 22px;
        line-height: 1.08;
      }

      .feature-card p {
        margin: 0 0 14px;
        max-width: 330px;
        font-size: 14px;
        line-height: 1.3;
      }

      .feature-card .ghost-btn {
        min-height: 40px;
        margin-top: 0;
        padding: 0 18px;
        font-size: 14px;
      }

      .section-title {
        text-align: left;
      }

      .section-heading-row {
        align-items: flex-end;
        padding: 0 8px 10px;
        margin-bottom: 0;
      }

      .section-heading-row .section-title {
        font-size: 22px;
        line-height: 1.15;
      }

      .featured-templates-wrap {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        grid-auto-columns: 148px;
        gap: 12px;
        padding: 0 10px 2px;
      }

      .featured-template-card {
        min-width: 0;
        height: 184px;
        aspect-ratio: auto;
        border-radius: 18px;
        padding: 10px;
      }

      .featured-template-card:first-child,
      .work-card:first-child {
        margin-left: 0;
      }

      .featured-template-card:last-child,
      .work-card:last-child {
        margin-right: 0;
      }

      .featured-template-card strong,
      .work-caption strong {
        font-size: 14px;
        line-height: 1.12;
      }

      .featured-template-card small {
        font-size: 12px;
        line-height: 1.25;
      }

      .showcase-wrap {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
      }

      .showcase-row {
        grid-auto-columns: 148px;
        gap: 12px;
        padding: 0 20px 2px;
      }

      .work-card {
        min-width: 0;
      }

      .work-art,
      .more-card-body {
        height: 184px;
        aspect-ratio: auto;
        border-radius: 18px;
      }

      .work-caption {
        padding: 8px 10px 0;
      }

      .work-caption strong {
        margin-bottom: 0;
      }

      .work-caption span {
        font-size: 12px;
      }

      .pricing-lede {
        text-align: left;
      }

      .pricing-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .plan-card {
        padding: 16px;
        border-radius: 16px;
      }

      .plan-head {
        min-height: 178px;
        grid-template-rows: auto minmax(70px, auto) auto minmax(34px, auto);
      }

      .plan-card h3 {
        font-size: 22px;
      }

      .plan-badge {
        font-size: 9px;
        padding: 0 7px;
      }

      .plan-desc,
      .plan-note {
        font-size: 12px;
      }

      .plan-price {
        font-size: 22px;
      }

      .plan-action {
        min-height: 42px;
        font-size: 14px;
      }

      .plan-features {
        gap: 10px;
        font-size: 12px;
      }

      .check,
      .minus {
        width: 20px;
        height: 20px;
        font-size: 12px;
      }

      .creator-panel,
      .mobile-step-carousel {
        background: #000;
      }

      .mobile-step-carousel .prompt-shell {
        overflow: hidden;
      }

      #features,
      #features .features-wrap {
        background: #000;
      }
    }
    .demo2-shell {
      --page-pad: clamp(14px, 3vw, 44px);
      min-height: 100vh;
      padding: 88px var(--page-pad) 180px;
      background: #050811;
      --desktop-line: rgba(111, 151, 235, .18);
      --desktop-glass: rgba(9, 15, 31, .82);
      --desktop-accent: #5b83ff;
      --desktop-purple: #9b63ff;
      --desktop-glow: rgba(91, 131, 255, .32);
    }

    .banner-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 0 auto 22px;
    }

    .desktop-hero-banner {
      height: 252px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      overflow: visible;
      border: 0;
      background: transparent;
      box-shadow: none;
      margin: 0 auto 22px;
    }

    .desktop-hero-carousel,
    .desktop-hero-static {
      position: relative;
      min-width: 0;
      height: 100%;
      overflow: hidden;
      border-radius: 7px;
      border: 1px solid rgba(111, 151, 235, .16);
      background:
        linear-gradient(90deg, rgba(5,8,17,0), rgba(9,15,31,.70) 9%, rgba(9,15,31,.82) 50%, rgba(9,15,31,.70) 91%, rgba(5,8,17,0));
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.035),
        0 20px 46px rgba(0,0,0,.18),
        0 0 34px rgba(77,130,255,.07);
      touch-action: pan-y;
      -webkit-mask-image:
        linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%),
        linear-gradient(180deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
      -webkit-mask-composite: source-in;
      mask-image:
        linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%),
        linear-gradient(180deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
      mask-composite: intersect;
    }

    .desktop-banner-track {
      height: 100%;
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .desktop-banner-track::-webkit-scrollbar {
      display: none;
    }

    .desktop-banner-slide {
      flex: 0 0 100%;
      position: relative;
      min-width: 100%;
      display: block;
      scroll-snap-align: start;
      background:
        radial-gradient(circle at 54% 32%, rgba(77,130,255,.24), transparent 300px),
        radial-gradient(circle at 76% 42%, rgba(154,108,255,.18), transparent 280px),
        linear-gradient(90deg, rgba(5, 10, 24, .98) 0%, rgba(13, 25, 54, .88) 42%, rgba(25, 34, 74, .54) 62%, rgba(10,12,24,.10) 82%, rgba(0,0,0,.02) 100%),
        linear-gradient(135deg, var(--b1), var(--b2) 50%, var(--b3));
    }

    .desktop-banner-slide::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 3;
      background:
        linear-gradient(90deg, #050811 0%, rgba(5,8,17,0) 3%, rgba(5,8,17,0) 97%, #050811 100%),
        linear-gradient(180deg, #050811 0%, rgba(5,8,17,0) 4%, rgba(5,8,17,0) 96%, #050811 100%);
      opacity: .35;
      pointer-events: none;
    }

    .desktop-hero-static .desktop-banner-slide {
      height: 100%;
      min-width: 0;
    }

    .desktop-banner-slide::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 80px),
        linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
      opacity: .4;
      pointer-events: none;
    }

    .desktop-banner-content {
      position: relative;
      z-index: 2;
      width: 62%;
      height: 100%;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 30px 52px 30px 24px;
    }

    .desktop-banner-content h1 {
      max-width: 680px;
      margin: 0;
      color: #fff;
      font-size: 36px;
      line-height: 1.02;
      font-weight: 820;
      text-align: left;
    }

    .desktop-banner-content p {
      max-width: 520px;
      margin: 10px 0 16px;
      color: rgba(255,255,255,.72);
      font-size: 15px;
      line-height: 1.45;
      font-weight: 650;
    }

    .desktop-banner-cta {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 18px;
      border-radius: 7px;
      background: linear-gradient(90deg, var(--desktop-accent), var(--desktop-purple));
      color: #fff;
      font-size: 13px;
      font-weight: 820;
      box-shadow: 0 16px 34px var(--desktop-glow);
    }

    .desktop-banner-image-wrap {
      position: absolute;
      inset: 0 0 0 auto;
      width: 56%;
      z-index: 1;
      min-width: 0;
      overflow: hidden;
      opacity: 1;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.42) 24%, #000 48%);
      mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.42) 24%, #000 48%);
    }

    .desktop-banner-image-wrap::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 -42%;
      z-index: 1;
      width: 92%;
      background: linear-gradient(90deg, rgba(7,12,26,1) 0%, rgba(11,22,48,.88) 28%, rgba(20,31,68,.48) 58%, rgba(11,19,31,0) 100%);
      pointer-events: none;
    }

    .desktop-banner-image,
    .desktop-banner-video {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      filter: saturate(1.08) contrast(1.04) brightness(.86);
    }

    .desktop-banner-image-wrap.aidols-video .desktop-banner-video {
      object-position: center top;
    }

    .desktop-banner-image-wrap.aidols-video::before {
      inset: 0 auto 0 -18%;
      width: 72%;
      background: linear-gradient(90deg, rgba(7,12,26,1) 0%, rgba(11,22,48,.88) 36%, rgba(20,31,68,.36) 72%, rgba(11,19,31,0) 100%);
    }

    .desktop-banner-dots {
      position: absolute;
      z-index: 5;
      right: 18px;
      bottom: 14px;
      display: flex;
      gap: 8px;
    }

    .desktop-banner-dot {
      width: 7px;
      height: 7px;
      padding: 0;
      border-radius: 999px;
      border: 0;
      background: rgba(255,255,255,.36);
      cursor: pointer;
    }

    .desktop-banner-dot.active {
      width: 20px;
      background: var(--desktop-accent);
    }

    .desktop-banner-arrow {
      position: absolute;
      top: 50%;
      z-index: 2;
      width: 42px;
      height: 58px;
      display: grid;
      place-items: center;
      padding: 0;
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 7px;
      background: rgba(0,0,0,.28);
      color: rgba(255,255,255,.78);
      font-size: 25px;
      line-height: 1;
      transform: translateY(-50%);
      cursor: pointer;
      backdrop-filter: blur(12px);
      opacity: 0;
      pointer-events: none;
      transition: opacity .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
    }

    .desktop-hero-carousel:hover .desktop-banner-arrow {
      opacity: 1;
      pointer-events: auto;
    }

    .desktop-banner-arrow:hover {
      border-color: rgba(31,182,255,.52);
      color: #fff;
      background: rgba(31,182,255,.18);
    }

    .desktop-banner-arrow.prev { left: 14px; }
    .desktop-banner-arrow.next { right: 14px; }

    .promo-banner {
      min-height: 244px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      padding: clamp(26px, 3vw, 54px);
      border-radius: 6px;
      border: 1px solid rgba(79, 121, 205, .42);
      background:
        linear-gradient(90deg, rgba(5, 12, 30, .97) 0%, rgba(13, 29, 62, .86) 45%, rgba(12, 24, 52, .38) 100%),
        radial-gradient(circle at 74% 48%, rgba(61, 133, 255, .72), transparent 210px),
        linear-gradient(135deg, var(--banner-a), var(--banner-b));
      box-shadow: 0 22px 60px rgba(0,0,0,.34);
    }

    .promo-banner.aidols {
      background:
        linear-gradient(90deg, rgba(5, 12, 30, .98) 0%, rgba(14, 27, 58, .88) 48%, rgba(9, 12, 21, .18) 100%),
        radial-gradient(circle at 80% 48%, rgba(191, 103, 255, .50), transparent 210px),
        linear-gradient(135deg, #101b43, #38224f 56%, #10131f);
    }

    .promo-copy {
      width: min(620px, 62%);
      position: relative;
      z-index: 2;
    }

    .promo-banner h2 {
      margin: 0 0 12px;
      color: #fff;
      font-size: clamp(28px, 2.15vw, 42px);
      line-height: 1.05;
      font-weight: 860;
    }

    .promo-banner p {
      max-width: 560px;
      margin: 0 0 20px;
      color: rgba(255,255,255,.72);
      font-size: clamp(14px, .95vw, 18px);
      line-height: 1.4;
      font-weight: 650;
    }

    .banner-btn {
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 18px;
      border-radius: 6px;
      background: linear-gradient(135deg, #5c88ff, #9b65ff);
      color: #fff;
      font-size: 14px;
      font-weight: 850;
      box-shadow: 0 12px 28px rgba(96, 119, 255, .34);
    }

    .banner-visual {
      position: absolute;
      inset: 0 0 0 auto;
      width: 52%;
      pointer-events: none;
    }

    .banner-visual::before,
    .banner-visual::after {
      content: "";
      position: absolute;
      border-radius: 50%;
    }

    .voice .banner-visual::before {
      width: 86px;
      height: 180px;
      left: 46%;
      top: 28px;
      border-radius: 48px;
      background:
        linear-gradient(90deg, rgba(0,0,0,.36), transparent 44%, rgba(255,255,255,.18)),
        linear-gradient(180deg, #1a56a8, #0b183a);
      box-shadow: 0 0 42px rgba(41, 144, 255, .72);
    }

    .voice .banner-visual::after {
      width: 520px;
      height: 180px;
      left: 12%;
      top: 52px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 70% 45%, rgba(127, 213, 255, .95), transparent 10px),
        radial-gradient(circle at 56% 38%, rgba(56, 144, 255, .62), transparent 70px),
        linear-gradient(100deg, transparent, rgba(47, 126, 255, .68), rgba(102, 228, 255, .46), transparent);
      filter: blur(4px);
      transform: rotate(-8deg);
      opacity: .92;
    }

    .aidols .banner-visual::before {
      width: 250px;
      height: 360px;
      right: 13%;
      bottom: -80px;
      border-radius: 130px 130px 36px 36px;
      background:
        radial-gradient(circle at 50% 18%, rgba(255,238,222,.98), transparent 54px),
        radial-gradient(circle at 50% 46%, rgba(38, 222, 255, .55), transparent 44px),
        linear-gradient(180deg, #f2d1bd 0 30%, #271335 31% 100%);
      box-shadow: 0 0 50px rgba(137, 91, 255, .38);
    }

    .aidols .banner-visual::after {
      width: 220px;
      height: 100%;
      right: 0;
      top: 0;
      border-radius: 0;
      background: linear-gradient(90deg, rgba(53, 30, 74, .12), rgba(0,0,0,.92));
    }

    .banner-dots {
      position: absolute;
      right: 18px;
      bottom: 16px;
      display: flex;
      gap: 8px;
    }

    .banner-dots span {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: rgba(255,255,255,.36);
    }

    .banner-dots span:last-child {
      width: 20px;
      background: #5790ff;
    }

    .gallery-section {
      background: #050811;
    }

    .gallery-tabs {
      position: sticky;
      top: 68px;
      z-index: 30;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 14px;
      padding: 8px 0;
      background: transparent;
    }

    .gallery-tab {
      min-width: 116px;
      min-height: 52px;
      padding: 0 24px;
      border: 1px solid rgba(255,255,255,.24);
      border-radius: 999px;
      background: rgba(255,255,255,.04);
      color: rgba(255,255,255,.86);
      font-size: 16px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
      backdrop-filter: blur(12px);
      transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .gallery-tab:hover {
      border-color: rgba(255,255,255,.34);
      background: rgba(255,255,255,.08);
      color: rgba(255,255,255,.96);
    }

    .gallery-tab.active {
      color: #111216;
      border-color: transparent;
      background: #f7f4ef;
      box-shadow: 0 18px 38px rgba(0,0,0,.18);
    }

    .art-wall,
    .template-grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(160px, 1fr));
      gap: 3px;
    }

    .art-wall {
      grid-auto-rows: 154px;
      gap: 3px;
    }

    .art-card {
      position: relative;
      overflow: hidden;
      min-height: 0;
      border: 1px solid rgba(29, 45, 82, .66);
      background:
        linear-gradient(145deg, rgba(0,0,0,.20), rgba(0,0,0,.62)),
        radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,.25), transparent 82px),
        linear-gradient(135deg, var(--c1), var(--c2) 54%, var(--c3));
    }

    .art-card::before {
      content: "";
      position: absolute;
      left: 12px;
      top: 12px;
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: rgba(255,255,255,.25);
    }

    .videos-wall .art-card::before {
      display: none;
    }

    .art-card::after {
      content: "";
      position: absolute;
      width: 148px;
      height: 148px;
      left: var(--orb-x);
      top: var(--orb-y);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,255,255,.32), rgba(255,255,255,.08) 42%, transparent 70%);
      filter: blur(6px);
      opacity: .78;
    }

    .art-card.tall { grid-row: span 3; }
    .art-card.medium { grid-row: span 2; }
    .art-card.short { grid-row: span 1; }

    .art-wall.videos-wall {
      --video-wall-cols: 7;
      --video-wall-gap: 3px;
      flex-wrap: wrap;
      justify-content: flex-start;
      align-content: flex-start;
      gap: var(--video-wall-gap);
      width: 100%;
      margin-inline: 0;
      padding-inline: 0;
      box-sizing: border-box;
      column-count: unset;
      column-gap: unset;
      grid-template-columns: unset;
      grid-auto-rows: unset;
    }

    .art-wall.videos-wall .art-card {
      flex: 0 0 calc((100% - (var(--video-wall-cols) - 1) * var(--video-wall-gap)) / var(--video-wall-cols));
      max-width: calc((100% - (var(--video-wall-cols) - 1) * var(--video-wall-gap)) / var(--video-wall-cols));
      display: block;
      min-width: 0;
      min-height: 0;
      margin: 0;
      break-inside: auto;
      box-sizing: border-box;
    }

    .videos-wall .art-card.work-card {
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    .videos-wall .art-card.portrait {
      aspect-ratio: 9 / 16;
    }

    .videos-wall .art-card.square {
      aspect-ratio: 1 / 1;
    }

    .videos-wall .art-card.wide {
      aspect-ratio: 16 / 9;
    }

    .art-wall.videos-wall .art-card.tall,
    .art-wall.videos-wall .art-card.medium,
    .art-wall.videos-wall .art-card.short,
    .videos-wall .art-card.tall,
    .videos-wall .art-card.medium,
    .videos-wall .art-card.short {
      grid-row: auto;
      aspect-ratio: 9 / 16;
    }

    .videos-wall .art-card.work-card[style*="--thumb-layer"] {
      background:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.72)),
        var(--thumb-layer),
        linear-gradient(135deg, var(--c1), var(--c2) 52%, var(--c3));
      background-size: cover, cover, auto;
      background-position: center, center, center;
      background-repeat: no-repeat;
    }

    .videos-wall .art-card.work-card.square[style*="--thumb-layer"] {
      background-size: cover, cover, auto;
    }

    .videos-wall .art-card.work-card.wide[style*="--thumb-layer"] {
      background-size: cover, cover, auto;
    }

    .art-meta {
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 12px;
      z-index: 2;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      gap: 12px;
      color: rgba(255,255,255,.82);
      font-size: 12px;
      font-weight: 850;
    }

    /* Hover-to-play preview video injected by JS over the card thumbnail. */
    .art-card-hover-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      background: #000;
      pointer-events: none;
    }

    .videos-wall .art-meta {
      text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
    }

    .videos-wall .art-meta span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .videos-wall .art-count {
      display: none;
    }

    .art-count {
      color: rgba(255,255,255,.76);
    }

    .template-grid {
      align-items: start;
    }

    .template-card-tile {
      position: relative;
      overflow: hidden;
      aspect-ratio: 9 / 16;
      border: 1px solid rgba(29, 45, 82, .66);
      background:
        linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.62)),
        radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,.28), transparent 88px),
        linear-gradient(135deg, var(--c1), var(--c2) 54%, var(--c3));
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    a.template-card-tile:focus-visible {
      outline: 2px solid rgba(77, 130, 255, .72);
      outline-offset: 2px;
    }

    .template-card-tile::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,.18), transparent 44px);
      opacity: .82;
    }

    .template-card-title {
      position: absolute;
      left: 12px;
      top: 12px;
      right: 12px;
      z-index: 2;
      color: rgba(255,255,255,.94);
      font-size: 13px;
      font-weight: 850;
      line-height: 1.2;
      text-shadow: 0 2px 14px rgba(0,0,0,.5);
    }

    .template-create {
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 10px;
      z-index: 2;
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: #f7f4ef;
      color: #111216;
      font-size: 13px;
      font-weight: 760;
      opacity: 0;
      transform: translateY(12px);
      box-shadow: 0 14px 30px rgba(0,0,0,.24);
      transition: opacity .2s ease, transform .2s ease;
      pointer-events: none;
    }

    .template-card-tile:hover .template-create,
    .template-card-tile:focus-visible .template-create {
      opacity: 1;
      transform: translateY(0);
    }

    .template-card-tile.has-thumb {
      background:
        linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.62)),
        var(--thumb-layer, none),
        radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,.28), transparent 88px),
        linear-gradient(135deg, var(--c1), var(--c2) 54%, var(--c3));
      background-size: cover, cover, auto, auto;
      background-position: center, center, var(--x) var(--y), center;
    }

    .art-card.work-card.has-thumb,
    .art-card.work-card[style*="--thumb-layer"] {
      /* sizing handled by .videos-wall rules above */
    }

    .floating-creator {
      position: fixed;
      left: 50%;
      bottom: 18px;
      z-index: 40;
      width: min(720px, calc(100vw - 32px));
      transform: translateX(-50%);
      pointer-events: auto;
    }

    .floating-creator .prompt-shell {
      width: 100%;
      min-height: 138px;
      margin: 0;
      border-radius: 18px;
    }

    .floating-creator .prompt-type {
      outline: none;
      white-space: pre-wrap;
      word-break: break-word;
      cursor: text;
    }

    [data-gallery-panel] {
      display: none;
    }

    [data-gallery-panel].active {
      display: grid;
    }

    .videos-wall.active {
      display: flex;
    }

    .songs-library.active {
      display: block;
    }

    .songs-library {
      color: #fff;
    }

    .song-section {
      margin: 0 0 34px;
    }

    .song-section:last-child {
      margin-bottom: 0;
    }

    .song-section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin: 0 0 12px;
    }

    .song-section-title {
      margin: 0;
      color: rgba(255,255,255,.94);
      font-size: 22px;
      line-height: 1.15;
      font-weight: 860;
      letter-spacing: 0;
    }

    .song-section-link {
      color: rgba(255,255,255,.46);
      font-size: 12px;
      font-weight: 760;
      white-space: nowrap;
    }

    /* Landing showcase: keep the Songs panel as a clean wall, consistent with
       the text-free Videos/Templates tabs, and avoid linking out to internal
       pages that are not yet redesigned. Remove this rule to restore headers. */
    .songs-library .song-section-head {
      display: none;
    }

    .song-row {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: clamp(220px, 12vw, 260px);
      gap: 14px;
      overflow-x: auto;
      overflow-y: hidden;
      margin-inline: calc(-1 * var(--page-pad));
      padding: 0 var(--page-pad) 8px;
      scroll-snap-type: x proximity;
      scroll-padding-inline: var(--page-pad);
      scrollbar-width: none;
    }

    .song-row::-webkit-scrollbar {
      display: none;
    }

    .playlist-card,
    .song-card,
    .creator-card {
      scroll-snap-align: start;
    }

    .playlist-card {
      position: relative;
      min-height: clamp(220px, 12vw, 260px);
      overflow: hidden;
      border-radius: 16px;
      background:
        linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.68)),
        radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,.26), transparent 74px),
        linear-gradient(135deg, var(--c1), var(--c2) 58%, var(--c3));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    }

    .playlist-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.16) 39% 42%, transparent 43%),
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.22), transparent 46px);
      opacity: .8;
    }

    .playlist-play,
    .song-play {
      position: absolute;
      right: 12px;
      top: 12px;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      margin: 0;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(255,255,255,.22);
      color: #fff;
      font-size: 0;
      line-height: 1;
      cursor: pointer;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
      pointer-events: none;
    }

    .playlist-play::before,
    .song-play::before {
      content: "";
      width: 0;
      height: 0;
      margin-left: 2px;
      border-style: solid;
      border-width: 6px 0 6px 10px;
      border-color: transparent transparent transparent currentColor;
    }

    .playlist-copy {
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 12px;
      z-index: 2;
    }

    .playlist-kicker {
      display: block;
      margin-bottom: 26px;
      color: rgba(255,255,255,.9);
      font-size: 13px;
      font-weight: 850;
    }

    .playlist-name,
    .song-name,
    .creator-name {
      display: block;
      overflow: hidden;
      color: rgba(255,255,255,.94);
      font-size: 15px;
      line-height: 1.2;
      font-weight: 850;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .playlist-source,
    .song-source,
    .creator-stats {
      display: block;
      margin-top: 4px;
      overflow: hidden;
      color: rgba(255,255,255,.56);
      font-size: 12px;
      line-height: 1.2;
      font-weight: 650;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .song-row.cards {
      grid-auto-columns: clamp(220px, 12vw, 260px);
      grid-auto-flow: column;
    }

    .song-card {
      position: relative;
      display: block;
      min-height: clamp(310px, 17vw, 360px);
      overflow: hidden;
      padding: 0;
      border-radius: 16px;
      background: rgba(255,255,255,.06);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    a.creator-card {
      display: block;
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    .song-cover.has-thumb,
    .song-card.has-thumb .song-cover[style*="--thumb-layer"] {
      background:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.72)),
        var(--thumb-layer),
        radial-gradient(circle at 32% 24%, rgba(255,255,255,.34), transparent 24px),
        linear-gradient(135deg, var(--c1), var(--c2) 58%, var(--c3));
      background-size: cover, cover, auto, auto;
      background-position: center, center, center, center;
      background-repeat: no-repeat;
    }

    .song-card > div {
      position: absolute;
      left: 12px;
      right: 48px;
      bottom: 12px;
      z-index: 2;
    }

    .song-cover,
    .creator-avatar {
      background:
        radial-gradient(circle at 32% 24%, rgba(255,255,255,.34), transparent 24px),
        linear-gradient(135deg, var(--c1), var(--c2) 58%, var(--c3));
    }

    .song-cover {
      display: block;
      width: 100%;
      height: 100%;
      border-radius: inherit;
      box-shadow: inset 0 -96px 90px rgba(0,0,0,.72);
    }

    .creator-row {
      grid-auto-columns: clamp(180px, 9.8vw, 210px);
    }

    .creator-card {
      min-height: 236px;
      padding: 18px 14px 14px;
      border-radius: 14px;
      background: rgba(255,255,255,.06);
      text-align: center;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    }

    .creator-avatar {
      display: block;
      width: 104px;
      height: 104px;
      margin: 0 auto 14px;
      border-radius: 999px;
      background:
        radial-gradient(circle at 32% 24%, rgba(255,255,255,.34), transparent 24px),
        linear-gradient(135deg, #3b2538, #161719 58%, #8d5d36);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.18),
        0 10px 24px rgba(0,0,0,.28);
    }

    .creator-avatar.has-thumb,
    .creator-card .creator-avatar[style*="--thumb-layer"] {
      background:
        linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18)),
        var(--thumb-layer),
        radial-gradient(circle at 32% 24%, rgba(255,255,255,.34), transparent 24px),
        linear-gradient(135deg, #3b2538, #161719 58%, #8d5d36);
      background-size: cover, cover, auto, auto;
      background-position: center, center, center, center;
      background-repeat: no-repeat;
    }

    .creator-follow {
      width: 100%;
      min-height: 34px;
      margin-top: 14px;
      border: 0;
      border-radius: 8px;
      background: rgba(255,255,255,.13);
      color: rgba(255,255,255,.88);
      font-size: 12px;
      font-weight: 760;
      cursor: pointer;
    }

    body.demo2-redesign .hero,
    body.demo2-redesign .featured-templates-section,
    body.demo2-redesign #features,
    body.demo2-redesign .pricing-section,
    body.demo2-redesign .app-cta-section,
    body.demo2-redesign main > .section:not(.demo2-shell):not(.featured-templates-section):not(#features):not(.pricing-section):not(.app-cta-section) {
      display: none !important;
    }

    body.demo2-redesign .site {
      overflow: visible;
    }

    @media (max-width: 1500px) {
      .demo2-shell {
        padding-top: 76px;
      }

      .desktop-hero-banner {
        height: 220px;
        margin-bottom: 18px;
      }

      .desktop-banner-content {
        padding: 24px 42px 24px 20px;
      }

      .desktop-banner-content h1 {
        font-size: 30px;
      }

      .desktop-banner-content p {
        max-width: 440px;
        margin: 9px 0 14px;
        font-size: 13px;
      }

      .desktop-banner-cta {
        min-height: 32px;
        padding: 0 16px;
        font-size: 12px;
      }

      .gallery-tabs {
        gap: 8px;
        margin-bottom: 12px;
      }

      .gallery-tab {
        min-width: 96px;
        min-height: 42px;
        padding: 0 18px;
        font-size: 14px;
      }

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

      .art-wall.videos-wall {
        --video-wall-cols: 7;
      }
    }

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

      .desktop-hero-banner {
        height: 180px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .desktop-hero-carousel,
      .desktop-hero-static {
        height: 100%;
      }

      .promo-copy {
        width: min(620px, 70%);
      }

      .art-wall,
      .template-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
      }

      .art-wall.videos-wall {
        --video-wall-cols: 6;
      }
    }

    @media (max-width: 760px) {
      .demo2-shell {
        --page-pad: 14px;
        padding: 68px var(--page-pad) 172px;
      }

      .banner-grid {
        gap: 8px;
        margin-bottom: 16px;
      }

      .desktop-hero-banner {
        grid-template-columns: 1fr;
        gap: 8px;
        height: auto;
        margin-bottom: 16px;
      }

      .desktop-hero-carousel,
      .desktop-hero-static {
        height: 196px;
      }

      .aidols-hero-banner {
        display: none !important;
      }

      body.demo2-redesign .topbar .language-link {
        display: none;
      }

      .top-actions {
        gap: 6px;
        min-width: 0;
        flex-shrink: 1;
      }

      .logo img {
        width: 148px;
      }

      .login-link {
        padding: 0 10px;
        font-size: 13px;
      }

      .top-actions .primary-btn {
        padding: 0 12px;
        font-size: 13px;
      }

      .desktop-banner-content {
        width: 72%;
        padding: 22px 18px;
      }

      .desktop-banner-content h1 {
        font-size: 25px;
      }

      .desktop-banner-content p {
        font-size: 12px;
      }

      .desktop-banner-cta {
        min-height: 32px;
        font-size: 12px;
      }

      .desktop-banner-image-wrap {
        width: 54%;
      }

      .promo-banner {
        min-height: 170px;
        padding: 22px 18px;
      }

      .promo-copy {
        width: 72%;
      }

      .promo-banner h2 {
        font-size: 25px;
      }

      .promo-banner p {
        font-size: 12px;
      }

      .banner-btn {
        min-height: 32px;
        font-size: 12px;
      }

      .gallery-tabs {
        margin-left: 0;
        width: 100%;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
      }

      .gallery-tab {
        min-width: 104px;
        min-height: 44px;
        padding: 0 18px;
        font-size: 14px;
      }

      .art-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 118px;
      }

      .art-wall.videos-wall {
        --video-wall-cols: 2;
        padding-inline: 0;
      }

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

      .song-section {
        margin-bottom: 28px;
      }

      .song-section-title {
        font-size: 20px;
      }

      .song-row {
        grid-auto-columns: 168px;
        gap: 10px;
      }

      .playlist-card {
        min-height: 168px;
        border-radius: 14px;
      }

      .song-row.cards {
        grid-auto-columns: 168px;
      }

      .song-card {
        min-height: 236px;
        border-radius: 14px;
      }

      .creator-row {
        grid-auto-columns: 148px;
      }

      .creator-card {
        min-height: 204px;
      }

      .creator-avatar {
        width: 78px;
        height: 78px;
      }

      .floating-creator {
        bottom: 10px;
        width: calc(100vw - 20px);
      }

      .floating-creator .prompt-shell {
        min-height: 156px;
      }
    }

    @media (min-width: 761px) {
      .floating-creator {
        width: min(720px, calc(100vw - 32px));
      }
    }

/* ── Marketing landing footer (demo2) ─────────────────────────── */
body.demo2-redesign:not(.register-page):not(.login-page) {
  --landing-composer-clearance: 196px;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site {
  display: flex;
  flex-direction: column;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site > main {
  flex: 1 0 auto;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer {
  position: relative;
  z-index: 45;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  padding: 2.35rem clamp(16px, 4vw, 48px)
    calc(2rem + var(--landing-composer-clearance) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .68);
  font-size: 1rem;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  max-width: 820px;
  margin: 0 auto;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-copy {
  order: 3;
  margin: 0;
  color: rgba(255, 255, 255, .56);
  font-size: .96rem;
  line-height: 1.5;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .social-icons {
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .social-icons.hide-mobile {
  display: flex !important;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .social-icons img {
  height: 32px;
  width: auto;
  display: block;
  opacity: .9;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .social-icons a:hover img {
  opacity: 1;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-links {
  order: 2;
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-size: .98rem;
  line-height: 1.85;
  white-space: normal;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-links a {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-weight: 600;
}

body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-links a:hover,
body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-links a:focus-visible {
  color: rgba(255, 255, 255, .95);
}

body.demo2-redesign .demo2-footer-language {
  display: none;
  justify-content: center;
  padding: 0 16px 10px;
  margin-top: -8px;
}

body.demo2-redesign .demo2-footer-language-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  font-weight: 650;
  cursor: pointer;
}

body.demo2-redesign .demo2-footer-language-btn:hover,
body.demo2-redesign .demo2-footer-language-btn:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  outline: none;
}

@media (max-width: 760px) {
  body.demo2-redesign .demo2-footer-language {
    display: flex;
  }

  body.demo2-redesign.register-page .topbar .language-link,
  body.demo2-redesign.login-page .topbar .language-link {
    display: none;
  }
}

body.demo2-redesign:not(.register-page):not(.login-page) .mobile-footer {
  display: none !important;
}

body.demo2-redesign:not(.register-page):not(.login-page) .floating-creator {
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

body.demo2-redesign:not(.register-page):not(.login-page).landing-footer-visible .floating-creator {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}

body.demo2-redesign:not(.register-page):not(.login-page).landing-footer-visible .site-footer {
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

body.demo2-redesign:not(.register-page):not(.login-page) .cookie-banner {
  position: fixed;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  left: clamp(10px, 3vw, 24px);
  right: clamp(10px, 3vw, 24px);
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(12, 16, 28, .94);
  color: rgba(255, 255, 255, .88);
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  z-index: 200;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.demo2-redesign:not(.register-page):not(.login-page) .cookie-banner .anchor-light-color {
  color: #7ba4ff;
}

body.demo2-redesign:not(.register-page):not(.login-page) .cookie-banner .btn-primary {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: #4d82ff;
  color: #fff;
  font-weight: 700;
  padding: 8px 16px;
}

@media (max-width: 768px) {
  body.demo2-redesign:not(.register-page):not(.login-page) {
    --landing-composer-clearance: 220px;
  }

  body.demo2-redesign:not(.register-page):not(.login-page) .site-footer {
    padding-top: 2rem;
    padding-bottom: calc(1.75rem + var(--landing-composer-clearance) + env(safe-area-inset-bottom, 0px));
  }

  body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-inner {
    gap: 1rem;
  }

  body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-links {
    font-size: .94rem;
    line-height: 1.75;
  }

  body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .footer-copy {
    font-size: .92rem;
  }

  body.demo2-redesign:not(.register-page):not(.login-page) .site-footer .social-icons img {
    height: 30px;
  }
}
