/* Kleter partner deck. Tokens and type follow DESIGN.md (appointment-card world). Canvas: 1920x1080, scaled to fit. */
@font-face { font-family: KH; src: url(fonts/ArchivoHeadline-Heavy.woff2) format('woff2'); font-display: block; }
@font-face { font-family: KX; src: url(fonts/ArchivoExpanded-Black.woff2) format('woff2'); font-display: block; }
@font-face { font-family: KL; src: url(fonts/ArchivoLabel-SemiBold.woff2) format('woff2'); font-display: block; }
@font-face { font-family: KA; src: url(fonts/Archivo-Regular.woff2) format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: KA; src: url(fonts/Archivo-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: block; }
@font-face { font-family: KA; src: url(fonts/Archivo-Bold.woff2) format('woff2'); font-weight: 700; font-display: block; }
@font-face { font-family: KM; src: url(fonts/MartianMonoEntry-Regular.woff2) format('woff2'); font-display: block; }

:root {
  --canary: #F5D547; --paper: #FFFFFF; --ink: #1C1F33; --ink2: #4A4E66; --print: #A82229; --pen: #1F37B0;
  --shadow: 0 1px 0 rgb(28 31 51 / .08), 0 22px 44px -26px rgb(28 31 51 / .55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background: var(--ink); color: var(--paper); font-family: KA, sans-serif; -webkit-font-smoothing: antialiased; overflow: hidden; display: flex; flex-direction: column; }
::selection { background: var(--canary); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--canary); outline-offset: 3px; }

/* ---------- player ---------- */
.stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.deck { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform: translate(-50%, -50%) scale(var(--s, .5)); background: var(--paper); box-shadow: 0 30px 80px -30px rgb(0 0 0 / .6); }
.start { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(28 31 51 / .0); z-index: 5; }
.start button { display: flex; align-items: center; gap: 16px; border: 0; cursor: pointer; background: var(--ink); color: var(--paper); font: 700 22px/1 KA, sans-serif; padding: 22px 34px 22px 26px; border-radius: 999px; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .7); }
.start[hidden] { display: none; }
.start button:hover { background: var(--canary); color: var(--ink); }
.start button small { font: 400 15px KM, monospace; opacity: .8; }
.start svg { width: 30px; height: 30px; }
.cap { min-height: 74px; padding: 12px 24px 6px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.4; color: var(--paper); text-wrap: balance; }
.cap[hidden] { display: flex; visibility: hidden; }
.bar { display: flex; align-items: center; gap: 10px; padding: 8px 16px 14px; flex-wrap: wrap; }
.bar button, .bar a.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid rgb(255 255 255 / .35); background: transparent; color: var(--paper); font: 600 14px KA, sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; }
.bar button:hover, .bar a.btn:hover { border-color: var(--canary); color: var(--canary); }
.bar .main, .bar a.btn.main { background: var(--canary); border-color: var(--canary); color: var(--ink); }
.bar .main:hover, .bar a.btn.main:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.bar button[aria-pressed="true"] { border-color: var(--canary); color: var(--canary); }
.bar svg { width: 18px; height: 18px; }
.count { font: 400 14px KM, monospace; color: rgb(255 255 255 / .8); min-width: 64px; text-align: center; }
.prog { flex: 1; display: flex; gap: 4px; min-width: 160px; }
.prog button { flex: 1; height: 22px !important; padding: 0 !important; border: 0 !important; background: transparent !important; position: relative; }
.prog button::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .22); }
.prog button i { position: absolute; left: 0; top: 9px; height: 4px; border-radius: 2px; background: var(--canary); width: 0; }
.prog button.done i { width: 100%; }
.spacer { flex: 1; }
.rotate { display: none; text-align: center; font-size: 14px; color: rgb(255 255 255 / .7); padding: 0 16px 6px; }
@media (max-width: 720px) {
  .bar { gap: 6px; padding: 6px 10px 12px; }
  .bar button, .bar a.btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .bar .hide-sm, .bar a.btn.hide-sm { display: none; }
  .prog { order: -1; flex-basis: 100%; }
}
@media (max-width: 720px) and (orientation: portrait) { .rotate { display: block; } }
@media (max-height: 520px) {
  .cap { min-height: 0; padding: 4px 12px 2px; font-size: 13px; }
  .bar { flex-wrap: nowrap; gap: 6px; padding: 4px 10px 6px; }
  .bar button, .bar a.btn { height: 32px; padding: 0 10px; font-size: 12px; }
  .bar .hide-short, .bar .hide-sm, .bar a.btn.hide-short, .bar a.btn.hide-sm, .count { display: none; }
  .prog { order: 0; flex-basis: auto; min-width: 60px; }
}

