/* Phones (html.kp-narrow): the pages that are not stories are one screen each too,
   so the site moves one page at a time (kpager.js). Loaded last. */

/* ---- intro: the eight things Konto does, all on one screen ---- */
html.kp-narrow .ks.kpage.intro { height: var(--kscreen, 100svh); min-height: 480px; }
html.kp-narrow .ks.intro .kframe { height: 100%; display: flex; flex-direction: column; padding: 70px 14px calc(16px + var(--kbar, 0px)); box-sizing: border-box; }
html.kp-narrow .ks.intro .in-copy .h2 { font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
html.kp-narrow .ks.intro .in-copy .lead { font-size: 14.5px; line-height: 1.45; margin: 0; }
html.kp-narrow .ks.intro .in-grid { flex: 1; min-height: 0; margin-top: 14px; grid-template-rows: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 8px; }
html.kp-narrow .ks.intro .in-link { padding: 11px 12px; border-radius: 18px; overflow: hidden; }
html.kp-narrow .ks.intro .in-t { font-size: 14.5px; line-height: 1.2; }
html.kp-narrow .ks.intro .in-d, html.kp-narrow .ks.intro .in-pills { display: none; }
html.kp-narrow .ks.intro .in-m { inset-inline: 10px; bottom: 10px; }

/* ---- coming soon: the words, the two tabs and one picture ---- */
html.kp-narrow .ks.kpage.soon { height: var(--kscreen, 100svh); min-height: 480px; }
html.kp-narrow .ks.soon .kframe { height: 100%; display: flex; flex-direction: column; padding: 70px 18px calc(16px + var(--kbar, 0px)); box-sizing: border-box; }
html.kp-narrow .ks.soon .so-copy > .so-h2 { font-size: 28px; line-height: 1.1; }
html.kp-narrow .ks.soon .so-lead { font-size: 14.5px; line-height: 1.45; }
html.kp-narrow .ks.soon .so-facts { display: none; }
html.kp-narrow .ks.soon .so-tabs { margin-top: 12px; }
html.kp-narrow .ks.soon .so-looks-row { margin-top: 10px; }
html.kp-narrow .ks.soon .so-stage { flex: 1; min-height: 0; margin-top: 10px; overflow: hidden; }

/* ---- the last page: Get Konto and the app; the scan code is for computers ---- */
html.kp-narrow .ks.kpage.finale { height: var(--kscreen, 100svh); min-height: 480px; }
html.kp-narrow .ks.finale .kframe { height: 100%; display: flex; flex-direction: column; padding: 70px 20px var(--kbar, 0px); box-sizing: border-box; }
html.kp-narrow .ks.finale .fi-grid { display: flex; flex-direction: column; flex: 1; min-height: 0; }
html.kp-narrow .ks.finale .fi-h2 { font-size: 30px; line-height: 1.08; }
html.kp-narrow .ks.finale .lead { font-size: 15px; line-height: 1.5; }
html.kp-narrow .ks.finale .fi-qr { display: none; }
html.kp-narrow .ks.finale .fi-get { margin-top: 14px; }
html.kp-narrow .ks.finale .fi-phone-col { flex: 1; min-height: 0; margin-top: 18px; overflow: hidden; align-items: flex-start; }
html.kp-narrow .ks.finale .fi-phone { --pz: .62; }
html.kp-narrow .ks.finale .fi-city { position: absolute !important; left: 0; right: 0; bottom: 0; height: 150px; margin: 0; z-index: 2; pointer-events: none; }

/* ---- make it yours: the words and the moving gallery on one screen ---- */
html.kp-narrow .ks.kpage.yo { height: var(--kscreen, 100svh); min-height: 480px; }
html.kp-narrow .ks.yo .kframe { height: 100%; display: flex; flex-direction: column; padding: 70px 0 calc(12px + var(--kbar, 0px)); box-sizing: border-box; }
html.kp-narrow .ks.yo .yo-head { gap: 8px; }
html.kp-narrow .ks.yo .yo-h { font-size: 30px; line-height: 1.08; }
html.kp-narrow .ks.yo .yo-view { flex: 1; min-height: 0; margin-top: 14px; }
html.kp-narrow .ks.yo .yo-card { height: min(520px, calc(var(--kscreen, 100svh) - var(--kbar, 0px) - 272px)); }
