/* FlipForge Phase 2 premium intelligence rollout
 * Motion is explanatory: reveal identity, qualify evidence, expose risk, preserve receipt.
 */
:root{
  --ff-p2-gold:#d4af37;
  --ff-p2-gold-soft:#f0d184;
  --ff-p2-deep:#b8860b;
  --ff-p2-ink:#02060c;
  --ff-p2-panel:#07101a;
  --ff-p2-line:rgba(255,255,255,.09);
  --ff-p2-muted:#9da8b5;
  --ff-p2-green:#75c69d;
  --ff-p2-red:#e06b6b;
}
html{scroll-behavior:smooth}
body.ff-phase2-ready main{overflow:clip}
.ff-phase2-reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s cubic-bezier(.2,.8,.2,1),transform .65s cubic-bezier(.2,.8,.2,1);
}
.ff-phase2-reveal.is-visible{opacity:1;transform:none}
.ff-phase2-stagger>*{
  opacity:0;
  transform:translateY(14px);
}
.ff-phase2-stagger.is-visible>*{
  animation:ffP2Stagger .48s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay:calc(var(--ff-p2-i,0) * 75ms);
}
@keyframes ffP2Stagger{to{opacity:1;transform:none}}

/* Shared premium page signature */
.ff-phase2-public .page-hero,
.ff-phase2-public .ff-dic-heading{
  position:relative;
}
.ff-phase2-public .page-hero::after,
.ff-phase2-public .ff-dic-heading::after{
  content:"";
  display:block;
  width:min(260px,42vw);
  height:2px;
  margin:22px auto 0;
  background:linear-gradient(90deg,transparent,var(--ff-p2-gold),transparent);
  transform:scaleX(.2);
  opacity:.35;
  transition:transform 1s cubic-bezier(.2,.8,.2,1),opacity 1s ease;
}
.ff-phase2-public.ff-phase2-ready .page-hero.is-visible::after,
.ff-phase2-public.ff-phase2-ready .ff-dic-heading.is-visible::after{
  transform:scaleX(1);opacity:1;
}