/* ---------- slides ---------- */
.slide { position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; padding: 110px 120px 72px; color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 120ms); }
.slide.on .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise, .slide { transition: none !important; transform: none !important; } }
.bg-canary { background: var(--canary); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--paper); }

.h1 { font-family: KH; line-height: .92; letter-spacing: -.035em; text-wrap: balance; }
.h2 { flex: none; font-family: KH; font-size: 96px; line-height: .96; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-family: KH; font-size: 46px; letter-spacing: -.02em; line-height: 1; }
.body { font-size: 34px; line-height: 1.4; text-wrap: pretty; }
.mono { font-family: KM; }
.pen { color: var(--pen); }
.canary { color: var(--canary); }
.label { font-family: KL; color: var(--print); font-size: 24px; word-spacing: .06em; }
.entry { font-family: KM; color: var(--pen); font-size: 27px; letter-spacing: -.01em; }
.biz { font-family: KX; letter-spacing: -.02em; line-height: 1; }
.src { font-size: 21px; color: var(--ink2); line-height: 1.4; }
.foot { margin-top: auto; padding-top: 28px; font-size: 21px; line-height: 1.45; color: rgb(255 255 255 / .72); }
.foot.dark { color: var(--ink); }
.kicker { margin-top: auto; padding-top: 28px; font-family: KA; font-weight: 700; font-size: 44px; letter-spacing: -.01em; }
.pill { display: inline-flex; align-items: center; height: 96px; padding: 0 52px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 36px KA, sans-serif; text-decoration: none; }
.pill:hover { background: var(--paper); color: var(--ink); }
.check { width: 40px; height: 40px; flex: none; mix-blend-mode: multiply; }
.circle { position: absolute; left: -12px; top: -12px; width: 58px; height: 54px; mix-blend-mode: multiply; }

/* appointment card */
.card { position: relative; border-radius: 14px; box-shadow: var(--shadow); padding: 40px 46px 34px; color: var(--print); word-spacing: .03em; }
.stock-white { background: var(--paper); }
.stock-canary { background: var(--canary); }
.card .biz { font-size: 54px; color: var(--print); }
.card .addr { font-size: 21px; margin-top: 10px; }
.cardhead { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 30px; min-height: 34px; }
.cardhead .label { font-size: 25px; }
.days { display: flex; gap: 12px; font-family: KL; font-size: 27px; }
.day { position: relative; width: 36px; text-align: center; }
.fill { display: flex; align-items: baseline; gap: 18px; border-bottom: 2px solid var(--print); padding: 16px 0 9px; flex: 1; min-width: 0; }
.fill .entry { white-space: nowrap; }
.pair { display: flex; gap: 30px; }
.cardnote { font-size: 19px; margin-top: 22px; }

