/* QtClicker — landing only */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #05040a;
    --bg-card: rgba(14, 12, 22, 0.72);
    --stroke: rgba(255, 255, 255, 0.09);
    --text: #f6f4ff;
    --muted: rgba(244, 242, 255, 0.58);
    --accent: #7c5cff;
    --accent-2: #ff3d8a;
    --accent-3: #00e8c8;
    --glow: rgba(124, 92, 255, 0.45);
    --font-display: "Syne", system-ui, sans-serif;
    --font-body: "Outfit", system-ui, sans-serif;
    --radius: 1.35rem;
    --radius-chunky: 2rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body.home {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background: var(--bg-deep);
    line-height: 1.55;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient background */
.home-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-bg__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: blob-float 18s ease-in-out infinite;
}

.home-bg__blob--1 {
    width: min(55vw, 480px);
    height: min(55vw, 480px);
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -12%;
    right: -8%;
    animation-delay: 0s;
}

.home-bg__blob--2 {
    width: min(45vw, 380px);
    height: min(45vw, 380px);
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    bottom: 5%;
    left: -10%;
    animation-delay: -6s;
}

.home-bg__blob--3 {
    width: min(40vw, 320px);
    height: min(40vw, 320px);
    background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
    top: 42%;
    left: 35%;
    opacity: 0.35;
    animation-delay: -12s;
}

@keyframes blob-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(3%, -4%) scale(1.05);
    }
    66% {
        transform: translate(-4%, 3%) scale(0.98);
    }
}

.home-bg__noise {
    position: absolute;
    inset: 0;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.home-bg__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, black 15%, transparent 72%);
}

.home-bg__blob--4 {
    width: min(50vw, 420px);
    height: min(50vw, 420px);
    background: conic-gradient(from 200deg at 50% 50%, var(--accent-3), transparent 40%, var(--accent) 55%, var(--accent-2) 75%, transparent 95%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: 58%;
    right: -15%;
    opacity: 0.22;
    filter: blur(90px);
    animation-delay: -9s;
}

.home-wrap {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.25rem) 4rem;
}

/* Header */
.home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 2rem;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 calc(-1 * clamp(1rem, 4vw, 2.25rem));
    padding-left: clamp(1rem, 4vw, 2.25rem);
    padding-right: clamp(1rem, 4vw, 2.25rem);
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: linear-gradient(180deg, rgba(5, 4, 10, 0.92) 0%, rgba(5, 4, 10, 0.65) 70%, transparent 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(124, 92, 255, 0.12);
}

.home-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    letter-spacing: -0.04em;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.home-logo__text {
    background: linear-gradient(115deg, var(--text) 0%, var(--text) 35%, var(--accent-3) 55%, var(--accent) 78%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-logo:hover .home-logo__text {
    filter: brightness(1.08);
}

.home-logo__dot {
    width: 0.5em;
    height: 0.5em;
    background: conic-gradient(from 140deg, var(--accent-3), var(--accent), var(--accent-2), var(--accent-3));
    border-radius: 50%;
    box-shadow: 0 0 16px var(--glow), 0 0 32px rgba(0, 232, 200, 0.2);
    animation: logo-dot-spin 10s linear infinite;
}

@keyframes logo-dot-spin {
    to {
        transform: rotate(360deg);
    }
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.home-nav a:hover {
    color: var(--text);
    border-color: var(--stroke);
    background: rgba(255, 255, 255, 0.04);
}

.home-nav a.home-nav__link--active {
    color: var(--text);
    border-color: rgba(0, 232, 200, 0.35);
    background: rgba(0, 232, 200, 0.08);
}

/* Hero */
.home-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
    position: relative;
}

.home-hero::before {
    content: "";
    position: absolute;
    left: -8%;
    top: 8%;
    width: min(55%, 320px);
    height: 140%;
    background: radial-gradient(ellipse at 30% 20%, rgba(124, 92, 255, 0.14), transparent 55%);
    pointer-events: none;
    z-index: -1;
}

@media (min-width: 900px) {
    .home-hero {
        grid-template-columns: 1.08fr 0.92fr;
        align-items: end;
    }
}

.home-hero__content {
    position: relative;
    padding-left: clamp(0rem, 2vw, 0.5rem);
    border-left: 2px solid transparent;
    border-image: linear-gradient(180deg, var(--accent-3), transparent 85%) 1;
}

.home-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem 0.35rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.home-badge__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 232, 200, 0.5);
    }
    50% {
        opacity: 0.85;
        box-shadow: 0 0 0 10px rgba(0, 232, 200, 0);
    }
}

