/* ═══════════════════════════════════════════════════════════════════════════
   MyCPL Home v2 — built on the Rent CX-3 theme (style.css tokens)
   Dark glass · cyan accent · Plus Jakarta Sans · avionics details
   ═══════════════════════════════════════════════════════════════════════════ */
.hv2 {
    --h-line: rgba(255, 255, 255, 0.08);
    --h-line-2: rgba(255, 255, 255, 0.14);
    --h-panel: rgba(255, 255, 255, 0.03);
    --h-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    overflow-x: clip;
}
.hv2 a { color: inherit; text-decoration: none; }
.hv2 ul { list-style: none; }
.hv2 h1, .hv2 h2, .hv2 h3, .hv2 h4 { color: var(--ink); }
.hv2 .h-wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.hv2 svg { display: block; }

.h-grad {
    background: linear-gradient(90deg, var(--ink) 0%, var(--primary) 70%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.h-live {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: hLive 1.8s infinite;
}
@keyframes hLive { 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }


/* ── Colour scopes: dark (default) and light bands ─────────────────────── */
.hv2, .h-darkscope, .h-light .h-rent, .h-light .h-tool.is-featured, .h-light .h-app, .h-light .h-commu,
.h-news-feat, .h-product, .h-school-img {
    --ink: #ffffff;
    --body: #d3dae3;
    --text-dim: #9aa3ae;
    --primary: #00d2ff;
    --h-line: rgba(255, 255, 255, 0.08);
    --h-line-2: rgba(255, 255, 255, 0.15);
    --wash: rgba(255, 255, 255, 0.04);
    --wash-2: rgba(255, 255, 255, 0.07);
    --card-grad: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    --btn-bg: #ffffff;
    --btn-ink: #0b0d12;
}
.h-light {
    --ink: #0b0d12;
    --body: #2c333d;
    --text-dim: #5b6472;
    --primary: #018c9f;
    --h-line: #e7eaef;
    --h-line-2: #d6dbe3;
    --wash: rgba(15, 23, 42, 0.03);
    --wash-2: rgba(15, 23, 42, 0.055);
    --card-grad: #ffffff;
    --btn-bg: #0b0d12;
    --btn-ink: #ffffff;
    background: #ffffff;
    color: var(--ink);
}
.h-light.alt { background: #f4f6f8; }
.h-light .h-card { box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05); backdrop-filter: none; -webkit-backdrop-filter: none; }
.h-light a.h-card:hover { border-color: rgba(1, 140, 159, .45); box-shadow: 0 24px 50px rgba(15, 23, 42, .12); }
.h-light .h-rent, .h-light .h-tool.is-featured, .h-light .h-app, .h-light .h-commu { background-color: #07090c; color: var(--ink); }
.h-light .h-rent { background: radial-gradient(700px 400px at 15% 30%, rgba(0, 210, 255, .16), transparent 65%), #07090c; }
.h-light .h-tool.is-featured { background: radial-gradient(500px 360px at 80% 90%, rgba(0, 210, 255, .22), transparent 70%), #07090c; }
.h-light .h-app, .h-light .h-commu { background: #07090c; }
.h-light .h-commu { background: radial-gradient(500px 300px at 90% 0%, rgba(37, 211, 102, .12), transparent 70%), #07090c; }
.h-dark { background: #000; }
.h-sec.h-light, .h-sec.h-dark { padding-bottom: 6.5rem; }
.h-light .h-ic { color: var(--primary); background: rgba(1, 140, 159, .08); border-color: rgba(1, 140, 159, .22); }
.h-light .h-loans, .h-light .h-portals { background: #fff; }
.h-light .h-loan-head { background: #f7f8fa; }
.h-light .h-about-text::after { background: linear-gradient(transparent, #fff); }
.h-light .h-news-item { background: #fff; }
.h-light .h-tail { background: #0b0d12; color: #fff; border-color: #0b0d12; }
.h-light a.h-airline:hover .h-tail { background: var(--primary); border-color: var(--primary); }
.h-light .h-avatar { background: #0b0d12; color: #fff; }
.h-light .h-achieve { color: #15803d; }
.h-light .h-loan-bank em { background: rgba(1, 140, 159, .08); }
.h-light .h-pin-row { background: rgba(255, 255, 255, .06); }
.h-light .h-wp-node { box-shadow: 0 0 0 8px #fff; }

/* Buttons */
.h-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 1.6rem; border-radius: 50px; font-weight: 800; font-size: .92rem;
    transition: transform .3s, box-shadow .3s, background .3s, border-color .3s; white-space: nowrap; cursor: pointer;
    border: 1px solid transparent; font-family: inherit;
}
.h-btn-primary { background: var(--btn-bg); color: var(--btn-ink) !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
.h-btn-primary:hover { transform: translateY(-2px); background: var(--primary); color: #fff !important; box-shadow: 0 16px 36px rgba(0, 0, 0, .22); }
.h-btn-ghost { background: transparent; border-color: var(--h-line-2); color: var(--ink) !important; }
.h-btn-ghost:hover { border-color: var(--primary); color: var(--primary) !important; background: rgba(0, 210, 255, .06); }
.h-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary) !important; font-weight: 700; font-size: .92rem; }
.h-link i { transition: transform .3s; }
.h-link:hover i { transform: translateX(4px); }
.h-link.sm { font-size: .8rem; }

/* Section scaffolding */
.h-sec { padding: 6.5rem 0 0; position: relative; }
.h-sec.h-light + .h-sec.h-light:not(.alt), .h-sec.h-light.alt + .h-sec.h-light.alt { padding-top: 2rem; }
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.h-head h2, .h-rent h2, .h-about h2, .h-app h2, .h-commu h2 {
    font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em;
}
.h-eyebrow {
    display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem;
    font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
}
.h-eyebrow span {
    font-family: var(--h-mono); font-size: .7rem; letter-spacing: .05em; color: var(--text-dim);
    padding: .2rem .55rem; border: 1px solid var(--h-line-2); border-radius: 6px;
}
.h-sub { color: var(--text-dim); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }
.h-head-note { max-width: 420px; font-size: .98rem; }

/* Cards */
.h-card {
    position: relative; display: flex; flex-direction: column; gap: .75rem;
    background: var(--card-grad);
    border: 1px solid var(--h-line); border-radius: 24px; padding: 1.7rem;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s, box-shadow .4s;
    overflow: hidden;
}
a.h-card:hover { transform: translateY(-6px); border-color: rgba(0, 210, 255, .45); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 210, 255, .1) inset; }
.h-card h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.h-card p { color: var(--text-dim); font-size: .9rem; line-height: 1.6; }
.h-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.h-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.h-ic {
    width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px;
    color: hsl(var(--hue, 192) 95% 62%);
    background: linear-gradient(145deg, hsl(var(--hue, 192) 95% 55% / .18), hsl(var(--hue, 192) 95% 55% / .03));
    border: 1px solid hsl(var(--hue, 192) 95% 60% / .28);
}
.h-ic svg { width: 22px; height: 22px; }
.h-ic.sm { width: 40px; height: 40px; border-radius: 12px; }
.h-ic.sm svg { width: 19px; height: 19px; }
.h-pill {
    display: inline-flex; align-items: center; gap: .4rem; width: max-content;
    font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: .3rem .75rem; border-radius: 50px;
    background: var(--wash-2); border: 1px solid var(--h-line-2); color: var(--text-dim);
}
.h-pill.is-cyan { color: var(--primary); background: rgba(0, 210, 255, .1); border-color: rgba(0, 210, 255, .3); }
.h-pill.is-glass { background: rgba(10, 12, 16, .65); color: var(--ink); backdrop-filter: blur(10px); }
.h-checks { display: flex; flex-direction: column; gap: .5rem; margin: .3rem 0 .4rem; }
.h-checks li { display: flex; gap: .6rem; align-items: center; font-size: .88rem; color: var(--body); }
.h-checks i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: .6rem; color: var(--primary); background: rgba(0, 210, 255, .12); flex: none; }
.h-checks.two { display: grid; grid-template-columns: 1fr 1fr; }

/* Tabs */
.h-tabs { display: inline-flex; padding: 5px; border-radius: 50px; background: var(--wash); border: 1px solid var(--h-line); }
.h-tabs button {
    font: inherit; font-size: .86rem; font-weight: 700; color: var(--text-dim); background: none; border: 0; cursor: pointer;
    padding: .65rem 1.25rem; border-radius: 50px; transition: .3s;
}
.h-tabs button.on { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.h-panel { display: none; }
.h-panel.on { display: block; animation: hFade .5s ease; }
@keyframes hFade { from { opacity: 0; transform: translateY(10px); } }

/* ═══ HERO ═══════════════════════════════════════════════════════════════ */
.h-hero { position: relative; padding: 10rem 0 0; isolation: isolate; }
.h-hero-glow {
    position: absolute; inset: -10% -10% auto; height: 900px; pointer-events: none; z-index: -1;
    background:
        radial-gradient(600px 420px at 78% 30%, rgba(0, 210, 255, .16), transparent 70%),
        radial-gradient(500px 380px at 10% 10%, rgba(0, 120, 255, .10), transparent 70%);
}
.h-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.h-kicker {
    display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1rem; border-radius: 50px;
    background: var(--wash); border: 1px solid var(--h-line-2);
    font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--primary);
}
.h-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04;
    margin: 1.5rem 0 1.4rem;
}
.h-lead { color: var(--text-dim); font-size: 1.12rem; line-height: 1.75; max-width: 560px; }
.h-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2.2rem; }
.h-stats { display: flex; align-items: center; gap: 1.3rem; margin-top: 3rem; flex-wrap: wrap; }
.h-stats > i { width: 1px; height: 38px; background: var(--h-line-2); }
.h-stats div { display: flex; flex-wrap: wrap; align-items: baseline; }
.h-stats b { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.h-stats div b + b { color: var(--primary); }
.h-stats span { width: 100%; font-size: .78rem; color: var(--text-dim); margin-top: .1rem; }

.h-hero-visual { position: relative; }
.h-window {
    position: relative; aspect-ratio: 4 / 4.4; border-radius: 42% 42% 32px 32px / 26% 26% 32px 32px;
    overflow: hidden; border: 1px solid rgba(0, 210, 255, .3);
    box-shadow: 0 50px 100px rgba(0, 0, 0, .6), 0 0 0 10px rgba(255, 255, 255, .025), 0 0 80px rgba(0, 210, 255, .14);
    background: #04070c;
}
.h-window video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-window-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 7, 12, .15), rgba(4, 7, 12, .05) 40%, rgba(4, 7, 12, .75)); }
.h-hud { position: absolute; inset: 22px; pointer-events: none; font-family: var(--h-mono); color: rgba(160, 240, 255, .9); }
.hud-c { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(0, 210, 255, .7); }
.hud-c.tl { top: 14%; left: 0; border-right: 0; border-bottom: 0; }
.hud-c.tr { top: 14%; right: 0; border-left: 0; border-bottom: 0; }
.hud-c.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-c.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-top { position: absolute; top: 15%; left: 50%; transform: translateX(-50%); display: flex; gap: .55rem; align-items: baseline; font-size: .7rem; letter-spacing: .12em; padding: .35rem .8rem; border-radius: 8px; background: rgba(4, 7, 12, .45); border: 1px solid rgba(0, 210, 255, .25); white-space: nowrap; }
.hud-top b { font-weight: 600; color: var(--ink); font-size: .78rem; margin-right: .5rem; }
.hud-horizon { position: absolute; left: 22%; right: 22%; top: 52%; height: 1px; }
.hud-horizon::before, .hud-horizon::after { content: ''; position: absolute; top: 0; width: 34%; height: 2px; background: rgba(0, 210, 255, .8); }
.hud-horizon::before { left: 0; } .hud-horizon::after { right: 0; }
.hud-horizon i { position: absolute; left: 50%; top: -6px; width: 14px; height: 14px; margin-left: -7px; border: 2px solid rgba(0, 210, 255, .9); border-radius: 50%; }
.hud-bottom { position: absolute; bottom: 14px; left: 34px; right: 34px; display: flex; justify-content: space-between; font-size: .66rem; letter-spacing: .16em; }
.hud-ok { color: var(--success); font-weight: 600; }
.h-mute {
    position: absolute; right: 18px; bottom: 50px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    background: rgba(4, 7, 12, .55); border: 1px solid var(--h-line-2); color: var(--ink); backdrop-filter: blur(10px);
}
.h-mute:hover { border-color: var(--primary); color: var(--primary); }
.h-float {
    position: absolute; display: flex; gap: .8rem; align-items: center; padding: .85rem 1.1rem; border-radius: 18px;
    background: rgba(14, 17, 23, .78); border: 1px solid var(--h-line-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45); animation: float 6s ease-in-out infinite;
}
.h-float small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; }
.h-float b { font-size: .92rem; color: var(--ink); }
.h-float-a { left: -2.2rem; top: 34%; }
.h-float-b { right: -1.6rem; bottom: 12%; animation-delay: -3s; }
.hf-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: rgba(0, 210, 255, .12); }
.hf-ic.hf-green { color: var(--success); background: rgba(37, 211, 102, .12); }

.h-strip { margin-top: 5.5rem; border-block: 1px solid var(--h-line); background: var(--wash); overflow: hidden; }
.h-strip-track { display: flex; gap: 2rem; width: max-content; padding: 1.05rem 0; animation: hMarquee 48s linear infinite; }
.h-strip span { font-family: var(--h-mono); font-size: .78rem; letter-spacing: .2em; color: var(--body); white-space: nowrap; }
.h-strip em { font-style: normal; color: var(--primary); }
@keyframes hMarquee { to { transform: translateX(-50%); } }

/* ═══ RENT BAND ═════════════════════════════════════════════════════════ */
.h-rent {
    position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center;
    padding: 3.5rem; border-radius: 36px; overflow: hidden;
    background:
        radial-gradient(700px 400px at 15% 30%, rgba(0, 210, 255, .14), transparent 65%),
        var(--card-grad);
    border: 1px solid rgba(0, 210, 255, .22);
    box-shadow: 0 50px 100px rgba(0, 0, 0, .5);
}
.h-rent-media { position: relative; display: grid; place-items: center; min-height: 360px; }
.h-rent-media img { position: relative; width: 100%; max-width: 420px; filter: drop-shadow(0 30px 60px rgba(0, 210, 255, .2)); animation: float 6s ease-in-out infinite; }
.h-rent-orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.h-rent-orbit span { position: absolute; border-radius: 50%; border: 1px dashed rgba(0, 210, 255, .22); }
.h-rent-orbit span:first-child { width: 88%; aspect-ratio: 1; animation: hSpin 60s linear infinite; }
.h-rent-orbit span:last-child { width: 62%; aspect-ratio: 1; border-style: solid; border-color: rgba(0, 210, 255, .1); }
@keyframes hSpin { to { transform: rotate(360deg); } }
.h-rent-tag {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; gap: .6rem; align-items: center;
    padding: .55rem 1.1rem; border-radius: 50px; background: rgba(10, 12, 16, .8); border: 1px solid var(--h-line-2);
    font-size: .82rem; font-weight: 700; white-space: nowrap;
}
.h-rent-body .h-sub { margin: 1.2rem 0 1.8rem; }
.h-rent-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin-bottom: 2rem; }
.h-rent-points li { display: flex; gap: .85rem; align-items: flex-start; }
.h-rent-points i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: rgba(0, 210, 255, .1); border: 1px solid rgba(0, 210, 255, .22); font-size: .9rem; }
.h-rent-points b { display: block; font-size: .92rem; color: var(--ink); }
.h-rent-points span { font-size: .8rem; color: var(--text-dim); }

.h-pin { margin-bottom: 1.4rem; }
.h-pin label { margin-bottom: .7rem; }
.h-pin-row {
    display: flex; align-items: center; gap: .6rem; padding: .4rem .4rem .4rem 1.2rem; border-radius: 50px;
    background: rgba(0, 0, 0, .35); border: 1px solid var(--h-line-2); transition: .3s;
}
.h-pin-row:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 210, 255, .12); }
.h-pin-row > i { color: var(--primary); }
.h-pin-row input {
    flex: 1; min-width: 0; background: none !important; border: 0 !important; padding: .7rem 0 !important; border-radius: 0 !important;
    font-family: var(--h-mono); font-size: 1.05rem !important; letter-spacing: .18em; color: var(--ink); outline: 0;
}
.h-pin-row input::placeholder { letter-spacing: .02em; font-family: 'Plus Jakarta Sans', sans-serif; color: #6c7480; }
.h-pin-row .h-btn { padding: .8rem 1.5rem; }
.h-pin-out { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; min-height: 0; }
.h-opt {
    display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem; border-radius: 14px; font-size: .82rem;
    background: var(--wash); border: 1px solid var(--h-line-2); animation: hFade .4s ease both;
}
.h-opt b { color: var(--ink); }
.h-opt em { font-style: normal; color: var(--text-dim); }
.h-opt i { color: var(--primary); }
.h-opt.is-best { border-color: rgba(37, 211, 102, .45); background: rgba(37, 211, 102, .08); }
.h-opt.is-best i { color: var(--success); }
.h-pin-msg { font-size: .85rem; color: var(--text-dim); }
.h-pin-msg.err { color: var(--error); }

/* ═══ LEARN ═════════════════════════════════════════════════════════════ */
.h-subject { min-height: 250px; }
.h-subject-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.h-code { font-family: var(--h-mono); font-size: .8rem; letter-spacing: .14em; color: var(--text-dim); padding: .25rem .6rem; border: 1px solid var(--h-line-2); border-radius: 8px; }
.h-card-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--h-line); display: flex; align-items: center; justify-content: space-between; }
.h-count { font-size: .85rem; color: var(--text-dim); }
.h-count b { color: var(--ink); font-size: 1.05rem; }
.h-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--h-line-2); color: var(--primary); transition: .3s; }
a.h-card:hover .h-arrow { background: var(--primary); color: #001018; border-color: var(--primary); transform: rotate(-45deg); }
.h-card.is-soon { opacity: .6; }
.h-mats { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--h-line); display: flex; flex-direction: column; gap: .45rem; }
.h-mats li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--body); }
.h-mats li span { color: var(--primary); width: 16px; }
.h-mats li span svg { width: 16px; height: 16px; }
.h-mats em { margin-left: auto; font-style: normal; font-family: var(--h-mono); font-size: .75rem; color: var(--text-dim); }

