/* Grolid brand colours — navy + green→blue (overrides the lime defaults in relay.css) */
:root{--bg:#060A14;--ink:#F2F5FB;--lime:#2BE48A;--lime2:#5FEFB0;--line:rgba(140,170,255,.09);--line2:rgba(140,170,255,.16);
  --card:linear-gradient(180deg,rgba(16,22,40,.84),rgba(7,11,22,.9))}
body{background:#060A14}
/* gradient buttons: the gradient fills the whole pill (border-box, no repeat) and there is no hard outline ring,
   so Safari never shows a dark rim or a sliver of the other end of the gradient at the edges */
.btn-lime{background:linear-gradient(100deg,#2BE48A,#22C7C0 55%,#3D7BFF) border-box no-repeat;border-color:transparent;color:#04101F;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 28px -10px rgba(61,123,255,.6)}
.btn-lime:hover{background:linear-gradient(100deg,#3cf09a,#2bd6cf 55%,#5b8dff) border-box no-repeat}
h1 em,h2 em,h3 em,blockquote em{background:linear-gradient(100deg,#2BE48A,#22C7C0 55%,#5B8DFF);-webkit-background-clip:text;background-clip:text;color:transparent}
.brand .mark path:last-child,.intro-ov .s3{fill:#2BE48A}
.sn-mark{background:linear-gradient(135deg,#2BE48A,#3D7BFF);box-shadow:0 0 30px -6px rgba(61,123,255,.6)}
.snapshot{background:linear-gradient(180deg,rgba(14,20,38,.88),rgba(6,10,20,.94))}
.sn-bar i,.mb-t i{background:linear-gradient(90deg,#2BE48A,#3D7BFF);box-shadow:0 0 14px rgba(61,123,255,.45)}
.band-card,.closer-card{background:radial-gradient(70% 120% at 0% 0%,rgba(255,255,255,.2),transparent 60%),linear-gradient(135deg,#2BE48A,#22C7C0 50%,#3D7BFF);box-shadow:0 40px 120px -40px rgba(61,123,255,.55)}
.band-t em,.closer-card h2 em{background:none;color:#04101F;-webkit-text-fill-color:#04101F}
.band-go{background:#060A14}
.tag{color:#5FEFB0;border-color:rgba(43,228,138,.25);background:rgba(43,228,138,.06)}
.bg-spot{background:radial-gradient(rgba(91,141,255,.9) 1.1px,transparent 1.6px) 0 0/28px 28px}
.nav.scrolled{background:rgba(6,10,20,.82)}

/* ---- rest of the palette (production) ---- */
html.intro::before{background:#060A14}
.intro-ov{background:radial-gradient(60% 50% at 50% 50%,rgba(61,123,255,.18),transparent 70%),#060A14}
.checks .ok,.mb-ok{background:rgba(43,228,138,.14);border-color:rgba(43,228,138,.5)}
.plan.pick{border-color:rgba(43,228,138,.45);box-shadow:0 0 0 1px rgba(43,228,138,.2),0 30px 80px -30px rgba(61,123,255,.4)}
.hub-c{background:linear-gradient(135deg,#2BE48A,#3D7BFF);box-shadow:0 0 0 8px rgba(61,123,255,.08),0 0 60px rgba(61,123,255,.45)}
.most{background:linear-gradient(100deg,#2BE48A,#3D7BFF);color:#04101F}
.nchip{border-color:rgba(43,228,138,.3)}
.ring .arc{filter:drop-shadow(0 0 6px rgba(61,123,255,.6))}
.snapshot{box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 40px 120px -30px rgba(61,123,255,.45)}
.sn-kpis>div:nth-child(2) b{background:linear-gradient(100deg,#2BE48A,#5B8DFF);-webkit-background-clip:text;background-clip:text;color:transparent}
.fr.hi .fb i{background:linear-gradient(90deg,#2BE48A,#3D7BFF);box-shadow:0 0 22px rgba(61,123,255,.45)}
.fr.hi b{color:#2BE48A}

/* glows lean blue like the original site; logo tiles look like the real logo (dark tile, white shards, gradient arrow) */
.est input::-webkit-slider-thumb{background:#F2F5FB;box-shadow:0 0 0 5px rgba(61,123,255,.25),0 0 20px rgba(61,123,255,.6)}
.est input::-moz-range-thumb{background:#F2F5FB;box-shadow:0 0 0 5px rgba(61,123,255,.25)}
.est input[type=range]{background:linear-gradient(90deg,#2BE48A,#3D7BFF var(--p,45%),rgba(255,255,255,.1) var(--p,45%)) center/100% 4px no-repeat}
[dir=rtl] .est input[type=range]{background:linear-gradient(270deg,#2BE48A,#3D7BFF var(--p,45%),rgba(255,255,255,.1) var(--p,45%)) center/100% 4px no-repeat}
.hub-c,.sn-mark,.memo-from .av{background:#070C18;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 8px rgba(61,123,255,.07),0 0 50px -6px rgba(61,123,255,.5)}
.sn-mark,.memo-from .av{box-shadow:0 0 26px -6px rgba(61,123,255,.55)}
.hub.on-screen .hub-c{animation:pulseB 3s ease-in-out infinite}
@keyframes pulseB{50%{box-shadow:0 0 0 14px rgba(61,123,255,.05),0 0 70px rgba(61,123,255,.6)}}
.hub .hub-c path,.sn-mark path,.memo-from .av path{fill:#F2F5FB}
.hub .hub-c path:last-child,.sn-mark path:last-child,.memo-from .av path:last-child,
.brand .mark path:last-child,.band-go path:last-child,.intro-ov .s3{fill:url(#gmg)}
.ring .arc{stroke:url(#gmgH)}
.spark path{stroke:#2BE48A;filter:drop-shadow(0 0 6px rgba(61,123,255,.5))}
.num.in .segs i:nth-child(-n+3){background:linear-gradient(180deg,#2BE48A,#3D7BFF);box-shadow:0 0 12px rgba(61,123,255,.35)}
.track i{background:linear-gradient(90deg,#2BE48A,#3D7BFF 99.2%,rgba(255,255,255,.12) 99.2%)}
.wave .a{stroke:#2BE48A;filter:drop-shadow(0 0 5px rgba(61,123,255,.5))}
.cost-r.hi .cost-t i{background:linear-gradient(90deg,#2BE48A,#3D7BFF);box-shadow:0 0 18px rgba(61,123,255,.45)}
.steps li::after{background:linear-gradient(90deg,#2BE48A,#3D7BFF)}
/* highlighted words: when headings are split word-by-word (motion.js), each word carries the gradient itself
   (a gradient clipped to text on the parent can't paint through the animated word boxes) */
h1 em .wi,h2 em .wi,h3 em .wi,blockquote em .wi{background:linear-gradient(100deg,#2BE48A,#22C7C0 55%,#5B8DFF);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding-inline-end:.06em}
.closer-card h2 em .wi{background:none;color:#04101F;-webkit-text-fill-color:#04101F}
/* ================= intro (first visit per session) =================
   0.00 glow + dot grid breathe in, the horizon draws itself
   0.15 the three logo shards are drawn as gradient outlines, then fill in (light pulse on the arrow)
   0.85 GROLID slides out from behind the mark, one light pass across it · 1.25 tagline
   2.00 the logo flies into its place in the nav while the page fades in underneath */
.intro-ov{display:none;position:fixed;inset:0;z-index:9999}
.intro-ov.on{display:block}
.intro-ov .io-bg{position:absolute;inset:0;overflow:hidden;background:#060A14}
.intro-ov .io-grid{position:absolute;inset:-28px;opacity:0;animation:ioFade 1.4s ease .05s forwards;
  background:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1.3px) 0 0/28px 28px;
  -webkit-mask:radial-gradient(55% 45% at 50% 50%,#000,transparent 75%);mask:radial-gradient(55% 45% at 50% 50%,#000,transparent 75%)}
.intro-ov .io-glow{position:absolute;left:50%;top:50%;width:1100px;height:1100px;margin:-550px 0 0 -550px;border-radius:50%;opacity:0;transform:scale(.55);
  background:radial-gradient(circle,rgba(61,123,255,.30),rgba(43,228,138,.10) 34%,transparent 62%);animation:ioGlow 2.2s cubic-bezier(.16,1,.3,1) .05s forwards}
.intro-ov .io-hz{position:absolute;left:50%;top:calc(50% + 160px);width:180vw;height:180vw;margin-left:-90vw;border-radius:50%;
  border-top:1.5px solid rgba(170,245,215,.85);box-shadow:0 -14px 70px -10px rgba(43,228,138,.45),inset 0 30px 80px -40px rgba(61,123,255,.35);
  -webkit-mask:linear-gradient(90deg,transparent 20%,#000 42%,#000 58%,transparent 80%);mask:linear-gradient(90deg,transparent 20%,#000 42%,#000 58%,transparent 80%);
  transform:translateY(40px) scaleX(.2);opacity:0;animation:ioHz 1.6s cubic-bezier(.16,1,.3,1) .2s forwards}
.intro-ov .io-stage{position:absolute;inset:0;display:grid;place-items:center}
.intro-ov .io-lock{display:grid;justify-items:center;gap:26px;animation:ioZoom 2.6s cubic-bezier(.16,1,.3,1) both}
.intro-ov .box{display:flex;align-items:center;gap:22px;direction:ltr;transform-origin:0 0;will-change:transform}
/* intro v3: a light line opens the stage, the three shards fly in and lock together,
   the lock sends out a flash and two rings, a light sweeps across the mark,
   and the name rises letter by letter. Then the logo flies into the nav (inline script). */
.intro-ov .io-stage::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(43,228,138,.0) 10%,rgba(120,255,200,.9) 50%,rgba(61,123,255,.0) 90%,transparent);
  box-shadow:0 0 18px 2px rgba(43,228,138,.35);transform:scaleX(0);opacity:0;animation:ioScan 1.3s cubic-bezier(.16,1,.3,1) .05s forwards}
@keyframes ioScan{0%{transform:scaleX(0);opacity:0}20%{opacity:1}55%{transform:scaleX(1);opacity:.8}100%{transform:scaleX(1);opacity:0}}
.intro-ov .box{gap:34px}
.intro-ov .io-mw{position:relative;display:block;width:96px;height:98px;flex:none}
.intro-ov .io-mk{position:relative;z-index:1;display:block;width:100%;height:100%;overflow:visible;animation:ioPulse 1.3s ease 1.02s both}
.intro-ov .io-mk>path{transform-box:fill-box;transform-origin:50% 50%;opacity:0}
.intro-ov .s1{transform:translate(-30px,-4px) rotate(-22deg);animation:ioIn .95s cubic-bezier(.16,1,.3,1) .25s forwards}
.intro-ov .s2{transform:translate(24px,26px) rotate(18deg);animation:ioIn .95s cubic-bezier(.16,1,.3,1) .4s forwards}
.intro-ov .s3{transform:translate(-34px,34px) scale(.45);animation:ioShoot .7s cubic-bezier(.22,1.35,.42,1) .66s forwards}
@keyframes ioIn{0%{opacity:0}35%{opacity:1}100%{opacity:1;transform:none}}
@keyframes ioShoot{0%{opacity:0}25%{opacity:1}100%{opacity:1;transform:none}}
.intro-ov .io-shine{transform:skewX(-20deg) translateX(-20px);animation:ioShine 1s cubic-bezier(.4,0,.2,1) 1.2s forwards}
@keyframes ioShine{to{transform:skewX(-20deg) translateX(80px)}}
.intro-ov .io-flash,.intro-ov .io-ring{position:absolute;left:50%;top:50%;border-radius:50%;pointer-events:none;opacity:0}
.intro-ov .io-flash{width:240px;height:240px;margin:-120px 0 0 -120px;
  background:radial-gradient(circle,rgba(170,255,220,.55),rgba(61,123,255,.22) 42%,transparent 70%);transform:scale(.4);
  animation:ioFlash 1s ease-out 1s forwards}
.intro-ov .io-ring{width:150px;height:150px;margin:-75px 0 0 -75px;border:1.5px solid rgba(43,228,138,.75);
  box-shadow:0 0 30px rgba(61,123,255,.45),inset 0 0 22px rgba(43,228,138,.25);transform:scale(.3);
  animation:ioRing 1.2s cubic-bezier(.16,1,.3,1) 1.02s forwards}
.intro-ov .io-ring.r2{border-color:rgba(61,123,255,.7);animation-delay:1.16s}
@keyframes ioFlash{0%{opacity:0;transform:scale(.4)}25%{opacity:1}100%{opacity:0;transform:scale(1.5)}}
@keyframes ioRing{0%{opacity:0;transform:scale(.3)}15%{opacity:1}100%{opacity:0;transform:scale(2.5)}}
.intro-ov .wmk{display:block;height:84px;width:auto;margin-top:20px;overflow:hidden;fill:#F2F5FB}
.intro-ov .io-l{transform:translateY(112px);animation:ioRise .9s cubic-bezier(.16,1,.3,1) calc(1.08s + var(--i) * .065s) forwards}
@keyframes ioRise{to{transform:none}}
.intro-ov .io-tag{display:flex;align-items:center;gap:12px;white-space:nowrap;font:600 12px/1 Inter,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:#93A3C4;
  max-width:calc(100vw - 32px);opacity:0;transform:translateY(8px);animation:ioTag 1.1s cubic-bezier(.16,1,.3,1) 1.62s forwards}
.intro-ov .io-tag::before,.intro-ov .io-tag::after{content:"";width:28px;height:1.5px;background:linear-gradient(90deg,#2BE48A,#3D7BFF);transform:scaleX(0);animation:ioLine .9s cubic-bezier(.16,1,.3,1) 1.78s forwards}
.intro-ov .io-tag::after{background:linear-gradient(90deg,#3D7BFF,#2BE48A)}
[dir=rtl] .intro-ov .io-tag{font-family:"IBM Plex Sans Arabic",sans-serif;letter-spacing:0;text-transform:none;font-size:15px;transform:translateY(8px);animation-name:ioTagAr}
@keyframes ioTagAr{to{opacity:1;transform:none}}
/* while the logo flies into the nav, the real nav logo waits for it */
html.intro-playing .nav .brand,html.intro-fly .nav .brand{opacity:0}
@keyframes ioFade{to{opacity:1}}
@keyframes ioGlow{to{opacity:1;transform:scale(1)}}
@keyframes ioHz{to{opacity:1;transform:none}}
@keyframes ioZoom{from{transform:scale(1.06)}to{transform:none}}
@keyframes ioDraw{to{stroke-dashoffset:0}}
@keyframes ioFill{to{fill-opacity:1;stroke-opacity:0}}
@keyframes ioPulse{0%{filter:drop-shadow(0 0 0 rgba(43,228,138,0))}45%{filter:drop-shadow(0 0 22px rgba(43,228,138,.55))}100%{filter:drop-shadow(0 0 8px rgba(43,228,138,.18))}}
@keyframes ioName{to{transform:none}}
@keyframes ioSheen{to{background-position:-30% 0}}
@keyframes ioTag{to{opacity:1;transform:none}}
@keyframes ioLine{to{transform:none}}
@media (max-width:720px){
  .intro-ov .io-mw{width:64px;height:66px}.intro-ov .wmk{height:56px;margin-top:13px}.intro-ov .io-flash{width:170px;height:170px;margin:-85px 0 0 -85px}.intro-ov .io-ring{width:110px;height:110px;margin:-55px 0 0 -55px}.intro-ov .box{gap:20px}.intro-ov .io-lock{gap:20px}
  .intro-ov .io-tag{font-size:9.5px;letter-spacing:.2em;gap:10px}.intro-ov .io-tag::before,.intro-ov .io-tag::after{width:18px}.intro-ov .io-hz{top:calc(50% + 120px)}
}
}
.nav .brand{transition:opacity .28s ease}
/* Grolid logo: Shard G + "grolid" in Outfit */
.brand .mark{width:26px;height:27px}
.brand .wmk{display:block;height:22px;width:auto;margin-top:5px;overflow:visible;fill:#F2F5FB}
.gic .gi-g{fill:#F2F5FB!important}.gic .gi-d{fill:url(#gwd)!important}
.sn-mark .gic{width:24px;height:24px}.memo-from .av .gic{width:16px;height:16px}.band-go .gic{width:32px;height:32px}
.nf-mark.gic{width:84px;height:84px}
.pill .pi,.ft-status .pi{fill:url(#gwd)}
@media (max-width:720px){.brand .mark{width:23px;height:24px}.brand .wmk{height:19px;margin-top:4px}}

/* ==========================================================
   POLISH v1 (preview): border beam, industry icons, hero shimmer, film grain
   ========================================================== */
/* 1. a thin light travels around the key cards' borders */
@property --beam{syntax:"<angle>";inherits:false;initial-value:0deg}
.snapshot::after,.plan.hot::after,.c-form::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;pointer-events:none;z-index:2;
  background:conic-gradient(from var(--beam),transparent 0deg 245deg,rgba(43,228,138,.0) 250deg,#2BE48A 305deg,#3D7BFF 345deg,transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:beam 7s linear infinite}
.plan.hot::after{animation-duration:6s}.c-form::after{animation-duration:8s}
@keyframes beam{to{--beam:360deg}}

/* 2. industry cards: icon tile that lights up on hover */
.ind-ic{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;margin-bottom:10px;
  background:linear-gradient(180deg,rgba(61,123,255,.12),rgba(43,228,138,.05));border:1px solid rgba(140,170,255,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:background .45s var(--ease),box-shadow .45s var(--ease),border-color .45s,transform .45s var(--ease)}
.ind-ic svg{width:22px;height:22px;fill:none;stroke:#F2F5FB;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s}
.ind{overflow:hidden}
.ind::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,#2BE48A,#3D7BFF);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease)}
[dir=rtl] .ind::after{transform-origin:right}
.ind:hover::after{transform:none}
.ind:hover .ind-ic{background:linear-gradient(135deg,#2BE48A,#3D7BFF);border-color:transparent;transform:translateY(-2px);box-shadow:0 12px 30px -8px rgba(61,123,255,.65)}
.ind:hover .ind-ic svg{stroke:#060A14}

/* 3. the hero's gradient words drift slowly */
.hero h1 em{background-image:linear-gradient(100deg,#2BE48A,#22C7C0 22%,#5B8DFF 45%,#22C7C0 70%,#2BE48A 92%);background-size:220% 100%;animation:emFlow 9s ease-in-out infinite alternate}
@keyframes emFlow{from{background-position:0% 0}to{background-position:100% 0}}

/* 4. fine film grain over the whole page: adds depth to the flat navy */
body::after{content:"";position:fixed;inset:0;z-index:9998;pointer-events:none;opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

@media (prefers-reduced-motion:reduce){
  .snapshot::after,.plan.hot::after,.c-form::after{animation:none;--beam:300deg}
  .hero h1 em{animation:none}
}
