@import url("/fonts.css");
@import url("/theme-controls.css");
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 var(--font)}a{color:inherit;text-underline-offset:.21em}a:hover{text-decoration-thickness:.14em}a:focus-visible,summary:focus-visible{outline:2px solid var(--strong);outline-offset:5px}.skip{position:absolute;transform:translateY(-250%);background:var(--surface);padding:.5rem 1rem;z-index:2}.skip:focus{transform:none}.wrap{width:min(1120px,calc(100% - 64px));margin-inline:auto}.bar,.footer{display:flex;justify-content:space-between;align-items:center;gap:1.2rem;border-bottom:1px solid var(--rule);padding-block:1rem}.brand{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--display);font-weight:700;font-size:1.55rem;text-decoration:none;line-height:1.2}.bar nav,.footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem 1.35rem}.bar nav a,.footer nav a{font-size:.89rem;font-weight:640;color:var(--muted);text-decoration:none}.bar nav a:hover,.footer nav a:hover{text-decoration:underline}.language{border:1px solid var(--rule);border-radius:100px;padding:.18rem .55rem}
.hero{display:grid;grid-template-columns:1.17fr .83fr;gap:clamp(26px,5vw,76px);align-items:center;padding-block:clamp(54px,7vw,110px)}.label{display:inline-flex;align-items:center;gap:.5rem;color:var(--strong);font-size:.72rem;font-weight:760;letter-spacing:.1em;line-height:1.5;margin:0 0 1rem}.dot,.map-top i{display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:var(--strong)}h1,h2{font-family:var(--display);font-weight:600;line-height:1.09;letter-spacing:-.032em;margin:0;text-wrap:balance;overflow-wrap:break-word}h1{font-size:clamp(2.5rem,5.75vw,5.1rem)}h2{font-size:clamp(2.12rem,4vw,3.6rem)}h3{margin:0;font-size:1.12rem;line-height:1.4}.intro,.section-intro{font-size:clamp(1rem,1.6vw,1.16rem);color:var(--muted);max-width:66ch;margin:1.2rem 0 0}.button{display:inline-flex;align-items:center;gap:.65rem;margin-top:1.65rem;background:var(--strong);color:var(--on);border:1px solid var(--strong);border-radius:.5rem;padding:.62rem .9rem;font-size:.92rem;font-weight:700;text-decoration:none}.button:hover{text-decoration:underline}
.map{margin:0;min-width:0;background:var(--surface);border:1px solid var(--rule);border-radius:1rem;box-shadow:0 16px 36px #182f2012;overflow:hidden}.map-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.3rem .5rem;border-bottom:1px solid var(--rule);padding:.95rem clamp(14px,2vw,26px);font-size:.65rem;font-weight:740;letter-spacing:.08em;color:var(--muted)}.map-top i{margin-right:.35rem;width:.4rem;height:.4rem}.map-body{padding:clamp(16px,2.4vw,30px)}.tree{border-left:1px solid var(--rule);margin-left:.35rem}.tree-row{position:relative;padding:0 0 1rem 1.15rem}.tree-row:last-child{padding-bottom:0}.tree-row:before{content:"";position:absolute;left:-5px;top:.33rem;width:9px;height:9px;border-radius:50%;background:var(--strong);outline:3px solid var(--surface)}.tree-row span,.routine small{display:block;color:var(--muted);font-size:.69rem;letter-spacing:.075em;text-transform:uppercase;font-weight:700}.tree-row strong,.routine strong{display:block;line-height:1.4;margin-top:.12rem}.routine{display:flex;align-items:center;justify-content:space-between;gap:.5rem;background:var(--leaf);border-radius:.55rem;margin-top:1.4rem;padding:.75rem .8rem}.check{color:var(--strong);font-weight:bold}.map figcaption{padding:.72rem clamp(14px,2vw,26px);color:var(--muted);font-size:.73rem;border-top:1px solid var(--rule)}
.feature,.trust,.english{padding-block:clamp(46px,7vw,91px)}.band{background:var(--band);border-block:1px solid var(--rule)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}.tile{background:var(--surface);border:1px solid var(--rule);border-radius:.7rem;padding:clamp(17px,2.4vw,28px)}.num{display:inline-block;margin-bottom:1rem;font-size:.75rem;font-weight:700;color:var(--strong);font-variant-numeric:tabular-nums}.tile p,.steps p,.trust p:not(.label),.english p:not(.label),.questions p{color:var(--muted);margin:.52rem 0 0}.steps{list-style:none;padding:0;margin:2rem 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}.steps li{border-top:1px solid var(--rule);padding-top:1rem;display:flex;align-items:flex-start;gap:.7rem}.steps li>span{color:var(--strong);font-size:.73rem;font-weight:750;margin-top:.2rem}.trust-layout,.en-layout,.faq{display:grid;grid-template-columns: .85fr 1.15fr;gap:clamp(24px,5vw,68px)}.trust p:not(.label)+p,.english p:not(.label)+p{margin-top:.85rem}.text-link{display:inline-block;margin-top:.9rem;color:var(--strong);font-weight:700}.questions{border-top:1px solid var(--rule)}.questions details{border-bottom:1px solid var(--rule);padding:.8rem .2rem}.questions summary{cursor:pointer;font-weight:700;padding-block:.22rem}.questions p{padding-inline-start:1rem}.footer{border:0;padding-block:1.85rem;align-items:flex-start}.footer p{color:var(--muted);font-size:.83rem;margin:.3rem 0 0}
@media(max-width:820px){.hero,.trust-layout,.en-layout,.faq{grid-template-columns:1fr}.hero{gap:2.1rem}.map{width:min(100%,535px)}.grid,.steps{grid-template-columns:1fr}.steps{gap:1rem}.tile{max-width:680px}}
@media(max-width:560px){.wrap{width:calc(100% - 36px)}.bar{align-items:flex-start;flex-direction:column;gap:.55rem;padding-block:.85rem}.bar nav{gap:.3rem .72rem}.bar nav a{font-size:.78rem}.footer{flex-direction:column}.footer nav{gap:.3rem .9rem}}
/* Site chapters share the typography and day/night palette in the Pergulia Brand Guidelines. */
:root{color-scheme:light dark;--paper:#f0e9db;--ink:#26402f;--muted:#4e6659;--rule:#e2d6bd;--band:#f7f3ec;--surface:#faf8f4;--strong:#26402f;--on:#faf8f4;--leaf:#dfe8d7;--font:'Be Vietnam Pro',system-ui,sans-serif;--display:'Nunito',ui-rounded,system-ui,sans-serif;--mono:'IBM Plex Mono',ui-monospace,monospace}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--paper:#101814;--ink:#e9f1ea;--muted:#9db8a6;--rule:#33463a;--band:#18231d;--surface:#1c2a22;--strong:#a6d6a3;--on:#101814;--leaf:#2d4233}}
:root[data-theme="dark"]{color-scheme:dark;--paper:#101814;--ink:#e9f1ea;--muted:#9db8a6;--rule:#33463a;--band:#18231d;--surface:#1c2a22;--strong:#a6d6a3;--on:#101814;--leaf:#2d4233}
:root[data-theme="light"]{color-scheme:light}
h1,h2,h3{font-family:var(--display);font-weight:800;letter-spacing:-.015em;line-height:1.12}
.hero h1{font-size:clamp(2.45rem,5.05vw,4.55rem)}
h2{font-size:clamp(1.8rem,3.5vw,3.05rem)}
h3{font-size:1.17rem;line-height:1.36}
.label,.map-top,.tree-row span,.routine small,.num,.map figcaption{font-family:var(--mono);font-weight:500;letter-spacing:.065em}
.brand picture,.brand img{display:block}.brand img{width:clamp(112px,11vw,143px);height:auto}
.bar nav a,.footer nav a,.button{font-weight:600}
.bar nav a[aria-current='page']{color:var(--ink);text-decoration:underline;text-decoration-thickness:2px}
.tile .text-link{font-size:.86rem}.page-head{padding-block:clamp(42px,6.5vw,88px) clamp(22px,3.5vw,45px)}
.page-head h1{font-size:clamp(2.25rem,5vw,4.25rem);max-width:20ch}.page-head .intro{max-width:65ch}
.jump{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin:1.45rem 0 0}
.jump a{border:1px solid var(--rule);border-radius:100px;background:var(--surface);padding:.32rem .66rem;text-decoration:none;font-size:.83rem;font-weight:600}
.jump a:hover{text-decoration:underline}
.prose{padding-bottom:clamp(36px,6vw,82px)}
.article{border-top:1px solid var(--rule);padding-block:clamp(26px,4vw,52px);scroll-margin-top:1.2rem}
.article>p,.article>ul,.note{max-width:70ch}.article>p,.article li,.note{color:var(--muted)}.article h2{margin-bottom:.55rem}
.split{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:clamp(24px,5vw,76px);margin-top:1.3rem}
.glossary{margin:0;display:grid;grid-template-columns:minmax(105px,.45fr) 1.55fr;gap:.68rem .7rem}
.glossary dt{font-weight:600}.glossary dd{margin:0;color:var(--muted)}
.checklist{margin:1.05rem 0 0;padding-left:0;list-style:none;counter-reset:pgstep;max-width:76ch}
.checklist li{counter-increment:pgstep;display:grid;grid-template-columns:2.1rem 1fr;gap:.8rem;padding:.9rem 0;border-top:1px solid var(--rule)}
.checklist h3{color:var(--ink)}.checklist li p{margin:.32rem 0 0}.checklist li:before{content:counter(pgstep,decimal-leading-zero);font:500 .86rem/1.75 var(--mono);color:var(--strong)}
.note{border-left:3px solid var(--strong);background:var(--surface);padding:1rem}
.callout{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;background:var(--band);border:1px solid var(--rule);border-radius:.75rem;padding:clamp(16px,3vw,32px)}
.callout h2{font-size:clamp(1.35rem,2.3vw,2.05rem)}.callout p{margin:.5rem 0 0;color:var(--muted)}.callout .button{flex-shrink:0;margin-top:0}
.hero+.band{border-bottom:1px solid var(--rule)}
@media(max-width:790px){.split{grid-template-columns:1fr}.callout{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.bar nav{gap:.4rem .72rem}.bar nav a{font-size:.74rem}.glossary{grid-template-columns:minmax(90px,.55fr) 1.45fr}.jump a{font-size:.76rem}}
/* The publication lockup is one outlined vector, with the brand guide's clear space. */
.bar .brand,.footer .brand{padding:.55rem}
.brand img{width:clamp(210px,20vw,238px);height:auto}
.with-app-shot{grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:clamp(22px,3.5vw,52px)}
.with-app-shot h1{font-size:clamp(2.45rem,4.25vw,4rem)}
.app-shot{margin:1.4rem 0 0;background:var(--surface);border:1px solid var(--rule);border-radius:1rem;box-shadow:0 12px 32px #182f2010;min-width:0;padding:.4rem}
.hero-shot{margin:0}.shot-open{display:block;border-radius:.64rem;overflow:hidden}
.shot-open img{display:block;width:100%;height:auto;background:#eee8d8}
.shot-open:hover img{filter:contrast(1.035)}
.app-shot figcaption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:.34rem .9rem;padding:.55rem .6rem .36rem;font-size:.82rem;color:var(--muted)}
.app-shot figcaption strong{color:var(--ink)}.shot-link{color:var(--ink);white-space:nowrap;font-weight:600}
.shot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2.3vw,24px);margin-top:1rem}
.shot-grid .app-shot{margin:0}
.english-shot{padding-bottom:clamp(32px,5vw,64px)}
@media(max-width:850px){.with-app-shot{grid-template-columns:1fr}.hero-shot{width:100%;max-width:none}}
@media(max-width:650px){.shot-grid{grid-template-columns:1fr}.brand img{width:210px}.app-shot figcaption{font-size:.77rem}}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin-top:1.35rem}
.hero-actions .button{margin:0;min-height:44px}
.hero-actions .button-secondary{background:transparent;border-color:var(--rule);color:var(--ink)}
.hero-actions .button-secondary:hover{background:var(--surface);border-color:var(--strong)}
@media(max-width:560px){
 .hero.with-app-shot{padding-block-start:30px}
 .hero-actions{gap:.5rem;margin-top:1.1rem}
}
@media(max-width:350px){.hero.with-app-shot h1{font-size:2.23rem}}
