/* Inovy Studio & Tropfen App Design Systems */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-400.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-500.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-600.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-700.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-800.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext-400.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext-600.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext-700.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext-800.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;
}


/* =====================================================================
   Inovy studio stylesheet (home + 404). App pages ship their own CSS.
   The page wears a "skin": `html[data-skin]` is switched by script.js as
   each product chapter reaches the middle of the viewport, so the whole
   page recolours into that app's palette. Every skin defines the same
   seven roles below.
   ===================================================================== */

:root {
  color-scheme: light dark;

  /* Studio palette (light) */
  --studio-bg: #F8F7FC;
  --studio-surface: #FFFFFF;
  --studio-ink: #121116;
  --studio-muted: #656273;
  --studio-line: #E3E1EC;
  --studio-brand: #E95A3E;
  --studio-brand-ink: #FFFFFF;

  /* Skin roles (default = studio) */
  --skin-bg: var(--studio-bg);
  --skin-surface: var(--studio-surface);
  --skin-ink: var(--studio-ink);
  --skin-muted: var(--studio-muted);
  --skin-line: var(--studio-line);
  --skin-accent: var(--studio-brand);
  --skin-accent-ink: var(--studio-brand-ink);

  /* Product palettes used by tiles and mocks regardless of skin */
  --tropfen-yellow: #F7D867;
  --tropfen-ink: #16151A;
  --tropfen-drop: #5157D4;
  --kinly-oat: #F7F3EC;
  --kinly-paper: #FFFFFF;
  --kinly-pine: #2E6A58;
  --kinly-ink: #1F2623;
  --kinly-lilac: #EDE3F6;
  --kinly-lilac-ink: #4A2D74;
  --kinly-apricot: #F2B38F;
  --duo-canvas: #F5F3EF;
  --duo-ink: #15141A;
  --duo-sky: #CFE0FF;
  --duo-sky-deep: #2550A8;
  --duo-apricot: #FFDCC7;
  --duo-apricot-deep: #9A4317;
  --docko-navy: #0E1220;
  --docko-surface: #1A2033;
  --docko-beam: #FF5B1F;
  --docko-violet: #5B3FD9;
  --docko-paper: #F7F4F2;
  --kindose-night: #0B1210;
  --kindose-surface: #151E1B;
  --kindose-mint: #8FE3BF;
  --kindose-glow: #FFB27A;
  --kindose-cream: #F2F1EC;
  --kindose-green: #1D5B48;
  --foldora-teal: #1F5C5A;
  --foldora-cut: #18504E;
  --foldora-mustard: #F2C14E;
  --foldora-coral: #E8654A;
  --foldora-ink: #1F2B2A;
  --tilo-graphite: #111114;
  --tilo-slate: #1D1D22;
  --tilo-violet: #6C4CF5;
  --tilo-violet-light: #8B71FF;
  --tilo-coral: #FF5A4E;
  --tilo-chalk: #F4F4F6;
  --font-onest: 'Onest', var(--font-sans);

  --shadow-sm: 0 4px 12px rgba(18, 17, 22, 0.06);
  --shadow-md: 0 14px 40px rgba(18, 17, 22, 0.10);
  --shadow-lg: 0 30px 80px rgba(18, 17, 22, 0.16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 24px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-fraunces: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-bricolage: 'Bricolage Grotesque', var(--font-sans);

  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---- Studio dark (system) ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --studio-bg: #121116;
    --studio-surface: #1C1B22;
    --studio-ink: #F8F7FC;
    --studio-muted: #A39FAF;
    --studio-line: #2C2A35;
    --studio-brand: #FF7A5E;
    --studio-brand-ink: #1A0E0A;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
  }
}
/* ---- Studio dark (explicit) ---- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --studio-bg: #121116;
  --studio-surface: #1C1B22;
  --studio-ink: #F8F7FC;
  --studio-muted: #A39FAF;
  --studio-line: #2C2A35;
  --studio-brand: #FF7A5E;
  --studio-brand-ink: #1A0E0A;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
}
:root[data-theme="light"] { color-scheme: light; }

/* ---- Product skins. script.js resolves the theme into data-theme, so
        dark skins only need the explicit selector. ---- */
:root[data-skin="tropfen"] {
  --skin-bg: #F7D867; --skin-surface: #FFF6CF; --skin-ink: #16151A; --skin-muted: #4F4830;
  --skin-line: rgba(22, 21, 26, 0.14); --skin-accent: #16151A; --skin-accent-ink: #F7D867;
}
:root[data-theme="dark"][data-skin="tropfen"] {
  --skin-bg: #16151A; --skin-surface: #211F28; --skin-ink: #F8F7FC; --skin-muted: #A39FAF;
  --skin-line: #2A2833; --skin-accent: #F7D867; --skin-accent-ink: #16151A;
}
:root[data-skin="kinly"] {
  --skin-bg: #F7F3EC; --skin-surface: #FFFFFF; --skin-ink: #1F2623; --skin-muted: #5E6863;
  --skin-line: #E7E0D4; --skin-accent: #2E6A58; --skin-accent-ink: #FFFFFF;
}
:root[data-theme="dark"][data-skin="kinly"] {
  --skin-bg: #131815; --skin-surface: #1B2220; --skin-ink: #F1EDE4; --skin-muted: #A7B1AB;
  --skin-line: #2E3834; --skin-accent: #7FBFA8; --skin-accent-ink: #0F1412;
}
:root[data-skin="duo"] {
  --skin-bg: #F5F3EF; --skin-surface: #FFFFFF; --skin-ink: #15141A; --skin-muted: #67636E;
  --skin-line: #E6E2DA; --skin-accent: #15141A; --skin-accent-ink: #FFFFFF;
}
:root[data-theme="dark"][data-skin="duo"] {
  --skin-bg: #121116; --skin-surface: #1D1C23; --skin-ink: #F3F1EC; --skin-muted: #A8A4B0;
  --skin-line: #2C2A33; --skin-accent: #F3F1EC; --skin-accent-ink: #15141A;
}
:root[data-skin="docko"] {
  --skin-bg: #0E1220; --skin-surface: #1A2033; --skin-ink: #F5F7FA; --skin-muted: #A8B0C4;
  --skin-line: #32384A; --skin-accent: #FF5B1F; --skin-accent-ink: #130B06;
}
:root[data-theme="dark"][data-skin="docko"] {
  --skin-bg: #0A0D18; --skin-surface: #161B2B; --skin-ink: #F5F7FA; --skin-muted: #A8B0C4;
  --skin-line: #2A3042; --skin-accent: #FF6A35; --skin-accent-ink: #130B06;
}
:root[data-skin="kindose"] {
  --skin-bg: #F7F6F2; --skin-surface: #FFFFFF; --skin-ink: #111714; --skin-muted: #5D6662;
  --skin-line: #E4E2DB; --skin-accent: #1D5B48; --skin-accent-ink: #FFFFFF;
}
:root[data-theme="dark"][data-skin="kindose"] {
  --skin-bg: #0B1210; --skin-surface: #151E1B; --skin-ink: #F2F1EC; --skin-muted: #A9B3AE;
  --skin-line: #2A332F; --skin-accent: #8FE3BF; --skin-accent-ink: #0B1210;
}
:root[data-skin="foldora"] {
  --skin-bg: #1F5C5A; --skin-surface: #FFFFFF; --skin-ink: #F4FAF9; --skin-muted: #BFE0DB;
  --skin-line: rgba(255, 255, 255, 0.22); --skin-accent: #F2C14E; --skin-accent-ink: #1F2B2A;
}
:root[data-theme="dark"][data-skin="foldora"] {
  --skin-bg: #1B5452; --skin-surface: #FFFFFF; --skin-ink: #F4FAF9; --skin-muted: #BFE0DB;
  --skin-line: rgba(255, 255, 255, 0.22); --skin-accent: #F2C14E; --skin-accent-ink: #1F2B2A;
}
/* Tilo is dark only (the app has no light theme), so both themes wear Graphite */
:root[data-skin="tilo"], :root[data-theme="dark"][data-skin="tilo"] {
  --skin-bg: #111114; --skin-surface: #1D1D22; --skin-ink: #F5F5F7; --skin-muted: #A1A1AA;
  --skin-line: #2A2A31; --skin-accent: #6C4CF5; --skin-accent-ink: #FFFFFF;
}

