/* ==========================================================================
   Version B: the sales funnel, the home page of raudhah.piqa.my (src/funnel.mjs)

   The look of Malaysian course funnels: a narrow column of "posters" on deep
   purple and black, neon frames, huge italic capitals in white, 3D yellow and
   gradient purple, purple banner strips, orange pill buttons, a red countdown
   band and a white order form at the end. Every poster is HTML, animated
   here, so the words stay editable. Loaded only on that page, after app.css.
   ========================================================================== */

[data-page="funnel"] body {
  background:
    radial-gradient(60% 40% at 50% 0%, rgb(124 58 237 / 0.25), transparent 70%),
    #05010c;
  color: #fff;
}

.fn {
  --fn-violet: #a855f7;
  --fn-purple: #7c3aed;
  --fn-deep: #12052a;
  --fn-night: #0b0318;
  --fn-glow: rgb(168 85 247 / 0.55);
  --fn-yellow: #ffd21f;
  --fn-orange: #ff8a00;
  --fn-red: #ff3b3b;
  --fn-green: #22e07a;
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  overflow: clip;
  background: var(--fn-night);
  box-shadow: 0 0 120px rgb(124 58 237 / 0.25);
  font-family: var(--font);
}

/* ---------------------------------------------------------- type helpers */

.fn-title, .fn-h {
  margin: 0;
  font-family: var(--font);
  font-style: italic;
  font-weight: 900;
  font-stretch: 75%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.88;
  text-wrap: balance;
}
.fn-h { position: relative; z-index: 2; font-size: clamp(2.6rem, 11vw, 3.6rem); text-align: center; }
.t-white { color: #fff; text-shadow: 0 0 22px rgb(168 85 247 / 0.65); }
.t-yellow {
  color: var(--fn-yellow);
  text-shadow: 0 2px 0 #c99a00, 0 4px 0 #8a5a00, 0 6px 0 #4a2a00, 0 12px 24px rgb(0 0 0 / 0.6);
}
.t-purple {
  background: linear-gradient(180deg, #f5d0fe 0%, #c084fc 45%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgb(168 85 247 / 0.7));
}
.t-small {
  display: block;
  margin-top: 10px;
  font-size: 0.3em;
  font-style: normal;
  font-weight: 800;
  font-stretch: 90%;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #e9d5ff;
  text-shadow: none;
}

/* ---------------------------------------------------- bars and strips */

.fn-topbar { padding: 10px 16px; background: #e10600; text-align: center; }
.fn-topbar p { margin: 0; color: #ffe14d; font-style: italic; font-weight: 900; font-size: 1.3rem; line-height: 1.15; }
.fn-topbar u { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fn-strip { padding: 12px 18px; background: linear-gradient(90deg, #4c1d95, #7c3aed 50%, #4c1d95); text-align: center; }
.fn-strip p { margin: 0; color: #fff; font-style: italic; font-weight: 900; font-size: 1.35rem; line-height: 1.2; text-shadow: 0 2px 0 rgb(0 0 0 / 0.25); }

/* ---------------------------------------------------------- posters */

.fn-poster {
  position: relative;
  overflow: hidden;
  padding: 30px 20px;
  background: radial-gradient(120% 70% at 50% 0%, #2c0b62 0%, #14062e 55%, #0b0318 100%);
}
.fn-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(168 85 247 / 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgb(168 85 247 / 0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(85% 65% at 50% 45%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(85% 65% at 50% 45%, #000 20%, transparent 80%);
}
.fn-note { position: relative; z-index: 2; margin: 18px 0 0; text-align: center; font-weight: 700; color: #e9d5ff; }
.fn-note b { color: var(--fn-yellow); }
.fn-fine { position: relative; z-index: 2; margin: 14px 0 0; text-align: center; font-size: 0.75rem; color: #a78bca; }

/* neon box used by many posters */
.fn-facts li, .fn-quotes li, .fn-benefits li, .fn-cards li, .fn-dose-list li, .fn-class-list a, .fn-path, .fn-ing li, .fn-lab li {
  border: 1.5px solid var(--fn-violet);
  border-radius: 16px;
  background: rgb(20 6 44 / 0.88);
  box-shadow: 0 0 14px rgb(168 85 247 / 0.42), inset 0 0 14px rgb(168 85 247 / 0.14);
}

/* -------------------------------------------------------------- hero */

.fn-hero { padding: 20px 20px 30px; }
.fn-hero-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.fn-logo { flex: none; width: 104px; height: auto; filter: drop-shadow(0 0 14px rgb(255 210 31 / 0.25)); }
.fn-pill {
  display: inline-flex; padding: 7px 16px; border-radius: 6px;
  background: linear-gradient(90deg, #7c3aed, #c026d3);
  box-shadow: 0 0 18px rgb(192 38 211 / 0.6);
  font-weight: 900; font-style: italic; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em;
  transform: skewX(-8deg);
}
.fn-title { position: relative; z-index: 2; margin-top: 22px; font-size: clamp(3.4rem, 15vw, 5rem); }
.fn-title > span { display: block; }
.fn-title .t-yellow { font-size: 2.1em; line-height: 0.8; }
.fn-title .t-small {
  display: inline-block; margin-top: 14px; padding: 7px 14px; border-radius: 8px;
  border: 1.5px solid var(--fn-violet); background: rgb(20 6 44 / 0.94);
  box-shadow: 0 0 14px rgb(168 85 247 / 0.45); font-size: 0.26em; color: #fff;
}
.fn-hero-product {
  position: absolute; z-index: 1; right: 6px; top: 218px; width: 56%; max-width: 330px;
  filter: drop-shadow(0 0 36px rgb(168 85 247 / 0.6)) drop-shadow(0 24px 30px rgb(0 0 0 / 0.65));
}
.fn-facts { position: relative; z-index: 2; display: grid; gap: 10px; max-width: 64%; margin: 30px 0 0; padding: 0; list-style: none; }
.fn-facts li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 0.875rem; font-weight: 800; line-height: 1.25; }
.fn-facts li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #2e1065; color: #e9d5ff; }
.fn-facts svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ buttons */

.fn-cta-wrap { padding: 20px; background: var(--fn-night); text-align: center; }
.fn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: min(100%, 420px); min-height: 60px; padding: 0 26px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #ffb547 0%, #ff8a00 100%);
  color: #fff; font: inherit; font-weight: 900; font-size: 1.05rem; font-stretch: 90%; text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 7px 0 #b35900, 0 14px 30px rgb(255 138 0 / 0.42);
  transition: translate 0.12s, box-shadow 0.12s;
}
.fn-cta:hover { color: #fff; }
.fn-cta:active { translate: 0 4px; box-shadow: 0 3px 0 #b35900, 0 8px 20px rgb(255 138 0 / 0.4); }
.fn-cta svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------- pain */

.fn-pains { position: relative; z-index: 2; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.fn-pains li {
  --c: var(--fn-violet);
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px 14px 12px 12px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 22%, transparent), rgb(20 6 44 / 0.92) 55%);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent), 0 0 16px color-mix(in srgb, var(--c) 35%, transparent);
}
.fn-pains li.is-orange { --c: #ff8a00; }
.fn-pains li.is-red { --c: #ff4d5e; }
.fn-pains li.is-blue { --c: #4f8bff; }
.fn-pains li.is-pink { --c: #ff5fb0; }
.fn-pains li.is-yellow { --c: #ffd21f; }
.fn-pains li.is-teal { --c: #2ee6d6; }
.fn-pain-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #12052a; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent), 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); }
.fn-pain-icon svg { width: 24px; height: 24px; }
.fn-pain-body { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.fn-pain-text { color: #fff; font-weight: 800; font-size: 1rem; line-height: 1.3; }
.fn-pain-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 20%, #12052a); color: var(--c); font-style: italic; font-weight: 900; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); }
.fn-pain-tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fn-battery-note { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; margin: 22px 0 0; text-align: center; }
.fn-battery-note p { margin: 0; color: #e9d5ff; font-weight: 700; font-size: 1.05rem; line-height: 1.45; }
.fn-battery-note b { color: var(--fn-yellow); }
.fn-battery { position: relative; display: block; width: 46px; height: 22px; padding: 3px; border: 2.5px solid #fff; border-radius: 6px; }
.fn-battery::after { content: ""; position: absolute; right: -7px; top: 5px; width: 4px; height: 8px; border-radius: 0 2px 2px 0; background: #fff; }
.fn-battery i { display: block; width: 22%; height: 100%; border-radius: 2px; background: var(--fn-red); box-shadow: 0 0 10px var(--fn-red); }
.fn-quotes { position: relative; z-index: 2; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.fn-quotes li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; font-weight: 800; font-size: 1rem; line-height: 1.3; }
.fn-quote-mark { color: var(--fn-violet); font-size: 2.2rem; line-height: 0.6; font-weight: 900; }
.fn-tag { padding: 3px 8px; border-radius: 4px; background: #2e1065; color: #e9d5ff; font-size: 0.6875rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------------------------------------------------------- product */

.fn-product .fn-h .t-yellow { display: block; font-size: 1.25em; }
.fn-product-figure { position: relative; z-index: 1; margin: 6px auto 0; width: 86%; max-width: 420px; }
.fn-product-figure::before {
  content: ""; position: absolute; inset: 14%; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #7c3aed, #c026d3, #ffd21f, #22e07a, #3e7cff, #7c3aed);
  filter: blur(26px); opacity: 0.55;
}
.fn-product-figure img { width: 100%; height: auto; }
.fn-benefits { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.fn-benefits li { display: grid; gap: 4px; justify-items: start; padding: 12px; font-size: 0.8125rem; line-height: 1.35; color: #e9d5ff; }
.fn-benefits b { color: #fff; font-style: italic; font-weight: 900; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; }
.fn-benefit-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #000; }
.fn-benefit-icon svg { width: 20px; height: 20px; }
.fn-benefits .is-fokus .fn-benefit-icon { background: var(--c1); box-shadow: 0 0 14px var(--c1); }
.fn-benefits .is-ingatan .fn-benefit-icon { background: var(--c2); box-shadow: 0 0 14px var(--c2); }
.fn-benefits .is-emosi .fn-benefit-icon { background: var(--c3); box-shadow: 0 0 14px var(--c3); }
.fn-benefits .is-tenaga .fn-benefit-icon { background: var(--c4); box-shadow: 0 0 14px var(--c4); }

/* ------------------------------------------------------------- versus */

.fn-vs { background: radial-gradient(120% 70% at 50% 0%, #1f0a45 0%, #0d0420 60%, #07020f 100%); }
.fn-vs-title { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 12px; font-size: clamp(2.3rem, 10vw, 3.2rem); }
.fn-vs-badge {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0abfc, #a855f7 45%, #5b21b6);
  color: #fff; font-size: 0.6em; box-shadow: 0 0 22px rgb(168 85 247 / 0.8); text-shadow: 0 2px 0 rgb(0 0 0 / 0.3);
}
.fn-vs-cols { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.fn-vs-col { padding: 12px 10px 14px; border-radius: 16px; background: rgb(12 3 26 / 0.92); }
.fn-vs-col.is-old { border: 2px solid var(--fn-red); box-shadow: 0 0 16px rgb(255 59 59 / 0.45), inset 0 0 18px rgb(255 59 59 / 0.12); }
.fn-vs-col.is-new { border: 2px solid var(--fn-green); box-shadow: 0 0 16px rgb(34 224 122 / 0.45), inset 0 0 18px rgb(34 224 122 / 0.12); }
.fn-vs-head { display: grid; justify-items: center; gap: 6px; margin: 0 0 10px; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 0.95rem; line-height: 1.15; letter-spacing: 0.02em; text-align: center; }
.fn-vs-head svg { width: 28px; height: 28px; }
.fn-vs-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fn-vs-col li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: center; padding: 8px; border-radius: 10px; background: rgb(255 255 255 / 0.04); font-size: 0.8125rem; font-weight: 700; line-height: 1.3; }
.fn-vs svg { width: 22px; height: 22px; fill: none; stroke-width: 2; }
.is-old svg circle { fill: var(--fn-red); stroke: none; }
.is-old svg path { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.is-new svg circle { fill: var(--fn-green); stroke: none; }
.is-new svg path { stroke: #052e16; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* ------------------------------------------------------------ founder */

.fn-cards { position: relative; z-index: 2; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fn-cards li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 10px 12px; }
.fn-card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #2e1065; }
.fn-card-icon svg { width: 22px; height: 22px; }
.fn-cards b { display: block; color: #fff; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.01em; }
.fn-cards small { display: block; margin-top: 2px; color: #d8b4fe; font-size: 0.8125rem; font-weight: 600; }

/* --------------------------------------------------------------- dose */

.fn-dose-list { position: relative; z-index: 2; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fn-dose-list li { display: grid; gap: 8px; padding: 12px 14px; }
.fn-dose-list li > b { color: var(--fn-yellow); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.15rem; }
.fn-dose-times { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-dose-time { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; background: #2e1065; font-size: 0.875rem; }
.fn-dose-time > span { display: inline-flex; align-items: center; gap: 6px; color: #e9d5ff; font-weight: 700; }
.fn-dose-time svg { width: 16px; height: 16px; }

/* -------------------------------------------------------------- packs */

.fn-packs { background: #07020f; padding-bottom: 8px; }
.fn-packs-head { padding-bottom: 20px; }
.fn-pack { padding: 18px 20px 6px; }
.fn-pack-tab {
  position: relative; z-index: 3; display: grid; justify-items: center; gap: 1px; width: fit-content; margin: 0 auto -18px; padding: 8px 24px 9px; border-radius: 16px;
  background: var(--fn-yellow); color: #1a0b00; text-align: center;
  box-shadow: 0 6px 0 #b38600, 0 12px 24px rgb(255 210 31 / 0.35);
}
.fn-pack-tab b { font-style: italic; font-weight: 900; font-stretch: 80%; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.fn-pack-tab span { font-weight: 700; font-size: 0.8125rem; color: #4a3200; }
.fn-pack-poster {
  padding: 34px 16px 18px; border-radius: 20px; border: 2px solid var(--fn-violet);
  background: radial-gradient(90% 70% at 50% 35%, #3b0f80 0%, #14062e 60%, #0b0318 100%);
  box-shadow: 0 0 22px rgb(168 85 247 / 0.45);
  text-align: center;
}
.fn-pack.is-best .fn-pack-poster { border-color: var(--fn-yellow); box-shadow: 0 0 26px rgb(255 210 31 / 0.55); }
.fn-pack-poster img { width: 76%; max-width: 300px; margin: 0 auto; filter: drop-shadow(0 0 26px rgb(168 85 247 / 0.5)); }
.fn-best {
  position: absolute; z-index: 2; left: 14px; top: 14px; padding: 5px 12px; border-radius: 4px;
  background: #e10600; color: #fff; font-weight: 900; font-style: italic; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em;
  transform: skewX(-10deg); box-shadow: 0 0 16px rgb(225 6 0 / 0.6);
}
.fn-price-badge {
  position: absolute; right: 12px; bottom: 14px; display: grid; place-items: center; align-content: center; gap: 2px;
  width: 116px; height: 116px; border-radius: 50%; rotate: -10deg;
  background: radial-gradient(circle at 35% 30%, #ffe680, #ffc400 55%, #e0a100);
  color: #2b1500; box-shadow: 0 0 0 4px rgb(0 0 0 / 0.35), 0 0 24px rgb(255 196 0 / 0.55);
}
.fn-price-badge small { font-size: 0.6875rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.fn-price-badge s { display: block; }
.fn-price-badge b { font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 1.85rem; line-height: 1; }
.fn-ticks { display: grid; gap: 8px; margin: 16px 0 0; padding: 0 4px; list-style: none; }
.fn-ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; font-size: 0.9375rem; font-weight: 600; color: #f3e8ff; }
.fn-ticks svg { width: 22px; height: 22px; }
.fn-ticks svg circle { fill: var(--fn-green); }
.fn-ticks svg path { fill: none; stroke: #052e16; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ classes */

.fn-class-list { position: relative; z-index: 2; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fn-class-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; color: #fff; text-decoration: none; }
.fn-class-name { grid-column: 1; color: var(--fn-yellow); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.1rem; }
.fn-class-meta { grid-column: 1; color: #e9d5ff; font-size: 0.8125rem; font-weight: 600; }
.fn-class-price { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 6px 10px; border-radius: 8px; background: #2e1065; font-weight: 900; }

.fn-countdown { padding: 26px 18px 30px; background: linear-gradient(180deg, #a10000, #7a0000); text-align: center; }
.fn-count-title { margin: 0 0 16px; color: #fff; font-style: italic; font-weight: 900; font-size: 1.5rem; text-transform: none; font-stretch: 100%; line-height: 1.2; }
.fn-count { display: flex; justify-content: center; gap: 14px; }
.fn-count span { display: grid; justify-items: center; min-width: 64px; }
.fn-count b { color: var(--fn-yellow); font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 3.4rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 3px 0 #6b0000; }
.fn-count small { margin-top: 4px; color: #fff; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.fn-count-when { margin: 16px 0 6px; color: #ffe1e1; font-weight: 800; font-style: italic; }
.fn-count-link { color: var(--fn-yellow); font-weight: 900; }
.fn-count-link:hover { color: #fff; }

/* -------------------------------------------------------- testimonials */

.fn-testi { padding: 24px 20px; }
.fn-testi-card { display: grid; justify-items: center; gap: 6px; padding: 22px 18px; border: 2px dashed rgb(168 85 247 / 0.6); border-radius: 18px; background: rgb(20 6 44 / 0.6); text-align: center; color: #d8b4fe; font-size: 0.9375rem; }
.fn-testi-card p { margin: 0; }
.fn-testi-card b { color: #fff; }
.fn-testi-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #25d366; color: #fff; margin-bottom: 4px; }

/* ------------------------------------------------------------ decision */

.fn-paths { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 22px; }
.fn-path { display: grid; justify-items: center; gap: 6px; padding: 16px 10px; text-align: center; font-size: 0.8125rem; color: #e9d5ff; font-weight: 600; }
.fn-path b { color: #fff; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.2rem; line-height: 1; }
.fn-path svg { width: 36px; height: 36px; }
.fn-path.is-wait { border-color: var(--fn-red); box-shadow: 0 0 16px rgb(255 59 59 / 0.45); }
.fn-path.is-go { border-color: var(--fn-green); box-shadow: 0 0 16px rgb(34 224 122 / 0.45); }
.fn-path.is-wait svg circle { fill: var(--fn-red); }
.fn-path.is-wait svg path { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.fn-path.is-go svg circle { fill: var(--fn-green); }
.fn-path.is-go svg path { fill: none; stroke: #052e16; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fn-or { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #2e1065; border: 2px solid var(--fn-violet); font-style: italic; font-weight: 900; font-size: 0.75rem; text-transform: uppercase; box-shadow: 0 0 14px var(--fn-glow); }
.fn-hourglass { position: relative; z-index: 2; width: 54px; height: 76px; margin: 22px auto 0; }
.fn-hourglass::before, .fn-hourglass::after { content: ""; position: absolute; left: -4px; right: -4px; height: 6px; border-radius: 3px; background: var(--fn-yellow); }
.fn-hourglass::before { top: -6px; }
.fn-hourglass::after { bottom: -6px; }
.sand-top, .sand-bottom { position: absolute; left: 0; right: 0; height: 50%; background: #2e1065; border: 2px solid var(--fn-violet); }
.sand-top { top: 0; clip-path: polygon(0 0, 100% 0, 54% 100%, 46% 100%); background: linear-gradient(transparent 30%, var(--fn-yellow) 30%); }
.sand-bottom { bottom: 0; clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); background: linear-gradient(transparent 55%, var(--fn-yellow) 55%); }
.sand-fall { position: absolute; left: 50%; top: 46%; width: 2px; height: 30%; margin-left: -1px; background: var(--fn-yellow); }

/* ------------------------------------------- hero: who markets it */

.fn-by { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #c4b5fd; }
.fn-by-logo { width: 150px; height: auto; }

/* ---------------------------------------------------------- ingredients */

.fn-ing-legend { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 0; }
.fn-ing-legend span { padding: 3px 9px; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: #d8b4fe; font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.fn-ing-legend span:nth-child(1) { background: rgb(255 210 31 / 0.14); color: var(--fn-yellow); }
.fn-ing-legend span:nth-child(2) { background: #7c3aed; color: #fff; }
.fn-ing-legend span:nth-child(3) { background: rgb(34 224 122 / 0.16); color: #86efac; }
.fn-ing { position: relative; z-index: 2; display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.fn-ing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.fn-ing-benefit { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; margin-top: 4px; color: #86efac; font-weight: 800; font-size: 0.9375rem; line-height: 1.35; }
.fn-ing-benefit svg { width: 20px; height: 20px; margin-top: 1px; }
.fn-ing-benefit svg circle { fill: var(--fn-green); }
.fn-ing-benefit svg path { fill: none; stroke: #052e16; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fn-ing-detail { color: #d8b4fe; font-size: 0.8125rem; }
.fn-minerals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.fn-minerals li { display: grid; gap: 1px; padding: 7px 9px; border-radius: 10px; background: rgb(124 58 237 / 0.18); box-shadow: inset 0 0 0 1px rgb(168 85 247 / 0.45); }
.fn-minerals li:last-child { grid-column: 1 / -1; }
.fn-minerals b { color: #fff; font-style: italic; font-size: 0.8125rem; text-transform: uppercase; }
.fn-minerals span { color: #e9d5ff; font-size: 0.75rem; }
.fn-ing li { display: grid; gap: 4px; padding: 14px 16px; color: #e9d5ff; font-size: 0.875rem; line-height: 1.4; }
.fn-ing b { color: var(--fn-yellow); font-style: italic; font-weight: 900; font-stretch: 85%; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.01em; }
.fn-ing-kind { padding: 3px 9px; border-radius: 999px; background: #7c3aed; color: #fff; font-size: 0.6875rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }

/* --------------------------------------------------------------- safety */

.fn-safety { padding-top: 40px; }
.fn-stamp {
  position: relative; z-index: 3; display: grid; justify-items: center; align-content: center; gap: 2px; margin: 0 auto 18px;
  width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--fn-green); color: var(--fn-green);
  rotate: -8deg; box-shadow: 0 0 18px rgb(34 224 122 / 0.5), inset 0 0 12px rgb(34 224 122 / 0.35);
}
.fn-stamp b { font-style: italic; font-weight: 900; font-size: 1.25rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; }
.fn-stamp svg { width: 30px; height: 30px; }
.fn-stamp svg circle { fill: var(--fn-green); }
.fn-stamp svg path { fill: none; stroke: #052e16; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fn-lab { position: relative; z-index: 2; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fn-lab li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; }
.fn-lab-what b { display: block; color: #fff; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.05rem; }
.fn-lab-what small { display: block; color: #d8b4fe; font-size: 0.8125rem; font-weight: 600; }
.fn-lab-result { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: rgb(34 224 122 / 0.14); color: #86efac; font-weight: 900; font-size: 0.875rem; white-space: nowrap; }
.fn-lab-result svg { width: 18px; height: 18px; }
.fn-lab-result svg circle { fill: var(--fn-green); }
.fn-lab-result svg path { fill: none; stroke: #052e16; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fn-report {
  position: relative; z-index: 2; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center;
  margin: 20px 0 0; padding: 12px; border-radius: 14px; background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1.5px rgb(168 85 247 / 0.55); color: inherit; text-decoration: none;
}
.fn-report img { display: block; width: 100%; height: auto; border-radius: 4px; background: #fff; box-shadow: 0 6px 16px rgb(0 0 0 / 0.45); }
.fn-report-text { display: grid; gap: 3px; min-width: 0; }
.fn-report-text b { color: #fff; font-style: italic; font-weight: 900; font-size: 1.05rem; line-height: 1.15; text-transform: uppercase; }
.fn-report-text small { color: #d8b4fe; font-size: 0.8125rem; font-weight: 600; overflow-wrap: anywhere; }
.fn-report-cta { justify-self: start; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: var(--fn-yellow); color: #2a1400; font-size: 0.8125rem; font-weight: 900; }
.fn-report:focus-visible { outline: 3px solid var(--fn-yellow); outline-offset: 3px; }
.fn-fuel { font-size: 1.0625rem; }
.fn-fuel i { color: var(--fn-yellow); }
.fn-badges { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.fn-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; color: #2e1065; font-size: 0.8125rem; font-weight: 800; }
.fn-badges svg { width: 16px; height: 16px; color: #16a34a; }

/* --------------------------------------------------------------- for whom */

.fn-chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.fn-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--fn-violet); background: rgb(20 6 44 / 0.88); box-shadow: 0 0 12px rgb(168 85 247 / 0.35); font-size: 0.875rem; font-weight: 800; }
.fn-chips svg { width: 18px; height: 18px; }
.fn-chips svg circle { fill: var(--fn-green); }
.fn-chips svg path { fill: none; stroke: #052e16; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ----------------------------------------------------- founder extras */

.fn-card-logo { display: block; width: 120px; height: auto; margin-top: 8px; padding: 5px 8px; border-radius: 8px; background: #fff; box-sizing: content-box; }
.fn-ibs { display: inline-grid; justify-items: center; gap: 3px; margin-top: 10px; padding: 8px 12px 7px; border-radius: 10px; background: #fff; }
.fn-ibs-mark { display: block; width: 148px; height: auto; }
.fn-ibs-tag { color: #1c1c1c; font-weight: 800; font-stretch: 80%; font-size: 0.6875rem; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.fn-dose-lasts { display: block; color: #c4b5fd; font-size: 0.8125rem; font-weight: 700; }

/* ---------------------------------------------------------- testimonials */

.fn-testi-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fn-testi-list li { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px rgb(168 85 247 / 0.6), 0 10px 30px -10px rgb(0 0 0 / 0.6); }
.fn-testi-list img { display: block; width: 100%; height: auto; }

.fn-best.is-plain { background: #2e1065; box-shadow: none; }
.fn-foot-logo { width: 170px; height: auto; margin: 0 auto 14px; }
.fn-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 12px; }
.fn-foot-links a { color: #e9d5ff; font-weight: 700; }

/* ------------------------------------------------------------ order form */

.fn-order { padding: 22px 16px 36px; background: #f3efff; color: var(--ink); }
.fn-chevrons { display: flex; justify-content: center; gap: 46px; margin-bottom: 16px; }
.fn-chevrons span { width: 22px; height: 22px; border-right: 6px solid #7c3aed; border-bottom: 6px solid #ffd21f; rotate: 45deg; border-radius: 2px; }
.fn-form { display: grid; gap: 12px; padding: 18px 16px 20px; border-radius: 18px; background: #fff; box-shadow: 0 10px 40px -16px rgb(76 29 149 / 0.45); }
.fn-form h2 { margin: 0 0 4px; color: #2e1065; font-size: 1.6rem; text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 78%; line-height: 1; }
.fn-options { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fn-option {
  position: relative; display: grid; grid-template-columns: auto 46px minmax(0, 1fr) auto; gap: 8px; align-items: center;
  padding: 10px 12px; border-radius: 14px; background: #faf8ff; box-shadow: inset 0 0 0 1.5px #ddd6fe; cursor: pointer;
}
.fn-option input { width: 20px; height: 20px; margin: 0; accent-color: #7c3aed; }
.fn-option img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: #14062e; }
.fn-option-body b { white-space: nowrap; }
.fn-option-body { display: grid; gap: 2px; min-width: 0; }
.fn-option-body b { color: #1e1b4b; font-weight: 800; }
.fn-option-body > span:last-child { font-size: 0.8125rem; color: #6b6290; }
.fn-option-tag { white-space: nowrap; justify-self: start; padding: 2px 8px; border-radius: 4px; background: #7c3aed; color: #fff; font-size: 0.6875rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; }
.fn-option-price { display: grid; justify-items: end; }
.fn-option-price b { color: #4c1d95; font-weight: 900; font-size: 1.05rem; }
.fn-option-price s { color: #8f88b3; font-size: 0.8125rem; }
.fn-option:has(input:checked) { background: #f5f0ff; box-shadow: inset 0 0 0 3px #7c3aed; }
.fn-option:has(input:focus-visible) { outline: 2px solid #7c3aed; outline-offset: 2px; }
.fn-option:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.fn-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px 0; border-top: 1px dashed #ddd6fe; font-weight: 700; color: #4c1d95; }
.fn-total b { font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.fn-submit { width: 100%; margin-top: 6px; }
.fn-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.fn-pay li { padding: 4px 9px; border-radius: 6px; background: #f3efff; color: #4c1d95; font-size: 0.75rem; font-weight: 800; }
.fn-form-note { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; font-size: 0.8125rem; color: #6b6290; line-height: 1.45; }
.fn-form-note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #16a34a; }

.fn-foot { padding: 22px 18px 96px; background: #05010c; text-align: center; font-size: 0.8125rem; color: #8b7aa8; }
.fn-foot p { margin: 0 0 6px; }
.fn-foot a { color: #d8b4fe; }

/* floating: "Pilih pakej" (hidden once the form is in view) and help */
.fn-float {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px;
  background: linear-gradient(180deg, #ffb547, #ff8a00); color: #fff; text-decoration: none;
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; box-shadow: 0 6px 0 #b35900, 0 14px 30px rgb(0 0 0 / 0.5);
  transition: opacity 0.25s, translate 0.25s;
}
.fn-float svg { width: 20px; height: 20px; }
.fn-float:hover { color: #fff; }
.fn-float[data-hide] { opacity: 0; translate: -50% 120%; pointer-events: none; }
.fn-help {
  position: fixed; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--fn-yellow); color: #1a0b00; box-shadow: 0 10px 24px rgb(0 0 0 / 0.45);
}
.fn-help span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fn-help svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  .fn-grid { animation: fn-grid 14s linear infinite; }
  .fn-hero-product { animation: fn-float 5s ease-in-out infinite; }
  .fn-title .t-yellow { animation: fn-flicker 4.5s linear infinite; }
  .fn-pill { animation: fn-glow 2.4s ease-in-out infinite; }
  /* the page's jump buttons pulse; the order button itself stays still */
  .fn-cta:not(.fn-submit):not(:active) { animation: fn-pulse 2.2s ease-in-out infinite; }
  .fn-product-figure::before { animation: fn-spin 9s linear infinite; }
  .fn-product-figure img { animation: fn-float 6s ease-in-out infinite; }
  .fn-vs-badge { animation: fn-throb 1.8s ease-in-out infinite; }
  .fn-best { animation: fn-shine 2.6s ease-in-out infinite; }
  .fn-price-badge { animation: fn-wiggle 3.2s ease-in-out infinite; }
  .fn-chevrons span { animation: fn-bob 1.1s ease-in-out infinite; }
  .fn-chevrons span:nth-child(2) { animation-delay: 0.15s; }
  .fn-chevrons span:nth-child(3) { animation-delay: 0.3s; }
  .fn-help { animation: fn-throb 2.4s ease-in-out infinite; }
  .sand-fall { animation: fn-sand 1.4s linear infinite; }
  .fn-hourglass { animation: fn-turn 6s ease-in-out infinite; }
  .js .fn-stamp { opacity: 0; }
  [data-inview] .fn-stamp { animation: fn-stamp 0.5s cubic-bezier(0.2, 0, 0, 1) 0.5s both; }

  /* each poster's parts arrive once it is on screen (app.js sets data-inview) */
  .js .fn-quotes li, .js .fn-benefits li, .js .fn-cards li, .js .fn-dose-list li, .js .fn-class-list li, .js .fn-vs-col li, .js .fn-ing li, .js .fn-lab li, .js .fn-chips li { opacity: 0; translate: -18px 0; }
  [data-inview] .fn-quotes li, [data-inview] .fn-benefits li, [data-inview] .fn-cards li, [data-inview] .fn-dose-list li, [data-inview] .fn-class-list li, [data-inview] .fn-vs-col li, [data-inview] .fn-ing li, [data-inview] .fn-lab li, [data-inview] .fn-chips li {
    animation: fn-in 0.5s cubic-bezier(0.2, 0, 0, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 120ms);
  }
  .js .fn-vs-col.is-new li { translate: 18px 0; }
  .js [data-anim] .fn-h, .js .fn-hero .fn-title > span { opacity: 0; }
  [data-inview] .fn-h { animation: fn-pop 0.6s cubic-bezier(0.2, 0, 0, 1) both; }
  .js .fn-hero .fn-title > span { animation: fn-pop 0.7s cubic-bezier(0.2, 0, 0, 1) both; }
  .fn-hero .fn-title > span:nth-child(2) { animation-delay: 0.12s; }
  .fn-hero .fn-title > span:nth-child(3) { animation-delay: 0.24s; }
}

@keyframes fn-grid { from { background-position: 0 0; } to { background-position: 0 300px; } }
@keyframes fn-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes fn-flicker { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 47% { opacity: 0.75; } 48% { opacity: 1; } 49% { opacity: 0.85; } 50% { opacity: 1; } }
@keyframes fn-glow { 0%, 100% { box-shadow: 0 0 14px rgb(192 38 211 / 0.5); } 50% { box-shadow: 0 0 26px rgb(192 38 211 / 0.9); } }
@keyframes fn-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.03; } }
@keyframes fn-spin { to { rotate: 360deg; } }
@keyframes fn-throb { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }
@keyframes fn-shine { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
@keyframes fn-wiggle { 0%, 100% { rotate: -10deg; } 50% { rotate: -4deg; } }
@keyframes fn-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
@keyframes fn-sand { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fn-turn { 0%, 85% { rotate: 0deg; } 95%, 100% { rotate: 180deg; } }
@keyframes fn-in { from { opacity: 0; } to { opacity: 1; translate: 0 0; } }
@keyframes fn-stamp { from { opacity: 0; scale: 2.2; rotate: 10deg; } to { opacity: 1; scale: 1; rotate: -8deg; } }
@keyframes fn-pop { from { opacity: 0; scale: 0.9; } to { opacity: 1; scale: 1; } }

@media (min-width: 600px) {
  .fn { margin-block: 0; }
  .fn-help { right: max(14px, calc(50vw - 280px - 72px)); }
}

/* ------------------------------------------------- additions 2026-10-07 */

.fn-more-title { position: relative; z-index: 2; margin: 22px 0 0; text-align: center; color: #fff; font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; }
.fn-chips-sm { margin-top: 10px; }
.fn-chips-sm li { font-size: 0.8125rem; padding-block: 6px; }

.fn-extras { position: relative; z-index: 2; display: grid; gap: 10px; margin: 16px 0 0; }
.fn-extra { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; color: #f3e8ff; font-size: 0.875rem; line-height: 1.45; }
.fn-extra b { display: block; margin-bottom: 2px; font-style: italic; font-weight: 900; font-size: 1.05rem; text-transform: uppercase; }
.fn-extra-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.fn-extra-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fn-extra.is-taste { background: rgb(255 95 176 / 0.12); box-shadow: inset 0 0 0 1.5px rgb(255 95 176 / 0.6); }
.fn-extra.is-taste b { color: #ff9fd0; }
.fn-extra.is-taste .fn-extra-icon { background: #ff5fb0; color: #3a0420; }
.fn-extra.is-rule { background: rgb(255 210 31 / 0.1); box-shadow: inset 0 0 0 1.5px rgb(255 210 31 / 0.6); }
.fn-extra.is-rule b { color: var(--fn-yellow); }
.fn-extra.is-rule .fn-extra-icon { background: var(--fn-yellow); color: #2a1400; }

.fn-packs-foot { font-size: 0.875rem; font-weight: 600; color: #d8b4fe; }
.fn-pick {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 4px 0; padding: 12px 18px; border-radius: 999px;
  background: rgb(255 255 255 / 0.08); color: #fff; font-weight: 900; font-style: italic; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--fn-violet);
}
.fn-pick span { color: var(--fn-yellow); font-style: normal; }
.fn-pick.is-best { background: linear-gradient(180deg, #ffb547 0%, #ff8a00 100%); box-shadow: 0 5px 0 #b35900; }
.fn-pick.is-best span { color: #2a1400; }
.fn-pick:hover { color: #fff; }
.fn-pick:focus-visible { outline: 3px solid var(--fn-yellow); outline-offset: 3px; }

.fn-faq-list { position: relative; z-index: 2; display: grid; gap: 10px; margin: 22px 0 0; }
.fn-qa { border-radius: 14px; background: rgb(20 6 44 / 0.88); box-shadow: inset 0 0 0 1.5px rgb(168 85 247 / 0.6); }
.fn-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; list-style: none; cursor: pointer; color: #fff; font-weight: 800; }
.fn-qa summary::-webkit-details-marker { display: none; }
.fn-qa summary svg { flex: none; width: 20px; height: 20px; color: var(--fn-yellow); transition: rotate 0.2s cubic-bezier(0.2, 0, 0, 1); }
.fn-qa[open] summary svg { rotate: 45deg; }
.fn-qa p { margin: 0; padding: 0 16px 14px; color: #e9d5ff; font-size: 0.9375rem; line-height: 1.55; }
.fn-qa summary:focus-visible { outline: 3px solid var(--fn-yellow); outline-offset: 2px; border-radius: 14px; }

@media (prefers-reduced-motion: no-preference) {
  /* the problems come in from alternating sides, then each label drops in */
  .js .fn-pains li { opacity: 0; translate: -22px 0; }
  .js .fn-pains li:nth-child(even) { translate: 22px 0; }
  .js .fn-pain-tag { opacity: 0; scale: 0.6; }
  [data-inview] .fn-pains li { animation: fn-in 0.55s cubic-bezier(0.2, 0, 0, 1) both; animation-delay: calc(var(--i, 0) * 130ms + 120ms); }
  [data-inview] .fn-pain-tag { animation: fn-tag 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both; animation-delay: calc(var(--i, 0) * 130ms + 520ms); }
  [data-inview] .fn-pain-icon { animation: fn-ring 2.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 200ms); }
  .fn-battery i { animation: fn-blink 1.1s steps(2, jump-none) infinite; }
  .js .fn-extra, .js .fn-qa, .js .fn-minerals li { opacity: 0; translate: 0 12px; }
  [data-inview] .fn-extra, [data-inview] .fn-qa, [data-inview] .fn-minerals li { animation: fn-in 0.5s cubic-bezier(0.2, 0, 0, 1) both; animation-delay: 0.25s; }
}
@keyframes fn-tag { from { opacity: 0; scale: 0.6; rotate: -6deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes fn-ring { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent), 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 12%, transparent), 0 0 26px color-mix(in srgb, var(--c) 75%, transparent); } }
@keyframes fn-blink { 0% { opacity: 1; } 100% { opacity: 0.25; } }

/* ------------------------------------------- founder: a light spotlight */

.fn-founder {
  --gold: linear-gradient(180deg, #f9dc7a 0%, #d9a521 48%, #8f6812 100%);
  padding: 38px 20px 34px; color: #2e1065;
  background:
    radial-gradient(70% 40% at 50% 28%, rgb(255 236 170 / 0.55), transparent 70%),
    linear-gradient(180deg, #fffaf0 0%, #fbf4ff 55%, #f1e7ff 100%);
}
.fn-founder .t-ink { color: #2e1065; text-shadow: none; }
.fn-founder .t-gold { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 0 rgb(143 104 18 / 0.25)); }
.fn-sparkles { position: absolute; inset: 0; pointer-events: none; }
.fn-sparkles i { position: absolute; width: 14px; height: 14px; background: #e3b23c; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: 0.8; }
.fn-sparkles i:nth-child(1) { left: 8%; top: 6%; }
.fn-sparkles i:nth-child(2) { right: 10%; top: 9%; width: 10px; height: 10px; }
.fn-sparkles i:nth-child(3) { left: 5%; top: 30%; width: 9px; height: 9px; }
.fn-sparkles i:nth-child(4) { right: 6%; top: 27%; width: 16px; height: 16px; }
.fn-sparkles i:nth-child(5) { left: 12%; top: 48%; width: 8px; height: 8px; }
.fn-sparkles i:nth-child(6) { right: 13%; top: 51%; width: 11px; height: 11px; }
.fn-sparkles i:nth-child(7) { left: 50%; top: 2.5%; width: 9px; height: 9px; }

.fn-founder-stage { position: relative; z-index: 2; width: 66%; max-width: 280px; margin: 26px auto 0; }
@property --fn-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.fn-founder-stage::before {
  content: ""; position: absolute; inset: -9px; border-radius: 999px 999px 30px 30px;
  background: conic-gradient(from var(--fn-a), #f9dc7a, #c48a12, #fff3c4, #d9a521, #8f6812, #f9dc7a);
  box-shadow: 0 18px 40px rgb(143 104 18 / 0.28);
}
.fn-founder .fn-founder-photo { position: relative; margin: 0; overflow: hidden; border-radius: 999px 999px 22px 22px; background: #eceaf1; box-shadow: 0 0 0 4px #fffaf0; }
.fn-founder .fn-founder-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.fn-badge-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 8px; border-radius: 999px;
  background: #fff; color: #2e1065; font-weight: 800; font-size: 0.8125rem; white-space: nowrap;
  box-shadow: 0 8px 20px rgb(46 16 101 / 0.18), inset 0 0 0 1px rgb(217 165 33 / 0.5);
}
.fn-badge-float svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #7c3aed; color: #fff; box-sizing: border-box; }
.fn-badge-float.is-a { left: -18%; top: 16%; }
.fn-badge-float.is-b { right: -20%; top: 46%; }
.fn-badge-float.is-b svg { background: #d9a521; }
.fn-badge-float.is-c { left: -14%; bottom: 10%; }
.fn-badge-float.is-c svg { background: #e11d48; }

.fn-ribbon { position: relative; z-index: 2; display: flex; justify-content: center; margin: 22px 0 0; }
.fn-ribbon span {
  position: relative; padding: 9px 26px; background: var(--gold); color: #2a1a00;
  font-style: italic; font-weight: 900; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
}
.fn-founder-nm { position: relative; z-index: 2; margin: 12px 0 0; text-align: center; color: #2e1065; font-style: italic; font-weight: 900; font-stretch: 75%; font-size: clamp(2rem, 9vw, 2.5rem); line-height: 0.95; text-transform: uppercase; text-wrap: balance; }

.fn-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.fn-stats li { display: grid; align-content: start; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 6px 18px rgb(46 16 101 / 0.1), inset 0 0 0 1px rgb(217 165 33 / 0.35); }
.fn-stats b { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; font-weight: 900; font-stretch: 80%; font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.fn-stats span { color: #5b3f8f; font-size: 0.75rem; font-weight: 700; line-height: 1.3; }

.fn-founder .fn-founder-quote { position: relative; z-index: 2; margin: 18px 0 0; padding: 22px 18px 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgb(46 16 101 / 0.1); }
.fn-founder .fn-founder-quote::before { content: "\201C"; position: absolute; left: 14px; top: -18px; color: #d9a521; font-size: 4rem; font-weight: 900; line-height: 1; font-family: Georgia, serif; }
.fn-founder .fn-founder-quote p { margin: 0; color: #3b1f6e; font-style: italic; font-weight: 600; line-height: 1.55; }

.fn-founder-cards { position: relative; z-index: 2; display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.fn-founder-cards li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgb(46 16 101 / 0.08), inset 0 0 0 1px rgb(124 58 237 / 0.18); }
.fn-fc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #7c3aed; color: #fff; }
.fn-fc-icon svg { width: 22px; height: 22px; }
.fn-founder-cards b { display: block; color: #2e1065; font-style: italic; font-weight: 900; text-transform: uppercase; }
.fn-founder-cards small { display: block; color: #5b3f8f; font-size: 0.8125rem; font-weight: 600; }
.fn-founder-cards .fn-ibs { padding: 4px 0 0; background: none; }

@media (prefers-reduced-motion: no-preference) {
  .fn-founder-stage::before { animation: fn-ring-spin 9s linear infinite; }
  .fn-badge-float { animation: fn-hover 3.2s ease-in-out infinite; }
  .fn-badge-float.is-b { animation-delay: -1.1s; }
  .fn-badge-float.is-c { animation-delay: -2.2s; }
  .fn-sparkles i { animation: fn-twinkle 2.6s ease-in-out infinite; }
  .fn-sparkles i:nth-child(2n) { animation-delay: -0.9s; }
  .fn-sparkles i:nth-child(3n) { animation-delay: -1.7s; }
  .js .fn-stats li, .js .fn-founder-cards li, .js .fn-ribbon span, .js .fn-founder-nm { opacity: 0; translate: 0 14px; }
  [data-inview] .fn-stats li, [data-inview] .fn-founder-cards li { animation: fn-in 0.5s cubic-bezier(0.2, 0, 0, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 450ms); }
  [data-inview] .fn-ribbon span, [data-inview] .fn-founder-nm { animation: fn-in 0.5s cubic-bezier(0.2, 0, 0, 1) both; animation-delay: 0.3s; }
}
@keyframes fn-ring-spin { to { --fn-a: 360deg; } }
@keyframes fn-hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes fn-twinkle { 0%, 100% { opacity: 0.25; scale: 0.6; } 50% { opacity: 1; scale: 1.1; } }
