/* Article pages, the articles hub, and the support and privacy pages. Same brand variables as the home page, a coloured band up top, one calm reading column. */
:root{
  color-scheme:light;
  --text:#1F1F1F; --muted:#5F5F5F; --line:#E9E6E1;
  --yellow:#FFCE45; --orange:#F47A2A; --pink:#FF8FC4; --purple:#7C4DDB; --blue:#2E5BFF; --blue-dk:#1D3FCC; --green:#22B866; --red:#FF4D4D;
  --white:#fff; --dark:#1F1F1F;
  --f-display:"Hanken Grotesk",system-ui,sans-serif;
  --f-body:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:1200px; --gx:clamp(20px,4vw,48px); --nav:60px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--white);color:var(--text);font-family:var(--f-body);font-size:18px;line-height:1.6}
h1,h2,h3,h4{font-family:var(--f-display);font-weight:800;margin:0;letter-spacing:-.03em;text-wrap:balance}
p{margin:0}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--dark);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gx)}
.btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 32px;border-radius:9999px;border:0;cursor:pointer;
  font-family:var(--f-body);font-weight:600;font-size:17px;white-space:nowrap;background:var(--blue);color:var(--white);transition:background-color .15s,transform .1s}
.btn:hover{background:var(--blue-dk)}
.btn:active{transform:scale(.97)}
.btn.sm{height:38px;padding:0 18px;font-size:14px}

/* coloured band */
.band{background:var(--c,var(--yellow));color:var(--ink,var(--text));padding-block:clamp(40px,7vw,88px) calc(clamp(36px,6vw,72px) + var(--wave));overflow:hidden;
  /* wavy bottom edge: a solid block with one repeating wave tile along the bottom */
  --wave:clamp(34px,4.4vw,56px);
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--wave) + 1px) no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='56' viewBox='0 0 320 56'%3E%3Cpath d='M0 0H320V28Q240 84 160 28T0 28Z'/%3E%3C/svg%3E") bottom center/calc(var(--wave)*5.714) var(--wave) repeat-x;
  mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--wave) + 1px) no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='56' viewBox='0 0 320 56'%3E%3Cpath d='M0 0H320V28Q240 84 160 28T0 28Z'/%3E%3C/svg%3E") bottom center/calc(var(--wave)*5.714) var(--wave) repeat-x}
.band .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(20px,4vw,56px)}
.crumb{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:600;margin-bottom:18px}
.crumb a{padding:4px 12px;border-radius:9999px;background:rgba(255,255,255,.55);color:var(--text)}
.crumb a:hover{background:var(--white)}
.band h1{font-size:clamp(40px,6.2vw,84px);line-height:.95;max-width:14ch}
.band .lede{font-size:clamp(19px,2vw,24px);font-weight:500;max-width:36ch;margin-top:22px;line-height:1.35}
.band .pal{width:clamp(140px,22vw,300px);height:auto;justify-self:end;filter:drop-shadow(0 10px 0 rgba(0,0,0,.08))}
.band .pal.thumb{width:clamp(220px,36vw,480px);border-radius:clamp(48px,8vw,110px);filter:none}
@media (max-width:760px){.band .wrap{grid-template-columns:1fr}.band .pal{width:140px;justify-self:start;order:-1}.band .pal.thumb{width:min(100%,420px)}}

/* reading column */
.read{max-width:720px;margin:clamp(36px,6vw,72px) auto;padding-inline:var(--gx)}
.read h2{font-size:clamp(26px,3vw,34px);line-height:1.15;margin:40px 0 12px}
.read p,.read li{margin-bottom:18px;max-width:68ch}
.read ul,.read ol{padding-left:24px}
.read li{margin-bottom:8px}
.read strong{font-weight:700}
.try{display:flex;gap:18px;align-items:flex-start;background:#FFF4D6;border-radius:24px;padding:22px 24px;margin:36px 0}
.try img{width:52px;height:52px;flex:none}
.try b{display:block;font-family:var(--f-display);font-size:19px;margin-bottom:4px;letter-spacing:-.02em}
.try p{margin:0;font-size:17px}
.gp{font-size:15px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:40px}

/* hub + more cards */
.sec{padding-block:clamp(28px,5vw,56px)}
.sec h2{font-size:clamp(30px,3.6vw,44px);margin-bottom:22px;display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.sec h2 small{font-family:var(--f-body);font-weight:500;font-size:16px;color:var(--muted);letter-spacing:0}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
.card{display:block;height:100%;transition:transform .15s}
.card:hover{transform:translateY(-3px)}
.card .pic{display:block;background:var(--c,#F7F4F0);aspect-ratio:3/2;border-radius:22px;overflow:hidden}
.card .pic img{display:block;width:100%;height:100%;object-fit:cover}
.card .t{display:block;padding:14px 2px 0}
.card h3{font-size:19px;line-height:1.2;margin-bottom:6px}
.card span{font-size:14px;color:var(--muted)}
@media (max-width:860px){.cards{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.cards{grid-template-columns:1fr}}

/* hub: plain intro, category tiles, app band */
.intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(24px,5vw,72px);padding-block:clamp(36px,6vw,80px) clamp(16px,3vw,32px)}
.intro .eyebrow{font-weight:600;font-size:15px;color:var(--muted);margin-bottom:14px}
.intro h1{font-size:clamp(36px,5vw,64px);line-height:1}
.intro .lede{font-size:clamp(18px,1.8vw,21px);max-width:38ch;margin:20px 0 28px;line-height:1.45}
.intro .round{width:clamp(200px,30vw,380px);aspect-ratio:1;height:auto;border-radius:50%;object-fit:cover}
.cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
.cats .card h3{font-size:21px;margin:0}
.appband{background:var(--yellow);margin-top:clamp(28px,5vw,56px);padding-block:clamp(40px,7vw,88px);border-radius:44px 44px 0 0}
.appband .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(24px,5vw,72px)}
.appband h2{font-size:clamp(32px,4.4vw,56px);line-height:1;max-width:14ch}
.appband p{font-size:clamp(18px,1.8vw,21px);max-width:40ch;margin:20px 0 28px;line-height:1.45}
.appband img{width:clamp(220px,36vw,480px);height:auto;border-radius:clamp(40px,7vw,96px)}
@media (max-width:760px){.intro,.appband .wrap{grid-template-columns:1fr}.intro .round{order:-1;width:160px}.appband img{width:min(100%,420px)}}
@media (max-width:560px){.cats{grid-template-columns:1fr 1fr}}
/* Square crops on phones (picked/mobile) */
picture{display:contents}
@media (max-width:760px){.band .pal.thumb{aspect-ratio:1;height:auto;width:min(100%,360px)}}
@media (max-width:560px){.cats .card .pic{aspect-ratio:1}}
/* Bristol chart: one picture per type */
.read ul.stools{list-style:none;padding:0;display:grid;gap:14px}
.read ul.stools li{display:grid;grid-template-columns:clamp(72px,14vw,96px) minmax(0,1fr);gap:clamp(14px,3vw,22px);align-items:center;margin:0}
.read ul.stools img{width:100%;height:auto;border-radius:clamp(18px,3.5vw,26px);display:block}
