/* Sentinel homepage: a quiet reading column, with room for navigation. */
.sentinel-home,.sentinel-example{--s-muted:#aaa;--s-line:rgba(255,255,255,.2)}
.s-main{box-sizing:border-box;max-width:1640px;margin:auto;padding:0 calc(var(--gut) + 174px) 0 var(--gut)}
.s-section{padding:clamp(64px,calc(8vw * var(--vk)),120px) 0;border-bottom:1px solid var(--s-line);scroll-margin-top:112px}
.s-section h2{margin:0 0 40px;font-size:clamp(36px,5vw,76px);font-weight:700;line-height:1.04;letter-spacing:-.04em;text-wrap:balance}
.s-eyebrow{margin:0 0 28px;font-family:var(--mono);font-size:11px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:var(--s-muted)}
.s-two-col{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,calc(5vw * var(--vk)),88px)}
.s-lead{margin:0;font-size:clamp(23px,2.2vw,34px);line-height:1.3;letter-spacing:-.025em;max-width:30ch}
.s-prose{max-width:54ch}.s-prose p{margin:0 0 20px;line-height:1.65}.s-prose p:last-child{margin-bottom:0}
.s-muted{color:var(--s-muted)}
.s-section h3{margin:0 0 16px;font-size:clamp(22px,2.1vw,32px);line-height:1.2;letter-spacing:-.025em}
.s-link{display:inline-flex;align-items:center;gap:28px;padding:12px 0;text-decoration:none;border-bottom:1px solid currentColor;font-weight:500;font-size:16px;line-height:1.4}
.s-link:hover{color:#bbb}.s-link:focus-visible,.s-button:focus-visible{outline:2px solid currentColor;outline-offset:6px}
.s-narrow{max-width:46ch}
.s-memory{margin-bottom:64px}
.s-example{scroll-margin-top:112px;border:1px solid #333;border-radius:10px;padding:clamp(20px,calc(3vw * var(--vk)),44px);background:#0a0a0a}
.s-example-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.s-example-head h3{margin:0}.s-example-caption{color:var(--s-muted);font-size:15px;margin:12px 0 32px;max-width:55ch}
.s-badge{display:inline-block;font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;border:1px solid #444;border-radius:30px;padding:6px 10px;white-space:nowrap;line-height:1.4;color:#bbb}
.s-live{color:#b2e9b0;border-color:#3e6540}.s-live::before{content:'';display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin-right:7px;vertical-align:2px}
.s-demo-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #333;gap:12px}
.s-demo-tabs button{display:flex;align-items:center;gap:12px;position:relative;text-align:left;background:none;border:0;border-bottom:2px solid transparent;padding:16px 0;color:#888;cursor:pointer;font-size:12px;line-height:1.4}
.s-demo-tabs button span{font-size:16px}.s-demo-tabs button[aria-selected=true]{color:#fff;border-bottom-color:#fff}.s-demo-tabs button:hover{color:#fff}
.s-demo-panels{display:grid}.s-demo-panel{grid-area:1/1;min-height:250px;padding-top:32px;box-sizing:border-box}.s-demo-panel[hidden]{display:none}
.s-demo-panel .s-eyebrow{margin-bottom:20px;font-size:10px}
.s-demo-panel blockquote{margin:0 0 24px;max-width:30ch;font-size:clamp(24px,2.7vw,40px);line-height:1.25;letter-spacing:-.025em}
.s-demo-panel>p:not(.s-eyebrow){max-width:62ch;margin:0;color:#aaa;font-size:16px;line-height:1.6}
.s-source{display:inline-flex;align-items:center;border:0;border-bottom:1px solid #777;padding:8px 0;margin-top:16px;background:none;cursor:pointer;font-size:14px}.s-source:hover{color:#bbb}
.s-process{list-style:none;padding:0;margin:48px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;counter-reset:step}
.s-process li{border-top:1px solid var(--s-line);padding-top:20px}.s-step-number{display:block;font-size:12px;color:#888;margin-bottom:24px}.s-process h3{font-size:24px}.s-process p{font-size:17px;line-height:1.6;color:#bbb;margin:0}
.s-local{display:grid;grid-template-columns:1fr 1fr;gap:40px;border-top:1px solid var(--s-line);padding-top:32px}.s-local h3{margin:0}.s-local p{margin:0;max-width:54ch;color:#bbb;line-height:1.6}
.s-build-list>div{padding:24px 0;border-top:1px solid var(--s-line)}.s-build-list>div:first-child{padding-top:0;border-top:0}.s-build-list>div:last-child{padding-bottom:0}.s-build-list h3{margin-top:18px;font-size:26px}.s-build-list p{margin:0;line-height:1.6;color:#bbb}
.s-research h2{font-size:clamp(32px,3.6vw,54px);margin-bottom:24px}
.s-faq details{border-top:1px solid var(--s-line)}.s-faq summary{padding:24px 36px 24px 0;position:relative;cursor:pointer;list-style:none;font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.015em}.s-faq summary::-webkit-details-marker{display:none}.s-faq summary::after{content:'+';position:absolute;right:0;font-weight:400}.s-faq details[open] summary::after{content:'−'}.s-faq details p{max-width:65ch;margin:0 0 28px;line-height:1.65;color:#bbb}
.s-join h2{font-size:clamp(60px,8vw,120px);line-height:.96;letter-spacing:-.045em;margin-bottom:28px}.s-join h2 em{font-style:normal;background:var(--spectrum);background-clip:text;-webkit-background-clip:text;color:transparent}.s-join>p:not(.s-eyebrow){max-width:42ch}.s-button{display:inline-flex;justify-content:space-between;gap:48px;padding:16px 22px;margin-top:20px;background:#fff;color:#000;border:1px solid #fff;text-decoration:none;font-weight:700;font-size:18px;line-height:1.4}.s-button:hover{background:#171717;color:#fff}.s-small{font-size:13px;color:#999;margin-top:16px}
.s-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:32px 0 48px;font-size:13px;color:#999}.s-footer a{text-decoration:none}.s-footer a:hover{color:#fff}.s-footer p{margin:0}
.sentinel-home .hero-copy{max-width:min(670px,calc(53vw * var(--vk)));bottom:calc(90px + env(safe-area-inset-bottom,0px));mix-blend-mode:normal}
.sentinel-home .hero-copy h1{font-size:clamp(48px,6.5vw,100px)}
.sentinel-home .hero-copy .kicker{font-size:11px;color:#aaa;letter-spacing:.1em;margin-bottom:24px}
.s-hero-description{max-width:36ch;font-size:clamp(18px,1.7vw,24px);line-height:1.5;margin:24px 0 14px;color:#bbb}
.sentinel-home .hero-copy .s-link{font-size:15px}
/* Fixed controls never blend their labels away. The rail has its own gutter. */
#nav.nav{mix-blend-mode:normal;background:#000;color:#fff;pointer-events:auto;border-bottom:1px solid rgba(255,255,255,.08);padding-top:calc(24px + env(safe-area-inset-top,0px));padding-bottom:20px}
#nav.nav>.wm,#nav.nav>.day-switch,#nav.nav>ul a,html.day #nav.nav>.wm,html.day #nav.nav>.day-switch,html.day #nav.nav>ul a{mix-blend-mode:normal}
#nav.nav:not(.compact)>ul{right:24px;top:calc(112px + env(safe-area-inset-top,0px));gap:4px;width:146px;max-height:calc(100vh / var(--zoom) - 144px);overflow-y:auto;overflow-x:hidden;padding:0 8px 8px;box-sizing:border-box;scrollbar-width:thin}
#nav.nav:not(.compact)>ul li{width:100%;text-align:right}
#nav.nav:not(.compact)>ul a{display:inline-flex;align-items:center;justify-content:flex-end;box-sizing:border-box;margin:0;padding:12px 8px;min-height:48px;font-size:13px;line-height:20px;color:#aaa;border:0;border-radius:4px;background:transparent;box-shadow:none;text-decoration:none;transition:color .15s,background-color .15s}
#nav.nav:not(.compact)>ul a:hover,#nav.nav:not(.compact)>ul a:focus-visible{color:#fff;background:#151515}
#nav.nav:not(.compact)>ul a[aria-current]{color:#fff;text-decoration:none}
#nav.nav:not(.compact)>ul a[aria-current]::before{content:'';width:4px;height:4px;background:#fff;border-radius:50%;margin-right:10px;flex-shrink:0}
#nav.nav:not(.compact)>ul a.over-text{background:#080808;box-shadow:0 0 0 1px #333;color:#fff}
#nav.nav.compact.open{background:#000}.nav.compact #nav-list{max-height:calc(100svh / var(--zoom) - 120px);overflow-y:auto;border-bottom:1px solid #333}.nav.compact #nav-list li{border-color:#333}
@media(max-width:1100px) and (min-width:861px){.s-main{padding-right:190px}.s-two-col{gap:36px}.s-process{gap:22px}.s-section h2{font-size:48px}.s-example-head{gap:12px}.s-demo-tabs button{gap:6px}.s-demo-tabs button span{font-size:14px}}
@media(max-width:860px){
 .s-main{padding-inline:var(--gut)}
 #nav.nav{padding-block:calc(18px + env(safe-area-inset-top,0px)) 14px}
 .s-section{padding-block:64px;scroll-margin-top:104px}.s-section h2{font-size:clamp(36px,7vw,58px);margin-bottom:28px}
 .s-two-col{grid-template-columns:1fr;gap:24px}.s-lead{font-size:25px}.s-memory{margin-bottom:36px}.s-memory h3{font-size:24px}
 .s-process{grid-template-columns:1fr;margin-block:36px;gap:28px}.s-step-number{margin-bottom:14px}.s-process li{padding-top:16px}.s-process p{max-width:52ch}.s-local{grid-template-columns:1fr;gap:12px}
 .s-build-list{margin-top:12px}.s-example{scroll-margin-top:104px}.s-example-head h3{font-size:23px}.s-example-caption{font-size:14px;margin-bottom:20px}.s-demo-tabs{gap:8px}.s-demo-tabs button{display:block;padding:12px 0;font-size:10px}.s-demo-tabs button span{display:block;margin-top:6px;font-size:14px}.s-demo-panel{padding-top:24px;min-height:292px}.s-demo-panel blockquote{font-size:27px}.s-demo-panel>p:not(.s-eyebrow){font-size:15px}
 .s-join h2{font-size:clamp(64px,12vw,100px)}.s-faq summary{font-size:21px}.s-footer{align-items:flex-start;gap:16px}.s-footer p{width:100%;order:3}
 .sentinel-home .hero-copy{left:var(--gut);right:var(--gut);bottom:calc(76px + env(safe-area-inset-bottom,0px));max-width:560px}
 .sentinel-home .hero-copy h1{font-size:clamp(40px,8vw,64px);max-width:10ch}.sentinel-home .hero-copy .kicker{margin-bottom:14px;font-size:10px}.s-hero-description{max-width:33ch;font-size:18px;margin:18px 0 4px}
 .sentinel-home .hero-copy .s-link{font-size:14px;padding-block:10px}.sentinel-home .hero .stage{min-height:820px}
}
@media(max-width:480px){.sentinel-home .hero .stage{min-height:calc(100svh / var(--zoom));height:calc(100svh / var(--zoom))}.sentinel-home .hero-copy{bottom:56px}.sentinel-home .hero-copy .kicker{display:none}.sentinel-home .hero-copy h1{font-size:40px}.s-hero-description{font-size:17px;max-width:29ch}.s-demo-panel{min-height:320px}.s-example{padding:22px}.s-demo-panel blockquote{font-size:25px}.s-demo-tabs button span{font-size:13px}.s-eyebrow{margin-bottom:22px}.s-section h2{font-size:36px}.s-section{padding-block:52px}.s-join h2{font-size:66px}}
@media(prefers-reduced-motion:reduce){#nav.nav:not(.compact)>ul a{transition:none}.s-demo-panel{scroll-behavior:auto}}

.s-hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.s-hero-secondary{font-size:14px;color:#aaa;text-decoration:none;padding:12px 0}.s-hero-secondary:hover{color:#fff}
@media(max-width:480px){.s-hero-actions{gap:20px}.s-hero-secondary{font-size:12px}}
/* All three panels share a grid cell, so changing tabs never moves the page. */
.s-demo-panel[hidden]{display:block;visibility:hidden;pointer-events:none}
/* Keep the closing headline's contrast in the inverted day palette. */
html.day .s-join h2 em{background:none;color:#fff;-webkit-text-fill-color:#fff}

/* A separate destination for the example, sharing the site's reading layout. */
.s-example-page{padding-top:140px;min-height:calc(100vh * var(--vk));box-sizing:border-box}
.s-example-page-header{margin-bottom:40px}
.s-example-page-header h1{font-size:clamp(44px,6vw,84px);line-height:1.02;letter-spacing:-.04em;margin:28px 0 0}
.s-example-back{display:inline-block;padding:10px 0;color:#aaa;font-size:14px;text-decoration:none}.s-example-back:hover{color:#fff}
.s-example-page .s-example{margin-bottom:32px}.s-example-page .s-example-caption{margin-top:18px}
@media(max-width:860px){.s-example-page{padding-top:112px}.s-example-page-header{margin-bottom:28px}.s-example-page-header h1{font-size:clamp(40px,8vw,64px)}}

/* Align the opening argument with the hero, including on wide screens. */
#h-app .si-opening{width:100%;margin-left:calc(-1 * max(0px,(100vw / var(--zoom,1) - 1640px) / 2))}

/* Sentinel sketches centered in the unused margin beside each story. */
.si-story{position:relative}
.si-doodle{display:none;position:absolute;left:calc((100% + 100cqw) / 2);top:50%;width:clamp(150px,calc(13vw * var(--vk)),200px);height:auto;transform:translate(-50%,-50%);fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:var(--ink);opacity:.56;pointer-events:none;user-select:none}
@media (width > 1100px){
 .si-opening,#phases.si-sec,#how.si-sec{container-type:inline-size}
 .si-doodle{display:block}
}
.si-doodle-moments{rotate:-3deg}
.si-doodle-connections{rotate:2deg}
.si-doodle-thought{rotate:-2deg}
