/* The homepage in the immersive system (20 November 2026).
   Loaded by index.html only, after styles.css, and scoped to body.home-immersive
   so every other page that shares styles.css keeps its look.
   Night to pray, daylight to find: the hero is the turning night earth from the
   app's Home card and the desktop prayer stage, the name's meaning is a daylight
   interlude on the desktop's light globe, and the earth returns as a horizon at
   the close. Sanctuary tokens. Type is the wordmark's own family: Helvetica Neue
   Light for display, regular for body, and the app's letterspaced kicker for
   eyebrows. Gold as gilding. */
body.home-immersive {
    --hi-ground: #0E0D0B;
    --hi-ink: #1A1815;
    --hi-surface: #211E19;
    --hi-line: #2E2A24;
    --hi-edge: #3E382F;
    --hi-paper: #FBF9F4;
    --hi-vellum: #EFE9DA;
    --hi-soft: #C9C1B4;
    --hi-muted: #9A9289;
    --hi-faint: #5B554D;
    --hi-gold: #D4AF37;
    --hi-gold-pale: #F1DD8E;
    --hi-gold-ink: #8A6D1F;
    --hi-limb: 212, 165, 116;
    --hi-display: 'Helvetica Neue', Helvetica, Inter, Arial, sans-serif;
    --hi-body: 'Helvetica Neue', Helvetica, Inter, Arial, sans-serif;

    /* The shared sheet reads these, so the page's existing rules follow. */
    --color-bg: var(--hi-ground);
    --color-surface: var(--hi-surface);
    --color-surface-2: var(--hi-ground);
    --color-text-primary: var(--hi-paper);
    --color-text-secondary: var(--hi-soft);
    --color-glass: rgba(26, 24, 21, 0.78);
    --font-sans: var(--hi-body);

    background: var(--hi-ground);
    color: var(--hi-paper);
}

.home-immersive h1,
.home-immersive h2,
.home-immersive h3 {
    font-family: var(--hi-display);
    font-weight: 300;
    letter-spacing: -0.035em;
}

.home-immersive h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem) !important;
    line-height: 1.08;
}

/* A heading that shares a row with a screen keeps the row's measure. */
.home-immersive .partners-product-shot h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem) !important;
    line-height: 1.1 !important;
}

.home-immersive :focus-visible {
    outline: 2px solid var(--hi-gold);
    outline-offset: 4px;
}

/* ---------- The earth ---------- */
.hi-sky {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hi-globe {
    --map-h: calc(var(--size) * 1.6);
    --map-w: calc(var(--size) * 3.2);
    --ty: calc(var(--size) * -0.14);
    --phase: calc(var(--size) * -4.0333);
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    overflow: hidden;
    isolation: isolate;
    background: #0C0A09;
}

.hi-globe[data-tone="day"] {
    background: #FFFAF0;
}

.hi-globe-scroll {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--map-w) * 2);
    height: var(--map-h);
    transform: translate(var(--phase), var(--ty));
    animation: hi-turn 150s linear infinite;
    animation-play-state: paused;
    will-change: transform;
}

.is-live .hi-globe-scroll,
.is-live .hi-globe-mark {
    animation-play-state: running;
}

@keyframes hi-turn {
    to {
        transform: translate(calc(var(--phase) + var(--map-w)), var(--ty));
    }
}

.hi-globe-copy {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--map-w);
    height: var(--map-h);
}

.hi-globe-copy + .hi-globe-copy {
    left: var(--map-w);
}

.hi-globe-copy img {
    display: block;
    width: 100%;
    height: 100%;
}

.hi-globe[data-tone="night"] .hi-globe-copy img {
    filter: brightness(1.22);
}

