:root {
    --bg: #0e1419;
    --bg-soft: #161f26;
    --panel: rgba(22, 31, 38, 0.7);
    --panel-strong: rgba(19, 27, 34, 0.9);
    --text: #f4efe6;
    --text-muted: #b8c2ca;
    --line: rgba(255, 255, 255, 0.09);
    --warm: #f3b074;
    --warm-strong: #ff8d52;
    --teal: #8dc4cb;
    --teal-strong: #5aa1ab;
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1180px;
    --sans: "Aptos", "Segoe UI", system-ui, sans-serif;
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--sans);
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 165, 89, 0.28), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(93, 158, 171, 0.18), transparent 20%),
        radial-gradient(circle at 50% 120%, rgba(255, 136, 84, 0.12), transparent 38%),
        linear-gradient(180deg, #131a20 0%, #0d1217 45%, #0b0f13 100%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at center, black 55%, transparent 88%);
    mask-image: radial-gradient(circle at center, black 55%, transparent 88%);
}

body::after {
    content: "";
    position: fixed;
    right: -8%;
    bottom: -18%;
    width: 42vw;
    height: 42vw;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 146, 88, 0.16), rgba(255, 146, 88, 0));
    filter: blur(18px);
}

.site-shell {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding: 22px 0 56px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 22px;
    position: sticky;
    top: 12px;
    z-index: 20;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(12, 17, 22, 0.88), rgba(12, 17, 22, 0.35));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 202, 158, 0.28), rgba(255, 202, 158, 0) 58%),
        linear-gradient(135deg, rgba(255, 168, 108, 0.92), rgba(255, 140, 84, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.24);
}

.brand-icon {
    width: 30px;
    height: 30px;
    image-rendering: pixelated;
    transform: translateY(1px);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18));
}

.brand-text {
    font-family: var(--serif);
    font-size: 1.2rem;
}

.topnav {
    display: inline-flex;
    gap: 18px;
    flex-wrap: wrap;
}

.topnav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.94rem;
}

.topnav a:hover,
.topnav a:focus-visible {
    color: var(--text);
}

.hero,
.panel,
.availability-strip,
.site-footer {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(20, 28, 35, 0.9), rgba(14, 20, 25, 0.82));
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 28px;
    padding: 44px;
    border-radius: var(--radius-xl);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--warm);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
.footer-title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.02;
}

h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.3rem;
}

.hero-subhead,
.panel p,
.faq-list p,
.feature-list,
.install-note,
.footer-copy {
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-subhead {
    max-width: 56ch;
    margin: 18px 0 0;
    font-size: 1.02rem;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--warm) 0%, var(--warm-strong) 100%);
    color: #23160f;
}

.button-secondary {
    background: rgba(141, 196, 203, 0.12);
    border-color: rgba(141, 196, 203, 0.28);
    color: #d4eff3;
}

.button-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.button.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.launch-note {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.stat-card,
.step-card,
.install-card,
.floating-note {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.stat-card {
    padding: 16px;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.visual-backdrop,
.visual-grid,
.stage-orb {
    position: absolute;
}

.visual-backdrop {
    inset: 14% 10% 18%;
    border-radius: 36px;
    background:
        radial-gradient(circle at 40% 30%, rgba(255, 183, 117, 0.55), transparent 26%),
        radial-gradient(circle at 68% 54%, rgba(141, 196, 203, 0.2), transparent 30%),
        linear-gradient(180deg, rgba(255, 144, 88, 0.3), rgba(12, 18, 24, 0));
    filter: blur(2px);
}

.visual-grid {
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 0, transparent 58%, rgba(0, 0, 0, 0.34) 100%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: auto, 32px 32px, 32px 32px;
    border-radius: 30px;
}

.visual-stage {
    position: relative;
    width: min(100%, 460px);
    height: 100%;
    min-height: 480px;
}

.stage-orb {
    inset: 22% 18% 20%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 209, 168, 0.5), rgba(255, 152, 99, 0.09) 48%, rgba(10, 17, 22, 0) 66%);
    animation: pulseGlow 6s ease-in-out infinite;
}

.creature-art {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(48vw, 224px);
    max-width: 224px;
    transform: translate(-50%, -54%);
    image-rendering: pixelated;
    filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.3));
    animation: floatCreature 4.8s ease-in-out infinite;
}

