:root{--paper:var(--kp-background);--paper-deep:var(--kp-surface2);--surface:var(--kp-surface);--ink:var(--kp-text);--muted:var(--kp-muted);--line:var(--kp-border);--red:var(--kp-accent);--red-dark:var(--kp-accentDark);--red-soft:var(--kp-redSoft);--teal:var(--kp-teal);--teal-soft:var(--kp-tealSoft);--gold:var(--kp-gold);--gold-soft:var(--kp-goldSoft);--green:var(--kp-good);--green-soft:var(--kp-goodSoft);--red-edge:#ddb6a8;--red-ink:var(--kp-accentDark);--teal-edge:#aec4c4;--teal-ink:var(--kp-teal);--gold-edge:#d6c298;--gold-ink:var(--kp-gold);--moss-soft:var(--kp-goodSoft);--moss-edge:#c1ccae;--moss-ink:var(--kp-good);--plum-soft:#ece5e8;--plum-edge:#cfbcc5;--plum-ink:#5b3a49;--wire:#b8b0a3;--bg:var(--paper);--accent:var(--red);--display:var(--kp-font-display);--body:var(--kp-font-sans);--shadow:0 24px 70px #2f271b1a}*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;max-width:100%;overflow-x:clip}body{background:radial-gradient(circle at 12% 7%, #b737280f, transparent 27rem), radial-gradient(circle at 88% 22%, #1d536012, transparent 30rem), var(--paper);max-width:100%;color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;margin:0;line-height:1.65;overflow-x:clip}body:before{z-index:-1;pointer-events:none;content:"";opacity:.25;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");position:fixed;inset:0}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.arch-shell{width:min(1180px,100% - 48px);margin-inline:auto}.eyebrow{color:var(--red);letter-spacing:.14em;align-items:center;gap:10px;margin:0 0 20px;font-size:12px;font-weight:800;display:flex}.eyebrow>span{background:currentColor;width:22px;height:1px}.eyebrow.light{color:#f2c9bf}.architecture-hero{grid-template-columns:minmax(0,.95fr) minmax(460px,.8fr);align-items:center;gap:clamp(44px,8vw,106px);min-height:670px;padding-top:82px;padding-bottom:94px;display:grid}.hero-copy h1{max-width:800px;font-family:var(--display);letter-spacing:-.075em;margin:0;font-size:clamp(52px,6.1vw,76px);font-weight:400;line-height:1.1}.hero-copy h1 span{color:var(--teal)}.hero-lede{max-width:650px;color:var(--muted);margin:30px 0 0;font-size:17px;line-height:1.9}.hero-actions{flex-wrap:wrap;align-items:center;gap:22px;margin-top:34px;display:flex}.button{border-radius:12px;justify-content:center;align-items:center;gap:14px;min-height:50px;padding:0 22px;font-size:14px;font-weight:750;transition:transform .18s,background .18s,box-shadow .18s;display:inline-flex}.button svg,.text-link svg{flex:none;width:16px;height:16px}.button.primary{background:var(--red);color:#fff;box-shadow:0 10px 24px #87281f33,inset 0 -2px #4b100b2e}.button.primary:hover{background:var(--red-dark);transform:translateY(-2px);box-shadow:0 14px 30px #87281f40,inset 0 -2px #4b100b2e}.text-link{border-bottom:1px solid;align-items:center;gap:7px;padding-block:8px;font-size:14px;font-weight:700;display:inline-flex}.architecture-version{color:var(--muted);align-items:center;gap:8px;margin:28px 0 0;font-size:12px;display:flex}.architecture-version i{background:var(--green);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 5px #536b3f1a}.decision-card{box-shadow:var(--shadow);background:#fffdf8d1;border:1px solid #302d261f;border-radius:30px;padding:10px;position:relative;overflow:hidden}.decision-card:before{content:"";border:1px solid #1d53601f;border-radius:50%;width:260px;height:260px;position:absolute;bottom:-120px;right:-90px}.decision-head{min-height:54px;color:var(--muted);justify-content:space-between;align-items:center;gap:16px;padding:0 14px 0 18px;font-size:12px;display:flex}.decision-head b{border-radius:var(--kp-radius-pill);background:var(--teal-soft);color:var(--teal);letter-spacing:.12em;padding:5px 9px;font-size:9px}.decision-card ol{z-index:1;gap:8px;margin:0;padding:0;list-style:none;display:grid;position:relative}.decision-card li{background:#ffffffc7;border:1px solid #302d2617;border-radius:20px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:102px;padding:17px;display:grid}.decision-icon{border-radius:15px;place-items:center;width:46px;height:46px;display:grid}.decision-icon svg{width:21px;height:21px}.decision-icon.local{background:var(--green-soft);color:var(--green)}.decision-icon.sync{background:var(--teal-soft);color:var(--teal)}.decision-icon.ai{background:var(--red-soft);color:var(--red)}.decision-card li div{min-width:0}.decision-card li small,.decision-card li strong,.decision-card li p{display:block}.decision-card li small{color:var(--muted);letter-spacing:.08em;margin-bottom:2px;font-size:9px;font-weight:700}.decision-card li strong{font-size:15px}.decision-card li p{color:var(--muted);margin:3px 0 0;font-size:11px}.decision-state{border-radius:var(--kp-radius-pill);background:var(--green-soft);color:var(--green);white-space:nowrap;padding:5px 8px;font-size:9px}.decision-state.muted{background:var(--paper-deep);color:var(--muted)}.decision-arrow{width:18px;color:var(--teal)}.principles{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);display:grid}.principles article{border-right:1px solid var(--line);grid-template-columns:44px 1fr;align-content:center;gap:18px;min-height:190px;padding:36px clamp(22px,3vw,38px);display:grid}.principles article:first-child{padding-left:0}.principles article:last-child{border-right:0;padding-right:0}.principles article>span{border:1px solid var(--line);width:44px;height:44px;color:var(--teal);background:#fffdf8a6;border-radius:14px;place-items:center;display:grid}.principles svg{width:20px;height:20px}.principles p{color:var(--muted);margin:0;font-size:13px;line-height:1.65}.principles small,.principles strong{display:block}.principles small{color:var(--red);letter-spacing:.12em;margin-bottom:7px;font-size:9px;font-weight:800}.principles strong{color:var(--ink);margin-bottom:5px;font-size:15px}.map-section,.engineering-section{padding-top:138px;padding-bottom:132px}.section-heading{max-width:720px;margin-bottom:56px}.section-heading h2{font-family:var(--display);letter-spacing:-.07em;margin:0;font-size:clamp(42px,5.3vw,66px);font-weight:400;line-height:1.12}.section-heading>p:last-child{max-width:650px;color:var(--muted);margin:24px 0 0;font-size:15px;line-height:1.85}.architecture-board{background:#fffdf8ad;border:1px solid #302d261f;border-radius:32px;grid-template-columns:minmax(190px,1fr) 34px minmax(210px,1.05fr) 34px minmax(400px,2fr);align-items:stretch;padding:18px;display:grid;box-shadow:0 24px 80px #2f271b12}.system-layer{border-radius:22px;min-width:0;padding:18px}.system-layer.clients{background:#f2e0d894}.system-layer.edge{background:var(--teal);color:#fff}.system-layer.storage{background:#f2e5c494}.system-layer.services{background:#e2e9d694}.downstream-layers{grid-template-columns:1fr 1fr;gap:10px;min-width:0;display:grid}.layer-head{align-items:center;gap:11px;margin-bottom:18px;display:flex}.layer-head>span{color:#302d2661;font-family:var(--display);font-size:25px}.edge .layer-head>span{color:#ffffff73}.layer-head small,.layer-head h3{margin:0;display:block}.layer-head small{color:var(--muted);letter-spacing:.14em;font-size:8px;font-weight:800}.edge .layer-head small{color:#ffffff94}.layer-head h3{font-size:14px}.node-stack{gap:9px;display:grid}.system-node{background:#fffdf8d6;border:1px solid #302d2617;border-radius:16px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-height:75px;padding:12px;transition:transform .18s,box-shadow .18s;display:grid;position:relative}.system-node:hover{transform:translateY(-2px);box-shadow:0 10px 24px #2f271b14}.system-node>span{background:var(--paper-deep);width:34px;height:34px;color:var(--teal);border-radius:11px;place-items:center;display:grid}.system-node svg{width:17px;height:17px}.system-node b,.system-node small{display:block}.system-node b{font-size:12px}.system-node small{color:var(--muted);margin-top:2px;font-size:8.5px;line-height:1.35}.system-node>i{border-radius:var(--kp-radius-pill);background:var(--green-soft);color:var(--green);padding:2px 5px;font-size:7px;font-style:normal;font-weight:800;position:absolute;top:7px;right:7px}.system-node.featured{border-color:#536b3f38}.system-node.featured.gold>i{background:var(--gold-soft);color:var(--gold)}.layer-connector{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.layer-connector span{letter-spacing:.08em;writing-mode:vertical-rl;font-size:7px}.layer-connector svg{width:17px;height:17px}.edge-core{text-align:center;background:#ffffff12;border:1px solid #ffffff24;border-radius:18px;flex-direction:column;align-items:center;padding:25px 14px 21px;display:flex}.core-icon{background:#ffffff1f;border-radius:15px;place-items:center;width:48px;height:48px;margin-bottom:12px;display:grid}.core-icon svg{width:23px;height:23px}.edge-core strong{font-size:14px}.edge-core p{color:#ffffffa6;max-width:190px;margin:5px 0 0;font-size:9px;line-height:1.5}.edge-functions{grid-template-columns:1fr 1fr;gap:7px;margin-top:9px;display:grid}.edge-functions span{color:#ffffffd1;background:#ffffff1a;border-radius:11px;align-items:center;gap:7px;min-height:43px;padding:8px;font-size:8px;display:flex}.edge-functions svg{flex:none;width:14px;height:14px}.content-pipeline{background:#ece5e88c;border:1px solid #302d261c;border-radius:22px;grid-template-columns:.9fr 1.2fr 1fr;align-items:center;gap:28px;margin-top:18px;padding:22px 24px;display:grid}.pipeline-title{align-items:center;gap:12px;display:flex}.pipeline-title>span{color:#5b3a49;background:#fff9;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.pipeline-title svg{width:19px;height:19px}.pipeline-title small,.pipeline-title strong{display:block}.pipeline-title small{color:#806b75;letter-spacing:.08em;font-size:9px;font-weight:800}.pipeline-title strong{margin-top:3px;font-size:12px}.pipeline-flow{color:#806b75;justify-content:center;align-items:center;gap:8px;font-size:9px;display:flex}.pipeline-flow span{text-align:center;background:#ffffff8c;border-radius:8px;padding:6px 8px}.pipeline-flow svg{flex:none;width:13px;height:13px}.pipeline-targets{gap:5px;display:grid}.pipeline-targets span{color:#806b75;align-items:center;gap:7px;font-size:9px;display:flex}.pipeline-targets svg{flex:none;width:14px;height:14px}.flow-section{background:var(--teal);color:#fff;padding:132px 0;overflow:hidden}.flow-section .section-heading{max-width:770px}.flow-section .section-heading>p:last-child{color:#ffffffa3}.flow-list{grid-template-columns:1fr 1fr;gap:14px;display:grid}.flow-card{background:#fff1;border:1px solid #ffffff1f;border-radius:26px;grid-template-rows:1fr auto;grid-template-columns:48px minmax(0,1fr);gap:0 20px;min-height:360px;padding:clamp(25px,3vw,38px);transition:background .18s,transform .18s;display:grid}.flow-card:hover{background:#ffffff18;transform:translateY(-3px)}.flow-number{color:#ffffff59;font-family:var(--display);font-size:30px;line-height:1}.flow-copy>span{color:#f2c9bf;letter-spacing:.1em;font-size:10px;font-weight:800}.flow-copy h3{max-width:400px;font-family:var(--display);letter-spacing:-.04em;margin:14px 0 13px;font-size:clamp(24px,2.4vw,32px);font-weight:500;line-height:1.25}.flow-copy p{color:#fff9;max-width:470px;margin:0;font-size:13px;line-height:1.8}.mini-flow{border-top:1px solid #ffffff1f;grid-column:1/-1;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px;margin-top:38px;padding-top:22px;display:grid}.mini-flow>span{color:#ffffffd1;text-align:center;background:#ffffff14;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-width:0;padding:11px 8px;font-size:9px;display:flex}.mini-flow svg{flex:none;width:15px;height:15px}.mini-flow>svg{color:#ffffff59;width:13px}.engineering-section{padding-bottom:112px}.repo-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.repo-card{border:1px solid var(--line);background:#fffdf8c7;border-radius:28px;padding:clamp(28px,4vw,46px);overflow:hidden;box-shadow:0 18px 58px #2f271b0e}.repo-label{align-items:center;gap:14px;margin-bottom:35px;display:flex}.repo-label>svg{background:var(--teal-soft);width:45px;height:45px;color:var(--teal);border-radius:14px;padding:11px}.content-repo .repo-label>svg{color:#5b3a49;background:#ece5e8}.repo-label small,.repo-label strong{display:block}.repo-label small{color:var(--muted);letter-spacing:.13em;font-size:9px;font-weight:800}.repo-label strong{margin-top:2px;font-size:16px}.repo-card ul{gap:0;margin:0;padding:0;list-style:none;display:grid}.repo-card li{border-top:1px solid var(--line);grid-template-columns:120px minmax(0,1fr);gap:18px;padding:16px 0;display:grid}.repo-card li b{font-size:13px}.repo-card li span{color:var(--muted);font-size:12px}.architecture-cta{background:var(--gold-soft);border-radius:28px;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:24px;margin-bottom:128px;padding:clamp(28px,4vw,46px);display:grid}.cta-icon{width:64px;height:64px;color:var(--gold);background:#fffdf89e;border-radius:20px;place-items:center;display:grid}.cta-icon svg{width:27px;height:27px}.architecture-cta p{color:var(--gold);letter-spacing:.06em;margin:0 0 5px;font-size:11px;font-weight:800}.architecture-cta h2{font-family:var(--display);letter-spacing:-.045em;margin:0;font-size:clamp(24px,3vw,34px);font-weight:500}@media (width<=1080px){.architecture-board{grid-template-columns:1fr 30px 1fr;gap:12px 0}.system-layer{min-height:100%}.architecture-board>.system-layer.clients{grid-area:1/1}.architecture-board>.layer-connector:nth-child(2){grid-area:1/2}.architecture-board>.system-layer.edge{grid-area:1/3}.architecture-board>.layer-connector:nth-child(4){flex-direction:row;grid-area:2/1/auto/-1;min-height:48px}.architecture-board>.layer-connector:nth-child(4) span{writing-mode:horizontal-tb}.architecture-board>.layer-connector:nth-child(4) svg{transform:rotate(90deg)}.downstream-layers{grid-area:3/1/auto/-1}.content-pipeline{grid-template-columns:1fr 1.2fr}.pipeline-targets{border-top:1px solid #302d2614;grid-column:1/-1;grid-template-columns:1fr 1fr;padding-top:12px}}@media (width<=860px){.architecture-hero{grid-template-columns:1fr;min-height:0;padding-top:72px}.hero-copy{max-width:720px}.decision-card{width:min(620px,100%)}.principles{grid-template-columns:1fr}.principles article,.principles article:first-child,.principles article:last-child{border-right:0;border-bottom:1px solid var(--line);min-height:0;padding:26px 0}.principles article:last-child{border-bottom:0}.flow-list,.repo-grid{grid-template-columns:1fr}.flow-card{min-height:330px}.architecture-cta{grid-template-columns:64px minmax(0,1fr)}.architecture-cta .button{grid-column:1/-1}}@media (width<=620px){.arch-shell{width:min(100% - 32px,1180px)}.architecture-hero{gap:52px;padding-top:54px;padding-bottom:66px}.hero-copy h1{font-size:clamp(42px,12vw,54px)}.hero-lede{margin-top:24px;font-size:15px;line-height:1.8}.decision-card{border-radius:24px;padding:7px}.decision-card li{border-radius:17px;grid-template-columns:40px minmax(0,1fr);gap:11px;min-height:96px;padding:14px}.decision-icon{border-radius:13px;width:40px;height:40px}.decision-state,.decision-arrow{display:none}.map-section,.engineering-section{padding-top:92px;padding-bottom:88px}.section-heading{margin-bottom:38px}.section-heading h2{font-size:clamp(38px,11vw,50px)}.architecture-board{border-radius:25px;grid-template-columns:1fr;padding:9px}.architecture-board>.system-layer,.architecture-board>.system-layer.clients,.architecture-board>.system-layer.edge{border-radius:20px;grid-area:auto/1;padding:18px}.architecture-board>.downstream-layers{grid-area:auto/1;grid-template-columns:1fr}.downstream-layers>.system-layer{border-radius:20px;padding:18px}.architecture-board>.layer-connector,.architecture-board>.layer-connector:nth-child(2),.architecture-board>.layer-connector:nth-child(4){flex-direction:row;grid-area:auto/1;min-height:46px;display:flex}.layer-connector span{writing-mode:horizontal-tb}.layer-connector svg{transform:rotate(90deg)}.content-pipeline{grid-template-columns:1fr;gap:20px;padding:21px}.pipeline-flow{justify-content:flex-start;padding-bottom:5px;overflow-x:auto}.pipeline-flow span{flex:none}.pipeline-targets{grid-column:1;grid-template-columns:1fr}.flow-section{padding:92px 0}.flow-card{border-radius:22px;grid-template-columns:38px minmax(0,1fr);gap:0 14px;min-height:0;padding:24px 18px}.flow-number{font-size:24px}.flow-copy h3{font-size:25px}.mini-flow{grid-template-columns:1fr;gap:7px;margin-top:28px}.mini-flow>svg{justify-self:center;transform:rotate(90deg)}.mini-flow>span{justify-content:flex-start;padding-inline:13px}.repo-card{border-radius:23px;padding:25px 20px}.repo-card li{grid-template-columns:1fr;gap:4px;padding:14px 0}.architecture-cta{border-radius:23px;grid-template-columns:48px minmax(0,1fr);gap:16px;margin-bottom:88px;padding:24px 18px}.cta-icon{border-radius:15px;width:48px;height:48px}.cta-icon svg{width:21px;height:21px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.diagram-shell{background:#fffdf8b8;border:1px solid #302d261f;border-radius:30px;padding:26px 28px 14px;overflow:hidden;box-shadow:0 24px 80px #2f271b12}.diagram-mobile-hint{color:var(--muted);align-items:center;gap:7px;margin:0 0 14px;font-size:11px;display:none}.diagram-mobile-hint svg{width:15px;height:15px}.diagram-shell .canvas{scrollbar-color:#1d536047 transparent;scrollbar-width:thin}.diagram-shell .arch{stroke:none}.legend{color:var(--muted);flex-wrap:wrap;gap:8px 20px;margin:0 0 6px;font-size:13px;display:flex}.legend b{align-items:center;gap:7px;font-weight:500;display:inline-flex}.legend i{background:currentColor;border-radius:5px;width:14px;height:14px;display:inline-block;box-shadow:inset 0 0 0 1px #2e2a2317}.legend .dashed{border-top:1.5px dashed var(--wire);width:22px;height:0;box-shadow:none;background:0 0;border-radius:0}.legend .star{width:auto;height:auto;box-shadow:none;color:var(--accent);background:0 0;font-size:14px;font-style:normal}.canvas{margin:14px 0 0;padding-bottom:10px;overflow-x:auto}.arch{width:100%;min-width:1080px;height:auto;font-family:var(--kp-font-sans);display:block}.arch .frame{fill:none;stroke-width:1.5px;stroke-dasharray:7 5}.arch .frame.repo{stroke:#b6afa3;stroke-dasharray:3 4}.arch .flabel{font-size:13px;font-weight:600}.arch .lbg{fill:var(--bg)}.arch .node{stroke-width:1px}.arch .t{text-anchor:middle;font-size:16px;font-weight:600}.arch .s{text-anchor:middle;opacity:.7;font-size:12.5px}.arch .app .node{fill:var(--red-soft);stroke:var(--red-edge)}.arch .app .t,.arch .app .s{fill:var(--red-ink)}.arch .app-f{stroke:var(--red-edge)}.arch .app-l{fill:var(--red-ink)}.arch .edge .node{fill:var(--teal-soft);stroke:var(--teal-edge)}.arch .edge .t,.arch .edge .s{fill:var(--teal-ink)}.arch .edge-f{stroke:var(--teal-edge)}.arch .edge-l{fill:var(--teal-ink)}.arch .data .node{fill:var(--gold-soft);stroke:var(--gold-edge)}.arch .data .t,.arch .data .s{fill:var(--gold-ink)}.arch .data-f{stroke:var(--gold-edge)}.arch .data-l{fill:var(--gold-ink)}.arch .out .node{fill:var(--moss-soft);stroke:var(--moss-edge)}.arch .out .t,.arch .out .s{fill:var(--moss-ink)}.arch .out-f{stroke:var(--moss-edge)}.arch .out-l{fill:var(--moss-ink)}.arch .content .node{fill:var(--plum-soft);stroke:var(--plum-edge)}.arch .content .t,.arch .content .s{fill:var(--plum-ink)}.arch .content-f{stroke:var(--plum-edge)}.arch .content-l{fill:var(--plum-ink)}.arch marker path{fill:var(--wire)}.arch .link{fill:none;stroke:var(--wire);stroke-width:1.8px}.arch .link.build{stroke-dasharray:6 5}.arch .elabel{fill:var(--muted);text-anchor:middle;font-size:12.5px}.arch .elabel.left{text-anchor:start}.arch .star{fill:var(--accent);text-anchor:middle;font-size:15px}.arch .note{fill:var(--muted);text-anchor:middle;font-size:12.5px}@media (width<=620px){.diagram-shell{border-radius:23px;padding:18px 15px 9px}.diagram-mobile-hint{display:flex}.diagram-shell .legend{gap:7px 13px;font-size:10px}.diagram-shell .legend i{border-radius:4px;width:11px;height:11px}.diagram-shell .arch{min-width:940px}}
