/* Shared stylesheet for StoryRoom's public legal pages: /terms, /privacy, /refunds.
   Same palette and typeface as home.html — wisgen.ai's, sampled from the first author's
   manuscript: the cool grey of the sheet, the violet-black of the biro, the oxblood of
   his red pen. Static pages, no script: this file is all the behaviour they have. */
:root{
  --paper:#E7E8EC; --sheet:#F4F5F7; --ink:#1C1D24; --ink-2:#4E515C; --ink-3:#5F636E;
  --pen:#8A4A46; --pen-soft:#B98D89; --rule:#CDD0D7;
  --measure:66ch; --shell:74rem; --gutter:clamp(1.25rem,5vw,4rem);
  --serif:"Literata",Georgia,"Times New Roman",serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);
  font-size:1.125rem;line-height:1.62;font-optical-sizing:auto;-webkit-font-smoothing:antialiased}
a{color:var(--pen);text-underline-offset:.18em;text-decoration-thickness:from-font}
a:hover{color:var(--ink)}
:focus-visible{outline:2px solid var(--pen);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:-9999px;background:var(--ink);color:var(--sheet);padding:.6rem 1rem;text-decoration:none}
.skip:focus{left:1rem;top:1rem;z-index:10}
.shell{max-width:var(--shell);margin-inline:auto;padding-inline:var(--gutter)}

.masthead{border-bottom:1px solid var(--rule);padding-block:1.15rem}
.masthead-in{display:flex;flex-wrap:wrap;gap:.75rem 2rem;align-items:baseline;justify-content:space-between}
.wordmark{font-size:1.3rem;font-weight:600;letter-spacing:-.012em;color:var(--ink);text-decoration:none}
.wordmark span{font-weight:400;color:var(--ink-3);font-size:1rem}
.masthead nav{display:flex;flex-wrap:wrap;gap:1.5rem;font-size:.98rem}
.masthead nav a{color:var(--ink-2);text-decoration:none}
.masthead nav a:hover{color:var(--pen);text-decoration:underline}

main{padding-block:clamp(2.75rem,7vw,4.5rem)}
h1{margin:0;font-size:clamp(2.1rem,5.2vw,3.2rem);font-weight:300;line-height:1.08;
  letter-spacing:-.026em;max-width:18ch}
.updated{margin:.9rem 0 0;font-size:.92rem;font-style:italic;color:var(--ink-3)}

.prose{max-width:var(--measure);margin-top:clamp(2rem,4vw,2.8rem)}
.prose h2{margin:2.5rem 0 .9rem;font-size:clamp(1.3rem,2.4vw,1.6rem);font-weight:400;
  line-height:1.2;letter-spacing:-.016em}
.prose h2:first-child{margin-top:0}
.prose p{margin:0 0 1.1rem}
.prose p:last-child{margin-bottom:0}
.prose ul{margin:0 0 1.2rem;padding:0;list-style:none}
.prose li{margin-bottom:.85rem;padding-left:1.15rem;border-left:2px solid var(--rule);color:var(--ink-2)}
.prose li:last-child{margin-bottom:0}
.prose b,.prose strong{color:var(--ink);font-weight:600}

footer{border-top:1px solid var(--rule);padding-block:clamp(2.5rem,5vw,3.5rem);font-size:.98rem;color:var(--ink-2)}
.footer-in{display:grid;gap:1.8rem 3rem}
@media(min-width:46rem){.footer-in{grid-template-columns:repeat(4,minmax(0,1fr))}}
.footer-block p{margin:0 0 .3rem}
.footer-name{font-size:1.15rem;font-weight:600;color:var(--ink);letter-spacing:-.012em}
