/* ==========================================================================
   HOMEPAGE — editorial / atelier skin (scoped to body.home)
   Loaded only on "/" after style.css. Nothing here touches other pages.
   ========================================================================== */

body.home {
    --ink: #212121;
    --black: #070709;
    --surface: #f6f6f9;
    --panel: #f4f3f5;
    --muted: #6b6b6b;
    --line: #e9e9ee;
    --dot: #10b981;
    --focus: #c2410c;

    --home-container: 1248px;
    --home-pad: 24px;
    --home-ease: cubic-bezier(.22, .61, .36, 1);

    --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

    font-family: var(--font-body);
    background: #ffffff;
    color: var(--ink);
}

body.home .main-content {
    padding-top: 0;
    background: #ffffff;
}

/* Hide the global neon background layers on the homepage only */
body.home .cyber-bg,
body.home .cyber-grid,
body.home .floating-particles {
    display: none !important;
}

body.home .flash-messages {
    position: fixed;
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1200;
    width: min(560px, calc(100% - 32px));
}

body.home img {
    max-width: 100%;
}

/* ==========================================================================
   Shared primitives
   ========================================================================== */

.home-container {
    width: 100%;
    max-width: var(--home-container);
    margin: 0 auto;
    padding-left: var(--home-pad);
    padding-right: var(--home-pad);
}

.home-section {
    position: relative;
    padding: 100px 0;
    background: #ffffff;
}

.home-section--surface {
    background: var(--surface);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dot);
    flex: none;
}

.eyebrow--light {
    color: rgba(255, 255, 255, .55);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.section-title,
body.home .section-title,
html[data-theme="light"] body.home .section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.028em;
    color: var(--ink);
    margin: 14px 0 0;
    max-width: 720px;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

.section-lead {
    max-width: 400px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}

/* Buttons */
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s var(--home-ease), background-color .25s var(--home-ease),
        border-color .25s var(--home-ease), color .25s var(--home-ease), box-shadow .25s var(--home-ease);
}

.home-btn:focus-visible,
.home-link:focus-visible,
.home-card:focus-visible,
.home-dot:focus-visible,
body.home .nav-link:focus-visible,
body.home .lang-btn:focus-visible,
body.home .btn-nav-primary:focus-visible,
body.home .btn-nav-secondary:focus-visible,
body.home .mobile-menu-btn:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.home-btn--light {
    background: #ffffff;
    color: var(--ink);
    border: 1px solid #ffffff;
}

.home-btn--light:hover {
    background: #ededf1;
    border-color: #ededf1;
    transform: translateY(-2px);
}

.home-btn--ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .22);
}

.home-btn--ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .4);
    transform: translateY(-2px);
}

.home-btn--dark {
    background: var(--ink);
    color: #ffffff;
    border: 1px solid var(--ink);
}

.home-btn--dark:hover {
    background: #000000;
    transform: translateY(-2px);
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: gap .25s var(--home-ease), color .25s var(--home-ease);
}

.home-link svg {
    width: 16px;
    height: 16px;
}

.home-link:hover {
    gap: 14px;
    color: #000000;
}

.home-link--light {
    color: #ffffff;
}

.home-link--light:hover {
    color: #ffffff;
}

/* Skip link */
.home-skip {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 3000;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    transition: top .2s var(--home-ease);
}

.home-skip:focus {
    top: 14px;
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

/* ==========================================================================
   Header — global markup, floating pill skin
   ========================================================================== */

body.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 14px var(--home-pad);
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.home .site-header.scrolled {
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.home .header-container {
    position: relative;
    z-index: 0;
    max-width: var(--home-container);
    height: 68px;
    margin: 0 auto;
    padding: 0 8px 0 22px;
    border: 0;
    border-radius: 999px;
}

body.home .header-container::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 999px;
    background: rgba(22, 22, 24, .72);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 44px rgba(7, 7, 9, .3);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

/* Logo */
body.home .logo-box {
    gap: 10px;
    flex: none;
}

body.home .logo-circle {
    width: 34px;
    height: 34px;
}

body.home .logo-circle .logo-img,
body.home .logo-img {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    filter: none;
}

body.home .logo-ring {
    display: none;
}

body.home .logo-text-container .logo-text,
html[data-theme="light"] body.home .logo-text-container .logo-text {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.03em;
    color: #ffffff;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

body.home .logo-tagline {
    display: none;
}

/* Links */
body.home .site-header .main-nav {
    justify-content: flex-end;
    gap: 8px;
    margin-left: 24px;
}

body.home .site-header .nav-list {
    margin: 0 auto 0 10px;
    gap: 2px;
}

body.home .site-header .nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, .68);
    background: transparent;
    text-shadow: none;
    transform: none;
    box-shadow: none;
}

body.home .site-header .nav-link::after {
    display: none;
}

body.home .site-header .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    transform: none;
    box-shadow: none;
}

