/* candlewise.app — structure after spade.com (Mobbin ref), colors from Trade AI's light palette
   (TradeAI/Shared/Brand.xcassets/Palette): warm paper page, warm ink, brand blue. */
:root {
  --page: #FFFDF8;
  --paper: #F5F1E8;
  --paper-2: #ECE6D8;
  --ink: #1C1915;
  --ink-2: rgba(61,56,47,.76);
  --ink-3: rgba(61,56,47,.7);
  --rule: #D7D1C4;
  --night: #090C14;
  --night-2: #181C25;
  --night-ink-2: rgba(235,238,247,.7);
  --blue: #3961F1;
  --blue-dark: #789EFF;
  --blue-tint: #DFE6FC;
  --indigo-tint: #E9E3FB;
  --yellow-tint: #F8EBB8;
  --green: #1E7A35;
  --red: #D70015;
  --gutter: 24px;
  --max: 1200px;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--page); color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "Geist", -apple-system, system-ui, sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 7.2vw, 92px); line-height: .98; }
h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.02; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; }
.mono, .tag, .more, .btn, .stat-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.tag { color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.more::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.lede { color: var(--ink-2); font-size: 18px; max-width: 34em; margin: 18px 0 0; }

/* Layout */
.wrap { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
section { margin-top: clamp(96px, 11vw, 150px); }

/* Ruler ticks on the page edges, as on spade.com */
.ruler { position: fixed; top: 0; bottom: 0; width: 14px; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 26px); opacity: .55; }
.ruler.l { left: 0; } .ruler.r { right: 0; }
@media (max-width: 1280px) { .ruler { display: none; } }

/* Header */
.top-wrap { position: sticky; top: 0; z-index: 30; background: rgba(255,253,248,.82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); }
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-transform: uppercase; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); opacity: .8; }
.nav a:hover, .nav a[aria-current] { opacity: 1; }
.top .cta { justify-self: end; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--night); color: #A9C0FF; text-decoration: none; cursor: pointer; font-weight: 500; }
.btn:hover { background: #151B2B; }
.btn.light { background: var(--paper-2); color: var(--ink); }
.btn.light:hover { background: #E3DCCB; }
.btn:active, .badge:active { transform: scale(.97); transition: transform 100ms ease-out; }

/* Bracket corners, the ref's framing device */
.brackets { position: relative; }
.brackets::before, .brackets::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--c, var(--ink)) 0 0) top left / 10px 2px, linear-gradient(var(--c, var(--ink)) 0 0) top left / 2px 10px,
    linear-gradient(var(--c, var(--ink)) 0 0) top right / 10px 2px, linear-gradient(var(--c, var(--ink)) 0 0) top right / 2px 10px;
  background-repeat: no-repeat; }
.brackets::after { transform: scaleY(-1); }