.hi-globe-mark {
    position: absolute;
    width: clamp(14px, calc(var(--size) * 0.022), 26px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #E8C592;
    background: rgba(var(--hi-limb), 0.2);
    box-shadow: 0 0 18px rgba(var(--hi-limb), 0.55);
    animation: hi-breathe 3.2s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.hi-globe-mark svg {
    width: 58%;
    height: 58%;
}

@keyframes hi-breathe {
    from {
        opacity: 0.28;
        transform: translate(-50%, -50%) scale(0.86);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

.hi-globe::before,
.hi-globe::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 1;
}

.hi-globe[data-tone="night"]::before {
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 55%, transparent 100%),
        radial-gradient(circle at 50% 50%, transparent 56%, rgba(12, 10, 9, 0.04) 58%, rgba(12, 10, 9, 0.42) 80%, rgba(12, 10, 9, 0.86) 94%, #0C0A09 100%);
}

.hi-globe[data-tone="day"]::before {
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 55%, transparent 100%),
        radial-gradient(circle at 50% 50%, transparent 58%, rgba(231, 229, 228, 0.1) 64%, rgba(214, 211, 209, 0.42) 86%, rgba(168, 162, 158, 0.55) 100%);
}

.hi-globe[data-tone="day"] .hi-globe-mark {
    color: var(--hi-gold-ink);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(var(--hi-limb), 0.5), 0 0 14px rgba(var(--hi-limb), 0.7);
}

.hi-globe::after {
    z-index: 2;
}

/* ---------- Head ---------- */
.home-immersive .navbar.glass {
    background: linear-gradient(180deg, rgba(14, 13, 11, 0.72), rgba(14, 13, 11, 0));
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.home-immersive .navbar.glass.is-scrolled {
    background: rgba(14, 13, 11, 0.82);
    border-bottom-color: rgba(var(--hi-limb), 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-immersive .logo {
    gap: 8px;
    color: var(--hi-paper);
    letter-spacing: -0.01em;
}

.home-immersive .logo .hi-mark {
    width: 20px;
    height: 34px;
    flex: none;
}

.home-immersive .nav-link {
    color: var(--hi-soft);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.home-immersive .nav-link:hover {
    color: var(--hi-paper);
}

/* Heavenly gold: the one action that brings someone in. */
.home-immersive .btn-primary-sm {
    background: linear-gradient(135deg, var(--hi-gold-pale), var(--hi-gold));
    color: var(--hi-ink);
    box-shadow: 0 0 14px rgba(243, 217, 122, 0.28);
}

.home-immersive .btn-primary-sm:hover {
    background: linear-gradient(135deg, var(--hi-gold-pale), var(--hi-gold));
    box-shadow: 0 0 20px rgba(243, 217, 122, 0.45), 0 0 52px rgba(212, 175, 55, 0.28);
}

.home-immersive .btn-glorify-solid {
    background: var(--hi-paper);
    color: var(--hi-ink);
    display: inline-block;
}

.home-immersive .btn-glorify-solid:hover {
    background: var(--hi-vellum);
}

.home-immersive .btn-glorify-outline {
    color: var(--hi-paper);
    border-color: var(--hi-edge);
    background: rgba(14, 13, 11, 0.4);
}

.home-immersive .btn-glorify-outline:hover {
    border-color: var(--hi-muted);
}

/* Eyebrows: the app's kicker, letterspaced and gold, in place of the pill. */
.home-immersive .brand-pill,
.home-immersive .feature-label,
.home-immersive .step-number-small,
.home-immersive .lift-step-num,
.home-immersive .lift-distinction-label {
    font-family: var(--hi-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hi-gold);
}

.home-immersive .brand-pill {
    display: inline-block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-bottom: 26px;
}

.home-immersive .feature-label {
    display: block;
}

.home-immersive .text-gold {
    color: #E3C56A;
}

.home-immersive p.text-gold {
    font-family: var(--hi-display);
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.45;
}

.home-immersive .hero-demo-link,
.home-immersive .product-phone-link .product-phone-prompt {
    color: #E3C56A;
    font-weight: 500;
}

.home-immersive .hero-demo-link {
    border-bottom-color: rgba(212, 175, 55, 0.4);
    margin-right: 22px;
}

.home-immersive .hero-demo-link:hover {
    border-bottom-color: var(--hi-gold);
}

/* ---------- Hero: the night earth ---------- */
.home-immersive .hero--product {
    isolation: isolate;
    background: #070605;
    padding: 150px 0 120px;
}

.hi-sky--hero .hi-globe {
    --size: max(680px, min(124vh, 88vw));
    left: 44%;
    top: 50%;
    margin-top: calc(var(--size) / -2 + 5vh);
    box-shadow:
        0 0 0 1px rgba(var(--hi-limb), 0.3),
        0 0 90px rgba(var(--hi-limb), 0.2),
        0 0 240px rgba(var(--hi-limb), 0.14);
}

/* The sunrise on the limb, as on the app's night earth. */
.hi-sky--hero .hi-globe::after {
    box-shadow:
        inset 0 0 0 1px rgba(var(--hi-limb), 0.5),
        inset 30px 26px 90px -40px rgba(var(--hi-limb), 0.7);
}

/* The people praying loop behind everything, faded; the earth turns in front
   of them at the right. */
.home-immersive .hero--product .video-background video {
    opacity: 0.62;
}

.home-immersive .hero--product .video-background .overlay {
    background:
        linear-gradient(90deg, rgba(7, 6, 5, 0.5) 0%, rgba(7, 6, 5, 0.28) 45%, rgba(7, 6, 5, 0.6) 100%),
        linear-gradient(180deg, rgba(7, 6, 5, 0.7) 0%, rgba(7, 6, 5, 0.25) 26%, rgba(7, 6, 5, 0.35) 70%, var(--hi-ground) 100%);
}

/* Night falls back over the words, and the hero settles into the page. */
.hi-sky--hero::before,
.hi-sky--hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
}

.hi-sky--hero::before {
    background: linear-gradient(90deg, rgba(7, 6, 5, 0) 38%, rgba(7, 6, 5, 0.5) 46%, rgba(7, 6, 5, 0.12) 60%, rgba(7, 6, 5, 0) 74%);
}

.hi-sky--hero::after {
    background: linear-gradient(180deg, rgba(14, 13, 11, 0) 72%, var(--hi-ground) 100%);
}

.home-immersive .hero--product .hero-content {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.home-immersive .hero--product h1 {
    font-family: var(--hi-display);
    font-weight: 300;
    font-size: clamp(2.5rem, 5.6vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
}

.home-immersive .hero--product p {
    font-size: clamp(1.05rem, 1.35vw, 1.22rem);
    line-height: 1.6;
    color: var(--hi-soft);
    max-width: 520px;
    margin-bottom: 40px;
}

.home-immersive .hero-product .product-caption,
.home-immersive .product-media-note {
    color: var(--hi-muted);
}

.home-immersive .product-phone {
    box-shadow:
        0 44px 90px -18px rgba(0, 0, 0, 0.8),
        0 10px 26px rgba(0, 0, 0, 0.4),
        0 0 110px rgba(var(--hi-limb), 0.16);
}

/* ---------- Daylight: what the name means ---------- */
.home-immersive .meaning-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #FBF8F1, var(--hi-paper) 55%, #F6F0E2);
    color: var(--hi-ink);
    border-bottom: 0;
    padding: 130px 0 0;
    min-height: min(980px, 118vh);
}

.hi-sky--day .hi-globe {
    --size: max(760px, min(128vw, 1500px));
    left: 50%;
    top: 560px;
    margin-left: calc(var(--size) / -2);
    box-shadow:
        0 0 0 1px rgba(var(--hi-limb), 0.35),
        0 -24px 80px rgba(138, 109, 31, 0.12),
        0 0 140px rgba(var(--hi-limb), 0.24);
}

.hi-sky--day .hi-globe::after {
    box-shadow:
        inset 0 0 0 1px rgba(var(--hi-limb), 0.3),
        inset 0 30px 80px -40px rgba(var(--hi-limb), 0.75);
}

.home-immersive .meaning-content {
    position: relative;
    z-index: 1;
}

.home-immersive .meaning-divider {
    width: 30px;
    height: 52px;
    margin-bottom: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='6.4 2.4 11.2 19.2' fill='none' stroke='%23D4AF37' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21L12 10M8 8.5C8 8.5 7 9 7 11.5C7 14 12 18 12 18C12 18 17 14 17 11.5C17 9 16 8.5 16 8.5M12 3C12 3 9 4 9 7M12 3C12 3 15 4 15 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-immersive .meaning-section .lowercase-logo {
    font-family: var(--hi-body);
    font-weight: 300;
    font-size: clamp(4rem, 9vw, 7rem) !important;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--hi-ink);
    margin-bottom: 22px;
}

.home-immersive .meaning-phonetic {
    font-family: var(--hi-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--hi-gold-ink);
    opacity: 1;
    margin-bottom: 26px;
}

.home-immersive .meaning-title {
    font-family: var(--hi-display);
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--hi-ink);
    margin-bottom: 18px;
}

.home-immersive .meaning-desc {
    color: var(--hi-edge);
    font-size: 1.08rem;
    max-width: 540px;
}

/* ---------- The sections ---------- */
.home-immersive .feature-row,
.home-immersive .how-it-works-split {
    position: relative;
    padding: clamp(88px, 11vw, 150px) 0;
    border-bottom: 0;
}

.home-immersive .feature-row::before,
.home-immersive .how-it-works-split::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1152px, calc(100% - 48px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--hi-line) 18%, var(--hi-line) 82%, transparent);
}

.home-immersive .meaning-section + .how-it-works-split::before {
    display: none;
}

.home-immersive .feature-row.alt-bg {
    background:
        radial-gradient(ellipse 60% 55% at 50% 0%, rgba(var(--hi-limb), 0.07), transparent 70%),
        #121110;
}

.home-immersive .text-col p,
.home-immersive .step-item-minimal p,
.home-immersive .partners-product-shot p {
    color: var(--hi-soft);
    line-height: 1.65;
}

.home-immersive .text-col p {
    margin-bottom: 22px;
}

.home-immersive .text-col h2 {
    margin-bottom: 28px;
}

.home-immersive .partners-product-shot h3 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.1;
    margin: 14px 0 20px;
}

.home-immersive .partners-product-shot .hero-demo-link {
    margin-top: 26px;
}

/* A warm light behind every screen, the way the earth lights the hero. */
.home-immersive .split-media-col,
.home-immersive .visual-col,
.home-immersive .partners-product-shot .product-phone-link {
    background: radial-gradient(closest-side, rgba(var(--hi-limb), 0.17), rgba(var(--hi-limb), 0.05) 58%, transparent 78%);
}

.home-immersive .step-item-minimal {
    border-left: 1px solid var(--hi-line);
    padding-left: 30px;
}

.home-immersive .step-item-minimal:hover {
    border-left-color: var(--hi-gold);
    transform: none;
}

.home-immersive .step-item-minimal h3 {
    font-size: clamp(1.45rem, 2.2vw, 1.8rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--hi-paper);
}

.home-immersive .step-number-small {
    margin-bottom: 12px;
}

.home-immersive .split-content-col {
    gap: 44px;
}

/* Plates: surface, hairline, gold only on the one that is chosen. */
.home-immersive .lift-step,
.home-immersive .lift-distinction-card,
.home-immersive .horizontal-feature-card,
.home-immersive .feature-card-small,
.home-immersive .lift-voice-row {
    background: rgba(251, 249, 244, 0.028);
    border: 1px solid var(--hi-line);
}

.home-immersive .lift-step,
.home-immersive .lift-distinction-card,
.home-immersive .horizontal-feature-card {
    border-radius: 20px;
}

.home-immersive .lift-step:hover,
.home-immersive .horizontal-feature-card:hover,
.home-immersive .feature-card-small:hover {
    background: rgba(251, 249, 244, 0.045);
    border-color: rgba(212, 175, 55, 0.34);
    transform: none;
}

.home-immersive .lift-distinction-card-gold {
    background: linear-gradient(160deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    border-color: rgba(212, 175, 55, 0.38);
}

.home-immersive .lift-step h3,
.home-immersive .horiz-text-content h3 {
    font-size: 1.4rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--hi-paper);
}

.home-immersive .lift-step p,
.home-immersive .lift-distinction-card p,
.home-immersive .horiz-text-content p {
    color: var(--hi-soft);
}

.home-immersive .horiz-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.32);
    color: #E3C56A;
}

