/* pips 'n' beans — design system
   Concept: "No signal trades alone." The rounded candle from the logo is the
   one primitive; green (--go) appears only when every condition agrees. */

:root {
	--paper: #f3ede3;
	--paper-2: #ebe3d5;
	--card: #fbf8f2;
	--ink: #1d1814;
	--ink-2: #463c34;
	--muted: #6f6357;
	--line: #dcd2c3;
	--line-2: #c4b6a3;
	--go: #11804a;
	--go-soft: rgba(17, 128, 74, 0.11);
	--on-ink: #f6f1e8;
	--grain-opacity: 0.5;

	--font-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
	--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--r-sm: 6px;
	--r: 12px;
	--r-lg: 20px;
	--max: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 128px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #15110e;
		--paper-2: #1d1814;
		--card: #211b16;
		--ink: #efe7da;
		--ink-2: #cfc2b0;
		--muted: #a39584;
		--line: #342b23;
		--line-2: #4a3f35;
		--go: #43c47e;
		--go-soft: rgba(67, 196, 126, 0.14);
		--on-ink: #15110e;
		--grain-opacity: 0.22;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--paper: #15110e;
	--paper-2: #1d1814;
	--card: #211b16;
	--ink: #efe7da;
	--ink-2: #cfc2b0;
	--muted: #a39584;
	--line: #342b23;
	--line-2: #4a3f35;
	--go: #43c47e;
	--go-soft: rgba(67, 196, 126, 0.14);
	--on-ink: #15110e;
	--grain-opacity: 0.22;
	color-scheme: dark;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* analogue grain over the paper */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: var(--grain-opacity);
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
img, svg { max-width: 100%; }
::selection { background: var(--ink); color: var(--on-ink); }

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

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h1 em, h2 em, h3 em, .serif {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
}
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.mono { font-family: var(--font-mono); font-size: 0.8em; letter-spacing: 0; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.sec-num {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--muted);
	letter-spacing: 0.02em;
}

.skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 200;
	background: var(--ink);
	color: var(--on-ink);
	padding: 10px 14px;
	border-radius: var(--r-sm);
}
.skip:focus { left: 8px; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- buttons & pills ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: 600 15px/1 var(--font-sans);
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-2); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	font-size: 14px;
	text-decoration: none;
	background: var(--card);
	transition: border-color .2s;
}
.pill:hover { border-color: var(--ink); }
.pill b {
	font: 500 11px/1 var(--font-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	background: var(--ink);
	color: var(--on-ink);
	padding: 6px 9px;
	border-radius: 999px;
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 500 11px/1 var(--font-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 6px 9px;
	border-radius: 999px;
	border: 1px solid var(--line-2);
	color: var(--ink-2);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.is-soon { color: var(--muted); border-style: dashed; }
.tag.is-soon::before { background: transparent; border: 1px solid currentColor; }

/* ---------- header (mobile = tabs, never a mega-menu) ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: 68px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 600;
	font-size: 19px;
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.brand .mark { width: 30px; height: 32px; flex: none; }
.brand .amp { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.12em; }

.nav { display: flex; justify-content: center; gap: 4px; }
.nav a {
	position: relative;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color: var(--ink-2);
	border-radius: 999px;
	transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 2px;
	background: var(--ink);
}
.nav .nav-home { display: none; }

.header-cta .short { display: none; }

@media (max-width: 860px) {
	.header-row { grid-template-columns: 1fr auto; gap: 0 12px; min-height: 0; padding-top: 10px; }
	.header-row .brand { grid-row: 1; grid-column: 1; }
	.header-cta { grid-row: 1; grid-column: 2; }
	.header-cta .long { display: none; }
	.header-cta .short { display: inline; }
	.nav {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
		margin: 8px calc(var(--gutter) * -1) 0;
		padding: 0 var(--gutter) 8px;
		gap: 2px;
	}
	.nav::-webkit-scrollbar { display: none; }
	.nav a { padding: 8px 12px; font-size: 14px; flex: none; }
	.nav .nav-home { display: inline-block; }
}

/* sticky in-page nav (product pages) */
.subnav {
	position: sticky;
	top: 69px;
	z-index: 40;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
	flex: none;
	padding: 12px 12px;
	font: 500 12px/1 var(--font-mono);
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 860px) { .subnav { top: 100px; } }

/* ---------- sections ---------- */

.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section.is-band { background: var(--paper-2); padding: var(--section) 0; border-block: 1px solid var(--line); }
.section.is-band + .section { padding-top: var(--section); }

.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(34px, 5vw, 58px); }
.sec-head p { font-size: 18px; color: var(--ink-2); max-width: 620px; }
.sec-head.is-split {
	max-width: none;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: end;
	gap: 16px 48px;
}
.sec-head.is-split .sec-num { grid-column: 1 / -1; }
@media (max-width: 860px) { .sec-head.is-split { grid-template-columns: 1fr; } }

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}

/* ---------- hero ---------- */

.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: clamp(52px, 8.2vw, 104px); letter-spacing: -0.045em; line-height: .95; }
.hero h1 em { letter-spacing: -0.02em; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.reassure { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.reassure::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--paper-2); }