/* ═══ TOOLKIT BENTO ═════════════════════════════════════════════════════ */
.h-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.h-tool { min-height: 230px; }
.h-bento > .h-tool:nth-child(6):last-child { grid-column: span 4; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1.5rem; }
.h-bento > .h-tool:nth-child(6):last-child .h-tool-top { order: 0; }
.h-bento > .h-tool:nth-child(6):last-child p { flex: 1; min-width: 260px; }
.h-bento > .h-tool:nth-child(6):last-child .h-tool-cta { margin-top: 0; }
.h-tool.is-featured {
    grid-column: span 2; grid-row: span 2; min-height: 480px; padding: 2.2rem;
    background: radial-gradient(500px 360px at 80% 90%, rgba(0, 210, 255, .2), transparent 70%), linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border-color: rgba(0, 210, 255, .3);
}
.h-tool.is-featured h3 { font-size: 2rem; letter-spacing: -0.03em; }
.h-tool.is-featured p { font-size: 1rem; max-width: 320px; }
.h-tool-top { display: flex; justify-content: space-between; align-items: center; }
.h-platform { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--h-mono); font-size: .68rem; letter-spacing: .14em; color: var(--text-dim); padding: .3rem .6rem; border-radius: 8px; border: 1px solid var(--h-line-2); }
.h-platform svg { width: 13px; height: 13px; }
.h-tool-cta { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .88rem; color: var(--primary); }
.h-tool.is-soon .h-tool-cta { color: var(--text-dim); }
.h-tool-img { position: absolute; right: -40px; bottom: -30px; width: 62%; max-width: 380px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); transition: transform .6s; pointer-events: none; }
.h-tool.is-featured:hover .h-tool-img { transform: translate(-8px, -10px) rotate(-3deg); }
.h-tool.is-featured .h-tool-cta { position: relative; z-index: 1; padding: .8rem 1.4rem; border-radius: 50px; background: var(--primary); color: #001018; width: max-content; }

/* ═══ ROADMAP ═══════════════════════════════════════════════════════════ */
.h-scroll-ctrl { display: flex; gap: .6rem; }
.h-scroll-ctrl button {
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer; color: var(--ink);
    background: var(--wash); border: 1px solid var(--h-line-2); transition: .3s;
}
.h-scroll-ctrl button:hover { border-color: var(--primary); color: var(--primary); }
.h-road {
    position: relative; display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 max(1.5rem, calc((100vw - 1240px) / 2 + 1.5rem)) 1.5rem; scrollbar-width: none;
}
.h-road::-webkit-scrollbar { display: none; }
.h-road-line {
    position: absolute; top: 31px; left: 0; height: 2px; width: calc(320px * 8 + 1.25rem * 8 + 50vw);
    background: repeating-linear-gradient(90deg, rgba(0, 210, 255, .55) 0 10px, transparent 10px 20px);
}
.h-wp { flex: 0 0 320px; scroll-snap-align: start; position: relative; }
.h-wp-node {
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
    background: #0d1118; border: 1px solid rgba(0, 210, 255, .4); color: var(--primary);
    box-shadow: 0 0 0 8px var(--bg-dark), 0 0 30px rgba(0, 210, 255, .2);
}
.h-wp-node svg { width: 26px; height: 26px; }
.h-wp.is-final .h-wp-node { background: var(--primary); color: #001018; box-shadow: 0 0 0 8px var(--bg-dark), 0 0 40px rgba(0, 210, 255, .55); }
.h-wp-card {
    margin-top: 1.5rem; padding: 1.5rem; border-radius: 22px; min-height: 300px; display: flex; flex-direction: column; gap: .5rem;
    background: var(--card-grad); border: 1px solid var(--h-line);
}
.h-wp.is-final .h-wp-card { border-color: rgba(0, 210, 255, .4); background: linear-gradient(160deg, rgba(0, 210, 255, .12), rgba(255, 255, 255, .02)); }
.h-wp-meta { display: flex; justify-content: space-between; font-family: var(--h-mono); font-size: .72rem; letter-spacing: .1em; color: var(--text-dim); }
.h-wp-step { color: var(--primary); }
.h-wp-card h3 { font-size: 1.25rem; font-weight: 800; }
.h-wp-phase { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); }
.h-wp-card p { color: var(--text-dim); font-size: .88rem; line-height: 1.6; }
.h-wp-you { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--h-line); font-size: .85rem; font-weight: 700; color: var(--ink); }
.h-wp-you i { color: var(--primary); margin-right: .3rem; }

