/*
  Clean deck style. Load after deck.css, put class="clean" on <body>, and let kit/deck.js do navigation and scaling.
  Business-like and calm: a white 16:9 canvas, one idea per slide, a centred headline with a short accent subline,
  simple drawn visuals (flows, outlined cards, timelines), a lot of white space, one plain takeaway line at the foot.
  Inter, sentence case, thin outlines, calm tints. No mascots, no photos, no gradients, no shadows.

  A deck sets its palette on <body style=""> (all optional, these are the defaults):
    --accent       the brand colour: outlines, subline, buttons (must be dark enough for white text)
    --accent-ink   text on --accent
    --tint         a very light tint of the accent, for fills

  Markup contract: <main data-deck-root> holds the slides, every slide is a direct child <section class="slide c-NAME">.
  Slides (see clean-demo.html for each one):
    c-cover      logos, h1, lede and a picture
    c-statement  one big sentence and a subline
    c-std        a centred head (.c-head: h2 + .c-sub), a body, and a .c-take line at the foot
  Body pieces:
    .c-cards > .c-card   2 to 4 outlined cards (.c-card-art on top: a drawing or picture, then h3 and p)
    .c-dg                a diagram (flow, panels, timeline) drawn as inline SVG by kit/dg.py, in the `diagram` skill's Explain look
    .c-plan > .c-when    a numbered plan on a line (week, step), each with a heading and text
    .c-prices > .c-price price cards: .c-amt rows with the number, then what it includes
    .c-big               a huge number with a label
    .c-split             a picture beside text
    .c-app               a window for a coded product mockup
*/

/* ---------- tokens ---------- */

body.clean {
  --accent: #1d1d63;
  --accent-ink: #ffffff;
  --tint: #eef0fa;
  --rust: #c2532a;
  --purple: #6a5fd0;
  --paper: #ffffff;
  --card: #ffffff;
  --paper-2: #f2f3f7;
  --ink: #12131f;
  --ink-2: #4b4f63;
  --line: #d5d8e4;

  --c-h1: max(34px, calc(66 * var(--s)));
  --c-h2: max(28px, calc(46 * var(--s)));
  --c-sub: max(18px, calc(26 * var(--s)));
  --c-h3: max(18px, calc(24 * var(--s)));
  --c-body: max(16px, calc(22 * var(--s)));
  --c-small: max(14px, calc(17 * var(--s)));
  --c-tag: max(13px, calc(14 * var(--s)));
  --c-radius: calc(14 * var(--s));
  --c-stroke: max(1.5px, calc(1.5 * var(--s)));
  --c-gap: calc(28 * var(--s));
  --foot: calc(80 * var(--s));
  --pad: calc(72 * var(--s));
}

