/* ZENVARA.WORLD public site */

@property --tw-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@view-transition { navigation: auto; }

:root {
    --bg: #050403;
    --bg-2: #0d0a05;
    --bg-3: #17120a;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #fbf6e9;
    --muted: #bcb196;
    --dim: #80765e;
    --violet: #f5c542;
    --violet-2: #ffd666;
    --cyan: #ffa826;
    --mint: #ffe9a3;
    --amber: #fbbf24;
    --rose: #fb7185;
    --grad: linear-gradient(115deg, #fff1b0 0%, #f5c542 30%, #ffa826 70%, #ffe9a3 100%);
    --grad-soft: linear-gradient(135deg, rgba(245, 197, 66, 0.18), rgba(255, 168, 38, 0.12));
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Sora', 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    --radius: 22px;
    --radius-sm: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --container: 1200px;
    --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body.tw {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.tw.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
button { font: inherit; color: inherit; }
strong { color: var(--text); font-weight: 600; }
::selection { background: rgba(245, 197, 66, 0.45); color: #fff; }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 8px;
}

.tw-icon { width: 1.15em; height: 1.15em; flex: none; }

.tw-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.tw-skip {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    font-weight: 600;
    transition: top 0.2s;
}
.tw-skip:focus { top: 16px; }

/* ---------- ambient background ---------- */
.tw-aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.tw-aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.45;
    animation: tw-drift 26s ease-in-out infinite alternate;
}
.tw-aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: #8a5a00; }
.tw-aurora span:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 20vh; background: #7a3a00; animation-duration: 32s; animation-delay: -8s; }
.tw-aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 30vw; bottom: -18vw; background: #4a3300; animation-duration: 38s; opacity: 0.35; }

@keyframes tw-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
    100% { transform: translate3d(-4vw, -3vh, 0) scale(0.94); }
}

.tw-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 120;
}
.tw-progress span {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
    background: var(--grad);
}

/* ---------- typography helpers ---------- */
.tw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.tw-eyebrow i {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 12px var(--mint);
}
.tw-eyebrow i::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--mint);
    animation: tw-ping 2.2s var(--ease) infinite;
}
@keyframes tw-ping {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.tw-grad {
    background: var(--grad);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: tw-shimmer 8s linear infinite;
}
@keyframes tw-shimmer {
    to { background-position: -200% 0; }
}

.tw-h2 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 700;
}
.tw-lead {
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    color: var(--muted);
    max-width: 640px;
}
.tw-mono { font-family: var(--mono); }

.tw-section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.tw-section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.tw-section--line { border-top: 1px solid var(--line); }

.tw-head {
    display: grid;
    gap: 18px;
    margin-bottom: clamp(40px, 6vw, 64px);
}
.tw-head--center { text-align: center; justify-items: center; }
.tw-head--center .tw-lead { margin-inline: auto; }
.tw-head--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 32px;
}
.tw-head--split .tw-lead { margin: 0; justify-self: end; }

/* ---------- buttons ---------- */
.tw-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tw-btn {
    --mx: 0px;
    --my: 0px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
    transform: translate3d(var(--mx), var(--my), 0);
    transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.tw-btn .tw-icon { transition: transform 0.35s var(--ease); }
.tw-btn:hover .tw-icon:last-child { transform: translateX(3px); }
.tw-btn:hover .tw-icon:only-child,
.tw-btn .tw-icon:first-child:not(:last-child) { transform: none; }

.tw-btn--primary {
    background: var(--text);
    color: #0b0805;
    box-shadow: 0 0 0 0 rgba(245, 197, 66, 0), 0 10px 30px -10px rgba(245, 197, 66, 0.7);
}
.tw-btn--primary::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: var(--grad);
    filter: blur(14px);
    opacity: 0;
    transition: opacity 0.35s;
}
.tw-btn--primary:hover { background: #fff; }
.tw-btn--primary:hover::before { opacity: 0.75; }

.tw-btn--ghost {
    border-color: var(--line-2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    backdrop-filter: blur(10px);
}
.tw-btn--ghost:hover { border-color: rgba(255, 214, 102, 0.6); background: rgba(245, 197, 66, 0.1); }

.tw-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.tw-btn--block { width: 100%; }

.tw-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    color: var(--violet-2);
    transition: gap 0.3s var(--ease), color 0.3s;
}
.tw-link:hover { gap: 12px; color: var(--cyan); }

/* ---------- navigation ---------- */
.tw-nav {
    position: fixed;
    inset: 14px 0 auto 0;
    z-index: 100;
    padding: 0 16px;
    pointer-events: none;
}
.tw-nav__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1240px;
    height: var(--nav-h);
    margin: 0 auto;
    padding: 0 12px 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    pointer-events: auto;
    transition: background-color 0.4s, border-color 0.4s, height 0.4s var(--ease), box-shadow 0.4s;
}
.tw-nav.is-scrolled .tw-nav__inner {
    height: 64px;
    border-color: var(--line);
    background: rgba(13, 11, 23, 0.72);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

.tw-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}
.tw-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px;
}
.tw-brand__text {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.tw-brand__text em { font-style: normal; color: var(--muted); font-weight: 500; }

.tw-nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
}
.tw-nav__links a {
    position: relative;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.25s, background-color 0.25s;
}
.tw-nav__links a:hover { color: var(--text); }
.tw-nav__links a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tw-nav__actions { display: flex; align-items: center; gap: 8px; }
.tw-nav__login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.25s;
}
.tw-nav__login:hover { color: var(--text); }

