/* =========================================================================
   KI-360 theme, Skape x Validé "Build faster with AI" decks
   Playfair italic + Helvetica Neue bold on light grey, black panels,
   real screenshots in browser frames, Caveat hand annotations in blue.
   Design size 1920x1080. Fonts vendored in fonts/ (no runtime CDN).
   ========================================================================= */

/* ---- Fonts --------------------------------------------------------------- */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/playfair-display-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/playfair-display-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap;
  src: url('fonts/playfair-display-latin-700-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/playfair-display-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/playfair-display-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/playfair-display-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap;
  src: url('fonts/playfair-display-latin-ext-700-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/dm-serif-display-latin-400-normal.woff2') format('woff2'); }

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/roboto-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/roboto-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/roboto-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/roboto-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/roboto-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/roboto-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/caveat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/caveat-latin-600-normal.woff2') format('woff2'); }

@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

/* ---- Tokens -------------------------------------------------------------- */

:root {
  --ki-ground: #F0F0F0;
  --ki-greige: #EDEAE5;
  --ki-ink: #0A0A0A;
  --ki-muted: #6B6B6B;
  --ki-line: #D6D6D6;
  --ki-card: #FFFFFF;
  --ki-card-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 20px 50px rgb(0 0 0 / .08);
  --ki-hand: #2F7FE0;
  --ki-sticky: #F4EE7A;
  --ki-blob-yellow: rgb(251 242 184 / .7);
  --ki-blob-blue: rgb(220 232 251 / .7);
  --ki-prompt: #2A2A28;

  --ki-serif: "Playfair Display", Georgia, serif;
  --ki-grotesk: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ki-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --ki-hand-font: "Caveat", "Bradley Hand", cursive;
  --ki-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* read by deck-stage.js for the letterbox */
  --background: #0A0A0A;
}

html, body { margin: 0; padding: 0; background: var(--ki-ink); }

deck-stage > section {
  box-sizing: border-box;
  padding: 96px 120px;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--ki-body);
  font-size: 32px;
  line-height: 1.35;
  color: var(--ki-ink);
  -webkit-font-smoothing: antialiased;
}
deck-stage > section * { box-sizing: border-box; }
deck-stage > section h1,
deck-stage > section h2,
deck-stage > section h3,
deck-stage > section p,
deck-stage > section ul,
deck-stage > section ol,
deck-stage > section dl,
deck-stage > section dd,
deck-stage > section figure { margin: 0; }

/* ---- Surfaces ------------------------------------------------------------ */

