/* ==========================================================================
   Animo Fanz — dark cinematic landing page.
   Accent palette is lifted from the app itself: the orange SUB badge (#F97316),
   its brighter hover state, and the cream the app uses as a page background.
   ========================================================================== */

:root {
    --ink: #f7f2ea;
    --dim: #9d9ba7;
    --faint: #75737f;
    --void: #08090e;
    --void-2: #0b0d14;
    --surface: #11131c;
    --surface-2: #161925;
    --line: rgba(255, 255, 255, .075);
    --line-strong: rgba(255, 255, 255, .14);

    --flame: #f97316;
    --ember: #ffb03a;
    --crimson: #e0392e;
    --lilac: #a78bfa;
    --cream: #fbf8f5;
    --lavender: #f2eef7;

    --shell: min(1220px, calc(100vw - 48px));
    --radius: 24px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
/* `clip` rather than `hidden` so the tilted ribbon can bleed without the page
   gaining a horizontal scroll range — and without breaking position: sticky. */
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: clip; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--void);
    font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* Warm pointer light that follows the cursor across the dark canvas. */
body::before {
    content: "";
    position: fixed;
    z-index: 90;
    width: 620px;
    height: 620px;
    left: calc(var(--pointer-x, 50vw) - 310px);
    top: calc(var(--pointer-y, 40vh) - 310px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 176, 58, .05), transparent 65%);
    pointer-events: none;
    mix-blend-mode: screen;
}

