/* Tempo: violet night, lilac light, Instrument Sans + JetBrains Mono. Rhythm everywhere: bars, steps, intervals. */
:root { --bg: #07050d; --s1: #100b1d; --s2: #18112b; --line: rgba(214, 200, 255, .11); --text: #f2eeff; --muted: rgba(226, 218, 255, .58); --accent: #c9b8ff; --hot: #9b7bff; --on-accent: #13092b; --up: #45e0a0; --down: #ff7096; --font: "Instrument Sans", Inter, Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace; --wrap: 1200px; --g: clamp(20px, 4vw, 40px) }
* { box-sizing: border-box; margin: 0; padding: 0 }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; scrollbar-color: rgba(201, 184, 255, .25) transparent; scrollbar-width: thin }
body { background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; min-height: 100vh; display: flex; flex-direction: column }
main { flex: 1 } a { color: inherit; text-decoration: none } img { display: block; max-width: 100% } button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer } em { font-style: normal }
::-webkit-scrollbar { width: 8px } ::-webkit-scrollbar-thumb { background: rgba(201, 184, 255, .22); border-radius: 999px } ::-webkit-scrollbar-thumb:hover { background: rgba(201, 184, 255, .55) }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin: 0 auto; padding-inline: var(--g) }
.muted { color: var(--muted) } .mono { font-family: var(--mono) } .lil { color: var(--accent) } .up { color: var(--up) } .down { color: var(--down) }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, opacity .2s, transform .2s }
.btn.lil { background: var(--accent); color: var(--on-accent) } .btn.lil:hover { opacity: .9 }
.btn.ghost { border: 1px solid rgba(242, 238, 255, .22); background: rgba(16, 11, 29, .35); backdrop-filter: blur(8px) } .btn.ghost:hover { background: rgba(242, 238, 255, .08) }
.btn.big { height: 56px; padding: 0 30px; font-size: 16px }

.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 20 } .bar.solid { position: sticky; background: rgba(7, 5, 13, .84); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line) }
.bar .wrap { height: 80px; display: flex; align-items: center; gap: 34px }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 22px var(--font); letter-spacing: -.02em } .brand img { width: 30px; height: 30px }
.bar nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; color: rgba(242, 238, 255, .72) } .bar nav a:hover, .bar nav a.on { color: #fff }

/* hero: left text over the rhythm of the photo */
.hero { position: relative; isolation: isolate; min-height: min(100vh, 1000px); display: flex; align-items: center; overflow: hidden }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2 }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 5, 13, .95) 0%, rgba(7, 5, 13, .78) 38%, rgba(7, 5, 13, .15) 75%), linear-gradient(0deg, var(--bg) 0%, transparent 26%) }
.hero .wrap { padding-block: 130px 90px }
.hero h1 { font: 600 clamp(46px, 6.6vw, 98px)/.98 var(--font); letter-spacing: -.045em; max-width: 9.5em; text-wrap: balance }
.hero h1 span { color: var(--accent) }
.hero .lead { margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(242, 238, 255, .76); max-width: 31em }
.beat { display: flex; gap: 6px; align-items: flex-end; height: 44px; margin-top: 34px }
.beat i { width: 8px; border-radius: 3px; background: var(--accent); opacity: .35; animation: beat 2.4s ease-in-out infinite }
@keyframes beat { 0%, 100% { opacity: .3 } 12% { opacity: 1 } 30% { opacity: .3 } }
.beat span { margin-left: 14px; font: 13px var(--mono); color: var(--muted); align-self: center }
.ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap }
.ca { margin-top: 20px; display: inline-flex; gap: 12px; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; background: rgba(16, 11, 29, .65); border: 1px solid var(--line); font: 13px var(--mono); color: var(--muted); cursor: pointer } .ca b { color: var(--accent); font-weight: 500 }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.nums div { padding: 34px 0 30px } .nums div + div { padding-left: 28px; border-left: 1px solid var(--line) }
.nums b { display: block; font: 500 clamp(32px, 3.8vw, 52px)/1 var(--mono); letter-spacing: -.04em } .nums span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px }

section.s { padding-block: clamp(80px, 10vw, 136px); border-bottom: 1px solid var(--line) }
.s h2 { font: 600 clamp(34px, 4.4vw, 62px)/1 var(--font); letter-spacing: -.04em; max-width: 13em; text-wrap: balance } .s h2 span { color: var(--accent) }
.s .lead { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 37em }