.home-hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 7vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin-bottom: 1.25rem;
}

.home-hero__title span {
    display: block;
}

.home-hero__gradient {
    background: linear-gradient(105deg, var(--text) 0%, var(--text) 35%, var(--accent-3) 55%, var(--accent) 78%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero__sub {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--muted);
    max-width: 32ch;
    margin-bottom: 1.5rem;
}

.home-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.home-tag--pink {
    border-color: rgba(255, 61, 138, 0.35);
    background: rgba(255, 61, 138, 0.08);
}

.home-tag--cyan {
    border-color: rgba(0, 232, 200, 0.35);
    background: rgba(0, 232, 200, 0.08);
}

/* Hero visual card */
.home-hero__visual {
    position: relative;
    min-height: 280px;
}

@media (min-width: 900px) {
    .home-hero__visual {
        min-height: 340px;
    }
}

.home-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.home-card {
    position: absolute;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.25rem 1.35rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transition: transform 0.5s var(--ease);
}

.home-card--1 {
    top: 0;
    right: 0;
    width: min(100%, 300px);
    transform: rotate(2deg);
    z-index: 3;
}

.home-card--2 {
    top: 22%;
    left: 0;
    width: min(92%, 280px);
    transform: rotate(-3deg);
    z-index: 2;
}

.home-card--3 {
    bottom: 0;
    right: 8%;
    width: min(88%, 260px);
    transform: rotate(4deg);
    z-index: 1;
}

.home-card:hover {
    transform: rotate(0deg) translateY(-4px) scale(1.02);
    z-index: 5;
}

.home-card__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.home-card__big {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.home-card__big em {
    font-style: normal;
    color: var(--accent-3);
}

.home-card__label--spaced {
    margin-top: 1rem;
}

.home-card__big--sm {
    font-size: 1.35rem;
}

.home-card__big--md {
    font-size: 1.5rem;
}

.home-card__arrow {
    opacity: 0.35;
}

.home-card__em {
    color: var(--accent-3);
    font-style: normal;
}

.home-card__bar {
    margin-top: 1rem;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.home-card__bar-fill {
    height: 100%;
    width: 72%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.home-card__modes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.home-chip {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: rgba(124, 92, 255, 0.2);
    color: #dcd6ff;
}

.home-chip:nth-child(2) {
    background: rgba(0, 232, 200, 0.15);
    color: #b8fff4;
}

.home-chip:nth-child(3) {
    background: rgba(255, 61, 138, 0.15);
    color: #ffc8e0;
}

/* Marquee */
.home-marquee {
    margin: 0 calc(-1 * clamp(1rem, 4vw, 2.25rem)) 2.5rem;
    border-block: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent) 1;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.06), rgba(0, 0, 0, 0.35), rgba(255, 61, 138, 0.06));
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    transform: skewY(-0.35deg);
    transform-origin: center;
}

.home-marquee__track {
    display: flex;
    width: max-content;
    gap: 3rem;
    padding: 1rem 0;
    animation: marquee 28s linear infinite;
    transform: skewY(0.35deg);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.home-marquee__track span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 1rem);
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: rgba(244, 242, 255, 0.45);
}

.home-marquee__track span strong {
    color: var(--accent-3);
    font-weight: 800;
}

/* Abstract art strips (decorative) */
.home-abstract {
    position: relative;
    margin: 0 calc(-1 * clamp(1rem, 4vw, 2.25rem)) 3rem;
    border-radius: var(--radius-chunky);
    overflow: hidden;
    isolation: isolate;
}

.home-abstract--pulse {
    min-height: clamp(200px, 28vw, 280px);
    background: linear-gradient(165deg, rgba(8, 6, 18, 0.95) 0%, rgba(18, 10, 32, 0.85) 100%);
    border: 1px solid rgba(124, 92, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px rgba(0, 0, 0, 0.45);
}

.home-abstract__pulse-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(0, 232, 200, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, black, transparent);
}