body.home .site-header .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
}

body.home .site-header .nav-list li:first-child {
    display: none;
}

body.home #nav-home {
    display: none;
}

body.home .nav-home-icon {
    width: 15px;
    height: 15px;
    color: rgba(255, 255, 255, .68);
}

/* Language switcher */
body.home .lang-switcher {
    gap: 2px;
    margin: 0;
    padding: 3px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    box-shadow: none;
}

body.home .lang-switcher:hover {
    border-color: rgba(255, 255, 255, .18);
    box-shadow: none;
}

body.home .lang-btn {
    padding: 5px 8px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .56);
    background: transparent;
    box-shadow: none;
}

body.home .lang-btn:hover {
    color: #ffffff;
}

body.home .lang-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, .16);
    box-shadow: none;
}

body.home .lang-divider {
    display: none;
}

body.home .theme-toggle-btn {
    display: none !important;
}

/* Guest actions */
body.home .site-header .btn-nav-secondary {
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .72);
    background: transparent;
    transform: none;
    box-shadow: none;
}

body.home .site-header .btn-nav-secondary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

body.home .site-header .btn-nav-primary,
html[data-theme="light"] body.home .site-header .btn-nav-primary {
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink) !important;
    background: #ffffff;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    box-shadow: none;
    overflow: visible;
}

body.home .site-header .btn-nav-primary:hover {
    background: #ededf1;
    transform: none;
    box-shadow: none;
}

body.home .site-header .btn-glow {
    display: none;
}

/* Authenticated menu */
body.home .site-header .dropdown-toggle-group {
    border-radius: 999px;
    background: #ffffff;
    box-shadow: none;
    overflow: hidden;
}

body.home .site-header .dropdown-toggle-group:hover {
    transform: none;
    box-shadow: none;
}

body.home .site-header .dropdown-account-link {
    padding: 0 16px;
    height: 44px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

body.home .site-header .dropdown-arrow-btn {
    height: 44px;
    color: var(--ink);
}

body.home .site-header .dropdown-arrow {
    color: var(--ink);
}

body.home .site-header .dropdown-menu {
    background: #ffffff;
    border: 1px solid #e6e6ea;
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(7, 7, 9, .16);
    padding: 6px;
}

body.home .site-header .dropdown-item {
    border-radius: 12px;
    color: var(--ink);
    font-size: 14px;
}

body.home .site-header .dropdown-item:hover {
    background: var(--surface);
    color: var(--ink);
    padding-left: 1.25rem;
}

/* Mobile burger */
body.home .mobile-menu-btn {
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    width: 40px;
    height: 40px;
    padding: 10px;
    margin-right: 4px;
}

body.home .mobile-menu-btn:hover,
body.home .mobile-menu-btn:active {
    background: rgba(255, 255, 255, .14);
    border: 0;
}

body.home .hamburger-line {
    background: #ffffff;
}

/* ==========================================================================
   Hero — sticky, scroll-driven
   ========================================================================== */

.home-hero {
    position: relative;
    height: 320vh;
    background: var(--black);
}

.home-hero__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: var(--black);
    isolation: isolate;
}

/* Light beams + grain + vignette */
.home-hero__fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-hero__beam {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    will-change: transform;
}

.home-hero__beam--a {
    width: 72vw;
    height: 72vw;
    min-width: 560px;
    min-height: 560px;
    top: -34vw;
    left: -18vw;
    background: radial-gradient(circle at 50% 50%, rgba(86, 122, 255, .34), rgba(86, 122, 255, 0) 62%);
    animation: home-beam-a 16s var(--home-ease) infinite alternate;
}

.home-hero__beam--b {
    width: 62vw;
    height: 62vw;
    min-width: 480px;
    min-height: 480px;
    right: -18vw;
    bottom: -30vw;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, .2), rgba(16, 185, 129, 0) 64%);
    animation: home-beam-b 19s var(--home-ease) infinite alternate;
}

.home-hero__grain {
    position: absolute;
    inset: -50%;
    opacity: .07;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.6'/></svg>");
    background-size: 140px 140px;
}

.home-hero__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 50% 42%, rgba(7, 7, 9, 0) 42%, rgba(7, 7, 9, .68) 100%),
        linear-gradient(180deg, rgba(7, 7, 9, .5) 0%, rgba(7, 7, 9, 0) 28%, rgba(7, 7, 9, .55) 100%);
}

