/* Shared look of the case study pages (the WauCars page keeps its own copy of these rules inline). Uses site.css for colours and type. */
.cs section { padding-bottom: clamp(56px, 8vw, 96px); }
.cs .crumb { margin: 40px 0 28px; font-size: 16px; color: var(--muted); }
.cs .kicker { font-family: "JetBrains Mono", monospace; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.cs h1 { max-width: 1100px; text-wrap: balance; margin-bottom: 24px; font-size: clamp(36px, 5.4vw, 68px); font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; }
.cs .lead { max-width: 760px; text-wrap: balance; margin-bottom: 32px; font-size: 21px; line-height: 1.55; color: var(--muted); }
.cs .facts { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 48px 0 0; padding: 28px 0; border-block: 1px solid var(--line); }
.cs .facts div { flex: 0 1 auto; }
.cs .facts dt { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cs .facts dd { margin: 0; font-size: 17px; }
.cs .num { font-family: "JetBrains Mono", monospace; font-size: 14px; color: var(--accent); margin-bottom: 12px; }
.cs h2 { text-wrap: balance; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px; }
.cs p, .cs ul.list li, .cs figcaption { text-wrap: pretty; }
.cs p { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; max-width: 960px; }
.cs p b { color: var(--text); font-weight: 500; }
.cs ul.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 960px; }
.cs ul.list li { padding-left: 22px; position: relative; font-size: 18px; line-height: 1.55; color: var(--muted); }
.cs ul.list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cs ul.list b { color: var(--text); font-weight: 500; }
.cs .shots { display: grid; gap: 40px; margin-top: 40px; }
.cs figure { margin: 0; }
.cs figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.cs figure.phone img { max-width: 300px; }
.cs .shots.phones { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.cs .shots.phones figure.phone img { max-width: 100%; }
@media (max-width: 640px) { .cs .shots.phones { grid-template-columns: 1fr; } .cs .shots.phones figure.phone img { max-width: 300px; } }
.cs figcaption { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 960px; }
.cs figcaption b { color: var(--text); font-weight: 500; }
.cs .note { font-size: 15px; max-width: 960px; }
.cs .btn-row { margin-top: 8px; }
/* Inside the home page pop-up (?embed=1): the pop-up has its own bar, so hide the page's header, crumb and footer. */
html.embed header, html.embed footer, html.embed .crumb { display: none; }
html.embed main { padding-top: 40px; }
/* Cover screenshot beside the title (the title column and the image share the row; on narrow screens the image drops below the text) */
.cs .cs-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cs .cs-hero-grid h1 { font-size: clamp(32px, 3.9vw, 54px); }
.cs .cs-cover { margin: 0; }
.cs .cs-cover img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
@media (max-width: 900px) { .cs .cs-hero-grid { grid-template-columns: 1fr; } .cs .cs-hero-grid h1 { font-size: clamp(34px, 8vw, 48px); } }