.home-immersive .horiz-icon-box svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.4;
}

.home-immersive .feature-card-small {
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--hi-soft);
}

.home-immersive .feature-card-small .check-icon {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.4);
    width: 28px;
    height: 28px;
    font-size: 12px;
    flex: none;
}

.home-immersive .lift-link-pill {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.28);
    color: #E3C56A;
}

.home-immersive .lift-voice-play {
    background: rgba(212, 175, 55, 0.14);
    color: #E3C56A;
}

.home-immersive .lift-voice-count {
    font-family: var(--hi-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: #E3C56A;
}

.home-immersive .lift-cta-note,
.home-immersive .illustrative-note {
    color: var(--hi-muted);
}

.home-immersive .prayer-card {
    background: rgba(26, 24, 21, 0.72);
    border-color: rgba(var(--hi-limb), 0.22);
}

.home-immersive .app-screenshot.final-app-preview,
.home-immersive .final-app-preview {
    border: 1px solid var(--hi-edge);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 110px rgba(var(--hi-limb), 0.14);
}

/* ---------- For real life ---------- */
.home-immersive .premium-section {
    background:
        radial-gradient(ellipse 55% 60% at 50% 50%, rgba(var(--hi-limb), 0.1), transparent 72%),
        var(--hi-ground);
    padding: clamp(88px, 11vw, 150px) 0;
}

.home-immersive .premium-card.glass-card-gold {
    background: rgba(26, 24, 21, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 24px;
    box-shadow: 0 0 120px rgba(var(--hi-limb), 0.1);
    padding: clamp(36px, 6vw, 72px);
}

.home-immersive .premium-card h2 {
    margin-bottom: 34px;
}

.home-immersive .premium-card p {
    font-family: var(--hi-display);
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--hi-vellum);
    padding: 16px 0;
    border-bottom: 1px solid var(--hi-line);
}

.home-immersive .premium-card p:last-child {
    border-bottom: 0;
    color: #E3C56A;
}

/* ---------- The close: the earth as a horizon ---------- */
.home-immersive .cta-banner {
    isolation: isolate;
    background: #070605;
    padding: clamp(96px, 12vw, 170px) 0 clamp(150px, 20vw, 300px);
}

.hi-sky--close .hi-globe {
    --size: max(900px, 150vw);
    left: 50%;
    top: 52%;
    margin-left: calc(var(--size) / -2);
    box-shadow: 0 -30px 120px rgba(var(--hi-limb), 0.26);
}

.hi-sky--close .hi-globe::after {
    box-shadow:
        inset 0 0 0 1px rgba(var(--hi-limb), 0.4),
        inset 0 60px 130px -60px rgba(var(--hi-limb), 0.65);
}

.hi-sky--close::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, var(--hi-ground) 0%, rgba(7, 6, 5, 0.35) 30%, rgba(7, 6, 5, 0) 56%, rgba(7, 6, 5, 0.55) 100%);
}