.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.page-hero .inner { display: grid; gap: 22px; justify-items: start; }
.page-hero .inner > * { max-width: 820px; }
.page-hero h1 { font-size: clamp(46px, 7vw, 88px); letter-spacing: -0.04em; line-height: .97; }
.page-hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 620px; }

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; }
}

/* ---------- decision panel (hero demo) ---------- */

.panel {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(40, 28, 16, .35);
	overflow: hidden;
}
.panel-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px 12px 18px;
	border-bottom: 1px solid var(--line);
	font: 500 11.5px/1.2 var(--font-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}
.panel-bar .sym { color: var(--ink); }
.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--line-2);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	flex: none;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 14px; height: 14px; }

.chart { display: block; width: 100%; height: auto; aspect-ratio: 400 / 210; padding: 10px 12px 0; }
.chart .c-wick { stroke: var(--ink); stroke-width: 1.2; }
.chart .c-body { stroke: var(--ink); stroke-width: 1.2; }
.chart .c-up .c-body { fill: var(--ink); }
.chart .c-down .c-body { fill: var(--card); }
.chart .candle { opacity: 0; transition: opacity .35s var(--ease); }
.chart .candle.is-in { opacity: 1; }
.chart .lvl { stroke-width: 1.4; fill: none; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset .9s var(--ease); }
.chart .lvl.is-in { stroke-dashoffset: 0; }
.chart .lvl-sl { stroke: var(--ink-2); }
.chart .lvl-sl.dash { stroke-dasharray: 4 4; stroke-dashoffset: 0; opacity: 0; transition: opacity .5s; }
.chart .lvl-sl.dash.is-in { opacity: 1; }
.chart .lvl-tp { stroke: var(--go); }
.chart .lvl-label { font: 500 9px var(--font-mono); letter-spacing: .04em; fill: var(--ink-2); opacity: 0; transition: opacity .4s .5s; }
.chart .lvl-label.go { fill: var(--go); }
.chart .lvl-label.is-in { opacity: 1; }
.chart .entry-dot { fill: var(--go); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2); transition: opacity .3s, transform .5s var(--ease); }
.chart .entry-dot.is-in { opacity: 1; transform: scale(1); }
.chart .news-band { fill: var(--ink); opacity: 0; transition: opacity .5s; }
.chart .news-band.is-in { opacity: .06; }