.home-abstract__pulse-glow {
    position: absolute;
    width: 120%;
    height: 80%;
    left: -10%;
    bottom: -20%;
    background: radial-gradient(ellipse at 50% 100%, rgba(124, 92, 255, 0.35), transparent 55%);
    filter: blur(40px);
    opacity: 0.6;
}

.home-abstract__morph {
    position: absolute;
    filter: blur(38px);
    opacity: 0.55;
    animation: morph-dance 14s ease-in-out infinite;
}

.home-abstract__morph--a {
    width: min(45%, 200px);
    height: min(45%, 200px);
    left: 8%;
    top: 18%;
    background: linear-gradient(135deg, var(--accent-3), transparent);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation-delay: 0s;
}

.home-abstract__morph--b {
    width: min(38%, 180px);
    height: min(52%, 220px);
    right: 12%;
    top: 8%;
    background: linear-gradient(200deg, var(--accent-2), transparent 70%);
    border-radius: 40% 60% 65% 35% / 40% 45% 55% 60%;
    animation-delay: -4s;
}

.home-abstract__morph--c {
    width: min(55%, 260px);
    height: min(40%, 160px);
    left: 28%;
    bottom: -5%;
    background: linear-gradient(10deg, var(--accent), rgba(255, 61, 138, 0.4));
    border-radius: 50% 50% 33% 67% / 45% 65% 35% 55%;
    animation-delay: -8s;
}

@keyframes morph-dance {
    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(3%, -4%) scale(1.06) rotate(6deg);
    }
    66% {
        transform: translate(-4%, 2%) scale(0.94) rotate(-4deg);
    }
}

.home-abstract__ring-outer,
.home-abstract__ring-inner {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
}

.home-abstract__ring-outer {
    width: min(72vw, 420px);
    height: min(72vw, 420px);
    border: 1px dashed rgba(0, 232, 200, 0.25);
    animation: ring-spin 32s linear infinite;
    opacity: 0.85;
}

.home-abstract__ring-inner {
    width: min(48vw, 280px);
    height: min(48vw, 280px);
    border-radius: 50%;
    border: 1px solid rgba(124, 92, 255, 0.4);
    box-shadow:
        0 0 60px rgba(0, 232, 200, 0.12),
        inset 0 0 40px rgba(255, 61, 138, 0.06);
    animation: ring-spin 22s linear infinite reverse;
    opacity: 0.55;
}

@keyframes ring-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.home-abstract__dots {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    padding: 1.25rem;
    gap: 0.5rem;
    pointer-events: none;
}

.home-abstract__dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text);
    opacity: 0.12;
    align-self: center;
    justify-self: center;
    animation: dot-twinkle 4s ease-in-out infinite;
}

.home-abstract__dots span:nth-child(2) {
    animation-delay: 0.5s;
    opacity: 0.18;
}
.home-abstract__dots span:nth-child(3) {
    animation-delay: 1s;
}
.home-abstract__dots span:nth-child(4) {
    animation-delay: 1.5s;
    background: var(--accent-3);
    opacity: 0.35;
}
.home-abstract__dots span:nth-child(5) {
    animation-delay: 2s;
}
.home-abstract__dots span:nth-child(6) {
    animation-delay: 2.5s;
    background: var(--accent-2);
    opacity: 0.28;
}

@keyframes dot-twinkle {
    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(1.35);
    }
}

/* Second abstract — rift / shards */
.home-abstract--rift {
    min-height: clamp(240px, 32vw, 340px);
    margin-bottom: 3.5rem;
    background: radial-gradient(ellipse 90% 120% at 50% 120%, rgba(124, 92, 255, 0.15), transparent 50%), #06040c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 var(--radius-chunky) 0 var(--radius-chunky);
}

.home-abstract__rift-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -18deg,
        transparent,
        transparent 40px,
        rgba(124, 92, 255, 0.04) 40px,
        rgba(124, 92, 255, 0.04) 41px
    );
    opacity: 0.6;
}

