/*
 * Fikr.ai landing page
 *
 * Scheme shared with the I-FIKR Shariah Tools page: white page, soft grey
 * rounded panels, white floating cards, tight Inter headings, squared black
 * buttons, no dark bands. Fikr.ai's own voice is the conversation: the chat
 * screen opens the page, question bubbles and the ask bar carry a blue ring
 * (no green in any gradient, by the owner's decision), and one worked exchange shows a question
 * becoming references.
 *
 * Everything is scoped under .fkr (with an "html body" prefix) so theme and
 * Elementor Kit styles do not leak in and these styles do not leak out.
 *
 * Contents: tokens and guards, type, buttons, shared pieces, hero,
 * introduction, features, how it works, questions, why, closing, dialogs,
 * motion, breakpoints.
 */

html body .fkr{
  --fkr-ink: #141414;
  --fkr-headline: #000000;   /* hero headline; Settings > Appearance > Headline colour */
  --fkr-accent: #056BEB;
  --fkr-btn: #141414;
  --fkr-btn-hover: #056BEB;
  --fkr-text: #4F4F4F;
  --fkr-muted: #6A6A6A;
  --fkr-line: #E7E7E7;
  --fkr-soft: #F2F2F2;
  --fkr-ring: linear-gradient(115deg, #1F5FF2 0%, #2F8CFF 55%, #6CB8FF 100%);   /* outlines and rules */
  --fkr-tile: linear-gradient(145deg, #3D94FF 0%, #056BEB 55%, #0A4FB8 100%);   /* small fills that carry white icons or numbers */
  --fkr-deep: linear-gradient(140deg, #0A3FA8 0%, #056BEB 55%, #0B74E5 100%);   /* the lead feature card */
  --fkr-card-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 14px 30px -20px rgba(0, 0, 0, .28);
  --fkr-float-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .38);
  --fkr-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fkr-ease: cubic-bezier(.2, .7, .2, 1);
  --fkr-top: 75px;            /* height of the site's sticky header; measured by the script */
  --fkr-sb: 0px;              /* width of the window's scrollbar; measured by the script */
  /* Page width follows the I-FIKR site (measured on the live pages): above
   * 1024px the site's containers are 90% of the page with content set in a
   * further 20px each side; at 1024px and below they are full width with the
   * same 20px. So this page's edges line up with the header logo and menu. */
  --fkr-page: calc((100vw - var(--fkr-sb)) * .9);
  --fkr-inset: 20px;

  font-family: var(--fkr-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fkr-ink);
  background: #FFFFFF;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

/* Break out of a boxed theme container so the page runs edge to edge. */
html body .fkr.fkr--bleed{
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
body.fkr-page{ overflow-x: clip; }

/* ---------- Theme / Elementor guards ---------- */
html body .fkr *, html body .fkr *::before, html body .fkr *::after{ box-sizing: border-box; }
html body .fkr h1, html body .fkr h2, html body .fkr h3, html body .fkr p, html body .fkr ul, html body .fkr ol, html body .fkr figure{ margin: 0; padding: 0; }
html body .fkr ul, html body .fkr ol{ list-style: none; }
html body .fkr img{ max-width: 100%; height: auto; display: block; border: 0; border-radius: 0; box-shadow: none; }
html body .fkr a{ color: inherit; text-decoration: none; box-shadow: none; }
html body .fkr a:focus-visible, html body .fkr button:focus-visible, html body .fkr [tabindex]:focus-visible{ outline: 2px solid var(--fkr-accent); outline-offset: 3px; }
html body .fkr h1, html body .fkr h2, html body .fkr h3, html body .fkr h4{ font-family: var(--fkr-font); font-weight: 600; color: inherit; letter-spacing: -.035em; line-height: 1.2; text-wrap: balance; text-transform: none; }
html body .fkr p, html body .fkr li, html body .fkr span, html body .fkr small, html body .fkr strong, html body .fkr b{ font-family: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
html body .fkr button, html body .fkr .fkr-btn{ font-family: var(--fkr-font); text-transform: none; background-image: none; text-shadow: none; }
html body .fkr button{ line-height: 1.2; }
html body .fkr svg{ flex: none; vertical-align: middle; overflow: visible; }
html body .fkr small{ font-size: inherit; }
html body .fkr b{ font-weight: 600; }
html body .fkr i{ font-style: normal; }
html body .fkr .fkr-sr{ position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

html body .fkr .fkr-wrap{
  max-width: var(--fkr-page);
  margin: 0 auto;
  padding-left: max(var(--fkr-inset), env(safe-area-inset-left, 0px));
  padding-right: max(var(--fkr-inset), env(safe-area-inset-right, 0px));
}
html body .fkr .fkr-stack{ display: flex; flex-direction: column; gap: 56px; }

/* ---------- Type ---------- */
html body .fkr .fkr-label, html body .fkr .fkr-eyebrow{
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--fkr-accent);
  font-family: var(--fkr-font);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.5;
}
html body .fkr .fkr-dot{ width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html body .fkr .fkr-h1{ font-size: clamp(36px, 5.6vw, 60px); line-height: 1.06; letter-spacing: -.045em; color: var(--fkr-headline); }
html body .fkr .fkr-h2{ font-size: clamp(28px, 3.3vw, 42px); line-height: 1.1; letter-spacing: -.04em; color: var(--fkr-ink); }
html body .fkr .fkr-muted{ font-size: 16.5px; color: var(--fkr-text); }
html body .fkr .fkr-grad{
  background: linear-gradient(90deg, #0B3F9C 0%, #056BEB 55%, #2B8DF7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
html body .fkr .fkr-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--fkr-btn);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 8px 16px -10px rgba(0, 0, 0, .4);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
html body .fkr .fkr-btn svg{ transition: transform .3s var(--fkr-ease); }
html body .fkr .fkr-btn:hover, html body .fkr .fkr-btn:active, html body .fkr .fkr-btn:focus-visible{
  background: var(--fkr-btn-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(11, 18, 32, .5);
}
html body .fkr .fkr-btn:hover svg{ transform: translateX(4px); }
html body .fkr .fkr-btn--outline{ background: #FFFFFF; color: var(--fkr-ink); border-color: #DCDCDC; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
html body .fkr .fkr-btn--outline:hover, html body .fkr .fkr-btn--outline:active, html body .fkr .fkr-btn--outline:focus-visible{ background: #FFFFFF; color: var(--fkr-btn-hover); border-color: var(--fkr-btn-hover); box-shadow: none; }
html body .fkr .fkr-btn--block{ width: 100%; }
html body .fkr .fkr-btn--lg{ min-height: 56px; width: 100%; font-size: 16.5px; }
html body .fkr .fkr-actions{ display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Shared pieces ---------- */
/* Soft grey panel that holds white floating cards. */
html body .fkr .fkr-panel{ position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; background: var(--fkr-soft); }
html body .fkr .fkr-panel::before{ content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(46% 52% at 100% 0%, rgba(14, 130, 246, .2), transparent 70%); pointer-events: none; }
html body .fkr .fkr-panel__label{ font-size: 13px; font-weight: 600; color: var(--fkr-muted); }

/* Icon tile in the Fikr.ai blue. */
html body .fkr .fkr-ico{
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--fkr-tile);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -8px 14px -8px rgba(0, 0, 0, .25), 0 10px 18px -8px rgba(5, 107, 235, .55);
  transition: transform .4s var(--fkr-ease);
}

html body .fkr .fkr-chip{
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--fkr-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: var(--fkr-card-shadow);
}

/* A question: white bubble with the blue ring. */
html body .fkr .fkr-bubble{
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 18px 14px;
  border: 2px solid transparent;
  border-radius: 20px 20px 6px 20px;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, var(--fkr-ring) border-box;
  color: var(--fkr-ink);
  box-shadow: 0 22px 40px -24px rgba(5, 80, 170, .55);
}
html body .fkr .fkr-bubble small{ font-size: 12px; font-weight: 600; color: var(--fkr-accent); }
html body .fkr .fkr-bubble p{ font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.38; }

/* Placeholder line standing in for text in illustrations. */
html body .fkr .fkr-bar{ display: block; width: var(--w, 100%); height: 9px; border-radius: 9px; background: rgba(20, 20, 20, .1); }

/* ---------- Alerts / notes ---------- */
html body .fkr .fkr-alert{
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1px solid #F6D4C1;
  border-left: 4px solid #B4410C;
  border-radius: 12px;
  background: #FFF6F0;
  color: #3A2A20;
  font-size: 15px;
}
html body .fkr .fkr-note{ font-size: 14px; color: var(--fkr-muted); }
html body .fkr .fkr-note a{ color: var(--fkr-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 1. Hero ----------
 * Text only, centred: label, headline, one sentence, one button. A faint blue
 * light sits behind the words so the first screen is not a bare white field. */
html body .fkr .fkr-hero{ position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: #FFFFFF; }
html body .fkr .fkr-hero::before{
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(34% 40% at 50% 54%, rgba(47, 123, 255, .13), rgba(47, 123, 255, 0) 100%),
    radial-gradient(26% 30% at 30% 66%, rgba(86, 160, 255, .10), rgba(86, 160, 255, 0) 100%),
    radial-gradient(26% 30% at 70% 40%, rgba(120, 185, 255, .12), rgba(120, 185, 255, 0) 100%);
  pointer-events: none;
}
html body .fkr .fkr-hero__grid{
  max-width: var(--fkr-page);
  margin: 0 auto;
  padding: 72px max(var(--fkr-inset), env(safe-area-inset-right, 0px)) 24px max(var(--fkr-inset), env(safe-area-inset-left, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
html body .fkr .fkr-hero__copy{ position: relative; z-index: 1; min-width: 0; max-width: min(100%, 1400px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
html body .fkr .fkr-hero .fkr-eyebrow{ align-self: center; }
html body .fkr .fkr-hero .fkr-h1{ text-wrap: balance; }
html body .fkr .fkr-hero .fkr-h1 .fkr-grad{ display: block; width: fit-content; margin: 0 auto; padding-bottom: .06em; }
html body .fkr .fkr-lead{ font-size: 18px; line-height: 1.6; color: var(--fkr-text); max-width: 640px; text-wrap: pretty; }
html body .fkr .fkr-sublead{ display: none; }   /* second hero paragraph: kept in the markup, not shown */
html body .fkr .fkr-hero .fkr-actions{ justify-content: center; margin-top: 6px; }
html body .fkr .fkr-hero .fkr-btn{ min-height: 54px; padding: 14px 28px; }
html body .fkr .fkr-powered{ display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--fkr-muted); text-align: left; }
html body .fkr .fkr-powered img{ flex: none; width: auto; height: 22px; }

/* ---------- Sections ---------- */
html body .fkr .fkr-section{ padding: 112px 0 0; background: #FFFFFF; scroll-margin-top: var(--fkr-top); }
html body .fkr .fkr-section--first{ padding-top: 96px; }
html body .fkr .fkr-section--last{ padding-bottom: 104px; }

/* Section head: title on the left, one supporting sentence on the right. */
html body .fkr .fkr-head{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }
html body .fkr .fkr-head__main{ display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 620px; }
html body .fkr .fkr-head > p{ max-width: 440px; }

/* ---------- 2. Introduction ---------- */
html body .fkr .fkr-intro__head{ display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 980px; }
html body .fkr .fkr-statement{
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--fkr-ink);
  text-wrap: balance;
}
html body .fkr .fkr-intro__grid{ display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 40px 72px; align-items: start; }
html body .fkr .fkr-intro__body{ display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 1px solid var(--fkr-line); font-size: 17px; color: var(--fkr-text); }
html body .fkr .fkr-intro__body p{ max-width: 700px; }
html body .fkr .fkr-audience{ display: flex; flex-direction: column; gap: 14px; padding: 22px; }
html body .fkr .fkr-audience ul{ display: flex; flex-direction: column; gap: 8px; }
html body .fkr .fkr-audience li{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: var(--fkr-card-shadow);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.02em;
  transition: transform .3s var(--fkr-ease);
}
html body .fkr .fkr-audience li:hover{ transform: translateX(4px); }
html body .fkr .fkr-audience__n{ font-size: 12.5px; font-weight: 600; color: var(--fkr-accent); font-variant-numeric: tabular-nums; }

/* ---------- 3. Features ---------- */
html body .fkr .fkr-bento{ display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
html body .fkr .fkr-card{
  grid-column: span 5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 272px;
  padding: 32px;
  border-radius: 24px;
  background: var(--fkr-soft);
  transition: transform .35s var(--fkr-ease), background-color .3s ease, box-shadow .35s ease;
}
html body .fkr .fkr-card--wide{ grid-column: span 7; }
html body .fkr .fkr-card:hover{ transform: translateY(-4px); background: #ECECEC; }
html body .fkr .fkr-card:hover .fkr-ico{ transform: scale(1.08) rotate(-4deg); }
html body .fkr .fkr-card > div{ display: flex; flex-direction: column; gap: 10px; }
html body .fkr .fkr-card h3{ font-size: 20px; letter-spacing: -.03em; line-height: 1.25; color: var(--fkr-ink); }
html body .fkr .fkr-card p{ font-size: 15px; color: var(--fkr-text); max-width: 500px; }
html body .fkr .fkr-card--wide h3{ font-size: 25px; letter-spacing: -.04em; }
html body .fkr .fkr-card--wide p{ font-size: 16px; }
/* The lead card carries the Fikr.ai colour. */
html body .fkr .fkr-card--accent, html body .fkr .fkr-card--accent:hover{ background: var(--fkr-deep); color: #FFFFFF; box-shadow: 0 30px 50px -34px rgba(5, 80, 170, .8); }
html body .fkr .fkr-card--accent::before{ content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .22), transparent 62%); pointer-events: none; }
html body .fkr .fkr-card--accent h3{ color: #FFFFFF; }
html body .fkr .fkr-card--accent p{ color: rgba(255, 255, 255, .9); }
html body .fkr .fkr-card--accent .fkr-ico{ background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* ---------- 4. How it works ---------- */
html body .fkr .fkr-how{ display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
html body .fkr .fkr-how__copy{ min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
html body .fkr .fkr-steps{ align-self: stretch; margin: 6px 0 8px; border-top: 1px solid var(--fkr-line); }
html body .fkr .fkr-steps li{ position: relative; display: flex; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--fkr-line); cursor: default; }
html body .fkr .fkr-steps li::before{ content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--fkr-ring); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--fkr-ease); }
html body .fkr .fkr-steps li.is-on::before, html body .fkr .fkr-steps li:hover::before, html body .fkr .fkr-steps li:focus-visible::before{ transform: scaleX(1); }
html body .fkr .fkr-steps li:focus-visible{ outline-offset: -2px; }
html body .fkr .fkr-steps__n{
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--fkr-soft);
  color: var(--fkr-muted);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color .3s ease, box-shadow .3s ease;
}
html body .fkr .fkr-steps li.is-on .fkr-steps__n, html body .fkr .fkr-steps li:hover .fkr-steps__n, html body .fkr .fkr-steps li:focus-visible .fkr-steps__n{ background: var(--fkr-tile); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 18px -8px rgba(5, 107, 235, .55); }
html body .fkr .fkr-steps h3{ font-size: 19px; letter-spacing: -.03em; line-height: 1.3; color: var(--fkr-ink); }
html body .fkr .fkr-steps p{ margin-top: 4px; font-size: 15px; color: var(--fkr-muted); max-width: 620px; }
html body .fkr .fkr-how__copy > .fkr-muted{ max-width: 560px; }

/* The worked exchange. */
html body .fkr .fkr-demo{ min-width: 0; padding: 30px; }
html body .fkr .fkr-demo__thread{ display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 700px; min-height: 420px; margin: 0 auto; justify-content: center; }
html body .fkr .fkr-demo .fkr-bubble{ align-self: flex-end; max-width: 84%; }
html body .fkr .fkr-answer{ align-self: flex-start; width: 92%; display: flex; gap: 14px; padding: 18px 20px 20px 18px; border-radius: 6px 20px 20px 20px; background: #FFFFFF; box-shadow: var(--fkr-card-shadow); }
html body .fkr .fkr-answer__av{ flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--fkr-soft); }
html body .fkr .fkr-answer__av img{ width: 28px; height: auto; }
html body .fkr .fkr-answer__body{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 11px; padding-top: 2px; }
html body .fkr .fkr-answer__body small{ font-size: 12px; font-weight: 600; color: var(--fkr-muted); }
html body .fkr .fkr-refs{ align-self: flex-start; display: flex; flex-direction: column; gap: 8px; padding-left: 4px; }
html body .fkr .fkr-refs small{ font-size: 12px; font-weight: 600; color: var(--fkr-muted); }
html body .fkr .fkr-refs ul{ display: flex; flex-wrap: wrap; gap: 8px; }
html body .fkr .fkr-refs li{ display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; background: #FFFFFF; color: var(--fkr-muted); box-shadow: var(--fkr-card-shadow); }
html body .fkr .fkr-refs b{ display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: var(--fkr-tile); color: #FFFFFF; font-size: 11.5px; }
html body .fkr .fkr-typing{ display: none; align-self: flex-start; gap: 5px; padding: 14px 16px; border-radius: 6px 16px 16px 16px; background: #FFFFFF; box-shadow: var(--fkr-card-shadow); }
html body .fkr .fkr-typing i{ width: 7px; height: 7px; border-radius: 50%; background: #B9B9B9; animation: fkr-dots 1s ease-in-out infinite; }
html body .fkr .fkr-typing i:nth-child(2){ animation-delay: .15s; }
html body .fkr .fkr-typing i:nth-child(3){ animation-delay: .3s; }

/* The exchange plays once when it scrolls into view. data-seq is set by the
 * script: 0 nothing yet, 1 question, 2 thinking, 3 answer, 4 references.
 * Without the script nothing is hidden. */
html body .fkr .fkr-demo [data-part]{ transition: opacity .5s ease, transform .6s var(--fkr-ease), filter .4s ease; }
html body .fkr .fkr-demo[data-seq="0"] [data-part],
html body .fkr .fkr-demo[data-seq="1"] [data-part]:not([data-part="ask"]),
html body .fkr .fkr-demo[data-seq="2"] [data-part]:not([data-part="ask"]),
html body .fkr .fkr-demo[data-seq="3"] [data-part="refs"]{ opacity: 0; transform: translateY(14px); }
html body .fkr .fkr-demo[data-seq="2"] .fkr-typing{ display: inline-flex; }
html body .fkr .fkr-demo[data-seq="2"] .fkr-answer{ display: none; }
/* Pointing at a step dims the rest of the exchange. */
html body .fkr .fkr-demo[data-hl="ask"] [data-part]:not([data-part="ask"]),
html body .fkr .fkr-demo[data-hl="answer"] [data-part]:not([data-part="answer"]),
html body .fkr .fkr-demo[data-hl="refs"] [data-part]:not([data-part="refs"]){ opacity: .32; filter: saturate(.4); }

/* ---------- 5. Suggested questions ---------- */
html body .fkr .fkr-qsplit{ display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
html body .fkr .fkr-qsplit__head{ min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 12px; }
html body .fkr .fkr-qsplit__head .fkr-muted{ max-width: 480px; }
html body .fkr .fkr-prompts{ min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px; }
html body .fkr .fkr-qlist{ display: flex; flex-direction: column; gap: 8px; }
html body .fkr .fkr-q{
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px 12px 12px 20px;
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--fkr-ink);
  box-shadow: var(--fkr-card-shadow);
  transition: transform .3s var(--fkr-ease), box-shadow .3s ease;
}
html body .fkr .fkr-q:hover, html body .fkr .fkr-q:focus-visible{ transform: translateY(-2px); color: var(--fkr-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 22px 40px -24px rgba(5, 80, 170, .45); }
html body .fkr .fkr-q__n{ flex: none; width: 22px; font-size: 12.5px; font-weight: 600; color: var(--fkr-accent); font-variant-numeric: tabular-nums; }
html body .fkr .fkr-q__t{ flex: 1; min-width: 0; font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
html body .fkr .fkr-q__a{ flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--fkr-soft); color: var(--fkr-ink); transition: background-color .25s ease, color .25s ease, transform .35s var(--fkr-ease); }
html body .fkr .fkr-q:hover .fkr-q__a, html body .fkr .fkr-q:focus-visible .fkr-q__a{ background: var(--fkr-btn-hover); color: #FFFFFF; transform: rotate(45deg); }
/* The ask bar is a link: it starts the chat, like the main button. */
html body .fkr .fkr-askbar{
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 8px 8px 8px 20px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, var(--fkr-ring) border-box;
  color: var(--fkr-muted);
  font-size: 15.5px;
  box-shadow: 0 22px 40px -24px rgba(5, 80, 170, .55);
  transition: transform .3s var(--fkr-ease), box-shadow .3s ease;
}
html body .fkr .fkr-askbar span{ flex: 1; min-width: 0; }
html body .fkr .fkr-askbar i{ flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--fkr-btn); color: #FFFFFF; transition: background-color .25s ease; }
html body .fkr .fkr-askbar:hover, html body .fkr .fkr-askbar:focus-visible{ transform: translateY(-2px); color: var(--fkr-ink); box-shadow: 0 26px 44px -22px rgba(5, 80, 170, .7); }
html body .fkr .fkr-askbar:hover i, html body .fkr .fkr-askbar:focus-visible i{ background: var(--fkr-btn-hover); }

/* ---------- 6. Why Fikr.ai ---------- */
html body .fkr .fkr-why{ display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 72px; align-items: center; }
html body .fkr .fkr-why__copy{ min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
html body .fkr .fkr-why__copy .fkr-muted{ max-width: 640px; }
html body .fkr .fkr-values{ min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html body .fkr .fkr-value{ display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: var(--fkr-soft); transition: transform .35s var(--fkr-ease), background-color .3s ease; }
html body .fkr .fkr-value:hover{ transform: translateY(-4px); background: #ECECEC; }
html body .fkr .fkr-value__top{ display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
html body .fkr .fkr-ico--md{ width: 42px; height: 42px; border-radius: 13px; }
html body .fkr .fkr-value:hover .fkr-ico{ transform: scale(1.08) rotate(-4deg); }
html body .fkr .fkr-value__n{ font-size: 12.5px; font-weight: 600; color: var(--fkr-accent); font-variant-numeric: tabular-nums; }
html body .fkr .fkr-value h3{ font-size: 17.5px; letter-spacing: -.03em; line-height: 1.3; color: var(--fkr-ink); }
html body .fkr .fkr-value p{ font-size: 14.5px; color: var(--fkr-text); }

/* ---------- 7. Closing ---------- */
html body .fkr .fkr-cta{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px 64px;
  padding: 80px 56px;
  border-radius: 28px;
  background: #EFEFEF;
  color: var(--fkr-ink);
}
html body .fkr .fkr-cta::before{
  content: '';
  position: absolute;
  z-index: -1;
  inset: -20%;
  background:
    radial-gradient(26% 42% at 84% 20%, rgba(14, 130, 246, .5), transparent 70%),
    radial-gradient(24% 40% at 10% 88%, rgba(88, 160, 255, .32), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
html body .fkr .fkr-cta__copy{ flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
html body .fkr .fkr-cta__copy h2{ font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -.04em; color: var(--fkr-ink); }
html body .fkr .fkr-cta__copy p{ font-size: 16.5px; color: var(--fkr-text); max-width: 600px; }
html body .fkr .fkr-cta__action{ flex: 0 1 300px; display: flex; flex-direction: column; gap: 14px; }
html body .fkr .fkr-cta__action p{ font-size: 13.5px; color: var(--fkr-text); }
html body .fkr .fkr-disclaimer{ display: flex; gap: 12px; max-width: 880px; margin: 32px auto 0; font-size: 13.5px; color: var(--fkr-muted); }
html body .fkr .fkr-disclaimer svg{ margin-top: 2px; color: var(--fkr-accent); }

/* ---------- Dialogs ---------- */
html body .fkr .fkr-modal{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 20, 20, .4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
html body .fkr .fkr-modal[hidden]{ display: none; }
html body .fkr .fkr-modal__dialog{
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .4);
  animation: fkr-pop .3s var(--fkr-ease) both;
}
html body .fkr .fkr-modal__dialog h2{ font-size: 24px; letter-spacing: -.035em; color: var(--fkr-ink); }
html body .fkr .fkr-modal__dialog > p{ font-size: 15px; color: var(--fkr-muted); max-width: 340px; }
html body .fkr .fkr-modal__dialog .fkr-btn:first-of-type{ margin-top: 10px; }
html body .fkr .fkr-modal__logo{ height: 52px; width: auto; margin-bottom: 6px; }
html body .fkr .fkr-modal__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--fkr-muted);
  cursor: pointer;
  padding: 0;
}
html body .fkr .fkr-modal__close:hover{ background: var(--fkr-soft); color: var(--fkr-ink); }
html body .fkr .fkr-modal__small{ margin-top: 10px; font-size: 13.5px; color: var(--fkr-muted); }
html body .fkr .fkr-modal__small a{ color: var(--fkr-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
html.fkr-modal-open{ overflow: hidden; }

/* ---------- Motion ---------- */
@keyframes fkr-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fkr-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fkr-in { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
@keyframes fkr-dots { 0%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
html body .fkr .fkr-rise{ animation: fkr-rise .9s var(--fkr-ease) both; }
html body .fkr .fkr-rise--late{ animation-delay: .15s; }
@supports (animation-timeline: view()) {
  html body .fkr .fkr-reveal{ animation: fkr-in linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}

@media (prefers-reduced-motion: reduce) {
  html body .fkr .fkr-rise, html body .fkr .fkr-reveal, html body .fkr .fkr-modal__dialog, html body .fkr .fkr-typing i{ animation: none; }
  html body .fkr .fkr-card:hover, html body .fkr .fkr-value:hover, html body .fkr .fkr-btn:hover, html body .fkr .fkr-q:hover, html body .fkr .fkr-askbar:hover, html body .fkr .fkr-audience li:hover, html body .fkr .fkr-q:hover .fkr-q__a, html body .fkr .fkr-card:hover .fkr-ico, html body .fkr .fkr-value:hover .fkr-ico, html body .fkr .fkr-btn:hover svg{ transform: none; }
  html body .fkr .fkr-demo [data-part]{ transition: none; }
}

/* ---------- Desktop: the hero fills the first screen ----------
 * The words sit in the middle of the first screen and scale with the window,
 * so the sections below only appear after scrolling. */
@media (min-width: 1081px){
  html body .fkr .fkr-hero__grid{
    min-height: calc(100vh - var(--fkr-top));
    min-height: calc(100svh - var(--fkr-top));
    padding-top: clamp(28px, 6vh, 80px);
    padding-bottom: clamp(36px, 9vh, 120px);   /* a little more below, so the words sit just above centre */
  }
  html body .fkr .fkr-hero__copy{ gap: clamp(16px, 2.8vh, 34px); }
  html body .fkr .fkr-hero .fkr-h1{ font-size: clamp(42px, min(4.4vw, 9vh), 84px); }
  html body .fkr .fkr-lead{ font-size: clamp(16.5px, min(1.25vw, 2.5vh), 21px); max-width: 36em; }
  html body .fkr .fkr-eyebrow{ font-size: clamp(12.5px, .85vw, 14.5px); }
  html body .fkr .fkr-hero .fkr-btn{ min-height: clamp(52px, 6.4vh, 62px); padding: 12px clamp(26px, 2.1vw, 36px); font-size: clamp(15.5px, 1.05vw, 17.5px); }
}
@media (min-width: 1081px) and (min-height: 700px){
  /* The heading keeps the question list company while it scrolls past. */
  html body .fkr .fkr-qsplit__head{ position: sticky; top: calc(var(--fkr-top) + 40px); }
}

/* ---------- Site width at 1024px and below: full width, same 20px inset ---------- */
@media (max-width: 1024px){
  html body .fkr{ --fkr-page: 100%; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px){
  html body .fkr .fkr-intro__grid, html body .fkr .fkr-how, html body .fkr .fkr-qsplit, html body .fkr .fkr-why{ grid-template-columns: minmax(0, 1fr); gap: 40px; }
  html body .fkr .fkr-how__copy, html body .fkr .fkr-why__copy{ order: -1; }
  html body .fkr .fkr-demo__thread{ min-height: 0; }
  html body .fkr .fkr-qsplit__head{ padding-top: 0; }
  html body .fkr .fkr-card, html body .fkr .fkr-card--wide{ grid-column: span 6; min-height: 240px; }
}

/* ---------- Phone ---------- */
@media (max-width: 782px){
  html body .fkr .fkr-hero__grid{ padding-top: 56px; padding-bottom: 8px; }
  html body .fkr .fkr-hero__copy{ gap: 18px; }
  html body .fkr .fkr-lead{ font-size: 17px; }
  html body .fkr .fkr-section{ padding-top: 80px; }
  html body .fkr .fkr-section--first{ padding-top: 72px; }
  html body .fkr .fkr-section--last{ padding-bottom: 72px; }
  html body .fkr .fkr-stack{ gap: 40px; }
  html body .fkr .fkr-bubble p{ font-size: 15.5px; }
  html body .fkr .fkr-card, html body .fkr .fkr-card--wide{ grid-column: span 12; min-height: 0; gap: 32px; padding: 26px; }
  html body .fkr .fkr-card--wide h3{ font-size: 22px; }
  html body .fkr .fkr-demo{ padding: 20px 16px; }
  html body .fkr .fkr-answer{ width: 100%; }
  html body .fkr .fkr-prompts{ padding: 12px; }
  html body .fkr .fkr-q{ padding-left: 16px; gap: 12px; }
  html body .fkr .fkr-q__t{ font-size: 15.5px; }
  html body .fkr .fkr-cta{ padding: 48px 24px; border-radius: 24px; }
  html body .fkr .fkr-cta__action{ flex-basis: 100%; }
}
@media (max-width: 480px){
  html body .fkr .fkr-actions{ align-self: stretch; }
  html body .fkr .fkr-actions .fkr-btn{ flex: 1 1 100%; }
  html body .fkr .fkr-values{ grid-template-columns: minmax(0, 1fr); }
  html body .fkr .fkr-modal__dialog{ padding: 36px 20px 22px; }
}
