:root {
  --bg: #05070a;
  --bg-2: #090d13;
  --panel: #0d1219;
  --panel-2: #131a24;
  --line: #1b2430;
  --line-2: #2a3544;
  --text: #e6e9ee;
  --muted: #8892a1;
  --accent: #f7931a;
  --accent-2: #ffb85c;
  --accent-dim: #2e1c05;
  --up: #3ddc84;
  --down: #ff5c5c;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --radius: 6px;
  --blue: #4f8cff;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #111; padding: 8px 14px; z-index: 50; border-radius: var(--radius); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(8, 9, 11, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); min-height: 64px; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 15px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.brand b { color: var(--accent); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M3 21 9 12l4 5 6-12 6 10' fill='none' stroke='%23f7931a' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center/78% no-repeat, var(--panel); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; color: var(--muted); font: 500 14px var(--sans); padding: 8px 12px; transition: color .2s; white-space: nowrap; }
.brand { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) { .bar { gap: 10px; } .brand { font-size: 13px; letter-spacing: .06em; } .nav { gap: 0; } .nav-link { padding: 8px 8px; font-size: 13.5px; } .nav-link::after { left: 8px; right: 8px; } .bar-right { gap: 10px; } .nav-cta { padding-inline: 10px; } }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link.on { color: var(--text); text-decoration: none; }
.nav-link:hover::after, .nav-link.on::after { transform: scaleX(1); }
.bar-right { display: flex; align-items: center; gap: 16px; }
.lang-pending body { visibility: hidden; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.lang-switch button { background: none; border: 0; border-radius: 999px; padding: 4px 9px; min-height: 28px; font: 600 11px var(--mono); letter-spacing: .06em; color: var(--muted); cursor: pointer; }
.lang-switch button.on { background: var(--accent); color: #111; }
.lang-switch button:not(.on):hover { color: var(--text); }
.nav-login { color: var(--muted); font: 13px var(--mono); } .nav-login:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 860px) {
  .site-header { min-height: 0; }
  .bar { flex-wrap: wrap; height: auto; padding-block: 10px 0; row-gap: 4px; }
  .nav { order: 3; width: 100%; margin-inline: -20px; padding-inline: 20px; width: calc(100% + 40px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-link { white-space: nowrap; padding: 10px 8px; font-size: 13.5px; }
  .nav-link::after { left: 8px; right: 8px; bottom: 0; }
  .free-inner .muted { display: none; }
  .bar-right { margin-left: auto; }
}

/* ---------- Typography ---------- */
h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font: 600 clamp(36px, 6vw, 68px)/1.05 var(--serif); letter-spacing: -.02em; }
h1 em { font-style: italic; color: var(--accent); }
h2 { font: 600 clamp(26px, 3.4vw, 38px)/1.15 var(--serif); }
h3 { font: 600 17px var(--sans); }
.eyebrow, .label { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 14px; }
.label { margin: 0; letter-spacing: .1em; }
.eyebrow { color: var(--accent); }
.lede { font-size: clamp(17px, 2vw, 20px); color: #b6bbc4; max-width: 62ch; margin: 0 0 28px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
p { margin: 0 0 1em; }

/* ---------- Controls ---------- */
input[type=text], input[type=password], input[type=date], select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; min-height: 44px; font: inherit; color: inherit; transition: border-color .2s; }
input:hover, select:hover, textarea:hover { border-color: var(--line-2); }
textarea { resize: vertical; min-height: 90px; }
button { font: inherit; color: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #111; border: 0; border-radius: var(--radius); padding: 10px 18px; font: 700 13px var(--mono); letter-spacing: .03em; cursor: pointer; min-height: 44px; position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .25s, background .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(247, 147, 26, .7); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn.danger { background: transparent; color: var(--down); border: 1px solid var(--line); }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 12px; }
.btn.lg { min-height: 52px; padding: 12px 26px; font-size: 14px; }
.btn.block { width: 100%; }
.chip { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 15px; font: 12px var(--mono); color: var(--muted); cursor: pointer; min-height: 36px; transition: all .2s; }
.chip.on, .chip:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow { font: 600 13px var(--mono); color: var(--accent); display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: none; transform: translateX(4px); }
.link-arrow.back:hover { transform: translateX(-4px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 800px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 500px at 78% 30%, rgba(247, 147, 26, .10), transparent 65%), radial-gradient(700px 480px at 10% 90%, rgba(79, 140, 255, .09), transparent 60%), var(--bg); }
.atmo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 7, 10, .88) 0, rgba(5, 7, 10, .45) 48%, transparent 80%), linear-gradient(0deg, var(--bg) 0, transparent 30%); }
.hero-inner { position: relative; width: 100%; padding-block: clamp(72px, 14vh, 150px) clamp(64px, 10vh, 110px); }
.hero-inner h1 { max-width: 15ch; font-size: clamp(40px, 6.6vw, 84px); }
.hero-inner .lede { max-width: 54ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 40px; border: 1px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 640px) { .scroll-cue { display: none; } .hero-veil { background: linear-gradient(0deg, var(--bg) 0, rgba(5, 7, 10, .4) 60%, rgba(5, 7, 10, .55) 100%); } }

/* ---------- Sections ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.strip-grid > div { padding: 24px 20px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip-grid b { font: 600 30px var(--serif); color: var(--text); }
.strip-grid span { color: var(--muted); font-size: 14px; }
.section { padding-block: clamp(56px, 8vw, 100px); }
.dark-band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; max-width: none; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 24px 60px -30px rgba(247, 147, 26, .5); }
.feature p { color: var(--muted); margin: 0; }
.f-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font: 18px var(--mono); margin-bottom: 16px; }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.rule { display: flex; gap: 20px; align-items: baseline; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); cursor: default; transition: border-color .25s, transform .25s var(--ease), background .25s; }
.rule:hover, .rule:focus-visible { border-color: var(--accent); transform: translateX(8px); background: var(--panel-2); }
.rule p { margin: 0; font-size: 18px; }
.rule-n { font: 700 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .1em; min-width: 64px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; counter-reset: s; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.step { padding: 28px 24px; border-left: 1px solid var(--line); position: relative; counter-increment: s; transition: background .25s; }
.step:first-child { border-left: 0; }
.step:hover { background: var(--panel); }
.step::before { content: counter(s); font: 600 40px var(--serif); color: var(--accent); display: block; line-height: 1; margin-bottom: 12px; }
.step b { font: 700 14px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.step p { color: var(--muted); margin: 6px 0 0; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 5vw, 52px); margin-bottom: clamp(56px, 8vw, 100px); border: 1px solid var(--line-2); border-radius: 14px; background: radial-gradient(700px circle at 0% 0%, rgba(247, 147, 26, .16), transparent 60%), var(--panel); }
.cta-band h2 { margin-bottom: 6px; } .cta-band p { margin: 0; color: var(--muted); }
.page-head { padding-block: clamp(40px, 6vw, 80px) 24px; }
.page-head h1 { font-size: clamp(32px, 5vw, 54px); max-width: 20ch; }
.page-head.center { text-align: center; } .page-head.center h1, .page-head.center .lede { margin-inline: auto; }
.two-col { display: grid; gap: 40px; } @media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } .support { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.narrow { max-width: 760px; }
.notice { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--panel); padding: 22px 24px; }
.notice.small { display: inline-block; padding: 10px 16px; font-size: 14px; color: var(--accent-2); margin: 6px 0 24px; text-align: left; }
.plain { padding-left: 20px; } .plain li { margin: 6px 0; }

/* ---------- Pricing / FAQ ---------- */
.toggle { display: flex; gap: 8px; justify-content: center; }
.save { color: var(--up); margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.plans.two { max-width: 860px; margin-inline: auto; }
.plans.one { max-width: 520px; margin-inline: auto; grid-template-columns: 1fr; }
.paywall { display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(28px, 5vw, 48px) 20px; border: 1px solid #5a3b0b; border-radius: 14px; background: radial-gradient(500px circle at 50% 0%, rgba(247, 147, 26, .12), transparent 70%), var(--panel); }
.paywall b { font: 600 22px var(--serif); } .paywall p { margin: 0; } .paywall .ticks { text-align: left; margin: 6px 0 4px; flex: none; }
.paywall.compact { padding: 28px 18px; } .panel > .paywall, .tv-box > .paywall { border: 0; height: 100%; align-content: center; }
.lock-ico { font-size: 28px; line-height: 1; }
.card.locked .lock-thumb { display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); font: 600 13px var(--mono); background: repeating-linear-gradient(135deg, rgba(247,147,26,.05) 0 14px, transparent 14px 28px), linear-gradient(180deg, #111a28, #090d14); }
.detail-lock { padding-bottom: 64px; max-width: 720px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; display: flex; flex-direction: column; gap: 4px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-8px); border-color: var(--line-2); }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, #1a1208, var(--panel)); box-shadow: 0 30px 90px -40px rgba(247, 147, 26, .6); }
.ribbon { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #111; font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 3px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0; }
.price b { font: 600 52px var(--serif); line-height: 1; } .price span { color: var(--muted); font: 13px var(--mono); }
.ticks { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.ticks li { padding-left: 26px; position: relative; } .ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; list-style: none; position: relative; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 22px var(--mono); color: var(--accent); transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); } .faq summary:hover { color: var(--accent); }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); background: radial-gradient(800px 240px at 0% 0%, rgba(247, 147, 26, .07), transparent 70%), var(--bg-2); padding-top: 34px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .5; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 24px; }
.fineprint { font: 12px/1.6 var(--mono); color: var(--muted); border-top: 1px solid var(--line); padding-block: 22px 40px; margin: 26px 0 0; max-width: 980px; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; align-items: center; }
.filters input[type=text] { max-width: 260px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; padding-bottom: 56px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-6px); box-shadow: 0 26px 60px -28px rgba(247, 147, 26, .5); }
.thumb-wrap { overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel-2); }
.card .thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .thumb { transform: scale(1.06); }
.card .meta { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.card .asset { font: 700 17px var(--mono); }
.card .summary { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { font: 11px var(--mono); color: var(--accent); background: var(--accent-dim); padding: 2px 8px; border-radius: 3px; }
.badge { font: 11px var(--mono); padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); }
.badge.pub { color: var(--up); border-color: #1d4a33; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); font-family: var(--mono); grid-column: 1 / -1; }

/* ---------- Detail ---------- */
.detail { display: grid; gap: 24px; padding: 8px 0 64px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.chart { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.detail .panel { margin-top: 16px; } .detail aside.panel { margin-top: 0; }
.kv { display: grid; gap: 16px; }
.kv div p { margin: 2px 0 0; white-space: pre-wrap; }
.kv .inval p { color: var(--down); }
.body-text { white-space: pre-wrap; }
.back { margin-bottom: 18px; }

/* ---------- Forms / admin ---------- */
.login { max-width: 380px; margin: 60px auto; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 28px 0 20px; overflow-x: auto; align-items: center; }
.tabs-spacer { flex: 1; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: 13px var(--mono); color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .2s; }
.tab:hover { color: var(--text); } .tab.on { color: var(--accent); border-color: var(--accent); }
.form { display: grid; gap: 14px; padding-bottom: 48px; }
.form .two { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .two { grid-template-columns: 1fr 1fr; } .form .three { grid-template-columns: 2fr 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.panel.form { padding: 26px; }
.en-box summary { cursor: pointer; font: 700 13px var(--mono); color: var(--accent); }
.en-box[open] summary { margin-bottom: 12px; } .en-box .field + .field, .en-box .two { margin-top: 12px; }
.drop { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); cursor: pointer; font: 13px var(--mono); transition: all .2s; }
.drop.over, .drop:hover { border-color: var(--accent); color: var(--accent); }
.preview { max-height: 260px; margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.msg { font: 13px var(--mono); padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); }
.msg.err { color: var(--down); border-color: #5a2323; } .msg.ok { color: var(--up); border-color: #1d4a33; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.scroll-x { overflow-x: auto; }
.studio, .inbox { display: grid; gap: 20px; padding-bottom: 56px; }
.block:not(.btn) { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 12px; }
.msg-body { white-space: pre-wrap; margin: 0; }
.scene { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.slides canvas { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #000; }
.hidden { display: none !important; }
.free-bar { background: linear-gradient(90deg, #1f1304, #130d05); border-bottom: 1px solid #3a2509; font-size: 13px; }
.free-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-block: 8px; }
.free-inner b { color: var(--accent-2); } .free-inner a { margin-left: auto; font: 700 12px var(--mono); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #5a3b0b; background: rgba(247, 147, 26, .1); color: var(--accent-2); border-radius: 999px; padding: 6px 14px; font: 12px var(--mono); margin: 0 0 22px; }
.strip-note { font: 12px/1.6 var(--mono); color: var(--muted); margin-block: 0; padding-bottom: 18px; }
.free-card { display: grid; gap: 28px; align-items: center; border: 1px solid #5a3b0b; border-radius: 16px; padding: clamp(26px, 5vw, 52px); background: radial-gradient(700px circle at 0% 0%, rgba(247, 147, 26, .18), transparent 60%), var(--panel); }
@media (min-width: 900px) { .free-card { grid-template-columns: 1.2fr 1fr; } }
.free-card .lede { margin-bottom: 0; }
.signup-form { display: grid; gap: 8px; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; } .signup-row input { flex: 1 1 200px; width: auto; }
.fine { font: 12px/1.6 var(--mono); color: var(--muted); margin: 4px 0 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 8px 0 26px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; display: grid; gap: 4px; transition: border-color .3s, transform .3s var(--ease); }
.tile:hover { border-color: var(--accent); transform: translateY(-3px); }
.tile b { font: 600 38px var(--serif); line-height: 1.1; }
.table.depot .num { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.table.depot tbody tr { transition: background .2s; } .table.depot tbody tr:hover { background: var(--panel-2); }
.up { color: var(--up); } .down { color: var(--down); }
.dir { font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 1px 6px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--muted); }
.st { font: 11px var(--mono); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.st.hit { color: var(--up); border-color: #1d4a33; background: rgba(61, 220, 132, .08); } .st.stopped { color: var(--down); border-color: #5a2323; background: rgba(255, 92, 92, .08); }
.st.open { color: var(--accent-2); border-color: #5a3b0b; background: rgba(247, 147, 26, .08); } .st.watching { color: var(--blue); border-color: #1f3a6b; background: rgba(79, 140, 255, .08); }
.depot-note { margin: 12px 4px 56px; }
.panel .scroll-x { margin: -4px; }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(2, 4, 8, .82); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: tip .2s var(--ease); }
.modal-box { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 24px; width: min(760px, 100%); max-height: 90vh; overflow: auto; display: grid; gap: 14px; }
.modal-box h3 { margin: 0; padding-right: 36px; }
.modal-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: none; font-size: 22px; line-height: 1; cursor: pointer; }
.modal-x:hover { border-color: var(--accent); color: var(--accent); }
@keyframes tip { from { opacity: 0; } }
.steps-list { display: grid; gap: 12px; padding-left: 0; list-style: none; counter-reset: st; }
.steps-list li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps-list li::before { content: counter(st); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font: 700 13px var(--mono); }
.code { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font: 13px/1.6 var(--mono); overflow-x: auto; white-space: pre; display: block; }
.kv-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.legal-nav a { color: #b6bbc4; font: 13px var(--mono); background: linear-gradient(var(--accent), var(--accent)) 0 100%/0 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease), color .2s; }
.legal-nav a:hover { color: var(--accent); text-decoration: none; background-size: 100% 1px; }
.legal { max-width: 760px; padding-bottom: 64px; } .legal-p { white-space: pre-wrap; color: #c4c9d2; }
.lock-box { border: 1px dashed var(--accent); border-radius: var(--radius); padding: 16px; display: grid; gap: 8px; background: rgba(247, 147, 26, .06); justify-items: start; } .lock-box p { margin: 0; }
.lock-chip { font: 11px var(--mono); padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent); white-space: nowrap; } .lock-chip:hover { text-decoration: none; background: var(--accent-dim); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); } .check input { width: 18px; min-height: 18px; margin-top: 3px; flex: none; }
.auth-wrap { max-width: 480px; margin: 0 auto 64px; }
.auth-card { display: grid; gap: 14px; padding: clamp(20px, 4vw, 30px); }
.auth-card h2 { margin: 0; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); }
.auth-tab { border: 0; border-radius: 9px; padding: 10px 8px; min-height: 44px; background: none; color: var(--muted); font: 700 13px var(--mono); cursor: pointer; transition: background .2s, color .2s; }
.auth-tab.on { background: var(--accent); color: #111; } .auth-tab:not(.on):hover { color: var(--text); }
.auth-card .form { padding-bottom: 0; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--accent); font: 600 13px var(--mono); cursor: pointer; justify-self: center; }
.link-btn:hover { text-decoration: underline; }
.acc-card { display: grid; gap: 14px; margin-bottom: 18px; } .acc-card h2 { margin: 0; }
.account { padding-bottom: 64px; } .cta-col { display: grid; gap: 8px; justify-items: start; }
.progress { height: 8px; background: var(--panel-2); border-radius: 4px; overflow: hidden; } .progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s linear; }
.motion-video { width: min(360px, 100%); aspect-ratio: 9 / 16; background: #000; border: 1px solid var(--line-2); border-radius: 10px; }
.motion-out { display: grid; gap: 12px; }
.kv-line { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 4px 16px; padding-block: 8px; border-bottom: 1px solid var(--line); align-items: baseline; } .kv-line span:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv-line { grid-template-columns: 1fr; } }
.plain-set { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; } .plain-set legend { margin-bottom: 8px; padding: 0; }
.cancel { padding-bottom: 64px; max-width: 760px; } .legal-nav a.cancel-link { color: var(--accent); }
@media print { .site-header, .site-footer, .free-bar, .demo-banner, .row { display: none !important; } body { background: #fff; color: #000; } .panel { border-color: #999; background: #fff; } .label, .muted { color: #333; } }
.sub-box { display: grid; gap: 12px; justify-items: start; padding: 16px; border: 1px solid #5a3b0b; border-radius: var(--radius); background: rgba(247,147,26,.06); }
.demo-banner { background: var(--accent-dim); color: var(--accent-2); font: 12px var(--mono); padding: 8px 16px; text-align: center; }
.demo-banner b { color: var(--text); }

/* ---------- Home: hero layout, wave card, ticker ---------- */
.hero-inner { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.05fr 1fr; } .hero-inner h1 { font-size: clamp(44px, 5.2vw, 76px); } }
.hero-assets { font: 13px var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin: -4px 0 18px; }
.rot { display: inline-block; color: var(--accent-2); font-weight: 700; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.rot.out { opacity: 0; transform: translateY(-8px); }
.hero-fine { margin-top: 14px; }
.wave-card { margin: 0; position: relative; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 14px 8px; background: linear-gradient(160deg, rgba(19, 26, 36, .92), rgba(8, 11, 16, .92)); box-shadow: 0 40px 120px -50px rgba(247, 147, 26, .55), inset 0 1px 0 rgba(255, 255, 255, .04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wave-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .14em; color: var(--muted); padding: 2px 4px 8px; }
.wave-svg { width: 100%; height: auto; display: block; overflow: visible; }
.wave-svg .grid-lines line { stroke: var(--line); stroke-width: 1; }
.wave-svg .lvl { stroke-width: 1.2; stroke-dasharray: 5 5; }
.wave-svg .lvl-stop { stroke: var(--down); opacity: .7; } .wave-svg .lvl-target { stroke: var(--up); opacity: .7; }
.wave-svg .lvl-t { font: 700 9px var(--mono); letter-spacing: .12em; }
.wave-svg .lvl-t.stop { fill: var(--down); } .wave-svg .lvl-t.target { fill: var(--up); } .wave-svg .zone-t { fill: var(--blue); }
.wave-svg .zone { fill: rgba(79, 140, 255, .14); stroke: var(--blue); stroke-width: 1; }
.wave-svg .seg { stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(247, 147, 26, .55)); }
.wave-svg .seg.corr { stroke: var(--accent-2); stroke-width: 2.4; }
.wave-svg .lbl { opacity: 0; }
.wave-svg .lbl circle { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.wave-svg .lbl text { fill: var(--text); font: 700 14px var(--mono); }
.wave-svg .lbl.corr text { fill: var(--accent-2); }
.wave-svg .pulse { fill: var(--accent-2); opacity: 0; transform-box: fill-box; transform-origin: center; }
.wave-card.play .seg { animation: draw .55s var(--ease) forwards; animation-delay: calc(var(--i) * .55s + .2s); }
.wave-card.play .lbl { animation: pop .35s var(--ease) forwards; animation-delay: calc(var(--i) * .55s + .6s); }
.wave-card.play .pulse { animation: ping 1.6s ease-out 4.8s infinite; }
.wave-card.done .seg { stroke-dashoffset: 0; } .wave-card.done .lbl { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(3.6); } }
.ticker { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #07090d; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-set { display: flex; flex: none; }
.tk { display: inline-flex; align-items: center; gap: 6px; padding: 12px 26px; font: 13px var(--mono); color: var(--text); white-space: nowrap; border-right: 1px solid var(--line); }
.tk b { color: var(--accent); } .tk.fact { color: var(--muted); }
.tk .up, .tk .down { font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pt0 { padding-top: 0; }
.empty-card { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(36px, 6vw, 60px) 20px; border: 1px dashed var(--line-2); border-radius: 12px; background: radial-gradient(500px circle at 50% 0%, rgba(247, 147, 26, .08), transparent 70%); }
.panel > .empty-card { border: 0; background: none; }
.empty-card b { font: 600 20px var(--serif); } .empty-card p { color: var(--muted); max-width: 46ch; margin: 0; }

/* ---------- About + socials ---------- */
.about { display: grid; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, var(--panel), var(--bg-2)); }
@media (min-width: 760px) { .about { grid-template-columns: 180px 1fr; } }
.about-avatar { width: 160px; height: 160px; border-radius: 50%; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px rgba(247, 147, 26, .08), 0 30px 80px -30px rgba(247, 147, 26, .6); }
.about-text { color: #c4c9d2; font-size: 17px; max-width: 64ch; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font: 600 13px var(--mono); transition: border-color .2s, color .2s, transform .2s var(--ease); }
.social:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.socials.compact .social { width: 44px; padding: 0; justify-content: center; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid #5a3b0b; border-radius: 14px; background: rgba(16, 12, 6, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 50px -20px #000; animation: rise .35s var(--ease); }
.sticky-cta > span { display: grid; line-height: 1.3; font-size: 14px; } .sticky-cta b { color: var(--accent-2); } .sticky-cta .muted { font-size: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@media (min-width: 861px) { .sticky-cta { display: none !important; } }
body.has-sticky .site-footer { padding-bottom: 80px; }

/* ---------- Mobile polish ---------- */
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .brand { font-size: 13px; letter-spacing: .08em; gap: 8px; } .brand-mark { width: 26px; height: 26px; }
  .nav-cta { display: none; }
  .nav { margin-inline: -16px; padding-inline: 12px; width: calc(100% + 32px); }
  .free-inner { flex-wrap: nowrap; font-size: 12px; } .free-inner a { white-space: nowrap; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 40px 44px; }
  .hero-inner h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .lede { font-size: 16.5px; margin-bottom: 22px; }
  .cta-row .btn { flex: 1 1 100%; }
  .pill { font-size: 11px; }
  .wave-card { padding: 10px 8px 4px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div, .strip-grid > div:first-child { padding: 18px 12px; border-left: 0; border-top: 1px solid var(--line); }
  .strip-grid > div:nth-child(even) { border-left: 1px solid var(--line); }
  .strip-grid > div:nth-child(-n+2) { border-top: 0; }
  .strip-grid b { font-size: 26px; } .strip-grid span { font-size: 13px; line-height: 1.4; }
  .section { padding-block: 48px; } .section.pt0 { padding-top: 0; }
  .section-head { margin-bottom: 24px; }
  .steps { grid-template-columns: 1fr; } .step { border-left: 0; border-top: 1px solid var(--line); padding: 18px 18px; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; } .step:first-child { border-top: 0; }
  .step::before { font-size: 30px; margin: 0; grid-row: span 2; } .step p { font-size: 15px; }
  .about { text-align: left; } .about-avatar { width: 96px; height: 96px; }
  .legal-nav { gap: 12px 22px; width: 100%; }
  .tk { padding: 10px 18px; font-size: 12px; }
}

/* ---------- Markets ---------- */
.market-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 18px; }
.market-tabs::-webkit-scrollbar { display: none; }
.market-tab { flex: none; display: grid; gap: 2px; text-align: left; min-width: 96px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.market-tab b { font: 700 15px var(--mono); color: var(--text); } .market-tab span { font-size: 12px; }
.market-tab:hover { border-color: var(--line-2); transform: translateY(-2px); }
.market-tab.on { border-color: var(--accent); background: linear-gradient(180deg, #1a1208, var(--panel)); } .market-tab.on b { color: var(--accent); }
.market-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 14px; }
.market-head h2 { margin: 0; } .market-head .label { margin-bottom: 4px; }
.market-price { display: grid; justify-items: end; font-family: var(--mono); } .market-price b { font-size: 24px; } .market-price span { font-size: 13px; }
.tv-box { position: relative; height: clamp(380px, 62vh, 620px); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--panel); }
.tv-box .tradingview-widget-container, .tv-box .tradingview-widget-container__widget, .tv-box iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }
.tv-box .tradingview-widget-copyright { display: none; }
.tv-consent { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; background: radial-gradient(500px circle at 50% 30%, rgba(247, 147, 26, .1), transparent 70%); }
.tv-consent b { font: 600 22px var(--serif); } .tv-consent p { color: var(--muted); max-width: 52ch; margin: 0; font-size: 14px; }
.tv-consent .check { justify-content: center; }
.market-analysis { margin-top: 36px; } .market-note { margin: 18px 0 56px; }
@media (max-width: 640px) { .market-price { justify-items: start; } .tv-box { height: 420px; } }

/* ---------- Scroll effects ---------- */
.site-header { transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(6, 8, 11, .92); box-shadow: 0 10px 30px -18px #000; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(var(--scroll, 0)); box-shadow: 0 0 10px rgba(247, 147, 26, .7); pointer-events: none; }
.hero-copy { transform: translate3d(0, calc(var(--hy, 0) * 90px), 0); opacity: calc(1 - var(--hy, 0) * .9); will-change: transform, opacity; }
.wave-card { transform: perspective(900px) translate3d(0, calc(var(--hy, 0) * -50px), 0) rotateX(calc(var(--hy, 0) * 14deg)) scale(calc(1 - var(--hy, 0) * .06)); will-change: transform; }
.dark-band { background: radial-gradient(700px circle at calc(15% + var(--scroll, 0) * 70%) 0%, rgba(247, 147, 26, .09), transparent 60%), linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); transform-origin: left; transition: transform .7s var(--ease) .15s; }
.js .section-head.reveal:not(.in) .eyebrow::before { transform: scaleX(0); }
.js .reveal.from-left:not(.in) { transform: translateX(-48px); }
.js .reveal.from-right:not(.in) { transform: translateX(48px); }
.js .reveal.zoom:not(.in) { transform: scale(.94); }
.free-card.in { animation: glow 3.2s ease-in-out 1s infinite; }
@keyframes glow { 50% { box-shadow: 0 30px 90px -40px rgba(247, 147, 26, .55); } }
.about.in .about-avatar { animation: spin-in .9s var(--ease) both .15s; }
@keyframes spin-in { from { opacity: 0; transform: rotate(-30deg) scale(.7); } }
.step.in::before { animation: pop .5s var(--ease) both calc(var(--d, 0ms) + .2s); }

/* ---------- Reveal on scroll ---------- */
.js .reveal:not(.in) { opacity: 0; transform: translateY(22px); }
.reveal { transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms), border-color .3s, box-shadow .3s, background .25s; }
.reveal.feature:hover, .reveal.card:hover, .reveal.plan:hover { transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .wave-svg .seg { stroke-dashoffset: 0 !important; }
}