.floating-note {
    position: absolute;
    max-width: 220px;
    padding: 16px 18px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(34, 42, 49, 0.96), rgba(24, 31, 38, 0.92));
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.floating-note::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: linear-gradient(180deg, rgba(34, 42, 49, 0.96), rgba(24, 31, 38, 0.92));
}

.floating-note-top {
    top: 8%;
    right: 2%;
}

.floating-note-top::after {
    left: -8px;
    bottom: 22px;
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-note-bottom {
    left: 2%;
    bottom: 10%;
}

.floating-note-bottom::after {
    right: -8px;
    top: 22px;
    transform: rotate(45deg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.note-title {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 700;
}

.note-copy {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.panel,
.availability-strip,
.site-footer {
    margin-top: 22px;
    padding: 34px;
    border-radius: var(--radius-xl);
}

.availability-strip {
    display: grid;
    gap: 24px;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 169, 107, 0.1), transparent 20%),
        linear-gradient(180deg, rgba(24, 34, 42, 0.95), rgba(16, 22, 28, 0.88));
}

.strip-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.strip-copy {
    margin: 0;
    max-width: 62ch;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.store-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(24, 34, 42, 0.92), rgba(17, 24, 30, 0.86));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.store-type {
    color: var(--warm);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.store-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.store-points {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
}

.panel-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.compact-heading {
    margin-bottom: 20px;
}

.two-column-copy,
.split-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

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

.step-card {
    padding: 20px;
}

.step-index {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--warm);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
}

.install-card {
    padding: 22px;
}

.install-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--text);
}

.install-note {
    margin: 20px 0 0;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--panel-strong);
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list p {
    margin: 14px 0 0;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-title {
    font-size: 1.4rem;
}

.footer-copy {
    margin: 10px 0 0;
}

.site-footnote {
    margin: 12px 0 0;
    color: var(--text-muted);
}

.footer-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-muted);
}

.footer-meta a {
    color: var(--text);
    text-decoration: none;
}

.footer-separator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.reveal-up {
    opacity: 0;
    transform: translateY(18px);
    animation: revealUp 650ms ease forwards;
}

.reveal-delay-1 {
    animation-delay: 120ms;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCreature {
    0%,
    100% {
        transform: translate(-50%, -54%);
    }

    50% {
        transform: translate(-50%, -58%);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.88;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@media (max-width: 980px) {
    .hero,
    .two-column-copy,
    .split-panel,
    .store-grid,
    .hero-stats,
    .step-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer {
        display: grid;
    }
}

@media (max-width: 720px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 18px;
        position: static;
    }

    .hero,
    .panel,
    .availability-strip,
    .site-footer {
        padding: 24px;
        border-radius: 24px;
    }

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

    .hero-visual {
        min-height: 420px;
    }

    .creature-art {
        width: min(60vw, 212px);
    }
}

@media (max-width: 980px) {
    .hero,
    .split-panel,
    .two-column-copy {
        grid-template-columns: 1fr;
    }

    .step-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 30px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(calc(100% - 20px), var(--max-width));
        padding-top: 16px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 18px;
    }

    .hero,
    .panel,
    .site-footer {
        padding: 24px;
        border-radius: 24px;
    }

    h1 {
        max-width: none;
        font-size: clamp(2.6rem, 14vw, 3.8rem);
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .visual-stage {
        min-height: 380px;
    }

    .floating-note {
        max-width: none;
        position: absolute;
        width: calc(100% - 24px);
    }

    .floating-note-top {
        top: 6%;
        right: 12px;
    }

    .floating-note-top::after {
        left: 22px;
        bottom: -8px;
    }

    .floating-note-bottom {
        left: 12px;
        bottom: 6%;
    }

    .floating-note-bottom::after {
        right: 22px;
        top: -8px;
    }
}