/* Proposal deck for Universitas Islam Batik Surakarta (UNIBA). UNIBA's navy and sky (from uniba.ac.id's CSS) in Sinau Studio's
   style: dark panels, keyword pills, ribbons, and light product windows that run demos. */
:root {
  /* UNIBA navy as the ink, in Sinau Studio's colourful world (pastel tones, coral and yellow pills) */
  --ink: #0F2C59;         /* UNIBA navy: dark slides, text on light */
  --ink-2: #1B3D72;       /* cards on dark slides */
  --brand: #0369A1;       /* UNIBA sky: actions and positive numbers; white on it 5.9:1 */
  --brand-text: #0369A1;  /* sky as small text on pale blue: 5.4:1 */
  --ground: #EAF4FD;      /* light slides (UNIBA pale blue) */
  --paper: #FFFFFF;
  --coral: #FF986B;
  --yellow: #FFFB6D;
  --lavender: #D1C1FF;
  --sky: #80C4F1;
  --mint: #89E0B3;
  --muted: #34445C;       /* body on pale blue */
  --muted-dark: #CAD7EA;  /* body on navy */
  --line: rgba(15, 44, 89, .14);
  --line-dark: rgba(255, 255, 255, .16);
  --red: #B4532A;         /* negative values in the forecast chart only */
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --check-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2C59' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus, var(--brand)); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }
html { scrollbar-color: var(--brand) var(--ground); accent-color: var(--brand); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }

/* ---------- Deck chrome ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; background: transparent; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--sky), var(--lavender), var(--coral)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.chrome { position: fixed; inset: 4px 0 auto; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 12px var(--pad); pointer-events: none; mix-blend-mode: normal; }
.chrome > * { pointer-events: auto; }
.chrome__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 14px; padding: 4px 12px 4px 4px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.chrome__brand img { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); }
.chrome__by { margin-left: auto; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px var(--line); }
.chrome__count { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 6px 12px; border-radius: 99px; background: var(--ink); color: var(--muted-dark); }
.chrome__count b { color: #fff; }
.pager { position: fixed; right: var(--pad); bottom: 18px; z-index: 50; display: flex; gap: 8px; }
.pager__btn, .pager__print { height: 44px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 6px 18px rgba(0, 0, 0, .22); }
.pager__btn { width: 44px; display: grid; place-items: center; }
.pager__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pager__print { padding: 0 16px; font-size: 13px; font-weight: 700; background: var(--coral); color: var(--ink); box-shadow: 0 0 0 1.5px rgba(15, 44, 89, .4), 0 6px 18px rgba(0, 0, 0, .22); } /* holds its edge on the coral slide */
.pager__btn:hover { background: var(--brand); }
.pager__hold .i-play, .pager__hold.is-paused .i-pause { display: none; }
.pager__hold.is-paused .i-play { display: block; }
.pager__hold { display: none; }
.anim .pager__hold { display: grid; }
/* Pointer follower (desktop): a dot that grows over what can be used, and names some of it */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; }
.cursor i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--ink); opacity: .9; }
.cursor span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font: 800 12px/1 var(--sans); color: var(--ink); white-space: nowrap; opacity: 0; }

