/* Routipie's own identity: the parent's felt board (grey-blue board, cream felt, mustard, stitched edges)
   with the child's pie colours as the only accents. Rounded type. Light first. */
:root {
  --bg: #DCE3E8; --card: #F7EEDD; --stitch: #B8AE9A; --border: #C9CFD4;
  --text: #1F2328; --dim: #555B62; --link: #1B5E8C; --mustard: #E8A820; --on-mustard: #231A10;
  --morning: #FFC928; --afternoon: #2BC4B6; --pie: #FF4FA3; --night: #241F63; --line: #231A4B;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E2329; --card: #2A3038; --stitch: #566070; --border: #343B44;
    --text: #F7EEDD; --dim: #AEB4BA; --link: #8CC4EA; --mustard: #E8A820; --on-mustard: #231A10;
    --night: #6F67C9; --line: #F7EEDD;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg); color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px; line-height: 1.65;
}
.narrow { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.nav { padding: 22px 0; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.mark img { width: 32px; height: 32px; border-radius: 8px; }
.mark span { font-weight: 700; letter-spacing: -.01em; font-size: 19px; }
main { padding: 24px 0 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--link); margin-bottom: 10px; }
h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 10px; }
.updated { color: var(--dim); font-size: 14.5px; margin-bottom: 32px; }
h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 10px; padding-top: 22px; border-top: 2px dashed var(--stitch); }
p { margin-bottom: 14px; }
p.lead { font-size: 1.12rem; margin-bottom: 22px; }
ul { margin: 0 0 14px 22px; }
li { margin-bottom: 8px; }
strong { font-weight: 700; }
a { color: var(--link); text-underline-offset: 2px; }
.hero { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.hero img { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 6px 20px rgba(31, 35, 40, .16); }
.pies { display: flex; gap: 14px; margin: 6px 0 20px; }
.pies svg { width: 44px; height: 44px; }
.pies .rim { fill: none; stroke: var(--line); stroke-width: 3; }
.pies .left { stroke: var(--line); stroke-width: 3; stroke-linejoin: round; }
.card {
  background: var(--card); border-radius: 18px; padding: 20px 22px; margin: 12px 0;
  outline: 2px dashed var(--stitch); outline-offset: -7px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.card p { margin: 0; color: var(--dim); font-size: 15.5px; }
.cta {
  display: inline-block; margin: 8px 0 6px; padding: 13px 22px; border-radius: 999px;
  background: var(--mustard); color: var(--on-mustard); font-weight: 700; text-decoration: none;
  border: 2px solid var(--on-mustard); box-shadow: 0 3px 0 var(--on-mustard);
}
.note { color: var(--dim); font-size: 14.5px; }
.box { background: var(--card); border-radius: 14px; padding: 14px 18px; margin: 18px 0; border-left: 5px solid var(--afternoon); }
.box p { margin: 0; }
footer { padding: 48px 0 60px; margin-top: 24px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 18px; justify-content: space-between; border-top: 2px dashed var(--stitch); padding-top: 24px; }
.foot, .foot a { color: var(--dim); font-size: 14px; text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .links { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 480px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .hero img { width: 72px; height: 72px; border-radius: 17px; }
}