/* ═══ ASSIST + PORTALS ══════════════════════════════════════════════════ */
.h-assist .h-link { margin-top: auto; }
.h-portals { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: center; margin-top: 1.5rem; padding: 1.1rem; border-radius: 22px; border: 1px solid var(--h-line); background: var(--wash); }
.h-portals-label { font-size: .8rem; font-weight: 700; color: var(--text-dim); padding: 0 .8rem; white-space: nowrap; }
.h-portals-label i { color: var(--primary); margin-right: .4rem; }
.h-portal { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: 16px; border: 1px solid transparent; transition: .3s; }
.h-portal:hover { border-color: rgba(0, 210, 255, .35); background: rgba(0, 210, 255, .05); }
.h-portal b { display: block; color: var(--ink); font-size: .92rem; }
.h-portal small { color: var(--text-dim); font-size: .76rem; font-family: var(--h-mono); }
.h-portal > i { margin-left: auto; color: var(--text-dim); font-size: .8rem; }

/* ═══ CAREERS ═══════════════════════════════════════════════════════════ */
.h-airline { flex-direction: row; gap: 1.2rem; align-items: flex-start; }
.h-tail {
    flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
    font-family: var(--h-mono); font-weight: 600; font-size: 1.15rem; letter-spacing: .04em; color: var(--ink);
    background: linear-gradient(145deg, #1a2230, #0d1118); border: 1px solid var(--h-line-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: .4s;
}
a.h-airline:hover .h-tail { background: var(--primary); color: #001018; border-color: var(--primary); }
.h-airline-body { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.h-airline-top { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }

/* ═══ SCHOOLS ═══════════════════════════════════════════════════════════ */
.h-school { padding: 0; gap: 0; }
.h-school-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.h-school-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; filter: saturate(.85); }
a.h-school:hover .h-school-img img { transform: scale(1.07); }
.h-school-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 16, .85)); }
.h-school-img .h-pill { position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(10, 12, 16, .7); backdrop-filter: blur(8px); }
.h-school-body { padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; }
.h-school-body small { color: var(--text-dim); font-size: .8rem; }
.h-school-meta { display: flex; flex-direction: column; gap: .35rem; margin-top: .7rem; font-size: .84rem; color: var(--body); }
.h-school-meta i { color: var(--primary); width: 18px; font-size: .8rem; }
.h-filter-tags { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.h-filter-tags > span { font-size: .82rem; color: var(--text-dim); margin-right: .3rem; }
.h-filter-tags .h-pill:hover { color: var(--primary); border-color: rgba(0, 210, 255, .4); }

/* ═══ FUNDING ═══════════════════════════════════════════════════════════ */
.h-loans { border: 1px solid var(--h-line); border-radius: 24px; overflow: hidden; background: var(--wash); }
.h-loan {
    display: grid; grid-template-columns: minmax(0, 2.4fr) 1fr 1.2fr 1fr 1.2fr 40px; gap: 1rem; align-items: center;
    padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--h-line); font-size: .88rem; color: var(--body); transition: background .3s;
}
.h-loan:last-child { border-bottom: 0; }
a.h-loan:hover { background: rgba(0, 210, 255, .05); }
.h-loan-head { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); padding-block: .9rem; background: var(--wash); }
.h-loan-bank { display: grid; grid-template-columns: 52px 1fr; column-gap: .9rem; align-items: center; }
.h-loan-bank em { grid-row: span 2; font-style: normal; font-family: var(--h-mono); font-size: .72rem; font-weight: 600; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 210, 255, .1); color: var(--primary); border: 1px solid rgba(0, 210, 255, .22); }
.h-loan-bank b { color: var(--ink); font-size: .95rem; }
.h-loan-bank small { color: var(--text-dim); font-size: .76rem; }
.h-loan > span b { color: var(--ink); }
.h-loan .h-arrow { width: 32px; height: 32px; font-size: .7rem; }
.h-scholar { margin-top: 1.25rem; }
.h-scholar .h-card small { color: var(--text-dim); font-size: .8rem; margin-top: -.4rem; }
.h-amount { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--primary); }

