/* Postie. The site's shared sheet: the tokens (the app's paper, inks and palette), the bar, the navy counter and the skip
   link every page carries, and the reading column the text pages use (privacy, terms, support, deletion, the 404).
   The front page's sections are in home.css. 2026-11-20: one chrome for every page (design review FINDING-005). */
:root{--paper:#faf6ec;--navy:#1e2a44;--red:#db2b26;--airmail:#c23b2e;--blue:#2b5aa0;--turquoise:#43becd;--periwinkle:#99b2da;--coral:#f2ac93;--yellow:#f6c72b;
      --tone:#efe8d6;--quiet:rgba(30,42,68,.72);--quietOnCounter:rgba(250,246,236,.85);--muted:var(--quiet)}
:root{
  --serif:ui-serif,"New York","Iowan Old Style",Georgia,serif;
  --sans:-apple-system,system-ui,"Helvetica Neue",Arial,sans-serif;
  --t-display:clamp(2.875rem,1.5rem + 4.9vw,5.75rem);   /* 46 → 92 */
  --t-h2:clamp(2.125rem,1.4rem + 3vw,3.75rem);         /* 34 → 60 */
  --t-h3:clamp(1.375rem,1.2rem + 0.8vw,1.75rem);       /* 22 → 28 */
  --t-lead:clamp(1.1875rem,1.05rem + 0.55vw,1.4375rem);/* 19 → 23 */
  --t-body:1.125rem;                                   /* 18 */
  --t-small:0.9375rem;                                 /* 15 */
  --margin:clamp(1rem,2.2vw,2rem);
  --gutter:clamp(1rem,2vw,2rem);
  --section:clamp(6rem,11vw,12rem);
  --ease-out:cubic-bezier(.22,1,.36,1);--ease-soft:cubic-bezier(.33,1,.68,1);
  --t-press:140ms;--t-hover:180ms;--t-ui:240ms;--t-reveal:800ms;
  /* The app's curves (app/Postie/Design/Motion.swift), so paper moves here as it does there. The springs are SwiftUI's
     .spring(response:dampingFraction:) sampled into linear() over the time they take to come to rest.
     paper.settle: paper coming to rest (a card landing, a stamp, the next card on the pile). spring 0.45 / 0.78 */
  --settle:linear(0, 0.0177, 0.0638, 0.1292, 0.2066, 0.2901, 0.3753, 0.4589, 0.5385, 0.6125, 0.6798, 0.74, 0.793, 0.8389, 0.8779, 0.9107, 0.9378, 0.9598, 0.9773, 0.9909, 1.0012, 1.0087, 1.0139, 1.0173, 1.0191, 1.0199, 1.0198, 1.019, 1.0178, 1.0163, 1.0147, 1.013, 1.0113, 1.0097, 1.0082, 1.0068, 1.0055, 1.0044, 1.0035, 1.0027, 1);
  --settle-t:570ms;
  /* paper.turn: turning a card over. spring 0.55 / 0.86 */
  --turn:linear(0, 0.0179, 0.0637, 0.1279, 0.2028, 0.2828, 0.3638, 0.4427, 0.5174, 0.5867, 0.6497, 0.7063, 0.7563, 0.7999, 0.8376, 0.8698, 0.8971, 0.9198, 0.9387, 0.9541, 0.9666, 0.9766, 0.9844, 0.9905, 0.9952, 0.9986, 1.0011, 1.0028, 1.004, 1.0046, 1.005, 1.005, 1.0049, 1.0046, 1.0043, 1.0039, 1.0035, 1.0031, 1.0027, 1.0023, 1);
  --turn-t:700ms;
  /* paper.toss: paper leaving, flung off the pile. easeIn 0.2 s */
  --toss:cubic-bezier(.42,0,1,1);--toss-t:200ms;
  /* ui.fade: appearing or going without moving. easeOut 0.25 s. Ink comes in the way the welcome's title does:
     welcomeIn, 0.4 s, rising 6 pt. */
  --fade:cubic-bezier(0,0,.58,1);--fade-t:250ms;
  --ink-in:cubic-bezier(.33,0,.2,1);--ink-in-t:400ms;--ink-rise:6px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{margin:0;background:var(--paper);color:var(--navy);overflow-x:clip}
::selection{background:var(--navy);color:var(--paper)}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.counter :focus-visible{outline-color:var(--paper)}
body{font:var(--t-body)/1.55 var(--serif);min-height:100svh;display:flex;flex-direction:column}
img{max-width:100%;height:auto}
a{color:inherit}
.bar .mark img,.counter .mark img{display:block}
.wrap{padding-inline:var(--margin)}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter)}