.tw-burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}
.tw-burger span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.tw-burger span:nth-child(1) { top: 17px; }
.tw-burger span:nth-child(2) { top: 25px; }
.tw-burger[aria-expanded='true'] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.tw-burger[aria-expanded='true'] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.tw-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 120px 24px 32px;
    background:
        radial-gradient(600px 400px at 100% 0%, rgba(245, 197, 66, 0.14), transparent 60%),
        rgba(8, 6, 3, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    transition: opacity 0.35s;
}
.tw-menu.is-open { opacity: 1; }
.tw-menu[hidden] { display: none; }
.tw-menu__links { display: grid; gap: 4px; }
.tw-menu__links a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
    transition-delay: calc(var(--i) * 45ms);
}
.tw-menu__links a small { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.tw-menu__links a.is-active { color: var(--violet-2); }
.tw-menu.is-open .tw-menu__links a { opacity: 1; transform: none; }
.tw-menu__foot { display: grid; gap: 10px; }

/* ---------- hero ---------- */
.tw-hero {
    position: relative;
    padding: calc(var(--nav-h) + 80px) 0 70px;
    overflow: hidden;
}
.tw-hero__grid-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    animation: tw-grid-pan 30s linear infinite;
}
@keyframes tw-grid-pan {
    to { background-position: 64px 64px; }
}

.tw-hero__layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}
.tw-hero__title {
    margin: 22px 0 22px;
    font-size: clamp(2.6rem, 5.6vw, 4.9rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
}
.tw-hero__title .tw-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.16em;
    margin-bottom: -0.1em;
}
.tw-hero__title .tw-word > span {
    display: inline-block;
    transform: translateY(105%);
    animation: tw-rise 1s var(--ease) forwards;
    animation-delay: calc(var(--w) * 90ms + 150ms);
}
@keyframes tw-rise {
    to { transform: translateY(0); }
}
.tw-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.tw-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}
.tw-hero__trust div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.tw-hero__trust .tw-icon { color: var(--mint); width: 18px; height: 18px; }

/* hero visual: binary tree */
.tw-tree {
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    aspect-ratio: 1 / 0.92;
    border: 1px solid var(--line);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 197, 66, 0.22), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 100px -40px rgba(212, 150, 20, 0.55);
    transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform 0.6s var(--ease);
}
.tw-tree svg { width: 100%; height: 100%; overflow: visible; }
.tw-tree__edge {
    fill: none;
    stroke: url(#twEdge);
    stroke-width: 1.6;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: tw-draw 1.6s var(--ease) forwards;
}
.tw-tree__edge--2 { animation-delay: 0.5s; }
.tw-tree__edge--3 { animation-delay: 0.9s; stroke-opacity: 0.55; }
@keyframes tw-draw {
    to { stroke-dashoffset: 0; }
}
.tw-tree__node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: tw-pop 0.7s var(--ease) forwards; }
.tw-tree__node circle.ring { fill: rgba(13, 11, 23, 0.9); stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.2; }
.tw-tree__node text { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: var(--text); text-anchor: middle; dominant-baseline: central; }
.tw-tree__node--root circle.ring { stroke: url(#twEdge); stroke-width: 2; }
.tw-tree__node--root text { font-family: var(--display); font-size: 14px; }
.tw-tree__node--l circle.ring { stroke: rgba(255, 214, 102, 0.7); }
.tw-tree__node--r circle.ring { stroke: rgba(255, 168, 38, 0.7); }
@keyframes tw-pop {
    0% { opacity: 0; transform: scale(0.4); }
    100% { opacity: 1; transform: scale(1); }
}
.tw-tree__halo { fill: url(#twHalo); animation: tw-breathe 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes tw-breathe {
    50% { transform: scale(1.18); opacity: 0.6; }
}
.tw-tree__pulse { fill: #fff; filter: drop-shadow(0 0 6px var(--cyan)); }

.tw-chip-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: rgba(17, 14, 30, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8);
    font-size: 13px;
    white-space: nowrap;
    animation: tw-float 6s ease-in-out infinite;
}
.tw-chip-float b { display: block; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--text); }
.tw-chip-float small { display: block; color: var(--muted); font-size: 11.5px; }
.tw-chip-float__ic {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--grad-soft);
    color: var(--mint);
}
.tw-chip-float--a { left: -26px; top: 18%; }
.tw-chip-float--b { right: -22px; top: 9%; animation-delay: -2s; }
.tw-chip-float--c { left: 12%; bottom: -22px; animation-delay: -4s; }
@keyframes tw-float {
    50% { transform: translateY(-10px); }
}

/* ---------- marquee ---------- */
.tw-marquee {
    position: relative;
    display: flex;
    overflow: hidden;
    padding: 22px 0;
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tw-marquee__track {
    display: flex;
    flex: none;
    gap: 48px;
    padding-right: 48px;
    animation: tw-marquee 38s linear infinite;
}
.tw-marquee:hover .tw-marquee__track { animation-play-state: paused; }
.tw-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    font-family: var(--display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--muted);
    white-space: nowrap;
}
.tw-marquee__item::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--grad);
    transform: rotate(45deg);
}
@keyframes tw-marquee {
    to { transform: translateX(-100%); }
}

