/* Kanalyst — kanalyst.in. Warm cream base, one solid colour per module. */
:root {
  --cream: #efe8d7; --paper: #faf5e8; --well: #f3ecd9; --line: rgba(26,22,18,.09); --line-2: rgba(26,22,18,.16);
  --ink: #1a1612; --ink-2: #5b4e3a; --ink-3: #8a7d6a;
  --moss: #5f7f1f; --aubergine: #5d3b78; --prussian: #2f4577; --terracotta: #b8551f;
  --mulberry: #964062; --marigold: #e3a018; --teal: #2d6b6b; --coral: #a82c2c;
  --ease: cubic-bezier(.32,.72,0,1);
  --serif: 'DM Serif Display', Georgia, serif; --sans: 'Outfit', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.06; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--prussian); outline-offset: 3px; border-radius: 6px; }
.k { font-size: 13px; color: var(--ink-3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); transition: transform .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: #332a20; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: rgba(26,22,18,.06); }
.btn.lg { font-size: 16px; padding: 14px 26px; }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 27px; text-decoration: none; color: var(--ink); }
.logo.small { font-size: 20px; }
.mark { width: 28px; height: 26px; flex: 0 0 auto; background: url(house.svg) center / contain no-repeat; }
.logo.small .mark { width: 22px; height: 20px; }
.mark.big { width: 58px; height: 54px; filter: drop-shadow(0 0 0 transparent); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px max(24px, calc((100% - 1200px) / 2)); background: rgba(239,232,215,.88); backdrop-filter: blur(10px); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav-links > a:not(.btn):hover { color: var(--ink); }

/* Sections */
.sec { max-width: 1200px; margin: 0 auto; padding: 96px 24px 24px; }
.sec > h2, .see-head h2, .sl-copy h2, .ph-copy h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 30px; max-width: 16ch; }

