/* Effects (owner, 11 Oct 2026: "add effects to the website since it looks dull"). Loaded last, on every page.
   Two layers:
   1. Light and depth that show for everyone, also with reduced motion: a warm candle glow, a fine terminal grid and
      film grain on the canvas, a flame-lit wordmark, a glowing edge on the dashboard snapshot, lit buttons, and a
      spotlight that follows the pointer over plans, notes and questions.
   2. Movement, only under html.fx-motion (js/effects.js adds it when the device allows motion, or on ?motion=on):
      sections rise in, embers drift up behind the masthead, a light travels round the snapshot, the logo flame
      flickers, buttons get a shine. Each moving rule is !important so it outranks rework.css's reduced-motion reset
      exactly when the visitor (or ?motion=on) asked for motion.
   Candle palette only: amber and flame on warm charcoal. No purple or blue. */

@property --fx-angle{syntax:'<angle>';inherits:false;initial-value:200deg}

/* ── canvas: warm glow at the top, a terminal grid that fades out, and grain ── */
body{background:
  radial-gradient(1100px 640px at 18% -10%,rgba(230,161,75,.14),transparent 62%),
  radial-gradient(760px 520px at 96% 2%,rgba(255,120,40,.07),transparent 60%),
  var(--canvas)}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(241,239,232,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(241,239,232,.028) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(1200px 700px at 30% 0%,#000 20%,transparent 75%);mask-image:radial-gradient(1200px 700px at 30% 0%,#000 20%,transparent 75%)}
body::after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.055;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .75 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* ── header: glass, a lit hairline once the page scrolls ── */
.site-header{background:rgba(20,19,16,.78);backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2)}
.site-header::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:1px;pointer-events:none;opacity:0;
  background:linear-gradient(90deg,transparent,rgba(230,161,75,.55) 30%,rgba(255,200,120,.75) 50%,rgba(230,161,75,.55) 70%,transparent)}
html.fx-scrolled .site-header::after{opacity:1}
.brand .flame{filter:drop-shadow(0 0 5px rgba(255,170,70,.75))}