/* Crumbtown: storybook paper, light in both themes */
:root[data-skin="crumbtown"], :root[data-theme="dark"][data-skin="crumbtown"] {
  --skin-bg: #F6E8D2; --skin-surface: #FFFDF7; --skin-ink: #5A2E2A; --skin-muted: #7A4E3E;
  --skin-line: rgba(90, 46, 42, 0.18); --skin-accent: #E2475F; --skin-accent-ink: #FFFFFF;
}

/* Shapehaus: stone ground, ink text, cobalt accent; light in both themes like the app (v1 is light-only) */
:root[data-skin="shapehaus"], :root[data-theme="dark"][data-skin="shapehaus"] {
  --skin-bg: #EEEFEA; --skin-surface: #FFFFFF; --skin-ink: #16181D; --skin-muted: #5B5F68;
  --skin-line: #DADCD5; --skin-accent: #16181D; --skin-accent-ink: #FFFFFF;
}

/* =====================================================================
   Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--skin-bg);
  color: var(--skin-ink);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
  transition: background-color .8s var(--ease), color .8s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--skin-ink); color: var(--skin-bg); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--skin-accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--skin-accent);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--skin-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--skin-accent) 18%, transparent); }

.lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--skin-muted); max-width: 54ch; }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--skin-bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .8s var(--ease);
}
.brand-logo { color: var(--skin-ink); text-decoration: none; display: inline-flex; }
.inovy-wordmark-svg { width: 104px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 2px; max-width: 70vw; overflow-x: auto; scrollbar-width: none; }
.site-header nav::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 8px 12px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--skin-muted); white-space: nowrap;
  transition: color .25s, background-color .25s;
}
.nav-link:hover, .nav-link.active, .nav-link[aria-current="true"] { color: var(--skin-ink); background: color-mix(in srgb, var(--skin-ink) 7%, transparent); }
.theme-toggle-btn {
  margin-left: 6px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--skin-line); background: color-mix(in srgb, var(--skin-surface) 70%, transparent);
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s;
}
.theme-toggle-btn:hover { transform: translateY(-1px); }
.theme-toggle-icon {
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(90deg, var(--skin-ink) 50%, transparent 50%);
  border: 2px solid var(--skin-ink);
  transition: transform .5s var(--ease);
}
:root[data-theme="dark"] .theme-toggle-icon { transform: rotate(180deg); }
.theme-toggle-animated { animation: toggle-pop .4s var(--ease); }
@keyframes toggle-pop { 50% { transform: scale(.92); } }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--skin-accent); color: var(--skin-accent-ink); box-shadow: 0 10px 24px color-mix(in srgb, var(--skin-accent) 30%, transparent); }
.btn--primary:hover { box-shadow: 0 16px 34px color-mix(in srgb, var(--skin-accent) 36%, transparent); }
.btn--ghost { border-color: var(--skin-line); color: var(--skin-ink); background: color-mix(in srgb, var(--skin-surface) 50%, transparent); }
.btn--ghost:hover { background: var(--skin-surface); }
.btn--skin { background: var(--skin-accent); color: var(--skin-accent-ink); box-shadow: 0 12px 28px color-mix(in srgb, var(--skin-accent) 28%, transparent); }
.btn--outline { border-color: color-mix(in srgb, var(--skin-ink) 24%, transparent); color: var(--skin-ink); }
.btn--outline:hover { border-color: var(--skin-ink); }
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--skin-muted);
  border: 1px dashed color-mix(in srgb, var(--skin-ink) 28%, transparent);
}
.soon-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--skin-muted); opacity: .7; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  max-width: 1280px; margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(32px, 5vw, 72px);
  min-height: calc(100vh - 72px);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(44px, 7.2vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 800;
}
.hero-line { display: block; }
.hero-line--accent { color: var(--skin-accent); }
.hero-word { display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Entrance: words rise one after another (JS adds .is-ready to <body>) */
.hero-word { opacity: 0; transform: translateY(28px) rotate(1deg); }
.is-ready .hero-word { animation: word-in .9s var(--ease) forwards; }
.is-ready .hero-word:nth-child(2) { animation-delay: .08s; }
.is-ready .hero-line--accent .hero-word { animation-delay: .18s; }
.is-ready .hero-line--accent .hero-word:nth-child(2) { animation-delay: .26s; }
@keyframes word-in { to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero .lede, .hero-actions { opacity: 0; transform: translateY(16px); }
.is-ready .hero .eyebrow { animation: word-in .8s var(--ease) forwards; }
.is-ready .hero .lede { animation: word-in .9s .35s var(--ease) forwards; }
.is-ready .hero-actions { animation: word-in .9s .45s var(--ease) forwards; }

/* ---- Constellation of app tiles ---- */
.constellation {
  position: relative; aspect-ratio: 1 / 1; max-width: 620px; width: 100%; justify-self: end;
}
.tile {
  position: absolute; display: flex; flex-direction: column; gap: 8px;
  width: 44%; padding: 16px; border-radius: 22px; text-decoration: none; overflow: hidden;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(30px) scale(.96);
}
@keyframes tile-in { to { opacity: 1; transform: none; } }
/* After the entrance, each tile drifts slowly on the `translate` property, which never
   touches the entrance's `transform`, so the two animations hand over without a jump. */
.is-ready .tile { animation: tile-in 1.1s var(--ease) forwards, tile-drift 9s ease-in-out infinite; }
.is-ready .tile--tropfen { animation-delay: .25s, 1.4s; }
.is-ready .tile--kinly   { animation-delay: .4s, 2.6s; }
.is-ready .tile--duo     { animation-delay: .5s, 1.9s; }
.is-ready .tile--docko   { animation-delay: .6s, 3.3s; }
.is-ready .tile--kindose { animation-delay: .7s, 2.2s; }
.is-ready .tile--foldora { animation-delay: .8s, 1.7s; }
.is-ready .tile--tilo    { animation-delay: .9s, 2.9s; }
@keyframes tile-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); pointer-events: none; }
.tile-head { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: -.01em; }
.tile-head img { width: 22px; height: 22px; border-radius: 6px; }
.tile-head small { font-size: 11px; font-weight: 600; opacity: .7; }
.tile-sub { font-size: 13px; font-weight: 600; opacity: .8; letter-spacing: -.01em; }

/* positions: two loose columns, Duo on top in the middle of the right one */
.constellation { aspect-ratio: 1 / 1.56; }
.tile--tropfen { left: 0;   top: 0;     width: 43%; }
.tile--kinly   { right: 0;  top: 2%;    width: 40%; }
.tile--foldora { left: 0;   top: 27.5%; width: 40%; }
.tile--duo     { right: 0;  top: 30%;   width: 46%; z-index: 3; }
.tile--tilo    { left: 3%;  top: 54.6%; width: 39%; }
.tile--docko   { left: 0;   bottom: 0;  width: 42%; }
.tile--kindose { right: 3%; bottom: 3%; width: 38%; }

/* Tropfen tile */
.tile--tropfen { background: var(--tropfen-yellow); color: var(--tropfen-ink); }
.mock-subtitle { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding: 14px 12px 12px; border-radius: 16px; background: var(--tropfen-ink); color: #F8F7FC; }
.mock-strip { font-size: 13px; font-weight: 700; line-height: 1.35; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--tropfen-yellow); }
.mock-strip mark { background: var(--tropfen-yellow); color: var(--tropfen-ink); border-radius: 6px; padding: 0 4px; }
.mock-chip { align-self: flex-start; font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--tropfen-yellow); color: var(--tropfen-ink); }

