
:root {
    color-scheme: dark;
    --bg: #09090c;
    --surface: #121115;
    --text: #fafafa;
    --muted: #a5a2aa;
    --line: #3b2a29;
    --accent: #ff6b17;
    --card: #171317
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden
}

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

button {
    cursor: pointer
}

.shell {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto
}

body:before {
    content: "";
    position: absolute;
    top: 0;
    right: -20%;
    width: 80%;
    height: 800px;
    pointer-events: none;
    background: radial-gradient(ellipse, #ff500020, transparent 65%);
    z-index: -1
}

.header {
    height: 94px;
    display: flex;
    align-items: center;
    gap: 48px
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px
}

.brand img {
    width: 51px;
    height: 51px;
    object-fit: contain;
    border-radius: 15px
}

.brand b, h1 span {
    color: var(--accent)
}

.header nav {
    display: flex;
    gap: 34px;
    margin-left: auto
}

.header nav a {
    font-size: 14px;
    color: var(--muted)
}

.header nav a:hover {
    color: var(--accent)
}

.theme {
    width: 45px;
    height: 45px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--accent);
    border-radius: 16px;
    display: grid;
    place-items: center
}

.theme svg {
    width: 23px;
    height: 23px
}

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns:47% 53%;
    align-items: center;
    position: relative
}

.hero-copy {
    z-index: 2;
    padding-bottom: 35px
}

.eyebrow {
    color: var(--accent);
    letter-spacing: .35em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px
}

.hero h1 {
    font-size: clamp(72px, 9vw, 132px);
    letter-spacing: -.09em;
    line-height: 1;
    margin: 0 0 24px;
    font-weight: 850
}

.hero-copy > p {
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.5;
    max-width: 510px;
    color: var(--muted);
    margin: 0 0 32px
}

.store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 225px;
    min-height: 75px;
    padding: 10px 18px;
    border: 1px solid #ff7300;
    border-radius: 17px;
    background: #090909;
    box-shadow: 0 0 30px #ff50002c;
    transition: transform .2s, box-shadow .2s
}

.store:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px #ff500060
}

.store img {
    display: block;
    width: 185px;
    max-height: 53px;
    object-fit: contain
}

.hero-art {
    height: 490px;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate
}

.orb {
    position: absolute;
    width: min(90%, 490px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 33% 26%, #ffba57, #ff5a10 19%, #961800 40%, #240c0d 69%, transparent 72%);
    filter: drop-shadow(0 0 45px #ff3b0055);
    opacity: .92
}

.orb-grid {
    position: absolute;
    width: 460px;
    max-width: 85%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-linear-gradient(0deg, transparent 0 12px, #ffd3aa25 13px 14px), repeating-linear-gradient(90deg, transparent 0 12px, #ffd3aa20 13px 14px);
    mask-image: radial-gradient(circle, #000, transparent 69%);
    transform: rotate(-17deg)
}

.ring {
    position: absolute;
    border: 2px solid #ff832e;
    box-shadow: 0 0 18px #ff6a26, inset 0 0 12px #ff6a26;
    border-radius: 50%;
    width: 98%;
    height: 40%;
    transform: rotate(-24deg)
}

.ring-two {
    width: 80%;
    height: 33%;
    transform: rotate(28deg);
    opacity: .6
}

.logo-tile {
    position: relative;
    width: 260px;
    aspect-ratio: 1;
    border-radius: 48px;
    transform: rotate(-11deg);
    background: linear-gradient(135deg, #242027, #0b0a0e);
    border: 1px solid #ff9c57;
    box-shadow: 16px 25px 60px #000c, 0 0 45px #ff5b0080;
    display: grid;
    place-items: center;
    overflow: hidden
}

.logo-tile img {
    width: 83%;
    height: 83%;
    object-fit: contain;
    filter: drop-shadow(0 0 22px #ff65004d)
}

.spark {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffca77;
    box-shadow: 0 0 22px 8px #ff5b00
}

.spark-one {
    top: 17%;
    right: 18%
}

.spark-two {
    bottom: 16%;
    left: 16%
}

.features {
    display: grid;
    grid-template-columns:1fr 1.65fr;
    gap: 36px;
    padding: 35px;
    background: linear-gradient(125deg, var(--surface), var(--card));
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: 0 25px 70px #0003
}

.feature-intro h2, .screens h2 {
    font-size: 34px;
    margin: 4px 0 20px;
    letter-spacing: -.04em
}

.feature-intro p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
    white-space: normal
}

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

.feature {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px 17px;
    background: var(--card);
    min-width: 0
}

.feature-icon {
    width: 48px;
    height: 48px;
    border: 1px solid #ff6b1770;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #ff6b1718;
    color: var(--accent)
}

.feature-icon svg {
    width: 26px;
    height: 26px
}

.feature p {
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0 0;
    overflow-wrap: anywhere
}

.screens {
    margin-top: 36px;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 28px 20px 25px;
    background: linear-gradient(130deg, var(--surface), var(--card))
}

.screens-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px 10px
}

.screens h2 {
    margin: 0
}

.arrows {
    display: flex;
    gap: 10px
}

.arrows button {
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 28px
}

.screen-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    padding-bottom: 10px
}

.screen-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    border: 1px solid #ff711c6b;
    border-radius: 22px;
    overflow: hidden;
    background: #130e10;
    scroll-snap-align: start
}

.screen-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

.cta {
    margin-top: 32px;
    margin-bottom: 42px;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(100deg, var(--surface), var(--card))
}

.cta-brand {
    display: flex;
    align-items: center;
    gap: 20px
}

.cta-brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 20px
}

.cta-brand h2 {
    margin: 0 0 7px;
    font-size: 25px
}

.cta-brand p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    max-width: 430px;
    margin: 0
}

.footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 38px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    color: var(--muted)
}

.footer div {
    display: flex;
    gap: 25px
}


/* Navigation: animated flame */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip
}

.header nav {
    display: contents;
    align-items: center;
    margin-left: auto
}

.header-fire {
    display: grid;
    place-items: center;
    width: 45px;
    height: 56px;
    filter: drop-shadow(0 0 10px #ff6811aa)
}

.flame-mark {
    width: 31px;
    height: 41px;
    overflow: visible;
    transform-origin: 50% 95%;
    animation: fire-sway 1.65s ease-in-out infinite alternate
}

.flame-main {
    transform-origin: 50% 90%;
    animation: fire-pulse 1.15s ease-in-out infinite alternate
}

.flame-core {
    transform-origin: 50% 90%;
    animation: fire-core .95s ease-in-out infinite alternate
}

@keyframes fire-sway {
    from {
        transform: rotate(-6deg) scale(.95, 1)
    }
    to {
        transform: rotate(5deg) scale(1.04, 1.08)
    }
}

@keyframes fire-pulse {
    from {
        transform: scaleX(.93)
    }
    to {
        transform: scaleX(1.04)
    }
}

@keyframes fire-core {
    from {
        opacity: .45;
        transform: scale(.88)
    }
    to {
        opacity: .88;
        transform: scale(1.08)
    }
}

@media (prefers-reduced-motion: reduce) {
    .flame-mark, .flame-main, .flame-core {
        animation: none
    }
}

/* Google Play badge uses inline SVG, not an image overlay */
.store-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 3
}

.store.store-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    width: 210px;
    max-width: 100%;
    height: 65px;
    min-height: 65px;
    min-width: 0;
    padding: 9px 12px;
    margin: 0;
    background: #090909;
    color: #fff;
    white-space: nowrap;
    border: 1px solid #ff7300;
    border-radius: 16px
}

.store.store-google .store-logo {
    position: static;
    display: block;
    width: 32px;
    height: 36px;
    flex: 0 0 32px
}

.store.store-google .store-words {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    line-height: 1.1
}

.store.store-google small {
    font-size: 10px
}

.store.store-google strong {
    font-size: 19px;
    letter-spacing: -.035em
}

@media (min-width: 701px) and (max-width: 950px) {
    .hero {
        min-height: 440px;
        grid-template-columns:1fr 1fr
    }

    .hero h1 {
        font-size: clamp(62px, 8vw, 95px)
    }

    .hero-art {
        height: 380px
    }

    .logo-tile {
        width: 195px
    }

    .features {
        grid-template-columns:1fr;
        gap: 18px
    }

    .screen-card {
        flex-basis: calc((100% - 32px) / 3)
    }
}