/* ═══ Hero ═══ */
.hero { max-width: 1200px; margin: 0 auto; padding: 30px 24px 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6vw, 84px); max-width: 11ch; }
.hero-copy > p { font-size: 20px; color: var(--ink-2); margin-top: 20px; max-width: 34ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-proof { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 30px; }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.hero-proof span { font-size: 14px; color: var(--ink-3); }

.home { display: grid; gap: 12px; }
.stage { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: center;
  background: radial-gradient(circle at 50% 50%, rgba(227,160,24,.17) 0 18%, transparent 18.3%), radial-gradient(circle at 50% 50%, var(--paper) 0 47%, transparent 47.3%); }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.spoke { stroke: var(--ink); stroke-width: .35; stroke-opacity: .25; vector-effect: non-scaling-stroke; }
.thread { fill: none; stroke-width: 1.4; stroke-opacity: .55; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.1s .45s var(--ease) forwards; transition: stroke-opacity .3s, stroke-width .3s; }
.thread.dim { stroke-opacity: .08; }
.thread.on { stroke-opacity: .95; stroke-width: 2.2; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.house { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 21%; display: flex; flex-direction: column; align-items: center; }
.house svg { width: 62%; margin-bottom: 4px; filter: drop-shadow(0 4px 0 rgba(26,22,18,.12)); }
.house span { font-family: var(--serif); font-size: clamp(13px, 1.4vw, 17px); }
.person { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; padding: 4px; cursor: pointer; font: inherit; color: var(--ink); z-index: 3; opacity: 0; animation: pop .5s var(--ease) forwards; transition: opacity .3s; }
.person.dim { opacity: .45 !important; }
.avatar { width: clamp(50px, 6vw, 70px); height: clamp(50px, 6vw, 70px); overflow: hidden; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); box-shadow: 0 0 0 4px var(--cream); transition: transform .25s, background .25s, box-shadow .25s; }
.person:hover .avatar { transform: scale(1.06); }
.avatar svg { width: 100%; height: 100%; display: block; }
.person.on .avatar { box-shadow: 0 0 0 4px var(--cream), 0 0 0 7px var(--ink); transform: scale(1.08); }
.pname { font-size: 13px; font-weight: 600; line-height: 1.15; text-align: center; background: var(--cream); padding: 1px 6px; border-radius: 6px; }
.pname small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3); }
.node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--c); font-size: 12px; font-weight: 600; white-space: nowrap; z-index: 2; opacity: 0; animation: pop .45s var(--ease) forwards; transition: opacity .3s, filter .3s; }
.node i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.node.dim { opacity: .25 !important; filter: grayscale(.6); }
.node.urgent { background: var(--c); color: #fff; }
.node.urgent i { background: #fff; animation: blink 1.6s ease-in-out 2s infinite; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes blink { 50% { opacity: .2; } }
.readout { background: var(--paper); border-radius: 18px; padding: 14px 18px; max-width: 580px; width: 100%; justify-self: center; border: 1px solid var(--line); }
.readout-head { font-size: 15px; margin-bottom: 6px; }
.readout-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.readout-list li { display: grid; grid-template-columns: 8px 1fr; column-gap: 10px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.readout-list li::before { content: ''; grid-row: span 2; border-radius: 4px; background: var(--c); }
.readout-list b { font-weight: 600; }
.readout-list span { color: var(--ink-2); font-size: 13px; }
.readout-list .urgent { color: var(--terracotta); font-weight: 600; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pick button { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; }
.pick button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sample { font-size: 13px; color: var(--ink-3); text-align: center; }

/* ═══ Bento ═══ */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 14px; }
.b { border-radius: 24px; padding: 24px; color: var(--paper); display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.b h3 { color: inherit; font-size: 28px; }
.b p { opacity: .86; font-size: 15px; }
.b > :last-child { margin-top: auto; padding-top: 14px; }
.b.money { grid-column: span 2; background: var(--moss); }
.b.goals { grid-row: span 2; background: var(--aubergine); }
.b.retire { background: var(--prussian); }
.b.insurance { background: var(--teal); }
.b.documents { background: var(--mulberry); }
.b.calendar { background: var(--marigold); color: var(--ink); }
.b.spend { background: var(--terracotta); }
.b.family { grid-column: span 3; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }

.mbar { display: flex; height: 30px; gap: 3px; border-radius: 9px; overflow: hidden; }
.mbar i { flex: var(--w); background: var(--paper); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.mbar i:nth-child(2) { opacity: .82; transition-delay: .1s; } .mbar i:nth-child(3) { opacity: .66; transition-delay: .2s; }
.mbar i:nth-child(4) { opacity: .5; transition-delay: .3s; } .mbar i:nth-child(5) { opacity: .36; transition-delay: .4s; }
.in .mbar i { transform: scaleX(1); }
.b.money .mbar { margin-top: auto; padding-top: 0; }
.mleg { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; padding-top: 8px !important; margin-top: 0 !important; }
.rings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rings li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; background: rgba(250,245,232,.1); border-radius: 14px; padding: 10px 12px; }
.rings svg { width: 48px; height: 48px; transform: rotate(-90deg); }
.rings circle { fill: none; stroke: rgba(250,245,232,.2); stroke-width: 4; }
.rings circle.v { stroke: var(--marigold); stroke-linecap: round; stroke-dasharray: 0 94.2; transition: stroke-dasharray 1.4s var(--ease); }
.in .rings circle.v { stroke-dasharray: calc(var(--p) * .942) 94.2; }
.curve { width: 100%; }
.curve path { fill: none; stroke-width: 3; stroke-linecap: round; }
.curve .need { stroke: rgba(250,245,232,.45); stroke-dasharray: 5 5; }
.curve .have { stroke: var(--marigold); stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease); }
.in .curve .have { stroke-dashoffset: 0; }
.curve circle { fill: var(--paper); opacity: 0; transition: opacity .3s 1.3s; } .in .curve circle { opacity: 1; }
.curve text { fill: var(--paper); font: 600 12px var(--sans); }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.covers span { font-size: 13px; background: rgba(250,245,232,.12); border-radius: 12px; padding: 8px 10px; }
.covers b { display: block; font: 400 19px var(--serif); }
.covers span { display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; align-items: center; }
.covers b { grid-column: 1 / -1; }
.face { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; display: block; }
.face svg { width: 100%; height: 100%; display: block; }
.exp { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.exp li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: 13px; }
.exp i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(250,245,232,.75); width: 0; transition: width 1.2s var(--ease); }
.in .exp i { width: calc(var(--w) * 1%); }
.exp li.urgent b { color: var(--marigold); } .exp li.urgent i { background: var(--marigold); }
.month { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.month span { font-size: 11px; text-align: center; padding: 4px 0; border-radius: 6px; color: rgba(26,22,18,.55); }
.month span.on { background: var(--ink); color: var(--paper); font-weight: 600; box-shadow: inset 0 -3px 0 var(--c); transform: scale(.4); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.in .month span.on { transform: none; opacity: 1; }
.spendbars { display: flex; align-items: flex-end; gap: 8px; height: 76px; }
.spendbars i { flex: 1; background: rgba(250,245,232,.85); border-radius: 5px 5px 2px 2px; height: 0; transition: height 1s var(--ease); }
.in .spendbars i { height: calc(var(--h) * 1%); }
.faces { display: flex; }
.faces span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 400 21px var(--serif); margin-right: -8px; box-shadow: 0 0 0 3px var(--paper); }
.faces span:nth-child(2) { background: var(--mulberry); } .faces span:nth-child(3) { background: var(--marigold); color: var(--ink); } .faces span:nth-child(4) { background: var(--teal); }
.faces span.add { background: transparent; color: var(--ink-2); border: 1.5px dashed var(--ink-3); box-shadow: none; margin-left: 16px; }

/* ═══ See it ═══ */
.see-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.see-head h2 { margin-bottom: 0; }
.tabs { display: flex; gap: 4px; background: var(--paper); padding: 4px; border-radius: 999px; border: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { font: inherit; font-size: 15px; border: 0; background: none; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-2); position: relative; overflow: hidden; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); font-weight: 600; }
.tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--marigold); width: 0; animation: tabtime 6s linear forwards; }
.tabs.paused button::after { display: none; }
@keyframes tabtime { to { width: 100%; } }
.window { background: var(--paper); border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(26,22,18,.35); overflow: hidden; }
.wbar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--well); }
.wbar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.wbar span { margin-left: 14px; font-size: 13px; color: var(--ink-3); background: var(--paper); padding: 3px 14px; border-radius: 999px; }
.wbody { position: relative; min-height: 380px; }
.view { position: absolute; inset: 0; padding: 26px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.view.on { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }

.v-dash { display: grid; gap: 14px; }
.nw b { display: block; font: 400 56px var(--serif); line-height: 1.05; font-variant-numeric: tabular-nums; }
.nwbar { display: flex; gap: 3px; height: 16px; border-radius: 6px; overflow: hidden; margin-top: 10px; }
.nwbar i { flex: var(--w); background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.view.on .nwbar i { transform: scaleX(1); }
.fam-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, rgba(227,160,24,.18), rgba(150,64,98,.1) 55%, rgba(47,69,119,.1)); }
.fsk { font: 400 22px var(--serif); }
.fs-faces { display: flex; }
.fs-faces i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 400 14px var(--serif); color: var(--paper); background: var(--ink); margin-right: -6px; box-shadow: 0 0 0 2px var(--paper); }
.fs-faces i:nth-child(2) { background: var(--mulberry); } .fs-faces i:nth-child(3) { background: var(--marigold); color: var(--ink); } .fs-faces i:nth-child(4) { background: var(--teal); }
.fs-t { padding: 8px 14px; border-radius: 12px; color: var(--paper); font-size: 12px; display: flex; flex-direction: column; min-width: 96px; }
.fs-t b { font: 400 24px var(--serif); line-height: 1; }
.fs-t.t1 { background: var(--prussian); } .fs-t.t2 { background: var(--mulberry); } .fs-t.t3 { background: var(--marigold); color: var(--ink); }
.tiles4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tiles4 span { background: var(--well); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.tiles4 small { font-size: 12px; color: var(--ink-3); } .tiles4 b { font-size: 22px; }

.v-blue { display: flex; flex-direction: column; gap: 10px; }
.lane { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--well); }
.ln { width: 84px; flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.bk { position: relative; width: 210px; padding: 12px 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--moss); overflow: hidden; display: flex; flex-direction: column; }
.bk b { font-size: 15px; } .bk small { color: var(--ink-3); font-size: 12px; }
.bk i { position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: var(--moss); transition: width 1.2s var(--ease) .2s; }
.view.on .bk i { width: calc(var(--p) * 1%); }
.bk.emi { border-left-color: var(--terracotta); } .bk.emi i { background: var(--terracotta); }
.bk.loan { border-left-color: var(--ink); } .bk.loan i { background: var(--ink); }
.bk.ret { border-left-color: var(--prussian); } .bk.ret i { background: var(--prussian); }
.coin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 3px rgba(227,160,24,.3); left: 330px; top: 50%; opacity: 0; }
.view.on .coin { animation: coin 2.4s var(--ease) .8s infinite; }
@keyframes coin { 0% { opacity: 0; transform: translate(0, -50%); } 15% { opacity: 1; } 70% { opacity: 1; transform: translate(10px, 60px); } 100% { opacity: 0; transform: translate(10px, 70px); } }

