/* The folded stream is Superflow's signature. Give it room, then let the UI speak. */
.home-page .hero{padding-top:16px;text-align:left;overflow:hidden}
.hero-layout{display:grid;grid-template-columns:.94fr 1.06fr;align-items:center;min-height:650px;gap:0}
.hero-copy{position:relative;z-index:2;padding:36px 0 36px}
.home-page .hero h1{font-size:clamp(64px,6.8vw,88px);line-height:1.01;letter-spacing:-.04em;margin:0 0 28px;text-align:left;font-weight:500}
.hero h1>span{color:var(--blue)}
.home-page .hero .lead{max-width:440px;font-size:18px;line-height:1.6;margin:0;color:var(--mut)}
.hero-copy .cta{justify-content:flex-start;gap:24px;margin-top:30px;flex-wrap:nowrap}
.hero-copy .pill{min-height:50px;padding-inline:22px;gap:20px;font-size:14px}
.hero-copy .pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;transition:translate .25s}
.hero-copy .pill:hover svg{translate:3px 0}
.hero-copy .lnk{font-size:14px;white-space:nowrap}
.hero-copy .hero-meta{margin-top:20px;font-size:11px;letter-spacing:0}
.flow-scene{height:620px;position:relative;isolation:isolate;min-width:0}
#flow-canvas,.flow-fallback{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.flow-fallback{padding:20px;opacity:.8}.flow-scene.is-rendered .flow-fallback{display:none}.flow-scene:not(.is-rendered) #flow-replay{display:none}
.flow-note{position:absolute;z-index:1;display:flex;gap:12px;align-items:center;background:#fff;box-shadow:0 14px 44px -18px #17263d45;border-radius:12px;padding:16px 18px;pointer-events:none}
.flow-note b{display:block;font-size:13px;font-weight:500;letter-spacing:-.02em;line-height:1.4;color:var(--ink)}
.flow-note span{display:block;font-size:11px;color:var(--mut);line-height:1.5;letter-spacing:-.01em;margin-top:3px}
.note-brand{top:66px;left:16px;transform:rotate(-6deg)}
.note-symbol{background:#edf4fc;color:var(--blue);width:36px;height:36px;border-radius:9px;display:grid;place-items:center}
.note-symbol svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}
.note-plan{right:-2px;bottom:90px;transform:rotate(5deg);padding:18px;gap:15px}
.note-date{padding-right:15px;border-right:1px solid var(--line2);text-align:center}
.note-date b{font-size:8px;letter-spacing:.08em;color:var(--mut)}
.note-date>span{font-size:28px;line-height:1.2;letter-spacing:-.04em;color:var(--ink);margin-top:5px}
.flow-note small{font-size:9px;display:flex;gap:5px;align-items:center;color:#496788;margin-top:9px;letter-spacing:0}
.flow-note small i{width:5px;height:5px;border-radius:50%;background:var(--blue)}
.flow-caption{position:absolute;bottom:14px;left:40px;right:10px;display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:11px;color:var(--mut);letter-spacing:0}
.flow-caption>span{font-size:12px;font-weight:500;color:var(--ink2)}
.flow-caption button{display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--mut);font-size:11px;padding:0;min-height:44px}
.flow-caption button:hover{color:var(--link)}
.flow-caption button svg{fill:none;stroke:currentColor;stroke-width:1.2;width:18px;height:18px}
.hero-foot{display:flex;justify-content:space-between;align-items:center;gap:40px;min-height:100px;border-top:1px solid var(--line2);font-size:11px;line-height:1.65;color:var(--mut);letter-spacing:0}
.hero-foot>span:last-child{text-align:right}
.hero-foot>a{display:flex;align-items:center;gap:24px;min-height:44px;color:var(--ink2);font-size:12px}
.hero-foot svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;transition:translate .3s}
.hero-foot a:hover svg{translate:0 4px}
.home-page .stage{margin-top:76px;padding-bottom:80px}
.stage-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;max-width:1080px;margin:0 auto 40px}
.stage-heading h2{font-size:48px;line-height:1.08;letter-spacing:-.04em;margin:0;font-weight:500}
.stage-heading>p{font-size:16px;line-height:1.6;color:var(--mut);margin:0 0 3px;letter-spacing:-.02em}
.home-page #heroMac{scroll-margin-top:110px}
.home-page .state{padding:100px 0;background:#fff}
.state-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:110px;align-items:start}
.state-layout h2{font-size:clamp(36px,4.4vw,56px);font-weight:500;line-height:1.09;margin:0;letter-spacing:-.04em}
.state-layout h2 span{color:var(--blue)}
.state-layout #stmt{font-size:23px;font-weight:400;line-height:1.5;letter-spacing:-.03em;margin:0 0 20px;color:var(--ink)}
.state-layout .state-note{font-size:15px;line-height:1.7;letter-spacing:-.015em;font-weight:400;color:var(--mut);margin:0}
/* A quieter room for the thinking behind the work. */
.home-page .how{padding:90px 0 100px;background:#101b2a;color:#fff;overflow:hidden}
.home-page .how-h{display:flex;justify-content:space-between;align-items:flex-end;gap:50px;text-align:left;margin-bottom:44px}
.home-page .how-h h2{font-size:clamp(38px,4.8vw,60px);max-width:620px;font-weight:500;line-height:1.08}
.home-page .how-h .lead{font-size:16px;line-height:1.6;color:#b3c0d1;margin:0;max-width:340px}
.how-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:56px}
.how-tabs button{border:0;border-top:1px solid #ffffff2b;background:none;padding:18px 0;min-height:62px;color:#a4b3c6;display:flex;align-items:center;gap:16px;font-size:15px;text-align:left;transition:border-color .3s,color .3s}
.how-tabs button span{font-size:11px;font-variant-numeric:tabular-nums;color:#a4b3c6}
.how-tabs button:hover{color:#fff}
.how-tabs button[aria-selected=true]{border-top-color:#6faeff;color:#fff}
.how-tabs button[aria-selected=true] span{color:#7bb8ff}
.home-page .how-g{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:center;min-height:400px}
.home-page .how .steps{display:block}
.home-page .how .step{min-height:0;padding:0;display:grid;align-content:center;gap:22px;border:0;opacity:1}
.home-page .how .step[hidden]{display:none}
.home-page .how .step .n{display:none}
.home-page .how .step h3{font-size:38px;font-weight:500;line-height:1.14;color:#fff;margin:0}
.home-page .how .step p{font-size:16px;color:#b3c0d1;line-height:1.7;max-width:380px;margin:0}
.home-page .how .steps .step-link{color:#86baff!important;margin:0;font-size:14px;padding:0;min-height:44px;display:inline-flex;gap:10px;border:0;background:none}
.home-page .how .steps .step-link:before{display:none}
.home-page .how .dev{display:block;position:relative;top:auto;height:380px;margin:0;order:0;align-self:auto;min-width:0}
.home-page .how .dev:before{display:none}
.home-page .how .mac{color:var(--ink);box-shadow:0 20px 50px -20px #0008;border-radius:12px}
.home-page .how .scr{padding:24px;gap:16px;opacity:0;transform:none;transition:opacity .3s}
.home-page .how .scr.on{opacity:1}
.home-page .how .scr-t{color:var(--ink);font-size:13px}
.home-page .how .scr-t span{font-size:11px}
.home-page .how .aud{gap:8px}
.home-page .how .aud div{font-size:11px;border:0;background:var(--bg2);padding:12px;line-height:1.5}
.home-page .how .aud b{font-size:12px;line-height:1.3}
.home-page .how .tone div{font-size:12px;grid-template-columns:90px 1fr 30px}
.home-page .how .var div{font-size:11px;line-height:1.5;padding:12px}
.home-page .how .chart{padding:10px;border:0;background:var(--bg2)}
.home-page .how .chart svg{height:160px}
.home-page .how .ins div{font-size:11px;line-height:1.4}
.home-page .how .ins b{font-size:12px}
.home-page .how .cal .c{height:40px}
.home-page .how .cal small{color:var(--mut)}
.home-page .feat{padding-block:100px}
.home-page .feat-h{text-align:left;max-width:780px}
.home-page .feat-h h2{font-weight:500}
.home-page .final{position:relative;padding:110px 0;background:#eef4fc}
.home-page .final h2{font-weight:500}
.is-gathering .note-brand{animation:brand-gather 1.1s cubic-bezier(.16,1,.3,1)}
.is-gathering .note-plan{animation:plan-gather 1.1s cubic-bezier(.16,1,.3,1)}
@keyframes brand-gather{from{transform:translate(-24px,20px) rotate(-14deg)}to{transform:translate(0,0) rotate(-6deg)}}
@keyframes plan-gather{from{transform:translate(28px,-18px) rotate(14deg)}to{transform:translate(0,0) rotate(5deg)}}
@media(max-width:1100px){.hero-layout{grid-template-columns:1fr 1fr;min-height:600px}.flow-scene{height:560px}.home-page .hero h1{font-size:70px}.hero-copy .cta{gap:18px}.hero-copy .lnk{font-size:13px}.flow-note{padding:14px}.note-brand{left:10px;top:50px}.note-plan{right:0;bottom:80px}.flow-caption{left:20px}.state-layout{gap:60px}.home-page .how-g{gap:45px}.home-page .how .step h3{font-size:33px}.home-page .how .scr{padding:20px}.home-page .how .var{grid-template-columns:1fr 1fr}.home-page .how .var div:nth-child(3){display:none}}
@media(max-width:900px){.hero-layout{min-height:540px}.home-page .hero h1{font-size:60px}.home-page .hero .lead{font-size:16px}.hero-copy .cta{flex-wrap:wrap;gap:16px}.hero-copy .pill{min-height:46px;padding-inline:18px;font-size:13px}.flow-scene{height:500px}.flow-note b{font-size:11px}.flow-note span{font-size:9px}.flow-note small{font-size:8px}.note-symbol{width:28px;height:28px}.note-brand{left:0;top:40px;gap:8px;padding:12px}.note-plan{padding:12px;gap:10px;bottom:75px}.note-date{padding-right:10px}.note-date>span{font-size:24px}.flow-caption{left:10px;right:0;gap:8px}.flow-caption>span{font-size:10px}.flow-caption button{font-size:10px}.hero-foot{min-height:88px}.state-layout{gap:40px}.state-layout #stmt{font-size:21px}.home-page .how .how-g{grid-template-columns:1fr;gap:40px}.home-page .how .step{min-height:190px}.home-page .how .step h3{max-width:500px}.home-page .how .step p{max-width:560px}.home-page .how .dev{height:380px;max-width:680px;width:100%}.home-page .how .aud{grid-template-columns:repeat(3,minmax(0,1fr))}.home-page .how .aud div:nth-child(3){display:block}.home-page .how .var{grid-template-columns:repeat(3,minmax(0,1fr))}.home-page .how .var div:nth-child(3){display:grid}.home-page .how .scr{padding:24px}.how-tabs{gap:16px;margin-bottom:36px}.how-tabs button{gap:10px;font-size:14px}.home-page .how-h{display:block}.home-page .how-h .lead{margin-top:22px}.stage-heading h2{font-size:40px}.stage-heading p{font-size:14px}}
@media(max-width:680px){.home-page .hero{padding-top:12px}.hero-layout{display:flex;flex-direction:column;min-height:0;gap:0}.hero-copy{align-self:stretch;padding:26px 0 0}.home-page .hero h1{font-size:56px;line-height:1.02;letter-spacing:-.04em;margin-bottom:24px}.home-page .hero .lead{font-size:16px;max-width:380px;line-height:1.6}.hero-copy .cta{margin-top:24px;gap:22px;flex-wrap:nowrap}.hero-copy .pill{min-height:46px;font-size:13px;padding:12px 17px;gap:12px}.hero-copy .lnk{font-size:13px}.hero-copy .hero-meta{font-size:10px;margin-top:17px}.flow-scene{width:calc(100% + 22px);height:390px;margin-top:5px;flex:none;align-self:center}.note-brand{top:28px;left:15px;transform:rotate(-6deg)}.note-plan{right:2px;bottom:65px;padding:13px}.flow-note b{font-size:11px}.flow-note span{font-size:9px}.flow-note small{font-size:8px}.flow-caption{bottom:0;left:16px;right:10px}.flow-caption>span{font-size:10px}.flow-caption button{font-size:10px}.flow-caption button svg{width:16px;height:16px}.hero-foot{min-height:84px;gap:18px;font-size:10px;margin-top:12px}.hero-foot>span:first-child{display:none}.hero-foot>a{font-size:11px;gap:18px}.hero-foot>span:last-child{font-size:9px}.home-page .stage{margin-top:54px;padding-bottom:48px}.stage-heading{display:block;padding-inline:8px;margin-bottom:28px}.stage-heading h2{font-size:36px;margin-bottom:18px}.stage-heading p{font-size:14px}.home-page .state{padding:64px 0}.state-layout{display:block}.state-layout h2{font-size:39px;margin-bottom:30px}.state-layout #stmt{font-size:20px;line-height:1.5}.state-layout .state-note{font-size:14px}.home-page .how{padding:64px 0 56px}.home-page .how-h{margin-bottom:34px}.home-page .how-h h2{font-size:38px}.home-page .how-h .lead{font-size:15px;margin-top:20px}.how-tabs{gap:12px;margin-bottom:32px;grid-template-columns:repeat(4,minmax(0,1fr))}.how-tabs button{display:grid;align-content:start;gap:8px;font-size:12px;padding:14px 0;min-height:72px}.how-tabs button span{font-size:10px}.home-page .how .how-g{gap:28px;min-height:0}.home-page .how .step{min-height:250px;gap:18px}.home-page .how .step h3{font-size:31px;line-height:1.16;max-width:330px}.home-page .how .step p{font-size:15px;line-height:1.65}.home-page .how .step-link{font-size:13px}.home-page .how .dev{height:350px;display:block}.home-page .how .scr{padding:18px;gap:16px}.home-page .how .scr-t{font-size:12px}.home-page .how .scr-t span{font-size:10px}.home-page .how .tone div{grid-template-columns:75px 1fr 25px;gap:10px;font-size:11px}.home-page .how .aud{grid-template-columns:repeat(2,minmax(0,1fr))}.home-page .how .aud div:nth-child(3){display:none}.home-page .how .aud div{padding:10px;font-size:10px}.home-page .how .aud b{font-size:11px}.home-page .how .var{grid-template-columns:1fr 1fr;gap:10px}.home-page .how .var div:nth-child(3){display:none}.home-page .how .var div{font-size:11px;padding:10px}.home-page .how .var small{font-size:10px}.home-page .how .var em{font-size:10px}.home-page .how .cal{gap:4px}.home-page .how .cal .c{height:40px;padding:4px}.home-page .how .chart svg{height:135px}.home-page .how .ins{gap:8px}.home-page .how .ins div{padding:10px;font-size:10px}.home-page .how .ins b{font-size:11px}.home-page .feat{padding-block:64px}.home-page .feat-h h2{font-size:36px}.home-page .final{padding-block:76px}}
@media(max-width:360px){.home-page .hero h1{font-size:49px}.hero-copy .cta{gap:17px}.hero-copy .pill{font-size:12px;padding-inline:14px}.hero-copy .lnk{font-size:12px}.flow-scene{height:350px}.note-brand{left:6px}.note-plan{right:0}.how-tabs{gap:8px}.how-tabs button{font-size:11px}.home-page .how .dev{height:365px}}
@media(prefers-reduced-motion:reduce){#flow-replay{display:none}}
/* The opening connects the three pieces once, then rests. */
@keyframes copy-arrive{from{clip-path:inset(0 0 100% 0);transform:translateY(12px)}to{clip-path:inset(0);transform:translateY(0)}}
@keyframes note-arrive{from{opacity:0;translate:0 16px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:no-preference){.hero-copy h1{animation:copy-arrive 650ms var(--out) both}.hero-copy .lead{animation:note-arrive 480ms 100ms var(--out) backwards}.flow-note{animation:note-arrive 650ms 220ms var(--out) backwards}.note-plan{animation-delay:420ms}}
.how-tabs{position:relative;--active-step:0}
.how-tabs:after{content:"";position:absolute;top:0;left:0;height:2px;width:calc((100% - 60px)/4);background:#86baff;transform:translateX(calc(var(--active-step) * (100% + 20px)));transition:transform 420ms var(--out);pointer-events:none}
.how-tabs button[aria-selected=true]{border-top-color:transparent}
.how-tabs button{transition:color 180ms}
.how-tabs button:active{color:#86baff}
@media(max-width:680px){.home-page .hero h1{font-size:clamp(52px,13vw,72px)}.hero-copy .cta{flex-wrap:wrap;gap:16px}.how-tabs:after{width:calc((100% - 36px)/4);transform:translateX(calc(var(--active-step) * (100% + 12px)))}}
@media(prefers-reduced-motion:reduce){.hero-copy h1,.hero-copy .lead,.flow-note{animation:none}.how-tabs:after{transition:none}}

@media(max-width:360px){.how-tabs:after{width:calc((100% - 24px)/4);transform:translateX(calc(var(--active-step) * (100% + 8px)))}}

.process-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;color:#b3c0d1}
.process-toolbar p{font-size:12px;letter-spacing:0;margin:0}
.process-toolbar button{display:inline-flex;align-items:center;gap:10px;border:1px solid #ffffff40;border-radius:30px;padding:8px 14px;min-height:40px;background:transparent;color:#d6e7ff;font-size:12px;white-space:nowrap;transition:background 180ms,border-color 180ms}
.process-toolbar button:hover{background:#ffffff0d;border-color:#86baff}
.process-toolbar button svg{width:16px;height:16px;fill:currentColor}
.process-toolbar button[aria-pressed=true] svg{clip-path:polygon(15% 15%,40% 15%,40% 85%,15% 85%,15% 15%,60% 15%,85% 15%,85% 85%,60% 85%,60% 15%);background:currentColor;fill:transparent}
@media(min-width:681px) and (max-width:900px){.how-tabs:after{width:calc((100% - 48px)/4);transform:translateX(calc(var(--active-step) * (100% + 16px)))}}
@media(max-width:680px){.process-toolbar{align-items:flex-start}.process-toolbar p{font-size:11px;max-width:160px;padding-top:8px}.process-toolbar button{font-size:11px;padding-inline:12px}}