.home-abstract__shard {
    position: absolute;
    mix-blend-mode: screen;
    opacity: 0.55;
    animation: shard-float 12s ease-in-out infinite;
}

.home-abstract__shard--1 {
    width: 38%;
    max-width: 280px;
    height: 72%;
    left: -6%;
    top: 14%;
    background: linear-gradient(160deg, rgba(0, 232, 200, 0.5), transparent 65%);
    clip-path: polygon(0 8%, 100% 0, 85% 100%, 0 92%);
}

.home-abstract__shard--2 {
    width: 45%;
    max-width: 320px;
    height: 55%;
    right: -4%;
    bottom: 8%;
    background: linear-gradient(20deg, rgba(255, 61, 138, 0.45), transparent 70%);
    clip-path: polygon(12% 0, 100% 18%, 88% 100%, 0 78%);
    animation-delay: -4s;
}

.home-abstract__shard--3 {
    width: 28%;
    max-width: 200px;
    height: 40%;
    left: 38%;
    top: 8%;
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.55), transparent);
    clip-path: polygon(50% 0, 100% 35%, 50% 100%, 0 35%);
    animation-delay: -7s;
}

@keyframes shard-float {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(2%, -3%);
    }
}

.home-abstract__rift-line {
    position: absolute;
    height: 1px;
    left: 10%;
    right: 10%;
    background: linear-gradient(90deg, transparent, rgba(0, 232, 200, 0.4), transparent);
    opacity: 0.7;
}

.home-abstract__rift-line--1 {
    top: 32%;
    transform: rotate(-1.2deg);
}

.home-abstract__rift-line--2 {
    bottom: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 61, 138, 0.35), transparent);
    transform: rotate(0.8deg);
}

.home-abstract__scribble {
    position: absolute;
    left: 50%;
    bottom: 12%;
    width: min(92%, 520px);
    height: auto;
    transform: translateX(-50%);
    opacity: 0.85;
}

.home-abstract__scribble-path {
    stroke-dasharray: 480;
    stroke-dashoffset: 480;
    animation: scribble-draw 6s var(--ease-out) forwards, scribble-glow 4s ease-in-out 6s infinite;
}

.home-abstract__scribble-path--2 {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: scribble-draw-2 5s var(--ease-out) 0.4s forwards;
}

@keyframes scribble-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scribble-draw-2 {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scribble-glow {
    0%,
    100% {
        filter: drop-shadow(0 0 0 transparent);
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(124, 92, 255, 0.5));
    }
}

/* Bento */
.home-bento-block {
    position: relative;
}

.home-bento-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.45rem);
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    max-width: 18ch;
    line-height: 1.05;
}

.home-bento-title::after {
    content: "";
    display: block;
    width: 4rem;
    height: 4px;
    margin-top: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-3), var(--accent), var(--accent-2));
    opacity: 0.85;
}

.home-bento-lead {
    color: var(--muted);
    max-width: 42ch;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.home-bento {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .home-bento {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(120px, auto);
    }

    .home-bento__cell--wide {
        grid-column: span 3;
    }

    .home-bento__cell--tall {
        grid-row: span 2;
    }

    .home-bento__cell--full {
        grid-column: span 6;
    }

    .home-bento__cell--half {
        grid-column: span 3;
    }
}

.home-bento__cell {
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.025);
    padding: 1.35rem 1.4rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

@media (min-width: 640px) {
    .home-bento__cell:nth-child(1) {
        border-radius: var(--radius-chunky) var(--radius) var(--radius) var(--radius-chunky);
    }

    .home-bento__cell:nth-child(2) {
        border-radius: var(--radius) var(--radius-chunky) var(--radius) var(--radius);
    }

    .home-bento__cell:nth-child(3) {
        border-radius: var(--radius) var(--radius) var(--radius-chunky) var(--radius);
    }

    .home-bento__cell:nth-child(4) {
        border-radius: var(--radius) var(--radius-chunky) var(--radius-chunky) var(--radius);
    }
}

.home-bento__cell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(124, 92, 255, 0.12), transparent 50%);
    pointer-events: none;
}