/* Hero panel */
.hero { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 8px auto 0; padding: 0 var(--gutter); }
.hero-panel { position: relative; overflow: hidden; border-radius: 14px; background: var(--paper); padding: clamp(56px, 8vw, 96px) var(--gutter) 56px; text-align: center; }
.hero-panel h1 { max-width: 12em; margin: 0 auto; }
.hero-visual { position: relative; height: clamp(300px, 36vw, 440px); margin: 8px auto 0; max-width: 900px; }
.hero-visual .art { position: absolute; left: 50%; top: 50%; width: clamp(280px, 34vw, 420px); transform: translate(-50%, -50%); mix-blend-mode: multiply; }
.chip { position: absolute; text-align: left; font-family: var(--mono); font-size: 12px; line-height: 1.5; padding: 10px 12px; min-width: 190px; }
.chip.ghost { border: 1px solid var(--ink); background: transparent; }
.chip.ghost b { display: block; font-weight: 500; }
.chip.ghost b::before { content: "▸ "; }
.chip.c1 { left: 4%; top: 36%; }
.chip.c2 { left: 4%; top: 57%; }
.chip.card { right: 2%; top: 30%; background: #fff; border-radius: 6px; box-shadow: 0 1px 0 rgba(28,25,21,.06), 0 20px 50px -20px rgba(28,25,21,.25); font-family: "Geist", sans-serif; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; min-width: 290px; padding: 16px; }
.chip.card .ico { grid-row: span 2; width: 38px; height: 38px; border-radius: 9px; background: var(--night); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.chip.card .t { font-size: 14px; font-weight: 600; }
.chip.card .s { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.chip.card .v { grid-row: span 2; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--green); }
.hero-panel .sub { max-width: 30em; margin: 8px auto 0; color: var(--ink-2); font-size: 17px; }
.hero-panel .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Manifesto */
.manifesto { position: relative; max-width: 760px; margin-left: auto; margin-right: auto; padding: 120px var(--gutter) 40px; }
.manifesto .m1 { position: absolute; left: -12%; top: 0; width: 230px; mix-blend-mode: multiply; }
.manifesto .m2 { position: absolute; right: -14%; bottom: -20px; width: 200px; mix-blend-mode: multiply; }
.manifesto h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; max-width: 16em; position: relative; }
.manifesto .copy { max-width: 33em; margin-top: 28px; position: relative; }
.manifesto .copy p { margin: 0 0 14px; }

/* Analyzer */
.tool-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.tool { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 40px; }
.drop { display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px; background: var(--paper); cursor: pointer; overflow: hidden; }
.drop.over { background: var(--blue-tint); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .art { position: absolute; right: 22px; top: 18px; width: 150px; mix-blend-mode: multiply; opacity: .9; }
.drop b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; position: relative; }
.drop > span:not(.btn) { display: block; margin: 6px 0 18px; color: var(--ink-2); font-size: 15px; position: relative; }
.drop .btn { align-self: flex-start; position: relative; }
.side { display: grid; gap: 14px; }
.stat-box { padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.stat-box .stat-label { color: var(--ink-2); text-transform: uppercase; line-height: 1.45; }
.stat-box .stat-label::before { content: "▸ "; }
.stat-box b { font-size: 48px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.fine { color: var(--ink-3); font-size: 13px; line-height: 1.5; }

.progress, .msg, .result { display: none; }
.progress { padding: 22px; background: var(--paper); border-radius: 10px; }
.progress img { max-height: 240px; width: 100%; object-fit: contain; opacity: .55; border-radius: 8px; }
.bar { height: 4px; margin-top: 18px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .6s ease; }
.step { margin-top: 10px; color: var(--ink-2); font-family: var(--mono); font-size: 13px; min-height: 22px; }
.msg { padding: 24px; background: var(--paper); border-radius: 10px; }
.msg b { display: block; font-size: 21px; font-weight: 600; }
.msg p { color: var(--ink-2); margin: 8px 0 18px; }
.result .thumb { width: 100%; max-height: 220px; object-fit: contain; background: var(--night); border-radius: 10px; }
.verdict { display: flex; gap: 16px; align-items: center; margin-top: 10px; padding: 16px; border-radius: 10px; background: var(--paper); }
.ring { --p: 0; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--paper-2) 0); }
.ring b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }
.verdict small { color: var(--ink-3); font-family: var(--mono); font-size: 12px; }
.verdict p { margin: 2px 0 0; font-weight: 500; line-height: 1.35; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.tile { padding: 12px 6px; border-radius: 10px; background: var(--paper); text-align: center; }
.tile b { display: block; font-weight: 600; }
.tile small { color: var(--ink-3); font-family: var(--mono); font-size: 11px; }
.up { color: var(--green); } .down { color: var(--red); }
.card { margin-top: 8px; padding: 16px; border-radius: 10px; background: var(--paper); }
.card p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.pc { display: grid; gap: 8px; margin-top: 8px; }
.pc div { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--paper); font-size: 15px; line-height: 1.4; }
.pc i { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 4px; }
.locked { position: relative; margin-top: 8px; padding: 16px; border-radius: 10px; background: var(--paper); overflow: hidden; }
.locked .rows { filter: blur(6px); opacity: .6; user-select: none; }
.locked .rows div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.locked .lock { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center; padding: 16px; background: linear-gradient(rgba(245,241,232,.2), rgba(245,241,232,.92)); }
.again { margin-top: 12px; background: none; border: 0; color: var(--ink-2); font: inherit; font-family: var(--mono); font-size: 13px; text-decoration: underline; cursor: pointer; }

