/* Blog (Nov 2026). Loaded after /fonts/fonts.css and /site-v5.css, which give the palette, the
   nav and the footer. This file adds the base rules those pages get from site-v2..v4 (not loaded
   here, to keep the blog light) and the reading layout: one column, about 68 characters wide. */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
:root{--serif:"Playfair Display","Iowan Old Style",Georgia,serif;--sans:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif}
body{font-family:var(--sans);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1120px;margin:0 auto;padding:0 clamp(20px,5vw,40px)}

/* post header */
.crumbs{font-size:13.5px;color:var(--ink-3);padding-top:clamp(28px,5vw,48px)}
.crumbs a{color:var(--ink-2)}
.crumbs a:hover{color:var(--ink)}
.post-head{max-width:680px;margin:0 auto;padding-top:clamp(20px,3vw,32px)}
.kicker{font-family:var(--serif);font-style:italic;font-size:1.15rem;color:var(--accent-ink);margin-bottom:12px}
.post-head h1,.blog-head h1{font-family:var(--serif);font-weight:500;font-size:clamp(2.1rem,5vw,3.4rem);line-height:1.05;letter-spacing:-.02em;text-wrap:balance}
.post-head .dek{font-size:clamp(1.08rem,1.9vw,1.22rem);color:var(--ink-2);margin-top:18px;line-height:1.5;max-width:60ch}
.byline{display:flex;align-items:center;gap:12px;margin-top:26px;font-size:14.5px;color:var(--ink-2)}
.byline img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.byline b{color:var(--ink);font-weight:600}

/* post body */
/* Reading column (13 Nov 2026): 680px wide with 20px text is about 70 characters a line, inside the
   50 to 75 that reads best; it was 760px at 17px, about 84. Phones get 18px. */
.post{max-width:680px;margin:0 auto;padding:clamp(28px,4vw,44px) 0 0;font-size:20px;line-height:1.6}
@media(max-width:560px){.post{font-size:18px}}
.post p{margin:0 0 24px}
.post h2{font-family:var(--serif);font-weight:500;font-size:clamp(1.5rem,3vw,1.9rem);line-height:1.2;letter-spacing:-.01em;margin:48px 0 14px;scroll-margin-top:84px}
.post ul,.post ol{margin:0 0 20px;padding-left:1.3rem}
.post li{margin:8px 0}
.post b{font-weight:600;color:var(--ink)}
.post a{color:var(--accent-ink);font-weight:600}
.post a:hover{text-decoration:underline}
.post blockquote{margin:36px 0;padding:2px 0 2px 22px;border-left:2px solid var(--accent);font-family:var(--serif);font-size:clamp(1.2rem,2.2vw,1.4rem);line-height:1.45}
.post blockquote footer{font-family:var(--sans);font-size:14px;color:var(--ink-2);margin-top:10px}
.tw{overflow-x:auto;margin:0 0 24px}
.post table{border-collapse:collapse;width:100%;font-size:16.5px}
.post th,.post td{text-align:left;padding:11px 14px 11px 0;border-bottom:1px solid var(--line);vertical-align:top}
.post th{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2)}
/* question and answer must not look alike (Bala, 13 Nov 2026): the question is bold white, the
   answer one step smaller and softer (still about 12:1 on the page), and a line separates each pair */
.faq dt{font-weight:700;color:var(--ink);padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}
.faq dt:first-child{border-top:0;margin-top:0;padding-top:4px}
.faq dd{margin-top:6px;font-size:.92em;color:#cfcbd9}
.faq+p{margin-top:32px}
.takeaways{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:22px 24px;margin:0 0 28px}
.takeaways h2{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-ink);margin:0 0 8px}
.takeaways ul{margin:0}
.toc-in{font-size:16px;color:var(--ink-2);margin:0 0 8px}
.takeaways{font-size:17.5px}
.toc-in b{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2)}
.toc-in ol{margin:8px 0 0}
.toc-in li{margin:4px 0}

/* the picture at the top of a post: wider than the reading column */
.hero{max-width:1000px;margin:clamp(28px,4vw,44px) auto 0}
.hero img{width:100%;border-radius:clamp(16px,2.4vw,28px);border:1px solid var(--line)}
.hero+.post{padding-top:clamp(28px,4vw,40px)}
/* a service's logo beside its heading in the import guide */
.post h2.src-h{display:flex;align-items:center;gap:12px}
.post h2.src-h img{width:36px;height:36px;border-radius:9px}

/* phone screens: framed like the home page's, on a panel with the caption beside; stacked when narrow */
/* two phone screens side by side; one under the other on a phone */
.shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:36px 0}
.shots .shot{margin:0}
.shots .device{width:min(220px,86%)}
@media(max-width:560px){.shots{grid-template-columns:1fr;gap:32px}}

/* a drawn picture inside a post, the width of the column, caption underneath */
.wide{margin:36px 0;display:flex;flex-direction:column;gap:12px}
.wide img{width:100%;border-radius:18px;border:1px solid var(--line)}
.wide figcaption{color:var(--ink-2);font-size:14.5px;line-height:1.5;text-align:center}

/* small labels: tags, scene markers, names. Purple-tinted like the app's own chips */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px!important}
.chips span{font-size:14px;font-weight:600;line-height:1;padding:7px 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent-ink)}
.chips.who span{background:transparent;border:1px solid var(--line-2);color:var(--ink)}

