/* Shared look for every page except the homepage: the homepage's morning, without its moving meadow. */
@font-face{font-family:'Nunito';font-weight:700 800;font-display:swap;src:url(fonts/Nunito-latin.woff2) format('woff2')}
@font-face{font-family:'Inter';font-weight:400;font-display:swap;src:url(fonts/Inter-400.woff) format('woff')}
@font-face{font-family:'Inter';font-weight:600;font-display:swap;src:url(fonts/Inter-600.woff) format('woff')}
@font-face{font-family:'Inter';font-weight:700;font-display:swap;src:url(fonts/Inter-700.woff) format('woff')}

:root{
  --sky:#eff4e4; --ink:#22342b; --soft:#4a5d50; --accent:#1a7d52; --line:#22342b26; --card:#f8faf1; --tint:#e4ecd6;
  /* The pages' own inline styles use these names. */
  --bg-window:var(--sky); --bg-card:var(--card); --border:var(--line); --border-soft:#22342b1a;
  --text-primary:var(--ink); --text-muted:var(--soft); --text-faint:#566a5c; --accent-hover:var(--accent);
  --cyan:var(--accent); --green:var(--accent); --amber:#8a5a12;
}
*{box-sizing:border-box}
html{background:var(--sky); scrollbar-color:var(--accent) var(--sky); -webkit-text-size-adjust:100%}
body{margin:0; min-height:100vh; display:flex; flex-direction:column; background:var(--sky); color:var(--ink); font:400 17px/1.7 Inter,system-ui,-apple-system,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; overflow-x:clip}
/* The grass sits at the very end of each page, drawn from the same strokes as the homepage. */
body::after{content:""; display:block; flex:none; height:130px; margin-top:auto; background:url(grass.svg) center bottom/auto 130px repeat-x}

.wrap{width:100%; max-width:720px; margin:0 auto; padding:40px 24px 56px}
a{color:var(--accent); text-underline-offset:.16em; text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
a:focus-visible,summary:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:4px}