@media (max-width: 700px) {
    .shell {
        width: calc(100% - 32px);
        margin-inline: auto
    }

    .header {
        height: 66px;
        gap: 12px
    }

    .brand {
        font-size: 22px
    }

    .brand img {
        width: 42px;
        height: 42px
    }

    .header-fire {
        width: 40px;
        height: 48px
    }

    .flame-mark {
        width: 27px;
        height: 37px
    }

    .hero.shell {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        height: auto;
        padding: 12px 0 0
    }

    .hero-copy {
        width: 100%;
        padding: 0;
        margin: 0;
        position: relative;
        z-index: 2
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: .24em;
        margin: 0 0 10px
    }

    .hero h1 {
        font-size: clamp(50px, 13vw, 80px);
        line-height: 1.05;
        margin: 0 0 16px;
        letter-spacing: -.075em
    }

    .hero-copy > p {
        font-size: clamp(15px, 4vw, 19px);
        line-height: 1.5;
        margin: 0 0 18px;
        max-width: 100%
    }

    .hero .store-row {
        margin: 0;
        justify-content: flex-start
    }

    .hero .store.store-google {
        width: 210px;
        height: 64px;
        min-height: 64px
    }

    /* The graphic is a single intrinsic-height layout item. No margins, no empty canvas. */
    .hero .hero-art {
        display: block;
        position: relative;
        isolation: isolate;
        pointer-events: none;
        overflow: visible;
        flex: none;
        width: min(100%, 340px);
        height: 230px;
        min-height: 0;
        margin: 0 auto;
        padding: 0;
        transform: none
    }

    .hero-art .orb {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 205px;
        max-width: none;
        aspect-ratio: 1;
        transform: translate(-50%, -50%)
    }

    .hero-art .orb-grid {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200px;
        max-width: none;
        aspect-ratio: 1;
        transform: translate(-50%, -50%) rotate(-17deg)
    }

    .hero-art .ring {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 300px;
        height: 90px;
        transform: translate(-50%, -50%) rotate(-24deg)
    }

    .hero-art .ring-two {
        width: 245px;
        height: 80px;
        transform: translate(-50%, -50%) rotate(28deg)
    }

    .hero-art .logo-tile {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 135px;
        max-width: none;
        aspect-ratio: 1;
        border-radius: 26px;
        transform: translate(-50%, -50%) rotate(-11deg);
        box-shadow: 8px 12px 30px #000b, 0 0 30px #ff5b0066
    }

    .hero-art .spark-one {
        top: 17%;
        right: 14%
    }

    .hero-art .spark-two {
        bottom: 17%;
        left: 14%
    }

    /* Description starts immediately at the illustration box edge. */
    .features.shell {
        margin-top: 0;
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns:1fr;
        gap: 14px;
        padding: 22px 18px;
        border-radius: 24px
    }

    .feature-intro h2 {
        margin: 0 0 14px;
        font-size: 28px
    }

    .feature-intro p {
        line-height: 1.75
    }

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

    .feature {
        min-width: 0;
        padding: 15px
    }

    .feature p {
        font-size: 13px
    }

    .screens.shell {
        margin-top: 20px;
        padding: 20px 14px;
        border-radius: 24px
    }

    .screen-rail {
        min-width: 0;
        overflow-x: auto
    }

    .screen-card {
        flex: 0 0 min(70vw, 265px);
        max-width: min(70vw, 265px)
    }

    .cta.shell {
        margin-top: 20px;
        padding: 22px;
        flex-direction: column;
        align-items: flex-start
    }

    .cta-brand img {
        width: 65px;
        height: 65px
    }

    .footer {
        flex-direction: column
    }

    .footer div {
        gap: 17px;
        flex-wrap: wrap
    }
}

@media (max-width: 370px) {
    .hero .hero-art {
        height: 215px;
        width: min(100%, 300px)
    }

    .hero-art .orb {
        width: 185px
    }

    .hero-art .orb-grid {
        width: 180px
    }

    .hero-art .ring {
        width: 265px;
        height: 82px
    }

    .hero-art .ring-two {
        width: 215px;
        height: 74px
    }

    .hero-art .logo-tile {
        width: 122px
    }

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

/* Eliminate 20vw horizontal overflow caused by the old off-canvas body glow. */
body::before {
    right: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden
}
