/* bazooka.trade landing page: concept "2a Bazooka" (design/brand.dc.html). */

@font-face {
	font-family: "Geist";
	src: url("../fonts/geist.881c8777f2.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/geist-mono.8aadc0877a.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque.a79fdb52d4.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #090909;
	--fg: #f3efe8;
	--text-2: #9a948a;
	--muted: #6b665e;
	--line: #1a1917;
	--line-2: #2a2824;
	--band: #0f0e0d;
	--cell: #111010;
	--cell-line: #1f1d1a;
	--orange: oklch(0.75 0.19 55);
	--orange-ink: oklch(0.82 0.16 55);
	--ok: oklch(0.80 0.16 155);
	--bad: oklch(0.72 0.18 22);
	--display: "Bricolage Grotesque", "Geist", sans-serif;
	--sans: "Geist", sans-serif;
	--mono: "Geist Mono", ui-monospace, monospace;
	--pad: 56px;
	color-scheme: dark;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--display);
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h3 { font-size: inherit; }
kbd { font: inherit; }

.wrap {
	box-sizing: border-box;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--pad);
}
.o { color: var(--orange); }
main { overflow-x: clip; }

/* Buttons */
.pill {
	display: flex;
	align-items: center;
	border-radius: 999px;
	white-space: nowrap;
}
.pill-ghost { height: 38px; padding: 0 16px; border: 1px solid var(--line-2); font: 500 13px var(--sans); }
.pill-fire { height: 50px; padding: 0 22px; background: var(--orange); color: var(--bg); font: 700 15px var(--sans); }
.pill-ink { height: 60px; padding: 0 30px; background: var(--bg); color: var(--fg); font: 700 16px var(--sans); }

/* Navigation */
.nav { border-bottom: 1px solid var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 24px; height: 24px; display: block; flex: none; }
.mark-ring { fill: none; stroke: #f5f5f6; stroke-width: 18; }
.mark-round { fill: var(--orange); }
.brand-word { font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 28px; font: 500 13px var(--sans); color: var(--text-2); }
.nav-fill { flex: 1; }
.net { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.net-live { color: var(--ok); }

/* Hero */
.hero { padding-top: 120px; display: flex; flex-direction: column; gap: 40px; container-type: inline-size; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.hero-title {
	/* The longest line ("from out.") is 3.65 em wide. */
	font-size: min(148px, calc((100vw - 2 * var(--pad)) / 3.75));
	font-size: min(148px, 100cqi / 3.75);
	line-height: .86;
	font-weight: 800;
	letter-spacing: -.055em;
	text-wrap: balance;
	max-width: 980px;
}
.hero-side { display: flex; flex-direction: column; gap: 22px; max-width: 380px; padding-top: 14px; }
.hero-side p { font: 400 18px/1.5 var(--sans); color: var(--text-2); text-wrap: pretty; }
.ctas { display: flex; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 22px 24px 26px 0; border-right: 1px solid var(--line); margin-right: 24px; display: flex; flex-direction: column; gap: 4px; }
.stat dt { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--muted); }
.stat dd { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -.04em; }

/* Trade ticker (illustration). The track holds three equal sets and moves by one set per loop. */
.ticker {
	margin-top: 56px;
	height: 44px;
	display: flex;
	align-items: center;
	padding-inline: max(var(--pad), calc((100% - 1440px) / 2 + var(--pad)));
	background: var(--band);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font: 400 12px var(--mono);
	color: var(--text-2);
	white-space: nowrap;
	overflow: hidden;
}
.ticker-track { display: flex; flex: none; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; flex: none; gap: 40px; padding-right: 40px; }
.trade { display: flex; gap: 8px; }
.trade-buy { color: var(--ok); }
.trade-sell { color: var(--bad); }
.trade-tok { color: var(--fg); }
.trade-who { color: var(--muted); }
@keyframes ticker { to { transform: translateX(calc(-100% / 3)); } }

/* The live rail */
.rail-sec { padding-block: 96px; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 64px; align-items: center; }
.rail-copy { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--orange); }
.h2 { font-size: 64px; line-height: .95; font-weight: 800; letter-spacing: -.045em; }
.rail-copy p { font: 400 17px/1.55 var(--sans); color: var(--text-2); max-width: 440px; text-wrap: pretty; }
.keys { display: flex; gap: 28px; font: 400 13px var(--mono); color: var(--muted); }
.rail-demo { position: relative; }
.glow { position: absolute; inset: -40px; background: radial-gradient(closest-side, oklch(0.75 0.19 55 / .22), transparent 70%); pointer-events: none; }
.rail-card {
	position: relative;
	border-radius: 18px;
	background: #111;
	border: 1px solid #262421;
	box-shadow: 0 50px 120px rgba(0, 0, 0, .7);
	overflow: hidden;
	font-family: var(--sans);
	font-size: 12px;
}
.rail-head { padding: 18px 18px 10px; display: flex; justify-content: space-between; align-items: flex-end; }
.rail-sum { display: flex; flex-direction: column; gap: 4px; }
.rail-sum-label { color: var(--muted); }
.rail-sum-value { font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--ok); }
.sell-all { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 10px; background: var(--orange); color: var(--bg); font-weight: 700; }
.sell-all kbd { font: 500 10px var(--mono); padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .18); }
.rail-row { display: grid; grid-template-columns: 28px 1fr 90px 64px; gap: 10px; align-items: center; height: 44px; padding: 0 18px; border-top: 1px solid var(--line); }
.tile { width: 26px; height: 26px; border-radius: 7px; }
.h20 { background: oklch(0.34 0.06 20); }
.h40 { background: oklch(0.34 0.06 40); }
.h80 { background: oklch(0.34 0.06 80); }
.h150 { background: oklch(0.34 0.06 150); }
.h210 { background: oklch(0.34 0.06 210); }
.h300 { background: oklch(0.34 0.06 300); }
.row-id { display: flex; flex-direction: column; }
.row-id b { font-weight: 600; }
.row-id span { font: 400 11px var(--mono); color: var(--muted); }
.pnl { text-align: right; font-weight: 600; }
.pnl.up { color: var(--ok); }
.pnl.down { color: var(--bad); }
.row-sell { display: flex; justify-content: flex-end; }
.row-sell span { padding: 5px 10px; border-radius: 6px; background: oklch(0.75 0.19 55 / .14); color: var(--orange-ink); font-weight: 700; font-size: 11px; }