/* the backtest: real hourly prices, one buy an hour */
.bt { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--s1) }
.bt .plot { padding: 28px 28px 22px }
.bt .plot .t { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap } .bt .plot .t b { font-size: 19px } .bt .plot .t span { color: var(--muted); font-size: 13px }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; align-items: end; height: 240px; margin-top: 26px; position: relative }
.bars i { display: block; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--accent), var(--hot)); min-height: 3px; position: relative }
.bars i.lo { background: linear-gradient(180deg, #efe9ff, var(--accent)) }
.bars .avg { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(242, 238, 255, .55) } .bars .avg span { position: absolute; right: 0; top: -22px; font: 12px var(--mono); color: var(--text); background: var(--s1); padding: 0 4px }
.bt .axis { display: flex; justify-content: space-between; margin-top: 10px; font: 12px var(--mono); color: var(--muted) }
.bt .res { border-left: 1px solid var(--line); padding: 28px; display: grid; align-content: start; gap: 22px }
.bt .res div span { display: block; color: var(--muted); font-size: 13px } .bt .res div b { display: block; font: 500 26px var(--mono); letter-spacing: -.02em; margin-top: 4px }
.bt .res p { color: var(--muted); font-size: 13px }

table.coins { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px }
table.coins th { text-align: right; font-weight: 400; font-size: 13px; color: var(--muted); padding: 0 0 12px } table.coins th:first-child, table.coins td:first-child { text-align: left }
table.coins td { text-align: right; padding: 14px 0; border-top: 1px solid var(--line); font-family: var(--mono); white-space: nowrap } table.coins td + td, table.coins th + th { padding-left: 18px }
.coin { display: flex; align-items: center; gap: 12px; font-family: var(--font) } .coin img { width: 30px; height: 30px; border-radius: 50%; background: var(--s2) } .coin b { font-weight: 600 } .coin small { display: block; color: var(--muted); font-size: 12px }
table.coins a.plan { color: var(--accent); font-family: var(--font); font-weight: 600 }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line) }
.steps4 > div { padding: 28px 24px 0 0 } .steps4 > div + div { padding-left: 24px; border-left: 1px solid var(--line) }
.steps4 .ix { display: flex; gap: 4px; align-items: flex-end; height: 28px; margin-bottom: 20px } .steps4 .ix i { width: 6px; border-radius: 2px; background: var(--accent) }
.steps4 b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em } .steps4 span { display: block; color: var(--muted); margin-top: 8px; font-size: 15px }

dl.safe { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr) }
dl.safe dt, dl.safe dd { padding: 22px 0; border-top: 1px solid var(--line) } dl.safe dt { font-weight: 600; font-size: 19px; padding-right: 24px } dl.safe dd { color: var(--muted) }
.faq { margin-top: 36px } .faq details { border-top: 1px solid var(--line) } .faq details:last-child { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 19px } .faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--accent); font: 400 24px/1 var(--mono); transition: transform .25s } .faq details[open] summary::after { transform: rotate(45deg) }
.faq p { color: var(--muted); padding-bottom: 22px; max-width: 44em }

.end { position: relative; isolation: isolate; overflow: hidden }
.end img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; opacity: .55 }
.end::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 10%, rgba(7, 5, 13, .3)), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)) }
.end .wrap { padding-block: clamp(110px, 14vw, 190px) } .end h2 { font: 600 clamp(42px, 5.6vw, 80px)/1 var(--font); letter-spacing: -.045em; max-width: 10em } .end h2 span { color: var(--accent) } .end .ctas { margin-top: 30px }

.foot { background: #000; padding: 60px 0 72px }
.foot .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap } .foot p { color: rgba(255, 255, 255, .5); font-size: 13px; margin-top: 12px }
.foot .cols { display: flex; gap: 64px; font-size: 14px } .foot .cols div { display: grid; gap: 10px; align-content: start } .foot .cols b { font-weight: 600 } .foot .cols a { color: rgba(255, 255, 255, .62) } .foot .cols a:hover { color: #fff }

.page-top { padding-block: 150px 60px; border-bottom: 1px solid var(--line) } .page-top h1 { font: 600 clamp(44px, 6vw, 84px)/1 var(--font); letter-spacing: -.045em } .page-top p { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 38em }
.doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding-block: 64px; border-bottom: 1px solid var(--line) }
.doc h2 { font: 600 30px/1.1 var(--font); letter-spacing: -.03em; position: sticky; top: 110px; align-self: start }
.doc p, .doc li { color: var(--muted); max-width: 44em } .doc p + p { margin-top: 12px } .doc b { color: var(--text); font-weight: 600 } .doc ul { padding-left: 20px } .doc li + li { margin-top: 8px }
.doc code { font: 14px var(--mono); background: var(--s2); padding: 2px 7px; border-radius: 6px; color: var(--text) }
.doc table { width: 100%; border-collapse: collapse } .doc td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top } .doc td:first-child { color: var(--muted); width: 36%; padding-right: 16px } .doc td a { font: 13px var(--mono); color: var(--accent) }

@media (max-width: 960px) {
  .bar nav { display: none } .bar .wrap { justify-content: space-between }
  .nums { grid-template-columns: 1fr 1fr } .nums div:nth-child(3) { padding-left: 0; border-left: 0 } .nums div:nth-child(n+3) { border-top: 1px solid var(--line) }
  .bt { grid-template-columns: 1fr } .bt .res { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr }
  .steps4 { grid-template-columns: 1fr 1fr; row-gap: 28px } .steps4 > div:nth-child(3) { padding-left: 0; border-left: 0 }
  dl.safe, .doc { grid-template-columns: 1fr } .doc { gap: 20px } .doc h2 { position: static } dl.safe dd { border-top: 0; padding-top: 0 } .hs { display: none }
}
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr } .steps4 > div + div { padding-left: 0; border-left: 0 } .ctas .btn { flex: 1 } .bars { height: 180px } .foot .cols { gap: 36px; flex-wrap: wrap } }
@media (prefers-reduced-motion: reduce) { .beat i { animation: none; opacity: .7 } }
[hidden] { display: none !important }
