/*
  DomLine — w12 visual world (NinjaTrader doorway)
  THESIS: a portal shaped like a futures order-flow desk — a depth-of-market
          ladder with bid/ask size, not a marketing hero.
  OWN-WORLD: near-black field (#0b0d12) — an order-flow screen runs dark — with
             an ice-cyan accent (#33e1d0), bid-green / ask-red size bars, a DOM
             ladder and mono numerics throughout.
  MOTION: one authored moment — the ladder rows fill in and the inside price ticks.
*/

:root {
  --bg: #0b0d12;
  --bg-2: #0f121a;
  --panel: #141824;
  --panel-2: #1a1f2e;
  --edge: #283044;
  --edge-soft: #1e2434;
  --text: #e7ecf5;
  --dim: #869ab5;
  --cyan: #33e1d0;
  --cyan-deep: #16b3a4;
  --bid: #2ecf7e;
  --ask: #ff6b7d;
  --amber: #ffbf47;
  --radius: 7px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Consolas", "SF Mono", "Roboto Mono", ui-monospace, monospace;
  --shadow: 0 24px 50px -24px rgba(0,0,0,.85);
  --shadow-cyan: 0 16px 36px -18px rgba(51,225,208,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.62; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7af0e4; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ticker */
.tape { background: #06080c; border-bottom: 1px solid var(--edge-soft); overflow: hidden; white-space: nowrap; }
.tape-track { display: inline-block; padding: 8px 0; font-family: var(--mono); font-size: 13px; animation: tape 32s linear infinite; }
.tape-track span { margin: 0 18px; color: var(--dim); } .tape-track b { color: #fff; }
.tape-track .u { color: var(--bid); } .tape-track .d { color: var(--ask); }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } }

/* topbar */
.topbar { background: var(--bg-2); color: var(--dim); font-size: 13px; border-bottom: 1px solid var(--edge-soft); }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 8px 0; align-items: center; }
.topbar .sep { margin-left: auto; } .topbar .live { color: var(--bid); }

/* nav */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(11,13,18,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge-soft); }
.nav { display: flex; align-items: center; gap: 18px; padding: 13px 0; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-size: 20px; color: #fff; letter-spacing: -0.01em; }
.brand b i { color: var(--cyan); font-style: normal; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--dim); padding: 8px 12px; border-radius: var(--radius); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); background: var(--panel); }
.nav-cta { background: var(--cyan); color: #062a27 !important; box-shadow: var(--shadow-cyan); }
.nav-cta:hover { background: var(--cyan-deep); color: #062a27 !important; }
.nav-toggle { display: none; }

/* hero */
.hero { padding: 74px 0 84px; border-bottom: 1px solid var(--edge-soft); position: relative; overflow: hidden;
  background: radial-gradient(70% 60% at 82% 8%, rgba(51,225,208,.10), transparent 60%); }
.hero .grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 50px; align-items: center; }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 0.99; letter-spacing: -0.04em; margin: 0 0 18px; font-weight: 800; color: #fff; }
.hero p.lead { color: var(--dim); font-size: 1.18rem; max-width: 47ch; margin: 0 0 28px; }
.btn-row { display: flex; gap: 13px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: var(--radius); font-weight: 700; font-size: 16px; border: 0; cursor: pointer; transition: transform .16s cubic-bezier(.16,1,.3,1), box-shadow .16s, background .16s; }
.btn-primary { background: var(--cyan); color: #062a27; box-shadow: var(--shadow-cyan); }
.btn-primary:hover { transform: translateY(-2px); color: #062a27; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--edge); }
.btn-ghost:hover { border-color: var(--cyan); }

/* DOM ladder — signature object */
.dom { background: linear-gradient(180deg, var(--panel), #0f1420); border: 1px solid var(--edge); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.dom .dhead { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); margin-bottom: 4px; }
.dom .dsym { color: #fff; font-weight: 700; font-size: 15px; }
.dom .dpx { color: var(--cyan); font-size: 16px; }
.dom .dsub { font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-bottom: 12px; }
.dladder { display: grid; gap: 3px; }
.drow { display: grid; grid-template-columns: 60px 1fr 60px; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12.5px; opacity: 0; transform: translateX(-8px); animation: slide .5s cubic-bezier(.16,1,.3,1) forwards; }
.dladder .drow:nth-child(1){animation-delay:.04s}.dladder .drow:nth-child(2){animation-delay:.09s}.dladder .drow:nth-child(3){animation-delay:.14s}.dladder .drow:nth-child(4){animation-delay:.19s}.dladder .drow:nth-child(5){animation-delay:.24s}.dladder .drow:nth-child(6){animation-delay:.29s}.dladder .drow:nth-child(7){animation-delay:.34s}.dladder .drow:nth-child(8){animation-delay:.39s}
@keyframes slide { to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .drow { animation: none; opacity: 1; transform: none; } }
.drow .p { text-align: center; color: var(--text); }
.drow .p.inside { color: var(--cyan); font-weight: 700; }
.drow .sz { height: 15px; border-radius: 2px; }
.drow .sz.bid { background: linear-gradient(90deg, rgba(46,207,126,.55), rgba(46,207,126,.1)); }
.drow .sz.ask { background: linear-gradient(270deg, rgba(255,107,125,.55), rgba(255,107,125,.1)); margin-left: auto; }
.dom .dfoot { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--edge-soft); }

/* sections */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--edge-soft); border-bottom: 1px solid var(--edge-soft); }
.section-head { max-width: 64ch; margin-bottom: 38px; }
.section h2, .fakeh2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 14px; color: #fff; font-weight: 800; }
.section p { color: var(--dim); max-width: 68ch; }
.prose p { margin: 0 0 18px; }
.prose h3 { color: #fff; font-size: 1.3rem; letter-spacing: -0.02em; margin: 30px 0 10px; }

/* duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 22px; }
.duo > div { padding-top: 16px; border-top: 1px solid var(--cyan); }
.duo h3 { margin: 0 0 6px; font-size: 1.14rem; letter-spacing: -0.02em; color: #fff; }
.duo p { margin: 0; color: var(--dim); font-size: 15.5px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* feature rows */
.rows { background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; }
.frow { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--edge-soft); font-family: var(--mono); }
.frow:last-child { border-bottom: 0; }
.frow .no { font-weight: 700; color: var(--cyan); }
.frow .nm { font-family: var(--font); } .frow .nm b { display: block; color: #fff; } .frow .nm span { color: var(--dim); font-size: 13px; }
.frow .tag { font-size: 12px; color: var(--dim); border: 1px solid var(--edge); border-radius: 999px; padding: 3px 11px; }

/* media band */
.mediaband { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.mediaband img { border-radius: 12px; border: 1px solid var(--edge); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.mediaband.flip { direction: rtl; } .mediaband.flip > * { direction: ltr; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--panel); border: 1px solid var(--edge-soft); border-radius: 10px; padding: 22px; }
.stat .n { font-family: var(--mono); font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--cyan); letter-spacing: -0.02em; }
.stat .l { color: var(--dim); font-size: 14.5px; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { overflow: hidden; border-radius: 10px; border: 1px solid var(--edge-soft); }
.gallery-grid img { aspect-ratio: 1/1; object-fit: cover; transition: transform .4s ease, filter .4s ease; filter: grayscale(.2) brightness(.95); }
.gallery-grid a:hover img { transform: scale(1.05); filter: none; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: var(--panel); border: 1px solid var(--edge-soft); border-radius: 12px; padding: 16px; }
.member img { aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.member b { color: #fff; display: block; } .member span { color: var(--dim); font-size: 14px; }

/* cta */
.cta-band { padding: 72px 0; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(51,225,208,.12), transparent 60%); border-top: 1px solid var(--edge-soft); }
.cta-band p { color: var(--dim); margin: 0 auto 26px; }

/* login */
.login-shell { display: grid; grid-template-columns: 1.02fr 0.98fr; min-height: 82vh; }
.login-aside { padding: 64px 6vw; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(70% 60% at 20% 20%, rgba(51,225,208,.1), transparent 60%); border-right: 1px solid var(--edge-soft); }
.login-main { padding: 64px 6vw; display: flex; flex-direction: column; justify-content: center; }
.card { background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; box-shadow: var(--shadow); padding: 34px; max-width: 440px; width: 100%; }

/* forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--edge); border-radius: var(--radius); background: #070910; color: var(--text); font: inherit; }
.field input::placeholder, .field textarea::placeholder { color: #56668a; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(51,225,208,.28); border-color: var(--cyan); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--dim); }
.btn-block { width: 100%; justify-content: center; background: var(--cyan); color: #062a27; }
.btn-block:hover { background: var(--cyan-deep); color: #062a27; }
.muted { color: var(--dim); font-size: 14.5px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-list ul { padding: 0; margin: 0; }
.contact-list li { list-style: none; padding: 14px 0; border-bottom: 1px solid var(--edge-soft); }
.contact-list .k { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--cyan); }

/* page hero */
.page-hero { padding: 60px 0; border-bottom: 1px solid var(--edge-soft); background: radial-gradient(60% 100% at 85% 0%, rgba(51,225,208,.08), transparent 60%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; margin: 0 0 10px; color: #fff; }
.page-hero p { color: var(--dim); max-width: 62ch; margin: 0; }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--dim); margin-bottom: 14px; }

/* footer */
.site-foot { background: #06080c; border-top: 1px solid var(--edge-soft); padding: 54px 0 28px; color: var(--dim); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-foot h5, .site-foot .fh { color: #fff; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 14px; font-weight: 700; }
.site-foot a { color: var(--dim); display: block; padding: 5px 0; } .site-foot a:hover { color: var(--cyan); }
.foot-bottom { border-top: 1px solid var(--edge-soft); margin-top: 32px; padding-top: 20px; font-size: 13px; font-family: var(--mono); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* cookie */
.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 560px; margin: 0 auto; background: var(--panel); border: 1px solid var(--edge); color: var(--text); padding: 16px 18px; border-radius: 12px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; z-index: 60; font-size: 14px; }
.cookie button { border: 0; border-radius: var(--radius); padding: 9px 16px; font-weight: 700; cursor: pointer; }
.cookie .ok { background: var(--cyan); color: #062a27; } .cookie .no-btn { background: transparent; color: var(--dim); }

/* thank-you */
.ty { text-align: center; padding: 92px 0; }
.ty .check { width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 16px; background: var(--cyan); display: grid; place-items: center; box-shadow: var(--shadow-cyan); }
.ty h1 { color: #fff; font-size: clamp(2rem,4vw,3rem); letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 800; }

@media (max-width: 900px) {
  .hero .grid, .mediaband, .stats, .gallery-grid, .team, .contact-grid, .foot-grid, .login-shell { grid-template-columns: 1fr; }
  .stats, .team, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 12px; border-bottom: 1px solid var(--edge-soft); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: var(--cyan); color: #062a27; border: 0; border-radius: var(--radius); padding: 10px 14px; font-weight: 700; cursor: pointer; }
  .mediaband.flip { direction: ltr; } .login-aside { display: none; }
}