/* The skip link: the first thing the keyboard reaches, seen only when focused (FINDING-006). */
body a.skip{position:absolute;left:var(--margin);top:-100px;min-height:44px;padding:13px 18px;background:var(--navy);color:var(--paper);border-radius:999px;font:600 var(--t-body)/1 var(--sans);text-decoration:none;z-index:2}
body a.skip:focus-visible{top:12px;outline-color:var(--red)}

/* The bar: wordmark, three links. Ink on the table. */
.bar{display:flex;align-items:center;justify-content:space-between;gap:var(--gutter);padding-block:18px}
.bar .mark img{width:132px;height:auto}
.bar nav{display:flex;gap:clamp(18px,2.4vw,36px);font-family:var(--serif);font-size:var(--t-body);line-height:1.5}
.bar nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 0;text-decoration:none;text-underline-offset:.22em;text-decoration-thickness:1.5px;transition:color var(--t-hover) ease}   /* 44px tall to tap (FINDING-003) */
.bar nav a:hover{text-decoration:underline;color:var(--red)}


/* The reading column: the text pages' one column of serif, as before, between the bar and the counter. */
main.read{width:100%;max-width:calc(40rem + 2 * var(--margin));margin:0 auto;padding:16px var(--margin) 72px;flex:1}
.read h1{font-weight:600;font-size:2.125rem;line-height:1.15;margin:0 0 6px}
.read h2{font-weight:600;font-size:1.375rem;line-height:1.25;margin:40px 0 10px}
.read h3{font-weight:600;font-size:var(--t-body);margin:26px 0 6px}
.read p,.read li{margin:0 0 14px} .read ul,.read ol{padding-left:1.3em} .read li{margin-bottom:10px}
.read .updated{color:var(--quiet);font-size:var(--t-small);margin:0 0 28px}
.read .short{background:var(--tone);border-radius:10px;padding:18px 20px 6px;margin:24px 0 8px}
.read .short h2{margin-top:0;font-size:var(--t-body)}
.read a{color:var(--navy);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1.5px}
.read a:hover{color:var(--red)}
.read .big{display:block;text-align:center;font-size:1.25rem;margin:40px 0}
.read .big a{display:inline-block;padding:10px 4px}

/* The close on every page: the app's navy counter. */
.counter{background:var(--navy);color:var(--paper);padding-block:clamp(56px,6vw,88px) 32px}
.counter .mark img{width:clamp(120px,12vw,168px);height:auto}   /* 2026-11-26, Ian: smaller; the page has the logo up top */
.counter .tag{font-family:var(--serif);font-size:var(--t-h3);margin-top:18px}
.counter .left{grid-column:1/8}
.counter nav{grid-column:9/13;display:flex;flex-direction:column;gap:12px;font-size:var(--t-body);align-self:end}
.counter nav a{display:inline-block;padding:9px 0;margin:-9px 0;text-decoration:none;text-underline-offset:.2em;text-decoration-thickness:1.5px;width:max-content}
.counter nav a:hover{text-decoration:underline}
.counter .fine{grid-column:1/13;margin-top:clamp(40px,5vw,72px);font-size:var(--t-small);line-height:1.5;color:var(--quietOnCounter);display:flex;flex-wrap:wrap;gap:6px 28px}
.counter .fine p{max-width:none}

.counter nav,.counter .fine{font-family:var(--sans)}
.counter nav a,.counter .fine a{color:inherit}

@media (max-width:899px){
  .bar{padding-block:14px}
  .bar .mark img{width:104px}
  .counter .left,.counter nav,.counter .fine{grid-column:1/13}
  .counter nav{flex-direction:row;flex-wrap:wrap;gap:10px 24px;margin-top:32px}
}
@media (max-width:480px){
  .bar .mark img{width:88px}
  .bar nav{gap:12px;font-size:var(--t-small)}
}