/* ═══ HANGAR ════════════════════════════════════════════════════════════ */
.h-rail { display: flex; gap: 1.25rem; overflow-x: auto; padding: 0 max(1.5rem, calc((100vw - 1240px) / 2 + 1.5rem)) 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.h-rail::-webkit-scrollbar { display: none; }
.h-product { position: relative; flex: 0 0 260px; aspect-ratio: 5 / 6; border-radius: 24px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--h-line); }
.h-product img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.h-product:hover img { transform: scale(1.08); }
.h-product::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 8, 12, .92)); }
.h-product .h-pill { position: absolute; top: 14px; left: 14px; z-index: 1; }
.h-product-body { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.h-product-body small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.h-product-body b { font-size: 1.1rem; color: var(--ink); }

/* ═══ TESTIMONIALS ══════════════════════════════════════════════════════ */
.h-quote { margin: 0; }
.h-stars { color: #ffc107; font-size: .78rem; display: flex; gap: 3px; }
.h-quote blockquote { color: var(--body); font-size: .95rem; line-height: 1.7; flex: 1; }
.h-quote figcaption { display: flex; gap: .8rem; align-items: center; padding-top: 1rem; border-top: 1px solid var(--h-line); }
.h-quote figcaption b { display: block; color: var(--ink); font-size: .95rem; }
.h-quote figcaption small { color: var(--text-dim); font-size: .78rem; }
.h-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #001018; background: linear-gradient(135deg, #7ae8ff, var(--primary)); flex: none; }
.h-achieve { font-size: .78rem; font-weight: 700; color: var(--success); }

/* ═══ APP + COMMUNITY ═══════════════════════════════════════════════════ */
.h-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.h-app, .h-commu { padding: 2.6rem; min-height: 520px; }
.h-app p, .h-commu p { font-size: 1rem; max-width: 420px; }
.h-app h2, .h-commu h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .2rem; }
.h-app .h-checks { max-width: 360px; }
.h-play img { height: 52px; width: auto; margin-top: .6rem; }
.h-device {
    position: absolute; right: -30px; bottom: -70px; width: 220px; padding: 12px; border-radius: 36px;
    background: linear-gradient(160deg, #1b222d, #0b0e13); border: 1px solid var(--h-line-2); transform: rotate(-8deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
}
.h-device-screen { border-radius: 26px; padding: 1.2rem 1rem; background: #05080c; border: 1px solid rgba(0, 210, 255, .2); }
.h-device-screen small { font-family: var(--h-mono); font-size: .68rem; color: var(--text-dim); }
.h-device-screen > b { display: block; font-family: var(--h-mono); font-size: 2rem; color: var(--primary); text-align: right; margin: .2rem 0 .8rem; }
.h-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.h-keys span { font-family: var(--h-mono); font-size: .7rem; text-align: center; padding: .45rem 0; border-radius: 8px; background: var(--wash-2); color: var(--body); }
.h-keys span:nth-child(-n+4) { background: rgba(0, 210, 255, .12); color: var(--primary); }
.h-commu {
    background: radial-gradient(500px 300px at 90% 0%, rgba(37, 211, 102, .1), transparent 70%), var(--card-grad);
}
.h-chat { display: flex; flex-direction: column; gap: .55rem; margin: .8rem 0 .4rem; }
.h-chat .m { max-width: 80%; padding: .6rem .9rem; border-radius: 16px 16px 16px 4px; background: var(--wash-2); border: 1px solid var(--h-line); font-size: .86rem; color: var(--body); }
.h-chat .m b { display: block; font-size: .72rem; color: var(--success); }
.h-chat .m small { display: block; text-align: right; font-size: .65rem; color: var(--text-dim); }
.h-chat .m.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: rgba(0, 210, 255, .1); border-color: rgba(0, 210, 255, .2); }
.h-commu .h-cta { margin-top: auto; }

/* ═══ NEWS ══════════════════════════════════════════════════════════════ */
.h-news { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.25rem; }
.h-news-feat { position: relative; min-height: 460px; border-radius: 28px; overflow: hidden; border: 1px solid var(--h-line); }
.h-news-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.h-news-feat:hover img { transform: scale(1.05); }
.h-news-feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 8, 12, .1) 20%, rgba(6, 8, 12, .95)); }
.h-news-over { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; z-index: 1; display: flex; flex-direction: column; gap: .7rem; }
.h-news-over h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; }
.h-news-over p { color: var(--body); font-size: .92rem; }
.h-news-over small, .h-news-item small { color: var(--text-dim); font-size: .78rem; }
.h-news-list { display: flex; flex-direction: column; gap: 1.25rem; }
.h-news-item { flex: 1; display: grid; grid-template-columns: 150px 1fr; gap: 1.1rem; padding: .9rem; border-radius: 22px; border: 1px solid var(--h-line); background: var(--wash); transition: .3s; }
.h-news-item:hover { border-color: rgba(0, 210, 255, .4); }
.h-news-item img { width: 100%; height: 100%; min-height: 110px; object-fit: cover; border-radius: 14px; }
.h-news-item div { display: flex; flex-direction: column; gap: .4rem; justify-content: center; }
.h-news-cat { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.h-news-item h4 { font-size: 1rem; line-height: 1.35; }

/* ═══ ABOUT ═════════════════════════════════════════════════════════════ */
.h-about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; padding: 3rem; border-radius: 32px; border: 1px solid var(--h-line); background: #fff; }
.h-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.h-tags span { font-size: .78rem; padding: .4rem .85rem; border-radius: 50px; border: 1px solid var(--h-line-2); color: var(--body); }
.h-about-text { color: var(--text-dim); font-size: .95rem; line-height: 1.8; display: flex; flex-direction: column; gap: 1rem; max-height: 360px; overflow: hidden; position: relative; transition: max-height .6s; }
.h-about-text::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #0b0d11); pointer-events: none; transition: opacity .4s; }
.h-about-text.open { max-height: 2000px; }
.h-about-text.open::after { opacity: 0; }
.h-about-text strong { color: var(--ink); }
.h-about-text h3 { font-size: 1.15rem; margin-top: .6rem; }
.h-more { margin-top: .8rem; background: none; border: 0; cursor: pointer; font-family: inherit; }

/* Reveal on scroll */
.h-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.h-reveal.in { opacity: 1; transform: none; }

/* ═══ Responsive ════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .h-hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .h-hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .h-rent { grid-template-columns: 1fr; padding: 2.5rem; }
    .h-rent-media { min-height: 280px; }
    .h-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-bento > .h-tool:nth-child(6):last-child { grid-column: span 2; }
    .h-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-portals { grid-template-columns: 1fr; }
    .h-loan { grid-template-columns: minmax(0, 2fr) 1fr 1.2fr 40px; }
    .h-loan > span:nth-child(4), .h-loan > span:nth-child(5) { display: none; }
    .h-about { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
    .h-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-duo { grid-template-columns: 1fr; }
    .h-news { grid-template-columns: 1fr; }
    .h-sec { padding-top: 5rem; }
}
@media (max-width: 640px) {
    .hv2 .h-wrap { padding: 0 1rem; }
    .h-hero { padding-top: 7.5rem; }
    .h-hero h1 { font-size: 2.45rem; }
    .h-lead { font-size: 1rem; }
    .h-cta .h-btn { flex: 1; }
    .h-stats { gap: 1rem 1.4rem; }
    .h-stats > i { display: none; }
    .h-stats div { width: calc(50% - .7rem); }
    .h-float-a { left: -.4rem; top: 18%; }
    .h-float-b { right: -.4rem; bottom: 6%; }
    .h-float { padding: .65rem .85rem; }
    .h-float b { font-size: .8rem; }
    .h-strip { margin-top: 3.5rem; }
    .h-grid-3, .h-grid-4, .h-bento { grid-template-columns: 1fr; }
    .h-bento > .h-tool:nth-child(6):last-child { grid-column: auto; flex-direction: column; align-items: flex-start; }
    .h-tool.is-featured { grid-column: auto; grid-row: auto; min-height: 420px; padding: 1.7rem; }
    .h-tool-img { width: 70%; }
    .h-rent { padding: 1.6rem; border-radius: 28px; gap: 2rem; }
    .h-rent-points { grid-template-columns: 1fr; }
    .h-pin-row .h-btn { padding: .75rem 1.1rem; }
    .h-head { margin-bottom: 2rem; gap: 1.2rem; }
    .h-tabs { width: 100%; }
    .h-tabs button { flex: 1; padding: .65rem .6rem; }
    .h-wp { flex-basis: 82vw; }
    .h-loan { grid-template-columns: minmax(0, 1fr) auto; padding: 1rem 1.1rem; }
    .h-loan > span:nth-child(3), .h-loan .h-arrow { display: none; }
    .h-loan-head { display: none; }
    .h-loan-bank { grid-template-columns: 44px 1fr; }
    .h-app, .h-commu { padding: 1.7rem; min-height: 0; }
    .h-device { display: none; }
    .h-checks.two { grid-template-columns: 1fr; }
    .h-news-feat { min-height: 380px; }
    .h-news-over { left: 1.3rem; right: 1.3rem; bottom: 1.3rem; }
    .h-news-item { grid-template-columns: 100px 1fr; }
    .h-about { padding: 1.6rem; }
    .h-portals-label { padding: .2rem .4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hv2 *, .hv2 *::before, .hv2 *::after { animation: none !important; transition: none !important; }
    .h-reveal { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
    .hud-top, .hud-bottom { display: none; }
    .h-window { aspect-ratio: 4 / 4.2; }
}

/* ═══ HERO v2 — full-screen background video ════════════════════════════
   The source clips are stored sideways (720×1280), so they are rotated -90°
   exactly like the previous home page did.                                  */
.h-hero2 {
    --hero-h: max(100vh, 680px);
    position: relative; min-height: var(--hero-h); overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: #000; color: #fff;
}
@supports (height: 100svh) { .h-hero2 { --hero-h: max(100svh, 680px); } }
.h-hero2-media { position: absolute; inset: 0; overflow: hidden; }
.h-hero2-media video {
    position: absolute; top: 50%; left: 50%;
    width: var(--hero-h); height: 100vw;           /* swapped: rotated below */
    object-fit: cover;
    transform: translate(-50%, -50%) rotate(-90deg);
}
.h-hero2-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, .12) 70%, rgba(0, 0, 0, .25) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .9) 100%);
}
.h-hero2-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.h-hero2-inner {
    position: relative; z-index: 2; width: 100%;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: end;
    padding-top: 9rem;
}
.h-hero2 .h-kicker { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.h-hero2 h1 {
    color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.03;
    margin: 1.5rem 0 1.3rem; max-width: 780px; text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.h-grad-w {
    background: linear-gradient(90deg, #ffffff 0%, #7fe9ff 60%, #00d2ff 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.h-hero2 .h-lead { color: rgba(255, 255, 255, .82); max-width: 560px; font-size: 1.1rem; }
.h-btn-white { background: #fff; color: #000 !important; box-shadow: 0 12px 34px rgba(0, 0, 0, .35); }
.h-btn-white:hover { transform: translateY(-2px); background: #00d2ff; }
.h-btn-glass { background: rgba(255, 255, 255, .1); color: #fff !important; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(12px); }
.h-btn-glass:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.h-hero2-side { display: flex; flex-direction: column; gap: .8rem; padding-bottom: .4rem; }
.h-chip-card {
    display: flex; gap: .85rem; align-items: center; padding: .9rem 1.15rem; border-radius: 18px; min-width: 270px;
    background: rgba(10, 10, 12, .55); border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff;
}
.h-chip-card small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 700; }
.h-chip-card b { font-size: .95rem; color: #fff; }
.h-hero2-foot {
    position: relative; z-index: 2; width: 100%;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    margin-top: 3rem; padding-bottom: 3rem;
}
.h-hero2 .h-stats { margin-top: 0; }
.h-hero2 .h-stats b { color: #fff; }
.h-hero2 .h-stats div b + b { color: #00d2ff; }
.h-hero2 .h-stats span { color: rgba(255, 255, 255, .65); }
.h-hero2 .h-stats > i { background: rgba(255, 255, 255, .22); }
.h-hero2-tools { display: flex; align-items: center; gap: .8rem; }
.h-hud-line {
    display: inline-flex; gap: .5rem; align-items: baseline; padding: .5rem .9rem; border-radius: 10px;
    font-family: var(--h-mono); font-size: .7rem; letter-spacing: .14em; color: rgba(160, 240, 255, .85);
    background: rgba(0, 0, 0, .45); border: 1px solid rgba(0, 210, 255, .25); backdrop-filter: blur(8px);
}
.h-hud-line b { color: #fff; font-weight: 600; margin-right: .4rem; }
.h-mute2 {
    width: 44px; height: 44px; border-radius: 50%; cursor: pointer; color: #fff;
    background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px);
}
.h-mute2:hover { border-color: #00d2ff; color: #00d2ff; }
.h-hero2 .h-strip { position: relative; z-index: 2; margin-top: 0; background: rgba(0, 0, 0, .6); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); }
.h-hero2 .h-strip span { color: rgba(255, 255, 255, .78); }

@media (max-width: 900px) {
    .h-hero2-inner { grid-template-columns: 1fr; padding-top: 8rem; }
    .h-hero2-side { flex-direction: row; flex-wrap: wrap; }
    .h-chip-card { min-width: 0; flex: 1 1 220px; }
    .h-hero2-shade {
        background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 35%, rgba(0, 0, 0, .7) 70%, rgba(0, 0, 0, .95) 100%);
    }
}
@media (max-width: 640px) {
    .h-hero2 h1 { font-size: 2.4rem; }
    .h-hero2 .h-lead { font-size: 1rem; }
    .h-hero2-side { display: none; }
    .h-hud-line { display: none; }
    .h-hero2-foot { margin-top: 2rem; padding-bottom: 1.6rem; }
    .h-hero2 .h-stats div { width: calc(50% - .7rem); }
    .h-hero2 .h-stats > i { display: none; }
}
.hv2 .h-hero2-inner { padding-top: 9rem; }
.hv2 .h-hero2-foot { margin-top: 3rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .hv2 .h-hero2-inner { padding-top: 8rem; } }
@media (max-width: 640px) { .hv2 .h-hero2-foot { margin-top: 2rem; padding-bottom: 1.8rem; } }

/* ═══ v3 — minimal hero ═════════════════════════════════════════════════ */
.h-hero-min { justify-content: center; }
.h-hero-min .h-hero2-shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .05) 75%),
        linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .85) 100%);
}
.hv2 .h-hero-min-inner { position: relative; z-index: 2; width: 100%; padding-top: 4rem; }
.h-hero-min h1 {
    color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06;
    max-width: 760px; margin: 0 0 1.1rem; text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.h-hero-min .h-lead { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 460px; margin: 0; }
.h-hero-min .h-cta { margin-top: 2rem; }
.h-hero-min .h-mute2 { position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 2; width: 40px; height: 40px; }
@media (max-width: 900px) {
    .h-hero-min .h-hero2-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .85) 100%); }
    .h-hero-min { justify-content: flex-end; }
    .hv2 .h-hero-min-inner { padding-bottom: 5rem; }
}
@media (max-width: 640px) {
    .h-hero-min h1 { font-size: 2.3rem; }
    .h-hero-min .h-lead { font-size: 1rem; }
}

/* ═══ v3 — black page, white cards ═════════════════════════════════════
   Every section background is black. Only the cards are white.            */
.h-sec.h-light, .h-sec.h-light.alt {
    --ink: #ffffff;
    --body: #d3dae3;
    --text-dim: #9aa3ae;
    --primary: #00d2ff;
    --h-line: rgba(255, 255, 255, 0.08);
    --h-line-2: rgba(255, 255, 255, 0.16);
    --wash: rgba(255, 255, 255, 0.05);
    --wash-2: rgba(255, 255, 255, 0.08);
    --btn-bg: #ffffff;
    --btn-ink: #0b0d12;
    background: #000;
    color: #fff;
}
/* white cards (dark feature cards — CX-3 band, Rent tool, App, Community — stay black) */
.h-sec.h-light :is(.h-card, .h-loans, .h-portals, .h-news-item, .h-about):not(.h-rent):not(.is-featured):not(.h-app):not(.h-commu) {
    --ink: #0b0d12;
    --body: #2c333d;
    --text-dim: #5b6472;
    --primary: #018c9f;
    --h-line: #e7eaef;
    --h-line-2: #d6dbe3;
    --wash: rgba(15, 23, 42, 0.03);
    --wash-2: rgba(15, 23, 42, 0.055);
    --btn-bg: #0b0d12;
    --btn-ink: #ffffff;
    background: #ffffff;
    color: #0b0d12;
    border-color: #ffffff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 18px 40px rgba(0, 0, 0, .35);
}
.h-sec.h-light a.h-card:not(.h-rent):not(.is-featured):hover { border-color: #00d2ff; box-shadow: 0 0 0 1px #00d2ff, 0 26px 50px rgba(0, 0, 0, .5); }
.h-sec.h-light .h-rent, .h-sec.h-light .h-tool.is-featured, .h-sec.h-light .h-app, .h-sec.h-light .h-commu {
    border: 1px solid rgba(255, 255, 255, .12);
}
.h-sec.h-light .h-about-text::after { background: linear-gradient(transparent, #fff); }
.h-sec.h-light .h-loan-head { background: #f7f8fa; }
.h-sec.h-light .h-filter-tags .h-pill { background: rgba(255, 255, 255, .06); color: #d3dae3; border-color: rgba(255, 255, 255, .16); }

/* ═══ v4 — rails start in line with the section heading ════════════════ */
.h-rail, .h-road {
    --rail-pad: max(1.5rem, calc((100vw - 1240px) / 2 + 1.5rem));
    padding-left: var(--rail-pad); padding-right: var(--rail-pad);
    scroll-padding-inline: var(--rail-pad);       /* scroll-snap respects the left inset */
    scroll-snap-type: x proximity;
}
@media (max-width: 640px) { .h-rail, .h-road { --rail-pad: 1rem; } }

/* ═══ v4 — careers: equal cards with airline logos ═════════════════════ */
.h-air-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1.25rem; }
.h-air { gap: .55rem; padding: 1.6rem; min-height: 248px; }
.h-air-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .6rem; }
.h-air-logo {
    position: relative; width: 56px; height: 56px; border-radius: 16px; overflow: hidden;
    display: grid; place-items: center; background: #fff; border: 1px solid #e7eaef;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.h-air-logo img { position: relative; z-index: 1; width: 34px; height: 34px; object-fit: contain; background: #fff; }
.h-air-logo em {
    position: absolute; inset: 0; display: grid; place-items: center; font-style: normal;
    font-family: var(--h-mono); font-weight: 600; font-size: .95rem; color: #fff; background: #0b0d12;
}
.h-air-code {
    font-family: var(--h-mono); font-size: .72rem; letter-spacing: .14em; color: var(--text-dim);
    padding: .25rem .55rem; border: 1px solid var(--h-line-2); border-radius: 8px;
}
.h-air h3 { font-size: 1.15rem; }
.h-air-meta { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.h-air p {
    color: var(--text-dim); font-size: .9rem; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.h-air-cta {
    margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--h-line);
    display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .86rem; color: var(--ink);
}
.h-air-cta i { color: var(--primary); font-size: .78rem; transition: transform .3s; }
a.h-air:hover .h-air-cta i { transform: translate(2px, -2px); }
@media (max-width: 900px) { .h-air-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .h-air-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } .h-air { min-height: 0; } }

/* ═══ v4 — Journey (replaces the horizontal roadmap) ═══════════════════ */
.jr { position: relative; padding: 1rem 0 0; --jr-line: rgba(255, 255, 255, .12); }
.jr-track { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, var(--jr-line) 0 8px, transparent 8px 16px); }
.jr-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--jr-p, 0) * 100%); background: linear-gradient(180deg, rgba(0, 210, 255, .2), #00d2ff); box-shadow: 0 0 12px rgba(0, 210, 255, .6); }
.jr-plane {
    position: absolute; left: 50%; top: calc(var(--jr-p, 0) * 100%); width: 40px; height: 40px; margin: -20px 0 0 -20px;
    display: grid; place-items: center; border-radius: 50%; color: #001018; background: #00d2ff;
    box-shadow: 0 0 0 6px rgba(0, 210, 255, .18), 0 0 30px rgba(0, 210, 255, .6); z-index: 3;
}
.jr-plane i { transform: rotate(90deg); font-size: .95rem; }

.jr-start, .jr-end { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.jr-start { gap: .9rem; margin-bottom: 3.5rem; }
.jr-start .jr-dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); }
.jr-start div { background: #000; padding: .4rem 1rem; }
.jr-start small { display: block; font-family: var(--h-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #00d2ff; }
.jr-start b { font-size: 1.05rem; color: #fff; }

.jr-step { position: relative; display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; margin-bottom: 2.4rem; }
.jr-node {
    grid-column: 2; justify-self: center; position: relative; z-index: 2;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #000; color: #00d2ff; border: 1px solid rgba(0, 210, 255, .45); box-shadow: 0 0 0 8px #000;
    transition: background .4s, color .4s, box-shadow .4s;
}
.jr-node svg { width: 24px; height: 24px; }
.jr-step.is-passed .jr-node { background: #00d2ff; color: #001018; box-shadow: 0 0 0 8px #000, 0 0 26px rgba(0, 210, 255, .55); }
.jr-step.is-left .jr-card { grid-column: 1; grid-row: 1; margin-right: 1.2rem; }
.jr-step.is-right .jr-card { grid-column: 3; grid-row: 1; margin-left: 1.2rem; }
.jr-card {
    position: relative; background: #fff; color: #0b0d12; border-radius: 22px; padding: 1.6rem 1.7rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
    opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.jr-step.is-seen .jr-card { opacity: 1; transform: none; }
.jr-card::after {                        /* little pointer toward the path */
    content: ''; position: absolute; top: 50%; width: 14px; height: 14px; background: #fff; transform: translateY(-50%) rotate(45deg);
}
.jr-step.is-left .jr-card::after { right: -7px; }
.jr-step.is-right .jr-card::after { left: -7px; }
.jr-card-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .7rem; }
.jr-chapter { font-family: var(--h-mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #018c9f; }
.jr-time { font-size: .74rem; font-weight: 700; color: #5b6472; background: #f2f4f7; border-radius: 99px; padding: .3rem .7rem; white-space: nowrap; }
.jr-card h3 { color: #0b0d12 !important; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.jr-kicker { font-size: .82rem; font-weight: 700; color: #5b6472; margin: .15rem 0 .7rem; }
.jr-card p { color: #3b4350; font-size: .92rem; line-height: 1.65; }
.jr-feel { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #eceff3; font-weight: 800; font-size: .95rem; color: #0b0d12; }
.jr-step.is-final .jr-card { background: linear-gradient(160deg, #ffffff 0%, #e9fbff 100%); outline: 2px solid #00d2ff; outline-offset: -2px; }
.jr-step.is-final .jr-card::after { background: #f3fdff; }

.jr-end { margin-top: 1.5rem; gap: 1.6rem; }
.jr-licence {
    width: min(420px, 100%); text-align: left; border-radius: 22px; padding: 1.4rem 1.5rem; color: #fff;
    background: linear-gradient(135deg, #0d1b24 0%, #06323d 55%, #0a5566 100%);
    border: 1px solid rgba(0, 210, 255, .45); box-shadow: 0 30px 70px rgba(0, 210, 255, .18), 0 0 0 8px #000;
    position: relative; overflow: hidden;
}
.jr-licence::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 9px); }
.jr-licence > * { position: relative; }
.jr-licence-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: .95rem; }
.jr-licence-top i { color: #00d2ff; margin-right: .4rem; }
.jr-licence-top em { font-style: normal; font-family: var(--h-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .25); padding: .2rem .5rem; border-radius: 6px; }
.jr-licence-mid { display: flex; gap: 1.1rem; align-items: center; margin: 1.3rem 0; }
.jr-photo { width: 70px; height: 84px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .5); font-size: 1.6rem; }
.jr-licence-mid small { display: block; font-family: var(--h-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.jr-licence-mid b { display: block; font-size: 1rem; margin-bottom: .55rem; color: #fff; }
.jr-licence-foot { display: flex; gap: .5rem; flex-wrap: wrap; }
.jr-licence-foot span { font-size: .72rem; font-weight: 700; color: #4ade80; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .3); padding: .25rem .6rem; border-radius: 99px; }
.jr-end-copy { display: flex; flex-direction: column; align-items: center; gap: .5rem; background: #000; padding: .5rem 1rem; }
.jr-end-copy b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.jr-end-copy span { color: #9aa3ae; margin-bottom: .8rem; }

@media (max-width: 900px) {
    .jr-track { left: 27px; margin-left: 0; }
    .jr-plane { left: 28px; }
    .jr-start, .jr-end { align-items: flex-start; text-align: left; }
    .jr-start { flex-direction: row; padding-left: 19px; }
    .jr-start div { padding-left: .4rem; }
    .jr-step { grid-template-columns: 56px 1fr; }
    .jr-node { grid-column: 1; }
    .jr-step.is-left .jr-card, .jr-step.is-right .jr-card { grid-column: 2; margin: 0 0 0 1rem; }
    .jr-step.is-left .jr-card::after, .jr-step.is-right .jr-card::after { left: -7px; right: auto; }
    .jr-end { padding-left: 64px; }
    .jr-end-copy { align-items: flex-start; padding-left: 0; }
}
@media (max-width: 640px) {
    .jr-card { padding: 1.3rem 1.2rem; }
    .jr-card h3 { font-size: 1.15rem; }
    .jr-card-top { flex-direction: column; align-items: flex-start; gap: .4rem; }
    .jr-end { padding-left: 0; }
    .jr-licence { box-shadow: 0 20px 50px rgba(0, 210, 255, .15); }
}
@media (prefers-reduced-motion: reduce) { .jr-card { opacity: 1; transform: none; } }
.h-air-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--h-line-2); color: var(--text-dim); font-size: .72rem; transition: .3s; }
a.h-air:hover .h-air-go { background: #0b0d12; color: #fff; border-color: #0b0d12; }

/* ═══ v5 — plane lands behind the licence card ═════════════════════════ */
.jr-track { z-index: 1; }                     /* path + plane sit under the cards */
.jr-plane { z-index: 1; }
.jr-end { z-index: 3; }
.jr-licence { z-index: 3; }
.jr-step .jr-card { z-index: 2; }
.jr-node { z-index: 2; }
.jr.is-landed .jr-plane { box-shadow: 0 0 0 6px rgba(0, 210, 255, .12); }
@media (max-width: 900px) {
    .jr-end { padding-left: 0; }              /* licence spans the path on phones too */
}

/* ═══ v5 — wide iOS tool card: icon and platform chip no longer collide ═ */
.h-bento > .h-tool:nth-child(6):last-child .h-tool-top { gap: .75rem; flex: none; }
.h-bento > .h-tool:nth-child(6):last-child .h-tool-top .h-ic { flex: none; }
.h-bento > .h-tool:nth-child(6):last-child h3 { white-space: nowrap; }
