/* tessarosystems.com, one stylesheet for the home page, /dejavault/, /security and /demo.
   Source: src/site.css. tools/stamp.py copies it to public/css/site-<hash>.css and points every page at the copy.
   Onest for headings (the ringn site's face), Inter for text (DejaVault's own face), so the site and the product read
   as one thing. White pages under the owner's blue to purple gradient band; product screens and clips are the visuals.
   The header mark's animation is the site's one CSS animation; the clips are video, played by src/clips.js.

   The type and spacing system (design v2, 2026-11-30). Six type roles, each a different size AND a different color or
   face, so no two read as the same thing:
     display   the home h1                 Onest 600, 44 to 84px, white on the band
     title     an inner page h1            Onest 600, 36 to 60px
     heading   a section h2                Onest 600, 30 to 52px, ink
     sub       an h3 inside a section      Onest 600, 21 to 26px, ink
     lead      the first paragraph         Inter 400, 19 to 21px, ink
     body      every other paragraph       Inter 400, 17px, slate
     small     captions, notes, labels     Inter 400, 13.5px, gray
   Spacing comes from one scale (--s1 to --s9); a section is --section apart from the next. */

@font-face{font-family:Onest;src:url(/fonts/onest-51ce5687.woff2) format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url(/fonts/inter-3100e775.woff2) format('woff2');font-weight:100 900;font-style:normal;font-display:swap}

:root{
  --ink:#0b1f33; --text:#333f4e; --muted:#556171; --faint:#6a7583; --rule:#e3e7ed; --tint:#f5f7fa;
  --fs-display:clamp(44px,6.2vw,84px); --fs-title:clamp(36px,4.7vw,60px); --fs-h2:clamp(30px,3.9vw,52px);
  --fs-h3:clamp(21px,1.9vw,26px); --fs-lead:clamp(19px,1.5vw,21px); --fs-body:17px; --fs-small:13.5px;
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:72px; --s9:96px;
  --section:clamp(88px,11vw,160px);
  --blue:#0047bb; --sky:#a9d0ff; --deep:#0b1d45;
  --head:Onest,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --body:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --max:1200px; --gut:clamp(20px,4vw,40px);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--text);font:400 var(--fs-body)/1.62 var(--body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip}
img,video,svg{display:block;max-width:100%}
a{color:var(--blue);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--ink)}
p{margin:0;text-wrap:pretty}
h1,h2,h3{margin:0;color:var(--ink);font-family:var(--head);font-weight:600;text-wrap:balance}
h2{font-size:var(--fs-h2);line-height:1.06;letter-spacing:-.032em;max-width:15em}
h3{font-size:var(--fs-h3);line-height:1.2;letter-spacing:-.018em}
.lede{font-size:var(--fs-lead);line-height:1.5;letter-spacing:-.011em;color:var(--ink)}
.small{font-size:var(--fs-small);line-height:1.45;color:var(--faint)}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
.wrap{max-width:calc(var(--max) + 2 * var(--gut));margin:0 auto;padding:0 var(--gut)}
.skip{position:absolute;left:-9999px;top:8px;z-index:30;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px}
.skip:focus{left:8px}

/* buttons and links */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;background:var(--ink);color:#fff;font:600 16px/1.2 var(--body);text-decoration:none;white-space:nowrap;border:0;cursor:pointer}
.btn:hover{background:#1d3753;color:#fff}
.btn-small{min-height:40px;padding:0 18px;font-size:15px}
.go{font-weight:600;text-decoration:none;color:var(--blue);white-space:nowrap}
.go::after{content:"\00a0\2192";font-family:var(--head)}
.go:hover{color:var(--ink)}

/* header: plain white, scrolls away with the page */
.site-head{background:#fff;border-bottom:1px solid var(--rule)}
.head-row{display:flex;align-items:center;gap:32px;height:72px}
.wordmark{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);margin-right:auto;white-space:nowrap}
.wordmark .mark{height:25px;width:25px;flex:none;margin-top:-2px;overflow:visible}
.wordmark .name{display:inline-flex;align-items:baseline;gap:6px;line-height:1;font-family:var(--head);font-size:21px;letter-spacing:-.012em}
.wordmark b{font-weight:650}
.wordmark .name span{font-weight:400;color:var(--muted)}
.wordmark:hover{color:var(--ink)}
.nav{display:flex;gap:28px}
.nav a{font-size:15px;font-weight:500;text-decoration:none;color:var(--muted)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--ink)}
.site-head .short{display:none}
@media (max-width:720px){.head-row{flex-wrap:wrap;height:auto;min-height:64px;padding-top:12px;row-gap:0}.nav{order:3;flex-basis:100%;gap:24px;overflow-x:auto;white-space:nowrap;padding:12px 0 13px;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}}
@media (max-width:420px){.site-head .long{display:none}.site-head .short{display:inline}.head-row{gap:16px}}

/* the mark's one animation */
/* generated by tools/keyframes.py together */
.mark path,.mark ellipse{transform-box:fill-box;transform-origin:center}
@media (prefers-reduced-motion:no-preference){
  .mark.play>*{animation:2.2s linear .5s both}
  .mark.play .m-c{animation-name:m-c}.mark.play .m-r{animation-name:m-r}.mark.play .m-s{animation-name:m-s}.mark.play .m-d{animation-name:m-d}
}
@keyframes m-c{0%{transform:translate(14.00px,0)}4.167%{transform:translate(13.95px,0)}8.333%{transform:translate(13.78px,0)}12.5%{transform:translate(13.45px,0)}16.67%{transform:translate(12.90px,0)}20.83%{transform:translate(12.06px,0)}25%{transform:translate(10.85px,0)}29.17%{transform:translate(9.30px,0)}33.33%{transform:translate(7.63px,0)}37.5%{transform:translate(6.12px,0)}41.67%{transform:translate(4.88px,0)}45.83%{transform:translate(3.87px,0)}50%{transform:translate(3.05px,0)}54.17%{transform:translate(2.40px,0)}58.33%{transform:translate(1.86px,0)}62.5%{transform:translate(1.42px,0)}66.67%{transform:translate(1.07px,0)}70.83%{transform:translate(0.78px,0)}75%{transform:translate(0.54px,0)}79.17%{transform:translate(0.36px,0)}83.33%{transform:translate(0.22px,0)}87.5%{transform:translate(0.12px,0)}91.67%{transform:translate(0.05px,0)}95.83%{transform:translate(0.01px,0)}100%{transform:none}}
@keyframes m-r{0%{transform:translate(6.50px,0) scale(1.350,0.860)}4.167%{transform:translate(6.48px,0) scale(1.349,0.861)}8.333%{transform:translate(6.40px,0) scale(1.344,0.862)}12.5%{transform:translate(6.24px,0) scale(1.336,0.865)}16.67%{transform:translate(5.99px,0) scale(1.323,0.871)}20.83%{transform:translate(5.60px,0) scale(1.302,0.879)}25%{transform:translate(5.04px,0) scale(1.271,0.891)}29.17%{transform:translate(4.32px,0) scale(1.232,0.907)}33.33%{transform:translate(3.54px,0) scale(1.191,0.924)}37.5%{transform:translate(2.84px,0) scale(1.153,0.939)}41.67%{transform:translate(2.26px,0) scale(1.122,0.951)}45.83%{transform:translate(1.80px,0) scale(1.097,0.961)}50%{transform:translate(1.42px,0) scale(1.076,0.969)}54.17%{transform:translate(1.11px,0) scale(1.060,0.976)}58.33%{transform:translate(0.86px,0) scale(1.046,0.981)}62.5%{transform:translate(0.66px,0) scale(1.036,0.986)}66.67%{transform:translate(0.49px,0) scale(1.027,0.989)}70.83%{transform:translate(0.36px,0) scale(1.019,0.992)}75%{transform:translate(0.25px,0) scale(1.014,0.995)}79.17%{transform:translate(0.17px,0) scale(1.009,0.996)}83.33%{transform:translate(0.10px,0) scale(1.006,0.998)}87.5%{transform:translate(0.06px,0) scale(1.003,0.999)}91.67%{transform:translate(0.02px,0) scale(1.001,0.999)}95.83%{transform:translate(0.01px,0) scale(1.000,1.000)}100%{transform:none}}
@keyframes m-s{0%{transform:translate(-26.00px,0) scale(1.450,0.860)}4.167%{transform:translate(-25.91px,0) scale(1.448,0.861)}8.333%{transform:translate(-25.59px,0) scale(1.443,0.862)}12.5%{transform:translate(-24.98px,0) scale(1.432,0.865)}16.67%{transform:translate(-23.96px,0) scale(1.415,0.871)}20.83%{transform:translate(-22.40px,0) scale(1.388,0.879)}25%{transform:translate(-20.15px,0) scale(1.349,0.891)}29.17%{transform:translate(-17.27px,0) scale(1.299,0.907)}33.33%{transform:translate(-14.17px,0) scale(1.245,0.924)}37.5%{transform:translate(-11.37px,0) scale(1.197,0.939)}41.67%{transform:translate(-9.05px,0) scale(1.157,0.951)}45.83%{transform:translate(-7.18px,0) scale(1.124,0.961)}50%{transform:translate(-5.67px,0) scale(1.098,0.969)}54.17%{transform:translate(-4.45px,0) scale(1.077,0.976)}58.33%{transform:translate(-3.45px,0) scale(1.060,0.981)}62.5%{transform:translate(-2.64px,0) scale(1.046,0.986)}66.67%{transform:translate(-1.98px,0) scale(1.034,0.989)}70.83%{transform:translate(-1.44px,0) scale(1.025,0.992)}75%{transform:translate(-1.01px,0) scale(1.018,0.995)}79.17%{transform:translate(-0.67px,0) scale(1.012,0.996)}83.33%{transform:translate(-0.41px,0) scale(1.007,0.998)}87.5%{transform:translate(-0.22px,0) scale(1.004,0.999)}91.67%{transform:translate(-0.10px,0) scale(1.002,0.999)}95.83%{transform:translate(-0.02px,0) scale(1.000,1.000)}100%{transform:none}}
@keyframes m-d{0%{transform:translate(-109.00px,0) scale(11.600,3.362)}4.167%{transform:translate(-108.34px,0) scale(11.535,3.362)}8.333%{transform:translate(-106.12px,0) scale(11.317,3.359)}12.5%{transform:translate(-101.87px,0) scale(10.898,3.349)}16.67%{transform:translate(-94.97px,0) scale(10.220,3.322)}20.83%{transform:translate(-84.74px,0) scale(9.215,3.262)}25%{transform:translate(-70.87px,0) scale(7.854,3.145)}29.17%{transform:translate(-54.60px,0) scale(6.260,2.950)}33.33%{transform:translate(-39.14px,0) scale(4.750,2.692)}37.5%{transform:translate(-27.02px,0) scale(3.571,2.421)}41.67%{transform:translate(-18.41px,0) scale(2.737,2.171)}45.83%{transform:translate(-12.48px,0) scale(2.165,1.954)}50%{transform:translate(-8.41px,0) scale(1.775,1.769)}54.17%{transform:translate(-5.60px,0) scale(1.509,1.613)}58.33%{transform:translate(-3.67px,0) scale(1.328,1.482)}62.5%{transform:translate(-2.35px,0) scale(1.205,1.372)}66.67%{transform:translate(-1.46px,0) scale(1.123,1.281)}70.83%{transform:translate(-0.87px,0) scale(1.070,1.206)}75%{transform:translate(-0.49px,0) scale(1.037,1.145)}79.17%{transform:translate(-0.25px,0) scale(1.018,1.097)}83.33%{transform:translate(-0.12px,0) scale(1.007,1.060)}87.5%{transform:translate(-0.05px,0) scale(1.002,1.032)}91.67%{transform:translate(-0.01px,0) scale(1.000,1.014)}95.83%{transform:translate(-0.00px,0) scale(1.000,1.003)}100%{transform:none}}
/* /generated */