/* Feature carousel */
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.arrows { display: flex; gap: 8px; flex: none; }
.arrows button { width: 40px; height: 40px; border-radius: 4px; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.arrows button:disabled { opacity: .3; cursor: default; }
.arrows svg { width: 16px; height: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 360px); gap: 20px; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.feat { scroll-snap-align: start; }
.feat .pane { height: 260px; border-radius: 8px; position: relative; overflow: hidden; display: grid; place-items: center; padding: 20px; }
.feat h3 { margin-top: 16px; }
.feat p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.pane.blue { background: var(--blue-tint); }
.pane.night { background: var(--night); color: #F9FAFD; }
.pane.yellow { background: var(--yellow-tint); }
.pane.indigo { background: var(--indigo-tint); }
.pane.paper { background: var(--paper); }
/* Mini app UI built in HTML, in the app's light palette */
.ui { width: 100%; max-width: 280px; background: #FFFDF8; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(28,25,21,.35); padding: 12px 14px; font-size: 13px; color: var(--ink); }
.ui .h { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--ink-2); margin-bottom: 6px; }
.ui .r { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid rgba(61,56,47,.12); }
.ui .r:first-of-type { border-top: 0; }
.ui .k { display: flex; align-items: center; gap: 8px; }
.ui .dot { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }
.ui .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.ui.dark { background: var(--night-2); color: #F9FAFD; box-shadow: none; border: 1px solid #31353F; }
.ui.dark .h { color: var(--night-ink-2); }
.ui.dark .r { border-color: rgba(235,238,247,.1); }
.pill { font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: 4px; }
.pill.g { background: rgba(30,122,53,.12); color: var(--green); }
.pill.r { background: rgba(215,0,21,.1); color: var(--red); }
.ui.dark .pill.g { background: rgba(48,209,88,.16); color: #30D158; }
.ui.dark .pill.r { background: rgba(255,69,58,.16); color: #FF453A; }
.spark { width: 56px; height: 20px; }
.news-img { height: 74px; border-radius: 8px; background: var(--paper) url(/img/col-candles.webp) center 40% / 46% auto no-repeat; margin-bottom: 8px; }

/* Dark mission band */
.band { position: relative; overflow: hidden; background: var(--night); color: #F9FAFD; border-radius: 14px; padding: clamp(48px, 8vw, 110px) clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.band .mono { color: var(--night-ink-2); position: relative; }
.band h2 { margin-top: 14px; font-size: clamp(36px, 5vw, 64px); position: relative; }
.band h2 em { font-style: normal; color: var(--blue-dark); }
.band p { color: rgba(249,250,253,.86); font-size: 18px; margin: 0; position: relative; }
.band .code { position: absolute; right: -2%; top: 0; bottom: 0; width: 50%; margin: 0; padding: 24px; font-family: var(--mono); font-size: 12px; line-height: 1.55; color: rgba(235,238,247,.3); white-space: pre; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.band .right { position: relative; }

/* Proof: app card + stat boxes */
.proof { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.appcard { background: var(--night); color: #F9FAFD; border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; min-height: 360px; }
.appcard h3 { font-size: 26px; font-weight: 500; max-width: 12em; position: relative; }
.appcard p { margin: 0; color: var(--night-ink-2); font-size: 15px; max-width: 20em; position: relative; }
.appcard .art { position: absolute; right: -36px; bottom: -40px; width: 230px; filter: invert(1); mix-blend-mode: screen; opacity: .8; }
.appcard .badge { margin-top: auto; position: relative; }
.badge { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 18px 8px 14px; border-radius: 10px; background: #fff; color: #000; text-decoration: none; font-weight: 600; font-size: 20px; line-height: 1; }
.badge .apple { width: 22px; height: 26px; }
.badge small { display: block; font-size: 10px; font-weight: 500; margin-bottom: 3px; }
.statcol { display: flex; flex-direction: column; justify-content: space-between; padding: 20px; min-height: 360px; }
.statcol .stat-label { color: var(--ink-2); text-transform: uppercase; line-height: 1.5; max-width: 20em; }
.statcol .stat-label::before { content: "▸ "; }
.statcol b { font-size: clamp(56px, 6vw, 84px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }

/* Partners */
.partners { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 36px; }
.partner { border-radius: 8px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 360px; }
.partner.cb { background: var(--blue-tint); }
.partner.wb { background: var(--yellow-tint); }
.partner .name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.partner h3 { font-size: 26px; font-weight: 500; letter-spacing: -.025em; margin-top: auto; }
.partner.note { background: transparent; padding: 22px; }
.partner.note p { margin: 0; font-size: 19px; line-height: 1.4; letter-spacing: -.01em; }
.partner.note .foot-stat { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: end; }
.partner.note .foot-stat b { font-size: 64px; font-weight: 500; letter-spacing: -.045em; line-height: .9; }

/* Learn ("Decoded") */
.decoded { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: stretch; }
.decoded .word { font-family: var(--mono); font-size: clamp(40px, 6vw, 72px); letter-spacing: .06em; line-height: 1; font-weight: 400; }
.decoded .word small { font-size: 12px; letter-spacing: 0; vertical-align: middle; margin-left: 10px; color: var(--ink-2); }
.lead-art { border-radius: 8px; background: var(--blue-tint); display: grid; place-items: center; min-height: 340px; overflow: hidden; }
.lead-art img { width: 58%; mix-blend-mode: multiply; }
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.acard { text-decoration: none; display: block; }
.acard .pane { height: 220px; border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.acard .pane img { height: 86%; width: auto; mix-blend-mode: multiply; }
.acard .tag { display: block; margin-top: 14px; }
.acard h3 { margin-top: 6px; }
.acard p { margin: 6px 0 10px; color: var(--ink-2); font-size: 15px; }

/* Article and legal pages */
.article-hero { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 8px auto 0; padding: 0 var(--gutter); }
.article-hero .pane { border-radius: 14px; height: clamp(240px, 34vw, 420px); display: grid; place-items: center; }
.article-hero img { height: 88%; width: auto; mix-blend-mode: multiply; }
.prose, .legal { max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); }
.prose h1, .legal h1 { font-size: clamp(38px, 5.6vw, 64px); margin-top: 48px; }
.prose .meta, .legal .meta { color: var(--ink-3); font-family: var(--mono); font-size: 13px; margin-top: 16px; }
.prose h2 { font-size: 30px; margin-top: 52px; line-height: 1.1; }
.legal h2 { font-size: 22px; margin-top: 40px; line-height: 1.2; }
.prose p, .prose li, .legal p, .legal li { color: rgba(28,25,21,.88); }
.prose li + li { margin-top: 6px; }
.prose .note { margin-top: 36px; padding: 18px 20px; background: var(--paper); border-radius: 10px; color: var(--ink-2); font-size: 15px; }
.prose .cta { margin-top: 44px; padding: 26px; background: var(--paper); border-radius: 10px; }
.prose .cta p { margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
th, td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--ink-3); text-transform: uppercase; }

/* Footer */
footer { margin-top: clamp(110px, 12vw, 170px); background: var(--night); color: #F9FAFD; }
.foot { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 64px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; font-size: 15px; }
.foot .logo { color: #fff; }
.foot h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--night-ink-2); text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: rgba(249,250,253,.86); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .fine { color: var(--night-ink-2); margin-top: 14px; max-width: 34em; }
.foot .fine a { text-decoration: underline; }

/* Motion: one load sequence and quiet scroll reveals */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.hero-panel h1 { animation: rise .9s cubic-bezier(.2,.8,.2,1) .05s both; }
.hero-visual .art { animation: draw 1.6s cubic-bezier(.65,0,.35,1) .25s both; }
.chip { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.chip.c1 { animation-delay: .9s; } .chip.c2 { animation-delay: 1.02s; } .chip.card { animation-delay: 1.15s; }
.hero-panel .sub, .hero-panel .actions { animation: rise .8s cubic-bezier(.2,.8,.2,1) .5s both; }
.js-motion .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.js-motion .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .top { grid-template-columns: 1fr auto; }
  .tool-head, .tool, .band, .decoded { grid-template-columns: 1fr; }
  .proof, .partners { grid-template-columns: 1fr; }
  .appcard, .statcol, .partner { min-height: 280px; }
  .acards { grid-template-columns: 1fr; }
  .band .code { width: 100%; opacity: .5; }
  .manifesto { padding-top: 40px; }
  .manifesto .m1, .manifesto .m2 { position: static; width: 160px; }
  .manifesto .m2 { margin: 24px 0 0 auto; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero-visual { height: 400px; }
  .chip.c1 { left: 0; top: 0; } .chip.c2 { display: none; }
  .chip.card { right: 0; top: auto; bottom: 0; min-width: 0; width: 100%; }
  .hero-visual .art { width: 250px; }
  .stat-box b { font-size: 40px; }
  .rail { grid-auto-columns: 84%; }
  .drop .art { width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Line art: push the generated off-white background to pure white so multiply hides it */
img[src*="/line-"] { filter: contrast(1.25) brightness(1.08); }
.appcard .art { filter: invert(1) contrast(1.25) brightness(1.08); }

/* Collage cutouts have real transparency: no blending tricks needed */
img[src*="/col-"] { mix-blend-mode: normal !important; filter: none !important; }
.appcard img[src*="/col-"] { opacity: 1; right: -20px; bottom: -20px; width: 240px; }
.manifesto .m1[src*="/col-"] { left: -24%; top: 10px; width: 190px; }
.manifesto .m2[src*="/col-"] { right: -22%; width: 210px; }
.hero-visual .art[src*="/col-"] { width: clamp(300px, 38vw, 470px); }
.appcard p { max-width: 15em; }
.appcard img[src*="/col-"] { width: 200px; right: -24px; bottom: -16px; }
@media (max-width: 960px) {
  .manifesto .m1[src*="/col-"], .manifesto .m2[src*="/col-"] { position: static; width: 170px; }
}

/* Products strip: what Candlewise makes */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.prod { display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 240px; text-decoration: none; background: var(--paper); }
.prod h3 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; margin-top: 8px; }
.prod p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 24em; }
.prod .more { margin-top: auto; }
.prod:hover { background: var(--paper-2); }
@media (max-width: 960px) { .products { grid-template-columns: 1fr; } .prod { min-height: 0; } }

/* ===== v4: proof, focal analyzer stage, real app screens ===== */
::selection { background: rgba(57,97,241,.22); }

/* Congress filings tape under the hero (real filings, linear loop) */
.tape { display: flex; align-items: center; gap: 16px; margin-top: 10px; padding: 12px 16px; border-radius: 10px; background: var(--night); color: #F9FAFD; overflow: hidden; font-family: var(--mono); font-size: 12.5px; }
.tape-label { flex: none; color: var(--blue-dark); padding-right: 16px; border-right: 1px solid rgba(235,238,247,.16); }
.tape-track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape-run { display: flex; flex: none; gap: 40px; padding-right: 40px; animation: tape 48s linear infinite; }
.tape-run span { white-space: nowrap; color: rgba(235,238,247,.72); }
.tape-run b { color: #fff; font-weight: 500; margin-right: 6px; }
.tape:hover .tape-run { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-100%); } }

/* Proof bar: data sources + real counts */
.proofbar { margin-top: 56px; }
.sources { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; color: var(--ink); }
.sources-label { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-right: 6px; }
.sources img { width: 20px; height: 20px; margin-right: -18px; opacity: .85; }
.logo-word { font-weight: 700; font-size: 17px; letter-spacing: -.02em; opacity: .78; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.num { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.num b { font-size: clamp(40px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { font-size: 14px; color: var(--ink-2); max-width: 16em; }
.proofbar > .fine { margin-top: 14px; }

/* Focal analyzer stage */
.stage-wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.stage { background: var(--night); color: #F9FAFD; border-radius: 16px; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 64px); }
.stage-head { text-align: center; max-width: 760px; margin: 0 auto; }
.stage-head h2 { font-size: clamp(36px, 5vw, 64px); }
.stage-head p { color: var(--night-ink-2); font-size: 17px; margin: 16px auto 0; max-width: 40em; }
.stage .tool { display: block; max-width: 880px; margin: 40px auto 0; }
.stage .drop { position: relative; min-height: 420px; padding: 0; border-radius: 14px; background: #0F1420; border: 1.5px dashed rgba(120,158,255,.45); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color .2s ease, background .2s ease; }
.stage .drop:hover, .stage .drop.over { border-color: var(--blue-dark); background: #121931; }
.stage .drop .demo { position: absolute; inset: 0; width: 100%; height: 100%; }
.drop-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 28px; border-radius: 14px; background: rgba(9,12,20,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: center; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.drop-copy b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.drop-copy > span:not(.btn) { color: var(--night-ink-2); font-size: 14px; margin-bottom: 10px; display: block; }
.stage .drop > span:not(.btn) { margin: 0; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: #2C4FD6; }
.stage-fine { color: var(--night-ink-2); font-size: 13px; text-align: center; margin: 18px auto 0; max-width: 46em; }
/* analyzer states on dark */
.stage .progress, .stage .msg, .stage .verdict, .stage .tile, .stage .card, .stage .pc div, .stage .locked { background: #151B2B; color: #F9FAFD; }
.stage .progress, .stage .msg { border-radius: 14px; }
.stage .msg p, .stage .card p, .stage .step { color: var(--night-ink-2); }
.stage .bar { background: #262A34; }
.stage .ring b { background: #151B2B; }
.stage .ring { background: conic-gradient(var(--blue-dark) calc(var(--p) * 1%), #262A34 0); }
.stage .tile small, .stage .verdict small { color: rgba(235,238,247,.68); }
.stage .locked .rows div { border-color: rgba(235,238,247,.1); }
.stage .locked .lock { background: linear-gradient(rgba(21,27,43,.2), rgba(21,27,43,.94)); }
.stage .up { color: #30D158; } .stage .down { color: #FF453A; }
.stage .again { color: var(--night-ink-2); }

/* Demo chart animation (demo.js builds the SVG) */
.demo .c { opacity: 0; transform-box: fill-box; transform-origin: center bottom; }
.demo.play .c { animation: candle .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes candle { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
.demo .scan { opacity: 0; }
.demo.play .scan { animation: scan 1.6s cubic-bezier(.65,0,.35,1) 1.5s both; }
@keyframes scan { 0% { opacity: 0; transform: translateX(0); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(640px); } }
.demo .lvl { stroke-dasharray: 640; stroke-dashoffset: 640; }
.demo.play .lvl { animation: draw-line .9s cubic-bezier(.16,1,.3,1) both; }
.demo.play .lvl.s { animation-delay: 3s; } .demo.play .lvl.r { animation-delay: 3.25s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.demo .tagl { opacity: 0; }
.demo.play .tagl { animation: fade .4s ease both; }
.demo.play .tagl.s { animation-delay: 3.6s; } .demo.play .tagl.r { animation-delay: 3.8s; }
.demo .chipv { opacity: 0; transform-box: fill-box; transform-origin: center; }
.demo.play .chipv { animation: pop .6s cubic-bezier(.16,1,.3,1) 4.2s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(8px); } to { opacity: 1; transform: none; } }
.demo.done .c, .demo.done .tagl, .demo.done .chipv { opacity: 1; animation: none; }
.demo.done .lvl { stroke-dashoffset: 0; animation: none; }

/* Real app screens: 2x2, no inner scroll */
.app-head { max-width: 720px; }
.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.screen { position: relative; overflow: hidden; border-radius: 16px; height: 520px; padding: 30px 30px 0; }
.screen .copy { position: relative; z-index: 1; max-width: 26em; }
.screen h3 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.screen p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.screen > img { position: absolute; left: 50%; bottom: -150px; width: 290px; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgba(9,12,20,.35)); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.screen:hover > img { transform: translateX(-50%) translateY(-14px); }
.s-blue { background: var(--blue-tint); } .s-yellow { background: var(--yellow-tint); } .s-indigo { background: var(--indigo-tint); }
.s-night { background: var(--night); color: #F9FAFD; } .s-night p { color: var(--night-ink-2); }
.screen .stack { position: absolute; left: 30px; right: 30px; top: 190px; bottom: 0; }
.screen .stack img { position: absolute; border-radius: 16px; box-shadow: 0 24px 50px -10px rgba(0,0,0,.6); }
.screen .stack img:first-child { width: 58%; left: 0; top: 0; }
.screen .stack img:last-child { width: 60%; right: 0; top: 110px; }

.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 28px; }
.appstore { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.appstore img { width: 26px; height: 26px; filter: invert(1); }
.appstore small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }
.appstore:hover { background: #1C1915; }
.store-row .rating { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.store-row .rating b { color: var(--ink); font-size: 20px; }
.stars { color: #DD9017; letter-spacing: 2px; }

.plogo { height: 24px; width: auto; }

@media (max-width: 960px) {
  .numbers { grid-template-columns: 1fr 1fr; }
  .screens { grid-template-columns: 1fr; }
  .screen { height: 480px; }
  .stage .drop { min-height: 340px; }
}
@media (max-width: 640px) {
  .tape-label { display: none; }
  .screen { padding: 24px 22px 0; height: 460px; }
  .screen > img { width: 240px; bottom: -120px; }
  .screen .stack { left: 16px; right: 16px; top: 200px; }
  .screen .stack img:first-child { width: 80%; } .screen .stack img:last-child { width: 78%; top: 120px; }
  .drop-copy { margin: 16px; padding: 18px; }
  .sources img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-run { animation: none; }
  .tape-track { overflow-x: auto; }
}
.stage .drop > .drop-copy { display: flex; color: #F9FAFD; font-size: inherit; margin: 0; }
.stars { display: inline-flex; gap: 2px; }
h1, h2, h3 { text-wrap: balance; }
.screen > img { top: 190px; bottom: auto; width: 280px; }
@media (max-width: 640px) { .screen > img { top: 200px; width: 240px; } }

/* ===== v5 ===== */
/* Data cards: label, number, meaning, source, each grouped */
.data-head { max-width: 720px; }
.datagrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.datum { border-radius: 16px; padding: 28px 30px 26px; display: flex; flex-direction: column; min-height: 300px; }
.d-blue { background: var(--blue-tint); } .d-yellow { background: var(--yellow-tint); } .d-indigo { background: var(--indigo-tint); } .d-paper { background: var(--paper); }
.dlabel { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--ink-2); letter-spacing: .02em; }
.datum b { margin-top: 18px; font-size: clamp(64px, 7vw, 104px); font-weight: 500; letter-spacing: -.04em; line-height: .95; font-variant-numeric: tabular-nums; }
.datum p { margin: 16px 0 0; font-size: 17px; line-height: 1.45; max-width: 28em; color: var(--ink); }
.dsource { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.datum .dsource { border-top: 1px solid rgba(61,56,47,.16); width: 100%; margin-top: auto; padding-top: 14px; }
.datum { gap: 0; } .datum p { margin-bottom: 22px; }
.dsource img { width: 15px; height: 15px; opacity: .8; }
.data-note { margin-top: 16px; }

/* Analyzer stage: light, in the page's own paper world */
.stage { background: var(--paper); color: var(--ink); }
.stage-head p { color: var(--ink-2); }
.stage .drop { background: #FFFDF8; border: 1.5px dashed rgba(61,56,47,.32); }
.stage .drop:hover, .stage .drop.over { border-color: var(--blue); background: #FFFFFF; }
.drop-copy { background: rgba(255,253,248,.9); box-shadow: 0 1px 0 rgba(28,25,21,.05), 0 24px 50px -24px rgba(28,25,21,.35); }
.stage .drop > .drop-copy { color: var(--ink); }
.drop-copy > span:not(.btn) { color: var(--ink-2); }
.stage-fine { color: var(--ink-2); }
.stage .progress, .stage .msg, .stage .verdict, .stage .tile, .stage .card, .stage .pc div, .stage .locked { background: #FFFDF8; color: var(--ink); }
.stage .msg p, .stage .card p, .stage .step { color: var(--ink-2); }
.stage .bar { background: var(--paper-2); }
.stage .ring b { background: #FFFDF8; }
.stage .ring { background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--paper-2) 0); }
.stage .tile small, .stage .verdict small { color: var(--ink-2); }
.stage .locked .rows div { border-color: var(--rule); }
.stage .locked .lock { background: linear-gradient(rgba(255,253,248,.2), rgba(255,253,248,.94)); }
.stage .up { color: var(--green); } .stage .down { color: var(--red); }
.stage .again { color: var(--ink-2); }

/* App screens: whole phones, varied compositions */
.screens { grid-template-columns: 1fr 1fr; }
.screen { height: auto; min-height: 560px; padding: 32px; }
.screen > img.ph, .screen .phones img.ph { position: static; transform: none; bottom: auto; top: auto; filter: drop-shadow(0 30px 40px rgba(9,12,20,.28)); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.screen.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; min-height: 0; }
.screen.wide.reverse { grid-template-columns: 1fr 1.05fr; }
.screen.wide.reverse .copy { order: 2; }
.screen .phones { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.screen .phones img.ph { width: 250px; position: relative; z-index: 2; }
.screen .phones img.ph.back { position: absolute; z-index: 1; width: 230px; left: calc(50% + 40px); top: 40px; transform: rotate(5deg); opacity: .95; }
.screen.wide:hover .phones img.ph:not(.back) { transform: translateY(-8px); }
.screen.tilt { display: flex; flex-direction: column; overflow: hidden; }
.screen.tilt > img.ph { width: 240px; margin: 28px auto -120px; transform: rotate(-4deg); }
.screen.tilt:hover > img.ph { transform: rotate(-2deg) translateY(-8px); }
.screen.s-night .stack { position: relative; left: auto; right: auto; top: auto; bottom: auto; height: 360px; margin-top: 28px; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 360px; }
.facts li { background: rgba(255,253,248,.75); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.facts span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--ink-2); }
.facts b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts .pos { color: var(--green); } .facts .neg { color: var(--red); }
.screen.wide .dsource { margin-top: 16px; padding-top: 0; }

/* Partner logo */
.partner .plogo { align-self: flex-start; height: 30px; width: auto; max-width: 160px; }

@media (max-width: 960px) {
  .datagrid { grid-template-columns: 1fr; }
  .datum { min-height: 0; }
  .screen.wide, .screen.wide.reverse { grid-template-columns: 1fr; }
  .screen.wide.reverse .copy { order: 0; }
  .screen .phones img.ph.back { display: none; }
  .screen { min-height: 0; }
}
@media (max-width: 640px) {
  .screen { padding: 24px 20px; }
  .screen .phones img.ph { width: 220px; }
  .screen.tilt > img.ph { width: 210px; margin-bottom: -100px; }
  .screen.s-night .stack { height: 320px; }
}
.partner .name { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.cbname { color: #0052FF; }
@media (max-width: 960px) { .screens { grid-template-columns: 1fr; } }

/* TradingView attribution and partner card */
.tvbadge { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.tvbadge img { width: 18px; height: 18px; }
.partner.tv { background: var(--paper); }
.tvname { display: inline-flex; align-items: center; gap: 10px; }
.tvname img { width: 26px; height: 26px; }
.partner-note { margin-top: 20px; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.partner-note p { margin: 0; max-width: 40em; font-size: 16px; }
.partner-note .foot-stat { display: flex; align-items: center; gap: 14px; }
.partner-note .foot-stat b { font-size: 48px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.partner-note .stat-label { color: var(--ink-2); text-transform: uppercase; max-width: 22em; }

/* v6: whole phone mockups (Figma bezel + full screen), never cropped */
.screen .phones { display: flex; justify-content: center; align-items: flex-start; gap: 0; padding: 8px 0; }
.screen .phones img.ph { position: relative; width: 230px; height: auto; filter: drop-shadow(0 26px 34px rgba(9,12,20,.25)); transform: none; margin: 0; }
.screen .phones.duo img.ph:nth-child(2) { margin-left: -36px; margin-top: 48px; }
.screen .phones.duo img.ph:nth-child(1) { z-index: 2; }
.screen.tilt > .phones { margin-top: 24px; }
.screen.tilt > .phones img.ph { width: 250px; transform: rotate(-3deg); }
.screen.tilt:hover > .phones img.ph { transform: rotate(-1deg) translateY(-6px); }
.screen.wide:hover .phones img.ph:first-child { transform: translateY(-6px); }
.screen.wide { padding: 40px; }
@media (max-width: 640px) {
  .screen .phones img.ph { width: 190px; }
  .screen .phones.duo img.ph:nth-child(2) { margin-left: -50px; margin-top: 40px; }
  .screen.tilt > .phones img.ph { width: 220px; }
  .screen.wide { padding: 24px 20px; }
}

/* About page */
.about-hero { text-align: left; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); }
.about-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.about-hero h1 { font-size: clamp(40px, 5.6vw, 76px); max-width: 11em; margin: 0; }
.about-hero .sub { margin: 22px 0 0; max-width: 34em; }
.about-hero .actions { justify-content: flex-start; }
.about-art { width: 100%; max-width: 440px; justify-self: center; }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 28px; align-items: start; }
.why-lead { margin: 0; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.why-copy p { margin: 0 0 16px; font-size: 18px; color: var(--ink); max-width: 36em; }
.pipeline { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.pipeline li { padding: 22px 22px 24px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; position: relative; }
.pipeline li + li::after { content: ""; position: absolute; left: -16px; top: 50%; width: 16px; height: 1px; background: var(--ink); }
.pipeline h3 { font-size: 22px; font-weight: 600; margin-top: 8px; }
.pipeline p { margin: 0; color: var(--ink-2); font-size: 15px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 36px; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.principles > div { background: var(--page); padding: 28px 30px; }
.principles h3 { font-size: 24px; font-weight: 600; }
.principles p { margin: 10px 0 0; color: var(--ink-2); max-width: 30em; }
.about-band h2 em { font-style: normal; color: var(--blue-dark); }
.company { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contact-card { padding: 26px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.contact-mail { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.contact-mail:hover { color: var(--blue); }
.contact-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) {
  .about-hero-grid, .why-grid, .company { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline li + li::after { display: none; }
  .principles { grid-template-columns: 1fr; }
  .about-art { max-width: 300px; }
}
@media (max-width: 640px) { .pipeline { grid-template-columns: 1fr; } }

/* Data checks under the analyzer heading: lit in sequence by demo.js */
.checks { list-style: none; padding: 0; margin: 24px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.checks li { font-family: var(--mono); font-size: 12px; padding: 7px 12px; border-radius: 999px; background: #FFFDF8; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.checks li.on { background: var(--night); color: #A9C0FF; box-shadow: none; }

.about-hero { text-align: center; }
.about-hero h1 { margin: 0 auto; max-width: 13em; }
.about-hero .sub { margin: 22px auto 0; }
.about-hero .actions { justify-content: center; }
.about-wide { width: 100%; max-width: 1080px; margin: 36px auto 0; }

/* Three-step plan (a real sequence, so it is numbered) */
.plan3 { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan3 li { background: var(--paper); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan3 .pn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: #A9C0FF; font-family: var(--mono); font-size: 15px; }
.plan3 h3 { font-size: 24px; font-weight: 600; margin-top: 8px; }
.plan3 p { margin: 0; color: var(--ink-2); font-size: 16px; }
.plan-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
@media (max-width: 960px) { .plan3 { grid-template-columns: 1fr; } }