/* ---------- stats ---------- */
.tw-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}
.tw-stat {
    position: relative;
    padding: 30px 28px;
}
.tw-stat + .tw-stat { border-left: 1px solid var(--line); }
.tw-stat__value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--display);
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}
.tw-stat__value small { font-size: 0.42em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tw-stat__label { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- cards ---------- */
.tw-card {
    --sx: 50%;
    --sy: 50%;
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.35s, transform 0.5s var(--ease);
}
.tw-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(245, 197, 66, 0.16), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s;
}
a.tw-card { display: block; }
.tw-card:hover { border-color: rgba(255, 214, 102, 0.32); }
.tw-card:hover::before { opacity: 1; }
.tw-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.tw-card p { color: var(--muted); font-size: 15px; }
.tw-card p:last-child { margin-bottom: 0; }

.tw-ic {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: var(--grad-soft);
    color: var(--violet-2);
}
.tw-ic .tw-icon { width: 24px; height: 24px; }

.tw-grid { display: grid; gap: 20px; }
.tw-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tw-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* income bento */
.tw-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.tw-bento > * { grid-column: span 2; }
.tw-bento > .is-wide { grid-column: span 3; }
.tw-bento > .is-hero { grid-column: span 4; grid-row: span 2; }

.tw-income {
    display: flex;
    flex-direction: column;
    min-height: 260px;
}
.tw-income__num {
    position: absolute;
    top: 24px;
    right: 26px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--dim);
}
.tw-income p { flex: 1; }
.tw-income .tw-link { margin-top: 18px; }
.tw-income.is-hero {
    justify-content: flex-end;
    min-height: 100%;
    padding: 38px;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 168, 38, 0.16), transparent 45%),
        radial-gradient(circle at 10% 100%, rgba(245, 197, 66, 0.24), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.tw-income.is-hero h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tw-income.is-hero p { flex: 0; font-size: 16px; max-width: 520px; }
.tw-income__art {
    position: absolute;
    top: 64px;
    right: 32px;
    width: 46%;
    max-width: 280px;
    opacity: 0.9;
}
.tw-income__art .bar {
    fill: url(#twBar);
    transform-box: fill-box;
    transform-origin: bottom;
    transform: scaleY(0.1);
    transition: transform 1.2s var(--ease);
}
.is-in .tw-income__art .bar { transform: scaleY(1); }

/* ---------- steps ---------- */
.tw-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: step;
}
.tw-steps__line {
    position: absolute;
    top: 38px;
    left: 32px;
    right: calc((100% - 40px) / 3 - 32px);
    height: 1px;
    background: var(--line-2);
    overflow: hidden;
}
.tw-steps__line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    transform-origin: 0 50%;
    transform: scaleX(0);
    transition: transform 1.6s var(--ease) 0.3s;
}
.tw-steps.is-in .tw-steps__line::after { transform: scaleX(1); }
.tw-step { position: relative; padding-top: 6px; }
.tw-step__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 26px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: var(--bg-2);
    color: var(--cyan);
    box-shadow: 0 0 0 8px var(--bg);
}
.tw-step__dot .tw-icon { width: 24px; height: 24px; }
.tw-step__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }
.tw-step h3 { margin: 8px 0 10px; font-size: 1.3rem; }
.tw-step p { color: var(--muted); font-size: 15px; max-width: 330px; }