@keyframes home-beam-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(6vw, 5vh, 0) scale(1.12); }
}

@keyframes home-beam-b {
    from { transform: translate3d(0, 0, 0) scale(1.05); }
    to { transform: translate3d(-5vw, -4vh, 0) scale(.95); }
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 120px var(--home-pad) 128px;
}

.home-hero__slides {
    position: relative;
    width: 100%;
    min-height: 470px;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(26px);
    transition: opacity .7s var(--home-ease), transform .7s var(--home-ease), visibility .7s linear;
}

.home-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.home-hero__title {
    margin: 22px 0 0;
    max-width: 1000px;
    font-family: var(--font-display);
    font-size: clamp(40px, 5.4vw, 72px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.035em;
    color: #ffffff;
    text-wrap: balance;
}

.home-hero__sub {
    margin: 24px 0 0;
    max-width: 620px;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.6;
    color: rgba(255, 255, 255, .62);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.home-hero__number {
    font-family: var(--font-display);
    font-size: clamp(88px, 12vw, 152px);
    font-weight: 500;
    line-height: .9;
    letter-spacing: -.05em;
    color: #ffffff;
    margin-top: 18px;
}

.home-hero__number sup {
    font-size: .32em;
    vertical-align: super;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .55);
    margin-left: 6px;
}

.home-hero__slide-title {
    margin: 16px 0 0;
    font-family: var(--font-display);
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.03em;
    color: #ffffff;
}

.home-hero__slide .home-link {
    margin-top: 26px;
}

/* Terminal slide */
.home-hero__terminal {
    position: absolute;
    top: 50%;
    right: 0;
    width: 400px;
    transform: translateY(-50%);
}

body.home .home-hero__terminal .cyber-terminal {
    width: 100%;
    max-width: none;
    border-radius: 20px;
    background: rgba(16, 16, 20, .72);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.home .home-hero__terminal .terminal-header {
    padding: 12px 16px;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.home .home-hero__terminal .terminal-dot {
    width: 9px;
    height: 9px;
    opacity: .8;
}

body.home .home-hero__terminal .terminal-title {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .45);
}

body.home .home-hero__terminal .terminal-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    line-height: 1.9;
}

body.home .home-hero__terminal .terminal-line {
    color: rgba(255, 255, 255, .6);
}

body.home .home-hero__terminal .terminal-line.output {
    color: rgba(255, 255, 255, .38);
    padding-left: 14px;
}

body.home .home-hero__terminal .terminal-line.output.success {
    color: #6ee7b7;
}

body.home .home-hero__terminal .prompt,
body.home .home-hero__terminal .cursor-blink {
    color: #93c5fd;
}

/* Slide indicators */
.home-hero__dots {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.home-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
    cursor: pointer;
    transition: height .3s var(--home-ease), background-color .3s var(--home-ease);
}

.home-dot:hover {
    background: rgba(255, 255, 255, .6);
}

.home-dot.is-active {
    height: 26px;
    background: #ffffff;
}

/* Scroll cue */
.home-hero__cue {
    position: absolute;
    left: var(--home-pad);
    bottom: 108px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .38);
}

.home-hero__cue-line {
    position: relative;
    display: block;
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
}

.home-hero__cue-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, .85);
    animation: home-cue 2.4s var(--home-ease) infinite;
}

@keyframes home-cue {
    0% { transform: translateY(0); }
    70% { transform: translateY(300%); }
    100% { transform: translateY(300%); }
}

/* Giant marquee */
.home-hero__marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.5vw;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.home-hero__marquee-track {
    display: flex;
    width: max-content;
    animation: home-marquee 90s linear infinite;
}

.home-hero__marquee-track span {
    display: block;
    padding-right: .22em;
    font-family: var(--font-display);
    font-size: clamp(120px, 24vw, 340px);
    font-weight: 500;
    line-height: .78;
    letter-spacing: -.045em;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .012));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes home-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Metrics band
   ========================================================================== */

.home-metrics {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.home-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 56px 0;
}

.home-metric {
    padding: 0 28px;
    border-left: 1px solid var(--line);
}

.home-metric:first-child {
    border-left: 0;
    padding-left: 0;
}

.home-metric__value {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-display);
    font-size: clamp(38px, 4.2vw, 56px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--ink);
}