.s-light  { background: var(--ki-ground); }
.s-greige { background: var(--ki-greige); }
.s-dark   { background: var(--ki-ink); color: #fff; }
.s-split  { background: var(--ki-ground); padding: 0; flex-direction: row; }
.s-split > .panel-dark { background: var(--ki-ink); color: #fff; flex: 0 0 640px; padding: 96px 80px; display: flex; flex-direction: column; }
.s-split > .panel-light { flex: 1; padding: 96px 120px 96px 72px; display: flex; flex-direction: column; }

/* ---- Headlines ----------------------------------------------------------- */

/* Playfair italic line plus Helvetica Neue bold line ("AI inside / the product") */
.hl { font-size: 104px; line-height: 1.02; letter-spacing: -0.01em; font-weight: 400; }
.hl .it { font-family: var(--ki-serif); font-style: italic; font-weight: 400; }
.hl .b  { font-family: var(--ki-grotesk); font-weight: 700; letter-spacing: -0.025em; }
.hl .block { display: block; }
.hl-sm { font-size: 80px; }
.hl-xs { font-size: 64px; }

.serif-it { font-family: var(--ki-serif); font-style: italic; }
.serif-b  { font-family: var(--ki-serif); font-weight: 700; }
.grotesk  { font-family: var(--ki-grotesk); font-weight: 700; letter-spacing: -0.02em; }

.sub   { font-size: 36px; line-height: 1.3; color: var(--ki-muted); max-width: 1400px; }
.muted { color: var(--ki-muted); }
.eyebrow { font-family: var(--ki-body); font-weight: 500; font-size: 24px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ki-muted); }

/* ---- Marks --------------------------------------------------------------- */

.mark-ki   { position: absolute; top: 24px; right: 24px; width: 104px; height: auto; z-index: 5; }
.mark-smpl { position: absolute; right: 48px; bottom: 36px; height: 40px; width: auto; z-index: 5; }

/* ---- Browser frame ------------------------------------------------------- */

.browser { background: var(--ki-card); border-radius: 14px; box-shadow: var(--ki-card-shadow); overflow: hidden; display: flex; flex-direction: column; }
.browser > .bar { flex: 0 0 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #F4F3F1; border-bottom: 1px solid #E4E2DF; }
.browser > .bar i { width: 12px; height: 12px; border-radius: 50%; background: #D9D7D3; display: block; }
.browser > .bar i:nth-child(1) { background: #FF5F57; }
.browser > .bar i:nth-child(2) { background: #FEBC2E; }
.browser > .bar i:nth-child(3) { background: #28C840; }
.browser > .bar .url { margin: 0 auto; transform: translateX(-26px); font-family: var(--ki-body); font-size: 18px; color: #555; background: #E9E7E3; border-radius: 7px; padding: 3px 28px; }
.browser > .view { flex: 1; overflow: hidden; position: relative; }
.browser > .view > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* A screenshot that carries its own Safari frame: clip the bottom-left tooltip */
.shot { overflow: hidden; }
.shot > img { display: block; width: 100%; height: auto; }

/* ---- Hand annotations ---------------------------------------------------- */

.hand { font-family: var(--ki-hand-font); font-weight: 600; color: var(--ki-hand); font-size: 44px; line-height: 1; transform: rotate(-3deg); display: inline-block; }
.hand-arrow { stroke: var(--ki-hand); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.sticky { background: var(--ki-sticky); font-family: var(--ki-hand-font); font-weight: 600; font-size: 36px; color: var(--ki-ink); box-shadow: 0 10px 24px rgb(0 0 0 / .12); transform: rotate(-5deg); display: flex; align-items: center; justify-content: center; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.blob.yellow { background: var(--ki-blob-yellow); }
.blob.blue   { background: var(--ki-blob-blue); }

/* ---- Gloss: a term and its plain meaning -------------------------------- */

.gloss { display: grid; grid-template-columns: max-content 1fr; column-gap: 28px; row-gap: 18px; align-items: baseline; }
.gloss dt { font-weight: 500; }
.gloss dd { color: var(--ki-muted); }
.gloss-inline { font-size: 28px; }
.gloss-inline b { font-weight: 500; color: var(--ki-ink); }
.gloss-inline span { color: var(--ki-muted); }

/* ---- Placeholder --------------------------------------------------------- */

.placeholder { border: 2px dashed var(--ki-muted); background: #E4E4E4; border-radius: 14px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-family: var(--ki-hand-font); font-weight: 600; font-size: 38px; color: var(--ki-muted); }

/* ---- Prompts ------------------------------------------------------------- */

.prompt { background: var(--ki-prompt); color: #EDEDEA; border-radius: 28px; padding: 36px 44px; font-family: var(--ki-mono); font-size: 22px; line-height: 1.45; white-space: pre-wrap; }
.bubble { background: var(--ki-card); box-shadow: var(--ki-card-shadow); border-radius: 28px; padding: 32px 40px; font-family: var(--ki-mono); font-size: 32px; line-height: 1.4; }

/* Lovable-style prompt box, HTML rebuild of the original image */
.lovbox { background: var(--ki-prompt); border-radius: 44px; padding: 40px 44px 30px; color: #fff; box-shadow: 0 30px 80px rgb(0 0 0 / .25); }
.lovbox .ph { font-family: var(--ki-body); font-size: 34px; color: #9A9A96; }
.lovbox .row { display: flex; align-items: center; gap: 28px; margin-top: 54px; }
.lovbox .row svg { stroke: #BDBDB8; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.lovbox .plan { margin-left: auto; font-family: var(--ki-body); font-size: 28px; color: #6FA0F0; }
.lovbox .send { width: 52px; height: 52px; border-radius: 50%; background: #2F4FA8; display: flex; align-items: center; justify-content: center; }
.lovbox .send svg { stroke: #fff; }

/* ---- Step rail (practical beats) ---------------------------------------- */

.rail { display: flex; gap: 56px; font-size: 26px; color: var(--ki-muted); margin-bottom: 40px; }
.rail span { display: flex; align-items: baseline; gap: 12px; }
.rail b { font-weight: 400; font-family: var(--ki-mono); font-size: 22px; }
.rail .on { color: var(--ki-ink); font-weight: 700; }
.rail .on b { font-weight: 500; }
