/* Content components for the web deck, in Outlay colours. */
:root {
  --navy: #052438; --navy-dark: #052438; --navy-darker: #03182a; --teal: #188490; --teal-light: #49c6cf; --teal-dark: #147480;
  --ink: #052438; --ink-2: #2c3f4a; --muted: #41535d; --line: #d9e6e9; --paper: #f2f6f7; --white: #fff;
  --good: #256e3d; --good-bg: #d6f3cf; --warn: #a16207; --warn-bg: #fdf6e3; --bad: #b4382f;
  --ol-green: #62cf59; --ol-mint: #6ce484;
}

/* Each body is one frame placed in the space between the header and the footer, so the runtime keeps
   its header, footer and fit-to-window while these layouts stay as designed */
.ns-body.kit > .web-fit { position: absolute; top: 196px; bottom: 90px; left: 110px; right: 110px; display: flex; flex-direction: column; gap: 14px; }
.web-fit > .grow { flex: 1; min-height: 0; }
.web-fit p { font-size: 22px; line-height: 1.45; }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cols3.g2 { grid-template-rows: 1fr 1fr; }
.cols3.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--teal); border-radius: 16px; padding: 30px 32px; box-shadow: 0 1px 2px rgba(5,36,56,.04), 0 10px 30px rgba(5,36,56,.06); }
.card.ps { border-top-color: var(--ol-green); }
.card h3 { font-size: 27px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.card p { margin-top: 12px; color: var(--ink-2); }
.card.num span { display: block; font-size: 52px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 14px; }

.point { font-size: 23px; line-height: 1.42; color: var(--ink-2); background: #fff; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; padding: 16px 22px; }
.point b { color: var(--navy); }
.lg { display: inline-block; width: 30px; height: 14px; border-radius: 4px; }
.lg.data { background: repeating-linear-gradient(135deg, #f59e0b 0 6px, #fbbf24 6px 12px); }
.drum-key b { color: var(--navy); }

/* Outlay: what goes in, what comes out */
.io { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.io-col { padding: 30px 30px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.io-col h4 { font-family: 'JetBrains Mono', monospace !important; font-size: 18px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.io-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.io-col li { font-size: 22px; line-height: 1.35; padding-left: 26px; position: relative; color: var(--ink); }
.io-col li::before { content: ''; position: absolute; left: 0; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--ol-green); }
.io-col.out { background: #052438; }
.io-col.out h4 { color: var(--ol-mint); } .io-col.out li { color: #fff; }
.io-mid { display: grid; place-items: center; background: linear-gradient(90deg, #fff 0%, #fff 50%, #052438 50%); position: relative; }
.io-mid img { width: 150px; background: #fff; padding: 18px 16px; border-radius: 14px; box-shadow: 0 10px 30px rgba(5,36,56,.18); }

/* Next steps: four steps on a gradient line, then the sign-off */
.steps4 { flex: none; margin-top: 40px; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-content: center; }
.steps4 .st { position: relative; padding-top: 56px; }
.steps4 .st::after { content: ''; position: absolute; top: 12px; left: 0; right: -28px; height: 4px; background: var(--ol-grad); }
.steps4 .st:last-child::after { right: 0; }
.steps4 .st::before { content: ''; position: absolute; z-index: 1; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); }
.steps4 .st.hot::before { background: var(--ol-green); border-color: var(--ol-green); }
.steps4 .st.gate::before { border-radius: 6px; transform: rotate(45deg); background: var(--teal); }
.st b { display: block; font-family: 'JetBrains Mono', monospace !important; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); font-weight: 500; }
.st span { display: block; font-size: 56px; font-weight: 700; color: var(--navy); line-height: 1.1; margin: 10px 0 14px; }
.st i { display: block; font-style: normal; font-size: 24px; line-height: 1.4; color: var(--ink-2); }
.sign { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 28px; padding-top: 10px; border-top: 1px solid var(--line); }
.sign > img { height: 64px; }
.sign .x { font-size: 34px; color: var(--muted); }
.ol-lock { display: flex; flex-direction: column; gap: 6px; }
.ol-lock img { height: 40px; width: auto; }
.ol-lock em { font-style: normal; font-family: 'JetBrains Mono', monospace !important; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Week at a glance (Outlay Labour slide) */
.ol.week { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.ol.week h4 { font-size: 24px; }
.wk { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: end; }
.wk-day { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-align: center; }
.wk-bars { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.wk-bars i { width: 38%; border-radius: 6px 6px 0 0; }
.wk-bars i.short { background: var(--bad); } .wk-bars i.idle { background: repeating-linear-gradient(135deg, #d9e6e9 0 5px, #fff 5px 10px); border: 1px dashed #aac4ca; border-bottom: 0; }
.wk-day b { font-size: 20px; color: var(--navy); }
.wk-day small { font-size: 16px; color: var(--muted); font-family: 'JetBrains Mono', monospace !important; }

/* Outlay slide: the points take a little less, the In / Out panel a little more */
#outlay .split { grid-template-columns: 1fr 1.15fr; }
#outlay .point, #labour .point { font-size: 21px; }
.ns-cover h1 { font-size: 92px !important; white-space: nowrap; }
.needs { flex: 1; min-height: 0; display: grid; grid-template-columns: 260px repeat(3, 1fr); gap: 20px; align-items: stretch; margin: 36px 0 18px; }
.needs h4 { align-self: center; font-family: 'JetBrains Mono', monospace !important; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 500; line-height: 1.5; }
.needs > div { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--ol-green); border-radius: 14px; padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.needs b { font-size: 26px; color: var(--navy); }
.needs span { font-size: 21px; color: var(--ink-2); line-height: 1.4; }

/* The runtime rounds every button into a pill; Outlay run cards and day tabs keep their own corners */
.slide .ol button.ol-run { border-radius: 8px !important; }
.slide .ol .ol-days button { border-radius: 10px !important; }
.slide .ol button.ol-run:hover { transform: none; }

/* What we heard: four pains, big and short */
.pains .card { display: flex; flex-direction: column; gap: 6px; padding: 36px 34px; }
.pains .ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #eaf6f7; color: var(--teal); font-size: 32px; font-weight: 700; margin-bottom: 18px; }
.pains .card.ps .ic { background: #e9f8e6; color: var(--good); }
.pains h3 { font-size: 32px; }
.pains p { font-size: 23px; }

/* How Outlay fits: in, Outlay, out */
.flow3 { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 0; align-items: stretch; }
.flow3 > div { padding: 40px 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.flow3 h4 { font-family: 'JetBrains Mono', monospace !important; font-size: 19px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 500; }
.flow3 ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.flow3 li { font-size: 25px; line-height: 1.3; padding-left: 30px; position: relative; }
.flow3 li::before { content: ''; position: absolute; left: 0; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--ol-green); }
.f-in { background: #fff; border: 1px solid var(--line); border-radius: 18px 0 0 18px; }
.f-mid { background: #052438; color: #fff; align-items: center; text-align: center; position: relative; }
.f-mid::before, .f-mid::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 22px solid transparent; transform: translateY(-50%); }
.f-mid::before { left: -1px; border-left-color: #fff; }
.f-mid::after { right: -44px; border-left-color: #052438; z-index: 1; }
.f-mid img { width: 240px; }
.f-steps { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.f-steps span { display: block; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 18px; font-size: 21px; color: rgba(255,255,255,.85); text-align: left; }
.f-steps b { display: block; font-family: 'Exo 2', sans-serif !important; font-size: 26px; color: #6ce484; }
.f-out { background: #e9f8e6; border: 1px solid #cfe9c9; border-radius: 0 18px 18px 0; padding-left: 64px !important; }
.f-out li { color: var(--navy); font-weight: 500; }

/* How to fund it: five steps, a gate in the middle */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.p-step { position: relative; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--teal); border-radius: 16px; padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.p-step:not(:last-child)::after { content: '→'; position: absolute; right: -16px; top: 50%; transform: translate(50%, -50%); font-size: 28px; color: var(--teal); z-index: 1; }
.p-step em { font-style: normal; align-self: flex-start; font-family: 'JetBrains Mono', monospace !important; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; background: #e9f8e6; color: var(--good); border-radius: 8px; padding: 4px 10px; }
.p-step b { font-family: 'Exo 2', sans-serif !important; font-size: 34px; color: var(--navy); line-height: 1.1; }
.p-step span { font-size: 22px; line-height: 1.4; color: var(--ink-2); }
.p-step.gate { background: #052438; border-color: #052438; border-top-color: var(--ol-green); }
.p-step.gate b { color: #fff; } .p-step.gate span { color: rgba(255,255,255,.8); } .p-step.gate em { background: rgba(108,228,132,.15); color: #6ce484; }
.promises { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 6px; }
.promises span { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--ol-green); border-radius: 12px; padding: 16px 20px; font-size: 21px; color: var(--ink-2); }
.promises b { display: block; font-size: 23px; color: var(--navy); margin-bottom: 2px; }

/* ===== Production pass: everything sized to its content on the 8px grid (design/outlay-tokens.css) ===== */
.web-fit { gap: var(--o-s3); }

/* What we heard: problem, then answer, four rows that share the height */
.pa { display: grid; grid-template-rows: auto repeat(4, 1fr); gap: var(--o-s2); }
.pa-head { display: grid; grid-template-columns: 1fr 72px 1fr; padding: 0 var(--o-s4); }
.pa-head span { font-family: var(--o-f-mono) !important; font-size: var(--sl-label); letter-spacing: .14em; text-transform: uppercase; color: var(--o-steel); }
.pa-row { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: stretch; }
.pa-p, .pa-a { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--o-s3) var(--o-s4); border-radius: var(--o-r-card); }
.pa-p { background: var(--o-card); border: 1px solid var(--o-line); box-shadow: var(--o-shadow-card); }
.pa-a { background: var(--o-ink); color: #fff; }
.pa-p b, .pa-a b { font-family: var(--o-f-display) !important; font-size: var(--sl-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.pa-p b { color: var(--o-ink); } .pa-a b { color: var(--o-green-light); }
.pa-p span, .pa-a span { font-size: var(--sl-body); line-height: 1.4; }
.pa-p span { color: var(--o-slate); } .pa-a span { color: rgba(255,255,255,.82); }
.pa-row > i { display: grid; place-items: center; font-style: normal; font-size: 34px; color: var(--o-steel); }

/* How Outlay fits: bigger, evenly spread */
.flow3 > div { justify-content: space-evenly; padding: var(--o-s5) var(--o-s5); }
.flow3 li { font-size: 27px; }
.f-steps span { font-size: 22px; padding: 18px 22px; }
.f-steps b { font-size: 30px; }
.f-mid img { width: 280px; }

/* Material check: how a short print run reaches the line */
.chain { flex: none; display: grid; grid-template-columns: 1fr 200px 1.3fr 1.4fr; align-items: stretch; gap: var(--o-s2); }
.c-node { background: var(--o-card); border: 2px solid var(--o-steel); border-radius: var(--o-r-card); padding: 14px 20px; display: flex; flex-direction: column; gap: 2px; }
.c-node small { font-family: var(--o-f-mono) !important; font-size: 14px; color: var(--o-slate); }
.c-node b { font-size: 22px; color: var(--o-ink); }
.c-node span { font-size: 17px; color: var(--o-slate); }
.c-node.bad { border-color: var(--o-behind); box-shadow: 0 0 0 4px var(--o-behind-soft); }
.c-node .bad, .c-node.bad span { color: var(--o-behind); font-style: normal; font-weight: 700; }
.c-arrow { position: relative; display: grid; place-items: center; }
.c-arrow::before { content: ''; position: absolute; left: 0; right: 14px; top: 50%; border-top: 3px dashed var(--o-behind); }
.c-arrow::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-left: 14px solid var(--o-behind); }
.c-arrow span { position: relative; background: var(--o-behind-soft); color: var(--o-behind); font-weight: 700; font-size: 16px; padding: 4px 12px; border-radius: 999px; }
.c-note { display: flex; align-items: center; font-size: 19px; line-height: 1.4; color: var(--o-slate); padding: 0 var(--o-s2); border-left: 4px solid var(--o-steel); }

/* Funding path: each step ends with what they get */
.p-step { padding: var(--o-s4) 28px; }
.p-step strong { margin-top: auto; padding-top: var(--o-s2); border-top: 1px solid var(--o-line); font-size: 20px; line-height: 1.35; color: var(--o-green-deep); font-weight: 600; }
.p-step.gate strong { color: var(--o-green-light); border-top-color: rgba(255,255,255,.18); }
.p-step b { font-size: 36px; } .p-step span { font-size: 22px; }
.promises span { font-size: 21px; }

/* Next steps: steps take the room, the rest sits at its natural size */
#steps .web-fit { justify-content: space-between; }
#steps .steps4 { margin-top: var(--o-s3); }
#steps .st span { font-size: 64px; } #steps .st i { font-size: 26px; }
#steps .needs { flex: none; margin: 0; }
#steps .needs > div { padding: 20px 24px; }

/* Run the day: the feed list starts under its heading */
.rd-feed ol { margin: 0; }
/* Slide 3: each column's content sits together in the middle */
.flow3 > div { justify-content: center; gap: var(--o-s4); }
.flow3 ul { gap: 22px; }
/* Slide 7: a numbered step, then its text, then what they get */
.p-step { gap: 14px; }
.p-n { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--o-f-display) !important; font-weight: 700; font-size: 30px; background: var(--o-steel-soft); color: var(--o-steel-deep); margin-bottom: 6px; }
.p-step.gate .p-n { background: var(--o-grad); color: var(--o-ink); }
.p-step b { font-size: 40px; } .p-step span { font-size: 24px; } .p-step strong { font-size: 22px; }
/* Slide 8: the steps sit in the middle of the space, the asks and sign-off at their natural size */
#steps .web-fit { justify-content: flex-start; }
#steps .steps4 { flex: 1; margin-top: 0; align-content: center; }
/* Slide 3: In and Out as cards that share the height */
.flow3 > div.f-in, .flow3 > div.f-out { justify-content: flex-start; gap: var(--o-s2); padding: var(--o-s4); }
.flow3 .f-in ul, .flow3 .f-out ul { flex: 1; display: grid; grid-template-rows: repeat(4, 1fr); gap: var(--o-s2); }
.flow3 .f-in li, .flow3 .f-out li { padding: 0 var(--o-s3); display: flex; flex-direction: column; justify-content: center; gap: 4px; border-radius: var(--o-r-card); font-size: 21px; color: var(--o-slate); }
.flow3 .f-in li { background: var(--o-paper); border: 1px solid var(--o-line); }
.flow3 .f-out li { background: #fff; border: 1px solid #cfe9c9; }
.flow3 li::before { display: none; }
.flow3 li b { font-family: var(--o-f-display) !important; font-size: 28px; font-weight: 700; color: var(--o-ink); letter-spacing: -.01em; }
.f-out { padding-left: 64px !important; }
.flow3 > div.f-mid { justify-content: center; gap: var(--o-s4); }
.f-steps { flex: none; }
/* Slide 7: promises as proper cards, so the steps above are no taller than they need */
.promises { gap: var(--o-s3); }
.promises span { padding: 26px 30px; font-size: 22px; border-left-width: 6px; box-shadow: var(--o-shadow-card); }
.promises b { font-family: var(--o-f-display) !important; font-size: 30px; font-weight: 700; margin-bottom: 6px; }
/* Slide 7: the five steps as a numbered track, no empty boxes */
.path { position: relative; gap: var(--o-s4); }
.path::before { content: ''; position: absolute; left: 32px; right: 32px; top: 30px; height: 4px; border-radius: 2px; background: var(--o-grad); }
.p-step, .p-step.gate { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.p-step:not(:last-child)::after { display: none; }
.p-n { position: relative; z-index: 1; width: 64px; height: 64px; background: #fff; border: 4px solid var(--o-steel); color: var(--o-steel-deep); margin-bottom: var(--o-s2); }
.p-step.gate .p-n { border: 0; background: var(--o-grad); color: var(--o-ink); width: 64px; height: 64px; }
.p-step.gate b { color: var(--o-ink); } .p-step.gate span { color: var(--ink-2); }
.p-step.gate em { background: var(--o-ink); color: var(--o-green-light); }
.p-step.gate strong { color: var(--o-green-deep); border-top-color: var(--o-line); }
.p-step strong { background: var(--o-card); border: 1px solid var(--o-line); border-left: 5px solid var(--o-green); border-radius: var(--o-r-card); padding: 18px 20px; box-shadow: var(--o-shadow-card); }
.p-step.gate strong { border-left-color: var(--o-ink); }
#path .web-fit { justify-content: space-evenly; }
#path .path { flex: none; }
#path .p-step strong { margin-top: var(--o-s3); }
.p-step.gate .p-n { border: 4px solid transparent; background: var(--o-grad) padding-box, var(--o-grad) border-box; }
#path .p-step em { align-self: flex-start; }
#path .web-fit { justify-content: space-between; padding-top: var(--o-s3); }
#steps .steps4 { flex: none; margin-top: var(--o-s4); }
#steps .needs { flex: 1; margin: var(--o-s5) 0 var(--o-s3); }
#steps .needs b { font-family: var(--o-f-display) !important; font-size: 32px; }
#steps .needs span { font-size: 24px; }
#steps .needs > div { padding: var(--o-s4); box-shadow: var(--o-shadow-card); }
#path .web-fit { justify-content: space-evenly; padding-top: 0; }
#path .p-step b { font-size: 44px; } #path .p-step span { font-size: 26px; } #path .p-step strong { font-size: 24px; padding: 20px 22px; }
#path .p-n { width: 72px; height: 72px; font-size: 34px; } #path .path::before { top: 34px; }
#path .promises span { padding: 30px 34px; font-size: 24px; } #path .promises b { font-size: 34px; }
#steps .steps4 { margin-top: 0; }

/* The mini Outlay app inside a slide */
.app-frame { position: relative; border-radius: 18px; overflow: hidden; background: #f2f6f7; border: 1px solid var(--o-line); box-shadow: 0 30px 60px -30px rgba(5,36,56,.45); }
.app-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* How Outlay works: four steps, each saying what to press in the demo */
.how4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--o-s3); position: relative; }
.h-step { position: relative; background: #fff; border: 1px solid var(--o-line); border-radius: var(--o-r-panel); padding: var(--o-s5) var(--o-s4) var(--o-s4); display: flex; flex-direction: column; gap: var(--o-s2); box-shadow: var(--o-shadow-card); }
.h-step:not(:last-child)::after { content: ''; position: absolute; right: -20px; top: 50%; z-index: 1; width: 16px; height: 16px; border-top: 4px solid var(--o-steel); border-right: 4px solid var(--o-steel); transform: translateY(-50%) rotate(45deg); }
.h-step i { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--o-f-display) !important; font-weight: 700; font-size: 48px; background: var(--o-steel-soft); color: var(--o-steel-deep); }
.h-step:last-child i { background: var(--o-grad); color: var(--o-ink); }
.h-step b { font-family: var(--o-f-display) !important; font-size: 42px; color: var(--o-ink); letter-spacing: -.02em; margin-top: var(--o-s2); }
.h-step span { font-size: 26px; line-height: 1.4; color: var(--o-slate); }
.h-step em { margin-top: auto; font-style: normal; font-size: 21px; font-weight: 600; color: var(--o-green-deep); background: var(--o-green-soft); border-radius: 10px; padding: 14px 18px; }
.how-cta { flex: none; font-size: 24px !important; color: var(--o-ink); background: var(--o-ink); color: #fff; border-radius: var(--o-r-card); padding: 20px 28px; }
.how-cta b { color: var(--o-green-light); }

/* What it means: four results from the demo, each tied to what they said */
.means { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--o-s3); }
.m-card { background: #fff; border: 1px solid var(--o-line); border-top: 6px solid var(--o-steel); border-radius: var(--o-r-panel); padding: var(--o-s4); display: flex; flex-direction: column; gap: var(--o-s2); box-shadow: var(--o-shadow-card); }
.m-card:nth-child(even) { border-top-color: var(--o-green); }
.m-card small { font-family: var(--o-f-mono) !important; font-size: 16px; letter-spacing: .06em; color: var(--o-slate); line-height: 1.4; }
.m-card small::before { content: '“'; } .m-card small::after { content: '”'; }
.m-card b { font-family: var(--o-f-display) !important; font-size: 38px; line-height: 1.12; color: var(--o-ink); letter-spacing: -.02em; }
.m-card span { font-size: 24px; line-height: 1.45; color: var(--o-slate); }
.m-card em { margin-top: auto; font-style: normal; font-family: var(--o-f-display) !important; font-size: 28px; font-weight: 700; color: var(--o-ink); background: var(--o-paper); border-left: 6px solid var(--o-green); border-radius: 10px; padding: 18px 20px; line-height: 1.25; }

/* What it means: a 2 x 2, each card with what they said and the title on the left, the evidence on the right */
.means { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.m-card { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto 1fr; column-gap: var(--o-s4); align-content: center; }
.m-card small, .m-card b, .m-card span { grid-column: 1; }
.m-card em { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: center; font-size: 34px; padding: 26px 28px; }
.m-card b { font-size: 40px; } .m-card span { font-size: 24px; }
.h-step b { font-size: 46px; } .h-step span { font-size: 28px; } .h-step i { width: 110px; height: 110px; font-size: 54px; } .h-step em { font-size: 23px; padding: 16px 20px; }

/* Phones: a note to open the deck on a computer, in place of the deck */
.desk-only { display: none; }
@media (max-width: 760px), (max-height: 500px) and (pointer: coarse) {
  html, body { height: 100%; overflow: hidden; }
  body > *:not(.desk-only) { display: none !important; }
  .desk-only { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 32px 24px; background: radial-gradient(120% 80% at 80% 0%, var(--o-ink-3), var(--o-night) 70%); color: #fff; font-family: var(--ns-sans, 'Geist', sans-serif); }
  .desk-only .desk-wm { width: 160px; filter: brightness(0) invert(1); }
  .desk-only h1 { margin: 12px 0 0; font: 700 32px/1.1 'Exo 2', sans-serif; }
  .desk-only p { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.82); }
  .desk-only .desk-ps { width: 120px; margin-top: 18px; }
}

/* Welcome slide: a legend of numbered pins above the footer mock, a matching pin on each control */
.ns-gfoot .ol-legend { position: absolute; left: 0; right: 0; top: 4px; display: flex; gap: 12px; flex-wrap: nowrap; }
.ol-legend span { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 6px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font: 600 18px Geist, system-ui, sans-serif; color: var(--navy); white-space: nowrap; }
.ol-legend em, .ol-pins em { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ol-green); color: var(--navy); font: 800 15px Geist, system-ui, sans-serif; }
.ns-gfoot .ol-pins { position: absolute; left: 0; right: 0; bottom: 64px; height: 0; z-index: 41; }
.ol-pins em { position: absolute; top: -14px; transform: translateX(-50%); box-shadow: 0 0 0 3px #fff; }
/* The sign-on tile: Outlay by Libra Europe, on the dark Outlay ground */
.ns-gcard.ol-sign { overflow: hidden; background: #052438; border-color: #052438; justify-content: center; gap: 22px; }
.ol-sign > .ol-texture { position: absolute; inset: 0; pointer-events: none; }
.ol-sign-in { position: relative; display: flex; align-items: center; gap: 22px; }
.ol-sign-in .ol-lockup { gap: 8px; }
.ol-sign-in .ol-lockup .wm { height: 34px; width: auto; }
.ol-sign-in .ol-lockup .ol-by img { height: 22px; width: auto; }
.ol-sign-in .x { font-size: 30px; color: rgba(255,255,255,.6); }
.ol-sign-in .ps { height: 40px; width: auto; }
.ns-gcard.ol-sign p { position: relative; color: rgba(255,255,255,.82); margin: 0; }

/* An option for later (short interval control): dashed, so it reads as not part of the first step */
.h-step.opt, .m-card.opt { border-style: dashed !important; background: transparent !important; box-shadow: none !important; }
.h-step.opt i { background: transparent; border: 3px dashed var(--o-steel); color: var(--o-steel-deep); }
.h-step.opt em { background: var(--o-steel-soft); color: var(--o-steel-deep); }
.m-card.opt small::before, .m-card.opt small::after { content: none; }

/* Menu drawer: the Outlay wordmark only */
#ns-drawer header img.ol-dwm { width: auto; height: 34px; border-radius: 0; }

/* Slide 7: numbered cards, and the option card as a white card with a dashed edge */
.m-card .m-n { grid-column: 1; font-style: normal; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--o-steel-soft); color: var(--o-steel-deep); font-family: var(--o-f-display) !important; font-weight: 700; font-size: 22px; margin-bottom: 4px; }
.means .m-card { grid-template-rows: auto auto auto 1fr; }
.means .m-card em { grid-row: 1 / 5; }
.m-card.opt { background: #fff !important; border: 2px dashed var(--o-steel) !important; border-top: 6px dashed var(--o-steel) !important; }
.m-card.opt .m-n { background: transparent; border: 2px dashed var(--o-steel); }
.m-card.opt em { background: var(--o-steel-soft); border-left-color: var(--o-steel); }
/* Slide 8: the gate step's number in white on its gradient */
#path .p-step.gate .p-n { color: #fff; }
/* Slide 9: what we need from you sits above its three cards, which take the full width */
#steps .needs { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr; column-gap: var(--o-s3); row-gap: var(--o-s2); }
#steps .needs h4 { grid-column: 1 / -1; margin: 0; }
/* Slide 10: the close, on the dark Outlay ground */
.ol-close { position: absolute; inset: 0; background: #052438; overflow: hidden; }
.ol-close-in { position: absolute; left: 160px; right: 160px; top: 0; bottom: 64px; display: flex; flex-direction: column; justify-content: center; gap: 34px; color: #fff; }
.ol-close-brand { display: flex; align-items: center; gap: 30px; }
.ol-close-brand .wm { height: 76px; width: auto; } .ol-close-brand .ps { height: 72px; width: auto; }
.ol-close-brand .x { font-size: 44px; color: rgba(255,255,255,.55); }
.ol-close h2 { font-family: var(--o-f-display) !important; font-size: 92px; line-height: 1.05; letter-spacing: -.02em; margin: 0; color: #fff; }
.ol-close p { font-size: 36px; color: rgba(255,255,255,.85); margin: 0; }
.ol-close p a { color: var(--o-green-light, #6ce484); text-decoration: none; font-weight: 600; border-bottom: 2px solid currentColor; }
.ol-close-by { font-family: var(--o-f-mono) !important; font-size: 20px; letter-spacing: .16em; text-transform: uppercase; color: var(--o-green-light, #6ce484); }
/* Slide 9: shorter asks, so the timeline sits lower in the space above them */
#steps .steps4 { flex: 1; margin-top: 0; align-content: center; }
#steps .needs { flex: none; margin: 0 0 var(--o-s2); }
#steps .needs > div { padding: 22px 26px; }
/* Slide 8: every "You get" box the same height, whatever its length */
#path .path { align-items: stretch; }
#path .p-step strong { box-sizing: border-box; min-height: calc(2 * 1.35em + 40px); display: flex; align-items: center; }
/* Slide 10 bleeds to the window edges like the cover */
#stage > .slide .ol-close { left: calc(-1 * var(--ox, 0px)); right: calc(-1 * var(--ox, 0px)); z-index: 3; }
.ol-close-in { left: calc(var(--ox, 0px) + 120px); right: calc(var(--ox, 0px) + 120px); }

/* Slide 1: the "Start here" card that floats above the Next arrow */
.ol-start-hint { position: absolute; bottom: 78px; z-index: 50; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 20px; border-radius: 14px; background: linear-gradient(118deg, #6ce484 0%, #2aa3aa 100%); color: #052438; box-shadow: 0 14px 32px rgba(5,36,56,.35); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .5s; }
.ol-start-hint.in { opacity: 1; animation: ol-bob 1.6s ease-in-out .5s infinite; }
.ol-start-hint b { font: 700 20px 'Exo 2', sans-serif; color: #052438; }
.ol-start-hint span { font: 500 14px Geist, sans-serif; color: #052438; }
.ol-start-hint::after { content: ''; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); border: 10px solid transparent; border-bottom: 0; border-top-color: #34b2a3; }
.ol-start-hint[hidden] { display: none; }
@keyframes ol-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }
@media (prefers-reduced-motion: reduce) { .ol-start-hint.in { animation: none; } }
