/* QuantETL homepage — editorial grid style: dark pixel hero, white canvas, hairline borders, mono labels */
:root {
  color-scheme: light;
  --ink: #0c0c0d;
  --ink-2: #4a4a4f;
  --ink-3: #8b8b91;
  --line: #e7e7e9;
  --line-2: #d9d9dc;
  --paper: #ffffff;
  --paper-2: #fafafa;
  --page: #ececee;
  --blue: #1f5cff;      /* accent on white (AA for large text, ~5:1) */
  --blue-2: #388eff;    /* brand blue from the logo */
  --night: #0d0e12;
  --night-line: #23252d;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background-color: var(--page);
  background-image: radial-gradient(#c9c9ce 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--blue); color: #fff; }

/* Page frame */
.frame { max-width: 1320px; margin: 12px auto; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .frame { margin: 0; } .wrap { padding: 0 16px; } }

/* Mono micro-label */
.lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn .sq { width: 7px; height: 7px; background: currentColor; flex: none; }
.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { background: var(--blue); }
.btn-black.wide { min-width: 190px; justify-content: space-between; }
.btn-line { background: transparent; color: var(--ink); border-bottom-color: var(--ink); border-left-color: var(--line-2); min-width: 190px; justify-content: space-between; }
.btn-line:hover { color: var(--blue); border-bottom-color: var(--blue); }
.btn-line .tri { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.btn-white { background: #fff; color: var(--ink); height: 32px; padding: 0 12px; gap: 8px; font-size: 10.5px; }
.btn-white:hover { background: var(--blue); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--ink); }

/* ---------- Hero band (dark pixel grid) ---------- */
.band { position: relative; height: 300px; background: var(--night); overflow: hidden; color: #fff; }
.band canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.band .top { position: absolute; top: 14px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; z-index: 2; }
.tabs { display: flex; flex-wrap: wrap; gap: 1px; background: var(--night-line); }
.tabs a { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; background: #fff; color: var(--ink); font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; }
.tabs a:hover { background: #dfe7ff; }
.tabs a.on { background: var(--blue); color: #fff; }
.tabs a .n { display: inline-grid; place-items: center; min-width: 14px; height: 14px; padding: 0 3px; border: 1px solid var(--blue); color: var(--blue); font-size: 9.5px; }
.band .mid { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; align-items: center; z-index: 2; pointer-events: none; }
.band .mid > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; padding: 3px 6px; border: 1px solid #3a3d48; color: #c8cad3; background: rgba(13,14,18,.7); text-transform: uppercase; }
.scroll { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; color: #b9bcc6; text-transform: uppercase; display: flex; gap: 10px; align-items: center; background: rgba(13,14,18,.6); padding: 4px 6px; }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; border-top: 1px solid var(--night-line); background: rgba(13,14,18,.92); overflow: hidden; z-index: 2; display: flex; align-items: center; }
.ticker .track { display: flex; gap: 48px; white-space: nowrap; animation: tick 40s linear infinite; padding-left: 24px; }
.ticker span { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; color: #9da1ad; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.ticker span b { color: var(--blue-2); font-weight: 500; font-size: 13px; line-height: 1; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }
@media (max-width: 720px) { .band { height: 260px; } .scroll { display: none; } .tabs a.hide-sm { display: none; } }

/* ---------- Hero copy ---------- */
.hero { padding: 64px 0 40px; }
.hero .grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: end; }
.h1 { font-size: clamp(34px, 4.3vw, 56px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 400; margin: 0; }
.h1 .typed { display: inline-flex; align-items: center; font-family: var(--mono); color: var(--blue); font-weight: 300; font-size: .9em; letter-spacing: -0.07em; white-space: nowrap; line-height: 1.2; }
.h1 .typed .cur { display: inline-block; width: .5em; height: .95em; background: var(--blue); margin-left: .04em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.proof { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-2); margin-bottom: 14px; flex-wrap: wrap; }
.proof .px { display: flex; gap: 2px; }
.proof .px i { width: 10px; height: 18px; background: var(--blue); }
.proof .px i:nth-child(2) { background: var(--blue-2); } .proof .px i:nth-child(3) { background: #9bbcff; }
.proof .sep { width: 1px; height: 12px; background: var(--line-2); }
.proof b { color: var(--ink); font-weight: 500; }
.proof .star { color: var(--blue); }
.hero p.lede { color: var(--ink-2); font-size: 14.5px; margin: 0 0 26px; max-width: 360px; }
.hero .ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.hero .ctas .btn { flex: 1 1 180px; min-width: 0; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Logos + dotted panel ---------- */
.logos-cap { display: flex; align-items: center; gap: 12px; margin-top: 40px; margin-bottom: 10px; }
.logos-cap .rule { flex: 1; height: 1px; background: var(--line); }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-bottom: 0; }
.logos span { display: flex; flex-direction: column; line-height: 1.15; }
.logos b { font-weight: 600; }
.logos small { font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.logos div { height: 92px; display: flex; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid var(--line); color: #3c3c40; font-weight: 600; letter-spacing: -0.02em; font-size: 15px; }
.logos div:last-child { border-right: 0; }
.logos svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } .logos div:nth-child(3) { border-right: 0; } .logos div:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
.dots { background-color: var(--paper-2); background-image: radial-gradient(#cbcbd0 1px, transparent 1px); background-size: 9px 9px; border: 1px solid var(--line); }
.addon { height: 200px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-family: var(--mono); font-size: clamp(13px, 1.6vw, 17px); letter-spacing: .02em; color: var(--blue); text-transform: uppercase; }
.addon .g { color: var(--ink); }
.addon .mid { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; background: rgba(250,250,250,.85); padding: 6px 10px; }
.addon .boxes { display: inline-flex; gap: 2px; }
.addon .boxes i { width: 11px; height: 11px; border: 1.5px solid var(--ink); }
.addon .boxes i:first-child { background: var(--ink); }
@media (max-width: 720px) { .addon .g { display: none; } .addon { justify-content: center; height: 160px; } }

/* ---------- Sections ---------- */
section.sec { padding: 96px 0 24px; }
.sechead { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.sechead .idx { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .03em; }
.sechead .idx b { color: var(--ink-2); font-weight: 400; }
.sechead .dash { width: 26px; height: 1px; background: var(--line-2); }
.sechead .rule { flex: 1; height: 1px; background: var(--line); position: relative; }
.sechead .rule::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.titlerow { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 400; margin: 0; }
.h2 .sl { color: #c3c3c8; font-weight: 300; }
.sub { color: var(--ink-2); font-size: 14.5px; max-width: 520px; margin: 14px 0 0; }

/* Value cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vcard { position: relative; border: 1px solid var(--line); min-height: 300px; padding: 18px 18px 16px; display: flex; flex-direction: column; background: #fff; transition: border-color .2s; }
.vcard .no { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.vcard .no s { text-decoration: none; color: #c3c3c8; margin-right: 4px; }
.vcard .art { height: 110px; width: 110px; margin-bottom: 26px; color: var(--ink); }
.vcard .art .fillpx { opacity: 0; transition: opacity .25s; }
.vcard h3 { margin: 0 0 10px; font-size: 18px; font-weight: 400; letter-spacing: -0.015em; transition: color .2s; }
.vcard p { margin: 0; font-size: 13px; color: var(--ink-2); max-width: 300px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s, opacity .25s; }
.vcard .chip { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; background: #f2f2f3; color: var(--ink-2); padding: 3px 6px; }
.vcard:hover, .vcard.on { border-color: var(--line-2); }
.vcard:hover h3, .vcard.on h3 { color: var(--blue); }
.vcard:hover p, .vcard.on p { max-height: 120px; opacity: 1; }
.vcard:hover .art, .vcard.on .art { color: var(--blue); }
.vcard:hover .art .fillpx, .vcard.on .art .fillpx { opacity: 1; }
.cards:hover .vcard.on:not(:hover) h3 { color: var(--ink); }
.cards:hover .vcard.on:not(:hover) p { max-height: 0; opacity: 0; }
.cards:hover .vcard.on:not(:hover) .art { color: var(--ink); }
.cards:hover .vcard.on:not(:hover) .art .fillpx { opacity: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .vcard { min-height: 0; } .vcard p { max-height: none; opacity: 1; } }

/* Performance */
.perf { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.stats div { padding: 16px 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div:nth-child(2n) { border-right: 0; } .stats div:nth-last-child(-n+2) { border-bottom: 0; }
.stats b { display: block; font-size: 24px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 18px; }
.stats span { font-size: 11.5px; color: var(--ink-2); }
@media (max-width: 900px) { .perf { grid-template-columns: 1fr; } }
.chart { position: relative; margin-top: 30px; height: 250px; user-select: none; touch-action: pan-y; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .gl { stroke: #f0f0f1; }
.chart .ax { font-family: var(--mono); font-size: 10px; fill: var(--ink-3); }
.chart .handle { position: absolute; top: 0; bottom: 26px; width: 0; }
.chart .handle .ln { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--blue); }
.chart .handle .knob { position: absolute; top: 50%; left: -13px; transform: translateY(-50%); width: 26px; height: 26px; background: var(--blue); display: grid; place-items: center; cursor: ew-resize; border: 0; padding: 0; }
.chart .handle .knob::after { content: ""; width: 4px; height: 12px; background: #fff; }
.chart .handle .knob:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.chart .handle .side { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; background: #fff; border: 1px solid var(--line-2); padding: 3px 6px; white-space: nowrap; color: var(--ink-2); }
.chart .handle .side.l { right: 18px; } .chart .handle .side.r { left: 18px; }
.chart .cap { position: absolute; left: 0; top: -2px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }

/* Model */
.model { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.flist { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.flist li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.flist li .k { font-family: var(--mono); font-size: 11px; color: var(--blue); }
.flist li b { display: block; font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.flist li span { font-size: 13.5px; color: var(--ink-2); }
.spec { border: 1px solid var(--line); }
.spec header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.spec header b { font-family: var(--mono); font-weight: 500; font-size: 14px; }
.spec header span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; background: var(--blue); color: #fff; padding: 3px 7px; }
.spec dl { margin: 0; }
.spec .row { display: grid; grid-template-columns: 130px 1fr; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.spec .row:last-child { border-bottom: 0; }
.spec dt { padding: 12px 16px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); border-right: 1px solid var(--line); }
.spec dd { margin: 0; padding: 12px 16px; }
@media (max-width: 900px) { .model { grid-template-columns: 1fr; } }

/* Steps + code */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.steps div { padding: 20px 18px 24px; border-right: 1px solid var(--line); }
.steps div:last-child { border-right: 0; }
.steps .lbl { color: var(--blue); }
.steps h4 { margin: 28px 0 8px; font-size: 18px; font-weight: 400; letter-spacing: -0.015em; }
.steps p { margin: 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps div:nth-child(2) { border-right: 0; } .steps div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps div { border-right: 0; border-bottom: 1px solid var(--line); } .steps div:last-child { border-bottom: 0; } }
.code { margin-top: 6px; background: var(--night); color: #cfd3dc; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; padding: 20px 22px; overflow-x: auto; white-space: pre; }
.code .c { color: #646875; } .code .k { color: #7fa6ff; } .code .s { color: #e8c08f; }
.codebar { display: flex; justify-content: space-between; align-items: center; background: #16181e; color: #9da1ad; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 8px 14px; margin-top: 24px; }
.codebar i { display: inline-block; width: 7px; height: 7px; background: var(--blue-2); margin-right: 8px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tier { border: 1px solid var(--line); padding: 20px 18px; display: flex; flex-direction: column; position: relative; background: #fff; }
.tier.feat { border-color: var(--ink); }
.tier.feat::before { content: "RECOMMENDED"; position: absolute; top: -1px; right: -1px; background: var(--blue); color: #fff; font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; padding: 4px 8px; }
.tier h4 { margin: 18px 0 4px; font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.tier .for { font-size: 13px; color: var(--ink-2); }
.tier .price { font-size: 44px; letter-spacing: -0.04em; margin: 22px 0 0; font-weight: 400; }
.tier .price small { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0; text-transform: uppercase; margin-left: 4px; }
.tier ul { list-style: none; padding: 0; margin: 22px 0 26px; border-top: 1px solid var(--line); flex: 1; }
.tier li { font-size: 13.5px; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.tier li::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex: none; }
.tier .btn { justify-content: space-between; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* Security */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.trust div { padding: 20px 18px 24px; border-right: 1px solid var(--line); }
.trust div:last-child { border-right: 0; }
.trust .px { width: 26px; height: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 26px; }
.trust .px i { background: #e3e8ff; } .trust .px i.b { background: var(--blue); }
.trust b { display: block; font-weight: 400; font-size: 17px; letter-spacing: -0.015em; margin-bottom: 6px; }
.trust p { margin: 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } .trust div:nth-child(2) { border-right: 0; } .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } .trust div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Final CTA */
.final { margin: 96px 0 0; padding: 72px 24px; text-align: center; }
.final .h2 { max-width: 760px; margin: 0 auto 16px; }
.final p { color: var(--ink-2); margin: 0 auto 28px; max-width: 460px; font-size: 14.5px; }
.final .ctas { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Footer (dark, grid lines) */
footer.foot { margin-top: 96px; background: var(--night); color: #c8cad3; background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 48px 48px; }
footer .fgrid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 24px; padding: 56px 0 40px; }
footer .fgrid > div { background: rgba(13,14,18,.85); }
footer .fb img { height: 30px; width: auto; margin-bottom: 14px; }
footer .fb p { font-size: 13px; color: #8f93a0; margin: 0; max-width: 260px; }
footer h5 { margin: 0 0 14px; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer ul a { font-size: 13px; color: #9da1ad; }
footer ul a:hover { color: #fff; }
footer .fbot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-top: 1px solid var(--night-line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #6f7380; background: rgba(13,14,18,.92); }
footer .fbot a { margin-left: 18px; }
@media (max-width: 860px) { footer .fgrid { grid-template-columns: 1fr 1fr; } footer .fb { grid-column: 1 / -1; } }
.logos div { padding: 0 10px; text-align: left; }
@media (max-width: 1100px) { .logos svg { width: 18px; height: 18px; } .logos div { font-size: 14px; } }
@media (max-width: 560px) { .logos svg { display: none; } .logos div { height: 72px; font-size: 13.5px; } }