::selection { color: #180c02; background: var(--ember); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: var(--void); background: white; border-radius: 8px; }

h1, h2, h3, p { text-wrap: balance; }
h1 { max-width: 640px; margin: 0; font-size: clamp(54px, 5.5vw, 84px); line-height: .96; letter-spacing: -.065em; font-weight: 800; }
h2 { margin: 0; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
h3 { margin: 0; letter-spacing: -.03em; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; }
h1 em, h2 em {
    background: linear-gradient(100deg, #ffc264 0%, #ff9427 46%, #ff6a4d 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 6s ease-in-out infinite alternate;
}

.eyebrow { margin: 0 0 18px; color: var(--ember); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 6px rgba(249, 115, 22, .1); animation: live-pulse 2.2s ease-out infinite; }

/* ---------------------------------------------------------------- header */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(8, 9, 14, .78); border-color: var(--line); backdrop-filter: blur(22px) saturate(150%); }
.scroll-progress { position: absolute; inset: auto 0 -1px; height: 2px; background: linear-gradient(90deg, var(--crimson), var(--flame) 45%, var(--ember)); box-shadow: 0 0 14px rgba(249, 115, 22, .55); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 12px; box-shadow: 0 8px 30px rgba(249, 115, 22, .2); transition: transform .45s var(--ease-out), box-shadow .45s ease; }
.brand:hover img { transform: rotate(-8deg) scale(1.07); box-shadow: 0 10px 32px rgba(249, 115, 22, .4); }
.brand-text { display: grid; font-size: 18px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; white-space: nowrap; }
.brand-text strong { color: var(--ember); font-weight: 800; }
.brand-text small { color: var(--faint); font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; color: #c5c3cc; }
.site-nav > a:not(.button) { position: relative; padding-block: 8px; transition: color .2s ease; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; inset: auto 0 2px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.site-nav > a:not(.button):hover, .site-nav > a:not(.button).active { color: white; }
.site-nav > a:not(.button):hover::after, .site-nav > a:not(.button).active::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; }

/* --------------------------------------------------------------- buttons */

.button { position: relative; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 13px; font-size: 14px; font-weight: 800; letter-spacing: -.01em; overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s ease, background .2s ease; }
.button::after { content: ""; position: absolute; width: 45px; height: 160%; left: -80px; top: -30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .65s var(--ease-out); }
.button:hover { transform: translateY(-3px) scale(1.015); }
.button:hover::after { left: calc(100% + 30px); }
.button-primary { color: #1a0e02; background: linear-gradient(135deg, #ffbc52, #f97316 62%, #ef6108); box-shadow: 0 14px 42px rgba(249, 115, 22, .3); }
.button-primary:hover { box-shadow: 0 20px 52px rgba(249, 115, 22, .45); }
.button-download-icon { font-size: 20px; font-weight: 500; line-height: 1; }
.button-lg { min-height: 56px; padding: 0 26px; border-radius: 15px; font-size: 15px; }
.button-small { min-height: 42px; padding: 0 18px; border-radius: 11px; font-size: 12px; }
.button-ghost { color: white; background: rgba(255, 255, 255, .07); border-color: var(--line-strong); }

.text-link { font-size: 13px; font-weight: 700; color: #d7d4dc; }
.text-link span { display: inline-block; margin-left: 5px; color: var(--ember); transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, 3px); }

/* ------------------------------------------------------------------ hero */

.hero { position: relative; min-height: 880px; display: flex; align-items: center; padding: 150px 0 84px; isolation: isolate; overflow: hidden; }

/* Slowly drifting wall of real poster art from the app catalog. */
.poster-wall {
    position: absolute;
    z-index: -3;
    inset: -8% -2%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    opacity: .46;
}
.wall-col { overflow: hidden; }
.wall-track { display: grid; gap: 16px; animation: wall-scroll var(--speed, 50s) linear infinite; }
.wall-col-down .wall-track { animation-direction: reverse; }
.wall-track img { width: 100%; height: auto; aspect-ratio: 284 / 390; object-fit: cover; border-radius: 14px; }

/* Darkens the wall so the headline stays readable and the devices pop. */
.hero-veil {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        radial-gradient(105% 85% at 20% 50%, rgba(8, 9, 14, .97) 24%, rgba(8, 9, 14, .78) 46%, transparent 78%),
        linear-gradient(180deg, var(--void) 0%, rgba(8, 9, 14, .42) 24%, rgba(8, 9, 14, .66) 66%, var(--void) 100%);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 999px; filter: blur(90px); pointer-events: none; }
.hero-glow-one { width: 480px; height: 420px; top: 180px; right: -140px; background: rgba(249, 115, 22, .16); animation: aurora-drift 11s ease-in-out infinite alternate; }
.hero-glow-two { width: 340px; height: 340px; left: -160px; top: 240px; background: rgba(167, 139, 250, .14); animation: aurora-drift 9s ease-in-out -4s infinite alternate-reverse; }

.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; }
.hero-copy { position: relative; z-index: 5; padding-top: 4px; }
.hero-lede { max-width: 500px; margin: 26px 0 0; color: #b6b3be; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }

.platform-line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 34px; color: var(--faint); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.platform-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; color: #a6a5ad; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 99px; letter-spacing: 0; text-transform: none; backdrop-filter: blur(8px); }
.platform-chip img { width: 13px; height: 13px; object-fit: contain; }
.platform-chip img[src$="apple.svg"] { filter: invert(1); }
.platform-chip img[src$="android.svg"] { filter: invert(74%) sepia(64%) saturate(534%) hue-rotate(93deg) brightness(96%) contrast(91%); }
.platform-chip img[src$="windows.svg"] { filter: invert(55%) sepia(97%) saturate(4020%) hue-rotate(171deg) brightness(93%) contrast(103%); }

/* -------------------------------------------------------- device mockups */

.hero-stage { position: relative; min-width: 0; height: 590px; perspective: 1400px; }

.desktop-frame {
    position: absolute;
    z-index: 2;
    width: 700px;
    max-width: 100%;
    right: -80px;
    top: 55px;
    padding-top: 26px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: #1b1d26;
    box-shadow: -30px 55px 110px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 100px rgba(249, 115, 22, .1);
    overflow: hidden;
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) rotateY(-8deg) rotateX(2deg);
    transition: transform .18s ease-out;
}
.frame-bar { position: absolute; inset: 0 0 auto; height: 26px; display: flex; align-items: center; gap: 6px; padding-left: 12px; background: #1b1d26; }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.frame-bar i:first-child { background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; }
.frame-bar i:nth-child(3) { background: #28c840; }
.desktop-frame > img { width: 100%; height: auto; aspect-ratio: 1600 / 975; object-fit: cover; object-position: top; }
.desktop-frame::after { content: ""; position: absolute; inset: -80% -30%; background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .12) 50%, transparent 60%); transform: translateX(-65%) rotate(8deg); animation: screen-sheen 9s ease-in-out infinite; pointer-events: none; }

.phone-frame {
    position: absolute;
    z-index: 5;
    width: 200px;
    height: 434px;
    left: -14px;
    bottom: 0;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 32px;
    background: #0a0c12;
    box-shadow: -16px 40px 80px rgba(0, 0, 0, .72), 0 0 55px rgba(249, 115, 22, .1);
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) rotate(-3deg);
    transition: transform .16s ease-out;
}
.phone-frame > img { width: 100%; height: 100%; border-radius: 26px; object-fit: cover; object-position: top; }
.phone-notch { position: absolute; z-index: 2; left: 50%; top: 12px; width: 42px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .22); transform: translateX(-50%); }

.float-card { position: absolute; z-index: 9; display: flex; align-items: center; gap: 11px; padding: 11px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: linear-gradient(135deg, rgba(28, 31, 44, .9), rgba(12, 14, 23, .82)); box-shadow: 0 18px 45px rgba(0, 0, 0, .5); backdrop-filter: blur(18px) saturate(140%); transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0); transition: transform .14s ease-out; }
.float-art { flex: 0 0 auto; width: 38px; height: 52px; padding: 2px; border-radius: 9px; background: linear-gradient(145deg, rgba(255, 176, 58, .35), rgba(167, 139, 250, .25)); }
.float-art img { width: 100%; height: 100%; border-radius: 7px; object-fit: cover; }
.float-copy { min-width: 138px; display: grid; }
.float-copy small { color: #8b8d99; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.float-copy strong { margin-top: 2px; color: #f8f3ec; font-size: 11px; letter-spacing: -.015em; }
.float-copy small:last-child { margin-top: 3px; }
.watch-progress { height: 3px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.watch-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--flame), var(--ember)); box-shadow: 0 0 8px rgba(255, 176, 58, .55); }
.play-pulse { display: grid; width: 26px; height: 26px; place-items: center; color: #241303; background: var(--ember); border-radius: 50%; font-size: 8px; box-shadow: 0 0 0 0 rgba(255, 176, 58, .4); animation: play-pulse 2.4s ease-out infinite; }
.sync-icon { display: grid; width: 30px; height: 30px; place-items: center; color: #8ff0b0; border: 1px solid rgba(143, 240, 176, .22); border-radius: 50%; background: rgba(53, 151, 87, .16); font-size: 12px; }
.now-playing { right: -18px; bottom: 22px; animation: float-y 5.2s ease-in-out infinite; }
.sync-card { right: 34px; top: 0; padding-right: 15px; animation: float-y 6s ease-in-out -3s infinite; }

/* Left-aligned to the shell so it never collides with the phone mockup. */
.scroll-cue { position: absolute; z-index: 4; left: calc(50% - var(--shell) / 2); bottom: 24px; display: grid; justify-items: start; gap: 9px; color: #7a7d89; font-size: 7px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue i { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.scroll-cue i::after { content: ""; position: absolute; inset: -100% 0 auto; height: 100%; background: linear-gradient(transparent, var(--ember)); animation: scroll-line 2s ease-in-out infinite; }

/* --------------------------------------------------------- signal strip */

.signal-strip { position: relative; z-index: 2; border-block: 1px solid var(--line); background: linear-gradient(90deg, #0b0d14, #12141f, #0b0d14); background-size: 200% 100%; animation: signal-glow 12s ease-in-out infinite; }
.signal-grid { min-height: 112px; display: grid; grid-template-columns: 1fr 1fr 1fr 1.15fr; align-items: center; }
.signal-grid > div { display: grid; gap: 5px; padding: 12px 26px; border-right: 1px solid var(--line); }
.signal-grid > div:first-child { padding-left: 0; }
.signal-grid > div:last-child { border-right: 0; padding-right: 0; }
.signal-grid strong { font-size: 14px; letter-spacing: -.02em; }
.signal-grid span { color: #92909c; font-size: 11px; }
.signal-quote { text-align: right; }
.signal-quote span { color: var(--ember); font-family: Georgia, serif; font-size: 20px; }
.signal-quote small { color: #92909c; font-size: 10px; }

/* -------------------------------------------------------------- sections */

.section { position: relative; padding: 132px 0; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-areas: "eyebrow eyebrow" "title copy"; align-items: end; gap: 0 80px; margin-bottom: 60px; }
.section-heading .eyebrow { grid-area: eyebrow; }
.section-heading h2 { grid-area: title; }
.section-heading > p:last-child { grid-area: copy; margin: 0 0 7px; color: #a09eaa; font-size: 15px; line-height: 1.7; }

/* ------------------------------------------------------------ experience */

.experience { background: linear-gradient(180deg, var(--void), var(--void-2) 55%, var(--void)); }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.feature-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    min-height: 460px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--surface-2), var(--surface));
    overflow: hidden;
    transform-style: preserve-3d;
    transition: opacity .8s ease, border-color .35s ease, box-shadow .35s ease, transform .18s ease-out;
}
.feature-card::before { content: ""; position: absolute; z-index: 1; inset: 0; opacity: 0; background: radial-gradient(430px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(249, 115, 22, .13), transparent 55%); transition: opacity .35s ease; pointer-events: none; }
.feature-card::after { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .06) 48%, transparent 76%); transform: translateX(-100%); transition: transform .9s var(--ease-out); pointer-events: none; }
.feature-card:hover { border-color: rgba(249, 115, 22, .28); box-shadow: 0 34px 90px rgba(0, 0, 0, .4); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { transform: translateX(100%); }

.feature-card-large { grid-column: 1 / -1; min-height: 520px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 34px; background: radial-gradient(circle at 82% 50%, rgba(96, 66, 158, .24), transparent 44%), var(--surface-2); }
.card-copy { position: relative; z-index: 3; max-width: 440px; }
.card-number { display: inline-grid; width: 33px; height: 33px; place-items: center; margin-bottom: 56px; color: var(--ember); border: 1px solid rgba(249, 115, 22, .38); border-radius: 50%; font-size: 9px; font-weight: 800; }
.feature-card h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.04; }
.feature-card p { max-width: 360px; margin: 17px 0 0; color: #a2a1ac; font-size: 13px; line-height: 1.65; }
.card-points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.card-points li { position: relative; padding-left: 20px; color: #b6b3be; font-size: 12px; font-weight: 600; }
.card-points li::before { content: "✦"; position: absolute; left: 0; color: var(--ember); font-size: 10px; }

.real-shot { position: relative; z-index: 2; margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 17px; background: var(--cream); box-shadow: 0 32px 70px rgba(0, 0, 0, .45); }
.real-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.desktop-product-shot { height: 360px; transform: rotate(1.4deg); }
.feature-card:hover .desktop-product-shot { transform: rotate(.3deg) scale(1.015); }

.feature-card-mobile, .feature-card-download { min-height: 510px; }
.feature-card-mobile .card-copy, .feature-card-download .card-copy { max-width: 268px; }
.stacked-screenshots { position: absolute; width: 330px; height: 310px; right: -12px; bottom: -70px; }
.stacked-screenshots img { position: absolute; width: 148px; height: 328px; object-fit: cover; object-position: top; border: 5px solid #0a0c12; border-radius: 26px; box-shadow: -16px 26px 55px rgba(0, 0, 0, .55); }
.stacked-screenshots img:first-child { left: 26px; bottom: -24px; transform: rotate(-7deg); }
.stacked-screenshots img:last-child { right: 16px; bottom: -3px; transform: rotate(6deg); }
.stacked-screenshots img, .desktop-product-shot, .download-product-shot { transition: transform .7s var(--ease-out), box-shadow .7s ease; }
.feature-card-mobile:hover .stacked-screenshots img:first-child { transform: rotate(-9deg) translate(-7px, -9px); }
.feature-card-mobile:hover .stacked-screenshots img:last-child { transform: rotate(8deg) translate(8px, -14px); }
.download-product-shot { position: absolute; width: 490px; height: 300px; right: -100px; bottom: -55px; transform: rotate(-2deg); }
.feature-card-download:hover .download-product-shot { transform: rotate(-.5deg) translate(-8px, -8px) scale(1.015); }
.feature-card-accent { background: radial-gradient(circle at 86% 82%, rgba(249, 115, 22, .22), transparent 46%), var(--surface-2); }

/* -------------------------------------------------------- catalog / rail */

.catalog { padding-bottom: 118px; background: var(--void); overflow: hidden; }
.catalog-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 0 70px; margin-bottom: 58px; }
.catalog-heading > p { margin: 0 0 7px; color: #a09eaa; font-size: 15px; line-height: 1.7; }

.poster-rail { position: relative; display: grid; gap: 18px; }
.poster-rail::before, .poster-rail::after { content: ""; position: absolute; z-index: 3; inset: 0 auto 0 0; width: clamp(60px, 12vw, 190px); background: linear-gradient(90deg, var(--void), transparent); pointer-events: none; }
.poster-rail::after { inset: 0 0 0 auto; background: linear-gradient(270deg, var(--void), transparent); }
.rail-row { overflow: hidden; }
.rail-track { width: max-content; display: flex; gap: 18px; animation: rail-scroll 58s linear infinite; }
.rail-row-right .rail-track { animation-direction: reverse; animation-duration: 68s; }
.rail-track img { width: 152px; height: 209px; border-radius: 14px; object-fit: cover; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); transition: transform .45s var(--ease-out), box-shadow .45s ease; }
.rail-row:hover .rail-track { animation-play-state: paused; }
.rail-track img:hover { transform: translateY(-8px) scale(1.05); box-shadow: 0 24px 55px rgba(0, 0, 0, .6), 0 0 0 2px rgba(249, 115, 22, .5); }

/* ---------------------------------------------------------- feature list */

.features { padding-top: 120px; background: var(--void-2); }
.feature-intro { max-width: 820px; margin-bottom: 72px; }
.feature-intro h2 { font-size: clamp(43px, 5.8vw, 74px); }
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.feature-list article { position: relative; padding: 34px 30px 10px 0; border-right: 1px solid var(--line); transition: transform .45s var(--ease-out); }
.feature-list article::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(180deg, rgba(249, 115, 22, .07), transparent 72%); transition: opacity .35s ease; }
.feature-list article:hover { transform: translateY(-8px); }
.feature-list article:hover::after { opacity: 1; }
.feature-list article:not(:first-child) { padding-left: 30px; }
.feature-list article:last-child { border-right: 0; }
.line-icon { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 54px; color: var(--ember); border: 1px solid rgba(249, 115, 22, .32); border-radius: 11px; font-size: 19px; transition: color .35s ease, background .35s ease, transform .45s var(--ease-out), box-shadow .35s ease; }
.feature-list article:hover .line-icon { color: #1f1103; background: var(--ember); transform: rotate(-7deg) scale(1.08); box-shadow: 0 12px 30px rgba(249, 115, 22, .28); }
.feature-list h3 { min-height: 46px; font-size: 17px; line-height: 1.25; }
.feature-list p { margin: 14px 0 0; color: #918f9b; font-size: 12px; line-height: 1.65; }

/* ---------------------------------------------------------------- ribbon */

.fandom-ribbon { position: relative; z-index: 2; width: calc(100% + 44px); margin-left: -22px; border-block: 1px solid rgba(255, 176, 58, .4); color: #1e1103; background: linear-gradient(90deg, #f26c0a, #ffb03a 46%, #f9821c); overflow: hidden; transform: rotate(-1.2deg); box-shadow: 0 16px 55px rgba(0, 0, 0, .35); }
.fandom-track { width: max-content; display: flex; padding-block: 13px; animation: ribbon-scroll 24s linear infinite; }
.fandom-track span { padding-right: 36px; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.fandom-track i { padding-inline: 13px; font-style: normal; }

/* ------------------------------------------------------------- downloads */

/* Deliberately light — this is the app's own cream page colour. */
.downloads { background: radial-gradient(circle at 90% 8%, rgba(249, 115, 22, .16), transparent 34%), var(--cream); color: #14151a; overflow: hidden; }
.download-halo { position: absolute; width: 560px; height: 560px; right: -120px; top: -200px; border: 1px solid rgba(20, 21, 26, .07); border-radius: 50%; box-shadow: 0 0 0 100px rgba(20, 21, 26, .018), 0 0 0 200px rgba(20, 21, 26, .018); animation: halo-breathe 8s ease-in-out infinite; }
.downloads .eyebrow { color: #c25a04; }
.download-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; margin-bottom: 58px; }
.download-heading > p { max-width: 400px; margin: 0 0 8px; color: #66636a; font-size: 15px; line-height: 1.7; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.download-card { position: relative; min-height: 134px; display: flex; align-items: center; gap: 19px; padding: 24px; border: 1px solid rgba(20, 21, 26, .1); border-radius: 20px; background: var(--lavender); overflow: hidden; transition: transform .35s var(--ease-out), background .25s ease, box-shadow .35s ease, border-color .3s ease; }
.download-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -90px; bottom: -110px; border-radius: 50%; background: rgba(249, 115, 22, .12); transition: transform .5s var(--ease-out); }
.download-card:hover, .download-card.recommended { background: white; box-shadow: 0 20px 48px rgba(42, 36, 28, .1); }
.download-card:hover { border-color: rgba(194, 90, 4, .3); transform: translateY(-6px); }
.download-card:hover::after { transform: scale(1.75); }
.download-card.recommended { border-color: rgba(198, 104, 0, .45); box-shadow: 0 0 0 3px rgba(249, 115, 22, .14), 0 18px 45px rgba(42, 36, 28, .09); }
.download-card.recommended::before { content: "Best for this device"; position: absolute; z-index: 3; left: 20px; top: 12px; padding: 5px 9px; color: #fff; background: var(--flame); border-radius: 99px; font-size: 7px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }

.download-icon { position: relative; z-index: 2; flex: 0 0 auto; display: grid; width: 56px; height: 56px; place-items: center; color: white; background: #17191f; border-radius: 17px; transition: transform .45s var(--ease-out); }
.download-card:hover .download-icon { transform: rotate(-6deg) scale(1.07); }
.download-icon img { width: 25px; height: 25px; object-fit: contain; }
.download-icon img[src$="apple.svg"] { filter: invert(1); }
.download-icon img[src$="android.svg"] { filter: invert(74%) sepia(64%) saturate(534%) hue-rotate(93deg) brightness(96%) contrast(91%); }
.download-icon img[src$="windows.svg"] { filter: invert(55%) sepia(97%) saturate(4020%) hue-rotate(171deg) brightness(93%) contrast(103%); }
.android-icon { display: flex; align-items: center; justify-content: center; gap: 5px; color: #adf5c0; background: #173a24; }
.android-icon img:first-child { width: 21px; height: 21px; }
.android-icon .play-store-mark { width: 16px; height: 19px; filter: none; }
.windows-icon { color: #c4e4ff; background: #173047; }

.download-copy { position: relative; z-index: 2; display: grid; flex: 1; }
.download-copy small { color: #a35f08; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.download-copy strong { margin-top: 3px; font-size: 21px; letter-spacing: -.03em; }
.download-copy em { margin-top: 3px; color: #7b787e; font-size: 10px; font-style: normal; }
.download-arrow { position: relative; z-index: 2; color: #7b787e; font-size: 20px; transition: transform .35s var(--ease-out), color .3s ease; }
.download-card:hover .download-arrow { color: #c25a04; transform: translate(4px, -4px); }
.download-help { margin: 28px 0 0; color: #767279; font-size: 11px; text-align: center; }
.download-help span { color: #222329; font-weight: 800; }

/* ---------------------------------------------------------------- footer */

.site-footer { padding: 70px 0 30px; border-top: 1px solid var(--line); background: #07080d; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 55px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { border-radius: 15px; }
.footer-brand div { display: grid; }
.footer-brand strong { font-size: 20px; }
.footer-brand span { color: var(--faint); font-size: 10px; }
.footer-cta { min-width: 210px; display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .25); font-size: 13px; font-weight: 800; transition: border-color .3s ease; }
.footer-cta:hover { border-color: var(--ember); }
.footer-cta span { color: var(--ember); }
.footer-bottom { min-height: 65px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 30px; padding-top: 27px; border-top: 1px solid var(--line); color: #6d6f79; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom nav a:hover { color: var(--ember); }
.footer-bottom > span:last-child { text-align: right; }
.footer-bottom i { color: var(--ember); font-style: normal; }

/* -------------------------------------------------------------- reveals */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out) var(--reveal-delay, 0s), transform .8s var(--ease-out) var(--reveal-delay, 0s); }
.reveal.visible { opacity: 1; transform: none; }
.feature-card.reveal { transition: opacity .8s var(--ease-out) var(--reveal-delay, 0s), transform .18s ease-out, border-color .35s ease, box-shadow .35s ease; }
.feature-card.reveal { transform: translateY(28px) perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.feature-card.reveal.visible { transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }

/* ----------------------------------------------------------- animations */

@keyframes wall-scroll { to { transform: translateY(-50%); } }
@keyframes rail-scroll { to { transform: translateX(-50%); } }
@keyframes aurora-drift { to { transform: translate3d(55px, -30px, 0) scale(1.15); } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, .4); } 75%, 100% { box-shadow: 0 0 0 9px rgba(249, 115, 22, 0); } }
@keyframes gradient-shift { to { background-position: 100% 50%; } }
@keyframes screen-sheen { 0%, 24% { transform: translateX(-65%) rotate(8deg); } 50%, 100% { transform: translateX(65%) rotate(8deg); } }
@keyframes play-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 176, 58, .4); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 176, 58, 0); } }
@keyframes float-y { 0%, 100% { margin-top: 0; } 50% { margin-top: -9px; } }
@keyframes scroll-line { 0% { transform: translateY(0); } 100% { transform: translateY(200%); } }
@keyframes signal-glow { 50% { background-position: 100% 50%; } }
@keyframes ribbon-scroll { to { transform: translateX(-50%); } }
@keyframes halo-breathe { 50% { transform: scale(1.08); opacity: .65; } }

/* --------------------------------------------------------------- layout */

@media (max-width: 1050px) {
    .hero { min-height: 940px; padding-top: 138px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 680px; }
    .hero-stage { width: min(760px, 96%); margin: -10px auto 0; }
    .desktop-frame { right: -20px; }
    .phone-frame { left: -10px; }
    .now-playing { right: 8px; }
    .sync-card { right: 68px; }
    .poster-wall { grid-template-columns: repeat(5, 1fr); }

    .signal-grid { grid-template-columns: repeat(2, 1fr); }
    .signal-grid > div:nth-child(2) { border-right: 0; }
    .signal-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .signal-quote { text-align: left; }

    .section-heading, .catalog-heading, .download-heading { gap: 50px; }
    .feature-list { grid-template-columns: repeat(2, 1fr); }
    .feature-list article:nth-child(2) { border-right: 0; }
    .feature-list article:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
    :root { --shell: min(620px, calc(100vw - 32px)); --radius: 20px; }

    .nav-wrap { height: 68px; }
    .brand img { width: 38px; height: 38px; }
    .brand-text small { display: none; }
    .menu-button { position: relative; z-index: 102; flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; padding: 0; color: white; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); border-radius: 11px; }
    .menu-button span:not(.sr-only) { width: 17px; height: 1px; background: currentColor; transition: transform .2s ease; }
    .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
    .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
    .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 80px 28px; background: rgba(8, 9, 14, .97); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
    .site-nav.open { opacity: 1; visibility: visible; transform: none; }
    .site-nav > a:not(.button) { font-size: 29px; }
    .site-nav .button { width: 100%; margin-top: 16px; min-height: 54px; font-size: 15px; }
    body.menu-open { overflow: hidden; }

    .hero { min-height: auto; padding: 120px 0 72px; }
    .hero-grid { min-width: 0; gap: 40px; }
    .hero-copy { min-width: 0; }
    .poster-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; opacity: .34; }
    .wall-track { gap: 10px; }
    .hero-veil { background: radial-gradient(120% 62% at 50% 30%, rgba(8, 9, 14, .95) 30%, rgba(8, 9, 14, .8) 55%, transparent 88%), linear-gradient(180deg, var(--void) 0%, rgba(8, 9, 14, .68) 30%, rgba(8, 9, 14, .82) 70%, var(--void) 100%); }
    h1 { font-size: clamp(50px, 14vw, 68px); }
    .hero-lede { max-width: 100%; font-size: 15px; text-wrap: pretty; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
    .button-lg { width: 100%; }
    .text-link { text-align: center; }
    .platform-line > span:first-child { width: 100%; }

    .hero-stage { width: 100%; height: 400px; }
    .desktop-frame { width: 520px; right: -160px; top: 30px; transform: rotateY(-8deg) rotateX(2deg) scale(.84); transform-origin: top left; }
    .phone-frame { left: -6px; bottom: -6px; transform: rotate(-3deg) scale(.84); transform-origin: bottom left; }
    .now-playing { display: none; }
    .sync-card { right: -4px; top: 0; transform: scale(.9); transform-origin: top right; }
    .scroll-cue { display: none; }

    .signal-grid { grid-template-columns: 1fr 1fr; padding-block: 10px; }
    .signal-grid > div { min-height: 72px; padding: 12px !important; }
    .signal-grid > div:nth-child(odd) { padding-left: 0 !important; }
    .signal-grid > div:nth-child(even) { border-right: 0; }
    .signal-quote span { font-size: 16px; }

    .section { padding: 88px 0; }
    .section-heading { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "copy"; gap: 0; margin-bottom: 42px; }
    .section-heading > p:last-child { margin-top: 25px; }
    h2 { font-size: clamp(42px, 12.5vw, 60px); }

    .experience-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 440px; padding: 28px; }
    .feature-card-large { min-height: 680px; grid-template-columns: 1fr; align-items: start; gap: 0; }
    .card-number { margin-bottom: 32px; }
    .card-points { margin-top: 18px; }
    .desktop-product-shot { width: 118%; height: 250px; margin: 34px 0 0 -9%; transform: rotate(1deg); }
    .feature-card-mobile .card-copy, .feature-card-download .card-copy { max-width: 100%; }
    .feature-card-mobile { min-height: 570px; }
    .stacked-screenshots { width: 320px; height: 330px; right: -30px; bottom: -70px; }
    .stacked-screenshots img { width: 144px; height: 320px; }
    .feature-card-download { min-height: 520px; }
    .download-product-shot { width: 440px; height: 270px; right: -105px; bottom: -35px; }

    .catalog { padding-bottom: 84px; }
    .catalog-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
    .poster-rail { gap: 12px; }
    .rail-track { gap: 12px; }
    .rail-track img { width: 108px; height: 148px; border-radius: 11px; }

    .features { padding-top: 80px; }
    .feature-intro { margin-bottom: 48px; }
    .feature-list { grid-template-columns: 1fr; }
    .feature-list article, .feature-list article:not(:first-child) { min-height: auto; padding: 28px 0 32px; border-right: 0; border-top: 1px solid var(--line); }
    .feature-list article:first-child { border-top: 0; }
    .line-icon { margin-bottom: 28px; }
    .feature-list h3 { min-height: auto; }
    .feature-list p { max-width: 450px; font-size: 12px; }

    .fandom-track { padding-block: 11px; animation-duration: 19s; }
    .fandom-track span { font-size: 9px; }
    .download-heading { grid-template-columns: 1fr; gap: 25px; }
    .download-grid { grid-template-columns: 1fr; }
    .download-card { min-height: 114px; padding: 18px; }
    .download-card.recommended { padding-top: 30px; }
    .download-card.recommended::before { left: 18px; top: 10px; }
    .download-help { line-height: 1.6; }

    .footer-top { align-items: flex-start; flex-direction: column; gap: 45px; }
    .footer-cta { width: 100%; }
    .footer-bottom { grid-template-columns: 1fr; align-items: start; gap: 17px; }
    .footer-bottom nav { flex-wrap: wrap; gap: 15px 20px; }
    .footer-bottom > span:last-child { text-align: left; }
}

@media (max-width: 390px) {
    .platform-chip { padding-inline: 8px; }
    .desktop-frame { right: -200px; }
    .phone-frame { left: -12px; }
    .sync-card { display: none; }
    .signal-grid > div { padding-inline: 10px !important; }
    .signal-grid strong { font-size: 13px; }
    .signal-grid span, .signal-quote small { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .wall-track, .rail-track, .fandom-track { animation: none !important; }
    .feature-card.reveal, .feature-card.reveal.visible { transform: none; }
    body::before { display: none; }
}
