
*{box-sizing:border-box;margin:0}
:root{--bg:#FFF6E9;--surface:#FFFFFF;--primary:#FF5D8F;--accent:#FFD23F;
--pop:#59C9A5;--ink:#4A2C2A;--muted:#7A5C58;--line:#F2E3D0;--logobg:#FFF6E9}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font-family:'Karla', system-ui, sans-serif;line-height:1.7;font-size:17px}
img{max-width:100%;height:auto;display:block}
a{color:var(--primary)}
.wrap{max-width:1080px;margin:0 auto;padding:0 1.25rem}
.narrow{max-width:760px}
header.site{background:var(--logobg);border-bottom:1px solid var(--line);padding:.3rem 0}
header.site .wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;flex-wrap:wrap;text-align:center}
.brand img{height:auto;width:auto;max-height:128px;max-width:100%}
@media(max-width:640px){.brand img{max-height:76px}}
nav.main{display:flex;gap:1.25rem;flex-wrap:wrap;justify-content:center;font-weight:600;font-size:.95rem}
nav.main a{color:var(--ink);text-decoration:none}
nav.main a:hover{color:var(--primary)}
h1,h2,h3,h4{font-family:'Fraunces', Georgia, serif;line-height:1.2;text-wrap:balance;color:var(--ink)}
h1{font-size:clamp(1.9rem,4.6vw,2.9rem);font-weight:700;margin:0 0 .8rem}
h2{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:700;margin:2.4rem 0 .8rem}
h3{font-size:1.18rem;font-weight:600;margin:1.8rem 0 .5rem}
p,ul,ol,table{margin:0 0 1.1rem}
ul,ol{padding-left:1.3rem}
li{margin:.3rem 0}
.hero{padding:3rem 0 2.2rem;text-align:center}
.hero p.tag{font-size:1.15rem;color:var(--muted);max-width:60ch;margin:0 auto 1.6rem}
.herotool{background:var(--surface);border:2px solid var(--primary);border-radius:18px;
padding:1.8rem 1.5rem;max-width:660px;margin:0 auto;text-align:left}
.herotool .k{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--primary);font-weight:700}
.herotool h2{margin:.3rem 0 .5rem;font-size:1.55rem}
.herotool p{color:var(--muted);margin-bottom:1.1rem}
.btn{display:inline-block;background:var(--primary);color:#fff;text-decoration:none;font-weight:700;
padding:.85rem 1.6rem;border-radius:999px;border:0;font-size:1rem}
.btn:hover{filter:brightness(.93)}
.btn.alt{background:var(--accent);color:var(--ink)}
.grid{display:grid;gap:.9rem}
.tools{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}
.tile{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1rem .8rem 1.1rem;
text-decoration:none;color:var(--ink);display:flex;flex-direction:column;align-items:center;text-align:center;
transition:transform .12s,border-color .12s,box-shadow .12s}
.tile:hover,.tile:focus-visible{border-color:var(--primary);transform:translateY(-3px);
box-shadow:0 8px 22px rgba(0,0,0,.08)}
.tile img{width:100%;max-width:120px;aspect-ratio:1/1;height:auto;border-radius:12px;margin-bottom:.6rem}
.tile b{font-family:'Fraunces', Georgia, serif;font-size:1rem;line-height:1.25;margin-bottom:.18rem}
.tile span{font-size:.82rem;color:var(--muted);line-height:1.45}
@media(max-width:420px){.tools{grid-template-columns:repeat(2,1fr);gap:.7rem}
.tile{padding:.8rem .5rem .9rem}.tile b{font-size:.92rem}.tile span{font-size:.76rem}}
.cards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));align-items:start}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.2rem;
text-decoration:none;color:var(--ink);display:block}
.card:hover{border-color:var(--primary)}
.card b{display:block;font-family:'Fraunces', Georgia, serif;font-size:1.05rem;margin-bottom:.2rem}
.card span{font-size:.9rem;color:var(--muted)}
.card .kw{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--primary);font-weight:700}
section{padding:1.6rem 0}
.sechead{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.sechead h2{margin:0}
.sechead a{font-weight:600;font-size:.95rem}
article table{width:100%;border-collapse:collapse;font-size:.95rem;background:var(--surface);
border:1px solid var(--line);border-radius:10px;overflow:hidden}
article th{background:var(--bg);text-align:left;padding:.6rem .8rem;border-bottom:2px solid var(--line);font-weight:700}
article td{padding:.55rem .8rem;border-bottom:1px solid var(--line);vertical-align:top}
article tr:last-child td{border-bottom:0}
.tablewrap{overflow-x:auto;margin:0 0 1.2rem}
article h2{border-top:1px solid var(--line);padding-top:1.6rem}
article h2:first-of-type{border-top:0}
.meta{color:var(--muted);font-size:.92rem;margin-bottom:1.4rem}
.toolcta{background:var(--surface);border-left:5px solid var(--accent);border-radius:0 12px 12px 0;
padding:1rem 1.2rem;margin:1.6rem 0}
.toolcta a{font-weight:700}
.faq h3{font-size:1.05rem;background:var(--surface);border:1px solid var(--line);border-radius:10px;
padding:.7rem .9rem;margin:.8rem 0 .4rem}
blockquote{border-left:4px solid var(--accent);padding-left:1rem;color:var(--muted);margin:0 0 1.1rem}
code{background:var(--surface);padding:.1rem .35rem;border-radius:4px;font-size:.92em}
footer.site{border-top:1px solid var(--line);margin-top:3rem;padding:2rem 0;background:var(--surface)}
footer.site .wrap{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;font-size:.92rem;color:var(--muted)}
footer.site a{color:var(--muted);margin-right:1rem}
.crumb{font-size:.88rem;color:var(--muted);padding:1rem 0 0}
.crumb a{color:var(--muted)}
.notice{background:var(--surface);border:1px dashed var(--accent);border-radius:10px;padding:.8rem 1rem;
font-size:.9rem;color:var(--muted);margin:1.2rem 0}

.hero{display:block;margin:0 0 1.6rem}
.hero img{width:100%;max-width:420px;height:auto;border-radius:14px;display:block;margin:0 auto;box-shadow:0 2px 14px rgba(0,0,0,.08)}

/* article-card thumbnail: 2:3 art cropped to a band so cards stay even */
.card .thumb{display:block;margin:-1px -1px .9rem;overflow:hidden;border-radius:12px 12px 0 0;background:#FFF6E9}
/* full 2:3 portrait: these are pin-style posters and a landscape crop
   cut the headline typography clean off the top */
.card .thumb img{width:100%;aspect-ratio:2/3;height:auto;object-fit:cover;display:block}
.card{overflow:hidden}

/* --- sticky chrome ------------------------------------------------ */
/* header pins to the top; the footer is a "sticky footer" in the layout
   sense, pushed to the bottom of the viewport when a page is short, rather
   than floating over the content and eating reading space. */
body{min-height:100vh;display:flex;flex-direction:column}
/* flex items shrink to content, which collapsed .wrap from full width to its
   text width and threw the whole page narrow. Keep them behaving like blocks. */
body>*{width:100%}
body>.wrap{flex:1 0 auto}
/* Solid, not translucent. A backdrop-filter on a sticky element makes the
   compositor repaint the whole strip on every scroll frame, which leaves
   ghost blocks and blank bands behind the bar on real scrolls. */
header.site{position:sticky;top:0;z-index:50;background:var(--logobg);
box-shadow:0 1px 0 var(--line),0 6px 18px rgba(0,0,0,.05)}
footer.site{margin-top:auto}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
/* anchor targets clear the sticky header */
:target{scroll-margin-top:96px}

/* --- contact form -------------------------------------------------- */
.cf-form{max-width:560px;margin:1.4rem 0 0}
.cf-row{margin:0 0 1rem;display:flex;flex-direction:column;gap:.35rem}
.cf-row label{font-weight:600;font-size:.94rem;color:#4A2C2A}
.cf-row input,.cf-row textarea{font:inherit;padding:.7rem .8rem;border:2px solid #F2E3D0;
border-radius:10px;background:#fff;color:#4A2C2A;width:100%}
.cf-row input:focus,.cf-row textarea:focus{outline:none;border-color:#FF5D8F}
.cf-row textarea{min-height:150px;resize:vertical}
.cf-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.cf-form button{font:inherit;font-weight:700;background:#FF5D8F;color:#fff;border:0;
border-radius:10px;padding:.8rem 1.5rem;cursor:pointer;min-height:48px}
.cf-form button:disabled{opacity:.6;cursor:default}
.cf-status{margin:.9rem 0 0;font-weight:600;min-height:1.4em}
.cf-status.ok{color:#FF5D8F} .cf-status.err{color:#B00020}
.legal h2{margin-top:2rem} .legal p,.legal li{color:#4A2C2A}
.legal .upd{color:#7A5C58;font-size:.92rem}

/* Mobile card layout. Must come last: media queries add no
   specificity, so the base .card rules above would otherwise win. */
@media(max-width:640px){
.card{display:grid;grid-template-columns:96px 1fr;gap:.85rem;align-items:start;padding:.8rem}
.card .thumb{margin:0;border-radius:9px;grid-row:span 3}
.card .thumb img{width:96px;height:144px;aspect-ratio:auto}
.card b{margin-bottom:.15rem;font-size:1rem}
.card span{font-size:.85rem}
}