.v-ret { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.rt-big b { display: block; font: 400 84px var(--serif); line-height: 1; color: var(--moss); }
.rt-big small { font-size: 17px; color: var(--ink-2); }
.rt-chart { width: 100%; height: auto; }
.rt-chart path { fill: none; stroke-width: 3; stroke-linecap: round; }
.rt-chart .need { stroke: var(--prussian); stroke-dasharray: 6 6; }
.rt-chart .have { stroke: var(--moss); stroke-width: 4; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.6s var(--ease); }
.view.on .rt-chart .have { stroke-dashoffset: 0; }
.rt-chart .tl { stroke: var(--marigold); stroke-dasharray: 3 4; }
.rt-chart circle { fill: var(--moss); stroke: var(--paper); stroke-width: 3; }
.rt-loans { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.rt-loans span { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: rgba(168,44,44,.1); color: var(--coral); }

.v-fam { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.att, .cov { display: flex; flex-direction: column; gap: 8px; }
.ar { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--well); border-left: 4px solid var(--mulberry); font-size: 14px; }
.ar b { font: 400 22px var(--serif); } .ar em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.ar.over { border-left-color: var(--coral); } .ar.over b, .ar.over em { color: var(--coral); }
.ar.soon { border-left-color: var(--prussian); } .ar.soon b { color: var(--terracotta); }
.cr { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; }
.cr i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--serif); }
.cr:nth-child(3) i { background: var(--mulberry); } .cr:nth-child(4) i { background: var(--marigold); color: var(--ink); } .cr:nth-child(5) i { background: var(--teal); }
.bars { display: flex; flex-direction: column; gap: 4px; }
.bars em { display: block; height: 9px; border-radius: 5px; width: 0; transition: width 1s var(--ease); }
.view.on .bars em { width: calc(var(--w) * 1%); }
.bars .l { background: var(--prussian); } .bars .h { background: var(--teal); }