.home-bento__cell:hover {
    border-color: rgba(124, 92, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.home-bento__cell h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    position: relative;
}

.home-bento__cell p {
    color: var(--muted);
    font-size: 0.95rem;
    position: relative;
}

.home-bento__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, rgba(244, 242, 255, 0.15), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    opacity: 0.9;
}

.home-list {
    list-style: none;
    margin-top: 0.75rem;
    position: relative;
}

.home-list li {
    font-size: 0.9rem;
    color: var(--muted);
    padding-left: 1.1rem;
    margin-bottom: 0.35rem;
    position: relative;
}

.home-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-3);
    font-weight: 700;
    font-size: 0.75rem;
}

/* Steps rail */
.home-steps {
    margin-top: 4rem;
    padding: 3rem 0 0;
    border-top: none;
    position: relative;
}

.home-steps::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 232, 200, 0.35) 20%, rgba(124, 92, 255, 0.35) 50%, rgba(255, 61, 138, 0.25) 80%, transparent);
}

.home-steps__head {
    margin-bottom: 2rem;
}

.home-steps__head h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    letter-spacing: -0.03em;
}

.home-steps__head p {
    color: var(--muted);
    margin-top: 0.5rem;
    max-width: 40ch;
}

.home-steps__tagline {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.home-rail {
    display: grid;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .home-rail {
        grid-template-columns: repeat(4, 1fr);
    }
}

.home-rail__step {
    padding: 1.35rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(124, 92, 255, 0.04) 45%, transparent 100%);
    position: relative;
    font-size: 0.95rem;
    color: var(--muted);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.home-rail__step::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.5rem;
    width: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--stroke), transparent);
    display: none;
}

@media (min-width: 768px) {
    .home-rail__step:not(:last-child)::after {
        display: block;
    }
}

.home-rail__n {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--accent-2);
    margin-bottom: 0.5rem;
}

/* Love grid (replaces table) */
.home-love {
    margin-top: 4.5rem;
    padding: 2.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-love h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    letter-spacing: -0.04em;
    margin-bottom: 1.75rem;
    max-width: 16ch;
}

.home-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 520px) {
    .home-pills {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .home-pills {
        grid-template-columns: repeat(3, 1fr);
    }
}

.home-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem 1.35rem 1rem 1.35rem;
    border: 1px solid var(--stroke);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-pill:nth-child(3n + 1) {
    border-radius: 1.35rem 1rem 1.35rem 1rem;
}

.home-pill:nth-child(3n + 2) {
    border-radius: 1rem 1.5rem 1rem 1rem;
}

.home-pill:hover {
    border-color: rgba(0, 232, 200, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.home-pill strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.home-pill span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Free banner */
.home-banner {
    margin-top: 4rem;
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-chunky);
    border: 1px solid rgba(124, 92, 255, 0.28);
    background: linear-gradient(125deg, rgba(124, 92, 255, 0.2) 0%, rgba(18, 12, 40, 0.85) 45%, rgba(255, 61, 138, 0.12) 100%);
    position: relative;
    overflow: hidden;
}

.home-banner__glow {
    position: absolute;
    width: 140%;
    height: 100%;
    left: -20%;
    top: 0;
    background: conic-gradient(from 210deg at 70% 40%, rgba(0, 232, 200, 0.15), transparent 35%, rgba(124, 92, 255, 0.2), transparent 70%);
    opacity: 0.7;
    pointer-events: none;
    animation: banner-shift 14s ease-in-out infinite;
}

@keyframes banner-shift {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(3%, 2%) rotate(8deg);
    }
}

.home-banner::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -50px;
    top: -70px;
    background: radial-gradient(circle, rgba(0, 232, 200, 0.28), transparent 68%);
    pointer-events: none;
}

.home-banner h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3.5vw, 2.05rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.home-banner p {
    color: var(--muted);
    max-width: 52ch;
    position: relative;
    z-index: 1;
    font-size: 0.98rem;
}

.home-banner p + p {
    margin-top: 0.5rem;
}

