  :root {
    --bg: #0D1420;
    --bg-deep: #090E17;
    --surface: #141C2E;
    --surface-2: #1B2540;
    --border: rgba(237, 241, 247, 0.09);
    --border-strong: rgba(237, 241, 247, 0.16);
    --mint: #00E5A0;
    --mint-dim: rgba(0, 229, 160, 0.14);
    --red: #FF5C72;
    --red-dim: rgba(255, 92, 114, 0.14);
    --amber: #FFB020;
    --amber-dim: rgba(255, 176, 32, 0.14);
    --text: #EDF1F7;
    --muted: #8A96AC;
    --muted-dim: #5C6780;
    --display: "Space Grotesk", sans-serif;
    --body: "Inter", sans-serif;
    --mono: "JetBrains Mono", monospace;
  }

  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  body {
    background-image:
      radial-gradient(circle at 12% 8%, rgba(0, 229, 160, 0.08), transparent 40%),
      radial-gradient(circle at 88% 0%, rgba(255, 92, 114, 0.06), transparent 35%);
    background-attachment: fixed;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .mono {
    font-family: var(--mono);
  }

  a {
    color: var(--mint);
    text-decoration: none;
  }

  a:hover {
    color: #33ecb2;
  }

  :focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .container-narrow {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .eyebrow {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint);
  }

  /* ===== NAV ===== */
  .navbar-custom {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 14, 23, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }

  .navbar-custom .wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--mint), #00a876);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-deep);
    font-weight: 700;
    font-family: var(--mono);
    font-size: 0.85rem;
  }

  .nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
  }

  .nav-links a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
  }

  .nav-links a:hover {
    color: var(--text);
  }

  .lang-switch {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 6px 28px 6px 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238A96AC' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
  }

  .lang-switch:hover {
    border-color: var(--border-strong);
  }

  .lang-switch:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 2px;
  }

  .lang-switch option {
    background: var(--surface-2);
    color: var(--text);
  }

  .btn-mint {
    background: var(--mint);
    color: var(--bg-deep);
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.92rem;
    transition: transform .15s ease, box-shadow .15s ease;
  }

  .btn-mint:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 229, 160, 0.25);
    color: var(--bg-deep);
  }

  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.92rem;
    transition: border-color .15s ease, background .15s ease;
  }

  .btn-ghost:hover {
    border-color: var(--mint);
    background: var(--mint-dim);
    color: var(--text);
  }

  /* ===== HERO ===== */
  .hero {
    padding: 88px 0 60px;
  }

  .hero .row {
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 4vw + 1rem, 3.6rem);
    line-height: 1.08;
    margin: 18px 0 20px;
  }

  .hero h1 .accent {
    color: var(--mint);
  }

  .hero p.lead-custom {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 480px;
    margin-bottom: 30px;
  }

  .hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero-note {
    margin-top: 18px;
    font-size: 0.82rem;
    color: var(--muted-dim);
    font-family: var(--mono);
  }

  /* Range gauge */
  .gauge-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  }

  .gauge-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  .pair-label {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--muted);
  }

  .status-pill {
    font-family: var(--mono);
    font-size: 0.74rem;
    padding: 5px 10px;
    border-radius: 100px;
    background: var(--mint-dim);
    color: var(--mint);
    border: 1px solid rgba(0, 229, 160, 0.35);
    transition: background .3s ease, color .3s ease, border-color .3s ease;
  }

  .status-pill.warn {
    background: var(--amber-dim);
    color: var(--amber);
    border-color: rgba(255, 176, 32, 0.35);
  }

  .gauge-track {
    position: relative;
    height: 54px;
    border-radius: 12px;
    background: repeating-linear-gradient(90deg, var(--surface-2) 0 1px, transparent 1px 24px);
    background-color: var(--surface-2);
    border: 1px solid var(--border);
    overflow: hidden;
  }

  .gauge-band {
    position: absolute;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 229, 160, 0.28), rgba(0, 229, 160, 0.08));
    border-left: 1px solid var(--mint);
    border-right: 1px solid var(--mint);
    transition: left 1.2s cubic-bezier(.4, 0, .2, 1), width 1.2s cubic-bezier(.4, 0, .2, 1);
  }

  .gauge-price {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -6px;
    border-radius: 50%;
    background: var(--text);
    box-shadow: 0 0 0 4px rgba(237, 241, 247, 0.12), 0 0 16px rgba(255, 255, 255, 0.5);
    transition: left 1.4s cubic-bezier(.4, 0, .2, 1);
  }

  .gauge-price::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(237, 241, 247, 0.5);
    animation: gaugePulse 2.4s ease-out infinite;
  }

  .gauge-price.out::after {
    border-color: rgba(255, 92, 114, 0.6);
  }

  @keyframes gaugePulse {
    0% {
      transform: scale(1);
      opacity: 0.8;
    }

    100% {
      transform: scale(2.6);
      opacity: 0;
    }
  }

  .gauge-price.out {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(255, 92, 114, 0.18), 0 0 16px rgba(255, 92, 114, 0.6);
  }

  .gauge-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--muted-dim);
  }

  .gauge-ticks .current {
    color: var(--text);
    font-weight: 600;
  }

  .bot-log {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--muted-dim);
    min-height: 62px;
  }

  .bot-log div {
    padding: 2px 0;
    opacity: 0;
    animation: logIn .4s ease forwards;
  }

  .bot-log .ok {
    color: var(--mint);
  }

  .bot-log .warn-t {
    color: var(--amber);
  }

  @keyframes logIn {
    from {
      opacity: 0;
      transform: translateY(3px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== KILLERS ===== */
  .section {
    padding: 76px 0;
  }

  .section-head {
    max-width: 620px;
    margin-bottom: 46px;
  }

  .section-head h2 {
    font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem);
    margin-top: 12px;
  }

  .section-head p {
    color: var(--muted);
    margin-top: 10px;
  }

  .killer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
  }

  .killer-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
  }

  .killer-tag {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-dim);
    border: 1px solid rgba(255, 92, 114, 0.3);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
  }

  .killer-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .killer-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 14px;
  }

  .killer-fix {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.86rem;
    color: var(--text);
    background: var(--mint-dim);
    border: 1px solid rgba(0, 229, 160, 0.25);
    border-radius: 10px;
    padding: 12px;
  }

  .killer-fix strong {
    color: var(--mint);
    font-family: var(--mono);
    font-size: 0.78rem;
    display: block;
    margin-bottom: 2px;
  }

  /* ===== ARCHITECTURE ===== */
  .arch-flow {
    display: flex;
    gap: 0;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .arch-node {
    flex: 1 1 260px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    position: relative;
  }

  .arch-node .idx {
    font-family: var(--mono);
    color: var(--muted-dim);
    font-size: 0.78rem;
  }

  .arch-node h4 {
    font-size: 1.05rem;
    margin: 8px 0 6px;
  }

  .arch-node .stack {
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--mint);
    margin-bottom: 10px;
    display: block;
  }

  .arch-node p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
  }

  .arch-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    color: var(--muted-dim);
    font-size: 1.3rem;
  }

  @media (max-width: 860px) {
    .arch-arrow {
      transform: rotate(90deg);
      flex-basis: 100%;
      padding: 4px 0;
    }
  }

  /* ===== MATH ===== */
  .math-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 34px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
  }

  .formula-box {
    font-family: var(--mono);
    font-size: 0.92rem;
    color: var(--mint);
    background: var(--bg-deep);
    border: 1px solid rgba(0, 229, 160, 0.25);
    border-radius: 10px;
    padding: 18px 20px;
    line-height: 1.9;
    flex: 1 1 340px;
  }

  .formula-box .k {
    color: var(--muted);
  }

  .flywheel {
    flex: 1 1 260px;
  }

  .flywheel ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
  }

  .flywheel li {
    counter-increment: step;
    position: relative;
    padding-left: 38px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.9rem;
  }

  .flywheel li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.78rem;
  }

  .flywheel li strong {
    color: var(--text);
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
  }

  /* ===== TRUST STRIP ===== */
  .trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
    background: var(--bg-deep);
  }

  .trust-item {
    text-align: center;
  }

  .trust-item .val {
    font-family: var(--mono);
    font-size: 1.5rem;
    color: var(--mint);
    font-weight: 600;
  }

  .trust-item .lbl {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 4px;
  }

  /* ===== FAQ ===== */
  .accordion-custom .accordion-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
  }

  .accordion-custom .accordion-button {
    background: var(--surface);
    color: var(--text);
    font-family: var(--display);
    font-weight: 500;
    font-size: 0.98rem;
    box-shadow: none;
  }

  .accordion-custom .accordion-button:not(.collapsed) {
    color: var(--mint);
    background: var(--surface);
  }

  .accordion-custom .accordion-button::after {
    filter: invert(1) brightness(1.6);
  }

  .accordion-custom .accordion-body {
    color: var(--muted);
    font-size: 0.92rem;
    padding-top: 0;
  }

  /* ===== CTA BANNER ===== */
  .cta-banner {
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 54px 40px;
    text-align: center;
    margin: 0 20px;
  }

  .cta-banner h2 {
    font-size: clamp(1.6rem, 2.4vw + 1rem, 2.2rem);
    margin-bottom: 12px;
  }

  .cta-banner p {
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 26px;
  }

  /* ===== FOOTER ===== */
  footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 28px;
    margin-top: 40px;
  }

  footer .brand {
    margin-bottom: 10px;
  }

  footer p {
    color: var(--muted-dim);
    font-size: 0.82rem;
    max-width: 640px;
  }

  .footer-links {
    display: flex;
    gap: 18px;
  }

  .footer-links a {
    color: var(--muted);
    font-size: 0.85rem;
  }

  .footer-links a:hover {
    color: var(--mint);
  }

  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
  }