/* ═══ Slider ═══ */
.slider-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.sl-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; color: var(--ink-2); margin: 10px 0 12px; }
.sl-label output { font: 400 32px var(--serif); color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(to right, var(--moss) var(--fill, 25%), var(--well) var(--fill, 25%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 2px 8px rgba(26,22,18,.3); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); cursor: grab; }
input[type=range]:focus-visible { outline: 2px solid var(--prussian); outline-offset: 6px; }
.sl-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.sl-out { background: var(--prussian); color: var(--paper); border-radius: 26px; padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; column-gap: 24px; align-items: end; }
.sl-out .k { grid-column: 1; }
.sl-out b { grid-column: 1; grid-row: 2; align-self: start; }
.sl-out #sl-chart { grid-column: 2; grid-row: 1 / 3; }
.sl-leg { grid-column: 1 / -1; display: flex; gap: 18px; font-size: 13px; color: rgba(250,245,232,.8); margin-top: 10px; }
.sl-leg span { display: inline-flex; align-items: center; gap: 6px; }
.sl-leg i { width: 16px; height: 3px; border-radius: 2px; background: var(--marigold); }
.sl-leg i.n { background: repeating-linear-gradient(90deg, rgba(250,245,232,.6) 0 4px, transparent 4px 7px); }
.sl-out .k { color: rgba(250,245,232,.75); font-size: 15px; }
.sl-out b { display: block; font: 400 110px var(--serif); line-height: .95; transition: color .3s; }
.sl-out b.late { color: #f2a46f; }
#sl-chart { width: 100%; height: auto; margin-top: 10px; }
#sl-chart path { fill: none; stroke-width: 3; stroke-linecap: round; transition: d .5s var(--ease); }
#sl-need { stroke: rgba(250,245,232,.5); stroke-dasharray: 5 6; }
#sl-have { stroke: var(--marigold); stroke-width: 4; }
#sl-dot { fill: var(--paper); transition: cx .5s var(--ease), cy .5s var(--ease); }

/* ═══ Flow ═══ */
.flow { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; min-height: 360px; }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.flow-svg path { fill: none; stroke-width: 2; stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.src, .dst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.src li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; display: flex; flex-direction: column; max-width: 230px; }
.src li span { font-size: 13px; color: var(--ink-3); }
.dst { align-items: flex-end; }
.dst li { background: var(--c); color: var(--paper); border-radius: 999px; padding: 10px 20px; font-weight: 600; min-width: 160px; text-align: center; }
.dst li:nth-child(5) { color: var(--ink); }
.hub { position: relative; z-index: 1; width: 170px; height: 170px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font: 400 24px var(--serif); box-shadow: 0 0 0 12px rgba(227,160,24,.18), 0 0 0 26px rgba(227,160,24,.08); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(227,160,24,.22), 0 0 0 34px rgba(227,160,24,.06); } }

/* ═══ June ═══ */
.line { list-style: none; margin: 0; padding: 0; position: relative; height: 240px; }
.line::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; border-radius: 2px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.june.in .line::before { transform: scaleX(1); }
.line li { position: absolute; left: calc(var(--x) * (100% - 140px)); width: 140px; display: flex; flex-direction: column; padding-left: 12px; border-left: 3px solid var(--c); font-size: 14px; opacity: 0; transition: opacity .5s, transform .5s var(--ease); }
.line li:nth-child(odd) { bottom: calc(50% + 14px); transform: translateY(-10px); }
.line li:nth-child(even) { top: calc(50% + 14px); transform: translateY(10px); }
.june.in .line li { opacity: 1; transform: none; }
.june.in .line li:nth-child(2) { transition-delay: .15s; } .june.in .line li:nth-child(3) { transition-delay: .3s; } .june.in .line li:nth-child(4) { transition-delay: .45s; }
.june.in .line li:nth-child(5) { transition-delay: .6s; } .june.in .line li:nth-child(6) { transition-delay: .75s; } .june.in .line li:nth-child(7) { transition-delay: .9s; }
.line li::after { content: ''; position: absolute; left: -9px; width: 15px; height: 15px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--cream); }
.line li:nth-child(odd)::after { bottom: -22px; } .line li:nth-child(even)::after { top: -22px; }
.line .d { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.line b { line-height: 1.25; } .line span:last-child { color: var(--ink-2); }

/* ═══ Phone ═══ */
.phone-sec { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; }
.phone { width: 290px; height: 480px; border-radius: 44px; background: var(--ink); padding: 14px; box-shadow: 0 40px 70px -30px rgba(26,22,18,.5); }
.ph-screen { height: 100%; border-radius: 32px; background: var(--paper); padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.sms { background: var(--well); border-radius: 16px 16px 16px 4px; padding: 10px 12px; font-size: 13px; line-height: 1.4; }
.sms small { display: block; font-weight: 700; font-size: 11px; color: var(--ink-3); }
.arrow { text-align: center; color: var(--marigold); font-size: 22px; line-height: 1; }
.txn { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s var(--ease); }
.txn i { width: 34px; height: 34px; border-radius: 10px; background: var(--moss); }
.txn.t2 i { background: var(--aubergine); } .txn.t3 i { background: var(--terracotta); }
.txn span { display: flex; flex-direction: column; font-size: 13.5px; } .txn small { color: var(--ink-3); font-size: 12px; }
.txn em { font-style: normal; font-weight: 600; font-size: 14px; }
.phone-sec.in .txn { opacity: 1; transform: none; }
.phone-sec.in .txn.t2 { transition-delay: .35s; } .phone-sec.in .txn.t3 { transition-delay: .7s; }
.ph-copy > p { font-size: 20px; color: var(--ink-2); max-width: 32ch; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; font-size: 17px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--moss); color: var(--paper); font-size: 13px; display: grid; place-items: center; }

/* ═══ Privacy ═══ */
.priv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.priv-grid div { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--marigold); font-size: 22px; margin-bottom: 14px; }
.priv-grid b { font: 400 24px var(--serif); display: block; }
.priv-grid p { color: var(--ink-2); font-size: 15px; }
.more { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--prussian); }