/* Kinly tile */
.tile--kinly { background: var(--kinly-oat); color: var(--kinly-ink); }
.mock-kinly { display: flex; flex-direction: column; gap: 8px; }
.mock-kinly-greet { font-family: var(--font-fraunces); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.mock-kinly-card { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--kinly-paper); box-shadow: 0 6px 18px rgba(31,38,35,.06); }
.mock-kinly-label { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5E6863; }
.mock-kinly-time { font-family: var(--font-fraunces); font-weight: 600; font-size: 20px; line-height: 1.1; }
.mock-kinly-row { font-size: 11.5px; font-weight: 600; }
.mock-kinly-lilac { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 14px; background: var(--kinly-lilac); color: var(--kinly-lilac-ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mock-kinly-lilac span { flex: 1; }
.mock-kinly-lilac i { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #7B4FB8; border-right-color: transparent; }
.mock-kinly-lilac i + i { border-color: #8A6A0F; border-top-color: transparent; }

/* Duo tile + bubbles (shared with the chapter) */
.tile--duo { background: var(--duo-canvas); color: var(--duo-ink); }
.mock-duo { position: relative; display: flex; flex-direction: column; gap: 8px; padding-bottom: 26px; }
.bubble { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 18px 18px 18px 6px; font-size: 12px; font-weight: 500; line-height: 1.3; max-width: 86%; }
.bubble small { font-size: 9.5px; font-weight: 700; margin-bottom: 2px; }
.bubble strong { font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.bubble::after { content: ""; position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); }
.bubble--you { background: var(--duo-sky); color: var(--duo-ink); align-self: flex-start; }
.bubble--you small { color: var(--duo-sky-deep); }
.bubble--them { background: var(--duo-apricot); color: var(--duo-ink); align-self: flex-end; border-radius: 18px 18px 6px 18px; }
.bubble--them small { color: var(--duo-apricot-deep); }
.mock-mic { position: absolute; left: 50%; bottom: -6px; width: 34px; height: 34px; border-radius: 50%; transform: translateX(-50%); background: var(--duo-ink); box-shadow: 0 0 0 6px rgba(37,80,168,.18); }
.mock-mic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 14px; border-radius: 4px; background: #fff; transform: translate(-50%, -50%); }

/* Docko tile */
.tile--docko { background: var(--docko-navy); color: #F5F7FA; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; }
.mock-docko { position: relative; display: grid; place-items: center; padding: 6px 0 26px; }
.mock-paper { position: relative; display: flex; flex-direction: column; gap: 7px; width: 64%; padding: 14px 12px 16px; border-radius: 10px; background: var(--docko-paper); }
.mock-paper::before { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 18px; background: #A7ADBE; border-radius: 0 10px 0 6px; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.mock-paper i { height: 4px; border-radius: 3px; background: #C6CBD7; }
.mock-paper i:first-child { height: 6px; width: 60%; background: #0E1220; }
.mock-paper i:nth-child(3) { width: 85%; }
.mock-paper i:nth-child(5) { width: 55%; }
.mock-beam { position: absolute; left: 6%; right: 6%; top: 46%; height: 5px; border-radius: 4px; background: var(--docko-beam); box-shadow: 0 0 18px 4px rgba(255,91,31,.55); animation: beam 3.2s ease-in-out infinite alternate; }
@keyframes beam { from { transform: translateY(-34px); } to { transform: translateY(38px); } }
.mock-ocr { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.1); color: #F5F7FA; white-space: nowrap; }

/* Kindose tile */
.tile--kindose { background: radial-gradient(120% 90% at 50% 0%, rgba(143,227,191,.28), transparent 60%), var(--kindose-night); color: var(--kindose-cream); }
.mock-kindose { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.mock-ring { position: relative; width: 64px; height: 64px; margin: 2px auto 4px; }
.ring-track { fill: none; stroke: rgba(242,241,236,.18); stroke-width: 6; }
.ring-fill { fill: none; stroke: var(--kindose-mint); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: 85; transform: rotate(-90deg); transform-origin: center; }
.ring-text { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.ring-text b { font-size: 18px; font-weight: 800; }
.mock-dose { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; padding: 7px 9px; border-radius: 12px; background: rgba(255,255,255,.06); }
.mock-dose i { width: 14px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--kindose-cream) 50%, var(--kindose-glow) 50%); }
.mock-dose i.mint { background: linear-gradient(90deg, var(--kindose-cream) 50%, var(--kindose-mint) 50%); }
.mock-dose em { margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: rgba(143,227,191,.18); color: var(--kindose-mint); }
.mock-dose em.now { background: var(--kindose-cream); color: var(--kindose-night); }

/* Foldora tile */
.tile--foldora { background: var(--foldora-teal); color: #F4FAF9; font-family: 'Chivo', var(--font-sans); }
.tile--foldora .tile-head b { font-weight: 900; letter-spacing: -.04em; font-size: 16px; }
.mock-foldora { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 14px 12px 12px; border-radius: 6px; background: var(--foldora-cut); box-shadow: inset 0 3px 6px rgba(0,0,0,.35); }
.mock-fold-tiles { display: flex; gap: 5px; }
.mock-fold-tiles i { flex: 1; aspect-ratio: 1; max-width: 34px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 16px; color: var(--foldora-ink); background: var(--foldora-mustard); border-radius: 3px; box-shadow: 0 1px 1px rgba(0,0,0,.15), 0 4px 8px rgba(0,0,0,.28); }
.mock-fold-tiles i:nth-child(odd) { rotate: -3deg; } .mock-fold-tiles i:nth-child(even) { rotate: 2deg; }
.mock-fold-wheel { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 4px 4px 0 var(--foldora-coral), 8px 8px 0 var(--foldora-mustard); color: var(--foldora-ink); font-weight: 900; font-size: 18px; }
.mock-fold-wheel b { font-weight: 900; }
.mock-fold-chip { align-self: flex-start; margin-bottom: 18px; font-size: 10.5px; font-weight: 800; padding: 5px 9px; border-radius: 3px; background: #fff; color: var(--foldora-ink); rotate: -2deg; box-shadow: 0 1px 1px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.25); }

/* Tilo tile */
.tile--tilo { background: var(--tilo-graphite); color: #F5F5F7; font-family: var(--font-onest); }
.tile--tilo .tile-head b { font-weight: 800; letter-spacing: -.055em; font-size: 17px; }
.tile--tilo .tile-head b i { font-style: normal; color: var(--tilo-violet-light); }
.tile--tilo .tile-sub { color: #C9C9CF; opacity: 1; }
.mock-tilo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.mock-tilo-nav { grid-column: 1 / -1; height: 40px; border-radius: 14px; background: var(--tilo-chalk); display: grid; place-items: center; }
.mock-tilo-nav i { width: 22px; height: 22px; border-radius: 50%; background: var(--tilo-graphite); }
.mock-tilo-vol, .mock-tilo-ch { display: flex; flex-direction: column; justify-content: space-between; gap: 2px; padding: 7px 10px; border-radius: 14px; min-height: 48px; }
.mock-tilo-vol { background: var(--tilo-violet); color: #fff; }
.mock-tilo-ch { background: var(--tilo-coral); color: var(--tilo-graphite); }
.mock-tilo small { font-size: 10px; font-weight: 600; }
.mock-tilo b { font-size: 20px; font-weight: 800; letter-spacing: -.05em; line-height: .9; }

/* =====================================================================
   Status strip
   ===================================================================== */
.status-strip { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.status-note { padding-top: 22px; border-top: 1px solid var(--skin-line); font-size: 14px; color: var(--skin-muted); max-width: 60ch; }
.status-strip ul { display: flex; flex-wrap: wrap; gap: 8px 10px; padding-top: 14px; }
.status-strip a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; border: 1px solid var(--skin-line); background: color-mix(in srgb, var(--skin-surface) 60%, transparent); transition: transform .3s var(--ease), border-color .3s; }
.status-strip a:hover { transform: translateY(-2px); border-color: var(--skin-ink); }
.status-strip small { font-weight: 500; color: var(--skin-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--soon { background: var(--skin-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--skin-accent) 18%, transparent); }

/* =====================================================================
   Chapters
   ===================================================================== */
.showcase { display: flex; flex-direction: column; }
.chapter, .studio, .contact { scroll-margin-top: 72px; }
.chapter { position: relative; padding: clamp(72px, 10vw, 140px) clamp(16px, 4vw, 48px); }
.chapter-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; }
.chapter-inner--flip .chapter-copy { order: 2; }
.chapter-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--skin-muted); }
.chapter-eyebrow img { width: 20px; height: 20px; border-radius: 6px; }
.chapter h2 { margin: 18px 0 20px; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.chapter-copy p:not(.chapter-eyebrow) { font-size: clamp(17px, 1.25vw, 19px); color: var(--skin-muted); max-width: 50ch; }
.chapter-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.chapter-visual { position: relative; display: grid; place-items: center; min-height: 420px; }

/* Each chapter speaks its own type */
.chapter--kinly h2 { font-family: var(--font-fraunces); font-weight: 600; letter-spacing: -.02em; }
.chapter--kinly h2 em { font-style: italic; color: var(--skin-accent); }
.chapter--duo h2, .chapter--docko h2 { font-family: var(--font-bricolage); letter-spacing: -.03em; line-height: 1.0; }
.chapter--tropfen .hl { background: color-mix(in srgb, var(--skin-surface) 92%, transparent); color: var(--skin-ink); border-radius: .3em; padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
:root[data-theme="dark"] .chapter--tropfen .hl { background: var(--skin-accent); color: var(--skin-accent-ink); }
.chapter--docko .hl { color: var(--skin-accent); }
.chapter--duo .volt { background: #DDF26B; color: #15141A; border-radius: .3em; padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.chapter--kindose h2 { letter-spacing: -.04em; }

.chapter--foldora h2 { font-family: 'Chivo', var(--font-sans); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; }
.chapter--foldora .hl { display: inline-block; background: var(--foldora-mustard); color: var(--foldora-ink); border-radius: 4px; padding: 0 .14em .03em; rotate: -1.3deg; box-shadow: 0 1px 1px rgba(0,0,0,.15), 0 6px 12px rgba(0,0,0,.25); }
.chapter--foldora .chapter-copy p:not(.chapter-eyebrow) { font-family: 'Chivo', var(--font-sans); }
.chapter--foldora .btn--skin { border-radius: 4px; font-family: 'Chivo', var(--font-sans); font-weight: 900; box-shadow: 0 1px 1px rgba(0,0,0,.14), 0 6px 14px rgba(0,0,0,.24); }
.foldora-stage { position: relative; width: min(420px, 100%); display: grid; place-items: center; padding: 28px 0 20px; }
.foldora-stage::before { content: ""; position: absolute; inset: 8% 2% 4%; background: var(--foldora-cut); border-radius: 4px; rotate: 2.5deg; box-shadow: inset 0 3px 8px rgba(0,0,0,.35); }
.fd-phone { position: relative; z-index: 2; width: min(290px, 72%); aspect-ratio: 390 / 844; padding: 9px; border-radius: 40px; background: #0E2423; box-shadow: 0 28px 50px rgba(0,0,0,.4), inset 0 0 0 2px #2E4B49; rotate: -2deg; }
.fd-phone .scr { display: block; width: 100%; height: 100%; border-radius: 32px; }
.fd-crane { position: absolute; z-index: 3; right: 0; top: 0; width: 100px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); animation: floaty 5s ease-in-out infinite; }
.fd-toast { position: absolute; z-index: 4; left: 0; top: 36%; rotate: -4deg; background: #fff; color: var(--foldora-ink); font-family: 'Chivo', var(--font-sans); font-weight: 900; font-size: 17px; padding: 10px 18px; border-radius: 3px; box-shadow: 0 1px 1px rgba(0,0,0,.14), 0 8px 18px rgba(0,0,0,.3); animation: floaty 6s ease-in-out infinite; }
.fd-moment { position: absolute; z-index: 4; right: 0; bottom: 14%; rotate: 3deg; background: var(--foldora-mustard); color: var(--foldora-ink); font-family: 'Chivo', var(--font-sans); font-weight: 900; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; border-radius: 4px; box-shadow: 6px 6px 0 var(--foldora-coral), 0 14px 26px rgba(0,0,0,.3); }
.fd-moment b { font-size: 34px; letter-spacing: -.04em; margin-right: 6px; vertical-align: -3px; }

.chapter--tilo h2 { font-family: var(--font-onest); font-weight: 800; letter-spacing: -.045em; line-height: 1.0; }
.chapter--tilo .hl { display: inline-block; color: var(--tilo-violet-light); }
.chapter--tilo .chapter-copy p:not(.chapter-eyebrow) { font-family: var(--font-onest); color: #C9C9CF; }
.chapter--tilo .chapter-eyebrow img { border-radius: 6px; }
.chapter--tilo .btn--skin { border-radius: 20px; font-family: var(--font-onest); font-weight: 700; box-shadow: 0 10px 30px rgba(108,76,245,.35); }
.tilo-stage { position: relative; width: min(400px, 100%); padding: 34px 0 30px; font-family: var(--font-onest); }
.tilo-stage::before { content: ""; position: absolute; inset: -6% 0; background: radial-gradient(closest-side, rgba(108,76,245,.3), transparent 72%); pointer-events: none; }
.tl-board { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; border-radius: 40px; background: #0C0C0F; box-shadow: inset 0 0 0 1px #2A2A31, 0 40px 90px rgba(0,0,0,.55); }
.tl-nav { grid-column: 1 / -1; aspect-ratio: 350 / 230; border-radius: 30px; background: var(--tilo-chalk); display: grid; place-items: center; }
.tl-nav b { width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--tilo-graphite); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 800; box-shadow: 0 10px 24px rgba(17,17,20,.25); }
.tl-vol, .tl-ch { aspect-ratio: 170 / 170; border-radius: 30px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.tl-vol { background: var(--tilo-violet); color: #fff; }
.tl-ch { background: var(--tilo-coral); color: var(--tilo-graphite); }
.tl-vol small, .tl-ch small { font-size: 13px; font-weight: 600; }
.tl-vol b, .tl-ch b { font-size: clamp(44px, 5vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: .85; }
.tl-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tl-row i { height: 56px; border-radius: 22px; background: var(--tilo-slate); }
.tl-chip { position: absolute; z-index: 2; left: -10px; top: 6px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 18px; background: var(--tilo-slate); color: #F5F5F7; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1px #2A2A31, 0 14px 30px rgba(0,0,0,.45); animation: floaty 6s ease-in-out infinite; }
.tl-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--tilo-violet-light); }
.tl-fab { position: absolute; z-index: 2; right: -12px; bottom: 100px; width: 64px; height: 64px; border-radius: 50%; background: var(--tilo-violet); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--tilo-graphite), 0 10px 24px rgba(108,76,245,.5); }
.tl-fab svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-note { position: absolute; z-index: 2; right: -6px; top: 0; display: flex; flex-direction: column; padding: 10px 14px; border-radius: 18px; background: var(--tilo-chalk); color: var(--tilo-graphite); font-size: 14px; font-weight: 800; line-height: 1.2; rotate: 3deg; box-shadow: 0 14px 30px rgba(0,0,0,.45); animation: floaty 7s 1s ease-in-out infinite; }
.tl-note small { font-size: 11.5px; font-weight: 600; color: #5C5C66; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal--late { transition-delay: .15s; }
.reveal.is-revealed { opacity: 1; transform: none; }

/* ---- Device frame ---- */
.device {
  position: relative; width: min(300px, 78%); border-radius: 44px; padding: 10px;
  background: #0F0F13; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
}
.device img { width: 100%; height: auto; border-radius: 36px; }
.device::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 999px; background: #0F0F13; z-index: 2; }
.device--kinly { width: min(290px, 74%); z-index: 2; }

.float-card {
  position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 18px;
  background: var(--skin-surface); color: var(--skin-ink); box-shadow: var(--shadow-md);
  font-size: 14px; font-weight: 700; z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card small { font-size: 12px; font-weight: 500; color: var(--skin-muted); }
.float-card--tropfen { right: -2%; top: 10%; }
.float-card--tropfen mark { background: var(--tropfen-yellow); color: var(--tropfen-ink); border-radius: 6px; padding: 0 6px; font-size: 18px; }
:root[data-theme="dark"] .float-card--tropfen mark { background: #F7D867; }
.float-card--kinly { left: 0; bottom: 10%; flex-direction: row; align-items: center; gap: 8px; }
.float-card--kinly i { font-style: normal; }
.float-card--kinly small { margin-left: 4px; color: var(--skin-accent); font-weight: 700; }
@keyframes floaty { 50% { translate: 0 -10px; } }

/* ---- Duo stage: the real home screen in a device, the conversation floating around it ---- */
.duo-stage { position: relative; width: min(560px, 100%); min-height: 580px; display: grid; place-items: center; padding: 24px 0; }
.device--duo { width: min(280px, 56%); z-index: 2; }
.bubble--lg { padding: 16px 18px; border-radius: 24px 24px 24px 8px; font-size: 15px; max-width: 84%; }
.bubble--lg.bubble--them { border-radius: 24px 24px 8px 24px; }
.bubble--lg small { font-size: 12px; }
.bubble--lg strong { font-size: 19px; }
.bubble--lg::after { width: 16px; height: 16px; top: 12px; right: 12px; }
.bubble--float { position: absolute; z-index: 3; width: min(240px, 46%); box-shadow: 0 30px 60px rgba(21,20,26,.22); }
.bubble--float-l { left: 0; top: 22%; animation: floaty 6.5s ease-in-out infinite; }
.bubble--float-r { right: 0; top: 54%; animation: floaty 7s 1s ease-in-out infinite; }
/* The two bubbles take turns being "live" (JS toggles .is-live) */
.duo-stage .bubble { opacity: .92; transform: scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease); }
.duo-stage .bubble.is-live { opacity: 1; transform: scale(1); }
.duo-stage .bubble--you.is-live { box-shadow: 0 30px 60px rgba(21,20,26,.22), 0 0 0 4px #DDF26B; }
.duo-stage .bubble--them.is-live { box-shadow: 0 30px 60px rgba(21,20,26,.22), 0 0 0 4px var(--duo-apricot-deep); }

/* ---- Docko stage: the real Documents screen on the blueprint, beam sweeping over it ---- */
.docko-stage { position: relative; width: min(460px, 100%); min-height: 600px; display: grid; place-items: center; border-radius: 32px; overflow: hidden; padding: 40px 0;
  background: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px), var(--docko-navy);
  background-size: 28px 28px, 28px 28px, auto; box-shadow: var(--shadow-lg); }
.device--docko { width: min(270px, 60%); z-index: 2; }
.beam { position: absolute; left: 6%; right: 6%; top: 50%; height: 6px; border-radius: 6px; z-index: 3; background: var(--docko-beam); box-shadow: 0 0 26px 6px rgba(255,91,31,.55), 0 0 2px #fff; animation: beam-lg 4.2s ease-in-out infinite alternate; }
.beam::after { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 40px; background: linear-gradient(to top, rgba(255,91,31,.22), transparent); }
@keyframes beam-lg { from { transform: translateY(-190px); } to { transform: translateY(200px); } }
.signed-chip { position: absolute; left: 4%; bottom: 14%; z-index: 4; display: grid; grid-template-columns: 56px auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: #0E1220; color: #F5F7FA; box-shadow: 0 20px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); animation: floaty 6s 1.5s ease-in-out infinite; }
.signed-chip svg { grid-row: 1 / 3; width: 56px; height: 22px; color: #F5F7FA; }
.signed-chip b { font-size: 15px; font-weight: 800; }
.signed-chip small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #A8B0C4; }
.ask-card { position: absolute; right: 4%; top: 8%; z-index: 4; display: flex; flex-direction: column; gap: 4px; width: 50%; padding: 14px 16px; border-radius: 18px; background: #F5F7FA; color: var(--docko-navy); font-size: 14px; font-weight: 700; box-shadow: 0 20px 40px rgba(0,0,0,.35); animation: floaty 7s ease-in-out infinite; }
.ask-card small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 700; color: var(--docko-violet); letter-spacing: .06em; text-transform: uppercase; }
.ask-card b { font-size: 13px; font-weight: 600; color: #3A3F52; }
.ask-card b::first-line { color: var(--docko-violet); }

/* ---- Kindose stage ---- */
.kindose-stage { position: relative; width: min(420px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 36px 24px 44px; border-radius: 32px; background: radial-gradient(90% 60% at 50% 0%, rgba(143,227,191,.34), transparent 70%), var(--kindose-night); color: var(--kindose-cream); box-shadow: var(--shadow-lg); }
.ring--lg { position: relative; width: 150px; height: 150px; }
.ring--lg .ring-track { stroke-width: 9; }
.ring--lg .ring-fill { stroke-width: 9; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.is-revealed .ring--lg .ring-fill { stroke-dashoffset: 163.5; }
.ring--lg .ring-text { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-size: 16px; }
.ring--lg .ring-text b { font-size: 36px; }
.ring--lg .ring-text > span { font-size: 14px; margin-top: 4px; opacity: .8; }
.ring--lg .ring-text small { margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .04em; opacity: .7; }
.dose-list { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.dose-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.07); font-size: 14px; font-weight: 700; opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.is-revealed .dose-list li { opacity: 1; transform: none; }
.is-revealed .dose-list li:nth-child(2) { transition-delay: .15s; }
.is-revealed .dose-list li:nth-child(3) { transition-delay: .3s; }
.dose-list span { display: flex; flex-direction: column; }
.dose-list small { font-size: 12px; font-weight: 500; opacity: .7; }
.dose-list em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; background: rgba(143,227,191,.16); color: var(--kindose-mint); }
.dose-list em.now { background: var(--kindose-cream); color: var(--kindose-night); }
.pill { width: 22px; height: 12px; border-radius: 6px; flex: none; transform: rotate(-20deg); }
.pill--sun { background: linear-gradient(90deg, var(--kindose-cream) 50%, #F2C94C 50%); }
.pill--mint { background: linear-gradient(90deg, var(--kindose-cream) 50%, var(--kindose-mint) 50%); }
.pill--peach { background: linear-gradient(90deg, var(--kindose-cream) 50%, var(--kindose-glow) 50%); }
.notif { position: absolute; left: 6%; bottom: -26px; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; width: 78%; padding: 12px 16px; border-radius: 18px; background: #F2F1EC; color: #111714; font-size: 13px; box-shadow: 0 24px 48px rgba(0,0,0,.4); opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) .7s, transform .7s var(--ease) .7s; }
.is-revealed .notif { opacity: 1; transform: none; }
.notif b { font-weight: 800; }
.notif small { justify-self: end; color: #9A4A12; font-weight: 700; font-size: 11px; }
.notif > span { grid-column: 1 / -1; font-weight: 600; }

/* =====================================================================
   Studio + contact
   ===================================================================== */
.studio { padding: clamp(72px, 10vw, 140px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.studio-inner { max-width: 1280px; margin: 0 auto; }
.section-label { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-label span { font-size: 13px; font-weight: 800; color: var(--skin-accent); letter-spacing: .1em; }
.section-label h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.035em; font-weight: 800; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value { padding: 28px 26px 30px; border-radius: var(--radius); background: var(--skin-surface); border: 1px solid var(--skin-line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value:nth-child(2) { transition-delay: .08s; }
.value:nth-child(3) { transition-delay: .16s; }
.value-num { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--skin-accent); margin-bottom: 18px; }
.value h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 10px; font-weight: 800; }
.value p { color: var(--skin-muted); font-size: 16px; }

.contact { padding: 0 clamp(16px, 4vw, 48px) clamp(64px, 8vw, 110px); }
.contact-inner {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px);
  max-width: 1280px; margin: 0 auto; padding: clamp(32px, 4vw, 56px); border-radius: 32px;
  background: var(--skin-ink); color: var(--skin-bg);
}
.contact-copy .eyebrow { color: var(--skin-accent); }
.contact-copy h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.04em; line-height: .95; margin: 14px 0 16px; font-weight: 800; }
.contact-copy p:not(.eyebrow) { opacity: .72; max-width: 40ch; }
.contact-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 800; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid var(--skin-accent); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; opacity: .9; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 16px; font: inherit; font-weight: 500; font-size: 16px;
  color: var(--skin-bg); background: color-mix(in srgb, var(--skin-bg) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--skin-bg) 18%, transparent);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { color: #121116; background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--skin-bg) 45%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--skin-accent); background: color-mix(in srgb, var(--skin-bg) 12%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--skin-accent) 25%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-status { font-size: 14px; opacity: .85; max-width: 46ch; }
.contact-form.is-sent .field { opacity: .55; }
.contact-form .btn--primary:disabled { opacity: .7; cursor: default; transform: none; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { border-top: 1px solid var(--skin-line); padding: 40px clamp(16px, 4vw, 48px) 48px; }
.footer-main { max-width: 1280px; margin: 0 auto 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-copyright { font-size: 13px; color: var(--skin-muted); }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 24px 16px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col b { font-weight: 800; margin-bottom: 4px; }
.footer-col a { color: var(--skin-muted); text-decoration: none; }
.footer-col a:hover { color: var(--skin-ink); text-decoration: underline; }
.footer-links { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.footer-links a { color: var(--skin-muted); text-decoration: none; }
.footer-links a:hover { color: var(--skin-ink); }

/* =====================================================================
   Generic page (404)
   ===================================================================== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.generic-page h1 { font-size: clamp(40px, 7vw, 96px); letter-spacing: -.045em; line-height: 1; font-weight: 800; margin-bottom: 16px; }
.generic-page .lede { margin: 0 auto 28px; }
.text-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid var(--skin-accent); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .constellation { justify-self: stretch; max-width: 100%; aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
  .tile { position: static; width: auto; }
  .tile--duo { grid-column: 1 / -1; }
  .mock-duo { flex-direction: row; align-items: flex-start; }
  .mock-duo .bubble { max-width: 48%; }
  .chapter-inner { grid-template-columns: 1fr; }
  .chapter-inner--flip .chapter-copy { order: 0; }
  .chapter-visual { min-height: 0; margin-top: 8px; }
  .values { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding: 10px 16px; }
  .inovy-wordmark-svg { width: 88px; }
  .theme-toggle-label { display: none; }
  .theme-toggle-btn { padding: 8px 10px; margin-left: 0; }
  /* App anchors live in the status strip and footer on phones; the header keeps only the toggle. */
  .home .site-header .nav-link { display: none; }
  .site-header nav { max-width: none; overflow: visible; }
  .constellation { grid-template-columns: 1fr; }
  .mock-duo { flex-direction: column; }
  .mock-duo .bubble { max-width: 86%; }
  .hero h1 { font-size: clamp(40px, 12.5vw, 56px); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .chapter { padding-left: 16px; padding-right: 16px; }
  .chapter-actions .btn, .chapter-actions .soon-pill { width: 100%; justify-content: center; }
    .float-card--kinly { bottom: -8px; left: 4%; right: 4%; }
  .duo-stage { min-height: 540px; }
  .device--duo { width: 60%; }
  .bubble--float { width: 54%; padding: 12px 14px; font-size: 13px; }
  .bubble--float strong { font-size: 16px; }
  .bubble--float-l { top: 10%; }
  .bubble--float-r { top: 58%; }
  .docko-stage { min-height: 520px; }
  .ask-card { width: 58%; right: 3%; top: 4%; font-size: 12px; }
  .signed-chip { left: 3%; bottom: 8%; }
  .notif { width: 88%; left: 6%; }
  .tl-chip { left: 0; }
  .tl-note { right: 0; }
  .tl-fab { right: -4px; width: 56px; height: 56px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .contact-copy h2 { font-size: 44px; }
  .form-foot .btn { width: 100%; justify-content: center; }
}

/* =====================================================================
   Reduced motion: everything settles immediately
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .hero-word, .hero .eyebrow, .hero .lede, .hero-actions, .tile, .reveal, .dose-list li, .notif { opacity: 1 !important; transform: none !important; }
  .ring--lg .ring-fill { stroke-dashoffset: 163.5; }
  .duo-stage .bubble { opacity: 1; }
}


/* Hover stability: elements that lift on hover keep a slightly larger, invisible hit area
   so the pointer never slips out from under them at the edge and re-triggers the hover. */
.theme-toggle-btn { position: relative; }
.theme-toggle-btn::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; }
.btn { position: relative; }
.btn::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; }
.status-strip a { position: relative; }
.status-strip a::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; }
.value { position: relative; }
.value::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; }

:root { --store-ink: var(--skin-ink); --store-on: var(--skin-bg); --store-badge: var(--skin-accent); --store-badge-on: var(--skin-accent-ink); }
.home .chapter--tropfen .store-btn::after { background: #16151A; color: #F7D867; }

/* ===== Store buttons: two real-looking badges, faded until launch, "Soon" tag top-right ===== */
.store-btns { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.store-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 18px 8px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--store-ink, #15141A) 72%, transparent); color: var(--store-on, #fff); cursor: default; user-select: none; }
.store-btn > svg { width: 24px; height: 24px; fill: currentColor; flex: none; opacity: .75; }
.store-btn > span { display: flex; flex-direction: column; line-height: 1.1; opacity: .8; }
.store-btn small { font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.store-btn b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.store-btn::after { content: "Soon"; position: absolute; top: -10px; right: -8px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  padding: 5px 8px; border-radius: 999px; background: var(--store-badge, #E95A3E); color: var(--store-badge-on, #fff); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
html[lang="tr"] .store-btn::after { content: "Yakında"; }
.store-btns--sm .store-btn { min-height: 48px; padding: 6px 14px 6px 12px; border-radius: 14px; gap: 8px; }
.store-btns--sm .store-btn > svg { width: 20px; height: 20px; }
.store-btns--sm .store-btn small { font-size: 10px; }
.store-btns--sm .store-btn b { font-size: 15px; }
@media (max-width: 480px) { .store-btns { gap: 10px; } .store-btn { flex: 1 1 calc(50% - 5px); justify-content: center; padding-left: 10px; padding-right: 10px; min-height: 52px; } .store-btn small { white-space: nowrap; } .store-btn b { font-size: 15px; } .store-btn::after { right: -4px; } }

/* FERN chapter:start */
/* =====================================================================
   Fern chapter (Moss, dark in both themes like the app). Plant art and
   motion come 1:1 from the Fern design bundle (catalogue.json + anim.css),
   prefixed fx- so the shared growth classes stay inside this chapter.
   ===================================================================== */
:root[data-skin="fern"], :root[data-theme="dark"][data-skin="fern"] {
  --skin-bg: #0E2A20; --skin-surface: #133528; --skin-ink: #EAF5EC; --skin-muted: #A7C4B1;
  --skin-line: #21483A; --skin-accent: #C8F25A; --skin-accent-ink: #0E2A20;
}
.chapter--fern h2 { font-family: 'Outfit', var(--font-sans); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.chapter--fern .hl { color: #C8F25A; }
.chapter--fern .chapter-eyebrow img { border-radius: 6px; }
.chapter--fern .btn--skin { box-shadow: 0 12px 30px rgba(200,242,90,.22); }
.fern-stage { position: relative; width: min(440px, 100%); padding: 18px 0 8px; display: flex; flex-direction: column; align-items: center; font-family: var(--font-sans); }
.fn-halo { position: absolute; inset: -8% 0 20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200,242,90,.16), rgba(200,242,90,0) 72%); pointer-events: none; }
.fn-ring { position: relative; width: min(300px, 76vw); aspect-ratio: 1; }
.fn-ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fn-ring-fill { animation: fn-ringk 10s linear infinite; }
@keyframes fn-ringk { 0% { stroke-dashoffset: 892.2; opacity: 0; } 3% { opacity: 1; } 88% { stroke-dashoffset: 0; } 92% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.fn-plant { position: absolute; left: 50%; bottom: 6%; width: 60%; margin-left: -30%; }
.fn-plant svg { display: block; width: 100%; height: auto; }
.fn-mote { position: absolute; left: 30%; top: 66%; width: 4px; height: 4px; border-radius: 50%; background: #C8F25A; animation: fn-motek 5s ease-out infinite; }
.fn-mote--b { left: 65%; top: 70%; width: 3px; height: 3px; background: #EAF5EC; animation-delay: 2.2s; }
@keyframes fn-motek { 0% { transform: translate(0,0); opacity: 0; } 25% { opacity: .9; } 100% { transform: translate(16px,-120px); opacity: 0; } }
.fn-stages { position: absolute; z-index: 2; left: -4%; top: 12%; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 18px; background: #163A2D; box-shadow: inset 0 0 0 1px #21483A, 0 16px 34px rgba(0,0,0,.35); animation: floaty 6s ease-in-out infinite; }
.fn-stages i { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #0E2A20; background: #C8F25A; padding: 5px 10px; border-radius: 999px; text-align: center; }
.fn-packet { position: absolute; z-index: 2; right: -2%; top: 6%; display: flex; flex-direction: column; align-items: center; gap: 8px; rotate: 10deg; }
.fn-packet svg { filter: drop-shadow(0 14px 18px rgba(0,0,0,.4)); }
.fn-packet b { font-size: 13px; font-weight: 800; color: #0E2A20; background: #EAF5EC; padding: 6px 12px; border-radius: 999px; box-shadow: 0 10px 22px rgba(0,0,0,.3); rotate: -10deg; }
.fn-float { display: block; animation: fn-floatk 3.2s ease-in-out infinite; }
@keyframes fn-floatk { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fn-packet .fx-sd-seam { opacity: 0; }
.fn-shelf { position: relative; width: 100%; margin-top: 20px; }
.fn-pots { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; justify-items: center; padding: 0 4%; }
.fn-pot { position: relative; display: block; width: min(84px, 19vw); }
.fn-pot svg { display: block; width: 100%; height: auto; }
.fn-pot .fx-sw { animation-delay: var(--sd); }
.fn-glow-dot { position: absolute; left: 50%; top: 0; width: 110%; aspect-ratio: 1; margin-left: -55%; border-radius: 50%; background: radial-gradient(circle, var(--g) 0%, rgba(0,0,0,0) 66%); opacity: .45; animation: fx-k-halo 3s ease-in-out infinite; }
.fn-plank { display: block; height: 12px; margin-top: -6px; border-radius: 4px; background: linear-gradient(180deg, #B07A4E 0%, #B07A4E 40%, #8A5A36 41%, #74492C 100%); box-shadow: 0 8px 14px rgba(0,0,0,.35); }
/* the shared growth timeline (anim.css), fx- prefixed */
@keyframes fx-k-all{0%{opacity:0}3%,92%{opacity:1}97%,100%{opacity:0}}
@keyframes fx-k-seed{0%{transform:translateY(-34px) scale(1)}6%{transform:translateY(0) scale(1.15,.85)}8%,11%{transform:translateY(0) scale(1)}16%,100%{transform:translateY(3px) scale(0)}}
@keyframes fx-k-draw{0%,12%{stroke-dashoffset:100}46%,100%{stroke-dashoffset:0}}
@keyframes fx-k-draw2{0%,22%{stroke-dashoffset:100}52%,100%{stroke-dashoffset:0}}
@keyframes fx-k-p1{0%,20%{transform:scale(0) rotate(-22deg)}29%{transform:scale(1.08) rotate(3deg)}33%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-p2{0%,28%{transform:scale(0) rotate(-22deg)}37%{transform:scale(1.08) rotate(3deg)}41%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-p3{0%,36%{transform:scale(0) rotate(-22deg)}45%{transform:scale(1.08) rotate(3deg)}49%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-p4{0%,44%{transform:scale(0) rotate(-22deg)}53%{transform:scale(1.08) rotate(3deg)}57%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-p5{0%,52%{transform:scale(0) rotate(-22deg)}61%{transform:scale(1.08) rotate(3deg)}65%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-head{0%,40%{transform:scale(0) rotate(-22deg)}50%{transform:scale(1.08) rotate(3deg)}54%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-bl{0%,58%{transform:scale(0) rotate(-50deg)}68%{transform:scale(1.1) rotate(5deg)}73%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-bl2{0%,62%{transform:scale(0) rotate(-50deg)}72%{transform:scale(1.1) rotate(5deg)}77%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-tA{0%,54%{transform:rotate(-8deg)}72%,100%{transform:rotate(-22deg)}}
@keyframes fx-k-tB{0%,54%{transform:rotate(8deg)}72%,100%{transform:rotate(22deg)}}
@keyframes fx-k-tC{0%,54%{transform:rotate(-16deg)}72%,100%{transform:rotate(-46deg)}}
@keyframes fx-k-tD{0%,54%{transform:rotate(16deg)}72%,100%{transform:rotate(46deg)}}
@keyframes fx-k-grow{0%,12%{transform:scale(.15)}42%,100%{transform:scale(1)}}
@keyframes fx-k-u1{0%,26%{transform:scale(0) rotate(-35deg)}44%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-u2{0%,36%{transform:scale(0) rotate(35deg)}54%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-u3{0%,48%{transform:scale(0) rotate(-35deg)}66%,100%{transform:scale(1) rotate(0)}}
@keyframes fx-k-spark{0%,62%{opacity:0;transform:scale(0)}70%{opacity:1;transform:scale(1)}84%,100%{opacity:0;transform:scale(.3)}}
@keyframes fx-k-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@keyframes fx-k-bar{0%{transform:scaleX(0)}75%,100%{transform:scaleX(1)}}
@keyframes fx-k-l1{0%,14%{opacity:1}17%,100%{opacity:.35}}
@keyframes fx-k-l2{0%,14%{opacity:.35}17%,38%{opacity:1}41%,100%{opacity:.35}}
@keyframes fx-k-l3{0%,38%{opacity:.35}41%,57%{opacity:1}60%,100%{opacity:.35}}
@keyframes fx-k-l4{0%,57%{opacity:.35}60%,94%{opacity:1}97%,100%{opacity:.35}}
@keyframes fx-k-glow{0%,58%{opacity:0;transform:scale(.6)}72%,92%{opacity:.45;transform:scale(1)}100%{opacity:0;transform:scale(1)}}
.fx-vb{transform-box:view-box;transform-origin:0 0}
.fx-fbc{transform-box:fill-box;transform-origin:50% 100%}
.fx-fbr{transform-box:fill-box;transform-origin:100% 100%}
.fx-fbl{transform-box:fill-box;transform-origin:0% 100%}
.fx-fc{transform-box:fill-box;transform-origin:50% 50%}
.fx-a-all{animation:fx-k-all 10s linear infinite}
.fx-a-seed{animation:fx-k-seed 10s ease-in-out infinite}
.fx-a-draw{stroke-dasharray:100;animation:fx-k-draw 10s ease-out infinite}
.fx-a-draw2{stroke-dasharray:100;animation:fx-k-draw2 10s ease-out infinite}
.fx-a-p1{animation:fx-k-p1 10s ease-out infinite}
.fx-a-p2{animation:fx-k-p2 10s ease-out infinite}
.fx-a-p3{animation:fx-k-p3 10s ease-out infinite}
.fx-a-p4{animation:fx-k-p4 10s ease-out infinite}
.fx-a-p5{animation:fx-k-p5 10s ease-out infinite}
.fx-a-head{animation:fx-k-head 10s ease-out infinite}
.fx-a-bl{animation:fx-k-bl 10s ease-out infinite}
.fx-a-bl2{animation:fx-k-bl2 10s ease-out infinite}
.fx-a-tA{animation:fx-k-tA 10s cubic-bezier(.2,.9,.3,1.3) infinite}
.fx-a-tB{animation:fx-k-tB 10s cubic-bezier(.2,.9,.3,1.3) infinite}
.fx-a-tC{animation:fx-k-tC 10s cubic-bezier(.2,.9,.3,1.3) infinite}
.fx-a-tD{animation:fx-k-tD 10s cubic-bezier(.2,.9,.3,1.3) infinite}
.fx-a-grow{animation:fx-k-grow 10s cubic-bezier(.3,.8,.3,1.1) infinite}
.fx-a-u1{animation:fx-k-u1 10s cubic-bezier(.2,.9,.3,1.15) infinite}
.fx-a-u2{animation:fx-k-u2 10s cubic-bezier(.2,.9,.3,1.15) infinite}
.fx-a-u3{animation:fx-k-u3 10s cubic-bezier(.2,.9,.3,1.15) infinite}
.fx-a-spark{animation:fx-k-spark 10s ease-out infinite}
.fx-sw{transform-box:fill-box;transform-origin:50% 100%;animation:fx-k-sway 4s ease-in-out infinite}
.fx-a-bar{transform-origin:left;animation:fx-k-bar 10s linear infinite}
.fx-a-l1{animation:fx-k-l1 10s linear infinite}
.fx-a-l2{animation:fx-k-l2 10s linear infinite}
.fx-a-l3{animation:fx-k-l3 10s linear infinite}
.fx-a-l4{animation:fx-k-l4 10s linear infinite}
.fx-a-glow{animation:fx-k-glow 10s ease-out infinite}
@keyframes fx-k-show{0%,62%{opacity:0}70%,92%{opacity:1}97%,100%{opacity:0}}
@keyframes fx-k-mote{0%{transform:translateY(0);opacity:0}30%{opacity:1}100%{transform:translateY(-40px);opacity:0}}
@keyframes fx-k-tw{0%,100%{opacity:.2;transform:scale(.5)}50%{opacity:1;transform:scale(1.15)}}
@keyframes fx-k-ember{0%{transform:translate(0,0);opacity:0}20%{opacity:1}100%{transform:translate(6px,-46px);opacity:0}}
@keyframes fx-k-ripple{0%{transform:scale(.4);opacity:.9}100%{transform:scale(1.6);opacity:0}}
@keyframes fx-k-fall{0%{transform:translate(0,0) rotate(0);opacity:0}15%{opacity:1}100%{transform:translate(-10px,60px) rotate(220deg);opacity:0}}
@keyframes fx-k-halo{0%,100%{opacity:.25;transform:scale(.9)}50%{opacity:.55;transform:scale(1.08)}}
@keyframes fx-k-sheen{0%,60%{transform:translateX(-160%) skewX(-20deg)}100%{transform:translateX(420%) skewX(-20deg)}}
@keyframes fx-k-chip{0%,100%{box-shadow:0 0 0 0 rgba(255,211,77,.0)}50%{box-shadow:0 0 18px 2px rgba(255,211,77,.55)}}
.fx-a-show{animation:fx-k-show 10s linear infinite}
.fx-mote{transform-box:fill-box;animation:fx-k-mote 2.6s ease-out infinite}
.fx-tw{transform-box:fill-box;transform-origin:50% 50%;animation:fx-k-tw 1.8s ease-in-out infinite}
.fx-ember{transform-box:fill-box;animation:fx-k-ember 2.2s ease-out infinite}
.fx-ripple{transform-box:fill-box;transform-origin:50% 50%;animation:fx-k-ripple 3s ease-out infinite}
.fx-fall{transform-box:fill-box;animation:fx-k-fall 3.4s ease-in infinite}
.fx-halo{transform-box:fill-box;transform-origin:50% 50%;animation:fx-k-halo 3s ease-in-out infinite;filter:blur(7px)}
.fx-sheen{animation:fx-k-sheen 4s ease-in-out infinite}
.fx-chipglow{animation:fx-k-chip 2.4s ease-in-out infinite}
@keyframes fx-k-snap{0%,78%{transform:rotate(0)}82%,90%{transform:rotate(var(--sn,24deg))}97%,100%{transform:rotate(0)}}
@keyframes fx-k-swing{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes fx-k-floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-2.5px)}}
@keyframes fx-k-spin{to{transform:rotate(360deg)}}
@keyframes fx-k-shim{0%,100%{filter:hue-rotate(0deg) saturate(1)}50%{filter:hue-rotate(-28deg) saturate(1.25)}}
.fx-snapL{animation:fx-k-snap 5s ease-in-out infinite;--sn:26deg}
.fx-snapR{animation:fx-k-snap 5s ease-in-out infinite;--sn:-26deg}
.fx-swing{animation:fx-k-swing 3.6s ease-in-out infinite}
.fx-floaty{animation:fx-k-floaty 3.2s ease-in-out infinite}
.fx-spin{animation:fx-k-spin 18s linear infinite}
.fx-shim{animation:fx-k-shim 5s ease-in-out infinite}
.fx-sw { animation: fx-k-sway5 5s ease-in-out infinite; }
@keyframes fx-k-sway5 { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.fx-frz [class*="fx-a-"] { animation-delay: -8.8s !important; animation-play-state: paused !important; }
/* script.js pauses the chapter while it is off screen */
.fern-stage.fn-gated:not(.is-live) *, .tile--fern.fn-gated:not(.is-live) * { animation-play-state: paused !important; }
/* Fern tile in the hero constellation */
.tile--fern { background: #0E2A20; color: #EAF5EC; right: 3%; top: 57.5%; width: 38%; }
.tile--fern .tile-head b { font-family: 'Outfit', var(--font-sans); font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.tile--fern .tile-sub { color: #C8F25A; opacity: 1; font-family: 'Outfit', var(--font-sans); font-weight: 500; }
.mock-fern { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.mock-fern-ring { position: relative; flex: none; width: 66px; height: 66px; border-radius: 50%; background: #133528; box-shadow: inset 0 0 0 4px #1C4536; display: grid; place-items: center; overflow: hidden; }
.mock-fern-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#C8F25A 0 62%, transparent 62%); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); }
.mock-fern-ring svg { display: block; width: 44px; height: auto; margin-top: 6px; }
.mock-fern-time { display: flex; flex-direction: column; }
.mock-fern-time b { font-family: 'Outfit', var(--font-sans); font-weight: 500; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.mock-fern-time small { margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #C8F25A; }
/* An eighth tile needs a taller constellation on desktop: same columns, rows re-spaced */
@media (min-width: 1025px) {
  .constellation { aspect-ratio: 1 / 1.8; }
  .tile--foldora { top: 23.5%; }
  .tile--tilo    { top: 47.5%; }
  .tile--kinly   { top: 2%; }
  .tile--duo     { top: 26.5%; }
  .tile--fern    { top: 55.5%; }
}
@media (max-width: 1024px) { .tile--fern { width: auto; } }
@media (min-width: 641px) and (max-width: 1024px) { .tile--fern { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .fn-stages { left: 0; top: 4%; padding: 10px; }
  .fn-stages i { font-size: 11px; padding: 4px 8px; }
  .fn-packet { right: 0; top: 2%; }
  .fn-packet svg { width: 64px; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .chapter--fern .fx-a-seed { display: none; }
  .chapter--fern .fn-ring-fill { stroke-dashoffset: 0; }
}
/* FERN chapter:end */
/* Crumbtown chapter and hero tile */
.chapter--crumbtown h2 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; letter-spacing: -.01em; line-height: 1.06; }
.chapter--crumbtown .hl { color: #E2475F; }
.chapter--crumbtown .btn--skin { border-radius: 16px; font-weight: 900; box-shadow: 0 4px 0 #B8324A; }
.crumbtown-stage { position: relative; width: min(360px, 100%); display: grid; place-items: center; padding: 28px 0 20px; }
.crumbtown-stage::before { content: ""; position: absolute; inset: 8% 2% 4%; background: #FFD9B5; border-radius: 28px; rotate: -3deg; box-shadow: inset 0 0 0 4px #FFFDF7; }
.ct-phone { position: relative; z-index: 2; width: 78%; border-radius: 30px; overflow: hidden; outline: 4px solid #FFFDF7; outline-offset: -4px; box-shadow: 0 3px 0 rgba(90, 46, 42, .18), 0 28px 50px -22px rgba(90, 46, 42, .6); }
.ct-phone img { display: block; width: 100%; height: auto; }
.ct-toast { position: absolute; z-index: 4; left: -2%; top: 34%; rotate: -4deg; background: #FFFDF7; color: #5A2E2A; font-family: 'Young Serif', Georgia, serif; font-size: 17px; padding: 9px 14px; border-radius: 14px; box-shadow: 0 8px 18px rgba(90, 46, 42, .28); }
.ct-moment { position: absolute; z-index: 4; right: -2%; bottom: 16%; rotate: 3deg; background: #FFD23F; color: #5A2E2A; font-weight: 900; font-size: 15px; padding: 8px 14px; border-radius: 14px; box-shadow: 0 8px 18px rgba(90, 46, 42, .28); }
.ct-moment b { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: 19px; }
.tile--crumbtown { background: #E2475F; color: #FFF8F0; font-family: 'Young Serif', Georgia, serif; left: 2%; top: 58%; width: 40%; }
.tile--crumbtown .tile-head b { font-weight: 400; letter-spacing: -.01em; font-size: 18px; }
.tile--crumbtown .tile-sub { font-family: var(--font-sans); color: #FFE9D6; opacity: 1; }
.mock-crumbtown { position: relative; display: block; margin-top: 4px; }
.mock-crumb-scene { display: block; aspect-ratio: 16 / 9; border-radius: 14px; background: #FFD9B5 url("/crumbtown/assets/hero-900.webp") center / cover no-repeat; box-shadow: inset 0 0 0 3px #FFFDF7; }
.mock-crumb-chip { position: absolute; right: 6px; bottom: 6px; font-family: var(--font-sans); font-size: 10.5px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: #FFD23F; color: #5A2E2A; }
.is-ready .tile--crumbtown { animation-delay: 1s, 2.4s; }
@media (min-width: 1025px) {
  .constellation { aspect-ratio: 1 / 2.05; }
  .tile--tropfen { top: 0; }
  .tile--foldora { top: 19.5%; }
  .tile--tilo { top: 39%; }
  .tile--crumbtown { top: 58.5%; }
  .tile--kinly { top: 1.5%; }
  .tile--duo { top: 22%; }
  .tile--fern { top: 55%; }
}
@media (max-width: 1024px) { .tile--crumbtown { left: auto; top: auto; width: auto; } }

/* Shapehaus chapter */
.chapter--shapehaus h2 { font-family: 'Figtree', 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 900; letter-spacing: -.035em; line-height: 1.04; }
.chapter--shapehaus .hl { color: #2E5BFF; }
.chapter--shapehaus .btn--skin { border-radius: 999px; }
.shapehaus-stage { width: min(560px, 100%); }
.shapehaus-stage img { display: block; width: 100%; height: auto; border-radius: 30px; background: #FFFFFF; }