body.clean, body.clean .slide { background: var(--paper); color: var(--ink); }
body.clean { font-size: var(--c-body); }
body.clean h1, body.clean h2, body.clean h3 { font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
body.clean h3 { letter-spacing: -0.015em; font-size: var(--c-h3); }
body.clean :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* The shared shell footer: small logos bottom-left, a small nav pill bottom-right. */
body.clean .foot { align-items: center; }
body.clean .pair { background: none; padding: 0; height: auto; gap: calc(12 * var(--s)); min-height: 0; }
body.clean .pair img { height: calc(26 * var(--s)); min-height: 20px; width: auto; border-radius: 3px; }
body.clean .pair img.gw { height: calc(30 * var(--s)); min-height: 22px; }
body.clean .pair .x { color: var(--ink-2); font-weight: 400; }
body.clean .pair span:not(.x) { display: none; }
body.clean .ctl { background: #fff; box-shadow: inset 0 0 0 1px var(--line); height: calc(44 * var(--s)); min-height: 40px; }
body.clean .ctl button { color: var(--ink-2); }
body.clean .ctl button:hover:not(:disabled) { background: var(--tint); }
body.clean .ctl output { color: var(--ink-2); font-size: var(--c-tag); font-weight: 500; }

/* ---------- the slide frame ---------- */

body.clean .in {
  max-width: calc(1440 * var(--s));
  padding: calc(56 * var(--s)) var(--pad) var(--foot);
  gap: var(--c-gap);
  align-content: center;
  justify-items: center;
  text-align: center;
}
body.clean .in > * { min-width: 0; }

.c-head { display: grid; gap: calc(14 * var(--s)); justify-items: center; max-width: calc(1100 * var(--s)); }
.c-head h2, .c-say { font-size: var(--c-h2); text-wrap: balance; }
.c-sub { font-size: var(--c-sub); line-height: 1.3; color: var(--accent); font-weight: 500; max-width: 40em; text-wrap: balance; letter-spacing: -0.005em; }
.c-take { font-size: var(--c-small); color: var(--ink-2); max-width: 60em; text-wrap: balance; line-height: 1.45; }
.c-take b { color: var(--ink); font-weight: 600; }
.c-note { font-size: var(--c-small); color: var(--ink-2); text-wrap: balance; }

/* ---------- statement ---------- */

.c-statement .c-say { font-size: max(36px, calc(88 * var(--s))); line-height: 1.06; letter-spacing: -0.04em; max-width: 14em; }
.c-statement .in { gap: calc(24 * var(--s)); }

/* ---------- cover ---------- */

body.clean .c-cover .in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); text-align: start; justify-items: stretch; align-items: center; gap: calc(48 * var(--s)); }
.c-cover-text { display: grid; gap: calc(28 * var(--s)); align-content: center; }
.c-cover h1 span { display: block; }
.c-cover h1 { font-size: var(--c-h1); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.c-cover .c-lede { font-size: var(--c-sub); line-height: 1.35; color: var(--accent); max-width: 22em; }
.c-logos { display: flex; align-items: center; gap: calc(18 * var(--s)); }
.c-logos img { height: calc(48 * var(--s)); min-height: 34px; width: auto; border-radius: 5px; }
.c-logos img.wide { height: calc(30 * var(--s)); min-height: 22px; border-radius: 0; }
.c-logos .x { color: var(--ink-2); font-size: var(--c-sub); }
.c-art { margin: 0; display: grid; place-items: center; }
.c-art img { width: 100%; height: auto; max-height: calc(640 * var(--s)); object-fit: contain; }
.c-cover .foot { display: none; }

/* ---------- outlined cards ---------- */

.c-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: calc(24 * var(--s)); width: 100%; max-width: calc(1240 * var(--s)); align-items: stretch; text-align: start; }
.c-card { border: var(--c-stroke) solid var(--accent); border-radius: var(--c-radius); padding: calc(34 * var(--s)); display: grid; gap: calc(14 * var(--s)); align-content: start; background: #fff; }
.c-card.soft { background: var(--tint); border-color: var(--line); }
.c-card.dashed { border-style: dashed; border-color: #6f7490; }
.c-card h3 { color: var(--accent); font-size: max(20px, calc(28 * var(--s))); }
.c-card p, .c-card li { color: var(--ink); font-size: var(--c-body); line-height: 1.45; }
.c-card:has(.c-fix) { grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch; }
.c-fix { align-self: end; justify-self: start; display: inline-flex; align-items: center; gap: .55em; padding: .4em .85em; border-radius: 999px; font-size: max(14px, calc(16.5 * var(--s))); font-weight: 600; line-height: 1.2; color: #137a5c; background: color-mix(in oklab, #1f9a78 12%, #fff); border: 1px solid color-mix(in oklab, #1f9a78 38%, #fff); }
.c-fix::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #1f9a78; flex: none; }
.c-cards.top { align-items: start; }
.c-card-art { display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; overflow: hidden; height: calc(130 * var(--s)); min-height: 72px; color: var(--accent); margin-bottom: calc(6 * var(--s)); }
.c-card-art svg, .c-card-art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.c-card-art svg { width: 100%; }
.c-card-art svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.c-card-art .rust { stroke: var(--rust); }
.c-card-art .dim { opacity: 0.35; }
.c-card-art .tint { fill: var(--tint); }
.c-card-art .solid { fill: currentColor; stroke: none; }
.c-list { display: grid; gap: calc(14 * var(--s)); }
.c-list li { position: relative; padding-inline-start: calc(26 * var(--s)); }
.c-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.42em; width: 0.6em; height: 0.6em; border-radius: 50%; border: var(--c-stroke) solid var(--accent); background: var(--tint); }
.c-list.check li::before { border: 0; background: none; width: 0.7em; height: 0.38em; top: 0.4em; border-left: calc(2.2 * var(--s)) solid var(--accent); border-bottom: calc(2.2 * var(--s)) solid var(--accent); transform: rotate(-45deg); border-radius: 0; }
.c-chips { display: flex; flex-wrap: wrap; gap: calc(10 * var(--s)); }
.c-chips span { border: var(--c-stroke) solid var(--accent); border-radius: 999px; padding: 0.3em 0.95em; font-size: max(16px, calc(23 * var(--s))); font-weight: 550; color: var(--accent); background: #fff; }
.c-card.dashed .c-chips span { border-style: dashed; border-color: #8f94ad; color: var(--ink); }

/* ---------- diagrams: the `diagram` skill's Explain look ---------- */
/* Inline SVG drawn by kit/dg.py. Colour roles, the same on every slide of a deck:
   purple = the client's own team, teal = runs automatically, rust = the problem or the cost, grey = an outside party. */

body.clean {
  --dg-ink: #12131f; --dg-muted: #6b6f80; --dg-line: #9a9eb0;
  --dg-purple: #6a5fd0; --dg-teal: #1f9a78; --dg-rust: #c2532a; --dg-grey: #6b6f80;
  --dg-fill: 22%; --dg-fill-plain: 16%;
}
.c-dg { display: grid; gap: calc(14 * var(--s)); justify-items: center; width: 100%; margin: 0; }
.c-dg svg { display: block; width: 100%; max-width: calc(var(--dg-w, 1200) * var(--s)); height: auto; overflow: visible; }
.c-dg svg.phone { display: none; }
.c-dg svg.phone .label { font-size: 17px; }
.c-dg svg.phone .sub { font-size: 14.5px; }
.c-dg figcaption, .c-dg .cap { font-size: max(15px, calc(19 * var(--s))); color: var(--ink-2); text-align: center; text-wrap: balance; line-height: 1.35; }
.c-dg .c-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(32 * var(--s)); width: 100%; max-width: calc(1240 * var(--s)); align-items: stretch; }
.c-dg .c-panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: calc(16 * var(--s)); justify-items: center; align-items: center; padding: calc(24 * var(--s)) calc(28 * var(--s)); background: #fbfbfe; border: 1px solid var(--line); border-radius: calc(20 * var(--s)); }
.c-dg .c-panel .cap { align-self: start; min-height: 2.7em; }
.c-dg .c-panel h3 { font-size: max(18px, calc(24 * var(--s))); color: var(--ink); }
.c-dg svg text { fill: var(--dg-ink); font-family: inherit; text-anchor: middle; dominant-baseline: central; letter-spacing: 0; }
.c-dg svg .label { font-size: 22px; font-weight: 550; }
.c-dg svg .sub { font-size: 17px; }
.c-dg svg .note { font-size: 16px; fill: var(--dg-muted); }
.c-dg svg .axis { font-size: 20px; font-weight: 650; }
.c-dg svg .edge { stroke: var(--dg-line); stroke-width: 1.6; fill: none; marker-end: url(#dg-head); }
.c-dg svg .edge.dashed { stroke-dasharray: 5 5; }
.c-dg svg .rule { stroke: var(--dg-line); stroke-width: 1.6; fill: none; }
body.clean marker path { stroke: #9a9eb0; }
.c-dg svg .you { --hue: var(--dg-purple); }
.c-dg svg .sys { --hue: var(--dg-teal); }
.c-dg svg .hot { --hue: var(--dg-rust); }
.c-dg svg .plain { --hue: var(--dg-grey); }
.c-dg svg :is(.you, .sys, .hot, .plain) :is(rect, circle) { fill: color-mix(in oklab, var(--hue) var(--dg-fill), #fff); stroke: color-mix(in oklab, var(--hue) 80%, #fff); stroke-width: 1.2; }
.c-dg svg .plain :is(rect, circle) { fill: color-mix(in oklab, var(--hue) var(--dg-fill-plain), #fff); }
.c-dg svg :is(.you, .sys, .hot, .plain) .label { fill: color-mix(in oklab, var(--hue) 12%, var(--dg-ink)); }
.c-dg svg :is(.you, .sys, .hot, .plain) .sub { fill: color-mix(in oklab, var(--hue) 45%, var(--dg-ink)); }
.c-dg svg .group > rect { fill: #f4f5f9; stroke: #d9dce8; }
.c-dg-note { font-size: var(--c-small); color: var(--ink-2); text-align: center; }

/* a slide that carries a lot (a flow, a price table): smaller head, tighter gaps */
body.clean .c-dense .in { gap: calc(18 * var(--s)); }
.c-dense .c-head h2 { font-size: max(28px, calc(40 * var(--s))); }
.c-dense .c-sub { font-size: max(17px, calc(22 * var(--s))); }

/* ---------- plan on a line ---------- */

.c-plan { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: calc(24 * var(--s)); width: 100%; max-width: calc(1240 * var(--s)); text-align: start; position: relative; }
.c-when { position: relative; padding-top: calc(44 * var(--s)); display: grid; gap: calc(10 * var(--s)); align-content: start; }
.c-when::before { content: ""; position: absolute; top: calc(10 * var(--s)); inset-inline-start: 0; inset-inline-end: calc(-24 * var(--s)); height: 2px; background: var(--line); }
.c-when:last-child::before { inset-inline-end: 0; }
.c-when::after { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: calc(22 * var(--s)); height: calc(22 * var(--s)); min-width: 16px; min-height: 16px; border-radius: 50%; background: #fff; border: calc(3 * var(--s)) solid var(--accent); box-sizing: border-box; }
.c-when:last-child::after { background: var(--accent); }
.c-when h3 { font-size: max(22px, calc(34 * var(--s))); color: var(--accent); }
.c-when p { font-size: max(17px, calc(23 * var(--s))); line-height: 1.45; color: var(--ink); max-width: 24em; }
.c-when .c-card { margin-top: calc(4 * var(--s)); }

/* ---------- prices ---------- */

.c-lead { max-width: calc(1100 * var(--s)); border: var(--c-stroke) solid var(--accent); background: var(--tint); border-radius: var(--c-radius); padding: calc(18 * var(--s)) calc(28 * var(--s)); font-size: var(--c-sub); line-height: 1.35; color: var(--ink); text-wrap: balance; }
.c-lead b { color: var(--accent); font-weight: 700; white-space: nowrap; }
.c-prices { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: calc(24 * var(--s)); width: 100%; max-width: calc(1240 * var(--s)); text-align: start; }
.c-price { border: var(--c-stroke) solid var(--line); border-radius: var(--c-radius); padding: calc(22 * var(--s)) calc(26 * var(--s)) calc(26 * var(--s)); display: grid; gap: calc(12 * var(--s)); align-content: start; background: #fff; }
.c-price.main { border-color: var(--accent); border-width: max(2px, calc(2 * var(--s))); }
.c-price .c-card-art { height: calc(120 * var(--s)); min-height: 84px; margin-bottom: 0; }
.c-price h3 { color: var(--ink); }
.c-price .c-tag { font-size: var(--c-tag); font-weight: 600; color: var(--accent); margin-inline-start: 0.6em; }
.c-amt { display: flex; align-items: baseline; gap: 0.4em; flex-wrap: wrap; color: var(--ink-2); font-size: var(--c-small); line-height: 1.3; }
.c-amt b { font-size: max(32px, calc(44 * var(--s))); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.c-amt.sm b { font-size: calc(34 * var(--s)); }
.c-amt span.u { color: var(--ink-2); }
.c-price .inc { font-size: var(--c-small); line-height: 1.45; color: var(--ink-2); padding-top: calc(10 * var(--s)); border-top: 1px solid var(--line); }

/* ---------- big number ---------- */

.c-big { display: grid; gap: calc(12 * var(--s)); justify-items: center; }
.c-big .num { font-size: max(88px, calc(220 * var(--s))); font-weight: 700; letter-spacing: -0.06em; line-height: 0.95; color: var(--accent); font-variant-numeric: tabular-nums; }
.c-big .label { font-size: var(--c-sub); color: var(--ink); max-width: 22em; text-wrap: balance; }

/* ---------- picture beside text ---------- */

body.clean .c-split .in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-align: start; justify-items: stretch; align-items: center; gap: calc(56 * var(--s)); }
.c-split .words { display: grid; gap: calc(20 * var(--s)); }
.c-split h2 { font-size: var(--c-h2); }

/* ---------- product window (a coded mockup) ---------- */

.c-app { width: 100%; max-width: calc(1040 * var(--s)); background: #fff; border: var(--c-stroke) solid #b9bdd0; border-radius: calc(14 * var(--s)); overflow: hidden; display: grid; grid-template-rows: auto 1fr; font-size: max(13px, calc(17 * var(--s))); line-height: 1.4; text-align: start; color: #1d1d1f; box-shadow: 0 calc(1 * var(--s)) calc(2 * var(--s)) rgba(18, 19, 31, 0.04), 0 calc(14 * var(--s)) calc(36 * var(--s)) rgba(18, 19, 31, 0.07); }
.c-app .bar { display: flex; align-items: center; gap: calc(22 * var(--s)); padding: calc(13 * var(--s)) calc(22 * var(--s)); border-bottom: 1px solid #e3e5ee; background: #f7f8fb; font-weight: 600; }
.c-app .bar b { font-weight: 800; letter-spacing: -0.01em; }
.c-app .bar span { color: #6a6e82; font-weight: 500; padding-bottom: calc(3 * var(--s)); }
.c-app .bar span.on { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.c-app .bar em { margin-inline-start: auto; font-style: normal; font-weight: 600; font-size: 0.82em; padding: 3px 11px; border-radius: 999px; background: #fff; border: 1px solid #c8cbdb; color: #4b4f63; }
.c-app .body { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); }
.c-app .side { padding: calc(24 * var(--s)); border-inline-end: 1px solid #e3e5ee; display: grid; gap: calc(14 * var(--s)); align-content: start; }
.c-app .side h4 { margin: 0; font-size: 1.4em; letter-spacing: -0.02em; font-weight: 700; }
.c-app dl { margin: 0; display: grid; gap: 4px; }
.c-app dt { color: #6a6e82; font-size: 0.82em; margin-top: calc(8 * var(--s)); }
.c-app dd { margin: 0; font-weight: 550; }
.c-app .state { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f0f1f5; border: 1px solid #c8cbdb; color: #4b4f63; font-size: 0.9em; font-weight: 600; }
.c-app .main { padding: calc(24 * var(--s)); display: grid; align-content: start; }
.c-app .note { border: 1px solid #e3e5ee; border-radius: calc(12 * var(--s)); padding: calc(20 * var(--s)); display: grid; gap: calc(14 * var(--s)); }
.c-app .note .head { display: flex; gap: calc(12 * var(--s)); align-items: center; }
.c-app .note .head i { font-style: normal; width: 2.1em; height: 2.1em; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.8em; flex: none; }
.c-app .note .head small { display: block; color: #6a6e82; font-size: 0.85em; }
.c-app .sum { margin: 0; font-size: 1.12em; line-height: 1.5; }
.c-app .out { background: color-mix(in oklab, var(--purple) 12%, #fff); border: 1px solid color-mix(in oklab, var(--purple) 70%, #fff); border-radius: calc(10 * var(--s)); padding: calc(12 * var(--s)) calc(16 * var(--s)); }
.c-app .out b { color: color-mix(in oklab, var(--purple) 15%, #12131f); margin-inline-end: 0.5em; }

/* ---------- buttons ---------- */

.c-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 calc(32 * var(--s)); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--c-body); text-decoration: none; letter-spacing: -0.005em; }
.c-btn:hover { background: #2b2b84; }

/* ---------- phone, portrait and short windows ---------- */

@media screen and (max-aspect-ratio: 1/1), screen and (max-width: 760px), screen and (max-height: 520px) {
  body.clean {
    --c-h1: calc(38 * var(--s));
    --c-h2: calc(32 * var(--s));
    --c-sub: calc(19 * var(--s));
    --c-h3: calc(21 * var(--s));
    --c-body: calc(17 * var(--s));
    --c-small: calc(15 * var(--s));
    --c-tag: calc(13.5 * var(--s));
    --c-gap: calc(22 * var(--s));
    --pad: calc(22 * var(--s));
    --foot: calc(96 * var(--s));
  }
  body.clean .in { padding: calc(36 * var(--s)) var(--pad) 0; justify-content: flex-start; align-content: start; justify-items: stretch; display: flex; flex-direction: column; }
  body.clean .c-head, body.clean .c-sub, body.clean .c-take, body.clean .c-lead { max-width: none; }
  body.clean .c-statement .c-say { font-size: calc(40 * var(--s)); }
  .c-statement .in { justify-content: center; }
  body.clean .foot { padding: calc(8 * var(--s)) var(--pad) calc(96 * var(--s)); }
  body.clean .pair img { height: calc(24 * var(--s)); }
  body.clean .pair img.gw { height: calc(28 * var(--s)); }

  .c-cover .in { display: flex; flex-direction: column; justify-content: flex-start; gap: calc(26 * var(--s)); }
  .c-cover .foot { display: none; }
  .c-cover h1 { font-size: calc(42 * var(--s)); }
  .c-cover .c-art { order: 2; margin-top: calc(-48 * var(--s)); }
  .c-cover .c-art img { max-height: none; }
  .c-cover .in { padding-bottom: calc(96 * var(--s)); }

  .c-cards, .c-prices { grid-template-columns: 1fr; gap: calc(16 * var(--s)); }
  .c-card { padding: calc(20 * var(--s)); }
  .c-card h3 { font-size: calc(22 * var(--s)); }
  .c-dense .c-head h2 { font-size: var(--c-h2); }
  .c-card-art { height: calc(84 * var(--s)); }
  .c-price .c-card-art { height: calc(120 * var(--s)); }
  .c-price .c-card-art img { transform: scale(1.15); }

  .c-dg svg.desk { display: none; }
  .c-dg svg.phone { display: block; max-width: calc(var(--dg-w-phone, 340) * var(--s)); }
  .c-dg .c-panels { grid-template-columns: 1fr; gap: calc(20 * var(--s)); }
  .c-dg .c-panel { padding: calc(20 * var(--s)) calc(22 * var(--s)); }
  .c-dg figcaption, .c-dg .cap { font-size: calc(16 * var(--s)); }
  .c-dg .c-panel h3 { font-size: calc(21 * var(--s)); }

  .c-plan { grid-template-columns: 1fr; gap: calc(8 * var(--s)); }
  .c-when { padding-top: 0; padding-inline-start: calc(44 * var(--s)); padding-bottom: calc(22 * var(--s)); }
  .c-when::before { top: calc(22 * var(--s)); bottom: 0; inset-inline-start: calc(10 * var(--s)); inset-inline-end: auto; width: 2px; height: auto; }
  .c-when:last-child::before { display: none; }
  .c-when::after { top: calc(3 * var(--s)); }
  .c-when h3 { font-size: calc(26 * var(--s)); }

  .c-lead { padding: calc(16 * var(--s)) calc(18 * var(--s)); }
  .c-amt b { font-size: calc(40 * var(--s)); }

  .c-split .in { display: flex; flex-direction: column; }
  .c-app { font-size: calc(13 * var(--s)); }
  .c-app .bar { gap: calc(12 * var(--s)); padding: calc(10 * var(--s)) calc(12 * var(--s)); overflow: hidden; }
  .c-app .bar span:nth-child(2), .c-app .bar span:nth-child(4), .c-app .bar span:nth-child(5) { display: none; }
  .c-app .body { grid-template-columns: 1fr; }
  .c-app .side { border-inline-end: 0; border-bottom: 1px solid #e3e5ee; padding: calc(16 * var(--s)); }
  .c-app .main { padding: calc(14 * var(--s)); }
  .c-big .num { font-size: calc(120 * var(--s)); }
  .c-app .main { order: -1; }
  .c-logos img { height: calc(38 * var(--s)); }
  .c-logos img.wide { height: calc(24 * var(--s)); }
  .c-btn { align-self: stretch; }
}

@media print {
  body.clean .slide { break-inside: avoid; }
}

/* generated pictures carry white margins: crop in a little so they read at card size */
.c-price .c-card-art img { transform: scale(1.18); }