/* ---------- Slides ---------- */
#deck { position: relative; }
.slide { position: relative; isolation: isolate; overflow: clip; min-height: 100svh; display: flex; flex-direction: column; justify-content: safe center; gap: 32px; padding: 96px var(--pad) 84px; }
.slide > * { width: 100%; max-width: 1200px; margin-inline: auto; }
.slide--dark { background: var(--ink); color: #fff; --body: var(--muted-dark); --pill: var(--yellow); --stop: var(--coral); --focus: var(--yellow); --tick: var(--yellow); --tick-img: var(--check-ink); --card: var(--ink-2); }
.slide--light { background: var(--ground); color: var(--ink); --body: var(--muted); --pill: var(--coral); --stop: var(--brand-text); --focus: var(--brand); --tick: var(--brand); --tick-img: var(--check-white); --card: var(--paper); }
/* Sinau's pastel slides: ink text, ink ticks, white cards */
.slide--lavender, .slide--sky, .slide--coral, .slide--mint, .slide--yellow { color: var(--ink); --body: #22324A; --stop: var(--ink); --focus: var(--ink); --tick: var(--ink); --tick-img: var(--check-white); --card: var(--paper); }
.slide--lavender { background: var(--lavender); --pill: var(--yellow); }
.slide--sky { background: var(--sky); --pill: var(--yellow); }
.slide--coral { background: var(--coral); --pill: var(--yellow); }
.slide--mint { background: var(--mint); --pill: var(--yellow); }
.slide--yellow { background: var(--yellow); --pill: var(--coral); }
.slide--yellow .price b { color: var(--ink); }
.slide--dark + .slide--dark { border-top: 1px solid var(--line-dark); }
@media (min-width: 1000px) and (min-height: 640px) {
  html { scroll-snap-type: y proximity; }
  .slide { scroll-snap-align: start; height: 100svh; min-height: 640px; }
}
@media (min-width: 1000px) and (max-height: 800px) {
  /* 1280x720 laptops and projectors: tighter frame so every slide fits one screen */
  .slide { padding-top: 78px; padding-bottom: 68px; gap: 20px; }
  .h2 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); }
  .proj { gap: 12px; }
  .tile { padding: 10px 14px; }
  .viz { padding: 10px 14px 6px; }
}

/* Type */
.title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.title em, .h2 em { font-style: normal; padding: 0 .14em .04em; border-radius: .2em; color: var(--ink); background: linear-gradient(var(--pill), var(--pill)) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; } /* app.js sweeps the pill in like a marker */
.stop { color: var(--stop); }
.title em + .stop, .h2 em + .stop { margin-left: -.08em; } /* the pill's padding already spaces it */
.cm { margin-left: -.06em; } /* the heavy comma's side bearing reads as a space */
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--body); max-width: 36em; text-wrap: pretty; }
.body { font-size: 1.06rem; color: var(--body); max-width: 40em; text-wrap: pretty; }
.body--wide { max-width: 52em; }
.meta, .sign { font-size: 14px; font-weight: 600; color: var(--body); text-wrap: pretty; }
.salam__open { display: inline-block; margin-top: 6px; color: var(--ink); }
.salam__close { font-weight: 700; color: var(--ink); }
.source { font-size: 13px; color: var(--body); opacity: .9; }
.stack { display: grid; gap: 18px; align-content: center; }
.stack--center { justify-items: center; text-align: center; }

