/* Shared frame of the service pages: fonts, header, breadcrumb, FAQ, reading list and footer.
   Each page sets the --sh-* colours and everything between header and footer is its own. */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/space-grotesk-latin.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/inter-latin.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk Fallback';font-weight:400 600;src:local('Arial'),local('ArialMT');size-adjust:107%}
@font-face{font-family:'Space Grotesk Fallback';font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT');size-adjust:101%}
@font-face{font-family:'Inter Fallback';font-weight:400 500;src:local('Arial'),local('ArialMT');size-adjust:106.5%}
@font-face{font-family:'Inter Fallback';font-weight:600 700;src:local('Arial Bold'),local('Arial-BoldMT');size-adjust:101.5%}

:root{
  --display:'Space Grotesk','Space Grotesk Fallback',system-ui,sans-serif;
  --body:'Inter','Inter Fallback',system-ui,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace;
  --wrap:1240px;
  --gutter:clamp(16px,4vw,40px);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--sh-bg);color:var(--sh-fg);font:400 1.0625rem/1.65 var(--body);overflow-x:hidden}
h1,h2,h3{font-family:var(--display);line-height:1.08;margin:0;letter-spacing:-.02em;text-wrap:balance}
p{margin:0 0 1em;text-wrap:pretty}
a{color:inherit;text-underline-offset:.18em;text-decoration-thickness:1px}
img,svg{max-width:100%}
.wrap{width:min(var(--wrap),100% - 2*var(--gutter));margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:focus-visible{outline:3px solid var(--sh-focus);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:12px;top:-80px;z-index:50;padding:10px 16px;border-radius:8px;background:var(--sh-fg);color:var(--sh-bg);font-weight:600}
.skip:focus{top:12px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:48px;padding:12px 24px;border:2px solid transparent;border-radius:999px;font:700 1rem/1.2 var(--display);text-decoration:none;cursor:pointer}
.btn-solid{background:var(--sh-btn-bg);color:var(--sh-btn-fg)}
.btn-solid:hover{filter:brightness(1.07)}
.btn-line{border-color:currentColor;background:transparent;color:inherit}
.btn-line:hover{background:var(--sh-hover)}

/* header */
.sh-head{border-bottom:1px solid var(--sh-rule)}
.sh-head .wrap{display:flex;align-items:center;gap:24px;min-height:72px}
.sh-logo{display:inline-flex;align-items:center;gap:9px;min-height:44px;font:600 1.02rem/1 var(--mono);text-decoration:none}
.sh-logo img{width:24px;height:24px}
.sh-nav{display:flex;gap:4px;margin-left:auto;overflow-x:auto;scrollbar-width:none}
.sh-nav::-webkit-scrollbar{display:none}
.sh-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;white-space:nowrap;font-size:.93rem;font-weight:500;text-decoration:none}
.sh-nav a:hover{background:var(--sh-hover)}
.sh-nav a[aria-current="page"]{background:var(--sh-fg);color:var(--sh-bg)}
.sh-head .btn{min-height:44px;padding:8px 18px;font-size:.93rem;white-space:nowrap}
@media (max-width:1000px){
  .sh-head .wrap{flex-wrap:wrap;row-gap:0;padding-block:10px}
  .sh-head .btn{margin-left:auto;order:2}
  .sh-nav{order:3;width:100%;margin:6px 0 0;flex-wrap:wrap}
}
@media (max-width:620px){
  .sh-nav a{min-height:44px;padding:0 10px;font-size:.85rem}
}

.crumbs{padding-top:22px;font-size:.84rem}
.crumbs ol{display:flex;flex-wrap:wrap;gap:0 10px;margin:0;padding:0;list-style:none}
.crumbs li+li::before{content:"/";margin-right:10px;opacity:.55}
.crumbs a{opacity:.85}

/* questions and answers */
.faq{border-top:2px solid currentColor}
.faq details{border-bottom:1px solid var(--faq-rule)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;padding:14px 0;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary h3{font-size:clamp(1.08rem,2vw,1.32rem);letter-spacing:-.01em;line-height:1.3}
.faq summary::after{content:"";flex:0 0 14px;height:14px;background:currentColor;clip-path:polygon(40% 0,60% 0,60% 40%,100% 40%,100% 60%,60% 60%,60% 100%,40% 100%,40% 60%,0 60%,0 40%,40% 40%);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{max-width:68ch;margin:0;padding:0 0 22px}

/* further reading */
.reading{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:0 40px;margin:0;padding:0;list-style:none}
.reading li{border-top:1px solid var(--faq-rule)}
.reading a{display:block;padding:18px 0 20px;text-decoration:none}
.reading b{display:block;margin-bottom:4px;font:700 1.12rem/1.3 var(--display);text-decoration:underline;text-underline-offset:.2em}
.reading span{display:block;font-size:.93rem;line-height:1.55;opacity:.85}

/* footer */
.sh-foot{padding:56px 0 40px;border-top:1px solid var(--sh-rule);font-size:.93rem}
.sh-foot .wrap{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:32px}
.sh-foot h2{margin-bottom:10px;font-size:1rem;letter-spacing:0}
.sh-foot ul{margin:0;padding:0;list-style:none}
.sh-foot li a{display:inline-block;min-height:32px;padding:4px 0;text-decoration:none}
.sh-foot li a:hover{text-decoration:underline}
.sh-foot p{max-width:34ch;opacity:.85}
@media (max-width:760px){.sh-foot .wrap{grid-template-columns:1fr 1fr}.sh-foot .sh-about{grid-column:1/-1}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
.logo-word{display:inline-block;line-height:1;white-space:nowrap}.logo-sub{display:block;margin-top:3px;font-size:.58em;font-weight:500;letter-spacing:.42em;text-transform:uppercase;opacity:.66}