/* ---------- level explorer ---------- */
.tw-explorer {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 20px;
    align-items: stretch;
}
.tw-explorer__chart {
    display: flex;
    flex-direction: column;
    padding: 28px;
}
.tw-bars {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    align-items: end;
    gap: 6px;
    min-height: 230px;
    margin-top: 18px;
}
.tw-bars button {
    position: relative;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
}
.tw-bars button span {
    display: block;
    width: 100%;
    height: var(--h);
    min-height: 6px;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, rgba(255, 214, 102, 0.55), rgba(245, 197, 66, 0.15));
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 0.9s var(--ease), background 0.3s, box-shadow 0.3s;
    transition-delay: calc(var(--i) * 40ms);
}
.tw-explorer.is-in .tw-bars button span { transform: scaleY(1); }
.tw-bars button:hover span { background: linear-gradient(180deg, rgba(255, 168, 38, 0.8), rgba(255, 168, 38, 0.15)); }
.tw-bars button[aria-pressed='true'] span {
    background: var(--grad);
    box-shadow: 0 0 22px rgba(255, 168, 38, 0.45);
}
.tw-bars__axis {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 6px;
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--dim);
    text-align: center;
}
.tw-explorer__detail { padding: 32px; }
.tw-explorer__level {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.tw-explorer__level h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.tw-explorer__total { text-align: right; }
.tw-explorer__total small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--mono); }
.tw-explorer__total b { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; }
.tw-kv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.tw-kv div {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}
.tw-kv small { display: block; margin-bottom: 4px; font-size: 12.5px; color: var(--muted); }
.tw-kv b { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.tw-kv .is-accent b { color: var(--mint); }
.tw-explorer__note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.tw-explorer__note[hidden] { display: none; }
.tw-explorer__note .tw-icon { color: var(--amber); }
.tw-stack { display: grid; gap: 20px; justify-items: start; }
.tw-stack > * { margin: 0; }
.tw-swap { animation: tw-swap 0.45s var(--ease); }
@keyframes tw-swap {
    from { opacity: 0.2; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

/* ---------- package ---------- */
.tw-pack-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.tw-pack {
    position: relative;
    padding: 2px;
    border-radius: 30px;
    background: conic-gradient(from var(--tw-angle), rgba(245, 197, 66, 0.1), #f5c542, #ffa826, #ffe9a3, rgba(255, 168, 38, 0.1) 40%, rgba(245, 197, 66, 0.1));
    animation: tw-spin 6s linear infinite;
}
@keyframes tw-spin {
    to { --tw-angle: 360deg; }
}
.tw-pack__inner {
    position: relative;
    padding: 38px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 197, 66, 0.2), transparent 50%),
        var(--bg-2);
}
.tw-pack__tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 233, 163, 0.1);
    color: var(--mint);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tw-pack__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 22px 0 6px;
    font-family: var(--display);
    font-size: clamp(3.4rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}
.tw-pack__price small { font-size: 1.2rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tw-pack__sub { color: var(--muted); margin-bottom: 26px; }
.tw-checks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.tw-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.tw-checks li .tw-icon {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(255, 233, 163, 0.12);
    color: var(--mint);
    margin-top: 1px;
}

/* ---------- faq ---------- */
.tw-faq { display: grid; gap: 12px; }
.tw-faq__item {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s, background-color 0.3s;
}
.tw-faq__item[open] { border-color: rgba(255, 214, 102, 0.35); background: rgba(245, 197, 66, 0.06); }
.tw-faq__item summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
}
.tw-faq__item summary::-webkit-details-marker { display: none; }
.tw-faq__n { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.tw-faq__q { flex: 1; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.tw-faq__toggle {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    flex: none;
    transition: transform 0.4s var(--ease), background-color 0.3s;
}
.tw-faq__item[open] .tw-faq__toggle { transform: rotate(45deg); background: var(--text); color: var(--bg); }
.tw-faq__a { padding: 0 22px 22px 56px; color: var(--muted); }
.tw-faq__a p { margin: 0; }
.tw-faq__item[open] .tw-faq__a { animation: tw-swap 0.45s var(--ease); }
.tw-faq__item.is-hidden { display: none; }

.tw-search {
    position: relative;
    max-width: 560px;
    margin: 0 auto 36px;
}
.tw-search .tw-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.tw-search input {
    width: 100%;
    height: 58px;
    padding: 0 20px 0 52px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.tw-search input:focus { border-color: rgba(255, 214, 102, 0.6); box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.15); }
.tw-empty { display: none; text-align: center; color: var(--muted); padding: 24px; }
.tw-empty.is-visible { display: block; }

/* ---------- cta ---------- */
.tw-cta {
    position: relative;
    padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
    border: 1px solid var(--line-2);
    border-radius: 36px;
    background: linear-gradient(160deg, #18120a, #0b0805 60%);
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}
.tw-cta__orb {
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: -1;
    width: 900px;
    height: 900px;
    transform: translate(-50%, -38%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 66, 0.55), rgba(255, 168, 38, 0.2) 40%, transparent 65%);
    filter: blur(20px);
    animation: tw-breathe 7s ease-in-out infinite;
}
.tw-cta__rings span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.tw-cta__rings span:nth-child(1) { width: 420px; height: 420px; }
.tw-cta__rings span:nth-child(2) { width: 680px; height: 680px; }
.tw-cta__rings span:nth-child(3) { width: 960px; height: 960px; }
.tw-cta__body { display: grid; justify-items: center; gap: 20px; max-width: 720px; margin: 0 auto; }
.tw-cta__body p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 560px; }
.tw-cta .tw-actions { justify-content: center; margin-top: 8px; }

/* ---------- inner page hero ---------- */
.tw-phero {
    position: relative;
    padding: calc(var(--nav-h) + 90px) 0 clamp(56px, 7vw, 90px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.tw-phero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse 60% 70% at 70% 30%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 30%, #000, transparent 70%);
}
.tw-phero__bg span {
    position: absolute;
    right: 8%;
    top: 30%;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 214, 102, 0.2);
    border-radius: 50%;
    animation: tw-orbit 22s linear infinite;
}
.tw-phero__bg span:nth-child(2) { width: 220px; height: 220px; right: calc(8% + 60px); top: calc(30% + 60px); border-color: rgba(255, 168, 38, 0.22); animation-direction: reverse; animation-duration: 16s; }
.tw-phero__bg span::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan);
}
@keyframes tw-orbit {
    to { transform: rotate(360deg); }
}
.tw-phero__title {
    margin: 22px 0 18px;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    max-width: 880px;
}
.tw-phero__lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 640px; margin: 0; }
.tw-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 13.5px;
    color: var(--dim);
}
.tw-crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color 0.2s; }
.tw-crumbs a:hover { color: var(--text); }
.tw-crumbs .tw-icon { width: 15px; height: 15px; }
.tw-crumbs [aria-current] { color: var(--text); }

/* ---------- plan page ---------- */
.tw-plan {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
}
.tw-toc {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
}
.tw-toc__title { padding: 6px 12px 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.tw-toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--muted);
    transition: color 0.25s, background-color 0.25s;
}
.tw-toc a .tw-icon { width: 17px; height: 17px; }
.tw-toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.tw-toc a.is-active { color: var(--text); background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(255, 214, 102, 0.25); }