/* the gradient band (the owner's image) at the top of every page with a hero */
.band{background:var(--deep) url(/img/hero-gradient-469e25da.webp) center/cover no-repeat;color:#fff}
.band :focus-visible{outline-color:#fff}
.hero{padding-top:76px;padding-bottom:96px}
.hero.overlap{padding-bottom:clamp(150px,19vw,250px)}
.company{font-size:15px;line-height:1.5;color:rgba(255,255,255,.95);max-width:46em;margin-bottom:44px}
.lockup{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-family:var(--head);color:#fff;margin-bottom:8px}
.lockup .dv{font-size:44px;font-weight:650;letter-spacing:-.03em;line-height:1}
.lockup em{font-style:normal;color:var(--sky)}
.lockup .by{font-size:19px;font-weight:400;color:rgba(255,255,255,.74)}
.tagline{font-size:21px;line-height:1.35;color:rgba(255,255,255,.9);margin-bottom:40px}
.hero h1{color:#fff;font-size:var(--fs-display);line-height:1;letter-spacing:-.042em;max-width:12.5em}
.hero h1.long{font-size:var(--fs-title);line-height:1.04;letter-spacing:-.036em;max-width:16em}
.hero .lede{font-size:var(--fs-lead);line-height:1.5;letter-spacing:-.011em;color:rgba(255,255,255,.92);max-width:34em;margin-top:var(--s5)}
.hero .actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 30px;margin-top:var(--s6)}
.hero .btn{background:#fff;color:var(--ink)}
.hero .btn:hover{background:#e6edf7;color:var(--ink)}
.hero .go{color:#fff}
.hero .go:hover{color:#cfe3ff}
.hero .status{font-size:var(--fs-small);line-height:1.45;color:rgba(255,255,255,.72);margin-top:var(--s5);max-width:44em}
.hero-clip{margin-top:calc(-1 * clamp(110px,15vw,200px))}
@media (max-width:640px){
  .hero{padding-top:52px;padding-bottom:64px}
  .company{margin-bottom:32px}
  .lockup .dv{font-size:38px}
  .lockup .by{font-size:16px}
  .tagline{font-size:18px;margin-bottom:28px}
}

/* product clips and screens: one framed unit with a 1px border and a faint shadow, never a floating card. The
   caption is a slim bar that closes the frame, one short line in the small role, so it can only belong to its
   picture. On a clip the bar starts with Play (src/clips.js puts the button there), like a player's own control. */
.clip,.shot{margin:0;border-radius:12px;box-shadow:0 1px 2px rgba(11,31,51,.05),0 12px 32px -22px rgba(11,31,51,.25)}
.clip.narrow{max-width:760px}
.clip.mid{max-width:960px}
.frame{position:relative;border:1px solid #d9dfe7;border-radius:12px;overflow:hidden;background:#fff}
.frame:has(+figcaption){border-radius:12px 12px 0 0}
.frame video,.frame img{width:100%;height:auto;background:#fff}
.frame video{object-fit:cover}
.frame picture{display:block}
.frame video.phone{aspect-ratio:4/5}
.clip figcaption,.shot figcaption{display:flex;align-items:center;gap:6px 14px;min-height:50px;padding:9px 16px;border:1px solid #d9dfe7;border-top:0;border-radius:0 0 12px 12px;background:#f8fafc;font-size:var(--fs-small);line-height:1.45;color:var(--muted)}
.term figcaption{margin-top:var(--s3);font-size:var(--fs-small);line-height:1.45;color:var(--faint)}
.clip-video{cursor:pointer}
.clip-play{flex:none;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px 0 12px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:600 13px/1 var(--body);cursor:pointer}
.clip-play:hover{background:#1d3753}
.clip-play svg{width:10px;height:12px;flex:none;fill:currentColor}
.clip-play .len{font-weight:500;color:rgba(255,255,255,.68);font-variant-numeric:tabular-nums}
.frame>.clip-play{position:absolute;left:14px;bottom:14px;box-shadow:0 0 0 1px rgba(255,255,255,.55)}
@media (max-width:640px){.clip figcaption,.shot figcaption{padding:9px 12px}.clip figcaption:has(.clip-play){flex-wrap:wrap}}

/* chapters: a heading and its words, then the product doing it */
.chapter{padding-top:var(--section)}
.chapter-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--s5) var(--s8);align-items:start;margin-bottom:var(--s7)}
.chapter-head>div{padding-top:6px}
.chapter-head>div>p:first-child{font-size:var(--fs-lead);line-height:1.5;letter-spacing:-.011em;color:var(--ink)}
.chapter-head p+p{margin-top:var(--s4)}
.chapter-head .go{display:inline-block;margin-top:var(--s5)}
.split{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:40px 64px;align-items:start}
.split .copy p+p{margin-top:14px}
.split .copy h2{font-size:clamp(32px,3.6vw,46px);margin-bottom:24px}
.split .copy .go{display:inline-block;margin-top:20px}
@media (max-width:900px){
  .chapter-head,.split{grid-template-columns:minmax(0,1fr)}
  .chapter-head{margin-bottom:36px}
}

.notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 72px;margin:56px 0 0;padding:0;list-style:none}
.notes li{padding-top:18px;border-top:1px solid var(--rule)}
.notes.plain{gap:14px 72px}
.notes.plain li{border-top:0;padding-top:0}
@media (max-width:760px){.notes{grid-template-columns:minmax(0,1fr);gap:18px}}

.statement{font-family:var(--head);font-size:clamp(24px,2.7vw,34px);line-height:1.3;letter-spacing:-.02em;color:var(--ink);max-width:30em}
.statement+p{margin-top:24px;max-width:44em}

.steps{margin:44px 0 0;padding:0 0 0 1.4em;max-width:46em}
.steps li{padding-left:.4em}
.steps li+li{margin-top:12px}
.steps li::marker{font-family:var(--head);font-weight:600;color:var(--ink)}

.sub{margin-top:var(--s9);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--s5) var(--s8);align-items:start}
.sub h3{font-size:24px}
.sub .lead{margin-top:var(--s3)}
/* a part of a chapter on the product page: a rule, its sub heading on the left, its content on the right */
.part{margin-top:var(--s9);padding-top:var(--s6);border-top:1px solid var(--rule);display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:var(--s5) var(--s8);align-items:start}
.part h3+p{margin-top:var(--s3)}
.part p+p{margin-top:var(--s4)}
.part>div>p,.part>div>ol,.part>div>dl{max-width:41em}
.part .steps{margin-top:0}
.part .go{display:inline-block;margin-top:var(--s4)}
.shot.below{margin-top:var(--s7)}
.part .notes{margin-top:-12px;gap:0 var(--s7)}
.part .notes li{padding:14px 0;border-top:0;border-bottom:1px solid var(--rule)}
@media (max-width:900px){.part{grid-template-columns:minmax(0,1fr);margin-top:64px}}
@media (max-width:900px){.sub{grid-template-columns:minmax(0,1fr);margin-top:64px}}
.held{margin:0}
.held div{padding:16px 0;border-top:1px solid var(--rule)}
.held div:last-child{border-bottom:1px solid var(--rule)}
.held div:first-child{border-top:0;padding-top:0}
.held dt{font-weight:600;color:var(--ink)}
.held dd{margin:4px 0 0}

.pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px 48px;margin-top:56px;align-items:start}
@media (max-width:900px){.pair{grid-template-columns:minmax(0,1fr)}}

/* in page links under the /dejavault/ hero */
.jump{position:sticky;top:0;z-index:6;background:#fff;border-bottom:1px solid var(--rule)}
.chapter[id],.reading [id]{scroll-margin-top:72px}
.jump ul{display:flex;gap:0 28px;list-style:none;margin:0 auto;padding-top:0;padding-bottom:0;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.jump ul::-webkit-scrollbar{display:none}
.jump a{display:block;padding:17px 0 15px;border-bottom:2px solid transparent}
.jump a[aria-current]{color:var(--ink);border-bottom-color:var(--ink)}
.jump a{font-size:14.5px;font-weight:500;color:var(--muted);text-decoration:none}
.jump a:hover{color:var(--ink)}

/* use cases: short stories in two columns of prose */
.stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 72px;margin-top:8px}
.story h3{margin-bottom:12px}
.story p+p{margin-top:12px}
.story.wide{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px 72px}
@media (max-width:900px){.stories,.story.wide{grid-template-columns:minmax(0,1fr)}}

/* questions: every answer visible */
.qa{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 72px;border-top:1px solid var(--rule)}
.qa div{padding:24px 0 26px;border-bottom:1px solid var(--rule)}
.qa h3{font-size:19px;line-height:1.3;letter-spacing:-.01em}
.qa p{margin-top:8px;font-size:16px}
@media (max-width:900px){.qa{grid-template-columns:minmax(0,1fr)}}

.closing{margin-top:var(--section);padding:var(--s9) 0 calc(var(--s9) + 8px);border-top:1px solid var(--rule)}
.closing .chapter-head{margin-bottom:0}
.closing .chapter-head .btn{margin-top:var(--s6)}
.closing .lede{margin-top:var(--s5);max-width:33em}
.closing-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s4) var(--s6);margin-top:var(--s6)}
.closing-row .small{max-width:30em}
.ledger .lede{margin-top:var(--s5)}

/* plain reading pages (security, demo) */
.page-hero{padding-top:64px;padding-bottom:60px}
.page-hero h1{color:#fff;font-size:clamp(38px,5vw,60px);line-height:1.04;letter-spacing:-.036em}
.page-hero p{color:rgba(255,255,255,.95);margin-top:16px;max-width:40em;font-size:18px}
.reading{max-width:46em;padding-top:64px;padding-bottom:120px}
.reading h2{font-size:clamp(24px,2.4vw,30px);letter-spacing:-.022em;line-height:1.2;margin:48px 0 10px;max-width:none}
.reading h2:first-child{margin-top:0}
.reading p{margin:0 0 14px}
.reading .updated{color:var(--faint);font-size:var(--fs-small);margin-bottom:32px}

/* the demo form */
.form{max-width:560px;margin-top:8px}
.field{margin:0 0 20px}
.field label{display:block;font-weight:600;color:var(--ink);font-size:15.5px;margin-bottom:6px}
.field label small{font-weight:400;color:var(--muted);font-size:inherit}
.field input,.field textarea{display:block;width:100%;font:inherit;font-size:16.5px;color:var(--text);background:#fff;border:1px solid #c5ced9;border-radius:8px;padding:11px 13px}
.field input:focus,.field textarea:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}
.field textarea{min-height:120px;resize:vertical}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.cf-turnstile{margin:4px 0 20px}
.btn[disabled]{opacity:.6;cursor:default}
.note{font-size:15px;color:var(--muted);margin-top:20px;max-width:560px}
.error{border-left:3px solid #b42318;padding:4px 0 4px 14px;color:var(--ink);margin:0 0 22px;max-width:560px}

/* footer: the gradient band again, so the page is held between the two */
.site-foot{background:var(--deep) url(/img/hero-gradient-469e25da.webp) center/cover no-repeat;color:rgba(255,255,255,.74);padding:72px 0 64px;font-size:15px}
.site-foot :focus-visible{outline-color:#fff}
.site-foot .wordmark,.site-foot .wordmark:hover{color:#fff}
.site-foot .wordmark .name span{color:rgba(255,255,255,.74)}
.site-foot .m-s{stroke:#10275a}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(4,minmax(0,1fr));gap:36px 28px}
.foot-grid .foot-mail{margin-top:16px;line-height:1.6}
.foot-grid p{margin-top:16px;max-width:24em;color:rgba(255,255,255,.74)}
.foot-grid address{margin-top:18px;font-style:normal;line-height:1.6;color:rgba(255,255,255,.8)}
.foot-grid h2{font-family:var(--body);font-size:14px;font-weight:600;letter-spacing:0;color:#fff;margin:0 0 12px}
.foot-grid ul{list-style:none;margin:0;padding:0}
.foot-grid li+li{margin-top:7px}
.foot-grid a{color:rgba(255,255,255,.8);text-decoration:none}
.foot-grid a:hover{color:#fff;text-decoration:underline}
.legal{margin-top:56px;padding-top:24px;border-top:1px solid rgba(255,255,255,.16);font-size:13.5px;color:rgba(255,255,255,.9);max-width:none}
/* Footer columns: company block, DejaVault, Meraki guides, Company, Legal. Below 1280px the company block takes the top
   row with the four link columns under it, below 1000px the links go two by two, and on phones DejaVault sits beside
   Company while the guides and the legal links take the full width, so no link ever wraps. */
@media (max-width:1280px){.foot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.foot-brand{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 56px}.foot-brand .wordmark{flex-basis:100%}.foot-brand address,.foot-grid .foot-mail{margin-top:14px}}
@media (max-width:1000px){.foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.foot-grid>div:nth-child(4){order:1}.foot-grid>div:nth-child(3){order:2;grid-column:1/-1}.foot-grid>div:nth-child(5){order:3;grid-column:1/-1}}

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.after{margin-top:24px;color:var(--muted);max-width:46em}
#demo .updated{font-size:17px;color:var(--text);margin-bottom:28px}


/* variations on the chapter: copy stacked above a full width clip, a full bleed clip, and one prose column */
.stack-head{margin-bottom:var(--s7)}
.stack-head h2{max-width:18em}
.stack-head .cols{margin-top:var(--s5);max-width:41em}
.stack-head .cols>p:first-child{font-size:var(--fs-lead);line-height:1.5;letter-spacing:-.011em;color:var(--ink)}
.stack-head .cols p+p{margin-top:var(--s4)}
.stack-head .go{display:inline-block;margin-top:var(--s5)}
@media (max-width:760px){.stack-head{margin-bottom:36px}}
.bleed .clip.full{background:var(--tint);padding:48px 0 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.bleed .clip.full .frame{max-width:1520px;margin:0 auto;border-radius:0;border-width:1px 0 0;box-shadow:none}
.bleed .clip.full figcaption{display:flex;margin:0 auto;padding-top:16px;padding-bottom:20px}
@media (min-width:1560px){.bleed .clip.full .frame{border-width:1px;border-bottom:0;border-radius:12px 12px 0 0}}
@media (max-width:640px){.bleed .clip.full{padding-top:24px}}
.prose{max-width:46em;margin-top:52px}
.prose p+p{margin-top:14px}

/* guides (/dejavault/meraki-backup and the pages beside it): Cisco quotes, the method table, the coverage table and
   its filters, the three states of a deleted network, and Vimeo videos that load only when clicked */
.hero .lede.answer{max-width:38em}
.quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 56px;margin-top:8px}
.quotes.one{grid-template-columns:minmax(0,1fr);max-width:46em}
@media (max-width:900px){.quotes{grid-template-columns:minmax(0,1fr)}}
.quote{margin:0;padding:4px 0 4px 22px;border-left:2px solid #c9a052}
.quote blockquote{margin:0;font-family:var(--head);font-size:clamp(19px,1.7vw,22px);line-height:1.4;letter-spacing:-.01em;color:var(--ink)}
.quote figcaption{margin-top:10px;font-size:var(--fs-small);line-height:1.45;color:var(--faint)}
.quote figcaption a{color:var(--muted)}
.quote figcaption a:hover{color:var(--ink)}
.table-note{margin-top:18px;font-size:var(--fs-small);line-height:1.5;color:var(--faint);max-width:60em}
.table-note a{color:var(--muted)}

.compare{width:100%;border-collapse:collapse;font-size:15.5px;line-height:1.5}
.compare th,.compare td{text-align:left;vertical-align:top;padding:16px 20px 16px 0;border-bottom:1px solid var(--rule)}
.compare thead th{font:600 15px/1.3 var(--body);color:var(--ink);border-bottom:1px solid var(--ink);padding-top:0}
.compare tbody th{font-weight:600;color:var(--ink);width:17%}
.compare td{width:27.6%}
.compare td:last-child,.compare th:last-child{padding-right:0}
@media (max-width:860px){
  .compare thead{display:none}
  .compare,.compare tbody,.compare tr,.compare th,.compare td{display:block;width:auto}
  .compare tr{padding:18px 0 8px;border-bottom:1px solid var(--rule)}
  .compare tbody th{border:0;padding:0 0 6px;font-family:var(--head);font-size:19px;width:auto}
  .compare td{border:0;padding:6px 0;width:auto}
  .compare td::before{content:attr(data-label);display:block;font-weight:600;color:var(--ink);font-size:14.5px}
}

.counts{border-collapse:collapse;width:100%;font-size:16px}
.counts th,.counts td{text-align:left;padding:11px 0;border-bottom:1px solid var(--rule)}
.counts td{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;width:9em}
.counts thead th{font:600 14.5px/1.3 var(--body);color:var(--ink);border-bottom:1px solid var(--ink);padding-top:0}
.counts thead th+th{text-align:right;padding-left:24px}
.counts tbody th{font-weight:500}
.counts tbody th a{color:var(--ink);text-decoration:none}
.counts tbody th a:hover{color:var(--blue);text-decoration:underline}
.counts tfoot th,.counts tfoot td{font-weight:600;color:var(--ink);border-bottom:0}
@media (max-width:520px){.counts td{width:5.5em}.counts thead th{font-size:13.5px}}

.cov-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 20px;margin:0 0 28px;padding:20px 22px;background:var(--tint);border:1px solid var(--rule);border-radius:12px}
.cov-tools label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--ink)}
.cov-tools select,.cov-tools input{font:inherit;font-weight:400;font-size:15.5px;color:var(--text);background:#fff;border:1px solid #c5ced9;border-radius:8px;padding:9px 12px;min-height:42px}
.cov-tools .grow{flex:1 1 220px}
.cov-tools input{width:100%}
.cov-tools p{flex:1 0 100%;font-size:14.5px;color:var(--muted)}
.cov{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45}
.cov thead th{position:sticky;top:0;z-index:1;background:#fff;text-align:left;font:600 14px/1.3 var(--body);color:var(--ink);padding:12px 16px 12px 0;border-bottom:1px solid var(--ink)}
.cov th,.cov td{text-align:left;vertical-align:top;padding:11px 16px 11px 0;border-bottom:1px solid var(--rule)}
.cov tbody th{font-weight:500;color:var(--ink);width:34%}
.cov td{color:var(--muted)}
.cov td:last-child{padding-right:0;white-space:nowrap}
.cov code{font:13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#3a4656;overflow-wrap:anywhere}
.cov tr.cov-group th{padding:34px 0 10px;border-bottom:1px solid var(--rule);font-family:var(--head);font-size:21px;font-weight:600;letter-spacing:-.012em}
.cov tbody:first-of-type tr.cov-group th{padding-top:18px}
.cov tr.cov-group span{font:400 14.5px/1 var(--body);color:var(--faint);margin-left:10px;letter-spacing:0}
.tag{display:inline-block;margin-left:6px;padding:2px 8px;border:1px solid #cdd4dd;border-radius:999px;font-size:12.5px;font-weight:500;color:var(--muted);white-space:nowrap;vertical-align:1px}
.st{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:600}
.st-r{background:#e8f1ff;color:#0b3a8c}
.st-l{background:#eef3f8;color:#2c4a6b}
.st-x{background:#fbf1de;color:#7a4b06}
.cov-empty{margin-top:24px;color:var(--muted)}
@media (max-width:760px){
  .cov thead{display:none}
  .cov,.cov tbody,.cov tr,.cov th,.cov td{display:block;width:auto}
  .cov tr{padding:12px 0;border-bottom:1px solid var(--rule)}
  .cov tbody th,.cov td{border:0;padding:0;width:auto}
  .cov code{font-size:12px}
  .cov td{margin-top:4px}
  .cov td:nth-child(3){display:inline-block;margin-right:12px;font-size:14px}
  .cov td:last-child{display:inline-block}
  .cov tr.cov-group{padding:0;border:0}
  .cov tr.cov-group th{padding:30px 0 10px}
  .cov tr.cov-group span{display:block;margin:6px 0 0}
}

.list-ops{margin:20px 0 0;padding:0;list-style:none;columns:2;column-gap:56px}
.list-ops li{break-inside:avoid;padding:10px 0;border-top:1px solid var(--rule);color:var(--ink);font-weight:500}
.list-ops code{display:block;margin-top:2px;font:13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--muted);font-weight:400;overflow-wrap:anywhere}
@media (max-width:760px){.list-ops{columns:1}}

.states{margin:0}
.states-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--rule);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(11,31,51,.05),0 8px 28px -18px rgba(11,31,51,.2);font-size:15px;line-height:1.5;table-layout:fixed}
.states-table th,.states-table td{padding:16px 20px;border-top:1px solid var(--rule);text-align:left;vertical-align:top}
.states-table thead th{border-top:0;background:var(--tint);font:600 16px/1.3 var(--head);color:var(--ink);letter-spacing:-.005em}
.states-table thead th:first-child{width:22%}
.states-table thead small{display:block;margin-top:4px;font:400 13.5px/1.4 var(--body);color:var(--faint);letter-spacing:0}
.states-table tbody th{font-weight:600;color:var(--ink);background:#fbfcfd}
.states-table td{color:var(--muted);border-left:1px solid var(--rule);padding-left:39px;text-indent:-19px}
.states-table thead th+th{border-left:1px solid var(--rule)}
.states-table td::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 9px 1px 0;vertical-align:middle;box-sizing:border-box}
.states-table .on::before{background:#1f7a4d}
.states-table .off::before{background:#fff;border:2px solid #b42318}
.states-table .mid::before{background:#c9a052}
.states figcaption{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:14px;font-size:14px;color:var(--faint)}
.states figcaption i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:middle;box-sizing:border-box}
.states figcaption .on{background:#1f7a4d}.states figcaption .mid{background:#c9a052}
.states figcaption .off{border:2px solid #b42318}
@media (max-width:860px){
  .states-table,.states-table tbody,.states-table tr,.states-table th,.states-table td{display:block;width:auto}
  .states-table thead{display:none}
  .states-table tbody th{background:var(--tint);border-top:1px solid var(--rule)}
  .states-table tbody tr:first-child th{border-top:0}
  .states-table td{border-left:0;border-top:0;padding-top:8px;padding-bottom:8px}
  .states-table th+td{padding-top:14px}
  .states-table td::after{content:attr(data-when);display:block;font-size:13px;color:var(--faint);text-indent:0}
}

.vfacade{position:relative;display:block;width:100%;padding:0;border:0;margin:0;background:var(--deep);cursor:pointer;aspect-ratio:16/9;overflow:hidden;color:#fff;text-decoration:none}
.vfacade img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.vfacade:hover img{transform:scale(1.012)}
.vfacade .play{position:absolute;left:auto;right:8%;top:50%;width:84px;height:84px;margin:-42px 0 0;border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 10px 30px -10px rgba(0,0,0,.5);transition:transform .2s ease}
.vfacade .play::after{content:"";position:absolute;left:34px;top:27px;border-style:solid;border-width:15px 0 15px 24px;border-color:transparent transparent transparent var(--ink)}
.vfacade:hover .play{transform:scale(1.06)}
.vfacade .len{position:absolute;right:16px;bottom:14px;padding:4px 10px;border-radius:999px;background:rgba(11,29,69,.82);font:600 13px/1.2 var(--body);color:#fff}
.vframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}
@media (max-width:640px){.vfacade .play{width:56px;height:56px;margin:-28px 0 0;top:24%;right:6%}.vfacade .play::after{left:22px;top:17px;border-width:11px 0 11px 17px}}

.transcript{margin-top:18px;max-width:52em}
.transcript summary{cursor:pointer;font-weight:600;color:var(--blue);font-size:15.5px;list-style:none}
.transcript summary::-webkit-details-marker{display:none}
.transcript summary::after{content:"\00a0\2193";font-family:var(--head)}
.transcript[open] summary::after{content:"\00a0\2191"}
.transcript summary:hover{color:var(--ink)}
.transcript div{margin-top:14px;padding-left:20px;border-left:1px solid var(--rule)}
.transcript p{font-size:15.5px}
.transcript p+p{margin-top:10px}

.related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 56px;border-top:1px solid var(--rule);margin-top:8px}
.related a{display:block;padding:22px 0 24px;border-bottom:1px solid var(--rule);text-decoration:none;color:var(--ink)}
.related a b{display:block;font:600 19px/1.3 var(--head);letter-spacing:-.01em}
.related a span{display:block;margin-top:6px;color:var(--text);font-size:15.5px}
.related a:hover b{color:var(--blue)}
@media (max-width:900px){.related{grid-template-columns:minmax(0,1fr)}}
.contact-line{margin-top:18px;color:var(--muted)}
.shot.strip .frame img{background:#f5f6f8}

/* the export tool page: commands with a Copy button, sample terminal output and files, and the install steps */
.cmd{position:relative;margin:14px 0 0;padding:14px 64px 14px 18px;background:#0e1a2b;color:#e6edf5;border-radius:10px;font:13.5px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-x:auto;white-space:pre}
.cmd code{font:inherit;color:inherit}
.cmd .copy{position:absolute;top:9px;right:9px;font:600 12.5px/1 var(--body);color:#0e1a2b;background:#fff;border:0;border-radius:999px;padding:6px 11px;cursor:pointer}
.cmd .copy:hover{background:#dfe8f3}
.hero-cmd{width:max-content;max-width:100%;padding-right:84px;margin-top:28px;background:rgba(5,12,30,.55);border:1px solid rgba(255,255,255,.18)}
.steps.howto{max-width:52em;margin-top:8px}
.steps.howto li+li{margin-top:26px}
.steps.howto h3{font-size:18px;letter-spacing:-.005em;color:var(--ink)}
.steps.howto p{margin-top:4px}
.steps.howto li::marker{font-size:18px}
.term{margin:56px 0 0}
.term pre{margin:0;padding:20px 22px;background:#0e1a2b;color:#e6edf5;border-radius:12px;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-x:auto;box-shadow:0 1px 2px rgba(11,31,51,.05),0 8px 28px -18px rgba(11,31,51,.3)}
.term .pr{color:#8fb4e8;user-select:none}
.term.light pre{background:var(--tint);color:#26364a;border:1px solid var(--rule);box-shadow:none}
.code-pair{margin-top:0}
.code-pair .term{margin:0}
@media (max-width:640px){
  .cmd{padding-top:42px}
  .term pre{font-size:11.5px;padding:16px}
}

/* batch 2: each product group of the coverage list links its guide; a product guide's own slice of the list */
.cov tr.cov-group .cov-guide{font:600 14px/1 var(--body);letter-spacing:0;margin-left:14px;text-decoration:none;white-space:nowrap}
.cov tr.cov-group .cov-guide::after{content:"\00a0\2192";font-family:var(--head)}
.cov-slice tbody:first-of-type tr.cov-group th{padding-top:8px}
@media (max-width:760px){.cov tr.cov-group .cov-guide{display:inline-block;margin:8px 0 0}}

/* home: each section has its own shape. The list of what the copy lets you do (title, one line, arrow), the ring under
   a two column heading, the backup ledger beside its statement, and two columns of prose. */
.index{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.index a{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr) 40px;gap:8px var(--s7);align-items:center;padding:30px 0 32px;border-bottom:1px solid var(--rule);text-decoration:none;color:var(--text)}
.index b{font:600 clamp(22px,2.3vw,30px)/1.16 var(--head);letter-spacing:-.024em;color:var(--ink)}
.index span{font-size:16px;line-height:1.5}
.index a::after{content:"\2192";justify-self:end;font:500 24px/1 var(--head);color:var(--blue)}
.index a:hover b{color:var(--blue)}
@media (max-width:900px){.index a{grid-template-columns:minmax(0,1fr) 28px;padding:24px 0 26px}.index span{grid-column:1;grid-row:2}.index a::after{grid-column:2;grid-row:1}}
.statement.big{text-wrap:balance;font-size:clamp(28px,3.4vw,44px);line-height:1.12;letter-spacing:-.03em;max-width:14em;font-weight:600}
.statement.big+p{margin-top:var(--s5)}
.ledger{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:var(--s7) var(--s9);align-items:start}
.ledger .copy p+p{margin-top:var(--s4)}
.ledger .copy .go{display:inline-block;margin-top:var(--s5)}
.ledger .counts{font-size:15px}
.ledger .counts th,.ledger .counts td{padding:9px 0}
.ledger .counts td{width:7em}
.ledger .counts thead th{font-size:var(--fs-small)}
.ledger .counts tfoot th,.ledger .counts tfoot td{border-top:1px solid var(--ink);padding-top:12px}
.ledger .counts tbody tr:last-child th,.ledger .counts tbody tr:last-child td{border-bottom:0}
@media (max-width:900px){.ledger{grid-template-columns:minmax(0,1fr)}}
.duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px var(--s9)}
.duo>div{border-top:1px solid var(--ink);padding-top:var(--s6)}
.duo h2{font-size:clamp(25px,2.5vw,32px);line-height:1.12;letter-spacing:-.026em;margin-bottom:var(--s4)}
.duo p+p{margin-top:var(--s4)}
.duo .go{display:inline-block;margin-top:var(--s5)}
@media (max-width:900px){.duo{grid-template-columns:minmax(0,1fr);gap:72px}}
.closing h2{font-size:clamp(34px,4.4vw,60px);letter-spacing:-.036em}

/* /dejavault/use-cases and the firewall migration page: each story is a heading beside its prose, with a rule above */
.cases .chapter{padding-top:0;margin-top:var(--s9)}
.cases .chapter:first-child{margin-top:var(--s9)}
.cases .chapter-head{border-top:1px solid var(--rule);padding-top:var(--s7);margin-bottom:0}
.cases .chapter:first-child .chapter-head{border-top:0;padding-top:0}
.cases h2{font-size:clamp(28px,3.1vw,40px);line-height:1.08;letter-spacing:-.03em;max-width:12em}
.cases .shot{margin-top:var(--s7)}
@media (max-width:900px){.cases .chapter{margin-top:64px}.cases .chapter-head{padding-top:40px}}

/* the ring: framed on the page grid. The still drops the app's own page title above the Topology card, so the
   picture is the ring; while the clip plays (.on, set by src/clips.js) the whole pane fits inside the same box, and
   the frame's background is the app's own, so nothing jumps. Phones play their own 4:5 crop and are left alone. */
@media (min-width:641px){
  .clip.ring .frame{aspect-ratio:2416/1510;background:#f3f5f7}
  .clip.ring .frame video{height:100%;object-fit:cover;object-position:50% 100%;background:#f3f5f7}
  .clip.ring .frame video.on{object-fit:contain}
}

/* home, the cards (src/cards.js): a native dialog over the page, its heading and Close held at the top, the words on the
   left and the 4:5 still or clip on the right; on phones one column that fills most of the screen and scrolls inside.
   It rises in and drops out in under a fifth of a second, and at once under reduced motion. */
dialog.card{width:min(960px,calc(100vw - 48px));max-width:none;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:16px;background:#fff;color:var(--text);overflow:auto;overscroll-behavior:contain;box-shadow:0 0 0 1px rgba(11,31,51,.08),0 32px 80px -32px rgba(11,31,51,.6),0 0 0 100vmax rgba(11,31,51,.58)}
dialog.card::backdrop{background:transparent}
.card-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:var(--s5);padding:var(--s6) var(--s6) var(--s4) var(--s7);background:#fff}
.card-head h2{font-size:clamp(24px,2.6vw,34px);line-height:1.1;letter-spacing:-.028em;max-width:16em;padding-top:6px}
.card-close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #cdd4dd;border-radius:50%;background:#fff;color:var(--ink);cursor:pointer}
.card-close:hover{border-color:var(--ink)}
.card-close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.card-body{display:grid;grid-template-columns:minmax(0,1fr) 392px;gap:var(--s7);align-items:start;padding:var(--s3) var(--s7) var(--s7)}
.card-copy p+p{margin-top:var(--s4)}
.card-copy .go{display:inline-block;margin-top:var(--s6)}
@media (max-width:820px){
  dialog.card{width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:14px}
  .card-head{padding:14px 14px 12px 20px;border-bottom:1px solid var(--rule)}
  .card-head h2{padding-top:8px}
  .card-body{grid-template-columns:minmax(0,1fr);gap:var(--s5);padding:20px}
  .card-copy .go{margin-top:var(--s5)}
}
/* The dim behind a card is the card's own shadow, so one fade shows or hides both and the page is never seen undimmed
   under a half visible card. */
@media (prefers-reduced-motion:no-preference){
  dialog.card[open]{animation:card-in .16s ease-out}
  dialog.card.closing{animation:card-out .12s ease-in forwards}
}
@keyframes card-in{from{opacity:0}to{opacity:1}}
@keyframes card-out{from{opacity:1}to{opacity:0}}

/* organization (2026-11-30): one line that says where a section leads next */
.chapter-next{margin-top:var(--s7)}
.go.down::after{content:"\00a0\2193"}

/* motion (src/motion.js). Sections that start below the screen rise in once; nothing here moves under reduced motion,
   because the script never adds these classes then. */
.rv{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
.rv.in{opacity:1;transform:none}
.index li.rv:nth-child(2){transition-delay:.06s}.index li.rv:nth-child(3){transition-delay:.12s}.index li.rv:nth-child(4){transition-delay:.18s}.index li.rv:nth-child(5){transition-delay:.24s}

/* the backup table's bars: what a backup reads, and inside it what a restore puts back */
.ledger .counts td{width:5.6em}
.ledger .counts thead th{white-space:nowrap}
.ledger .counts td.bar{width:34%;padding-left:22px}
.ledger .counts .bar>i{display:block;height:6px;border-radius:3px;background:#dce4ef;transform-origin:0 50%;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.ledger .counts .bar>i>i{display:block;height:100%;border-radius:3px;background:var(--blue)}
.ledger .counts.wait .bar>i{transform:scaleX(0)}
.ledger .counts tfoot td{font-variant-numeric:tabular-nums}
@media (max-width:520px){.ledger .counts td.bar{display:none}}

/* Time Drive on the home page: a drawing of the app's timeline with the demo's own data, stepped by its buttons, and
   by scrolling while the section holds still on wide screens (.pin, set by src/motion.js). */
.td{padding-top:var(--section)}
.td.pin{padding-top:0;margin-top:var(--s9);height:270vh}
.td.pin .td-pin{position:sticky;top:0;height:100vh;display:flex;align-items:center}
.td-grid{display:grid;grid-template-columns:minmax(0,9fr) minmax(0,15fr);gap:var(--s6) var(--s8);align-items:center;width:100%}
.td-copy h2{font-size:clamp(28px,3.3vw,44px)}
.td-copy .lede{margin-top:var(--s5)}
.td-steps{list-style:none;margin:var(--s6) 0 0;padding:0}
.td-steps li{padding:12px 0 12px 18px;border-left:2px solid var(--rule);cursor:pointer;color:var(--faint);transition:color .3s,border-color .3s}
.td-steps li.on{border-left-color:var(--ink);color:var(--text)}
.td-steps time{display:block;font:600 15px/1.3 var(--head);letter-spacing:-.005em;color:inherit}
.td-steps li.on time{color:var(--ink)}
.td-steps span{display:block;margin-top:3px;font-size:15.5px;line-height:1.5}
.td-copy .go{display:inline-block;margin-top:var(--s5)}
.td-panel{border:1px solid #d9dfe7;border-radius:14px;background:#f3f5f7;padding:16px;box-shadow:0 1px 2px rgba(11,31,51,.05),0 24px 60px -34px rgba(11,31,51,.4);font:13.5px/1.4 var(--body);color:#2c3745}
.td.js:not(.pin) .td-steps{display:none}
.td-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.td-title{margin-right:auto;font-size:14px;color:#55606e}
.td-title b{color:var(--ink);font-weight:600}
.td-bar button{font:500 13px/1 var(--body);color:#1e4fc2;background:#fff;border:1px solid #d3dae3;border-radius:8px;padding:8px 11px;cursor:pointer}
.td-bar button:hover{border-color:#1e4fc2}
.td-bar button[disabled]{color:#9aa4b1;cursor:default;border-color:#e3e7ed}
.td-asof{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #d3dae3;border-radius:8px;background:#fff;color:#55606e;transition:background .3s,border-color .3s}
.td-asof b{color:var(--ink);font-weight:600}
.td-asof b{display:inline-grid}
.td-asof i{grid-area:1/1;font-style:normal;visibility:hidden;white-space:nowrap}
.td-panel[data-step="0"] .td-asof i:nth-child(1),.td-panel[data-step="1"] .td-asof i:nth-child(2),.td-panel[data-step="2"] .td-asof i:nth-child(3){visibility:visible}
.td-panel:not([data-step="0"]) .td-asof{background:#f4ecda;border-color:#c9a052}
.td-line{margin-top:18px;padding:0 6px}
.td-track{position:relative;display:block;height:26px;border-bottom:2px solid #d3dae3}
.td-track i{position:absolute;bottom:0;width:2px;height:9px;background:#1e4fc2;border-radius:1px}
.td-track em{position:absolute;bottom:-2px;left:97.4%;width:2px;height:24px;background:var(--ink);transition:left .7s cubic-bezier(.3,.7,.2,1)}
.td-track em::before{content:"";position:absolute;top:-4px;left:-4px;width:10px;height:10px;border-radius:50%;background:var(--ink)}
.td-panel[data-step="1"] .td-track em{left:81.1%}
.td-panel[data-step="2"] .td-track em{left:5.2%}
.td-days{position:relative;display:block;height:16px;margin-top:6px;font-size:11.5px;color:#6a7583}
.td-days span{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
.td-days span:first-child{transform:none}
.td-days span:last-child{transform:translateX(-100%)}
.td-track u{position:absolute;bottom:0;width:1px;height:5px;background:#c3ccd7}
.td-moment{display:grid;margin-top:12px;border:1px solid #e3e7ed;border-radius:10px;background:#fafbfc}
.td-moment p{grid-area:1/1;display:flex;flex-wrap:wrap;gap:2px 12px;padding:10px 14px;opacity:0;transition:opacity .35s}
.td-moment b{color:var(--ink);font-weight:600}
.td-panel[data-step="0"] .td-moment p:nth-child(1),.td-panel[data-step="1"] .td-moment p:nth-child(2),.td-panel[data-step="2"] .td-moment p:nth-child(3){opacity:1}
/* The rule table keeps one frame at every step: each row is the same height, the labels that change share one cell,
   and the spare row at the foot gives its height to the rule that shows at the oldest step, so the card never moves. */
.td-panel{container:td/inline-size}
.td-card{margin-top:12px;border:1px solid #e3e7ed;border-radius:10px;background:#fff;padding:16px 18px 8px}
.td-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-height:32px;margin-bottom:6px}
.td-card-head b{font:600 15.5px/1.2 var(--body);color:var(--ink)}
.td-tags{display:inline-grid}
.td-tag{grid-area:1/1;font-size:12.5px;color:#6a7583;white-space:nowrap}
.td-tag.t2{color:#8a5a00;visibility:hidden}
.td-panel[data-step="2"] .td-tag.t0{visibility:hidden}
.td-panel[data-step="2"] .td-tag.t2{visibility:visible}
.td-restore{margin-left:auto;padding:7px 11px;border-radius:8px;background:#1e4fc2;color:#fff;font-weight:600;font-size:12.5px;opacity:0;transition:opacity .35s}
.td-panel:not([data-step="0"]) .td-restore{opacity:1}
.td-row{box-sizing:border-box;display:grid;grid-template-columns:18px 46px minmax(0,1fr) 110px 114px 40px;gap:0 10px;align-items:center;height:39px;border-bottom:1px solid #edf0f4}
.td-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-h{color:#6a7583;font-size:12px;border-bottom-color:#cfd6df;height:30px}
.td-dim{color:#7a8491;border-bottom:0}
.td-panel .mono{font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.td-row mark{margin-left:6px;padding:1px 7px;border:1px solid #c9a052;border-radius:999px;background:#fbf4e3;color:#8a5a00;font-size:11.5px}
.td-n{display:grid}
.td-n i{grid-area:1/1;font-style:normal}
.td-n i:nth-child(2),.td-panel[data-step="2"] .td-n i:nth-child(1){visibility:hidden}
.td-panel[data-step="2"] .td-n i:nth-child(2){visibility:visible}
.td-fold{overflow:hidden;transition:max-height .55s cubic-bezier(.3,.7,.2,1),opacity .4s}
.td-fold.gone{max-height:0;opacity:0}
.td-fold.gone .td-row{background:#f6efdf;margin:0 -18px;padding-left:18px;padding-right:18px}
.td-fold.spare{height:39px;max-height:39px}
.td-panel[data-step="2"] .td-fold.gone{max-height:39px;opacity:1}
.td-panel[data-step="2"] .td-fold.spare{max-height:0}
@container td (max-width:659px){
  .td-row{grid-template-columns:18px 46px minmax(0,1fr) 114px 40px}
  .td-row .c-x,.td-row mark{display:none}
}
@media (prefers-reduced-motion:reduce){.td-track em,.td-fold,.td-moment p,.td-restore,.td-asof,.td-steps li,.ledger .counts .bar>i{transition:none}}
@media (max-width:999px){.td-grid{grid-template-columns:minmax(0,1fr);align-items:start}}
@media (max-width:640px){
  .td-panel{padding:12px}
  .td-title{flex-basis:100%}
  .td-asof{margin-left:auto}
  .td-row{grid-template-columns:16px 44px minmax(0,1fr) 40px;gap:0 8px}
  .td-row .c-x,.td-row .c-y{display:none}
  .td-fold.gone .td-row{margin:0 -12px;padding-left:12px;padding-right:12px}
  .td-card{padding:12px 12px 6px}
}

/* home, the change feed and the alert email: the day's changes arrive in order, and the email follows the risky one */
.fd-stage{position:relative;padding-bottom:var(--s7)}
.fd-list{border:1px solid #d9dfe7;border-radius:14px;background:#f3f5f7;padding:16px;box-shadow:0 1px 2px rgba(11,31,51,.05),0 24px 60px -34px rgba(11,31,51,.4);font:13.5px/1.4 var(--body);color:#2c3745}
.fd-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:2px 4px 12px}
.fd-head b{font:600 15.5px/1.2 var(--body);color:var(--ink)}
.fd-head span{font-size:12.5px;color:#6a7583}
.fd-rows{list-style:none;margin:0;padding:0;border:1px solid #e3e7ed;border-radius:10px;background:#fff;overflow:hidden}
.fd-rows li{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:2px 14px;align-items:center;padding:11px 16px;border-bottom:1px solid #edf0f4;max-height:120px;overflow:hidden}
.fd-rows li:last-child{border-bottom:0}
.fd-rows time{grid-row:1/3;color:#55606e}
.fd-rows b{font-weight:600;color:var(--ink)}
.fd-rows b i{font-style:normal;margin-left:8px;padding:1px 8px;border-radius:999px;background:#e8f1ff;color:#0b3a8c;font-size:11.5px;font-weight:600}
.fd-rows span{grid-column:2;font-size:12.5px;color:#6a7583;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fd-rows em{grid-column:3;grid-row:1/3;font-style:normal;font-size:12.5px;color:#55606e;white-space:nowrap}
.fd-rows li.hot{background:#fdf7ea}
.fd-mail{position:absolute;right:-18px;bottom:0;width:min(400px,86%);border:1px solid #d9dfe7;border-radius:14px;background:#fff;padding:16px 18px 18px;box-shadow:0 1px 2px rgba(11,31,51,.06),0 28px 60px -28px rgba(11,31,51,.5);font:13.5px/1.45 var(--body);color:#2c3745}
.fd-mail-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12.5px;color:#6a7583}
.fd-mail-top b{color:var(--ink);font-weight:600}
.fd-mail h3{margin-top:8px;font:600 15.5px/1.35 var(--body);letter-spacing:0;color:var(--ink)}
.fd-mail h3 i{font-style:normal;margin-left:6px;padding:1px 8px;border-radius:6px;background:#fde8e8;color:#a61b1b;font-size:12px;font-weight:600;white-space:nowrap}
.fd-mail p{margin-top:6px;color:#55606e}
/* Before its rows arrive the card holds only the rows already there, so it is never an empty box; the stage keeps
   the full height (set by src/motion.js), so nothing below moves while the card grows. */
.fd-stage.wait .fd-rows li{max-height:0;padding-top:0;padding-bottom:0;border-bottom-width:0;opacity:0}
.fd-stage.wait .fd-mail{opacity:0;transform:translateY(18px)}
.fd-rows li,.fd-mail{transition:opacity .45s ease,transform .5s cubic-bezier(.2,.7,.2,1),background-color .5s,max-height .5s cubic-bezier(.2,.7,.2,1),padding .5s cubic-bezier(.2,.7,.2,1)}
.fd-stage.wait .fd-rows li.in{max-height:120px;padding-top:11px;padding-bottom:11px;border-bottom-width:1px;opacity:1}
.fd-stage.wait .fd-rows li.in:last-child{border-bottom-width:0}
.fd-stage.wait .fd-mail.in{opacity:1;transform:none}
.fd-stage.wait .fd-rows li.hot:not(.lit){background:#fff}
@media (max-width:999px){.fd-mail{right:0}}
@media (max-width:640px){
  .fd-stage{padding-bottom:0}
  .fd-list{padding:12px}
  .fd-rows li{grid-template-columns:56px minmax(0,1fr);padding-left:12px;padding-right:12px}
  .fd-rows em{display:none}
  .fd-mail{position:relative;right:auto;width:auto;margin:-10px 10px 0 34px}
}
@media (prefers-reduced-motion:reduce){.fd-rows li,.fd-mail{transition:none}}
.fd-stage code{font:inherit;color:inherit}
.td-copy p+p{margin-top:var(--s4)}

/* home, the ring: the sample organization's real ring (positions and changed sites read from the demo), with the app's
   own colors. The day buttons light the sites that changed since that day; on entering the screen it steps through them. */
.rg{border:1px solid #d9dfe7;border-radius:14px;background:#f7f9fb;padding:16px 16px 12px;box-shadow:0 1px 2px rgba(11,31,51,.05),0 24px 60px -34px rgba(11,31,51,.4);font:13.5px/1.4 var(--body);color:#2c3745}
.rg-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.rg-label{color:#55606e}
.rg-days{display:inline-flex;flex-wrap:wrap;gap:6px}
.rg-days button{font:500 13px/1 var(--body);color:#2c3745;background:#fff;border:1px solid #d3dae3;border-radius:8px;padding:8px 11px;cursor:pointer}
.rg-days button:hover{border-color:var(--ink)}
.rg-days button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.rg-count{margin-left:auto;color:#55606e;font-variant-numeric:tabular-nums}
.rg-count b{color:var(--ink);font-weight:600}
.rg-svg{display:block;width:100%;height:auto;margin-top:6px}
.rg-guide{fill:none;stroke:#c8cdd7;stroke-width:1}
.rg-spokes line{stroke:#0b6870;stroke-width:1;stroke-linecap:round;opacity:.1}
/* The hubs' mesh is always drawn and dotted, as the app draws it (topology.css, D-290). */
.rg-mesh{stroke:#0b6870;stroke-width:.8;stroke-linecap:round;stroke-dasharray:1 4;opacity:.45}
/* The lens and the lit tunnels (src/home.js part 4, the app's D-290). A line's opacity and width follow the lens and
   the site in hand, eased by the app's own short transition. Positions follow the lens directly, so a site's radius
   has no transition while the script sets it. With reduced motion there are no transitions at all. */
@media (prefers-reduced-motion:no-preference){.rg-spokes line,.rg-mesh,.rg-peer line{transition:opacity .16s ease-out,stroke-width .16s ease-out}}
.rg-svg.lens .s{transition:fill .45s ease,stroke .45s ease,stroke-width .45s ease}
.rg-peer line.on{stroke:var(--ink);stroke-width:2.4;opacity:1}
.rg-peer line.off{opacity:.15}
.rg-tag{font:500 12px var(--body);fill:#2c3745;paint-order:stroke;stroke:#f7f9fb;stroke-width:3.5px;stroke-linejoin:round;pointer-events:none}
.rg-key i.k-line{width:20px;height:0;border:0;border-top:1.6px solid #0b6870;border-radius:0;vertical-align:3px}
.rg-key i.k-line.k-first{border-top-width:3px;vertical-align:2px}
.rg-key i.k-line.k-mesh{border-top-style:dotted}
@media (max-width:640px){.rg-tag{display:none}}
.rg-mid{font:12px var(--body);fill:#6a7583}
.rg-svg .s{fill:#5fae7f;stroke:#858c97;stroke-width:1.5;transition:fill .45s ease,stroke .45s ease,stroke-width .45s ease,r .45s ease}
.rg-svg .s.bad{fill:#df6666}
.rg-svg .s.none{fill:#fff}
.rg-svg .s.lit{fill:#edb978;stroke:rgba(224,150,50,.38);stroke-width:9;r:6.5px}
.rg-svg .hub{fill:#5fae7f;stroke:#0b6870;stroke-width:3;transition:fill .45s ease}
.rg-svg .hub.lit{fill:#edb978}
.rg-hub{font:600 9px var(--body);fill:#0b3a40}
.rg-name{font:500 13px var(--body);fill:#2c3745}
.rg-key{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;margin:4px 0 0;padding:0;font-size:12.5px;color:#55606e}
.rg-key i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;vertical-align:-1px;border:1.5px solid #858c97}
.k-ok{background:#5fae7f}.k-ch{background:#edb978}.k-bad{background:#df6666}.k-none{background:#fff}
@media (prefers-reduced-motion:reduce){.rg-svg .s,.rg-svg.lens .s,.rg-svg .hub{transition:none}}
@media (max-width:640px){.rg{padding:12px}.rg-count{margin-left:0;flex-basis:100%}.rg-name{font-size:17px}.rg-hub{font-size:10px}}
.rg-hubs{display:none;margin-top:6px;font-size:12.5px;color:#55606e}
@media (max-width:640px){.rg-name{display:none}.rg-hubs{display:block}.fd-rows span{white-space:normal}}
/* The ring's outside VPN peers, and its sites as things to pick (src/home.js part 4): the ring around the site in
   hand, the card that names it, and the overlay that shows its wiring. */
.rg{position:relative}
.rg-peer line{stroke:#6a7583;stroke-width:1.3;stroke-dasharray:5 4;opacity:.7}
.rg-peer rect{fill:#fff;stroke:#6a7583;stroke-width:1.5}
.rg-key i.k-peer{width:9px;height:9px;border-radius:0;border-color:#6a7583;background:#fff;transform:rotate(45deg)}
.rg-hint{margin-top:10px;padding-top:10px;border-top:1px solid #e3e7ed;font-size:13.5px;font-weight:500;color:var(--ink)}
.rg.live .rg-svg{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.rg.live .rg-svg .s,.rg.live .rg-svg .hub{outline:none}
.rg.live .rg-svg.near{cursor:pointer}
.rg-hot{fill:none;stroke:var(--ink);stroke-width:2;pointer-events:none;opacity:0;transition:opacity .15s}
.rg-hot.on{opacity:1}
.rg-hot.key{stroke:var(--blue);stroke-width:3}
.rg-card{position:absolute;z-index:2;left:0;top:0;width:212px;padding:11px 13px 12px;border:1px solid #d3dae3;border-radius:10px;background:#fff;box-shadow:0 12px 32px -14px rgba(11,31,51,.4);font-size:13px;line-height:1.45;color:#55606e;pointer-events:none;opacity:0;transition:opacity .12s}
.rg-card.on{opacity:1}
.rg-card b{display:block;font:600 14.5px/1.3 var(--head);letter-spacing:-.01em;color:var(--ink)}
.rg-card span{display:block;margin-top:2px}
.rg-card .how{margin-top:7px;font-weight:500;color:#1e4fc2}
@media (max-width:640px){.rg-peer text{display:none}}
/* The ring on a phone (src/home.js part 4, SMALL). The script crops the drawing to the ring itself, so the ring fills
   the width, and here the sites, the hubs, their names and the outside peers are drawn large enough to read. The card
   that names the picked site sits under the ring, where a finger does not cover it, and it holds its height so
   nothing under it moves. */
.rg-hubname{display:none}
@media (max-width:640px){
  .rg-svg{overflow:visible}
  .rg-svg .s{r:6px}
  .rg-svg .s.lit{r:7px;stroke-width:8}
  .rg-svg .hub{r:26px;stroke-width:3.5}
  .rg-hub{font-size:16px;font-weight:700;letter-spacing:.02em}
  .rg-svg text.rg-hub{transform:translateY(2px)}
  .rg-mid{font-size:19px;paint-order:stroke;stroke:#f7f9fb;stroke-width:9px;stroke-linejoin:round}
  .rg-hubname{display:block;font:600 19px var(--body);fill:#2c3745;paint-order:stroke;stroke:#f7f9fb;stroke-width:6px;stroke-linejoin:round;pointer-events:none}
  .rg-peer rect{transform-box:fill-box;transform-origin:center;transform:rotate(45deg) scale(1.55);stroke-width:1.2}
  .rg-peer line{stroke-width:1.6}
  .rg-hot{stroke-width:3}
  .rg.tap .rg-card{position:static;display:flex;flex-direction:column;justify-content:center;width:auto;min-height:118px;margin-top:10px;padding:12px 14px;box-shadow:none;border-color:#dfe5ec;font-size:13.5px;opacity:1;transition:none}
  .rg.tap .rg-card .how{margin-top:0;color:var(--ink)}
  .rg.tap .rg-card b+span+.how{margin-top:6px;color:#1e4fc2}
  .rg.tap .rg-card b{font-size:16px}
  .rg.tap .rg-key{margin-top:12px}
  .rg.tap .rg-hint{display:none}
}

.wr{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:16px;border:0;background:rgba(8,16,28,.5);color:var(--text);overflow:hidden;align-items:center;justify-content:center;opacity:calc(1 - var(--away,0))}
.wr[open]{display:flex}
.wr::backdrop{background:transparent}
.wr-in{display:flex;flex-direction:column;width:min(1120px,100%,calc((100dvh - 262px) * 1.6 + 34px));min-width:min(100%,560px);max-height:100%;border-radius:16px;background:#fff;box-shadow:0 40px 100px -30px rgba(4,12,24,.75);overflow:hidden}
.wr-bar{display:flex;align-items:center;gap:16px;padding:16px 16px 14px 22px}
.wr-head{min-width:0;margin-right:auto}
.wr-head h2{max-width:none;font:600 clamp(19px,2vw,24px)/1.2 var(--head);letter-spacing:-.02em;color:var(--ink)}
.wr-sub{margin-top:3px;font-size:14px;line-height:1.4;color:var(--muted)}
.wr-nav{display:flex;flex:none;gap:8px}
.wr-nav button{display:inline-flex;align-items:center;gap:9px;height:40px;padding:0 14px;border:1px solid #d3dae3;border-radius:999px;background:#fff;color:var(--ink);font:600 14px/1 var(--body);cursor:pointer;white-space:nowrap}
.wr-nav button:hover{border-color:var(--ink)}
.wr-nav svg{width:7px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wr-nav .wr-close{border-color:var(--ink);background:var(--ink);color:#fff}
.wr-nav .wr-close:hover{background:#1d3753}
.wr-stage{position:relative;flex:0 1 auto;min-height:0;margin:0 16px;aspect-ratio:960/600;border:1px solid #e3e7ed;border-radius:10px;background:#f8f9fb;overflow:hidden}
.wr-stage svg.wz{position:absolute;left:8px;top:8px;width:calc(100% - 16px);height:calc(100% - 16px)}
.wr-stage.wait svg.wz{opacity:.35}
.wr-none{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;color:var(--muted)}
.wr-foot{display:flex;align-items:center;gap:20px;padding:14px 22px 18px}
.wr-dial{flex:none;width:116px;height:116px;cursor:pointer;touch-action:manipulation}
.wr-dial circle{fill:#5fae7f}
.wr-dial .g{fill:none;stroke:#d9dfe7;stroke-width:2}
.wr-dial .lit{fill:#e3a04f}
.wr-dial .bad{fill:#df6666}
.wr-dial .none{fill:#fff;stroke:#858c97;stroke-width:3}
.wr-dial .hub{stroke:#0b6870;stroke-width:5}
.wr-dial .cur{fill:var(--ink);stroke:#fff;stroke-width:5}
.wr-words{min-width:0}
.wr-pick{font-size:13px;line-height:1.45;color:var(--faint)}
.wr-pick.on{font-weight:600;color:var(--ink)}
.wr-drag{display:none;font-size:13px;line-height:1.45;color:var(--faint)}
.wr-cap{margin-top:4px;max-width:78ch;font-size:15.5px;line-height:1.5;color:var(--text)}
.wr-note{margin-top:4px;font-size:13px;line-height:1.45;color:var(--faint)}
@media (prefers-reduced-motion:no-preference){.wr[open] .wr-in{animation:wr-in .22s cubic-bezier(.2,.7,.2,1) both}.wr[open]{animation:lb-in .18s ease both}.wr-stage svg.wz{transition:opacity .15s}}
@keyframes wr-in{from{opacity:0;transform:translateY(10px) scale(.985)}}
@media (prefers-reduced-motion:reduce){.rg-hot,.rg-card{transition:none}}
/* On a phone the drawing keeps a size its labels can be read at, and it slides sideways under a finger. */
@media (max-width:760px){
  .wr{padding:10px}
  .wr-in{width:100%;min-width:0;border-radius:14px}
  .wr-bar{align-items:flex-start;gap:10px;padding:14px 12px 12px 16px}
  .wr-sub{font-size:13px}
  .wr-nav{gap:6px}
  .wr-nav button{padding:0 13px}
  .wr-nav [data-step] span{display:none}
  .wr-stage{margin:0 10px;aspect-ratio:auto;height:min(50dvh,400px);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .wr-stage svg.wz{position:static;display:block;width:auto;max-width:none;height:100%;padding:6px 0}
  .wr-foot{padding:12px 16px 16px}
  .wr-dial,.wr-pick{display:none}
  .wr-drag{display:block}
  .wr-cap{font-size:15px}
}
/* A phone held sideways, or any short window: the drawing takes the left of the card at nearly the window's height,
   and the title, the buttons and the words sit beside it, where they scroll if they run long. --st is the drawing's
   height, which leaves the words a column of at least 270 px. */
@media (orientation:landscape) and (max-height:540px){
  .wr{padding:8px}
  .wr-in{--st:min(calc(100dvh - 36px),calc((100vw - 300px) / 1.6));display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);width:100%;min-width:0;height:calc(var(--st) + 20px);border-radius:14px}
  .wr-stage{grid-column:1;grid-row:1/3;align-self:center;width:calc(var(--st) * 1.6);height:var(--st);margin:10px 0 10px 10px;aspect-ratio:auto;overflow:hidden}
  .wr-stage svg.wz{position:absolute;left:8px;top:8px;width:calc(100% - 16px);height:calc(100% - 16px);padding:0}
  .wr-bar{grid-column:2;grid-row:1;flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px 8px 16px}
  .wr-head h2{font-size:18px}
  .wr-sub{font-size:13px}
  .wr-nav{gap:6px}
  .wr-nav button{padding:0 13px}
  .wr-nav [data-step] span{display:none}
  .wr-nav .wr-close{margin-left:auto}
  .wr-foot{grid-column:2;grid-row:2;align-items:flex-start;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 14px 12px 16px}
  .wr-dial,.wr-pick,.wr-drag{display:none}
  .wr-cap{margin-top:0;font-size:14px}
}

/* ---- home v3 (2026-12-01): the page is built on the three things DejaVault does. The stage under the hero draws the
   whole product once (a firewall policy becomes a rule block, the block goes out in waves, every site is saved before
   it is written), and each feature below has a drawing a visitor can work, in the app's own colors. src/home.js. ---- */
:root{--ok:#177a48;--chg:#6a48d7;--no:#b93a30;--line:#d9dfe7}
.hero.v3{padding-bottom:clamp(170px,20vw,260px)}
.hero.v3 h1.long{font-size:clamp(34px,4.6vw,62px);line-height:1.04;max-width:17.5em}
.hero.v3 .lede{max-width:36em}
.stage{position:relative;margin-top:calc(-1 * clamp(120px,15vw,196px));background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 1px 2px rgba(11,31,51,.06),0 40px 90px -50px rgba(11,31,51,.55);padding:clamp(20px,2.6vw,34px);font:14px/1.45 var(--body);color:var(--text)}
.st-cap h2{font:600 17px/1.25 var(--head);letter-spacing:-.012em;max-width:none}
.st-cap h2 a{color:var(--ink);text-decoration:none}
.st-cap h2 a::after{content:"\00a0\2192";color:var(--blue)}
.st-cap h2 a:hover{color:var(--blue)}
.st-cap p{margin-top:6px;font-size:14px;line-height:1.5;color:var(--muted);max-width:30em}
.st-time{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.15fr);gap:20px 56px;align-items:start;padding-bottom:clamp(20px,2.4vw,30px);border-bottom:1px solid var(--rule)}
.st-track{position:relative;padding-top:10px}
.st-line{position:relative;display:block;height:34px;border-bottom:2px solid #c9d2de}
.st-line u{position:absolute;bottom:0;width:2px;height:13px;background:#8fa0b5;border-radius:1px}
.st-line i{position:absolute;bottom:0;width:3px;height:24px;margin-left:-1px;background:var(--blue);border-radius:2px;transform-origin:bottom;transition:transform .45s cubic-bezier(.2,.9,.3,1.3),opacity .3s}
.st-line em{position:absolute;right:-1px;bottom:-6px;width:10px;height:10px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 4px #fff}
.st-days{position:relative;display:block;height:20px;margin-top:9px;font-size:12.5px;color:var(--faint)}
.st-days span{position:absolute;top:0;white-space:nowrap}
.st-days span:last-child{transform:translateX(-100%);color:var(--ink);font-weight:600}
.st-note{display:block;text-align:right;font-size:12.5px;color:var(--blue);margin-top:2px;transition:opacity .4s}
.st-flow{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr) minmax(0,.92fr);gap:28px clamp(48px,7vw,104px);padding-top:clamp(20px,2.4vw,30px);align-items:start}
.st-rules{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:7px}
.st-rules li{display:flex;align-items:center;gap:9px;min-height:36px;padding:6px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:13px;line-height:1.25;color:var(--ink);transition:opacity .4s,transform .4s,border-color .3s,background .3s}
.st-rules b,.cv-said b{font-weight:600;font-size:12px;flex:none}
.st-rules b.allow,.cv-said b.allow{color:var(--ok)}
.st-rules b.deny,.cv-said b.deny{color:var(--no)}
.st-rules span{min-width:0}
.st-rules em{margin-left:auto;font-style:normal;font-size:11.5px;color:var(--no);white-space:nowrap}
.st-rules li.no{background:#fbf6f5;border-color:#ecd9d6;color:var(--muted)}
.st-set .st-rules li{border-color:#c9d8f2;background:#f6f9ff}
.st-sites{display:flex;flex-direction:column;align-items:center}
.st-ring{width:100%;max-width:290px;height:auto;overflow:visible}
.st-ring .spokes line{stroke:#e2e8f0;stroke-width:.7}
.st-ring .hub{fill:var(--ink)}
.st-ring .s{fill:var(--ok);transition:fill .35s,r .35s}
.st-status{margin-top:10px;text-align:center;font-size:13.5px;color:var(--muted);min-height:2.9em}
.st-status b{display:block;color:var(--ink);font-weight:600}
.st-wires,.cv-wires{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.st-wires path,.cv-wires path{fill:none;stroke-width:1.5;stroke-linecap:round}
.st-wires path{stroke:#7f9bd4}
.st-wires path.bus{stroke:var(--blue);stroke-width:2}
.st-replay{position:absolute;right:14px;bottom:12px;border:0;background:none;padding:4px 6px;font:500 12.5px/1 var(--body);color:var(--faint);cursor:pointer}
.st-replay:hover{color:var(--ink)}
/* the stage while it plays: what has not happened yet is held back */
.stage.play .st-set .st-rules li:not(.in){opacity:0;transform:translateX(-10px)}
.stage.play .st-ring .s:not(.done){fill:#cfd7e2}
.stage.play .st-ring .s.now{fill:var(--blue);r:5.6px}
.stage.play .st-line i:not(.in){transform:scaleY(0);opacity:0}
.stage.play .st-note:not(.in){opacity:0}
@media (max-width:900px){
  .st-time{grid-template-columns:minmax(0,1fr)}
  .st-flow{grid-template-columns:minmax(0,1fr);gap:0}
  .st-col+.st-col{margin-top:22px;padding-top:22px;border-top:1px solid var(--rule)}
  .st-sites{border-top:0!important;padding-top:0!important}
  .st-wires{display:none}
  .st-ring{max-width:250px}
  .st-replay{position:static;display:block;margin:6px auto 0}
}

/* a feature: its heading and words across the top, then the drawing at full width */
.feature{padding-top:var(--section)}
.ft-head{display:grid;grid-template-columns:minmax(0,10fr) minmax(0,11fr);gap:var(--s5) var(--s8);align-items:end;margin-bottom:var(--s7)}
.ft-head h2{max-width:11em}
.ft-words p+p{margin-top:var(--s4)}
.ft-next{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px 40px;margin-top:var(--s5)}
.ft-next p{max-width:44em}
@media (max-width:900px){.ft-head{grid-template-columns:minmax(0,1fr);margin-bottom:var(--s6)}}

/* the import review: the firewall's rules, the MX rules, and a line from each rule to what it became */
.cv{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(11,31,51,.05),0 30px 70px -48px rgba(11,31,51,.45);font:13.5px/1.4 var(--body);color:var(--text);overflow:hidden}
.cv-zones{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;padding:16px clamp(16px,2.2vw,28px);background:#f7f9fb;border-bottom:1px solid var(--line)}
.cv-zones p{color:var(--muted);max-width:25em}
.cv-zones ul{list-style:none;margin:0 0 0 auto;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.cv-zones li{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;white-space:nowrap}
.cv-zones i,.cv-said i{font-style:normal;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.cv-zones b{font-weight:500;color:var(--blue)}
.ar{width:12px;height:10px;flex:none;fill:none;stroke:#8a96a6;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.cv-board{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 clamp(56px,10vw,150px);padding:clamp(14px,2vw,24px) clamp(16px,2.2vw,28px) 8px}
.cv-h{display:flex;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #c9d2de;font-weight:600;color:var(--ink)}
.cv-h span+span{font-weight:400;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.cv-h code{font-size:12.5px}
.cv-col ol{list-style:none;margin:0;padding:0}
.cv-col li{position:relative;display:grid;grid-template-columns:18px 22px minmax(0,1fr);gap:0 8px;align-items:start;padding:9px 8px 9px 6px;border-bottom:1px solid var(--rule);border-radius:6px;transition:background .2s,opacity .3s}
.cv-mx li{grid-template-columns:22px minmax(0,1fr)}
.cv-col input{width:16px;height:16px;margin:2px 0 0;accent-color:var(--blue);cursor:pointer}
.cv-n{color:var(--faint);text-align:right;font-variant-numeric:tabular-nums}
.cv-t{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 10px;min-width:0}
.cv-name{font-weight:600;color:var(--ink)}
.cv-tag{margin-left:auto;font-size:11.5px;line-height:1;padding:4px 8px;border-radius:999px;white-space:nowrap}
.asis .cv-tag{color:var(--ok);background:#e9f5ee}
.change .cv-tag{color:var(--chg);background:#f0ecfc}
.no .cv-tag{color:var(--no);background:#fbecea}
.cv-said{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;color:var(--muted)}
.cv-said i{padding:1px 6px;border-radius:5px;background:#f0f3f7;color:#2c3745}
.cv-said i.v{background:#eaf1fd;color:var(--blue)}
.cv-why{flex-basis:100%;font-size:12.5px;color:var(--faint)}
.cv-src li.no .cv-name{color:var(--muted);font-weight:500}
.cv-src li.no .cv-why{color:#9a4a42}
.cv-mx li.def{background:#f7f9fb}
.cv-mx li.def .cv-name{font-weight:500;color:var(--muted)}
.cv-mx li.off{display:none}
.cv-mx li.new{animation:cv-in .45s ease both}
@keyframes cv-in{from{opacity:0;transform:translateX(14px)}}
.cv-col li.lit{background:#eef4ff}
.cv-wires path{stroke:#b9c4d3;transition:stroke .2s,stroke-width .2s}
.cv-wires path.asis{stroke:#7fbf9c}
.cv-wires path.change{stroke:#a892ea}
.cv-wires path.lit{stroke:var(--blue);stroke-width:2.2}
.cv-wires circle{fill:#8a96a6}
.cv-foot{padding:14px clamp(16px,2.2vw,28px) 18px;color:var(--muted);max-width:none}
@media (max-width:760px){
  /* The import review in one column. Without the script the firewall's rules come first and the MX rules after them.
     With it (.pairs, src/home.js part 2) each rule is followed by the MX rules it becomes, set in from the left as
     cards, and a short line runs from the rule's tick box down into each of them. The firewall's own denies, which
     no single rule becomes, close the list. Each MX rule shows its place in the MX's order. */
  .cv-zones ul{margin-left:0}
  .cv-board{grid-template-columns:minmax(0,1fr);gap:0;padding:14px 12px 10px}
  .cv-mx .cv-h{margin-top:26px}
  .cv-col li{grid-template-columns:18px auto minmax(0,1fr);padding:11px 4px 11px 6px}
  .cv-mx li{grid-template-columns:auto minmax(0,1fr)}
  .cv-tag{margin-left:0}
  .cv .cv-src li.change .cv-why{display:block}
  .cv.pairs .cv-col,.cv.pairs .cv-col ol{display:contents}
  .cv.pairs .cv-src .cv-h{order:-2;padding-bottom:4px;border-bottom:0}
  .cv.pairs .cv-mx .cv-h{order:-1;margin-top:0}
  .cv.pairs .cv-src li{border-bottom:0;border-top:1px solid var(--rule);border-radius:0;padding:13px 4px 13px 6px}
  .cv.pairs .cv-src li:first-child{border-top:0}
  .cv.pairs .cv-src li.lit{border-radius:6px}
  .cv.pairs .cv-mx li{grid-template-columns:auto minmax(0,1fr);margin:0 0 9px 34px;padding:9px 11px 10px;border:1px solid var(--line);border-radius:9px;background:#f7f9fb}
  .cv.pairs .cv-mx li.lit{background:#eef4ff;border-color:#bfd2f6}
  .cv.pairs .cv-mx li.def{margin-left:0}
  .cv.pairs .cv-mx .cv-n{min-width:3.5em;text-align:left;font-size:12px;line-height:1.75;font-weight:600;color:var(--blue);white-space:nowrap}
  .cv.pairs .cv-mx .cv-n::before{content:"MX "}
  .cv.pairs .cv-mx li.def .cv-n{color:var(--muted)}
}
@media (prefers-reduced-motion:reduce){.st-rules li,.st-ring .s,.st-line i,.cv-mx li.new{transition:none;animation:none}}
.hero.v3 .lockup{margin-bottom:22px}
.cv-mx li{grid-template-columns:22px minmax(0,1fr)}
.cv-mx li.def{grid-template-columns:auto minmax(0,1fr)}
.cv-mx li.def .cv-n{white-space:nowrap;min-width:22px}
.cv-src li.change .cv-why{display:none}
.cv-src li.change.lit .cv-why{display:block}
.cv-src li.no .cv-said{display:none}
@media (max-width:760px){.cv-mx li.def .cv-said>span{display:inline}.cv-src li.no .cv-said{display:flex}}

/* home v3, the rest of the page */
.td-copy h2,.td-copy h3{font-size:clamp(26px,2.9vw,38px);line-height:1.1;letter-spacing:-.028em}
.feature .td{padding-top:var(--s9)}
.feature .td.pin{margin-top:var(--s7)}
.part2{margin-top:var(--section)}
.feature .td.pin+.part2{margin-top:var(--s8)}
@media (min-width:1000px){.part2.flip>.td-copy{order:2}.part2.flip{grid-template-columns:minmax(0,15fr) minmax(0,9fr)}}
.wiring{margin-top:var(--s8)}
.wiring .frame{background:#f4f6f9}
.wiring .frame img{background:#f4f6f9}
.shot.still a.frame{display:block;cursor:pointer}
.shot.still a.frame::after{content:"";position:absolute;inset:0;background:rgba(11,31,51,0);transition:background .2s}
.shot.still a.frame:hover::after{background:rgba(11,31,51,.05)}
.shot.still figcaption span{min-width:0}
/* a still whose caption carries its own Watch button (the product page and the guides) */
.shot.still figcaption .watch{flex:none}
.shot.still figcaption .watch span{min-width:auto}
@media (max-width:640px){.shot.still figcaption:has(.watch){flex-wrap:wrap;padding-top:12px;padding-bottom:12px}}
.td-copy .watch,.td-copy .watch-row{margin-top:var(--s5)}
.td-copy .watch-row .watch{margin-top:0}
.watch-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}
.watch{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 18px 0 15px;border-radius:999px;background:var(--ink);color:#fff;font:600 15px/1 var(--body);text-decoration:none;white-space:nowrap}
.watch:hover{background:#1d3753;color:#fff}
.watch svg{width:10px;height:12px;flex:none;fill:currentColor}
.watch .len{font-weight:500;color:rgba(255,255,255,.66);font-variant-numeric:tabular-nums}
.watch .len:empty{display:none}
.watch.quiet{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px #c5cedb}
.watch.quiet:hover{background:var(--tint);color:var(--ink)}
.watch.quiet .len{color:var(--faint)}
.watch.onband{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);min-height:48px}
.watch.onband:hover{background:rgba(255,255,255,.2)}
.ft-next .watch-row{flex:0 1 auto;max-width:100%}

/* the player: one clip at a time, nearly the whole screen, the whole app window in frame */
.lb{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(8,16,28,.9);color:#fff;overflow:hidden}
.lb::backdrop{background:rgba(8,16,28,.6)}
.lb-in{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;padding:14px clamp(10px,2vw,28px) 16px}
/* The bar is as wide as the clip, but never narrower than its title and two buttons need, so on a short window, where
   the clip is narrow, the title stays on one line and Close stays inside the bar. */
.lb-bar{display:flex;align-items:center;gap:16px;width:min(100%,max(var(--lbw,1600px),600px));flex:none}
.lb-bar h2{font:600 16px/1.3 var(--head);color:#fff;letter-spacing:-.01em;max-width:none;margin-right:auto}
.lb-close{flex:none;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 16px;border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:600 14px/1 var(--body);cursor:pointer}
.lb-close:hover{background:rgba(255,255,255,.26)}
.lb-cc{flex:none;display:inline-flex;align-items:center;height:38px;padding:0 16px;border:1px solid rgba(255,255,255,.32);border-radius:999px;background:transparent;color:#fff;font:600 14px/1 var(--body);cursor:pointer}
.lb-cc:hover{background:rgba(255,255,255,.12)}
.lb-cc[aria-pressed="false"]{color:rgba(255,255,255,.72);border-color:rgba(255,255,255,.2)}
.lb-cc[hidden]{display:none}
.lb-stage{flex:0 1 auto;min-height:0;display:flex;justify-content:center;width:100%}
.lb-stage video,.lb-stage iframe{display:block;height:auto;max-width:100%;max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);border:0;border-radius:10px;background:#fff;box-shadow:0 30px 80px -30px rgba(0,0,0,.8)}
.lb-stage iframe{width:min(100%,calc((100dvh - 96px) * 16 / 9));aspect-ratio:16/9;background:#000}
@media (prefers-reduced-motion:no-preference){.lb[open]{animation:lb-in .18s ease both}}
@keyframes lb-in{from{opacity:0}}

/* a rollout in waves */
.ro{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(11,31,51,.05),0 30px 70px -48px rgba(11,31,51,.45);font:14px/1.45 var(--body);color:var(--text);overflow:hidden}
.ro-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f7f9fb;border-bottom:1px solid var(--line)}
.ro-top>div{padding:16px clamp(16px,2.2vw,28px)}
.ro-top>div+div{border-left:1px solid var(--line)}
.ro-top b{display:block;font:600 16px/1.3 var(--head);color:var(--ink)}
.ro-top span{display:block;margin-top:3px;font-size:13.5px;color:var(--muted)}
.ro-line{padding:18px clamp(16px,2.2vw,28px) 4px;font:600 clamp(18px,1.8vw,22px)/1.3 var(--head);letter-spacing:-.015em;color:var(--ink);min-height:2.2em}
.ro-waves{list-style:none;margin:0;padding:6px clamp(16px,2.2vw,28px) 4px}
.ro-waves li{display:grid;grid-template-columns:84px minmax(0,1fr) 92px;gap:8px 18px;align-items:center;padding:14px 0;border-top:1px solid var(--rule)}
.ro-wn{font-weight:600;color:var(--ink)}
.ro-dots{display:flex;flex-wrap:wrap;gap:7px}
/* each site is an <i> in the page and a button once src/home.js runs, drawn the same either way */
.ro-dots>*{position:relative;display:block;width:22px;height:22px;margin:0;padding:0;border:0;border-radius:6px;background:var(--ok);font:inherit;color:inherit;cursor:pointer;transition:background .3s,transform .3s,box-shadow .3s}
.ro-dots>:hover{transform:scale(1.15)}
.ro-dots>:focus-visible{outline-offset:2px;border-radius:6px}
.ro-dots>.back{background:#fff;box-shadow:inset 0 0 0 2px #c08a1e}
.ro-st{justify-self:end;font-size:12.5px;font-weight:600;padding:5px 10px;border-radius:999px;color:var(--ok);background:#e9f5ee;white-space:nowrap;transition:background .3s,color .3s}
.ro.play .ro-dots>:not(.done){background:#dfe5ec}
.ro.play .ro-dots>.now{background:var(--blue)}
.ro.play li:not(.passed) .ro-st{color:var(--muted);background:#eef1f5}
.ro.play li.busy .ro-st{color:var(--blue);background:#e8f0ff}
.ro.play li.gate .ro-st{color:var(--chg);background:#f0ecfc}
.ro-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding:12px clamp(16px,2.2vw,28px) 16px;border-top:1px solid var(--rule);color:var(--muted)}
.ro-replay{border:0;background:none;padding:4px 0;font:600 14px/1 var(--body);color:var(--blue);cursor:pointer}
.ro-replay:hover{color:var(--ink)}
@media (max-width:760px){
  .ro-top{grid-template-columns:minmax(0,1fr)}
  .ro-top>div+div{border-left:0;border-top:1px solid var(--line)}
  .ro-waves li{grid-template-columns:minmax(0,1fr) auto}
  /* on a phone each site is a square a finger can hit: 30 px drawn, and 40 px to the touch with the gap around it */
  .ro-dots{grid-column:1/-1;grid-row:2;gap:10px}
  .ro-dots>*{width:30px;height:30px;border-radius:7px}
  .ro-dots>button::after{content:"";position:absolute;inset:-5px}
  .ro-dots>:focus-visible{border-radius:7px}
}
@media (prefers-reduced-motion:reduce){.ro-dots>*,.ro-st{transition:none}}
.feature .td.pin{margin-top:0}
.feature:has(.td.pin) .ft-head{margin-bottom:0}

/* Two more sections that hold still while the page scrolls through them (src/home.js parts 3 and 4), as Time Drive
   does: the ring steps its day back, and the rollout runs its waves forward and back. The script adds .pin only when
   the block fits the window, so without it both are ordinary blocks and nothing below them moves either way. */
.rgs{margin-top:var(--section)}
.rgs .part2{margin-top:0}
.rgs.pin{height:300vh}
.ros.pin{height:380vh}
.rgs.pin .rgs-pin,.ros.pin .ros-pin{position:sticky;top:0;height:100vh;display:flex;align-items:center}
.rgs-pin>.wrap,.ros-pin>.wrap{width:100%}
.rgs:not(.pin) .rg-steps,.rgs.pin .td-more{display:none}
.rgs.pin .rg-svg{max-height:calc(100vh - 230px)}
.ros.pin .ft-head{margin-bottom:var(--s6)}
/* on a shorter window the held blocks tighten a little, so a laptop still holds them */
@media (max-height:880px){
  .rgs.pin .rg-svg{max-height:calc(100vh - 260px)}
  .ros.pin .ft-head{margin-bottom:var(--s5)}
  .ros.pin .ro-top>div{padding-top:12px;padding-bottom:12px}
  .ros.pin .ro-waves li{padding:9px 0}
  .ros.pin .ro-line{padding-top:14px}
}
/* the ring's colors as the app draws them: one change, two to five, more than five, and a site added since the day */
.rg-svg .s.lit.d2,.rg-svg .hub.lit.d2,.k-ch.d2{fill:#d58b38;background:#d58b38}
.rg-svg .s.lit.d3,.rg-svg .hub.lit.d3,.k-ch.d3{fill:#a85e1b;background:#a85e1b}
.rg-svg .s.lit.d2{stroke:rgba(213,139,56,.4)}
.rg-svg .s.lit.d3{stroke:rgba(168,94,27,.4)}
.rg-svg .s.add,.rg-svg .hub.add{stroke-dasharray:3 2.4}
.rg-key i:has(+i){margin-right:3px}
.rg-key i.k-add{background:#5fae7f;border-style:dashed;border-color:#4b5563}
/* the rollout's caption keeps room for its longest sentence, so the rows under it never move */
.ro-line{min-height:calc(2.6em + 22px)}
.ro-foot p{margin:0}
.ro-scroll{font-weight:500;color:var(--ink)}
.ro-say{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:0 24px;padding-right:clamp(16px,2.2vw,28px)}
.ro-say .ro-line{flex:1 1 420px}
.ro-say [hidden]{display:none}
.ro-ctl{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0 8px clamp(16px,2.2vw,28px)}
.ro-ctl button{font:600 14px/1 var(--body);color:var(--blue);background:#fff;border:1px solid #d3dae3;border-radius:8px;padding:10px 13px;cursor:pointer}
.ro-ctl button:hover{border-color:var(--blue);color:var(--blue)}
.ro-ctl button[disabled]{color:#9aa4b1;border-color:#e3e7ed;cursor:default}
.ro.play .ro-dots>*{cursor:default}
.ro.play .ro-dots>:hover{transform:none}
.ro-foot [hidden]{display:none}
@media (max-width:760px){.ro-line{min-height:calc(5.2em + 22px)}}
@media (max-width:420px){.ro-line{min-height:calc(6.5em + 22px)}}

/* On a phone every control a finger presses is at least 40 px to the touch. Where the design is tight, the control
   keeps the size it is drawn at and an invisible area around it takes the tap, so nothing around it moves. The
   coverage filters get the 42 px height WebKit ignored as a minimum, and the player's two buttons grow by 2 px. The
   convert section's tick boxes sit in labels (src/home.js), which is what lets their area grow. The desktop is
   unchanged. */
.cv-box{position:relative;display:block}
.cv-box input{display:block}
@media (max-width:760px){
  .wordmark,.nav a,.st-cap h2 a,.td-bar button,.rg-days button,.cov-guide,.counts th a{position:relative}
  .st-replay{position:relative;inset:auto}
  .wordmark::after,.nav a::after,.st-cap h2 a::before,.st-replay::after,.td-bar button::after,.rg-days button::after,.cv-box::after,.cmd .copy::after,.cov tr.cov-group .cov-guide::before,.counts th a::after{content:"";position:absolute}
  .wordmark::after{inset:-9px 0}
  .nav a::after{inset:-8px -6px}
  .st-cap h2 a::before{inset:-9px -4px}
  .st-replay::after{inset:-10px -6px}
  .td-bar button::after,.rg-days button::after{inset:-5px 0}
  .cv-box::after{inset:-11px}
  .cmd .copy::after{inset:-8px -3px}
  .cov tr.cov-group .cov-guide::before{inset:-13px -4px}
  .counts th a::after{inset:-11px -4px}
  .cov-tools select{height:42px}
  .lb-close,.lb-cc{height:40px}
}