/* Decision Intelligence: 13-layer scroll theater */
.ff-phase2-cdi-theater{
  width:min(1180px,calc(100% - 36px));
  margin:18px auto 72px;
  padding:28px;
  border:1px solid rgba(212,175,55,.23);
  border-radius:26px;
  background:
    radial-gradient(circle at 28% 18%,rgba(212,175,55,.10),transparent 26%),
    linear-gradient(160deg,#07101a,#03070d 70%);
  box-shadow:0 35px 100px rgba(0,0,0,.35);
}
.ff-phase2-cdi-theater-head{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:end;margin-bottom:28px
}
.ff-phase2-cdi-theater-head small{
  color:var(--ff-p2-gold-soft);font-size:.72rem;font-weight:900;letter-spacing:.16em
}
.ff-phase2-cdi-theater-head h2{margin:8px 0 0;font-size:clamp(2rem,4vw,3.8rem);line-height:.98;letter-spacing:-.05em}
.ff-phase2-cdi-theater-head p{max-width:520px;margin:0;color:#aeb8c4;line-height:1.6}
.ff-phase2-cdi-grid{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:26px}
.ff-phase2-cdi-sticky{
  position:sticky;top:96px;align-self:start;min-height:560px;padding:24px;
  border:1px solid var(--ff-p2-line);border-radius:22px;background:rgba(3,8,14,.82);overflow:hidden
}
.ff-phase2-cdi-sticky::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:32px 32px;
}
.ff-phase2-cdi-aperture{
  position:relative;width:min(330px,92%);aspect-ratio:1;margin:22px auto 24px;border:1px solid rgba(212,175,55,.24);
  clip-path:polygon(50% 0,84% 13%,100% 49%,86% 84%,51% 100%,15% 86%,0 52%,13% 16%);
  transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .55s ease;
}
.ff-phase2-cdi-aperture::before,.ff-phase2-cdi-aperture::after{
  content:"";position:absolute;inset:13%;border:1px solid rgba(255,255,255,.11);clip-path:inherit;transform:rotate(10deg)
}
.ff-phase2-cdi-aperture::after{inset:26%;border-color:rgba(212,175,55,.22);transform:rotate(-10deg)}
.ff-phase2-cdi-core{
  position:absolute;left:50%;top:50%;width:112px;aspect-ratio:1;transform:translate(-50%,-50%);
  display:grid;place-items:center;border-radius:22px;background:radial-gradient(circle,rgba(212,175,55,.18),rgba(3,8,14,.9) 70%);
  border:1px solid rgba(212,175,55,.34);box-shadow:0 0 46px rgba(212,175,55,.12)
}
.ff-phase2-cdi-core img{width:82px;height:auto}
.ff-phase2-cdi-status{position:relative}
.ff-phase2-cdi-status small{display:block;color:#7f8b99;font-weight:900;letter-spacing:.13em;font-size:.66rem}
.ff-phase2-cdi-status strong{display:block;margin-top:7px;color:#fff;font-size:1.4rem}
.ff-phase2-cdi-status p{margin:7px 0 0;color:#9ca7b5;line-height:1.55;font-size:.9rem}
.ff-phase2-cdi-progress{height:3px;margin-top:18px;background:#18222c;border-radius:99px;overflow:hidden}
.ff-phase2-cdi-progress span{display:block;height:100%;width:7%;background:linear-gradient(90deg,var(--ff-p2-deep),var(--ff-p2-gold));transition:width .45s ease}
.ff-phase2-cdi-steps{display:grid;gap:10px}
.ff-phase2-cdi-step{
  position:relative;min-height:112px;padding:18px 18px 18px 72px;border:1px solid var(--ff-p2-line);border-radius:18px;
  background:rgba(255,255,255,.018);transition:border-color .28s ease,background .28s ease,transform .28s ease,opacity .28s ease
}
.ff-phase2-cdi-step::before{
  content:attr(data-layer-number);position:absolute;left:18px;top:18px;width:36px;height:36px;display:grid;place-items:center;
  border-radius:11px;border:1px solid rgba(212,175,55,.25);color:var(--ff-p2-gold);font-size:.72rem;font-weight:900
}
.ff-phase2-cdi-step small{color:#8d98a6;font-size:.62rem;font-weight:900;letter-spacing:.12em}
.ff-phase2-cdi-step h3{margin:7px 0 5px;font-size:1.08rem}
.ff-phase2-cdi-step p{margin:0;color:#8f9aa7;font-size:.85rem;line-height:1.5}
.ff-phase2-cdi-step.is-active{
  border-color:rgba(212,175,55,.48);background:linear-gradient(135deg,rgba(212,175,55,.10),rgba(255,255,255,.018));transform:translateX(5px)
}
.ff-phase2-cdi-step.is-active::before{background:var(--ff-p2-gold);color:#05070a}
.ff-phase2-cdi-theater[data-system="market"] .ff-phase2-cdi-aperture{transform:rotate(5deg)}
.ff-phase2-cdi-theater[data-system="decision"] .ff-phase2-cdi-aperture{transform:rotate(-5deg) scale(1.02);filter:drop-shadow(0 0 24px rgba(212,175,55,.16))}
.ff-phase2-cdi-theater[data-system="learn"] .ff-phase2-cdi-aperture{transform:rotate(2deg) scale(.98)}

/* Evidence Lab: interactive failure theater */
.ff-phase2-evidence-theater{
  width:min(1180px,calc(100% - 36px));margin:28px auto 72px;padding:26px;border:1px solid rgba(212,175,55,.22);border-radius:26px;
  background:linear-gradient(155deg,#07101a,#03070d 72%);box-shadow:0 30px 90px rgba(0,0,0,.32)
}
.ff-phase2-evidence-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);gap:22px;align-items:end}
.ff-phase2-evidence-head small{color:var(--ff-p2-gold-soft);font-size:.7rem;font-weight:900;letter-spacing:.15em}
.ff-phase2-evidence-head h2{margin:8px 0 0;font-size:clamp(2rem,4.6vw,4rem);line-height:.98;letter-spacing:-.05em}
.ff-phase2-evidence-head p{margin:0;color:#a4aebb;line-height:1.65}
.ff-phase2-evidence-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;margin-top:26px}
.ff-phase2-evidence-menu{display:grid;gap:8px}
.ff-phase2-evidence-menu button{
  appearance:none;width:100%;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;
  border:1px solid var(--ff-p2-line);border-radius:13px;background:rgba(255,255,255,.018);color:#d9dee5;font:inherit;font-weight:800;cursor:pointer
}
.ff-phase2-evidence-menu button span{color:#7f8b99;font-size:.68rem;font-weight:900;letter-spacing:.1em}
.ff-phase2-evidence-menu button[aria-selected="true"]{border-color:rgba(212,175,55,.52);background:rgba(212,175,55,.08);color:#fff}
.ff-phase2-evidence-menu button[aria-selected="true"] span{color:var(--ff-p2-gold)}
.ff-phase2-evidence-stage{
  min-height:430px;padding:24px;border:1px solid var(--ff-p2-line);border-radius:20px;background:#050b11;overflow:hidden;position:relative
}
.ff-phase2-evidence-stage::before{
  content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 35%,rgba(212,175,55,.04),transparent 62%);
  transform:translateX(-100%);animation:ffP2EvidenceSweep 6s ease-in-out infinite
}
@keyframes ffP2EvidenceSweep{50%,100%{transform:translateX(100%)}}
.ff-phase2-evidence-stage small{color:var(--ff-p2-gold);font-size:.65rem;font-weight:900;letter-spacing:.13em}
.ff-phase2-evidence-stage h3{margin:8px 0 8px;font-size:1.55rem}
.ff-phase2-evidence-stage>p{margin:0;color:#99a4b1;line-height:1.6}
.ff-phase2-evidence-visual{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;margin:30px 0}
.ff-phase2-evidence-card{
  min-height:146px;padding:18px;border:1px solid #34414d;border-radius:15px;background:#08121d;position:relative
}
.ff-phase2-evidence-card span{display:block;color:#7f8a98;font-size:.62rem;font-weight:900;letter-spacing:.11em}
.ff-phase2-evidence-card strong{display:block;margin-top:10px;font-size:1.15rem}
.ff-phase2-evidence-card p{margin:8px 0 0;color:#96a1af;font-size:.82rem;line-height:1.45}
.ff-phase2-evidence-card.is-rejected{opacity:.58;border-color:rgba(224,107,107,.48)}
.ff-phase2-evidence-card.is-rejected::after{content:"";position:absolute;left:10%;right:10%;top:50%;height:4px;background:var(--ff-p2-red);transform:rotate(-10deg)}
.ff-phase2-evidence-arrow{color:var(--ff-p2-gold);font-size:2rem;font-weight:900}
.ff-phase2-evidence-result{padding:14px 16px;border-left:3px solid var(--ff-p2-gold);background:rgba(212,175,55,.06);color:#dfe4ea;line-height:1.55}
.ff-phase2-evidence-result strong{color:var(--ff-p2-gold-soft)}

/* Product: Decision Receipt signature object */
.ff-phase2-product-receipt{
  width:min(1180px,calc(100% - 36px));margin:54px auto;padding:28px;border:1px solid rgba(212,175,55,.23);border-radius:26px;
  background:linear-gradient(145deg,#07101a,#03070d);box-shadow:0 30px 90px rgba(0,0,0,.3)
}
.ff-phase2-product-receipt-head{display:flex;justify-content:space-between;gap:24px;align-items:end}
.ff-phase2-product-receipt-head>div{max-width:720px}
.ff-phase2-product-receipt-head small{color:var(--ff-p2-gold-soft);font-weight:900;letter-spacing:.15em;font-size:.7rem}
.ff-phase2-product-receipt-head h2{margin:8px 0 8px;font-size:clamp(2rem,4vw,3.5rem);line-height:1;letter-spacing:-.05em}
.ff-phase2-product-receipt-head p{margin:0;color:#a5afbb;line-height:1.6}
.ff-phase2-product-receipt-shell{
  position:relative;margin-top:24px;padding:22px 22px 22px 34px;border:1px solid #33414e;border-radius:18px;background:#050b11;overflow:hidden
}
.ff-phase2-product-receipt-shell::before{content:"";position:absolute;inset:0 auto 0 0;width:8px;background:linear-gradient(180deg,var(--ff-p2-gold),var(--ff-p2-deep))}
.ff-phase2-product-receipt-meta{display:flex;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--ff-p2-line)}
.ff-phase2-product-receipt-meta strong{font-size:1.35rem}.ff-phase2-product-receipt-meta span{color:var(--ff-p2-gold);font-weight:900}
.ff-phase2-product-receipt-steps{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:18px}
.ff-phase2-product-receipt-steps span{min-height:78px;padding:12px 9px;border:1px solid var(--ff-p2-line);border-radius:12px;background:rgba(255,255,255,.018);font-size:.72rem;color:#a4aebb}
.ff-phase2-product-receipt-steps b{display:block;margin-bottom:8px;color:var(--ff-p2-gold);font-size:.66rem}
.ff-phase2-product-receipt-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}

/* Public rollout: motion polish without changing page meaning */
.ff-phase2-public .section,
.ff-phase2-public main>section{scroll-margin-top:94px}
.ff-phase2-public .btn,.ff-phase2-public .nav-cta{
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.ff-phase2-public .btn:hover,.ff-phase2-public .nav-cta:hover{transform:translateY(-2px)}
.ff-phase2-public .card,.ff-phase2-public article{
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease
}
.ff-phase2-public .ff-phase2-hover:hover{transform:translateY(-3px);border-color:rgba(212,175,55,.28);box-shadow:0 18px 42px rgba(0,0,0,.18)}

@media(max-width:900px){
  .ff-phase2-cdi-theater-head,.ff-phase2-evidence-head{grid-template-columns:1fr}
  .ff-phase2-cdi-grid{grid-template-columns:1fr}
  .ff-phase2-cdi-sticky{position:relative;top:auto;min-height:0}
  .ff-phase2-evidence-grid{grid-template-columns:1fr}
  .ff-phase2-evidence-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ff-phase2-product-receipt-head{display:block}
  .ff-phase2-product-receipt-steps{grid-template-columns:repeat(2,1fr)}
  .ff-phase2-product-receipt-steps span:last-child{grid-column:1/-1}
}
@media(max-width:620px){
  .ff-phase2-cdi-theater,.ff-phase2-evidence-theater,.ff-phase2-product-receipt{width:calc(100% - 24px);padding:18px;border-radius:20px}
  .ff-phase2-cdi-sticky{padding:17px}
  .ff-phase2-cdi-step{padding:15px 14px 15px 62px}
  .ff-phase2-evidence-menu{grid-template-columns:1fr}
  .ff-phase2-evidence-stage{padding:18px;min-height:0}
  .ff-phase2-evidence-visual{grid-template-columns:1fr}
  .ff-phase2-evidence-arrow{transform:rotate(90deg);text-align:center}
  .ff-phase2-product-receipt-shell{padding:18px 15px 18px 26px}
  .ff-phase2-product-receipt-meta{display:block}
  .ff-phase2-product-receipt-meta span{display:block;margin-top:8px}
  .ff-phase2-product-receipt-steps{grid-template-columns:1fr}
  .ff-phase2-product-receipt-steps span:last-child{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ff-phase2-reveal,.ff-phase2-stagger>*,.ff-phase2-cdi-step,.ff-phase2-cdi-aperture,.ff-phase2-public .btn,.ff-phase2-public .nav-cta,.ff-phase2-public .card,.ff-phase2-public article{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
  .ff-phase2-evidence-stage::before{display:none}
}

/* Phase 3 — branded Decision Receipt anatomy */
.ff-phase3-product-receipt{
  position:relative;
  overflow:hidden;
  border-color:rgba(212,175,55,.31);
  background:
    radial-gradient(circle at 82% 10%,rgba(212,175,55,.10),transparent 26%),
    linear-gradient(145deg,#07101a,#02060a 72%);
}
.ff-phase3-product-receipt::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom,#000,transparent 78%);
}
.ff-phase3-product-receipt .ff-phase2-product-receipt-head{position:relative;z-index:1;align-items:flex-start}
.ff-phase3-product-receipt-note{
  flex:none;max-width:240px;padding:9px 11px;border:1px solid rgba(212,175,55,.22);border-radius:999px;
  background:rgba(212,175,55,.045);color:#d7c27a;font-size:.65rem;font-weight:900;letter-spacing:.09em;text-align:center
}
.ff-phase3-product-receipt-shell{
  position:relative;z-index:1;padding:0;border-color:rgba(255,255,255,.10);border-radius:20px;
  background:
    radial-gradient(circle at 94% 4%,rgba(212,175,55,.08),transparent 20%),
    #04090e;
}
.ff-phase3-product-receipt-shell::before{width:6px}
.ff-phase3-product-receipt-brand{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:20px 22px 18px 28px;border-bottom:1px solid rgba(255,255,255,.075)
}
.ff-phase3-product-receipt-brand img{display:block;width:min(300px,52%);height:auto}
.ff-phase3-product-receipt-brand>div{display:grid;justify-items:end;gap:3px}
.ff-phase3-product-receipt-brand span{font-size:.62rem;font-weight:900;letter-spacing:.14em;color:#8d98a5}
.ff-phase3-product-receipt-brand strong{font-size:1.2rem;letter-spacing:.08em;color:var(--ff-p2-gold-soft)}
.ff-phase3-product-receipt-brand small{font-size:.67rem;color:#6f7b88}

.ff-phase3-product-receipt-layout{
  display:grid;grid-template-columns:minmax(250px,.62fr) minmax(0,1.38fr);gap:14px;
  padding:18px 22px 14px 28px
}
.ff-phase3-product-receipt-tabs{display:grid;gap:7px}
.ff-phase3-product-receipt-tabs button{
  display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;width:100%;min-height:52px;padding:9px 11px;
  border:1px solid rgba(255,255,255,.075);border-radius:11px;background:rgba(255,255,255,.015);
  color:#9ba6b3;text-align:left;cursor:pointer;
  transition:transform .22s ease,border-color .22s ease,background .22s ease,color .22s ease
}
.ff-phase3-product-receipt-tabs button b{
  display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(212,175,55,.22);border-radius:50%;
  color:#d4af37;font-size:.63rem
}
.ff-phase3-product-receipt-tabs button span{font-size:.72rem;font-weight:850;letter-spacing:.08em}
.ff-phase3-product-receipt-tabs button[aria-selected="true"]{
  border-color:rgba(212,175,55,.38);background:rgba(212,175,55,.075);color:#fff;
  box-shadow:inset 3px 0 0 #d4af37
}
.ff-phase3-product-receipt-tabs button:focus-visible{outline:2px solid #f0d184;outline-offset:2px}

.ff-phase3-product-receipt-reveal{
  position:relative;min-height:100%;padding:26px;border:1px solid rgba(212,175,55,.18);border-radius:16px;
  background:linear-gradient(150deg,rgba(212,175,55,.052),rgba(255,255,255,.01));
  overflow:hidden
}
.ff-phase3-product-receipt-reveal::after{
  content:"";position:absolute;right:-70px;bottom:-70px;width:190px;height:190px;border:1px solid rgba(212,175,55,.10);border-radius:50%;
  box-shadow:0 0 0 30px rgba(212,175,55,.025),0 0 0 60px rgba(212,175,55,.012)
}
.ff-phase3-product-receipt-reveal>span{display:block;color:#d4af37;font-size:.68rem;font-weight:900;letter-spacing:.13em}
.ff-phase3-product-receipt-reveal>small{display:block;margin-top:15px;color:#9c8960;font-size:.65rem;font-weight:900;letter-spacing:.13em}
.ff-phase3-product-receipt-reveal h3{margin:7px 0 9px;max-width:560px;font-size:clamp(1.45rem,2.8vw,2.4rem);line-height:1;letter-spacing:-.04em}
.ff-phase3-product-receipt-reveal>p{max-width:650px;margin:0;color:#a4aeba;line-height:1.62}
.ff-phase3-product-receipt-stamp{
  position:relative;z-index:1;display:grid;gap:3px;margin-top:26px;padding-top:14px;border-top:1px solid rgba(255,255,255,.075)
}
.ff-phase3-product-receipt-stamp span{font-size:.62rem;font-weight:900;letter-spacing:.14em;color:#d4af37}
.ff-phase3-product-receipt-stamp strong{font-size:.78rem;color:#d7dde4}

.ff-phase3-product-receipt-support{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 22px 4px 28px
}
.ff-phase3-product-receipt-support article{
  padding:14px 15px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.012)
}
.ff-phase3-product-receipt-support span{display:block;color:#d4af37;font-size:.62rem;font-weight:900;letter-spacing:.12em}
.ff-phase3-product-receipt-support p{margin:7px 0 0;color:#8f9aa7;font-size:.76rem;line-height:1.5}
.ff-phase3-product-receipt .ff-phase2-product-receipt-actions{padding:14px 22px 22px 28px;margin-top:0}

/* Phase 4 — transition timing, responsive behavior, and reduced-motion fallback */
.ff-phase3-product-receipt-reveal[data-layer]{
  animation:ffP4ReceiptReveal .34s cubic-bezier(.2,.8,.2,1)
}
@keyframes ffP4ReceiptReveal{
  from{opacity:.58;transform:translateY(5px)}
  to{opacity:1;transform:none}
}
@media(hover:hover){
  .ff-phase3-product-receipt-tabs button:hover{transform:translateX(2px);border-color:rgba(212,175,55,.25)}
}
@media(max-width:900px){
  .ff-phase3-product-receipt .ff-phase2-product-receipt-head{display:grid}
  .ff-phase3-product-receipt-note{max-width:none;width:fit-content}
  .ff-phase3-product-receipt-layout{grid-template-columns:1fr}
  .ff-phase3-product-receipt-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .ff-phase3-product-receipt{width:min(100% - 22px,1180px);margin:34px auto;padding:18px;border-radius:20px}
  .ff-phase3-product-receipt-head h2{font-size:clamp(1.8rem,10vw,2.65rem)}
  .ff-phase3-product-receipt-note{font-size:.6rem;line-height:1.3}
  .ff-phase3-product-receipt-brand{display:grid;justify-items:start;padding:18px 16px 16px 22px}
  .ff-phase3-product-receipt-brand img{width:min(245px,85%)}
  .ff-phase3-product-receipt-brand>div{justify-items:start}
  .ff-phase3-product-receipt-layout{padding:14px 14px 12px 20px}
  .ff-phase3-product-receipt-tabs{grid-template-columns:1fr}
  .ff-phase3-product-receipt-tabs button{min-height:48px}
  .ff-phase3-product-receipt-reveal{padding:20px}
  .ff-phase3-product-receipt-support{grid-template-columns:1fr;padding:0 14px 4px 20px}
  .ff-phase3-product-receipt .ff-phase2-product-receipt-actions{padding:12px 14px 18px 20px}
  .ff-phase3-product-receipt .ff-phase2-product-receipt-actions .btn{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  .ff-phase3-product-receipt-tabs button{transition:none!important}
  .ff-phase3-product-receipt-reveal[data-layer]{animation:none!important;opacity:1!important;transform:none!important}
}

/* === V5 PUBLIC PAGE COMPOSITION REFINEMENT === */
body.ff-v5-product-page .page-hero{
  position:relative;
  overflow:hidden;
  max-width:none;
  padding-top:96px;
  padding-bottom:88px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 78% 24%,rgba(212,175,55,.09),transparent 27%),
    linear-gradient(180deg,rgba(255,255,255,.012),transparent);
}
body.ff-v5-product-page .page-hero:before{
  content:"";
  position:absolute;
  left:max(24px,calc((100vw - 1180px)/2));
  top:64px;
  width:74px;
  height:1px;
  background:linear-gradient(90deg,#D4AF37,transparent);
}
body.ff-v5-product-page .page-hero h1{
  max-width:930px;
  letter-spacing:-.045em;
  line-height:1.01;
}
body.ff-v5-product-page .page-hero .lead{max-width:850px}
body.ff-v5-product-page .page-hero .buttons{margin-top:28px}
body.ff-v5-product-page .ff-v5-brand-promise{
  max-width:760px;
  margin:24px auto 0;
  padding-top:18px;
  border-top:1px solid rgba(212,175,55,.22);
  color:#f0ce68;
  font-size:14px;
  font-weight:800;
  letter-spacing:.01em;
}
body.ff-v5-product-page .ff-aw-proof-strip{
  gap:0;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
  background:transparent;
}
body.ff-v5-product-page .ff-aw-proof-strip article{
  position:relative;
  min-height:220px;
  border:0;
  border-right:1px solid rgba(255,255,255,.07);
  border-radius:0;
  background:linear-gradient(180deg,rgba(212,175,55,.025),transparent 72%);
}
body.ff-v5-product-page .ff-aw-proof-strip article:last-child{border-right:0}
body.ff-v5-product-page .ff-aw-proof-strip article:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:64px;
  height:2px;
  background:linear-gradient(90deg,#D4AF37,transparent);
}
body.ff-v5-product-page .identity-layout{
  overflow:hidden;
  border:1px solid rgba(212,175,55,.16);
  border-radius:18px;
  background:
    radial-gradient(circle at 82% 20%,rgba(212,175,55,.05),transparent 26%),
    #070b10;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}
body.ff-v5-product-page .identity-console,
body.ff-v5-product-page .case-card{
  border-color:rgba(255,255,255,.08);
  background:transparent;
}
body.ff-v5-product-page .identity-option.active{
  border-color:rgba(212,175,55,.46);
  box-shadow:inset 0 -2px 0 #D4AF37;
}
body.ff-v5-product-page .ff-aw-customer-cta{
  position:relative;
  overflow:hidden;
  border-color:rgba(212,175,55,.26);
  background:
    radial-gradient(circle at 85% 50%,rgba(212,175,55,.09),transparent 28%),
    linear-gradient(120deg,#080d13,#05080c);
  box-shadow:0 28px 80px rgba(0,0,0,.24);
}
body.ff-v5-product-page .ff-aw-customer-cta:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,transparent,#D4AF37,transparent);
}

/* Decision Intelligence: premium editorial hierarchy, less dashboard-like density. */
body.ff-v5-decision-page .ff-dic-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 7%,rgba(212,175,55,.08),transparent 25%),
    linear-gradient(180deg,#030609,#05080c);
}
body.ff-v5-decision-page .ff-dic-heading{
  max-width:980px;
}
body.ff-v5-decision-page .ff-dic-heading h1{
  max-width:940px;
  letter-spacing:-.05em;
  line-height:1;
}
body.ff-v5-decision-page .ff-dic-heading .lead{max-width:830px}
body.ff-v5-decision-page .ff-dic-brand-line{
  color:#e8c85f;
  letter-spacing:.04em;
}
body.ff-v5-decision-page .ff-dic-category{
  overflow:hidden;
  gap:0;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:#070b10;
}
body.ff-v5-decision-page .ff-dic-category article{
  min-height:150px;
  border:0;
  border-right:1px solid rgba(255,255,255,.07);
  border-radius:0;
  background:transparent;
}
body.ff-v5-decision-page .ff-dic-category article:last-child{border-right:0}
body.ff-v5-decision-page .ff-dic-category .is-flipforge{
  background:
    radial-gradient(circle at 50% 100%,rgba(212,175,55,.1),transparent 55%),
    rgba(212,175,55,.035);
  box-shadow:inset 0 3px 0 rgba(212,175,55,.65);
}
body.ff-v5-decision-page .ff-dic-demo{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(212,175,55,.25);
  border-radius:18px;
  background:
    radial-gradient(circle at 80% 15%,rgba(212,175,55,.06),transparent 26%),
    #070b10;
  box-shadow:0 38px 110px rgba(0,0,0,.36);
}
body.ff-v5-decision-page .ff-dic-demo:before{
  content:"";
  position:absolute;
  z-index:2;
  left:14%;
  right:14%;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,#D4AF37,transparent);
}
body.ff-v5-decision-page .ff-dic-receipt-card{
  border-color:rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.02),transparent);
}
body.ff-v5-decision-page .ff-dic-receipt-card[data-accent="decision"]{
  border-color:rgba(212,175,55,.32);
  box-shadow:inset 3px 0 0 #D4AF37;
}
body.ff-v5-decision-page .ff-dic-system{
  border-color:rgba(255,255,255,.075);
  background:linear-gradient(180deg,#091018,#070b10);
  transition:transform .2s ease,border-color .2s ease;
}
body.ff-v5-decision-page .ff-dic-system:hover{
  transform:translateY(-3px);
  border-color:rgba(212,175,55,.24);
}
body.ff-v5-decision-page .ff-dic-doctrine{
  border-color:rgba(212,175,55,.18);
  background:linear-gradient(120deg,rgba(212,175,55,.04),rgba(255,255,255,.01));
}
body.ff-v5-decision-page .ff-dic-inline-final{
  border-color:rgba(212,175,55,.22);
  background:
    radial-gradient(circle at 84% 40%,rgba(212,175,55,.08),transparent 27%),
    #070b10;
}
@media(max-width:900px){
  body.ff-v5-product-page .ff-aw-proof-strip{display:grid;grid-template-columns:1fr}
  body.ff-v5-product-page .ff-aw-proof-strip article{border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}
  body.ff-v5-product-page .ff-aw-proof-strip article:last-child{border-bottom:0}
  body.ff-v5-decision-page .ff-dic-category{display:grid;grid-template-columns:1fr 1fr}
  body.ff-v5-decision-page .ff-dic-category article:nth-child(2){border-right:0}
  body.ff-v5-decision-page .ff-dic-category article{border-bottom:1px solid rgba(255,255,255,.07)}
}
@media(max-width:620px){
  body.ff-v5-product-page .page-hero{padding-top:68px;padding-bottom:60px}
  body.ff-v5-product-page .ff-v5-brand-promise{font-size:12px}
  body.ff-v5-decision-page .ff-dic-category{grid-template-columns:1fr}
  body.ff-v5-decision-page .ff-dic-category article{border-right:0}
}

/* === V5 SUPPORTING PUBLIC PAGES ===
   Keep the cinematic homepage hierarchy while reducing card-grid fatigue and
   source-matching the canonical shell to minimize first-load navigation shift. */
body.ff-v5-evidence-page .page-hero,
body.ff-v5-pricing-page .page-hero,
body.ff-v5-about-page .page-hero{
  position:relative;
  overflow:hidden;
  max-width:none;
  padding-top:92px;
  padding-bottom:80px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 78% 20%,rgba(212,175,55,.075),transparent 28%),
    linear-gradient(180deg,#04070a,#05080c);
}
body.ff-v5-evidence-page .page-hero:before,
body.ff-v5-pricing-page .page-hero:before,
body.ff-v5-about-page .page-hero:before{
  content:"";
  position:absolute;
  left:max(24px,calc((100vw - 1180px)/2));
  top:60px;
  width:76px;
  height:1px;
  background:linear-gradient(90deg,#D4AF37,transparent);
}
body.ff-v5-evidence-page .page-hero h1,
body.ff-v5-pricing-page .page-hero h1,
body.ff-v5-about-page .page-hero h1{
  max-width:980px;
  letter-spacing:-.05em;
  line-height:1.01;
}
body.ff-v5-evidence-page .page-hero .lead,
body.ff-v5-pricing-page .page-hero .lead,
body.ff-v5-about-page .page-hero .lead{max-width:880px}

/* Evidence Lab — editorial learning path, not a wall of cards. */
body.ff-v5-evidence-page .ff-lab-directory{
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
  background:#05080c;
}
body.ff-v5-evidence-page .ff-lab-directory a{
  border-radius:0;
  border-color:transparent;
  background:transparent;
}
body.ff-v5-evidence-page .ff-lab-directory a:hover{
  border-color:rgba(212,175,55,.26);
  background:rgba(212,175,55,.025);
}
body.ff-v5-evidence-page .ff-lab-section{
  position:relative;
}
body.ff-v5-evidence-page .ff-lab-grid{
  gap:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:#070b10;
}
body.ff-v5-evidence-page .ff-lab-card{
  min-height:220px;
  border:0;
  border-right:1px solid rgba(255,255,255,.065);
  border-bottom:1px solid rgba(255,255,255,.065);
  border-radius:0;
  background:linear-gradient(180deg,rgba(255,255,255,.012),transparent);
}
body.ff-v5-evidence-page .ff-lab-card:hover{
  background:linear-gradient(180deg,rgba(212,175,55,.035),transparent);
}
body.ff-v5-evidence-page .ff-lab-card .ff-lab-number{
  color:#d6b64c;
}
body.ff-v5-evidence-page .ff-lab-case{
  overflow:hidden;
  border-color:rgba(212,175,55,.24);
  border-radius:16px;
  background:
    radial-gradient(circle at 82% 18%,rgba(212,175,55,.06),transparent 28%),
    #070b10;
  box-shadow:0 28px 80px rgba(0,0,0,.25);
}
body.ff-v5-evidence-page .ff-lab-proof{
  overflow:hidden;
  gap:0;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:#070b10;
}
body.ff-v5-evidence-page .ff-lab-proof>div{
  border:0;
  border-right:1px solid rgba(255,255,255,.07);
  border-radius:0;
  background:transparent;
}
body.ff-v5-evidence-page .ff-lab-proof>div:last-child{border-right:0}
body.ff-v5-evidence-page .ff-roadmap-note{
  border-color:rgba(212,175,55,.2);
  background:rgba(212,175,55,.025);
}

/* Launch Plans — premium commercial framing without pretending pricing is live. */
body.ff-v5-pricing-page .ff-beta-notice{
  border-top:0;
  border-bottom:1px solid rgba(212,175,55,.18);
  background:linear-gradient(90deg,rgba(212,175,55,.045),rgba(255,255,255,.008));
}
body.ff-v5-pricing-page .ff-aw-plans{
  gap:12px;
  align-items:stretch;
}
body.ff-v5-pricing-page .ff-aw-plan{
  position:relative;
  min-height:470px;
  overflow:hidden;
  border-color:rgba(255,255,255,.075);
  background:linear-gradient(180deg,#091018,#06090d);
  box-shadow:0 22px 70px rgba(0,0,0,.2);
}
body.ff-v5-pricing-page .ff-aw-plan:before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(212,175,55,.45),transparent);
}
body.ff-v5-pricing-page .ff-aw-plan.featured{
  transform:translateY(-8px);
  border-color:rgba(212,175,55,.42);
  background:
    radial-gradient(circle at 50% 0,rgba(212,175,55,.09),transparent 34%),
    linear-gradient(180deg,#0b1118,#06090d);
  box-shadow:0 34px 90px rgba(0,0,0,.34),0 0 0 1px rgba(212,175,55,.08);
}
body.ff-v5-pricing-page .ff-aw-plan h3{
  letter-spacing:-.04em;
}
body.ff-v5-pricing-page .ff-aw-plan ul{
  border-top:1px solid rgba(255,255,255,.065);
  padding-top:16px;
}
body.ff-v5-pricing-page .ff-aw-proof-strip{
  gap:0;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
}
body.ff-v5-pricing-page .ff-aw-proof-strip article{
  border:0;
  border-right:1px solid rgba(255,255,255,.07);
  border-radius:0;
  background:linear-gradient(180deg,rgba(212,175,55,.02),transparent);
}
body.ff-v5-pricing-page .ff-aw-proof-strip article:last-child{border-right:0}
body.ff-v5-pricing-page details.legal-card{
  border-color:rgba(255,255,255,.075);
  border-radius:16px;
  background:#070b10;
}
body.ff-v5-pricing-page .ff-aw-customer-cta{
  border-color:rgba(212,175,55,.24);
  background:
    radial-gradient(circle at 82% 45%,rgba(212,175,55,.08),transparent 28%),
    #070b10;
}

/* About — make the origin story feel editorial rather than dashboard-like. */
body.ff-v5-about-page .ff-aw-proof-strip{
  gap:0;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
  background:transparent;
}
body.ff-v5-about-page .ff-aw-proof-strip article{
  min-height:205px;
  border:0;
  border-right:1px solid rgba(255,255,255,.07);
  border-radius:0;
  background:linear-gradient(180deg,rgba(212,175,55,.025),transparent);
}
body.ff-v5-about-page .ff-aw-proof-strip article:last-child{border-right:0}
body.ff-v5-about-page .ff-aw-question-grid{
  gap:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:#070b10;
}
body.ff-v5-about-page .ff-aw-question{
  min-height:230px;
  border:0;
  border-right:1px solid rgba(255,255,255,.065);
  border-bottom:1px solid rgba(255,255,255,.065);
  border-radius:0;
  background:transparent;
  transition:background .2s ease,transform .2s ease;
}
body.ff-v5-about-page .ff-aw-question:hover{
  background:rgba(212,175,55,.025);
  transform:translateY(-2px);
}
body.ff-v5-about-page .ff-aw-customer-cta{
  position:relative;
  overflow:hidden;
  border-color:rgba(212,175,55,.24);
  background:
    radial-gradient(circle at 82% 40%,rgba(212,175,55,.08),transparent 30%),
    #070b10;
}
body.ff-v5-about-page .ff-aw-customer-cta:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,transparent,#D4AF37,transparent);
}

@media(max-width:900px){
  body.ff-v5-evidence-page .ff-lab-proof{grid-template-columns:1fr}
  body.ff-v5-evidence-page .ff-lab-proof>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}
  body.ff-v5-pricing-page .ff-aw-plan.featured{transform:none}
  body.ff-v5-pricing-page .ff-aw-proof-strip,
  body.ff-v5-about-page .ff-aw-proof-strip{display:grid;grid-template-columns:1fr}
  body.ff-v5-pricing-page .ff-aw-proof-strip article,
  body.ff-v5-about-page .ff-aw-proof-strip article{border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}
}
@media(max-width:620px){
  body.ff-v5-evidence-page .page-hero,
  body.ff-v5-pricing-page .page-hero,
  body.ff-v5-about-page .page-hero{padding-top:66px;padding-bottom:58px}
  body.ff-v5-evidence-page .ff-lab-grid,
  body.ff-v5-about-page .ff-aw-question-grid{grid-template-columns:1fr}
}

/* === V5 FAQ + PRIVATE BETA === */
body.ff-v5-faq-page .page-hero,
body.ff-v5-beta-page .page-hero{
  position:relative;
  overflow:hidden;
  max-width:none;
  padding-top:92px;
  padding-bottom:78px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 78% 20%,rgba(212,175,55,.075),transparent 28%),
    linear-gradient(180deg,#04070a,#05080c);
}
body.ff-v5-faq-page .page-hero:before,
body.ff-v5-beta-page .page-hero:before{
  content:"";
  position:absolute;
  left:max(24px,calc((100vw - 1180px)/2));
  top:60px;
  width:76px;
  height:1px;
  background:linear-gradient(90deg,#D4AF37,transparent);
}
body.ff-v5-faq-page .page-hero h1,
body.ff-v5-beta-page .page-hero h1{
  max-width:980px;
  line-height:1.01;
  letter-spacing:-.05em;
}
body.ff-v5-faq-page .page-hero .lead,
body.ff-v5-beta-page .page-hero .lead{max-width:880px}

/* FAQ: compact, editorial, easy to scan. */
body.ff-v5-faq-page .ff-faq-intro{
  border:1px solid rgba(212,175,55,.2);
  border-radius:14px;
  background:linear-gradient(90deg,rgba(212,175,55,.045),rgba(255,255,255,.01));
}
body.ff-v5-faq-page .faq-list{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:#070b10;
}
body.ff-v5-faq-page .faq-item{
  border:0;
  border-bottom:1px solid rgba(255,255,255,.065);
  border-radius:0;
  background:transparent;
}
body.ff-v5-faq-page .faq-item:last-child{border-bottom:0}
body.ff-v5-faq-page .faq-item button{
  min-height:66px;
  background:transparent;
  transition:background .2s ease,color .2s ease;
}
body.ff-v5-faq-page .faq-item button:hover{
  background:rgba(212,175,55,.025);
}
body.ff-v5-faq-page .faq-item button[aria-expanded="true"]{
  color:#efce68;
  background:rgba(212,175,55,.035);
}
body.ff-v5-faq-page .faq-answer{
  background:linear-gradient(180deg,rgba(255,255,255,.01),transparent);
}
body.ff-v5-faq-page .callout{
  border-color:rgba(212,175,55,.22);
  background:
    radial-gradient(circle at 82% 35%,rgba(212,175,55,.07),transparent 28%),
    #070b10;
}

/* Beta: premium intake flow without changing submission behavior. */
body.ff-v5-beta-page .section[aria-labelledby="returning-beta-title"]{
  padding-top:34px;
  padding-bottom:34px;
}
body.ff-v5-beta-page .section[aria-labelledby="returning-beta-title"] .callout{
  border-color:rgba(212,175,55,.26);
  background:
    radial-gradient(circle at 84% 42%,rgba(212,175,55,.07),transparent 28%),
    #070b10;
}
body.ff-v5-beta-page .ff-aw-proof-strip{
  gap:0;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
  background:transparent;
}
body.ff-v5-beta-page .ff-aw-proof-strip article{
  min-height:205px;
  border:0;
  border-right:1px solid rgba(255,255,255,.07);
  border-radius:0;
  background:linear-gradient(180deg,rgba(212,175,55,.02),transparent);
}
body.ff-v5-beta-page .ff-aw-proof-strip article:last-child{border-right:0}
body.ff-v5-beta-page .ff-beta-notice{
  border-color:rgba(255,255,255,.065);
  background:linear-gradient(90deg,rgba(212,175,55,.025),rgba(255,255,255,.008));
}
body.ff-v5-beta-page .ff-beta-layout{
  gap:20px;
  align-items:start;
}
body.ff-v5-beta-page .form-card{
  overflow:hidden;
  border-color:rgba(212,175,55,.18);
  border-radius:18px;
  background:
    radial-gradient(circle at 85% 0,rgba(212,175,55,.045),transparent 25%),
    #070b10;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}
body.ff-v5-beta-page .ff-aw-beta-progress{
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.01);
}
body.ff-v5-beta-page .ff-aw-beta-step{
  border:0;
}
body.ff-v5-beta-page .field input,
body.ff-v5-beta-page .field select,
body.ff-v5-beta-page .field textarea{
  border-color:rgba(255,255,255,.1);
  background:#080d13;
}
body.ff-v5-beta-page .field input:focus,
body.ff-v5-beta-page .field select:focus,
body.ff-v5-beta-page .field textarea:focus{
  border-color:rgba(212,175,55,.55);
  box-shadow:0 0 0 3px rgba(212,175,55,.07);
}
body.ff-v5-beta-page .case-card{
  position:sticky;
  top:104px;
  border-color:rgba(212,175,55,.18);
  border-radius:18px;
  background:
    radial-gradient(circle at 80% 0,rgba(212,175,55,.05),transparent 27%),
    #070b10;
  box-shadow:0 26px 75px rgba(0,0,0,.22);
}
body.ff-v5-beta-page .ff-beta-expectations article{
  border-color:rgba(255,255,255,.065);
  background:rgba(255,255,255,.01);
}

@media(max-width:900px){
  body.ff-v5-beta-page .ff-aw-proof-strip{display:grid;grid-template-columns:1fr}
  body.ff-v5-beta-page .ff-aw-proof-strip article{border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}
  body.ff-v5-beta-page .case-card{position:static}
}
@media(max-width:620px){
  body.ff-v5-faq-page .page-hero,
  body.ff-v5-beta-page .page-hero{padding-top:66px;padding-bottom:58px}
}