.tw-plan__body { display: grid; gap: clamp(72px, 9vw, 110px); min-width: 0; }
.tw-block { min-width: 0; scroll-margin-top: calc(var(--nav-h) + 30px); }
.tw-block__head { display: grid; gap: 14px; margin-bottom: 30px; }
.tw-block__k {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--violet-2);
}
.tw-block__k .tw-icon { width: 18px; height: 18px; }
.tw-block__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.tw-block__head p { color: var(--muted); margin: 0; max-width: 720px; }

.tw-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}
.tw-flow__node {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}
.tw-flow__node b {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    font-family: var(--display);
    font-size: 18px;
}
.tw-flow__node.is-earn { border-color: rgba(255, 233, 163, 0.35); background: rgba(255, 233, 163, 0.05); }
.tw-flow__node.is-earn b { background: var(--mint); color: #04201a; border-color: transparent; }
.tw-flow__node small { display: block; color: var(--muted); font-size: 13.5px; }
.tw-flow__arrow { color: var(--dim); }
.tw-flow__arrow .tw-icon { width: 22px; height: 22px; }

.tw-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tw-rules li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.tw-rules li .tw-icon { color: var(--mint); margin-top: 3px; }

.tw-note {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
    border: 1px dashed rgba(251, 191, 36, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(251, 191, 36, 0.05);
    color: var(--muted);
    font-size: 14.5px;
}
.tw-note .tw-icon { color: var(--amber); width: 22px; height: 22px; margin-top: 1px; }
.tw-note p { margin: 0; }

.tw-table-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.015);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 214, 102, 0.4) transparent;
}
.tw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    white-space: nowrap;
}
.tw-table th, .tw-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tw-table thead th {
    position: sticky;
    top: 0;
    background: #130e07;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.tw-table tbody tr { transition: background-color 0.2s; }
.tw-table tbody tr:hover { background: rgba(245, 197, 66, 0.07); }
.tw-table td { font-family: var(--mono); color: var(--text); }
.tw-table td:first-child { font-family: var(--display); font-weight: 600; }
.tw-table tr.is-flag td { background: rgba(251, 191, 36, 0.06); }
.tw-table tr.is-flag td:first-child { box-shadow: inset 3px 0 0 var(--amber); }
.tw-table tfoot td, .tw-table tfoot th {
    border-bottom: 0;
    background: rgba(255, 233, 163, 0.06);
    color: var(--mint);
    font-family: var(--mono);
    font-weight: 600;
}
.tw-table .is-muted { color: var(--dim); }
.tw-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.tw-legend span { display: inline-flex; align-items: center; gap: 8px; }
.tw-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--amber); opacity: 0.7; }