.checks {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 6px;
	padding: 12px 14px 0;
	margin: 0;
	list-style: none;
}
.check {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 10px 2px 9px;
	border: 1px dashed var(--line-2);
	border-radius: 10px;
	font: 500 10.5px/1.1 var(--font-mono);
	letter-spacing: .02em;
	color: var(--muted);
	text-align: center;
	transition: background .3s, border-color .3s, color .3s;
}
.check .glyph {
	display: grid;
	place-items: center;
	width: 18px;
	height: 22px;
	border-radius: 5px;
	border: 1.4px solid currentColor;
	font-size: 11px;
	line-height: 1;
	transition: background .3s, color .3s, border-color .3s;
}
.check.is-pass { border-style: solid; border-color: var(--ink); color: var(--ink); }
.check.is-pass .glyph { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.check.is-fail { border-style: solid; border-color: var(--ink-2); color: var(--ink-2); background: repeating-linear-gradient(135deg, transparent 0 5px, var(--paper-2) 5px 6px); }
.check.is-checking { border-style: solid; border-color: var(--ink-2); color: var(--ink); }
.check.is-checking .glyph { animation: pulse .8s ease-in-out infinite alternate; }
.checks.is-go .check { border-color: var(--go); color: var(--go); background: var(--go-soft); }
.checks.is-go .check .glyph { background: var(--go); border-color: var(--go); color: var(--card); }
@keyframes pulse { from { opacity: .3; } to { opacity: 1; } }

.status {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 12px 14px 14px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--paper-2);
	font: 500 12px/1.35 var(--font-mono);
	letter-spacing: .02em;
	min-height: 44px;
	transition: background .3s, color .3s;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-go { background: var(--go-soft); color: var(--go); }
.status.is-go .dot { background: var(--go); }
.status.is-wait .dot { background: transparent; border: 1.5px solid var(--ink-2); }
.panel-foot {
	padding: 0 18px 14px;
	font-size: 12px;
	color: var(--muted);
}
@media (max-width: 480px) {
	.checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- fact strip ---------- */

.facts {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-block: 1px solid var(--line);
}
.fact { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font: 500 clamp(22px, 2.6vw, 30px)/1.1 var(--font-mono); letter-spacing: -0.02em; }
.fact span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) {
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
	.fact:nth-child(-n+2) { border-top: 0; }
	.fact:last-child { grid-column: 1 / -1; }
}

/* ---------- problem ---------- */

.problem {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.problem h2 { font-size: clamp(34px, 4.8vw, 56px); }
.problem .body { display: grid; gap: 18px; font-size: 18px; color: var(--ink-2); padding-top: 34px; }
.problem .body strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .problem { grid-template-columns: 1fr; } .problem .body { padding-top: 0; } }

/* ---------- confluence (interactive) ---------- */

.confluence {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
}
.toggles { list-style: none; margin: 0; padding: 8px; display: grid; }
.toggle {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 16px 14px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background .2s;
}
.toggle:hover { background: var(--paper-2); }
.toggles li + li .toggle { border-top: 1px solid var(--line); border-radius: 0; }
.toggles li + li .toggle:hover { border-radius: 12px; border-top-color: transparent; }
.toggle .t-num { font: 500 12px var(--font-mono); color: var(--muted); width: 22px; }
.toggle .t-text { display: grid; gap: 2px; }
.toggle .t-text b { font-weight: 600; font-size: 16px; }
.toggle .t-text span { font-size: 14px; color: var(--muted); }
.switch {
	position: relative;
	width: 44px;
	height: 26px;
	border-radius: 999px;
	border: 1.5px solid var(--line-2);
	background: var(--paper-2);
	flex: none;
	transition: background .2s, border-color .2s;
}
.switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--muted);
	transition: transform .25s var(--ease), background .2s;
}
.toggle[aria-checked="true"] .switch { background: var(--ink); border-color: var(--ink); }
.toggle[aria-checked="true"] .switch::after { transform: translateX(18px); background: var(--on-ink); }

.verdict {
	position: relative;
	display: grid;
	align-content: space-between;
	gap: 28px;
	padding: clamp(22px, 3vw, 32px);
	transition: background .3s, border-color .3s;
}
.verdict .v-count { font: 500 13px var(--font-mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.verdict .v-title { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.02; }
.verdict .v-body { color: var(--ink-2); font-size: 15.5px; }
.v-candles { display: flex; align-items: flex-end; gap: 10px; height: 92px; }
.v-candle {
	position: relative;
	flex: 1;
	max-width: 30px;
	height: 60%;
	border: 1.6px solid var(--ink-2);
	border-radius: 7px;
	background: transparent;
	transition: background .3s, border-color .3s, height .4s var(--ease);
}
.v-candle::before, .v-candle::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 1.6px;
	margin-left: -.8px;
	background: var(--ink-2);
	height: 14px;
	transition: background .3s;
}
.v-candle::before { bottom: 100%; }
.v-candle::after { top: 100%; height: 8px; }
.v-candle.is-on { background: var(--ink); border-color: var(--ink); height: 74%; }
.verdict.is-go { background: var(--go-soft); border-color: var(--go); }
.verdict.is-go .v-title { color: var(--go); }
.verdict.is-go .v-candle { background: var(--go); border-color: var(--go); height: 82%; }
.verdict.is-go .v-candle::before, .verdict.is-go .v-candle::after { background: var(--go); }
.confluence-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .confluence { grid-template-columns: 1fr; } .verdict { order: -1; } }

/* ---------- stops explainer ---------- */

