/* Site-wide: tokens, reset, header, footer, sticky bar and the demo player. Loaded first on every page. */
/* Fonts are served from this site (SOP: local fonts). local() uses an installed copy first. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: local('Inter Variable'), local('InterVariable'), url('/fonts/inter-normal-latin.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: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: local('Inter Variable'), local('InterVariable'), url('/fonts/inter-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; src: local('Inter Variable Italic'), local('InterVariable-Italic'), url('/fonts/inter-italic-latin.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: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; src: local('Inter Variable Italic'), local('InterVariable-Italic'), url('/fonts/inter-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Charis SIL, cut to the IPA symbols and base letters the transcriptions need. */
@font-face { font-family: 'Charis SIL'; font-style: normal; font-weight: 400; font-display: swap; src: local('Charis SIL'), url('/fonts/charis-ipa.woff2') format('woff2'); }
:root {
  --ink: #111114; --ink-2: #3A382F; --muted: #6A675F; --line: #E4DFD6;
  --cream: #F5F5F6; --paper: #F5F5F6; --blue: #1B1BFF; --blue-d: #0D0DA8;
  --tint: #EEF0FF; --tint-2: #DDE1FF; --warm: #FFE7A0;
  --ok: #1E7F52; --no: #B23A26; --lightblue: #D6E1FF; --grey: #F5F5F6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--grey); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
figure { margin: 0; }
::selection { background: var(--blue); color: #fff; }
.fk-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fk-live { width: 9px; height: 9px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 0 rgba(229,72,77,.5); animation: fk-pulse 1.8s infinite; flex-shrink: 0; }
@keyframes fk-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); } 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }

/* header */
.fk-site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); box-shadow: 0 2px 14px rgba(17,17,20,0.07); }
.fk-head { max-width: 1240px; margin: 0 auto; padding: 12px 28px; min-height: 72px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fk-home-link { display: flex; }
.fk-logo { height: 44px; width: auto; display: block; }
.fk-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; flex-wrap: wrap; }
.fk-nav a { padding: 9px 12px; font-size: 14px; border-radius: 6px; font-weight: 500; color: #3A382F; }
.fk-nav a:hover, .fk-nav a[aria-current="page"] { color: var(--blue); }
.fk-nav a[aria-current="page"] { font-weight: 600; }
.fk-head-cta { display: flex; align-items: center; gap: 10px; }
.fk-head-demo { background: var(--blue); color: #fff; border: none; border-radius: 6px; padding: 11px 18px; font-size: 14px; font-weight: 600; }
.fk-head-demo:hover { background: var(--blue-d); }
.fk-burger { display: none; }
@media (max-width: 700px) {
  .fk-head { flex-wrap: nowrap; gap: 10px; padding: 10px 16px; min-height: 64px; position: relative; }
  .fk-logo { height: 34px; }
  .fk-head-cta { flex: 1; justify-content: center; }
  .fk-head-cta button { padding: 10px 14px; font-size: 14px; white-space: nowrap; }
  .fk-burger { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
  .fk-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 6px 16px 14px; box-shadow: 0 14px 24px rgba(17,17,20,0.10); }
  .fk-nav.is-open { display: flex; }
  .fk-nav a { padding: 14px 4px; font-size: 16px; border-radius: 0; border-bottom: 1px solid #EEEEF0; }
  .fk-nav a:last-child { border-bottom: none; }
}

/* footer */
.fk-site-foot { background: #111114; color: #C9C6BE; }
.fk-foot-grid { max-width: 1240px; margin: 0 auto; padding: 56px 28px 40px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.fk-foot-logo { display: block; height: 38px; width: auto; margin-bottom: 16px; }
.fk-foot-h { font-family: 'Inter', 'Charis SIL', sans-serif; font-size: 14px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: #6E6B64; margin: 0 0 14px; }
.fk-foot-by { font-family: 'Inter', 'Charis SIL', sans-serif; font-size: 16px; line-height: 1.55; margin: 0 0 20px; max-width: 34ch; }
.fk-foot-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.fk-foot-links a { color: #C9C6BE; font-size: 14px; }
.fk-foot-links a:hover { color: #F7F4EF; }
.fk-social { display: flex; gap: 10px; }
.fk-social a { width: 40px; height: 40px; border-radius: 6px; border: 1px solid #2E2E34; color: #F7F4EF; display: grid; place-items: center; }
.fk-social a:hover { background: var(--blue); border-color: var(--blue); }
.fk-foot-copy { max-width: 1240px; margin: 0 auto; padding: 0 28px 44px; font-family: 'Inter', 'Charis SIL', sans-serif; font-size: 14px; color: #6E6B64; }
@media (max-width: 900px) {
  .fk-foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fk-foot-grid > :first-child { grid-column: 1 / -1; }
}

/* sticky bar */
.fk-sticky-bar { position: sticky; bottom: 0; z-index: 40; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17,17,20,0.06); }
.fk-sticky-in { max-width: 1240px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.fk-sticky-next { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.fk-sticky-note { font-family: 'Inter', 'Charis SIL', sans-serif; font-size: 16px; color: #55524A; }
.fk-sticky-btns { margin-left: auto; display: flex; gap: 10px; }
.fk-sticky-btns .fk-head-demo { padding: 10px 18px; }
.fk-sticky-wa { background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 6px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.fk-sticky-wa:hover { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .fk-hide-sm { display: none; } }

/* demo player */
.fk-demo-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,14,.82); display: grid; place-items: center; padding: 20px; }
.fk-demo-box { width: min(1100px, 100%); background: #111114; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.fk-demo-top { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; color: #F7F4EF; font-size: 15px; }
.fk-demo-top span { color: #9A978F; font-size: 14px; }
.fk-demo-x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: none; background: #2A2A30; color: #fff; font-size: 22px; line-height: 1; }
.fk-demo-x:hover { background: var(--blue); }
.fk-demo-video { display: block; width: 100%; max-height: calc(100vh - 120px); background: #000; aspect-ratio: 16 / 9; border: 0; }
.fk-demo-wait { padding: 40px 24px 44px; text-align: center; color: #F7F4EF; }
.fk-demo-wait p { font-size: 17px; margin: 0 0 18px; }
@media (prefers-reduced-motion: reduce) { .fk-live { animation: none; } }