.tw-levels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}
.tw-level {
    position: relative;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tw-level:hover { border-color: rgba(255, 168, 38, 0.4); transform: translateY(-3px); }
.tw-level__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.tw-level__v { margin: 6px 0 8px; font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; }
.tw-level__d { font-size: 13px; color: var(--muted); }
.tw-level--total { border-color: rgba(255, 233, 163, 0.35); background: rgba(255, 233, 163, 0.06); }
.tw-level--total .tw-level__v { color: var(--mint); }

.tw-ranks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.tw-rank {
    --rank: #cd7f32;
    position: relative;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, color-mix(in srgb, var(--rank) 12%, transparent), rgba(255, 255, 255, 0.01) 60%);
    overflow: hidden;
}
.tw-rank::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--rank);
}
.tw-rank--silver { --rank: #cbd5e1; }
.tw-rank--gold { --rank: #fbbf24; }
.tw-rank--platinum { --rank: #ffd27a; }
.tw-rank--diamond { --rank: #ffe08a; }
.tw-rank__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tw-rank__top span { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.tw-rank__top .tw-icon { color: var(--rank); width: 26px; height: 26px; }
.tw-rank h3 { font-size: 1.3rem; margin-bottom: 6px; }
.tw-rank p { font-size: 14px; color: var(--muted); min-height: 44px; }
.tw-rank__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.tw-rank__nums small { display: block; font-size: 11.5px; color: var(--dim); }
.tw-rank__nums b { font-family: var(--mono); font-size: 16px; color: var(--rank); }
.tw-rank__each { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- about / misc ---------- */
.tw-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
.tw-bigquote {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.25;
}
.tw-bigquote span { color: var(--dim); }
.tw-orbitvis {
    position: relative;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
}
.tw-orbitvis__ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    animation: tw-orbit 40s linear infinite;
}
.tw-orbitvis__ring:nth-child(2) { inset: 16%; animation-direction: reverse; animation-duration: 30s; border-style: dashed; }
.tw-orbitvis__ring:nth-child(3) { inset: 32%; animation-duration: 20s; }
.tw-orbitvis__ring i {
    position: absolute;
    top: 50%;
    left: -22px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: var(--bg-2);
    color: var(--violet-2);
}
.tw-orbitvis__ring i:nth-child(2) { left: auto; right: -22px; color: var(--cyan); }
.tw-orbitvis__ring i .tw-icon { width: 20px; height: 20px; }
.tw-orbitvis__core {
    position: absolute;
    inset: 40%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 66, 0.45), rgba(13, 11, 23, 0.9) 70%);
    box-shadow: 0 0 80px rgba(245, 197, 66, 0.5);
}
.tw-orbitvis__core img { width: 70%; height: 70%; object-fit: contain; }

.tw-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
.tw-fact {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}
.tw-fact small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.tw-fact b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; }

/* ---------- contact ---------- */
.tw-contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; align-items: start; }
.tw-contact__list { display: grid; gap: 12px; }
.tw-contact__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tw-contact__item:hover { border-color: rgba(255, 214, 102, 0.4); transform: translateX(4px); }
.tw-contact__item .tw-ic { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.tw-contact__item small { display: block; font-size: 12.5px; color: var(--muted); }
.tw-contact__item b { font-family: var(--display); font-weight: 600; }

.tw-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tw-form .is-full { grid-column: 1 / -1; }
.tw-field { position: relative; }
.tw-field input, .tw-field textarea {
    width: 100%;
    padding: 24px 18px 10px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    font: inherit;
    outline: none;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.tw-field textarea { min-height: 150px; }
.tw-field label {
    position: absolute;
    left: 18px;
    top: 17px;
    color: var(--dim);
    font-size: 15px;
    pointer-events: none;
    transform-origin: 0 0;
    transition: transform 0.25s var(--ease), color 0.25s;
}
.tw-field input:focus, .tw-field textarea:focus { border-color: rgba(255, 214, 102, 0.7); box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.14); background: rgba(245, 197, 66, 0.05); }
.tw-field input:focus + label, .tw-field input:not(:placeholder-shown) + label,
.tw-field textarea:focus + label, .tw-field textarea:not(:placeholder-shown) + label {
    transform: translateY(-10px) scale(0.78);
    color: var(--violet-2);
}
.tw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tw-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
}
.tw-alert--ok { border: 1px solid rgba(255, 233, 163, 0.35); background: rgba(255, 233, 163, 0.08); color: #c8fff0; }
.tw-alert--err { border: 1px solid rgba(251, 113, 133, 0.4); background: rgba(251, 113, 133, 0.08); color: #ffd5dc; }

/* ---------- legal prose ---------- */
.tw-prose {
    max-width: 820px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15.5px;
}
.tw-prose h2 { font-size: 1.6rem; color: var(--text); margin-bottom: 8px; }
.tw-prose h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 40px 0 14px;
    font-size: 1.2rem;
    color: var(--text);
}
.tw-prose h4::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
}
.tw-prose ul, .tw-prose ol { padding-left: 20px; margin: 0; display: grid; gap: 8px; }
.tw-prose li::marker { color: var(--violet-2); }
.tw-prose a { color: var(--cyan); }
.tw-prose .last-updated { font-family: var(--mono); font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.tw-prose .section p { margin-bottom: 0.8em; }
.tw-prose br { display: none; }
.tw-prose strong.text-white { color: var(--text); }

/* ---------- 404 ---------- */
.tw-404 {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: calc(var(--nav-h) + 40px) 0 60px;
    text-align: center;
}
.tw-404__code {
    position: relative;
    font-family: var(--display);
    font-size: clamp(7rem, 24vw, 16rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.9;
}
.tw-404__code::before, .tw-404__code::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background: var(--bg);
    overflow: hidden;
}
.tw-404__code::before { left: 3px; text-shadow: -2px 0 var(--cyan); animation: tw-glitch 2.8s infinite linear alternate-reverse; }
.tw-404__code::after { left: -3px; text-shadow: 2px 0 var(--violet); animation: tw-glitch 3.4s infinite linear alternate-reverse; }
@keyframes tw-glitch {
    0% { clip-path: inset(10% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(30% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(5% 0 70% 0); }
    100% { clip-path: inset(45% 0 35% 0); }
}
.tw-404 p { color: var(--muted); max-width: 440px; margin: 20px auto 30px; }
.tw-404 .tw-actions { justify-content: center; }

/* ---------- footer ---------- */
.tw-footer {
    position: relative;
    margin-top: 40px;
    padding: 80px 0 32px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(13, 11, 23, 0.9));
    overflow: hidden;
}
.tw-footer__top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
}
.tw-footer__brand p { color: var(--muted); font-size: 15px; max-width: 340px; margin: 20px 0; }
.tw-footer__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-footer__chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--muted);
}
.tw-footer__chips .tw-icon { width: 15px; height: 15px; color: var(--mint); }
.tw-footer__col { display: grid; align-content: start; gap: 12px; }
.tw-footer__col h3 { margin-bottom: 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.tw-footer__col a { font-size: 15px; color: var(--muted); transition: color 0.2s, transform 0.3s var(--ease); width: fit-content; }
.tw-footer__col a:hover { color: var(--text); transform: translateX(3px); }
.tw-footer__word {
    margin: 50px 0 10px;
    font-family: var(--display);
    font-size: clamp(5rem, 21vw, 17rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.85;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, rgba(245, 197, 66, 0.22), transparent 85%);
    -webkit-background-clip: text;
    background-clip: text;
    user-select: none;
}
.tw-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--dim);
}