/* CTA */
.home-cta {
    margin-top: 3.5rem;
    text-align: center;
    padding: 3.25rem 1.75rem;
    border-radius: var(--radius-chunky);
    border: 1px solid rgba(124, 92, 255, 0.2);
    background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(124, 92, 255, 0.12), transparent 55%), rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.home-cta__aura {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 61, 138, 0.08), transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(0, 232, 200, 0.1), transparent 40%);
    pointer-events: none;
    animation: cta-breathe 10s ease-in-out infinite;
}

@keyframes cta-breathe {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.home-cta h2,
.home-cta__sub,
.home-cta__tag,
.home-cta__btn {
    position: relative;
    z-index: 1;
}

.home-cta h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.home-cta__sub {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.home-cta__tag {
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--accent-3), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.75rem;
    display: inline-block;
}

.home-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: #0a0812;
    background: linear-gradient(135deg, #fff 0%, #e8e4ff 40%, #c8ffd9 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 16px 40px rgba(124, 92, 255, 0.35);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.home-cta__btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 22px 50px rgba(124, 92, 255, 0.45);
}

.home-cta__btn svg {
    width: 22px;
    height: 22px;
}

/* Footer */
.home-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--stroke);
    text-align: center;
}

.home-footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.home-footer__links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.home-footer__links a:hover {
    color: var(--accent-3);
}

.home-footer__sep {
    color: rgba(244, 242, 255, 0.35);
    user-select: none;
}

.home-footer__copy {
    font-size: 0.75rem;
    color: rgba(244, 242, 255, 0.35);
}

body.home-legal .home-footer {
    border-top: 1px solid rgba(124, 92, 255, 0.12);
    padding-top: 2.25rem;
}

/* Legal pages (ToS, Privacy) */
body.home-legal .home-wrap {
    max-width: 780px;
}

/* Abstract strips on legal pages — slightly tighter than marketing */
body.home-legal .home-abstract--legal.home-abstract--pulse {
    min-height: clamp(150px, 20vw, 220px);
    margin-bottom: 2rem;
}

body.home-legal .home-abstract--legal.home-abstract--rift {
    min-height: clamp(170px, 24vw, 260px);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.home-legal-main {
    padding: 2rem clamp(1.1rem, 3vw, 1.75rem) 2.25rem;
    border-radius: var(--radius-chunky);
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(165deg, rgba(12, 10, 22, 0.75) 0%, rgba(6, 4, 12, 0.55) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-legal-hero {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    position: relative;
}

.home-legal-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 232, 200, 0.35) 15%, rgba(124, 92, 255, 0.3) 50%, rgba(255, 61, 138, 0.2) 85%, transparent);
}

.home-legal-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 2rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-3), var(--accent), var(--accent-2));
    opacity: 0.65;
}

.home-legal-hero__label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-2);
    margin-bottom: 0.65rem;
    padding-left: 0.85rem;
}

.home-legal-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 2.85rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    background: linear-gradient(105deg, var(--text) 15%, var(--accent-3) 50%, var(--accent) 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-left: 0.85rem;
}

.home-legal-hero__meta {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--muted);
    padding-left: 0.85rem;
}

.home-legal__section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-legal__section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.home-legal__section h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1rem;
    padding-left: 0.9rem;
    position: relative;
}

.home-legal__section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    bottom: 0.12em;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent-3), var(--accent));
}

.home-legal__section h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.home-legal__subsection {
    margin-top: 1.35rem;
}

.home-legal__section h2 + .home-legal__subsection {
    margin-top: 0.85rem;
}

.home-legal__section p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.68;
    margin-bottom: 0.85rem;
}

.home-legal__section p:last-child {
    margin-bottom: 0;
}

.home-legal__section ul.home-list {
    margin: 0.65rem 0 0.85rem;
}

.home-legal__section ul.home-list:last-child {
    margin-bottom: 0;
}

.home-legal__caps {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    line-height: 1.75;
    color: rgba(244, 242, 255, 0.78);
}

@media (max-width: 600px) {
    body.home-legal .home-wrap {
        padding-bottom: 3rem;
    }

    .home-legal-main {
        padding: 1.35rem 1rem 1.75rem;
        border-radius: var(--radius);
    }

    .home-legal-hero {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .home-abstract__scribble-path,
    .home-abstract__scribble-path--2 {
        stroke-dashoffset: 0 !important;
    }

    .home-logo__dot {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