.stops { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.stops-figure { padding: clamp(14px, 2vw, 24px); }
.stops-figure svg { display: block; width: 100%; height: auto; }
.stops-figure .price { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.stops-figure .fib { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 4; }
.stops-figure .swing { fill: var(--card); stroke: var(--ink); stroke-width: 1.8; }
.stops-figure .lbl { font: 500 11px var(--font-mono); fill: var(--muted); letter-spacing: .03em; }
.stops-figure .lbl.ink { fill: var(--ink); }
.stops-figure .lbl.go { fill: var(--go); }
.stops-figure .tp { stroke: var(--go); stroke-width: 1.6; }
.stops-figure .entry { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 1 3; }
.stops-figure .sl line { stroke: var(--ink); stroke-width: 1.8; stroke-dasharray: 6 4; }
.stops-figure .sl { transition: transform .9s var(--ease); }
.stops-figure .reveal-rect { transition: width 1.1s var(--ease); }
.stops-figure .ghost { fill: none; stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 2 4; }
.stops-steps { display: grid; align-content: start; gap: 8px; padding: 8px; }
.stops-step {
	display: grid;
	gap: 6px;
	padding: 18px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}
.stops-step:hover { background: var(--paper-2); }
.stops-step[aria-selected="true"] { background: var(--paper-2); border-color: var(--line-2); }
.stops-step .s-k { font: 500 12px var(--font-mono); color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.stops-step b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.stops-step span { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 860px) { .stops { grid-template-columns: 1fr; } }

/* ---------- decision log ---------- */

.log { overflow: hidden; }
.log-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	font: 500 11.5px/1.3 var(--font-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}
.log-head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.log-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.2s ease-in-out infinite alternate; }
.log-rows { list-style: none; margin: 0; padding: 0; font: 400 13px/1.45 var(--font-mono); }
.log-row {
	display: grid;
	grid-template-columns: 64px 120px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid var(--line);
	animation: rowIn .5s var(--ease);
}
.log-row:last-child { border-bottom: 0; }
.log-row .t { color: var(--muted); }
.log-row .sym { color: var(--ink); }
.log-row .marks { letter-spacing: .12em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-row .marks i { font-style: normal; color: var(--ink); }
.log-row .marks s { text-decoration: none; color: var(--muted); }
.log-row .out { justify-self: end; font-weight: 500; white-space: nowrap; color: var(--ink-2); }
.log-row.is-entry { background: var(--go-soft); }
.log-row.is-entry .out { color: var(--go); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.log-foot { padding: 12px 18px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 720px) {
	.log-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 4px 12px; font-size: 12px; }
	.log-row .marks { grid-column: 2 / -1; grid-row: 2; }
	.log-row .out { grid-column: 3; grid-row: 1; }
}

/* ---------- brokers ---------- */

.brokers { display: grid; border-top: 1px solid var(--ink); }
.broker {
	display: grid;
	grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
	gap: 20px;
	align-items: center;
	padding: 26px 0;
	border-bottom: 1px solid var(--line);
}
.broker .b-num { font: 500 13px var(--font-mono); color: var(--muted); }
.broker .b-name { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.broker .b-desc { color: var(--ink-2); font-size: 15.5px; }
.broker .b-act { display: grid; gap: 8px; justify-items: end; }
.broker .b-sub { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.broker .b-sub:hover { color: var(--ink); }
.broker.is-soon .b-name { color: var(--muted); }
@media (max-width: 860px) {
	.broker { grid-template-columns: 36px minmax(0, 1fr); gap: 10px 12px; }
	.broker .b-desc, .broker .b-act { grid-column: 2; }
	.broker .b-act { justify-items: start; }
}
.fine { font-size: 13.5px; color: var(--muted); max-width: 760px; }

/* ---------- steps (setup) ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.step { padding: 22px 22px 8px 0; display: grid; align-content: start; gap: 10px; position: relative; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step .s-when { font: 500 12px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-size: 21px; letter-spacing: -0.02em; }
.step p { font-size: 15px; color: var(--ink-2); }
.step a { font-weight: 500; }
@media (max-width: 860px) {
	.steps { grid-template-columns: 1fr; }
	.step, .step + .step { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
	.step:first-child { border-top: 0; }
}

/* ---------- won'ts ---------- */

.wonts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wont { padding: clamp(20px, 3vw, 28px); display: grid; gap: 10px; align-content: start; }
.wont h3 { font-size: 21px; letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; }
.wont h3::before { content: "×"; font: 400 20px var(--font-mono); color: var(--muted); }
.wont p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 720px) { .wonts { grid-template-columns: 1fr; } }

/* ---------- modules (EA page) ---------- */

.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.module { padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.module .m-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.module h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.025em; }
.module p { color: var(--ink-2); font-size: 15.5px; }
.module ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.module li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.module li::before { content: ""; width: 8px; height: 11px; margin-top: 6px; border: 1.4px solid var(--ink); border-radius: 3px; background: var(--ink); }
@media (max-width: 760px) { .modules { grid-template-columns: 1fr; } }

/* inputs panel */
.inputs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.inputs { font: 400 13px/1.4 var(--font-mono); overflow: hidden; }
.inputs table { width: 100%; border-collapse: collapse; }
.inputs th, .inputs td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.inputs th { font-weight: 500; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.inputs td:last-child { text-align: right; color: var(--ink); }
.inputs td:first-child { color: var(--ink-2); }
.inputs tr:last-child td { border-bottom: 0; }
.inputs .grp td { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: 16px; }
@media (max-width: 860px) { .inputs-wrap { grid-template-columns: 1fr; } }

/* pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.price-card { padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; align-content: start; }
.price { font: 500 clamp(56px, 8vw, 88px)/1 var(--font-mono); letter-spacing: -0.05em; }
.price small { font: 400 16px var(--font-sans); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.price-card li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; font-size: 15.5px; }
.price-card li::before { content: "✓"; font-family: var(--font-mono); color: var(--ink); }
.argument { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-content: start; background: transparent; border-style: dashed; }
.argument h3 { font-size: 26px; letter-spacing: -0.02em; }
.argument p { color: var(--ink-2); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 16px;
	align-items: center;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-size: clamp(18px, 2vw, 21px);
	font-weight: 600;
	letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	font: 400 22px/1 var(--font-mono);
	color: var(--muted);
	transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: var(--ink-2); max-width: 760px; display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 15px; margin-bottom: 16px; }

/* ---------- guide (setup) ---------- */

.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.guide-toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14px; }
.guide-toc a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.guide-toc a:hover { color: var(--ink); }
.guide-steps { list-style: none; margin: 0; padding: 0; counter-reset: g; display: grid; gap: 12px; }
.guide-step { padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; counter-increment: g; scroll-margin-top: 120px; }
.guide-step::before { content: counter(g, decimal-leading-zero); font: 500 14px var(--font-mono); color: var(--muted); padding-top: 4px; }
.guide-step h2 { font-size: clamp(22px, 2.4vw, 26px); letter-spacing: -0.02em; margin-bottom: 10px; }
.guide-step p, .guide-step li { color: var(--ink-2); font-size: 16px; }
.guide-step .body { display: grid; gap: 12px; }
.guide-step ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.kbd, code {
	font-family: var(--font-mono);
	font-size: 0.86em;
	padding: 2px 6px;
	border: 1px solid var(--line-2);
	border-radius: 5px;
	background: var(--paper-2);
	color: var(--ink);
	white-space: nowrap;
}
.callout { padding: 14px 16px; border-left: 3px solid var(--ink); background: var(--paper-2); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; } .guide-toc { display: none; } }

/* ---------- contact ---------- */

.intents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.intent {
	padding: 24px;
	display: grid;
	gap: 12px;
	align-content: space-between;
	min-height: 210px;
	text-decoration: none;
	transition: border-color .2s, transform .2s var(--ease);
}
.intent:hover { border-color: var(--ink); transform: translateY(-2px); }
.intent .i-k { font: 500 12px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.intent h3 { font-size: 22px; letter-spacing: -0.02em; }
.intent q { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--ink-2); quotes: "“" "”"; }
.intent .go-line { font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .intents { grid-template-columns: 1fr; } .intent { min-height: 0; } }

/* ---------- closing band ---------- */

.close-band { padding: clamp(72px, 11vw, 140px) 0; text-align: center; }
.close-band .inner { display: grid; justify-items: center; gap: 24px; }
.close-band h2 { font-size: clamp(42px, 7.4vw, 96px); letter-spacing: -0.045em; line-height: .96; max-width: 16ch; }
.close-band h2 em { display: block; }
.close-band p { color: var(--ink-2); font-size: 18px; max-width: 520px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--ink); padding: 40px 0 28px; font-size: 14.5px; }
.sessions {
	display: grid;
	grid-template-columns: auto repeat(4, minmax(0, 1fr));
	gap: 0;
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	font-family: var(--font-mono);
	font-size: 12.5px;
}
.sessions > * { padding: 14px 16px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.sessions > :first-child { border-left: 0; background: var(--paper-2); color: var(--ink-2); max-width: 240px; }
.sessions .city { display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; color: var(--muted); }
.sessions .city::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.4px solid var(--muted); }
.sessions .is-open .city { color: var(--ink); }
.sessions .is-open .city::before { background: var(--ink); border-color: var(--ink); }
.sessions .time { font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.sessions .state { color: var(--muted); font-size: 11.5px; }
@media (max-width: 860px) {
	.sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sessions > :first-child { grid-column: 1 / -1; max-width: none; }
	.sessions > :nth-child(2), .sessions > :nth-child(4) { border-left: 0; }
	.sessions > :nth-child(n+2) { border-top: 1px solid var(--line); }
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding: 48px 0 40px;
}
.footer-grid h4 { font: 500 11.5px var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--ink-2); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 300px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

.summarize {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	font-size: 13.5px;
	color: var(--muted);
}
.summarize a { color: var(--ink-2); text-underline-offset: 3px; }
.summarize a:hover { color: var(--ink); }

.risk { padding: 20px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); scroll-margin-top: 120px; }
.risk strong { color: var(--ink-2); }

.candle-strip { display: block; width: 100%; height: 56px; margin: 12px 0 8px; }
.candle-strip line { stroke: var(--line-2); stroke-width: 1; }
.candle-strip rect { stroke: var(--line-2); stroke-width: 1; fill: var(--paper); }
.candle-strip .up rect { fill: var(--line-2); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: 13px; }

/* floating WhatsApp (mobile only) */
.wa-float {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	display: none;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--on-ink);
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
}
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .wa-float { display: grid; } }