/* ---------- reveal ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
    transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .tw-nav__links { display: none; }
    .tw-burger { display: block; }
    .tw-nav__actions { margin-left: auto; }
    .tw-bento > *, .tw-bento > .is-wide { grid-column: span 3; }
    .tw-bento > .is-hero { grid-column: span 6; grid-row: auto; min-height: 380px; }
    .tw-plan { grid-template-columns: 1fr; }
    .tw-toc {
        position: sticky;
        top: 86px;
        z-index: 20;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding: 8px;
        background: rgba(13, 11, 23, 0.86);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        scrollbar-width: none;
    }
    .tw-toc::-webkit-scrollbar { display: none; }
    .tw-toc__title { display: none; }
    .tw-toc a { flex: none; white-space: nowrap; }
    .tw-footer__top { grid-template-columns: 1fr 1fr 1fr; }
    .tw-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .tw-hero__layout, .tw-split, .tw-pack-wrap, .tw-explorer, .tw-contact { grid-template-columns: 1fr; }
    .tw-hero { padding-top: calc(var(--nav-h) + 56px); }
    .tw-tree { max-width: 520px; margin: 30px auto 0; width: 100%; }
    .tw-head--split { grid-template-columns: 1fr; }
    .tw-head--split .tw-lead { justify-self: start; }
    .tw-stats { grid-template-columns: repeat(2, 1fr); }
    .tw-stat:nth-child(3) { border-left: 0; }
    .tw-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .tw-grid--3, .tw-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .tw-steps { grid-template-columns: 1fr; gap: 34px; }
    .tw-steps__line { top: 32px; bottom: 32px; left: 31px; right: auto; width: 1px; height: auto; }
    .tw-steps__line::after { transform-origin: 50% 0; transform: scaleY(0); }
    .tw-steps.is-in .tw-steps__line::after { transform: scaleY(1); }
    .tw-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; padding: 0; }
    .tw-step__dot { grid-row: span 3; margin: 0; }
    .tw-flow { grid-template-columns: 1fr; }
    .tw-flow__arrow { justify-self: center; transform: rotate(90deg); }
}

@media (max-width: 640px) {
    :root { --nav-h: 64px; }
    .tw-container { padding: 0 18px; }
    .tw-nav { inset: 10px 0 auto 0; padding: 0 10px; }
    .tw-nav__inner { padding: 0 8px 0 12px; }
    .tw-nav.is-scrolled .tw-nav__inner { height: 58px; }
    .tw-nav__login { display: none; }
    .tw-nav__actions .tw-btn { display: none; }
    .tw-brand__text { font-size: 17px; }
    .tw-brand img { width: 36px; height: 36px; }
    .tw-bento > *, .tw-bento > .is-wide, .tw-bento > .is-hero { grid-column: span 6; }
    .tw-income__art { display: none; }
    .tw-grid--2, .tw-grid--3, .tw-grid--4, .tw-kv, .tw-facts, .tw-form { grid-template-columns: 1fr; }
    .tw-chip-float { transform: scale(0.86); }
    .tw-chip-float--a { left: -6px; }
    .tw-chip-float--b { right: -6px; }
    .tw-card, .tw-explorer__detail, .tw-explorer__chart { padding: 22px; }
    .tw-pack__inner { padding: 28px 22px; }
    .tw-bars { gap: 3px; min-height: 180px; }
    .tw-bars__axis { gap: 3px; font-size: 9px; }
    .tw-faq__a { padding-left: 22px; }
    .tw-footer__top { grid-template-columns: 1fr 1fr; }
    .tw-actions .tw-btn { flex: 1 1 100%; }
    .tw-hero__trust { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .tw-marquee__track { animation: none; }
    .tw-tree__pulse { display: none; }
    .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}


/* =====================================================================
   Black & Gold theme layer
   ===================================================================== */
:root {
    --gold: linear-gradient(110deg, #e9a91f 0%, #ffd447 18%, #fff4c4 34%, #ffd447 50%, #e9a91f 66%, #ffcf3f 84%, #e9a91f 100%);
    --gold-solid: #f5c542;
    --gold-line: rgba(245, 197, 66, 0.26);
    --gold-glow: 0 0 0 1px rgba(245, 197, 66, 0.22), 0 24px 60px -24px rgba(245, 197, 66, 0.55);
    --grad: var(--gold);
    --grad-soft: linear-gradient(135deg, rgba(245, 197, 66, 0.2), rgba(255, 168, 38, 0.08));
}

body.tw {
    background:
        radial-gradient(1100px 620px at 85% -12%, rgba(245, 197, 66, 0.14), transparent 62%),
        radial-gradient(900px 520px at -12% 38%, rgba(255, 168, 38, 0.08), transparent 60%),
        var(--bg);
}
body.tw::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 230, 150, 0.9), transparent 60%),
        radial-gradient(1px 1px at 28% 72%, rgba(255, 220, 120, 0.8), transparent 60%),
        radial-gradient(1.5px 1.5px at 46% 34%, rgba(255, 240, 180, 0.7), transparent 60%),
        radial-gradient(1px 1px at 64% 82%, rgba(255, 210, 110, 0.8), transparent 60%),
        radial-gradient(2px 2px at 78% 26%, rgba(255, 236, 160, 0.75), transparent 60%),
        radial-gradient(1px 1px at 90% 60%, rgba(255, 220, 130, 0.8), transparent 60%),
        radial-gradient(1.5px 1.5px at 6% 88%, rgba(255, 230, 150, 0.7), transparent 60%);
    animation: tw-twinkle 5s ease-in-out infinite alternate;
}
@keyframes tw-twinkle {
    0% { opacity: 0.35; }
    100% { opacity: 1; }
}
@keyframes tw-gold-flow {
    to { background-position: 200% 0; }
}
@keyframes tw-shine {
    0% { transform: translateX(-120%) skewX(-20deg); }
    60%, 100% { transform: translateX(260%) skewX(-20deg); }
}