.home-immersive .final-cta-content {
    position: relative;
    z-index: 1;
}

.home-immersive .cta-banner h2 {
    font-family: var(--hi-display);
    font-size: clamp(2.5rem, 5vw, 4.4rem) !important;
    line-height: 1.04;
    margin-bottom: 22px;
}

.home-immersive .cta-banner .final-cta-text p {
    color: var(--hi-soft);
    font-size: 1.15rem;
}

/* ---------- Foot ---------- */
.home-immersive footer {
    background: #070605;
    border-top: 1px solid rgba(var(--hi-limb), 0.16);
}

.home-immersive .footer-col h4 {
    font-family: var(--hi-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--hi-muted);
}

.home-immersive .footer-menu a,
.home-immersive .tagline {
    color: var(--hi-muted);
}

.home-immersive .footer-menu a:hover {
    color: var(--hi-paper);
}

.home-immersive .footer-bottom {
    border-top-color: var(--hi-line);
}

.home-immersive .copyright {
    color: var(--hi-faint);
}

.home-immersive .itoro-proof-toast {
    border-color: rgba(var(--hi-limb), 0.3);
}

/* ---------- Arrival ---------- */
.hi-js .home-immersive .fade-in-up:not(.hi-in) {
    animation-play-state: paused;
}

.hi-js .home-immersive .hi-rise {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hi-js .home-immersive .hi-rise.hi-in {
    opacity: 1;
    transform: none;
}

/* ---------- Smaller frames ---------- */
@media (max-width: 900px) {
    .home-immersive .hero--product {
        padding: 150px 0 90px;
    }

    .home-immersive .hero--product .hero-content {
        grid-template-columns: 1fr;
    }

    .home-immersive .hero--product p {
        margin-left: auto;
        margin-right: auto;
    }

    /* The phone stands on the earth's arc. */
    .hi-sky--hero .hi-globe {
        --size: clamp(760px, 190vw, 1500px);
        left: 50%;
        top: 40%;
        margin-top: 0;
        margin-left: calc(var(--size) / -2);
    }

    .hi-sky--hero::before {
        background: none;
    }

    .hi-sky--hero::after {
        background: linear-gradient(180deg, rgba(14, 13, 11, 0) 78%, var(--hi-ground) 100%);
    }

    .home-immersive .step-item-minimal {
        border-left: 0;
        padding-left: 0;
        border-bottom-color: var(--hi-line);
    }

    .home-immersive .hero-demo-link {
        margin-right: 0;
    }

    .home-immersive .partners-product-shot .hero-demo-link {
        display: flex;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .home-immersive .meaning-section {
        padding-top: 96px;
        min-height: 820px;
    }

    .hi-sky--day .hi-globe {
        top: 540px;
    }

    .hi-sky--close .hi-globe {
        --size: max(700px, 210vw);
        top: 58%;
    }

    .home-immersive .horizontal-feature-card {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .home-immersive .hero--product {
        padding: 132px 0 70px;
    }

    .home-immersive .logo .hi-mark {
        width: 17px;
        height: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hi-globe-scroll,
    .hi-globe-mark {
        animation: none !important;
    }

    .hi-globe-mark {
        opacity: 0.8;
    }

    .home-immersive .fade-in-up,
    .hi-js .home-immersive .hi-rise {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Rising marks: prayers going up, in every section ---------- */
.home-immersive section > .container,
.home-immersive .hero-content {
    position: relative;
    z-index: 1;
}

.home-immersive .hero-content {
    z-index: 10;
}

.hi-rising {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hi-ascend {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--x);
    width: var(--s);
    color: #E0BE8C;
    opacity: 0;
    transform: translate(0, 100%);
    animation: hi-ascend var(--d) linear infinite;
    animation-delay: var(--delay);
    animation-play-state: paused;
}

.is-live > .hi-ascend {
    animation-play-state: running;
}

.hi-ascend svg {
    display: block;
    width: 100%;
    height: auto;
}

.hi-rising[data-tone="day"] .hi-ascend {
    color: var(--hi-gold-ink);
}

@keyframes hi-ascend {
    0% {
        transform: translate(0, 100%);
        opacity: 0;
    }

    8% {
        opacity: var(--o);
    }

    50% {
        transform: translate(var(--sway), 45%);
    }

    88% {
        opacity: var(--o);
    }

    100% {
        transform: translate(0, -8%);
        opacity: 0;
    }
}

/* ---------- iToro Live: the computer, then the phone ---------- */
.home-immersive .hi-live-terms {
    margin-top: 22px;
    color: #E3C56A;
    font-size: 1.05rem;
}

.hi-live {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}

.hi-live-looks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.hi-live-look {
    font: 500 14px/1.2 var(--hi-body);
    color: var(--hi-soft);
    background: transparent;
    border: 1px solid var(--hi-edge);
    border-radius: 999px;
    padding: 10px 18px;
    min-height: 44px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hi-live-look:hover {
    border-color: var(--hi-muted);
    color: var(--hi-paper);
}

.hi-live-look[aria-pressed="true"] {
    background: var(--hi-vellum);
    border-color: var(--hi-vellum);
    color: var(--hi-ink);
}

.hi-live-desktop {
    display: block;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--hi-edge);
    background: var(--hi-ink);
    box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.85), 0 0 140px rgba(var(--hi-limb), 0.14);
}

.hi-live-desktop img {
    display: block;
    width: 100%;
    height: auto;
}

.home-immersive .hi-live-phone {
    width: min(64vw, 270px);
    margin-top: clamp(-120px, -9vw, -48px);
    background: none;
}

.hi-live-story {
    max-width: 680px;
    margin: 64px auto 0;
    text-align: center;
}

.home-immersive .hi-live-story h3 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

.home-immersive .hi-live-story p {
    color: var(--hi-soft);
    font-size: 1.1rem;
    line-height: 1.65;
}

/* ---------- Statements in place of icon cards and checkmark tiles ---------- */
.home-immersive .horizontal-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 64px;
    margin-top: 56px;
}

.home-immersive .horizontal-feature-card,
.home-immersive .horizontal-feature-card:hover {
    display: block;
    background: none;
    border: 0;
    border-top: 1px solid var(--hi-line);
    border-radius: 0;
    padding: 26px 0 34px;
    transform: none;
}

.home-immersive .feature-grid-2x2 {
    gap: 0 36px;
    margin-top: 36px;
}

.home-immersive .feature-card-small,
.home-immersive .feature-card-small:hover {
    background: none;
    border: 0;
    border-top: 1px solid var(--hi-line);
    border-radius: 0;
    padding: 15px 0;
    color: var(--hi-paper);
    transform: none;
}

@media (max-width: 900px) {
    .home-immersive .horizontal-card-grid {
        grid-template-columns: 1fr;
    }

    .home-immersive .feature-card-small {
        justify-content: center;
    }

    .hi-live-story {
        margin-top: 44px;
    }

    .home-immersive .hi-live-phone {
        margin-top: 28px;
    }

    .home-immersive .hi-live-story .hero-demo-link {
        display: flex;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hi-rising {
        display: none;
    }
}