.back{display:inline-flex; align-items:center; gap:10px; min-height:44px; margin-bottom:28px; font-size:15px; font-weight:600; color:var(--soft); text-decoration:none}
.back::before{content:""; width:34px; height:20px; flex:none; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 102 60'%3E%3Cg fill='%231a7d52'%3E%3Crect x='2' y='27' width='6' height='6' rx='3'/%3E%3Crect x='13' y='23' width='6' height='14' rx='3'/%3E%3Crect x='24' y='18' width='6' height='24' rx='3'/%3E%3Crect x='35' y='13' width='6' height='34' rx='3'/%3E%3Crect x='46' y='7' width='6' height='46' rx='3'/%3E%3Crect x='57' y='13' width='6' height='34' rx='3'/%3E%3Crect x='68' y='18' width='6' height='24' rx='3'/%3E%3Crect x='79' y='23' width='6' height='14' rx='3'/%3E%3Crect x='90' y='27' width='6' height='6' rx='3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.back:hover{color:var(--ink)}

.eyebrow{display:block; margin:0 0 10px; font-size:15px; font-weight:600; color:var(--accent)}
h1,h2,h3{font-family:Nunito,Inter,sans-serif; color:var(--ink); text-wrap:balance}
h1{margin:0 0 16px; font-size:clamp(34px,6vw,50px); font-weight:800; line-height:1.1; letter-spacing:-.01em}
h2{margin:52px 0 14px; font-size:clamp(25px,3.6vw,31px); font-weight:800; line-height:1.2; scroll-margin-top:20px}
h3{margin:30px 0 8px; font-size:20px; font-weight:800; line-height:1.3}
.subhead{margin:0 0 30px; font-size:clamp(18px,2.2vw,20px); line-height:1.6; color:var(--soft)}
.updated{margin:0 0 36px; font-size:14px; color:var(--text-faint)}
p,li{color:var(--soft); overflow-wrap:break-word}
p{margin:0 0 16px}
ul,ol{margin:0 0 18px; padding-left:22px}
li{margin:5px 0}
li::marker{color:var(--accent)}
strong{color:var(--ink); font-weight:600}
img,video{max-width:100%; height:auto}

code{padding:1px 6px; border:1px solid var(--border-soft); border-radius:6px; background:var(--tint); color:var(--ink); font:.88em/1.5 ui-monospace,"Cascadia Mono",Consolas,monospace; overflow-wrap:anywhere}
pre{margin:12px 0 20px; padding:14px 18px; border:1px solid var(--line); border-radius:12px; background:var(--card); overflow-x:auto}
pre code{padding:0; border:0; background:none; font-size:14px; line-height:1.7; overflow-wrap:normal}
.keycap{display:inline-block; min-width:28px; padding:1px 8px; border:1px solid var(--line); border-bottom-width:3px; border-radius:7px; background:var(--card); color:var(--ink); font:600 .86em/1.6 Inter,sans-serif; text-align:center}

.card,.steps,.toc{margin:20px 0; padding:18px 22px; border:1px solid var(--line); border-radius:14px; background:var(--card)}
.card>:last-child,.steps>:last-child{margin-bottom:0}
.card h3:first-child,.card h2:first-child{margin-top:0}
.card.note{border-color:#8a5a1233; background:#f6edd3}
.card.note strong{color:var(--amber)}
.steps ol{margin:0}
.toc ol{margin:10px 0 0; columns:2; column-gap:32px}
.toc li{margin:0 0 5px; font-size:15px; break-inside:avoid}
.toc a{text-decoration:none}
.toc a:hover{text-decoration:underline}

.cta-row{display:flex; flex-wrap:wrap; gap:12px; margin:30px 0 10px}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:0 22px; border:1px solid var(--line); border-radius:999px; color:var(--ink); font-size:15px; font-weight:600; text-decoration:none; transition:border-color .2s ease,transform .2s ease}
.btn:hover{border-color:var(--ink); transform:translateY(-1px)}
.btn:active{transform:none}
.btn-primary{border-color:var(--accent); background:var(--accent); color:#fff}
.btn-primary:hover{border-color:var(--accent)}
.btn-secondary{background:var(--card)}

.table-scroll,.tablewrap{width:100%; margin:20px 0; overflow-x:auto; border-radius:14px}
table{width:100%; min-width:420px; border:1px solid var(--line); border-radius:14px; border-collapse:separate; border-spacing:0; background:var(--card)}
th,td{padding:12px 16px; border-bottom:1px solid var(--border-soft); color:var(--soft); font-size:15px; line-height:1.55; text-align:left; vertical-align:top}
th{color:var(--ink); font-weight:600; font-size:14px}
tr:last-child td{border-bottom:0}
td.first{color:var(--ink); font-weight:600}
td.yes{color:var(--accent); font-weight:600}
td.no{color:var(--text-faint)}

.faq-item{padding:20px 0; border-bottom:1px solid var(--border-soft)}
.faq-item:last-of-type{border-bottom:0}
.faq-item h3{margin:0 0 8px; font-size:18px}
.faq-item>:last-child{margin-bottom:0}
.fine-print{font-size:14px; color:var(--text-faint)}
.hero-clip{margin:28px 0 8px; overflow:hidden; border:1px solid var(--line); border-radius:16px}
.hero-clip video{display:block; width:100%; height:auto}

/* The 404 page has one short message, centred. */
body>main{margin:auto; max-width:540px; padding:48px 24px; text-align:center}

@media (max-width:560px){
  .wrap{padding:24px 20px 40px}
  .toc ol{columns:1}
  table.stack{min-width:0}
  table.stack thead{display:none}
  table.stack tr{display:block; padding:12px 0; border-bottom:1px solid var(--border-soft)}
  table.stack tr:last-child{border-bottom:0}
  table.stack td{display:block; padding:3px 16px; border:0}
  table.stack td[data-label]::before{content:attr(data-label) ": "; color:var(--text-faint); font-size:13px; font-weight:600}
}
@media (prefers-reduced-motion:reduce){.btn{transition:none}.btn:hover{transform:none}}

/* Smooth scrolling (assets/smooth.js) takes over from the browser's own. */
html.lenis, html.lenis body{height:auto}
html.lenis,.lenis.lenis-smooth{scroll-behavior:auto !important}
.lenis.lenis-stopped{overflow:hidden}