::selection { background: rgba(245, 197, 66, 0.55); color: #1a1205; }
html { scrollbar-color: #c88a14 #0b0805; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0805; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #f5c542, #a86f0c); border-radius: 10px; border: 2px solid #0b0805; }

.tw-grad {
    background: var(--gold);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: tw-gold-flow 5s linear infinite;
}
.tw-eyebrow { border-color: var(--gold-line); background: rgba(245, 197, 66, 0.06); color: #ffe08a; }
.tw-eyebrow i, .tw-eyebrow i::after { background: var(--gold-solid); border-color: var(--gold-solid); box-shadow: 0 0 14px var(--gold-solid); }

.tw-btn--primary {
    overflow: hidden;
    border: 1px solid rgba(255, 236, 170, 0.6);
    background: var(--gold);
    background-size: 200% 100%;
    color: #1a1205;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 34px -10px rgba(245, 197, 66, 0.85);
    animation: tw-gold-flow 6s linear infinite;
}
.tw-btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: tw-shine 3.2s ease-in-out infinite;
    pointer-events: none;
}
.tw-btn--primary:hover { background: var(--gold); background-size: 200% 100%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 44px -10px rgba(245, 197, 66, 1); }
.tw-btn--ghost { border-color: var(--gold-line); color: #ffe7a3; }
.tw-btn--ghost:hover { border-color: rgba(245, 197, 66, 0.75); background: rgba(245, 197, 66, 0.12); box-shadow: 0 0 24px -6px rgba(245, 197, 66, 0.6); color: #fff4cf; }
.tw-link { color: #ffd666; }
.tw-link:hover { color: #fff1b0; }

.tw-nav.is-scrolled .tw-nav__inner {
    border-color: var(--gold-line);
    background: rgba(10, 8, 4, 0.82);
    box-shadow: 0 0 0 1px rgba(245, 197, 66, 0.08), 0 20px 50px -20px rgba(0, 0, 0, 0.85), 0 8px 30px -18px rgba(245, 197, 66, 0.5);
}
.tw-progress span { background: var(--gold); box-shadow: 0 0 12px rgba(245, 197, 66, 0.8); }

.tw-marquee {
    border-block: 1px solid rgba(255, 236, 170, 0.5);
    background: var(--gold);
    background-size: 200% 100%;
    animation: tw-gold-flow 9s linear infinite;
}
.tw-marquee__item { color: #1a1205; }
.tw-marquee__item::after { background: #1a1205 !important; }

.tw-card, .tw-fact, .tw-level, .tw-flow__node, .tw-faq__item, .tw-contact__item, .tw-step, .tw-block .tw-card, .tw-toc, .tw-note, .tw-explorer {
    border-color: var(--gold-line);
}
.tw-card { background: linear-gradient(165deg, rgba(245, 197, 66, 0.09), rgba(255, 255, 255, 0.015) 45%, rgba(255, 168, 38, 0.04)); }
.tw-card:hover, .tw-fact:hover, .tw-level:hover, .tw-faq__item:hover {
    border-color: rgba(245, 197, 66, 0.6);
    box-shadow: var(--gold-glow);
}
.tw-ic {
    border: 1px solid rgba(255, 236, 170, 0.55);
    background: var(--gold);
    background-size: 200% 100%;
    color: #1a1205;
    box-shadow: 0 10px 26px -10px rgba(245, 197, 66, 0.8);
}
.tw-stat__value, .tw-level__v, .tw-pack__price, .tw-explorer__total, .tw-fact b {
    background: var(--gold);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: tw-gold-flow 7s linear infinite;
}
.tw-level--total { border-color: rgba(245, 197, 66, 0.7); box-shadow: var(--gold-glow); }
.tw-pack__inner { box-shadow: inset 0 0 80px -30px rgba(245, 197, 66, 0.35); }

.tw-table thead th { background: linear-gradient(180deg, rgba(245, 197, 66, 0.18), rgba(245, 197, 66, 0.06)); color: #ffe08a; border-bottom-color: var(--gold-line); }
.tw-table tfoot td { color: #ffd666; border-top-color: var(--gold-line); }
.tw-table tr.is-flag td { background: rgba(245, 197, 66, 0.08); }

.tw-faq__n, .tw-income__num, .tw-block__k, .tw-step__k { color: #ffd666; }
.tw-footer { border-top: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(245, 197, 66, 0.05), transparent 40%); }
.tw-footer__word {
    background: var(--gold);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.9;
    animation: tw-gold-flow 10s linear infinite;
}
.tw-field input:focus, .tw-field textarea:focus, .tw-field select:focus, .tw-search input:focus {
    border-color: rgba(245, 197, 66, 0.7);
    box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    body.tw::before, .tw-btn--primary, .tw-btn--primary::after, .tw-marquee, .tw-grad, .tw-stat__value, .tw-level__v, .tw-pack__price, .tw-explorer__total, .tw-fact b, .tw-footer__word { animation: none; }
}