/* slide 2 */
.stats { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.big { font-family: KM; font-size: 128px; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.bg-ink .big { color: var(--canary); }
.statline { font-size: 32px; line-height: 1.35; margin-top: 18px; max-width: 760px; text-wrap: pretty; }
.stat .src { margin-top: 14px; }
.calls { margin-top: 56px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 16px; }
.call { height: 132px; border-radius: 14px; box-shadow: var(--shadow); background: var(--paper); padding: 16px 16px; display: flex; flex-direction: column; justify-content: space-between; }
.call.miss { background: #F4F4F6; box-shadow: none; border: 2px dashed rgb(168 34 41 / .45); }
.call .label { font-size: 19px; }
.call .entry { font-size: 17px; }
.call .check { width: 30px; height: 30px; }
.call .missed { font-family: KL; font-size: 19px; color: var(--ink2); }
.call.ok { display: grid; grid-template-rows: auto 1fr auto; align-items: end; }

/* slide 3 */
.checks { list-style: none; display: grid; gap: 22px; }
.checks li { display: flex; align-items: flex-start; gap: 18px; font-size: 33px; line-height: 1.3; }
.checks li .check { margin-top: 2px; }

/* slide 4 */
.four { margin-top: 110px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px; border-top: 3px solid var(--canary); padding-top: 54px; }
.four .big { font-size: 112px; }
.four .statline { font-size: 32px; color: rgb(255 255 255 / .9); }

/* slide 5, 10 */
.reasons { margin-top: 72px; list-style: none; display: grid; gap: 26px; }
.reasons li { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; border-top: 2px solid var(--print); padding-top: 22px; }
.num { font-family: KM; font-size: 40px; color: var(--print); }
.rt { font-family: KA; font-weight: 700; font-size: 38px; letter-spacing: -.01em; }
.rd { font-size: 31px; line-height: 1.38; margin-top: 6px; }
.reasons .rt { display: inline; }
.reasons .rd { display: inline; margin-left: 14px; }
.steps { margin-top: 170px; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; }
.steps li { border-top: 3px solid var(--print); padding-top: 26px; }
.steps .num { font-size: 72px; display: block; margin-bottom: 26px; }
.steps .rt { font-size: 42px; line-height: 1.1; }
.steps .rd { font-size: 31px; margin-top: 14px; }

/* slide 6 */
.cols { margin-top: 60px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 90px; }
.ruled { list-style: none; margin-top: 28px; border-top: 2px solid var(--print); }
.ruled li { font-size: 29px; line-height: 1.3; padding: 14px 0; border-bottom: 1.5px solid rgb(168 34 41 / .35); }
.ruled.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }

/* slide 7, 8 */
.ways { margin-top: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.way { border-radius: 14px; box-shadow: var(--shadow); padding: 48px 52px; color: var(--ink); }
.way.stock-white { box-shadow: var(--shadow), inset 0 0 0 2px rgb(28 31 51 / .08); }
.way .biz { font-size: 52px; color: var(--ink); }
.wl { font-size: 30px; margin-top: 16px; line-height: 1.35; }
.terms { font-family: KM; color: var(--pen); font-size: 28px; line-height: 1.35; border-top: 2px solid var(--print); border-bottom: 2px solid var(--print); padding: 18px 0; margin: 26px 0 26px; }
.way .checks { gap: 14px; }
.way .checks li { font-size: 27px; }
.way .check { width: 34px; height: 34px; }
.fit { font-size: 22px; color: var(--ink2); margin-top: 24px; line-height: 1.4; }
.money { margin-top: 60px; justify-items: center; }
.money .card .biz { font-size: 50px; }
.money .fill { padding: 13px 0 8px; }
.money .fill .entry { margin-left: auto; }
.money .cardnote { font-family: KM; color: var(--pen); font-size: 22px; }

/* slide 9 */
.grid6 { margin-top: 110px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 70px; border-top: 3px solid var(--print); padding-top: 50px; }
.grid6 dt { font-weight: 700; font-size: 40px; letter-spacing: -.01em; }
.grid6 dd { font-size: 30px; line-height: 1.42; margin-top: 12px; color: var(--ink2); }

/* slide 11 */
.split { margin-top: 40px; display: grid; grid-template-columns: 920px 1fr; gap: 60px; align-items: start; }
.split > :last-child { justify-self: end; }
.split .checks { gap: 18px; }
.split .checks li { font-size: 32px; }
.qrbox { position: absolute; right: 160px; top: 290px; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); padding: 40px; text-align: center; }
.qr svg { width: 400px; height: 400px; display: block; }

/* ---------- print / export ---------- */
body.print { background: var(--paper); overflow: visible; display: block; height: auto; }
body.print .stage { position: static; overflow: visible; }
body.print .deck { position: static; transform: none; box-shadow: none; height: auto; }
body.print .slide { position: relative; opacity: 1; visibility: visible; width: 1920px; height: 1080px; break-after: page; transition: none; }
body.print .rise { opacity: 1; transform: none; transition: none; }
body.print .cap, body.print .bar, body.print .start, body.print .rotate { display: none; }
@page { size: 1920px 1080px; margin: 0; }