/* ---------- 404 ---------- */

.lost { min-height: 64vh; display: grid; align-items: center; padding: 64px 0; }
.lost .inner { display: grid; gap: 22px; justify-items: start; max-width: 720px; }
.lost h1 { font-size: clamp(48px, 8vw, 104px); letter-spacing: -0.045em; line-height: .95; }
.lost .code { font: 500 14px var(--font-mono); color: var(--muted); letter-spacing: .06em; }
.lost-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal (only when JS is on) ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

.wonts.is-facts .wont h3::before { content: "→"; }
.footer-grid a.btn { color: var(--on-ink); }
.footer-grid a.btn:hover { color: var(--on-ink); text-decoration: none; }

/* ---------- EA hero: the decision tape ---------- */

.ea-hero { padding: clamp(32px, 5vw, 64px) 0 0; overflow: hidden; }
.ea-hero-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(28px, 5vw, 72px);
	align-items: end;
}
.ea-hero-copy { display: grid; gap: 24px; justify-items: start; }
.ea-hero h1 { font-size: clamp(56px, 8.6vw, 128px); letter-spacing: -0.05em; line-height: .9; }
.ea-hero h1 em { letter-spacing: -0.025em; }
.ea-hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 580px; }

.tally { padding: 20px 20px 16px; display: grid; gap: 0; }
.tally .eyebrow { margin-bottom: 10px; }
.tally-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.tally-row b { font: 500 34px/1 var(--font-mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.tally-row span { font-size: 13.5px; color: var(--muted); text-align: right; }
.tally-row.is-go b { color: var(--go); }
.tally-note { font-size: 12px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }

.tape { position: relative; margin: clamp(32px, 4vw, 48px) 0 0; border-top: 1px solid var(--line); }
.tape canvas { display: block; width: 100%; height: 300px; }
.tape-pause { position: absolute; top: 10px; right: max(16px, calc((100% - var(--max)) / 2 + var(--gutter))); background: var(--paper); }
.tape-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding-top: 14px;
	padding-bottom: 14px;
	font: 500 11.5px/1.2 var(--font-mono);
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
}
.tape-legend span { display: inline-flex; align-items: center; gap: 8px; }
.tape-legend .go { color: var(--go); }
.tape-legend .k { display: inline-block; width: 7px; height: 10px; border-radius: 2.5px; }
.k-pass { background: var(--ink); }
.k-fail { border: 1.4px solid var(--line-2); }
.k-go { background: var(--go); }
.k-news { width: 14px !important; background: var(--paper-2); border: 1px solid var(--line-2); }
.ea-hero + .subnav { border-top: 1px solid var(--line); }

@media (max-width: 860px) {
	.ea-hero-top { grid-template-columns: 1fr; }
	.tally { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; padding: 16px; }
	.tally .eyebrow, .tally-note { grid-column: 1 / -1; }
	.tally-row { display: grid; justify-content: start; gap: 6px; }
	.tally-row b { font-size: 26px; }
	.tally-row span { text-align: left; font-size: 12px; }
	.tape canvas { height: 300px; }
}