/* ── masthead: the wordmark lit by its own candle ── */
.candle-masthead{position:relative;isolation:isolate}
.candle-masthead::before{content:'';position:absolute;z-index:-1;left:-6%;top:-30%;width:72%;height:150%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,150,40,.20),rgba(230,120,30,.07) 55%,transparent);filter:blur(10px)}
.candle-masthead>*{position:relative;z-index:1}
.fx-embers{position:absolute;z-index:0;inset:-40px 0 -20px;width:100%;height:calc(100% + 60px);pointer-events:none}
.candle-wordmark{background:linear-gradient(180deg,#fffaf0 0%,#f1efe8 55%,#cfc7b6 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.candle-wordmark span{background:linear-gradient(180deg,#ffe2a6 0%,#ffb44a 38%,#ff8a1f 70%,#e0661c 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 22px rgba(255,140,30,.38)) drop-shadow(0 2px 0 rgba(90,40,0,.35))}
.platform-label{color:#c9b89c}

/* ── buttons: lit amber with an inner highlight; a shine on hover (motion) ── */
.btn-primary{position:relative;overflow:hidden;isolation:isolate;color:var(--accent-ink);
  background:linear-gradient(180deg,#f6bd6c 0%,#e8a14a 55%,#d98a33 100%);
  box-shadow:inset 0 1px 0 rgba(255,240,210,.55),inset 0 -1px 0 rgba(120,60,0,.35),0 10px 28px -10px rgba(240,150,50,.65),0 0 0 1px rgba(120,70,10,.35)}
.btn-primary:hover{background:linear-gradient(180deg,#ffcb80 0%,#f0ad55 55%,#e2953d 100%);box-shadow:inset 0 1px 0 rgba(255,240,210,.6),inset 0 -1px 0 rgba(120,60,0,.35),0 14px 36px -10px rgba(255,160,60,.8),0 0 0 1px rgba(120,70,10,.35)}
.btn-primary::after{content:'';position:absolute;z-index:-1;top:-20%;bottom:-20%;left:-60%;width:40%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-18deg) translateX(0);opacity:0}
html.fx-motion .btn-primary::after{opacity:1;transition:transform .8s cubic-bezier(.2,.8,.2,1)!important}
html.fx-motion .btn-primary:hover::after{transform:skewX(-18deg) translateX(420%)}
.btn-secondary{transition-property:border-color,color,box-shadow,background}
.btn-secondary:hover{border-color:rgba(230,161,75,.7);box-shadow:0 0 0 1px rgba(230,161,75,.25),0 8px 26px -12px rgba(230,161,75,.6);color:#ffe2b8}

/* ── the dashboard snapshot: a lit edge, warm depth, a light that travels round it (motion) ── */
.product-stage .terminal{position:relative;border-color:transparent;
  background:linear-gradient(var(--surface),var(--surface)) padding-box,
    linear-gradient(140deg,rgba(255,176,90,.75),rgba(81,70,56,.75) 28%,rgba(70,62,50,.6) 70%,rgba(255,176,90,.5)) border-box;
  box-shadow:0 50px 120px -50px rgba(240,140,40,.45),0 30px 60px -30px rgba(0,0,0,.7)}
.product-stage .terminal::before{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;padding:1px;pointer-events:none;
  background:conic-gradient(from var(--fx-angle),transparent 0 72%,rgba(255,196,110,.95) 82%,transparent 92%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
html.fx-motion .product-stage .terminal::before{animation:fx-orbit 7s linear infinite!important}
@keyframes fx-orbit{to{--fx-angle:560deg}}
.product-stage .terminal-bar{background:linear-gradient(180deg,#2a251c,#221f18)}
.product-stage .terminal-body{background:radial-gradient(700px 300px at 85% 0%,rgba(230,161,75,.07),transparent 70%)}
.product-stage .starting-balance strong{text-shadow:0 0 26px rgba(230,161,75,.35)}
.product-stage .chart svg path[data-demo-curve]{filter:drop-shadow(0 0 5px rgba(255,165,60,.75))}
.fx-dot{position:absolute;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:#ffd08a;pointer-events:none;
  box-shadow:0 0 0 3px rgba(230,161,75,.25),0 0 16px 4px rgba(255,165,60,.7)}

/* ── a soft spotlight under the pointer (js/effects.js sets --mx/--my) ── */
.plan-row,.notes-list article,.faq-list details,.trial-facts dl>div{position:relative}
.plan-row::before,.notes-list article::before,.faq-list details::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:0;
  background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%),rgba(230,161,75,.11),transparent 60%);transition:opacity .25s}
.plan-row:hover::before,.notes-list article:hover::before,.faq-list details:hover::before{opacity:1}
.plan-row>*{position:relative}
.plan-row:hover .plan-price>strong{text-shadow:0 0 22px rgba(230,161,75,.45)}
.plan-featured{background:linear-gradient(90deg,rgba(230,161,75,.10),rgba(230,161,75,.02) 60%,transparent)!important;box-shadow:inset 3px 0 0 var(--accent)}

/* ── lower sections: headings with a warm sheen and a candle glow behind them, plans and trial facts on lit panels ── */
main h2{background:linear-gradient(180deg,#fffaf0 0%,#f1efe8 50%,#d6ccb8 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.notes-title,.pricing-section .section-heading>div:first-child,.getting-started>div:first-child,.faq-section>div:first-child{position:relative;isolation:isolate}
.notes-title::before,.pricing-section .section-heading>div:first-child::before,.getting-started>div:first-child::before,.faq-section>div:first-child::before{
  content:'';position:absolute;z-index:-1;left:-60px;top:-50px;width:340px;height:220px;pointer-events:none;
  background:radial-gradient(closest-side,rgba(230,140,40,.12),transparent);filter:blur(6px)}
.plan-list{border:1px solid rgba(230,161,75,.22)!important;border-radius:6px;overflow:hidden;
  background:linear-gradient(180deg,rgba(36,33,26,.72),rgba(26,25,21,.72));box-shadow:0 30px 80px -45px rgba(240,140,40,.4),inset 0 1px 0 rgba(255,230,190,.06)}
.plan-list .plan-row:last-child{border-bottom:0}
.trial-facts{padding:22px 24px;border:1px solid rgba(230,161,75,.2);border-radius:6px;background:linear-gradient(180deg,rgba(36,33,26,.6),rgba(26,25,21,.6));box-shadow:0 26px 70px -45px rgba(240,140,40,.4)}
.trial-facts dl>div:last-child{border-bottom:0;padding-bottom:0}

/* ── labels and rules ── */
.section-label::before{content:'';display:inline-block;width:6px;height:6px;margin-right:9px;border-radius:50%;vertical-align:1px;background:var(--accent);box-shadow:0 0 10px 2px rgba(230,161,75,.6)}
.operating-notes,.getting-started{border-image:linear-gradient(90deg,transparent,rgba(230,161,75,.38) 25%,rgba(230,161,75,.38) 75%,transparent) 1}
.site-footer{position:relative}
.site-footer::before{content:'';position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(230,161,75,.45),transparent)}
.faq-list summary::after,.faq-list summary span{transition:color .2s}
.faq-list details[open] summary{color:#ffe2b8}

/* ── movement (only with html.fx-motion) ── */
html.fx-motion .brand .flame{transform-origin:50% 90%;animation:fx-flicker 3.2s ease-in-out infinite!important}
@keyframes fx-flicker{0%,100%{transform:scale(1,1) rotate(0)}22%{transform:scale(.94,1.06) rotate(-2deg)}48%{transform:scale(1.04,.95) rotate(1.5deg)}71%{transform:scale(.97,1.04) rotate(-1deg)}}
html.fx-motion .candle-wordmark span{animation:fx-glow 4.5s ease-in-out infinite!important}
@keyframes fx-glow{0%,100%{filter:drop-shadow(0 0 18px rgba(255,140,30,.30)) drop-shadow(0 2px 0 rgba(90,40,0,.35))}50%{filter:drop-shadow(0 0 30px rgba(255,150,40,.50)) drop-shadow(0 2px 0 rgba(90,40,0,.35))}}
html.fx-motion .plan-row::before,html.fx-motion .notes-list article::before,html.fx-motion .faq-list details::before{transition:opacity .25s!important}
html.fx-motion .btn-secondary{transition:border-color .2s,color .2s,box-shadow .25s!important}

@media(max-width:767px){
  .candle-masthead::before{left:-20%;width:120%;top:-20%;height:120%}
  .product-stage .terminal{box-shadow:0 30px 70px -35px rgba(240,140,40,.45)}
}