.home-metric__label {
    display: block;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ==========================================================================
   Card strip
   ========================================================================== */

.home-strip {
    display: flex;
    gap: 20px;
    padding: 4px 4px 28px;
    margin: 0 -4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    cursor: grab;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-strip::-webkit-scrollbar {
    display: none;
}

.home-strip.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.home-strip.is-dragging a {
    pointer-events: none;
}

.home-card {
    position: relative;
    flex: 0 0 340px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 11px 11px 22px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(33, 33, 33, .07);
    text-decoration: none;
    color: var(--ink);
    transition: transform .4s var(--home-ease), box-shadow .4s var(--home-ease), border-color .4s var(--home-ease);
}

.home-card:hover {
    transform: translateY(-5px);
    border-color: rgba(33, 33, 33, .12);
    box-shadow: 0 26px 50px rgba(7, 7, 9, .09);
}

.home-card__media {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    padding: 18px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(150deg, #101014 0%, #23232b 100%);
}

.home-card:nth-child(2) .home-card__media {
    background: linear-gradient(150deg, #101014 0%, #35202a 100%);
}

.home-card:nth-child(3) .home-card__media {
    background: linear-gradient(150deg, #0c1210 0%, #1d3a2c 100%);
}

.home-card:nth-child(4) .home-card__media {
    background: linear-gradient(150deg, #120f18 0%, #2a2140 100%);
}

.home-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 70% at 80% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.home-card__index {
    font-family: var(--font-display);
    font-size: 84px;
    font-weight: 500;
    line-height: .8;
    letter-spacing: -.05em;
    color: rgba(255, 255, 255, .16);
}

.home-card__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .9);
}

.home-card__icon svg {
    width: 19px;
    height: 19px;
}

.home-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 11px 0;
}

.home-pill {
    align-self: flex-start;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid rgba(33, 33, 33, .06);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.home-card__title {
    margin: 14px 0 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -.02em;
    color: var(--ink);
}

.home-card__desc {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.home-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.home-card__cta svg {
    width: 15px;
    height: 15px;
    transition: transform .3s var(--home-ease);
}

.home-card:hover .home-card__cta svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Feature grid
   ========================================================================== */

.home-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home-feature {
    padding: 32px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid rgba(33, 33, 33, .05);
    transition: transform .4s var(--home-ease), box-shadow .4s var(--home-ease);
}

.home-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(7, 7, 9, .06);
}

.home-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(33, 33, 33, .06);
    color: var(--ink);
}

.home-feature__icon svg {
    width: 20px;
    height: 20px;
}

.home-feature__title {
    margin: 22px 0 0;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--ink);
}

.home-feature__desc {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

/* ==========================================================================
   Steps
   ========================================================================== */

.home-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.home-step {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.home-step__num {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--muted);
}

.home-step__title {
    margin: 26px 0 0;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 27px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--ink);
}

.home-step__desc {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 320px;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.home-cta {
    padding: 0 0 100px;
    background: #ffffff;
}

.home-cta__panel {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: var(--black);
    padding: 80px 24px;
    isolation: isolate;
}

.home-cta__panel::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 720px;
    height: 720px;
    right: -220px;
    top: -320px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(86, 122, 255, .28), rgba(86, 122, 255, 0) 62%);
    filter: blur(40px);
}

.home-cta__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-cta__title {
    margin: 18px 0 0;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: #ffffff;
    text-wrap: balance;
}

.home-cta__desc {
    margin: 18px 0 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .58);
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.home-cta__user {
    color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.home-footer {
    background: #ffffff;
    border-top: 1px solid var(--line);
    padding: 80px 0 32px;
}

.home-footer__grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.8fr) repeat(3, minmax(140px, 1fr));
    gap: 48px;
}

.home-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.home-footer__brand img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.home-footer__brand span {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.03em;
}

.home-footer__desc {
    margin: 16px 0 0;
    max-width: 300px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.home-footer__heading {
    margin: 4px 0 0;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.home-footer__links {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.home-footer__links a {
    font-size: 14px;
    color: #3a3a3a;
    text-decoration: none;
    transition: color .2s var(--home-ease);
}

.home-footer__links a:hover {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--muted);
}

.home-footer__bottom p {
    margin: 0;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--home-ease), transform .8s var(--home-ease);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.home-features [data-reveal]:nth-child(2),
.home-steps [data-reveal]:nth-child(2) {
    transition-delay: .08s;
}

.home-features [data-reveal]:nth-child(3),
.home-steps [data-reveal]:nth-child(3) {
    transition-delay: .16s;
}

.home-features [data-reveal]:nth-child(4) {
    transition-delay: .24s;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
    body.home #nav-competition {
        display: none;
    }

    .home-hero__terminal {
        width: 330px;
    }
}

@media (max-width: 1024px) {
    .home-hero__terminal {
        display: none;
    }

    .home-hero__slide {
        max-width: 760px;
    }

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

    .home-footer__grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 32px;
    }
}