/* Layout helpers */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.two--wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.two--demo { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 44px; }
.two--even { align-items: stretch; gap: 24px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

/* Ribbons (pita): app.js shapes each centreline into a band with swallowtail ends, behind content */
.ribbon { position: absolute; z-index: -1; height: auto; pointer-events: none; overflow: visible; }
.ribbon path { stroke: none; }
.ribbon:not(.is-shaped) { display: none; }
@media (min-width: 1101px) { .ribbon--narrow { display: none; } }
.ribbon__glint { fill: none; stroke: #fff !important; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 96; opacity: .55; }
/* The wipe: one giant ribbon that crosses the screen between slides (desktop stage only) */
.wipe { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; display: none; }
.stage-big .wipe { display: block; } /* only the desktop stage wipes between slides */
.wipe .ribbon__glint { stroke-width: 6; }
/* A pinned slide dims as the next one covers it */
.slide::after { content: ""; position: absolute; inset: 0; z-index: 30; background: #071630; opacity: var(--dim, 0); pointer-events: none; }
html.stage-big { scroll-snap-type: none !important; }
.stage-big .slide { scroll-snap-align: none; }
.motion:not(.anim-ready) .cover__grid { opacity: 0; } /* app.js shows it once its entrance is set */

/* ---------- 1. Cover ---------- */
.cover__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; }
.cover__copy { display: grid; gap: 18px; }
.cover__mark { display: grid; justify-items: center; gap: 16px; text-align: center; }
.cover__mark img { --d: min(300px, 60vw); width: var(--d); aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: #fff; padding: calc(var(--d) * .11); box-shadow: 0 0 0 10px rgba(128, 196, 241, .25), 0 0 0 20px rgba(209, 193, 255, .14); }
.cover__mark figcaption { font-weight: 800; font-size: 1.1rem; }
.cover__mark figcaption span { font-weight: 500; font-size: .92rem; color: var(--muted-dark); }

/* ---------- 2. Salam: what is built, what the plan adds ---------- */
.built { display: grid; gap: 12px; padding: 28px 30px; border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.built__title { font-size: 13px; font-weight: 800; color: var(--muted); }
.built__title + .built__list { margin-bottom: 8px; }
.built__list { display: grid; gap: 8px; }
.built__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--ground); }
.built__list li::before { content: "+"; grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: var(--ink); font-weight: 800; }
.built__list li.is-done::before { content: ""; background: var(--brand) var(--check-white) center / 14px no-repeat; }
.built__list b { font-size: 1.05rem; font-weight: 800; }
.built__list span { font-size: .92rem; color: var(--muted); }

/* ---------- 3. Value of one student + calculator ---------- */
.facts { display: grid; gap: 14px; }
.facts li { display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: var(--ink-2); }
.facts b { font-size: 1rem; }
.facts span { color: var(--muted-dark); font-size: .95rem; }
.calc { background: var(--ground); color: var(--ink); border-radius: 24px; padding: 26px; display: grid; gap: 16px; }
.calc__title { font-weight: 800; font-size: 1.1rem; }
.field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field output { font-size: 1.15rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.field input { grid-column: 1 / -1; width: 100%; accent-color: var(--brand); height: 28px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(15, 44, 89, .08); }
.seg button { flex: 1 1 auto; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 9px; background: transparent; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc__out > div { padding: 12px 14px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.calc__out dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.calc__out dd b { display: block; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc__out dd small { font-size: 12.5px; color: var(--muted); }
.calc__save { grid-column: 1 / -1; background: var(--brand) !important; color: #fff; box-shadow: none !important; }
.calc__save dt, .calc__save dd small { color: #fff !important; } /* 5.6:1 on the brand blue */
.calc__save dd b { font-size: 1.6rem; }
.calc__note { font-size: 12.5px; color: var(--muted); }

/* ---------- 4. Solution: three rooms of one house, a typographic list ---------- */
.rooms { display: grid; border-top: 2px solid var(--ink); }
.room { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr); align-items: center; gap: 16px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.room__word { justify-self: start; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; padding: .06em .2em .12em; border-radius: .2em; background: var(--tone); color: var(--ink); }
.room p b { color: var(--ink); }
.room p { font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 40em; }
.room--coral { --tone: var(--coral); }
.room--yellow { --tone: var(--yellow); }
.room--sky { --tone: var(--sky); }

/* Tick lists */
.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--body); font-size: .98rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px; border-radius: 50%; background: var(--tick) var(--tick-img) center / 12px no-repeat; }
.ticks--tight { gap: 7px; }
.ticks--tight li { font-size: .93rem; }
.callout { padding: 14px 18px; border-radius: 16px; background: var(--card); color: var(--body); font-size: .95rem; }
.callout b { color: inherit; }
.slide--dark .callout b { color: #fff; }
.slide--dark .callout { box-shadow: inset 0 0 0 1px rgba(128, 196, 241, .4); }

/* ---------- Product windows (light, neutral; one blue accent) ---------- */
.demo { display: grid; gap: 12px; min-width: 0; }
.app {
  --bg: #fff; --fg: #09090b; --sunk: #fafafa; --muted: #f4f4f5; --muted-fg: #71717a; --muted-fg-2: #52525b; --line: #e4e4e7;
  --ok: #047857; --ok-bg: #ecfdf5; --ok-line: #a7f3d0; --wait: #b45309; --wait-bg: #fffbeb; --wait-line: #fde68a;
  background: var(--bg); color: var(--fg); border-radius: 14px; overflow: hidden; font-size: 13px; line-height: 1.35;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 24px 60px -20px rgba(0, 0, 0, .45);
}
.app svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app__bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.app__leaf { width: 18px; height: 18px; flex: none; border-radius: 5px; background: #fff url("assets/logo-uniba.png") center / 100% no-repeat; box-shadow: 0 0 0 1px var(--line); }
.crumbs { display: flex; align-items: center; gap: 4px; min-width: 0; color: var(--muted-fg); font-weight: 500; }
.crumbs svg { width: 14px; height: 14px; }
.crumbs b { color: var(--fg); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 22px; margin-left: auto; padding: 0 8px; border: 1px solid; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.status--wait { color: var(--wait); background: var(--wait-bg); border-color: var(--wait-line); }
.app__main { display: grid; gap: 10px; padding: 12px 14px; min-width: 0; }
.app__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding: 6px 14px; border-top: 1px solid var(--line); background: var(--sunk); color: var(--muted-fg); font-size: 12px; }
.foot__state { min-width: 0; }
.card { border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.card__head { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 12px; border-bottom: 1px solid var(--line); }
.card__head b { font-weight: 600; white-space: nowrap; }
.card__head span { margin-left: auto; min-width: 0; color: var(--muted-fg); font-size: 12px; text-align: right; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; color: var(--muted-fg-2); }
.row b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row--total { border-top: 1px solid var(--line); color: var(--fg); font-weight: 600; }
.row--total b { font-size: 14px; font-weight: 700; }
/* the starting point measured again in every report */
.baseline { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-dark); }
.baseline__title { font-size: 12.5px; font-weight: 700; color: var(--body); }
.baseline dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.baseline dt { font-size: 12px; color: var(--body); }
.baseline dd { font-size: 1.2rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.baseline small { display: block; font-size: 12px; font-weight: 500; color: var(--body); }

/* the price tag under a service heading */
.tag { justify-self: start; padding: 7px 14px; border-radius: 12px; background: var(--card); color: var(--body); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.tag b { color: var(--ink); font-weight: 800; }
.slide--dark .tag { box-shadow: inset 0 0 0 1px var(--line-dark); }
.slide--dark .tag b { color: #fff; }
.app { --blue: #0369A1; --blue-bg: #eff6ff; --blue-line: #bfdbfe; }
.app .card { background: var(--bg); }

/* social window: plan on the left, the reel on a phone on the right */
.social { grid-template-columns: minmax(0, 1fr) 176px; align-items: start; }
.social__plan { display: grid; gap: 10px; min-width: 0; }
.cal li { display: grid; grid-template-columns: 50px 74px minmax(0, 1fr); align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid var(--line); color: var(--muted-fg-2); }
.cal li:last-child { border-bottom: 0; }
.cal small { font-size: 12px; color: var(--muted-fg); font-variant-numeric: tabular-nums; }
.cal__t { min-width: 0; color: var(--fg); font-weight: 500; line-height: 1.25; }
.cal li.is-focus { background: var(--blue-bg); box-shadow: inset 0 0 0 1px var(--blue-line); }
.cal li.is-focus small { color: var(--muted-fg-2); }
.chip { justify-self: start; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; color: #3f3f46; }
.chip--carousel { background: #ede9fe; }
.chip--story { background: #dcfce7; }
.chip--reel { background: #ffe4d6; }
.chip--feed { background: #e0f2fe; }
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.pipe li { position: relative; padding: 18px 0 0; font-size: 11.5px; line-height: 1.2; font-weight: 600; color: var(--muted-fg); text-align: center; }
.pipe li::before { content: ""; position: absolute; left: 50%; top: 2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 1.5px solid #d4d4d8; background: #fff; }
.pipe li::after { content: ""; position: absolute; top: 8px; left: calc(50% + 9px); right: calc(-50% + 9px); height: 1.5px; background: var(--line); }
.pipe li:last-child::after { display: none; }
.pipe li.is-done { color: var(--fg); }
.pipe li.is-done::before { border-color: var(--blue); background: var(--blue); }
.pipe li.is-done::after { background: var(--blue); }
.review { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.avatar { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: #0F2C59; color: #fff; font-size: 12px; font-weight: 800; }
.review p { display: grid; min-width: 0; }
.review b { font-weight: 600; }
.review p span { color: var(--muted-fg-2); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metrics p { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.metrics svg { grid-row: span 2; width: 18px; height: 18px; color: var(--blue); }
.metrics b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.metrics small { color: var(--muted-fg); font-size: 12px; }
.phone { padding: 6px; border-radius: 26px; background: #0b0b0f; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.reel { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 20px; color: #fff; background: linear-gradient(170deg, #0F2C59 0%, #075A8C 52%, #0B3B66 100%); } /* white on every stop >= 7:1 */
.reel::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(4, 14, 30, .78)); }
.reel__badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, .22); font-size: 10.5px; font-weight: 700; }
.reel__title { position: absolute; left: 10px; right: 10px; top: 34px; z-index: 1; font-size: 17px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.reel__title span { display: inline; padding: 0 .15em; border-radius: .15em; background: #FFFB6D; color: #0F2C59; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.reel__play { position: absolute; left: 50%; top: 46%; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.reel__play svg { width: 18px; height: 18px; fill: #fff; stroke: none; }
.reel__side { position: absolute; right: 7px; bottom: 74px; z-index: 2; display: grid; gap: 10px; justify-items: center; }
.reel__side li { display: grid; justify-items: center; gap: 1px; }
.reel__side svg { width: 18px; height: 18px; }
.reel__side b { font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.reel__cap { position: absolute; left: 9px; right: 36px; bottom: 16px; z-index: 2; font-size: 10.5px; line-height: 1.35; }
.reel__cap b { font-weight: 700; }
.reel__bar { position: absolute; left: 9px; right: 9px; bottom: 7px; z-index: 2; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.reel__bar b { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(1); }

/* ads window */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kpis p { display: grid; gap: 2px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.kpis small { font-size: 11.5px; color: var(--muted-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis svg { width: 100%; height: 22px; }
.kpis path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.camp { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.camp__row { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, .9fr) minmax(0, .5fr) minmax(0, .8fr) 62px; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; color: var(--muted-fg-2); }
.camp__row:last-child { border-bottom: 0; }
.camp__row > span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; }
.camp__row > span:first-child b { min-width: 0; color: var(--fg); font-weight: 600; line-height: 1.25; }
.camp__row--head { padding-block: 6px; background: var(--sunk); font-size: 11.5px; font-weight: 600; color: var(--muted-fg); }
.camp__row.is-off { background: var(--sunk); }
.camp__row.is-off > span:not(:last-child), .camp__row.is-off b { color: var(--muted-fg); }
.ch { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 5px; font-size: 10px; font-style: normal; font-weight: 800; }
.ch--google { background: #e8f0fe; color: #1a56c4; }
.ch--meta { background: #e7efff; color: #1d4ed8; }
.ch--tiktok { background: #18181b; color: #fff; }
.pill { justify-self: end; padding: 2px 7px; border-radius: 6px; border: 1px solid; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pill--ok { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.pill--off { color: var(--wait); background: var(--wait-bg); border-color: var(--wait-line); }
.toast, .optim, .nudge, .match { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid; }
.toast { color: var(--fg); background: var(--blue-bg); border-color: var(--blue-line); }
.toast svg { color: var(--blue); }
.toast p { display: grid; min-width: 0; }
.toast b { font-weight: 600; }
.toast span { color: var(--muted-fg-2); font-size: 12px; }
.optim, .nudge { color: #78350f; background: var(--wait-bg); border-color: var(--wait-line); font-size: 12.5px; }
.optim svg, .nudge svg { color: var(--wait); }
.match { color: #065f46; background: var(--ok-bg); border-color: var(--ok-line); font-size: 12.5px; font-weight: 600; }
.match svg { color: var(--ok); stroke-width: 3; }

/* lead window: inbox on the left, the selected lead and per-channel cost on the right */
.leads { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: auto 1fr; align-items: start; }
.inbox { grid-row: span 2; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.inbox li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.inbox li:last-child { border-bottom: 0; }
.inbox li.is-sel { background: var(--blue-bg); box-shadow: inset 0 0 0 1px var(--blue-line); }
.inbox li.is-sel small { color: var(--muted-fg-2); }
.who { display: grid; min-width: 0; }
.who b { font-weight: 600; }
.who small { color: var(--muted-fg); font-size: 11.5px; line-height: 1.25; }
.src { justify-self: start; padding: 2px 6px; border-radius: 5px; font-size: 10.5px; font-weight: 700; }
.src--meta { background: #e7efff; color: #1d4ed8; }
.src--google { background: #e8f0fe; color: #1a56c4; }
.src--tiktok { background: #18181b; color: #fff; }
.src--wa { background: #dcfce7; color: #166534; }
.lst { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; background: var(--muted); color: var(--muted-fg-2); font-size: 11px; font-weight: 700; white-space: nowrap; }
.lst svg { width: 12px; height: 12px; }
.lst--ok { background: var(--ok-bg); color: var(--ok); }
.lst--merge { background: transparent; color: var(--muted-fg); }
.inbox li[data-dup] { background: var(--sunk); }
.inbox li[data-dup] b { color: var(--muted-fg-2); font-weight: 500; }
.detail { display: grid; gap: 8px; padding-bottom: 10px; }
.detail > :not(.card__head) { margin-inline: 12px; }
.detail__who { display: flex; align-items: center; gap: 8px; color: var(--muted-fg-2); }
.detail__who b { color: var(--fg); font-weight: 600; }
.lsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.lsteps li { position: relative; display: grid; justify-items: center; gap: 1px; padding-top: 18px; text-align: center; }
.lsteps i { position: absolute; top: 2px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 1.5px solid #d4d4d8; background: #fff; }
.lsteps li::after { content: ""; position: absolute; top: 8px; left: calc(50% + 9px); right: calc(-50% + 9px); height: 1.5px; background: var(--line); }
.lsteps li:last-child::after { display: none; }
.lsteps b { font-size: 11.5px; font-weight: 600; color: var(--muted-fg); }
.lsteps small { font-size: 10.5px; line-height: 1.2; color: var(--muted-fg); }
.lsteps li.is-done b { color: var(--fg); }
.lsteps li.is-done i { border-color: var(--blue); background: var(--blue); }
.lsteps li.is-done::after { background: var(--blue); }
.perch__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .6fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--line); color: var(--muted-fg-2); font-variant-numeric: tabular-nums; }
.perch__row:last-child { border-bottom: 0; }
.perch__row b { justify-self: end; color: var(--fg); font-weight: 700; }
.perch__row--head { background: var(--sunk); font-size: 11px; font-weight: 600; color: var(--muted-fg); }
.perch__row--head span:last-child { justify-self: end; }

/* caption + pause */
.demo figcaption { display: flex; align-items: flex-start; gap: 6px 16px; }
.demo__note { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--body); }
.pause { display: none; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 1px solid currentColor; border-radius: 99px; background: transparent; font-size: 12.5px; font-weight: 700; color: var(--body); cursor: pointer; flex: none; }
.anim .pause { display: inline-flex; }
.pause svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pause .i-play, .pause.is-paused .i-pause { display: none; }
.pause.is-paused .i-play { display: block; }
@media (pointer: coarse) { .pause { min-height: 44px; } }

/* ---------- 8 and 13. Flow: a line with coloured stops, like Sinau's process track ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 4px; }
.flow::before { content: ""; position: absolute; left: 18px; right: calc((100% - 96px) / 5 - 18px); top: 21px; height: 2px; background: currentColor; opacity: .35; transform-origin: left; transform: scaleX(var(--line, 1)); } /* first dot to last dot; app.js draws it in */
.flow li { position: relative; display: grid; gap: 6px; align-content: start; }
.flow__n { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dot, var(--mint)); color: var(--ink); font-weight: 800; box-shadow: 0 0 0 5px var(--ring, var(--lavender)); margin-bottom: 8px; }
.flow li:nth-child(1) { --dot: var(--coral); }
.flow li:nth-child(2) { --dot: var(--yellow); }
.flow li:nth-child(3) { --dot: var(--mint); }
.flow li:nth-child(4) { --dot: var(--sky); }
.flow li:nth-child(5) { --dot: #fff; }
.flow h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; }
.flow p { color: var(--body); font-size: .95rem; }
.flow--dark { --ring: var(--ink); }
.flow--dark li:nth-child(5) { --dot: var(--lavender); }
.alur__note { margin-inline: auto; text-align: center; color: var(--ink); font-weight: 600; }

/* ---------- 9. Report and data ---------- */
.panel-card { display: grid; gap: 16px; align-content: start; padding: 28px; border-radius: 24px; background: var(--ink-2); }
.panel-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 800; }
.panel-card h3 svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.panel-card--coral { box-shadow: inset 0 0 0 1px rgba(255, 152, 107, .55); }
.panel-card--coral h3 svg { background: var(--coral); }

/* ---------- 10. Investment ---------- */
.invest__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 40px; }
.invest__head .h2 { max-width: 13em; }
.price { display: grid; gap: 4px; justify-items: end; text-align: right; }
.price b { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.price span { font-size: .95rem; color: var(--body); max-width: 30em; text-wrap: balance; }
.price--left { justify-items: start; text-align: left; }
.slide--sky .price b { color: var(--ink); }
.phases { display: grid; gap: 12px; }
.phases li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.phases span { color: var(--muted); font-size: .93rem; }
.note { margin-top: 12px; font-size: .88rem; color: var(--ink); padding: 10px 12px; border-radius: 12px; background: var(--yellow); }

/* ---------- 10. Price list ---------- */
.pricelist { display: grid; border-top: 2px solid var(--ink); }
.pricelist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 32px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pricelist__name { display: grid; gap: 2px; }
.pricelist__name b { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 800; letter-spacing: -.01em; }
.pricelist__name small { font-size: .95rem; color: var(--muted); }
.pricelist__amt { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.pricelist__amt small { margin-left: 4px; font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.pricelist__setup .pricelist__amt { color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.pricelist__total { margin-top: 12px; padding: 16px 22px !important; border: 0 !important; border-radius: 18px; background: var(--ink); color: #fff; }
.pricelist__total small, .pricelist__total .pricelist__amt small { color: var(--muted-dark); }
.pricelist__total .pricelist__amt { color: var(--yellow); }

/* ---------- 12. Forecast ---------- */
.proj { gap: 18px; }
.proj__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.proj__ctrl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 10px 18px; width: 100%; }
.seg--light { background: rgba(15, 44, 89, .08); }
.field--light output { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.tile span { font-size: 13px; font-weight: 600; color: var(--muted); }
.tile b { font-size: clamp(1.15rem, 1.9vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile--brand { background: var(--brand); box-shadow: none; }
.tile--brand span { color: #fff; }
.tile--brand b { color: #fff; }
.viz { position: relative; padding: 14px 16px 10px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.viz__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.viz__title { font-size: 13px; font-weight: 700; color: var(--muted); }
.linkbtn { border: 0; background: none; padding: 6px 0; font-size: 13px; font-weight: 700; color: var(--brand-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: rgba(15, 44, 89, .1); }
.chart .zero { stroke: rgba(15, 44, 89, .45); }
.chart text { font: 600 11px var(--sans); fill: var(--muted); }
.chart .val { font-weight: 700; fill: var(--ink); }
.chart .bar { fill: var(--brand); }
.chart .bar.neg { fill: var(--red); }
.chart .hit { fill: transparent; cursor: default; }
.chart .bar.is-hover { opacity: .78; }
.tip { position: absolute; z-index: 5; pointer-events: none; min-width: 190px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.tip b { display: block; margin-bottom: 2px; }
.tip span { display: flex; justify-content: space-between; gap: 16px; color: var(--muted-dark); }
.tip span em { font-style: normal; color: #fff; font-variant-numeric: tabular-nums; }
.table-wrap { max-height: 260px; overflow: auto; margin-top: 6px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.table-wrap th:first-child, .table-wrap td:first-child { text-align: left; }
.assume { font-size: 12px; line-height: 1.45; color: var(--muted); }

/* ---------- 14. Closing ---------- */
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: #025A8A; }
.btn--line { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.slide--coral .btn--brand { background: var(--ink); }
.slide--coral .btn--brand:hover { background: var(--ink-2); }


/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .two, .two--wide, .two--demo { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cover__grid { grid-template-columns: minmax(0, 1fr); }
  .cover__mark { order: -1; justify-items: start; margin-left: 12px; }
  .cover__mark img { --d: 112px; box-shadow: 0 0 0 6px rgba(128, 196, 241, .25), 0 0 0 12px rgba(209, 193, 255, .14); }
  .cover__mark figcaption { display: none; }
  .ribbon--top { display: none; } /* top-edge ribbons would cross the headings once the columns stack */
  .three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj__ctrl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .slide { padding: 84px var(--pad) 88px; gap: 24px; }
  .chrome { gap: 8px; }
  .chrome__brand, .chrome__by { display: none; } /* floating badges would sit on the text while scrolling */
  .chrome__count { margin-left: auto; }
  .three { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-left: 52px; }
  .flow::before { left: 17px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--line, 1)); }
  .flow__n { position: absolute; left: -52px; top: 0; margin: 0; }
  .room { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0; }
  .price { justify-items: start; text-align: left; }
  .invest__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .calc { padding: 18px; }
  .calc__out { grid-template-columns: minmax(0, 1fr); }
  .pricelist li { grid-template-columns: minmax(0, 1fr); }
  .pager [data-go], .pager__print { display: none; } /* phones scroll; only the motion pause stays */
  .cover__mark img { --d: 88px; }
  .pager { bottom: calc(env(safe-area-inset-bottom) + 12px); }
  .built { padding: 20px; }
}
@media (max-width: 640px) {
  .social, .leads { grid-template-columns: minmax(0, 1fr); }
  .phone { justify-self: center; width: 176px; }
  .inbox { grid-row: auto; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .camp__row { grid-template-columns: minmax(0, 1fr) minmax(0, .5fr) minmax(0, .9fr) 62px; }
  .camp__row > :nth-child(2) { display: none; } /* spend: the lead count and cost per lead tell the story */
}
@media (max-width: 400px) {
  .app__bar { flex-wrap: wrap; height: auto; min-height: 44px; padding-block: 8px; row-gap: 6px; } /* the status drops under the crumbs */
  .app__main { padding: 10px; }
  .card__head span { display: none; }
  .pager__print { display: none; }
}

/* ---------- Print: one slide per 16:9 page ---------- */
@page { size: 1280px 720px; margin: 0; }
@media print {
  html { scroll-snap-type: none; }
  body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .progress, .chrome, .pager, .pause, .linkbtn, .tip { display: none !important; }
  .slide { height: 720px; min-height: 0; padding: 48px 64px; break-after: page; page-break-after: always; overflow: hidden; }
  .title em, .h2 em { background-size: 100% 100% !important; color: var(--ink) !important; }
  .wipe, .cursor, .slide::after { display: none !important; }
  .slide { transform: none !important; border-radius: 0 !important; }
  .cover__grid { opacity: 1 !important; }
  .two, .two--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .two--demo { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .table-wrap { display: none !important; }
}