/* numbered steps: the number in a ring, the step beside it */
.steps{display:flex;flex-direction:column;gap:6px;margin:8px 0 8px}
.step{display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;padding:22px 0;border-top:1px solid var(--line)}
.step:first-child{border-top:0}
.step .num{width:44px;height:44px;border-radius:50%;border:1px solid var(--line-2);display:grid;place-items:center;font-family:var(--serif);font-size:20px;color:var(--accent-ink)}
.post h4{font-size:20px;font-weight:600;line-height:1.3;margin:8px 0 8px;color:var(--ink)}
.step p:last-child,.role p:last-child{margin-bottom:0!important}
.step .chips{margin:14px 0 0!important}

/* who should note what: one card each, with the tags that suit them */
.roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:8px 0 28px}
.role{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px 22px;font-size:17px;line-height:1.55}
.role h4{margin:0 0 12px;font-size:18.5px}
.role:last-child:nth-child(odd){grid-column:1/-1}
@media(max-width:640px){.roles{grid-template-columns:1fr}.step{grid-template-columns:36px minmax(0,1fr);gap:14px}.step .num{width:36px;height:36px;font-size:17px}}

/* the tag vocabulary: each tag drawn as a chip */
.tagtable td:first-child{white-space:nowrap;padding-right:18px}
.tagtable td:first-child{font-weight:600;color:var(--accent-ink)}

/* (13 Nov 2026) no boxed panel: the phone sits in the column with its caption underneath, so a
   screen reads as part of the text instead of a block that interrupts it */
.shot{display:flex;flex-direction:column;align-items:center;gap:14px;margin:36px 0}
.device{flex:none;width:min(220px,70%);background:#0b0a10;border-radius:32px;padding:6px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.device img{width:100%;border-radius:26px}
.shot figcaption{color:var(--ink-2);font-size:14.5px;line-height:1.5;max-width:44ch;text-align:center}

/* The analytics question, on blog pages only: a slim strip along the bottom instead of the card
   that sat over the article. Same words and the same two buttons; consent.js is unchanged.
   "body #consent" outranks the rules consent.js adds at run time. */
body #consent{left:0;right:0;bottom:0;transform:none;width:auto;border-radius:0;border-width:1px 0 0;box-shadow:none;background:rgba(18,16,25,.97);justify-content:center;gap:16px;font-size:13px;line-height:1.4;padding:8px max(16px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
body #consent p{flex:0 1 auto}
body #consent button{height:30px;padding:0 12px;border-radius:15px}
@media(max-width:520px){body #consent{flex-direction:row;align-items:center;gap:10px;font-size:12px}body #consent .b{flex-direction:column;gap:6px}body #consent .b button{flex:none}}

/* who wrote it, under the post (14 Nov 2026): a photo, the name linked to About, one line */
.author{max-width:680px;margin:56px auto 0;padding:22px 24px;display:flex;gap:16px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:18px}
.author img{width:56px;height:56px;border-radius:50%;flex:none;object-fit:cover}
.author p{font-size:15.5px;line-height:1.5;color:var(--ink-2);margin:0}
.author .who{font-size:16.5px;color:var(--ink);font-weight:600;margin-bottom:3px}
.author a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.author+.more{margin-top:40px}

/* end of a post: other posts, then the download box */
.more{max-width:680px;margin:64px auto 0;padding-top:28px;border-top:1px solid var(--line)}
.more h2{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);margin-bottom:14px}
/* each title is a row with an arrow, so it reads as a link; one colour, no accent word */
.more h2{margin-bottom:6px}
.more a{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);font-size:17.5px;font-weight:600;line-height:1.35;color:var(--ink)}
.more a:last-child{border-bottom:0}
.more a .go{flex:none;color:var(--ink-3);transition:transform .15s,color .15s}
.more a:hover span:first-child{text-decoration:underline;text-underline-offset:3px}
.more a:hover .go{color:var(--accent-ink);transform:translateX(3px)}
.cta{margin:clamp(56px,8vw,96px) auto clamp(60px,8vw,100px)}
.ctabox{background:var(--card);border:1px solid var(--line);border-radius:28px;text-align:center;padding:clamp(36px,6vw,64px) 24px}
.ctabox h2{font-family:var(--serif);font-weight:400;font-size:clamp(1.9rem,4.4vw,2.8rem);line-height:1.05;letter-spacing:-.02em;text-wrap:balance}
.ctabox p{color:var(--ink-2);margin:14px auto 26px;max-width:38ch}
.stores{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.badge{height:52px;width:auto;border-radius:9px;box-shadow:0 0 0 1px rgba(255,255,255,.28)}

/* blog index */
.blog-head{max-width:760px;margin:0 auto;padding-top:clamp(48px,8vw,88px)}
.blog-head .dek{font-size:clamp(1.08rem,1.9vw,1.22rem);color:var(--ink-2);margin-top:18px;max-width:52ch}
.posts{max-width:760px;margin:clamp(32px,5vw,56px) auto 0}
.posts,.blog-head{max-width:900px}
.posts article{padding:28px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:center}
.posts .thumb img{width:100%;border-radius:14px;border:1px solid var(--line)}
@media(max-width:700px){.posts article{grid-template-columns:1fr;gap:16px}}
.posts .meta{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.posts h2{font-family:var(--serif);font-weight:500;font-size:clamp(1.45rem,3vw,1.85rem);line-height:1.2;letter-spacing:-.01em;margin:8px 0 8px}
.posts h2 a:hover{color:var(--accent-ink)}
.posts p{color:var(--ink-2);max-width:62ch}
