:root {
  color-scheme: dark;
  --bg: #101110;
  --panel: #171917;
  --soft: #1d201b;
  --line: #2b3028;
  --text: #f1f3ef;
  --muted: #a3aa9f;
  --lime: #c7fa59;
  --lime-dark: #182208;
  --danger: #ffae9f;
  --font: "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
p, h1, h2, h3, dl, dd { margin: 0; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 88px)); margin: 0 auto; }
.skip { position: fixed; left: 12px; top: -60px; padding: 8px 12px; background: var(--lime); color: var(--lime-dark); z-index: 10; }
.skip:focus { top: 12px; }
.site-header { border-bottom: 1px solid #242724; }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: .045em; white-space: nowrap; }
.brand img { flex: none; }
.brand-accent { color: var(--lime); }
nav { display: flex; gap: clamp(18px, 3vw, 36px); color: #b6bdb2; font-size: 14px; font-weight: 600; }
nav a:hover, .quiet:hover { color: var(--lime); }
.outline, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); font-size: 14px; font-weight: 650; white-space: nowrap; transition: background .16s, border-color .16s, color .16s; }
.outline:hover { background: var(--soft); border-color: #586347; }
.support-link svg, .quiet span { color: var(--lime); }
.hero { min-height: 477px; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-copy { position: relative; z-index: 1; padding: 60px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--lime); font: 700 11px/1.45 var(--mono); letter-spacing: .105em; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #c7fa5960; flex: none; }
.hero h1 { margin: 17px 0 20px; font-size: clamp(46px, 6.3vw, 90px); line-height: .99; letter-spacing: -.075em; font-weight: 760; }
.hero h1 em { color: var(--lime); white-space: nowrap; }
.hero h1 em span { color: var(--text); }
.hero-text { color: #b1b8ad; font-size: clamp(16px, 1.55vw, 19px); max-width: 420px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 29px; }
.primary { min-height: 49px; padding: 0 17px; background: var(--lime); color: var(--lime-dark); border-color: var(--lime); font-weight: 750; }
.primary:not(:disabled):hover { background: #d7ff86; border-color: #d7ff86; }
.quiet { font-size: 14px; font-weight: 650; white-space: nowrap; color: #bec4ba; }
.quiet span { margin-left: 3px; }
.hero-visual { position: relative; margin: -8px -36px -4px -52px; }
.hero-visual img { display: block; width: 100%; height: auto; }
.art-label { position: absolute; right: 10%; bottom: 8%; color: var(--lime); font: 700 10px var(--mono); letter-spacing: .08em; padding: 9px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #4a5835; background: #191f14; border-radius: 5px; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.calculator { display: grid; grid-template-columns: 1.18fr .82fr; padding: 10px; gap: 9px; }
#calculator, #how, #faq { scroll-margin-top: 24px; }
.calc-input { padding: 24px 27px; min-width: 0; }
.section-kicker { color: #a0a899; }
.section-kicker span { color: var(--lime); }
h2 { font-size: clamp(25px, 3vw, 37px); font-weight: 735; line-height: 1.17; letter-spacing: -.04em; margin-top: 10px; }
.calc-input h2 { font-size: clamp(25px, 2.55vw, 34px); }
.muted, .rate, .result-note { color: var(--muted); }
.intro { margin-top: 7px; font-size: 14px; }
.profile-form { margin: 24px 0 16px; }
label { display: block; font-size: 13px; color: #d8ddd5; font-weight: 650; }
label span { color: var(--muted); margin-left: 6px; font-weight: 400; font-size: 12px; }
input { width: 100%; min-width: 0; color: var(--text); background: #111310; border: 1px solid #333a2e; border-radius: 8px; min-height: 44px; padding: 9px 12px; font-size: 14px; }
input::placeholder { color: #8d9789; }
input:focus { border-color: var(--lime); outline: none; }
.input-group { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 7px; }
.levels { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); gap: 12px; align-items: end; }
.levels input, .xp-details input { margin-top: 7px; }
.levels input { font-size: 19px; font-weight: 720; font-variant-numeric: tabular-nums; }
.level-arrow { align-self: end; line-height: 46px; text-align: center; color: var(--lime); }
.xp-details { margin-top: 12px; color: var(--muted); font-size: 13px; }
.xp-details[open] label { margin-top: 10px; }
.calc-result { background: linear-gradient(145deg, #242b1c, #191e16 62%); border: 1px solid #35412c; border-radius: 11px; padding: 23px 25px 18px; min-width: 0; }
.result-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.result-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; color: #d5e6bd; font-size: 11px; background: #2b3622; border-radius: 5px; }
.result-badge .status-dot { width: 5px; height: 5px; }
.total { margin-top: 5px; line-height: 1.15; font-size: clamp(38px, 4.7vw, 61px); letter-spacing: -.07em; color: var(--text); font-weight: 760; overflow-wrap: anywhere; }
.rate { font-size: 13px; margin-top: 2px; }
.result-lines { margin: 13px 0 14px; }
.result-lines div { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; gap: 8px; border-bottom: 1px solid #343e2e; font-size: 14px; }
.result-lines dt { color: #bec6b8; }
.result-lines dd { font-weight: 750; white-space: nowrap; }
.checkout { width: 100%; justify-content: space-between; }
.result-note { margin-top: 8px; font-size: 12px; min-height: 18px; }
.section { margin: 77px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 23px; }
.steps article { min-width: 0; border: 1px solid var(--line); background: var(--panel); padding: 21px; border-radius: 12px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 32px; background: #283220; color: var(--lime); font: 700 12px var(--mono); border: 1px solid #39492d; border-radius: 7px; }
.steps h3 { font-size: 18px; margin-top: 13px; letter-spacing: -.02em; }
.steps p, .faq p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; }
.faq .eyebrow { margin-top: 0; font-size: 11px; }
.faq .outline { margin-top: 17px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 14px 28px 14px 0; list-style: none; position: relative; font-size: 15px; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--lime); position: absolute; right: 5px; font-size: 20px; line-height: 1.2; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -3px 0 15px; }
.faq-list a, .trade-help, .telegram-contact { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.telegram-contact { font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.footer-inner p { color: var(--muted); font-size: 12px; }
.footer-inner .brand { font-size: 14px; }
.feedback { color: #cbd8c1; font-size: 13px; margin-top: 8px; }
[data-error="true"] { color: var(--danger); }
.chat-launch { position: fixed; bottom: 21px; right: 25px; z-index: 3; width: 53px; height: 53px; display: grid; place-items: center; border: none; border-radius: 13px; background: var(--lime); color: var(--lime-dark); box-shadow: 0 4px 28px #0009; }
.chat-launch svg { width: 25px; height: 25px; }
.chat-panel { z-index: 4; position: fixed; width: min(380px, calc(100% - 30px)); bottom: 21px; right: 25px; background: #171a15; box-shadow: 0 15px 70px #000a; }
.chat-header { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 13px; border-bottom: 1px solid var(--line); }
.chat-header h2 { font-size: 17px; margin: 0; }
.chat-header p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.chat-avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; background: #2a3820; color: var(--lime); font-size: 20px; }
.close { width: 38px; height: 38px; padding: 0; background: transparent; color: var(--muted); border: 0; border-radius: 7px; font-size: 24px; line-height: 1; }
.close:hover { background: var(--soft); color: var(--text); }
.chat-log { min-height: 136px; height: min(270px, 43dvh); padding: 14px; display: flex; flex-direction: column; gap: 9px; overflow: auto; overscroll-behavior: contain; }
.bubble { white-space: pre-wrap; max-width: 94%; padding: 8px 10px; border-radius: 9px; font-size: 14px; overflow-wrap: anywhere; align-self: flex-start; background: #272d22; }
.bubble.visitor { align-self: flex-end; background: #354223; }
.bubble.pending { color: var(--muted); }
.chat-prompts { padding: 0 13px 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.chat-prompts button { border: 1px solid #46543a; background: transparent; color: #d7e9c9; padding: 5px 7px; border-radius: 6px; font-size: 12px; }
.chat-notice { padding: 0 13px 9px; color: var(--muted); font-size: 12px; }
#chat-form { display: grid; grid-template-columns: 1fr 40px; gap: 8px; padding: 11px; border-top: 1px solid var(--line); }
#chat-form button { display: grid; place-items: center; border: 0; border-radius: 7px; color: var(--lime-dark); background: var(--lime); }
.quote-dialog { color: var(--text); width: min(460px, calc(100% - 30px)); padding: 24px; }
.quote-dialog::backdrop { background: #070907cc; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; }
.quote-dialog h2 { margin: 3px 0 8px; font-size: 30px; }
.quote-dialog :is(#quote-form, #crypto-form) { margin-top: 18px; }
.quote-dialog #crypto-form .primary { margin-top: 12px; }
.quote-dialog input { margin-top: 6px; }
.trade-help { display: inline-block; font-size: 13px; margin: 9px 0 16px; }
.quote-dialog .primary { width: 100%; }
.crypto-open { margin-top: 8px; }
.crypto-help { margin-top: 6px; }
#crypto-reference { overflow-wrap: anywhere; }
.crypto-actions { display: grid; gap: 8px; margin-top: 16px; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .hero { min-height: 420px; }
  .hero-visual { margin-right: -20px; }
  .hero-actions { gap: 14px; }
  .calc-input { padding: 19px; }
  .calc-result { padding: 19px; }
}
@media (max-width: 660px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { height: 62px; gap: 10px; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(47px, 12vw, 76px); margin: 14px 0; }
  .hero-text { max-width: 340px; }
  .hero-actions { margin-top: 20px; flex-wrap: wrap; }
  .hero-visual { width: min(440px, 100%); margin: -8px auto -9px; }
  .art-label { bottom: 12%; right: 5%; }
  .calculator { grid-template-columns: 1fr; gap: 5px; padding: 7px; }
  .calc-input, .calc-result { padding: 16px; }
  .section { margin: 52px 0; }
  .steps, .faq { grid-template-columns: 1fr; }
  .steps { gap: 8px; }
  .steps article { padding: 15px; }
  .footer-inner { min-height: 94px; flex-wrap: wrap; align-content: center; gap: 7px 14px; padding: 12px 50px 12px 0; }
  .footer-inner p { order: 3; flex-basis: 100%; }
  .chat-launch, .chat-panel { bottom: 12px; right: 15px; }
  .chat-launch { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.header-actions { display: flex; align-items: center; gap: 11px; }
.language-link { display: grid; place-items: center; min-width: 36px; min-height: 40px; border-radius: 7px; font: 700 12px var(--mono); color: var(--muted); }
.language-link:hover { color: var(--lime); background: var(--soft); }
.bubble small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
@media (max-width: 385px) { .support-link { padding: 0 8px; gap: 5px; } .header-actions { gap: 3px; } .brand { gap: 6px; font-size: 15px; } }