@media (max-width: 968px) {
    body.home .site-header {
        padding: 10px 12px;
    }

    body.home .header-container {
        height: 60px;
        padding: 0 6px 0 16px;
    }

    body.home .site-header .main-nav {
        position: fixed;
        top: 82px;
        left: 12px;
        right: 12px;
        width: auto;
        margin: 0;
        height: calc(100svh - 92px);
        padding: 28px 20px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, .1);
        background: rgba(14, 14, 17, .98);
        box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
        transform: translateX(calc(100% + 24px));
        overflow-y: auto;
        z-index: 999;
    }

    body.home .site-header .main-nav.active {
        transform: translateX(0);
    }

    body.home .site-header .nav-list {
        width: 100%;
        margin: 0;
        gap: 2px;
    }

    body.home .site-header .nav-link {
        display: block;
        width: 100%;
        padding: 14px 16px;
        font-size: 17px;
        text-align: left;
        border-radius: 14px;
        border-bottom: 0;
    }

    body.home .site-header .nav-actions {
        width: 100%;
        gap: 12px;
        padding-top: 18px;
        margin-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    body.home .site-header .lang-switcher {
        justify-content: center;
        width: 100%;
        padding: 5px;
    }

    body.home .site-header .btn-nav-secondary,
    body.home .site-header .btn-nav-primary {
        width: 100%;
        justify-content: center;
        height: 50px;
        font-size: 15px;
    }

    body.home .site-header .dropdown-toggle-group {
        width: 100%;
        justify-content: center;
    }

    body.home .site-header .dropdown-account-link {
        flex: 1;
        justify-content: center;
    }

    .home-hero {
        height: 280vh;
    }

    .home-hero__inner {
        padding: 110px var(--home-pad) 120px;
    }

    .home-hero__slides {
        min-height: 440px;
    }

    .home-hero__dots {
        right: 14px;
    }

    .home-hero__cue {
        bottom: 92px;
    }

    .home-metrics__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 0;
        padding: 44px 0;
    }

    .home-metric:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .home-metric {
        padding: 0 20px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .home-section {
        padding: 72px 0;
    }

    .home-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .home-cta__panel {
        padding: 60px 20px;
        border-radius: 24px;
    }

    .home-cta {
        padding-bottom: 72px;
    }
}

@media (max-width: 640px) {
    body.home {
        --home-pad: 18px;
    }

    .home-hero {
        height: 240vh;
    }

    .home-hero__stage {
        min-height: 620px;
    }

    .home-hero__inner {
        padding: 96px 18px 108px;
    }

    .home-hero__slides {
        min-height: 430px;
    }

    .home-hero__title {
        font-size: clamp(34px, 9.5vw, 44px);
        letter-spacing: -.03em;
    }

    .home-hero__sub {
        margin-top: 18px;
        font-size: 15.5px;
    }

    .home-hero__actions {
        width: 100%;
        margin-top: 28px;
    }

    .home-btn {
        height: 52px;
        padding: 0 22px;
        font-size: 14.5px;
    }

    .home-hero__actions .home-btn {
        flex: 1 1 100%;
    }

    .home-hero__dots {
        display: none;
    }

    .home-hero__cue {
        display: none;
    }

    .home-hero__number {
        font-size: 96px;
    }

    .home-hero__marquee-track span {
        font-size: clamp(96px, 30vw, 160px);
    }

    .home-metrics__grid {
        padding: 36px 0;
    }

    .home-metric__value {
        font-size: 36px;
    }

    .home-metric__label {
        font-size: 9.5px;
        letter-spacing: .1em;
    }

    .home-card {
        flex-basis: 300px;
    }

    .home-card__media {
        height: 180px;
    }

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

    .home-feature {
        padding: 26px;
    }

    .home-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-footer {
        padding-top: 60px;
    }

    .home-footer__bottom {
        margin-top: 44px;
    }

    .home-section {
        padding: 60px 0;
    }

    .home-cta__actions .home-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Reduced motion & print
   ========================================================================== */

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

    .home-hero {
        height: auto;
    }

    .home-hero__stage {
        position: relative;
        height: auto;
        min-height: 100svh;
    }

    .home-hero__slides {
        min-height: 0;
    }

    .home-hero__slide {
        position: relative;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .home-hero__slide.is-active {
        display: flex;
    }

    .home-hero__dots,
    .home-hero__cue {
        display: none;
    }

    .home-hero__marquee-track {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