/* The arsenal */
.arsenal { padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; }
.sec-meta { font: 400 13px var(--mono); color: var(--muted); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.cell {
	grid-column: span 2;
	padding: 26px;
	border-radius: 18px;
	background: var(--cell);
	border: 1px solid var(--cell-line);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.cell.s3 { grid-column: span 3; }
.cell.s6 { grid-column: span 6; }
.cell-n { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--orange); }
.cell-body { display: flex; flex-direction: column; gap: 8px; }
.cell h3 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.cell p { font: 400 14px/1.5 var(--sans); color: var(--text-2); text-wrap: pretty; max-width: 420px; }
.cell.hot { background: var(--orange); color: var(--bg); }
.cell.hot .cell-n { color: rgba(9, 9, 9, .6); }
.cell.hot p { color: rgba(9, 9, 9, .75); }

/* How a launch lands */
.timeline { border-top: 1px solid var(--line); }
.timeline-in { padding-block: 96px; display: flex; flex-direction: column; gap: 48px; }
.timeline .sec-head { gap: 40px; }
.timeline .h2 { max-width: 720px; }
.sec-lede { font: 400 16px/1.5 var(--sans); color: var(--text-2); max-width: 380px; text-wrap: pretty; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 18px; padding-right: 24px; }
.step-track { display: flex; align-items: center; }
.step-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 2px solid var(--orange); }
.step-line { flex: 1; height: 1px; background: var(--line-2); }
.step:last-child .step-dot { background: transparent; }
.step:last-child .step-line { background: transparent; }
.step-n { font-size: 80px; line-height: .8; font-weight: 800; letter-spacing: -.05em; color: #1f1d1a; }
.step-body { display: flex; flex-direction: column; gap: 6px; }
.step h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.step p { font: 400 13px/1.5 var(--sans); color: var(--text-2); text-wrap: pretty; }

/* Fire when ready */
.cta-wrap { padding-bottom: 56px; }
.cta { padding: 80px 72px; border-radius: 28px; background: var(--orange); color: var(--bg); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; }
.cta-title { font-size: 96px; font-weight: 800; letter-spacing: -.055em; line-height: .86; }
.cta-copy p { font: 500 17px var(--sans); opacity: .8; }

/* Footer */
.foot { position: relative; height: 200px; overflow: hidden; border-top: 1px solid var(--line); }
.foot-in { position: relative; height: 100%; }
.foot-word { position: absolute; left: 40px; bottom: -.2em; font-size: min(300px, 21vw); line-height: 1; font-weight: 800; letter-spacing: -.06em; color: #121110; white-space: nowrap; }
.foot-bar { position: absolute; left: var(--pad); right: var(--pad); top: 28px; display: flex; justify-content: space-between; font: 400 12px var(--mono); color: var(--muted); }
.foot-links { display: flex; gap: 24px; }

/* Narrow desktop and tablet */
@media (max-width: 1099px) {
	:root { --pad: 40px; }
	/* The side text keeps its column: the title shrinks to fit next to it. */
	.hero-title { font-size: min(148px, (100cqi - 440px) / 3.7); }
	.rail-sec { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.rail-demo { max-width: 560px; }
	.cta-title { font-size: 80px; }
}

@media (max-width: 899px) {
	:root { --pad: 32px; }
	.nav-in { gap: 24px; }
	.hero { padding-top: 88px; }
	.hero-row { flex-direction: column; gap: 28px; }
	.hero-side { max-width: 520px; padding-top: 0; }
	.hero-title { font-size: min(148px, 100cqi / 3.75); }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat:nth-child(2n) { border-right: 0; margin-right: 0; }
	.stat { justify-content: space-between; }
	.stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
	.stat dd { font-size: 30px; }
	.rail-sec { padding-block: 80px; }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); }
	.cell, .cell.s3 { grid-column: span 1; }
	.cell.s6, .cell.c-warm { grid-column: span 2; }
	.timeline-in { padding-block: 80px; }
	.timeline .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.step { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 24px; row-gap: 12px; padding: 0 0 32px; }
	.step-track { grid-row: 1 / span 2; flex-direction: column; align-self: stretch; }
	.step-line { width: 1px; height: auto; }
	.step-n { font-size: 56px; }
	.cta { grid-template-columns: minmax(0, 1fr); padding: 56px 40px; }
	.cta .pill-ink { justify-self: start; }
	.cta-title { font-size: 72px; }
}

/* Phone */
@media (max-width: 640px) {
	:root { --pad: 20px; }
	.nav-in { height: 60px; gap: 16px; }
	.nav-links { display: none; }
	.pill-ghost { height: 34px; padding: 0 14px; }
	.hero { padding-top: 56px; gap: 32px; }
	.hero-side p { font-size: 16px; }
	.stat { padding: 18px 8px 20px 0; margin-right: 12px; }
	.stat dt { font-size: 10px; letter-spacing: .06em; }
	.stat dd { font-size: 22px; }
	.ticker { margin-top: 40px; }
	.rail-sec { padding-block: 64px; gap: 44px; }
	.rail-copy { gap: 22px; }
	.h2 { font-size: 44px; }
	.rail-copy p { font-size: 16px; }
	.keys { flex-wrap: wrap; gap: 8px 20px; }
	.glow { inset: -24px; }
	.rail-head { padding: 16px 14px 10px; }
	.rail-sum-value { font-size: 28px; }
	.sell-all { height: 36px; padding: 0 12px; }
	.rail-row { grid-template-columns: 26px minmax(0, 1fr) 60px 46px; gap: 8px; padding: 0 14px; }
	.arsenal { padding-bottom: 64px; gap: 28px; }
	.arsenal .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 10px; }
	.cell, .cell.s3, .cell.s6, .cell.c-warm { grid-column: auto; min-height: 168px; box-sizing: border-box; gap: 28px; padding: 22px; }
	.cell h3 { font-size: 23px; }
	.timeline-in { padding-block: 64px; gap: 36px; }
	.step { column-gap: 18px; padding-bottom: 28px; }
	.step-n { font-size: 44px; }
	.cta-wrap { padding-bottom: 40px; }
	.cta { padding: 40px 24px; border-radius: 22px; gap: 28px; }
	.cta-title { font-size: 56px; }
	.cta-copy p { font-size: 15px; line-height: 1.45; }
	.cta .pill-ink { justify-self: stretch; justify-content: center; height: 54px; }
	.foot { height: 168px; }
	.foot-bar { top: 24px; flex-direction: column; gap: 10px; }
	.foot-word { left: 12px; }
}

@media (max-width: 760px) {
	.net-pre { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation: none; }
}