/* ═══ End + footer ═══ */
.end { margin-top: 110px; background: var(--ink); color: var(--paper); text-align: center; padding: 96px 24px; display: flex; flex-direction: column; align-items: center; gap: 28px;
  background-image: radial-gradient(circle at 12% 120%, rgba(227,160,24,.38), transparent 42%), radial-gradient(circle at 90% -20%, rgba(150,64,98,.45), transparent 42%); }
.end h2 { font-size: clamp(38px, 5vw, 64px); color: var(--paper); }
.foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px; padding: 28px 24px; font-size: 14px; color: var(--ink-3); }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ink); }

/* ═══ Reveal ═══ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ═══ Responsive ═══ */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b.goals { grid-row: span 1; } .b.family { grid-column: span 2; }
  .slider-sec, .phone-sec { grid-template-columns: 1fr; }
  .phone { justify-self: center; }
  .priv-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow-svg { display: none; }
  .src { flex-direction: row; flex-wrap: wrap; } .src li { flex: 1 1 140px; }
  .hub { justify-self: center; width: 130px; height: 130px; font-size: 20px; }
  .dst { flex-direction: row; flex-wrap: wrap; align-items: stretch; } .dst li { flex: 1 1 120px; min-width: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { padding: 12px 16px; }
  .nav-links > a:not(.btn) { display: none; }
  .nav-links { gap: 8px; } .nav-links .btn { padding: 8px 14px; font-size: 14px; }
  .hero, .sec { padding-left: 16px; padding-right: 16px; }
  .sec { padding-top: 72px; }
  .hero-proof { gap: 20px; } .hero-proof b { font-size: 32px; }
  .node span { display: none; } .node { padding: 5px; } .node i { width: 11px; height: 11px; }
  .pname small { display: none; }
  .readout-list { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; } .b.money, .b.family { grid-column: auto; }
  .tabs { width: 100%; } .tabs button { flex: 1; padding: 8px 10px; font-size: 14px; }
  .view { padding: 16px; } .wbody { min-height: 470px; }
  .nw b { font-size: 42px; }
  .tiles4 { grid-template-columns: 1fr 1fr; }
  .lane { flex-wrap: wrap; } .ln { width: 100%; } .bk { width: calc(50% - 6px); }
  .coin { display: none; }
  .v-ret { grid-template-columns: 1fr; } .rt-big b { font-size: 64px; }
  .v-fam { grid-template-columns: 1fr; }
  .sl-out b { font-size: 84px; }
  .sl-out { grid-template-columns: 1fr; } .sl-out #sl-chart { grid-column: 1; grid-row: auto; }
  .line { height: auto; display: flex; flex-direction: column; gap: 14px; padding-left: 18px; }
  .line::before { left: 4px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform-origin: top; transform: scaleY(0); }
  .june.in .line::before { transform: scaleY(1); }
  .line li, .line li:nth-child(odd), .line li:nth-child(even) { position: relative; left: 0; top: auto; bottom: auto; width: auto; border-left: 0; padding-left: 14px; transform: none; }
  .line li::after, .line li:nth-child(odd)::after, .line li:nth-child(even)::after { left: -21px; top: 4px; bottom: auto; width: 13px; height: 13px; }
  .phone { width: 260px; height: 440px; }
  .priv-grid { grid-template-columns: 1fr; }
  .btn.lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .thread { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
