/* ==========================================================================
   Ariloop — shared design system
   Derived from Figma: LUMISENSE > Concept > Website Design
   ========================================================================== */

/* ---------- self-hosted fonts (no third-party font requests) ---------- */
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url("fonts/inter-400.woff2") format("woff2");
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url("fonts/inter-500.woff2") format("woff2");
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url("fonts/inter-600.woff2") format("woff2");
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap;
  src:url("fonts/inter-700.woff2") format("woff2");
}
@font-face{
  font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:600; font-display:swap;
  src:url("fonts/plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face{
  font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:700; font-display:swap;
  src:url("fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face{
  font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:800; font-display:swap;
  src:url("fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

:root{
  --black:#131a31;
  --black-2:#0a0e1c;
  --dark-green:#01e284;
  --light-green:#26ffaf;
  --light-blue:#2fbeff;
  --dark-blue:#2548dc;
  --light-purple:#b012ff;
  --bg-light:#f8fafd;
  --white:#ffffff;
  --grey-text:#5b6272;
  --border:#e6e9f2;

  --gradient-brand: linear-gradient(120deg, var(--light-purple) 0%, var(--light-blue) 55%, var(--light-green) 100%);
  --gradient-green: linear-gradient(90deg, var(--dark-green), var(--light-green));
  --gradient-dark: linear-gradient(180deg, #0d1226 0%, var(--black) 100%);

  --font-head: 'Plus Jakarta Sans', 'Stack Sans Headline', sans-serif;
  --font-body: 'Inter', 'Google Sans', sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --container: 1200px;
}

*{box-sizing:border-box; margin:0; padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  color:var(--black);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%; display:block;}

a{color:inherit; text-decoration:none;}

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}

h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:700;
  line-height:1.15;
  letter-spacing:-0.01em;
}

h1{font-size:56px;}
h2{font-size:44px;}
h3{font-size:32px;}
h4{font-size:22px;}

p{color:var(--grey-text); font-size:18px;}

.eyebrow{
  display:inline-block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:13px;
  letter-spacing:0.14em;
  color:var(--dark-green);
  text-transform:uppercase;
  margin-bottom:16px;
}

.grad-text{
  background:var(--gradient-green);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.grad-text-blue{
  background:linear-gradient(90deg, var(--light-blue), var(--dark-blue));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.grad-text-flow{
  background:linear-gradient(90deg, var(--light-green), var(--light-blue), var(--light-purple));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  padding:14px 28px;
  border-radius:var(--radius-pill);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);}

.btn-primary{
  background:var(--gradient-green);
  color:var(--black);
  box-shadow:0 8px 24px rgba(1,226,132,0.25);
}
.btn-blue{
  background:linear-gradient(90deg, var(--light-blue), var(--dark-blue));
  background-clip:padding-box;
  -webkit-background-clip:padding-box;
  border:none;
  color:var(--white);
  box-shadow:0 8px 24px rgba(37,72,220,0.25);
}
.btn-outline{
  background:transparent;
  border-color:rgba(19,26,49,0.18);
  color:var(--black);
}
.btn-outline-light{
  background:transparent;
  border-color:rgba(255,255,255,0.35);
  color:var(--white);
}
.btn-block{width:100%;}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:84px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-head); font-weight:800; font-size:20px; color:var(--black);
}
.logo .dot{
  width:30px; height:30px; border-radius:9px;
  background:var(--gradient-brand);
}
.logo-full{
  height:38px; width:auto; display:block; image-rendering:auto;
}
.logo-icon{
  width:28px; height:28px; flex:none; display:block;
}
.nav-links{
  display:flex; align-items:center; gap:36px;
  font-family:var(--font-head); font-weight:600; font-size:15px;
}
.nav-links a{color:var(--black); opacity:.75;}
.nav-links a:hover, .nav-links a.active{opacity:1; color:var(--dark-blue);}
.nav-cta{display:flex; align-items:center; gap:14px;}
.nav-cta .btn{padding:10px 20px; font-size:11px; gap:6px;}

/* ---------- mobile nav ---------- */
.nav-toggle{
  display:none;
  position:relative;
  width:32px; height:32px;
  background:none; border:none; cursor:pointer; padding:0; flex:none;
}
/* three bars on whole-pixel positions so they always render the same thickness */
.nav-toggle span{
  position:absolute; right:0; width:100%; height:2px; border-radius:1px;
  background:var(--black);
  transition:transform .25s ease, opacity .25s ease, width .25s ease;
}
.nav-toggle span:nth-child(1){top:8px;}
.nav-toggle span:nth-child(2){top:15px;}
.nav-toggle span:nth-child(3){top:22px;}
body.menu-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg); width:100%;}
body.menu-open .nav-toggle span:nth-child(2){opacity:0;}
body.menu-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg); width:100%;}

.mobile-nav{
  display:none;
  flex-direction:column;
  position:fixed;
  top:84px; left:0; right:0;
  background:var(--white);
  border-bottom:1px solid var(--border);
  padding:8px 32px 28px;
  z-index:49;
  max-height:calc(100vh - 84px);
  overflow-y:auto;
  box-shadow:0 16px 32px rgba(19,26,49,0.1);
}
.mobile-nav a{
  padding:16px 0;
  border-bottom:1px solid var(--border);
  font-family:var(--font-head); font-weight:600; font-size:16px; color:var(--black);
}
.mobile-nav a.btn{
  padding:14px 28px;
  border-bottom:none; margin-top:18px; width:fit-content; color:var(--white);
}
body.menu-open .mobile-nav{display:flex;}
body.menu-open{overflow:hidden;}

/* ---------- hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background:var(--white) url("images/hero-banner.webp") no-repeat right center;
  background-size:cover;
  padding:88px 0 60px;
}
@media (max-width: 980px){
  .hero{ background-image:none; }
}
@media (max-width: 640px){
  .hero{ background-image:url("images/hero-banner.webp"); background-size:auto 100%; background-position:right -760px center; background-repeat:no-repeat; }
}
.hero .wrap{position:relative; z-index:1;}
.hero-content{max-width:640px;}
.hero h1{margin-bottom:20px;}
.hero p.lead{font-size:19px; max-width:540px; margin-bottom:32px;}
.hero-actions{display:flex; gap:14px; margin-bottom:0;}

.page-hero{
  padding:150px 0 72px;
}
.page-hero .eyebrow{color:var(--dark-green);}
.page-hero h1{max-width:820px;}
.page-hero p.lead{max-width:640px; margin-top:18px;}

/* ---------- stats bar ---------- */
.stats-bar{
  background:var(--gradient-dark);
  padding:36px 0;
}
.stats-bar .wrap{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:24px; text-align:center;
}
.stat-num{
  font-family:var(--font-head); font-weight:800; font-size:34px;
  background:var(--gradient-green); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-label{color:rgba(255,255,255,0.65); font-size:14px; margin-top:4px;}

/* ---------- sections ---------- */
section{padding:96px 0;}
.section-light{background:var(--bg-light);}
.section-dark{background:var(--gradient-dark); color:var(--white);}
.section-dark p{color:rgba(255,255,255,0.65);}
.section-dark h2, .section-dark h3, .section-dark h4{color:var(--white);}

.section-head{max-width:680px; margin:0 auto 56px; text-align:center;}
.section-head p{margin-top:16px;}

/* ---------- feature cards ---------- */
.feature-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.feature-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  padding:32px;
  box-shadow:0 6px 24px rgba(19,26,49,0.04);
}
.feature-icon{
  width:52px; height:52px; border-radius:14px;
  background:rgba(176,18,255,0.08);
  margin-bottom:20px;
  display:flex; align-items:center; justify-content:center;
}
.feature-icon img{width:24px; height:24px;}
.feature-block .feature-icon{margin-bottom:16px;}
.feature-card h4{margin-bottom:10px;}
.feature-card p{font-size:15px; margin-bottom:18px;}
.tag-list{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px;}
.tag{
  font-size:12px; font-weight:600; font-family:var(--font-head);
  padding:6px 12px; border-radius:var(--radius-pill);
  background:var(--bg-light); color:var(--black); border:1px solid var(--border);
}
.card-link{
  font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--dark-blue);
  display:inline-flex; align-items:center; gap:6px;
}

/* ---------- FAQ accordion ---------- */
.faq-list{max-width:760px; margin:0 auto;}
.faq-group-title{
  font-family:var(--font-head); font-weight:800; font-size:13px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--dark-green);
  margin:44px 0 4px;
}
.faq-group-title:first-child{margin-top:0;}
.faq-item{
  border-bottom:1px solid var(--border);
}
.faq-item summary{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  list-style:none; cursor:pointer;
  padding:22px 2px;
  font-family:var(--font-head); font-weight:700; font-size:16px; color:var(--black);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::marker{content:"";}
.faq-icon{
  flex:none; width:26px; height:26px; border-radius:50%;
  background:var(--bg-light); color:var(--dark-green);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:400;
  transition:transform .25s ease, background .25s ease;
}
.faq-item[open] .faq-icon{transform:rotate(45deg); background:var(--gradient-green); color:var(--black);}
.faq-item .faq-answer{padding:0 30px 22px 2px;}
.faq-item .faq-answer p{font-size:15px; margin:0;}
.faq-item .faq-answer a{color:var(--dark-blue); font-weight:600;}

/* ---------- feature detail blocks (features page) ---------- */
.feature-block{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:flex-start;
  padding:56px 0; border-bottom:1px solid var(--border);
}
.feature-block:last-child{border-bottom:none;}
.feature-block .num{
  font-family:var(--font-head); font-weight:800; font-size:14px; color:var(--dark-green);
  letter-spacing:.1em; margin-bottom:10px; display:block;
}
.feature-block h3{margin-bottom:10px;}
.feature-block > div:first-child p{font-size:16px;}
.sub-feature-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.sub-feature{
  background:var(--bg-light);
  border:1px solid var(--border);
  border-radius:var(--radius-m);
  padding:20px 22px;
}
.sub-feature h5{font-family:var(--font-head); font-weight:700; font-size:15px; margin-bottom:6px;}
.sub-feature p{font-size:14px; margin:0;}

/* ---------- pricing ---------- */
.pricing-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch;
}
.price-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius-l);
  padding:36px 30px;
  display:flex; flex-direction:column;
}
.price-card.popular{
  background:var(--white);
  color:var(--black);
  border-color:transparent;
  transform:translateY(-14px);
  box-shadow:0 24px 48px rgba(1,226,132,0.18);
}
.price-card.popular p, .price-card.popular .price-note{color:var(--grey-text);}
.price-card.popular h3, .price-card.popular h4{color:var(--black);}
.badge-popular{
  align-self:flex-start;
  background:var(--gradient-green); color:var(--black);
  font-family:var(--font-head); font-weight:700; font-size:12px;
  padding:6px 14px; border-radius:var(--radius-pill); margin-bottom:16px;
}
.price-card h4{margin-bottom:6px;}
.price-amount{
  font-family:var(--font-head); font-weight:800; font-size:38px; margin:14px 0 4px;
}
.price-note{font-size:13px; color:rgba(255,255,255,0.5); margin-bottom:24px;}
.price-features{list-style:none; margin:0 0 28px; flex:1;}
.price-features li{
  font-size:14px; padding:10px 0; border-top:1px solid rgba(255,255,255,0.08);
  display:flex; gap:10px; align-items:flex-start; color:inherit;
}
.price-card.popular .price-features li{border-top-color:var(--border); color:var(--black);}
.price-features li::before{content:"✓"; color:var(--dark-green); font-weight:800;}
.price-features li.excluded{opacity:0.45;}
.price-features li.excluded::before{content:"–"; color:inherit;}

/* ---------- story / about ---------- */
.story-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
#our-story .story-grid{align-items:flex-start;}
p.story-quote, .section-dark p.story-quote{
  font-family:var(--font-head); font-weight:700; font-size:26px; line-height:1.35; color:var(--white);
  margin-bottom:24px;
}
.value-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:56px;}
.value-card{padding:28px; border-radius:var(--radius-m); background:var(--bg-light); border:1px solid var(--border);}
.value-card h4{margin-bottom:8px;}
.value-card p{font-size:15px;}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--gradient-dark);
  padding:80px 0;
  text-align:center;
}
.cta-banner h2{color:var(--white); margin-bottom:24px;}
.cta-banner .grad-text{display:inline;}

/* ---------- contact ---------- */
.contact-grid{display:grid; grid-template-columns:0.8fr 1.2fr; gap:64px;}
.contact-info-item{display:flex; gap:16px; margin-bottom:28px;}
.contact-info-item .ic{
  width:44px; height:44px; border-radius:12px; background:var(--gradient-brand); flex:none;
}
.contact-info-item h5{font-family:var(--font-head); font-weight:700; font-size:15px; color:var(--white); margin-bottom:4px;}
.contact-info-item p{font-size:14px; margin:0;}
.form-card{
  background:var(--white); border-radius:var(--radius-l); padding:36px; color:var(--black);
}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
.field label{display:block; font-family:var(--font-head); font-weight:600; font-size:13px; margin-bottom:6px;}
.field input, .field textarea{
  width:100%; border:1px solid var(--border); border-radius:var(--radius-s);
  padding:12px 14px; font-family:var(--font-body); font-size:15px; color:var(--black);
  background:var(--bg-light);
}
.field textarea{min-height:110px; resize:vertical;}

/* ---------- legal pages (privacy / terms) ---------- */
.legal-content{max-width:760px; margin:0 auto;}
.legal-content .updated{
  font-family:var(--font-head); font-weight:600; font-size:13px; color:var(--grey-text);
  margin-bottom:48px; display:block;
}
.legal-content h2{font-size:24px; margin:44px 0 14px;}
.legal-content h2:first-of-type{margin-top:0;}
.legal-content p{margin-bottom:14px;}
.legal-content ul{margin:0 0 14px 20px;}
.legal-content li{color:var(--grey-text); font-size:18px; margin-bottom:8px;}
.legal-content a{color:var(--dark-blue); font-weight:600;}
.legal-content strong{color:var(--black);}

/* ---------- light contact section (homepage) ---------- */
.contact-light{padding:96px 0; background:var(--white);}
.contact-light .contact-info-item{align-items:flex-start; margin-bottom:22px;}
.contact-light .contact-info-item .ic{
  width:40px; height:40px; border-radius:10px; background:var(--bg-light);
  display:flex; align-items:center; justify-content:center;
}
.contact-light .contact-info-item .ic svg{width:18px; height:18px;}
.contact-light .contact-info-item h5{
  color:var(--black); font-weight:700; font-size:15px; margin-bottom:2px;
  display:flex; align-items:baseline; gap:8px; flex-wrap:wrap;
}
.contact-light .contact-info-item h5 .value{font-family:var(--font-body); font-weight:400; font-size:14px; color:var(--grey-text);}
.contact-light .contact-info-item .sub{color:var(--light-blue); font-size:12px; font-weight:600; font-family:var(--font-head);}
.form-card-light{
  background:var(--bg-light); border-radius:var(--radius-l); padding:36px; color:var(--black);
}
.form-card-light .top-bar{
  height:5px; border-radius:999px;
  background:linear-gradient(90deg, var(--light-green), var(--light-blue));
  margin-bottom:26px;
}
.form-card-light .field input, .form-card-light .field textarea{background:var(--white);}
.field{margin-bottom:16px;}

/* ---------- footer ---------- */
.site-footer{background:var(--black-2); color:rgba(255,255,255,0.6); padding:64px 0 32px;}
.footer-top{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px;}
.footer-top .logo{color:var(--white);}
.footer-top p{color:rgba(255,255,255,0.5); font-size:14px; margin-top:14px; max-width:280px;}
.footer-col h5{font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--white); margin-bottom:16px;}
.footer-col ul{list-style:none;}
.footer-col li{margin-bottom:10px; font-size:14px;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1); padding-top:24px;
  font-size:13px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 24px;
}
.footer-legal{font-size:12px; color:rgba(255,255,255,0.4); margin-top:12px; line-height:1.6;}

/* ---------- responsive ---------- */
@media (max-width: 980px){
  h1{font-size:38px;} h2{font-size:30px;} h3{font-size:24px;}
  .nav-links{display:none;}
  .nav-toggle{display:flex;}
  .feature-grid, .pricing-grid, .value-grid{grid-template-columns:1fr;}
  .feature-block{grid-template-columns:1fr;}
  .sub-feature-grid{grid-template-columns:1fr;}
  .story-grid, .contact-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr;}
  .stats-bar .wrap{grid-template-columns:repeat(2,1fr);}
  .price-card.popular{transform:none;}
}

/* ---------- subtle motion ---------- */
@media (prefers-reduced-motion: no-preference){

  /* gentle fade-up on page load for hero copy */
  @keyframes fadeInUp{
    from{ opacity:0; transform:translateY(14px); }
    to{ opacity:1; transform:translateY(0); }
  }
  .hero-content > *{ animation:fadeInUp .7s ease both; }
  .hero-content > *:nth-child(1){ animation-delay:.02s; }
  .hero-content > *:nth-child(2){ animation-delay:.1s; }
  .hero-content > *:nth-child(3){ animation-delay:.18s; }
  .page-hero .wrap > *{ animation:fadeInUp .6s ease both; }
  .page-hero .wrap > *:nth-child(1){ animation-delay:0s; }
  .page-hero .wrap > *:nth-child(2){ animation-delay:.08s; }
  .page-hero .wrap > *:nth-child(3){ animation-delay:.16s; }

  /* scroll-triggered reveal, activated by site.js */
  .reveal{
    opacity:0; transform:translateY(18px);
    transition:opacity .6s ease, transform .6s ease;
  }
  .reveal.in-view{ opacity:1; transform:translateY(0); }

  /* hover lift on interactive cards */
  .feature-card, .value-card, .price-card, .sub-feature{
    transition:transform .25s ease, box-shadow .25s ease, opacity .6s ease;
  }
  .feature-card:hover, .value-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 36px rgba(19,26,49,0.09);
  }
  .sub-feature:hover{ transform:translateY(-3px); }
  .price-card:hover{ transform:translateY(-4px); }
  .price-card.popular:hover{ transform:translateY(-18px); }

  .feature-icon{ transition:transform .3s ease; }
  .feature-card:hover .feature-icon, .value-card:hover .feature-icon{ transform:scale(1.08) rotate(-2deg); }

  .nav-links a{ transition:opacity .2s ease, color .2s ease; }
  .logo{ transition:opacity .2s ease; }
  .logo:hover{ opacity:.8; }

  .card-link{ transition:gap .2s ease; }
  .card-link:hover{ gap:10px; }

  .footer-col a{ transition:opacity .2s ease; }
  .footer-col a:hover{ opacity:.75; }
}

/* ==========================================================================
   Features page — storytelling layout + animation slots
   ========================================================================== */

/* ---------- lifecycle strip (ANIM-00) ---------- */
.lifecycle{
  position:relative; display:grid; grid-template-columns:repeat(6,1fr);
  max-width:980px; margin:52px auto 0;
}
.lifecycle::before, .lifecycle::after{
  content:""; position:absolute; top:8px; left:calc(100%/12); right:calc(100%/12);
  height:2px; border-radius:2px;
}
.lifecycle::before{background:var(--border);}
.lifecycle::after{background:var(--gradient-brand); transform-origin:left center;}
.lc-node{
  position:relative; z-index:1;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  font-family:var(--font-head); font-weight:600; font-size:13px; color:var(--grey-text);
}
.lc-dot{
  width:18px; height:18px; border-radius:50%;
  background:var(--gradient-green); border:3px solid var(--white);
  box-shadow:0 0 0 1px var(--border), 0 4px 14px rgba(1,226,132,0.35);
}
.lc-node:hover{color:var(--black);}
.lc-node:hover .lc-dot{transform:scale(1.2);}

/* ---------- section scaffolding ---------- */
.fx-section{padding:96px 0; scroll-margin-top:72px;}
.fx-intro{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;
  margin-bottom:56px;
}
.fx-reverse .fx-copy{order:2;}
.fx-copy .feature-icon{margin-bottom:18px;}
.fx-copy .num{
  display:block; font-family:var(--font-head); font-weight:800; font-size:13px;
  letter-spacing:.12em; text-transform:uppercase; color:var(--dark-green); margin-bottom:12px;
}
.fx-copy h2{font-size:40px; margin-bottom:18px;}
.fx-copy p{font-size:17px;}

.fx-cards{grid-template-columns:repeat(3,1fr); gap:20px;}
.fx-cards-2{grid-template-columns:repeat(2,1fr);}
.section-light .sub-feature{background:var(--white);}
.fx-feature-lead{
  grid-column:span 2;
  background:
    linear-gradient(var(--white),var(--white)) padding-box,
    var(--gradient-brand) border-box;
  border:1.5px solid transparent;
}
.fx-feature-lead h5{font-size:18px;}
.fx-feature-lead p{font-size:15px;}
.fx-pill{
  display:inline-block; margin-bottom:10px;
  font-family:var(--font-head); font-weight:800; font-size:11px; letter-spacing:.1em;
  padding:4px 10px; border-radius:var(--radius-pill);
  background:var(--gradient-brand); color:var(--white);
}
.fx-inline-link{color:var(--dark-blue); font-weight:600;}

.fx-handoff{
  text-align:center; margin:64px auto 0; max-width:640px;
  font-family:var(--font-head); font-weight:700; font-size:20px; color:var(--black);
}
.fx-handoff::before{
  content:""; display:block; width:44px; height:3px; border-radius:3px;
  background:var(--gradient-green); margin:0 auto 18px;
}
.fx-handoff em{font-style:normal; background:var(--gradient-green); -webkit-background-clip:text; background-clip:text; color:transparent;}

/* ---------- animation slots (placeholders until animations are dropped in) ---------- */
.anim-slot{
  position:relative; overflow:hidden;
  border:1.5px dashed rgba(37,72,220,0.28);
  background:
    radial-gradient(circle at 85% 15%, rgba(47,190,255,0.10), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(1,226,132,0.10), transparent 45%),
    var(--bg-light);
}
.section-light .anim-slot{background-color:var(--white);}
.anim-hero{
  border-radius:var(--radius-l); aspect-ratio:16/10;
  display:flex; flex-direction:column;
  box-shadow:0 20px 50px rgba(19,26,49,0.07);
}
.anim-bar{
  display:flex; align-items:center; gap:6px; flex:none;
  height:36px; padding:0 16px; border-bottom:1px solid var(--border);
  background:rgba(255,255,255,0.6);
}
.anim-bar i{width:9px; height:9px; border-radius:50%; background:var(--border);}
.anim-bar span{margin-left:auto; font-family:var(--font-head); font-weight:600; font-size:12px; color:var(--grey-text);}
.anim-placeholder{flex:1; display:flex; flex-direction:column; justify-content:center; padding:28px 32px;}
.anim-tag{
  align-self:flex-start; margin-bottom:12px;
  font-family:var(--font-head); font-weight:800; font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 11px; border-radius:var(--radius-pill);
  background:var(--gradient-brand); color:var(--white);
}
.anim-placeholder strong{font-family:var(--font-head); font-size:20px; margin-bottom:10px;}
.anim-placeholder ol{padding-left:18px; color:var(--grey-text); font-size:14px; line-height:1.7;}

.anim-micro{
  margin-top:16px; border-radius:var(--radius-s); aspect-ratio:16/9;
  display:flex;
}
.anim-micro .anim-placeholder{padding:14px; align-items:center; text-align:center;}
.anim-micro .anim-tag{align-self:center; margin-bottom:8px; font-size:10px;}
.anim-micro p{font-size:13px; margin:0;}

.anim-dark{border-color:rgba(255,255,255,0.22); background:rgba(255,255,255,0.04);}
.anim-dark .anim-bar{background:rgba(255,255,255,0.04); border-bottom-color:rgba(255,255,255,0.1);}
.anim-dark .anim-bar i{background:rgba(255,255,255,0.2);}
.anim-dark .anim-bar span, .anim-dark .anim-placeholder ol, .anim-dark p{color:rgba(255,255,255,0.6);}
.anim-dark .anim-placeholder strong{color:var(--white);}

/* ---------- "Quote won" interlude ---------- */
.fx-interlude{padding:104px 0; text-align:center;}
.fx-interlude h2{max-width:760px; margin:0 auto;}
.fx-interlude h2 .grad-text{display:inline;}
.fx-interlude > .wrap > p{max-width:560px; margin:18px auto 44px;}
.fx-interlude .anim-hero{max-width:780px; margin:0 auto; aspect-ratio:16/7; text-align:left;}

/* ---------- Service + callout ---------- */
.fx-callout{
  margin-top:40px; padding:44px;
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:44px; align-items:center;
  background:var(--gradient-dark); border-radius:var(--radius-l);
}
.fx-callout h3{color:var(--white); margin-bottom:12px;}
.fx-callout p{color:rgba(255,255,255,0.7); font-size:16px;}
.fx-callout .anim-micro{margin-top:0;}
.fx-badge{
  display:inline-block; margin-bottom:16px;
  font-family:var(--font-head); font-weight:700; font-size:12px;
  padding:6px 14px; border-radius:var(--radius-pill);
  background:var(--gradient-green); color:var(--black);
}

/* ---------- foundations + more ---------- */
.fx-foundations{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
.fx-foundation{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-l);
  padding:36px;
}
.fx-foundation h4{margin-bottom:10px;}
.fx-foundation p{font-size:16px; margin-bottom:28px;}
.fx-foundation .anim-hero{box-shadow:none; background-color:var(--bg-light);}
.fx-more-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}

/* ---------- features page responsive ---------- */
@media (max-width: 980px){
  .fx-section{padding:72px 0;}
  .fx-intro{grid-template-columns:1fr; gap:36px; margin-bottom:40px;}
  .fx-reverse .fx-copy{order:0;}
  .fx-copy h2{font-size:30px;}
  .fx-cards, .fx-cards-2, .fx-more-grid{grid-template-columns:1fr 1fr;}
  .fx-callout, .fx-foundations{grid-template-columns:1fr;}
  .fx-callout{padding:32px;}
  .fx-interlude .anim-hero{aspect-ratio:16/10;}
  .lifecycle{grid-template-columns:repeat(3,1fr); row-gap:28px;}
  .lifecycle::before, .lifecycle::after{display:none;}
}
@media (max-width: 640px){
  .fx-cards, .fx-cards-2, .fx-more-grid{grid-template-columns:1fr;}
  .fx-feature-lead{grid-column:auto;}
  .anim-placeholder{padding:20px;}
  .anim-hero, .fx-interlude .anim-hero{aspect-ratio:auto; min-height:240px;}
  .anim-placeholder ol{font-size:13px;}
  .lc-node{font-size:12px; text-align:center;}
}

/* ---------- features page motion ---------- */
@media (prefers-reduced-motion: no-preference){
  .lc-dot{transition:transform .2s ease, background .4s ease, box-shadow .4s ease;}
  .lifecycle::after{transition:transform 1.6s cubic-bezier(.6,0,.2,1) .2s;}
  .lifecycle.reveal:not(.in-view)::after{transform:scaleX(0);}
  .lifecycle.reveal:not(.in-view) .lc-dot{background:var(--white); box-shadow:0 0 0 1px var(--border);}
  .lifecycle.in-view .lc-node:nth-child(1) .lc-dot{transition-delay:.2s;}
  .lifecycle.in-view .lc-node:nth-child(2) .lc-dot{transition-delay:.5s;}
  .lifecycle.in-view .lc-node:nth-child(3) .lc-dot{transition-delay:.8s;}
  .lifecycle.in-view .lc-node:nth-child(4) .lc-dot{transition-delay:1.1s;}
  .lifecycle.in-view .lc-node:nth-child(5) .lc-dot{transition-delay:1.4s;}
  .lifecycle.in-view .lc-node:nth-child(6) .lc-dot{transition-delay:1.7s;}
  .lc-node:hover .lc-dot{transition-delay:0s !important;}
}

/* ---- Home: animated quote demo ---- */
.demo-embed{max-width:1080px; margin:0 auto; border-radius:var(--radius-m); background:var(--white); padding:12px; box-shadow:0 1px 2px rgba(19,26,49,.06), 0 30px 60px -30px rgba(37,72,220,.35);}
.demo-embed iframe{display:block; width:100%; border:0; aspect-ratio:1280/750; background:transparent;}

/* ==========================================================================
   Features page v2 — "Bid it. Build it. Close it."
   ========================================================================== */
.lifecycle-4{grid-template-columns:repeat(4,1fr); max-width:760px; margin-top:60px;}
.lifecycle-4::before, .lifecycle-4::after{left:calc(100%/8); right:calc(100%/8);}

/* problem / solution */
.fx-compare{display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:stretch;}
.fx-compare > div{border-radius:var(--radius-l); padding:40px;}
.fx-compare .num{
  display:block; font-family:var(--font-head); font-weight:800; font-size:13px;
  letter-spacing:.12em; text-transform:uppercase; margin-bottom:12px;
}
.fx-compare h3{margin-bottom:18px;}
.fx-compare p{font-size:17px;}
.fx-compare-before{background:var(--white); border:1px solid var(--border);}
.fx-compare-before .num{color:var(--grey-text);}
.fx-compare-after{
  background:var(--gradient-brand);
  border:none; box-shadow:0 24px 56px rgba(37,72,220,0.22);
}
.fx-compare-after .num,
.fx-compare-after h3,
.fx-compare-after p{color:var(--white);}
.fx-compare-after .num{opacity:.85;}
.tag-strike{text-decoration:line-through; text-decoration-color:rgba(176,18,255,0.55); color:var(--grey-text);}

.fx-span-2{grid-column:span 2;}
.section-light .fx-feature-lead{
  background:linear-gradient(var(--white),var(--white)) padding-box, var(--gradient-brand) border-box;
}
.fx-cards-4{grid-template-columns:repeat(4,1fr);}

/* cards on the dark interlude */
.fx-interlude .fx-cards-dark{margin-top:48px; text-align:left;}
.fx-cards-dark .sub-feature{background:rgba(255,255,255,0.05); border-color:rgba(255,255,255,0.12);}
.fx-cards-dark .sub-feature h5{color:var(--white);}
.fx-cards-dark .fx-feature-lead{
  background:linear-gradient(#141b35,#141b35) padding-box, var(--gradient-brand) border-box;
  border:1.5px solid transparent;
}

/* foundations with lists */
.fx-foundation .num{
  display:block; font-family:var(--font-head); font-weight:800; font-size:13px;
  letter-spacing:.12em; text-transform:uppercase; color:var(--dark-green); margin-bottom:10px;
}
.fx-foundation .feature-icon{margin-bottom:18px;}
.fx-list{list-style:none; margin-top:18px;}
.fx-list li{
  position:relative; padding:12px 0 12px 26px;
  font-size:15px; color:var(--grey-text); border-top:1px solid var(--border);
}
.fx-list li::before{content:"✓"; position:absolute; left:2px; top:12px; color:var(--dark-green); font-weight:800;}
.fx-list strong{color:var(--black); font-weight:600;}

@media (max-width: 980px){
  .fx-compare{grid-template-columns:1fr;}
  .fx-compare > div{padding:32px;}
  .fx-cards-4{grid-template-columns:1fr 1fr;}
  .lifecycle-4{grid-template-columns:repeat(4,1fr);}
}
@media (max-width: 640px){
  .fx-cards-4{grid-template-columns:1fr;}
  .fx-span-2{grid-column:auto;}
  .lifecycle-4{grid-template-columns:repeat(2,1fr);}
}
@media (prefers-reduced-motion: no-preference){
  .lifecycle-4.in-view .lc-node:nth-child(2) .lc-dot{transition-delay:.6s;}
  .lifecycle-4.in-view .lc-node:nth-child(3) .lc-dot{transition-delay:1.0s;}
  .lifecycle-4.in-view .lc-node:nth-child(4) .lc-dot{transition-delay:1.4s;}
}

/* ---------- live animation dropped into a slot ---------- */
.anim-live{aspect-ratio:auto; border:1px solid var(--border); background:var(--white);}
.section-light .anim-live{background:var(--white);}
.anim-live .anim-embed{max-width:none; margin:0; padding:0; border-radius:0; box-shadow:none; background:transparent;}
.anim-live .anim-embed iframe{display:block;}
.fx-intro-stack{grid-template-columns:1fr; gap:40px;}
.fx-intro-stack .fx-copy{max-width:760px;}
@media (max-width: 640px){
  .anim-live, .fx-interlude .anim-live{aspect-ratio:auto; min-height:0;}
}

/* ---------- features page hero background ---------- */
.hero-features{
  background:var(--white) url("images/hero-features.webp") no-repeat center top;
  background-size:cover;
}
@media (max-width: 640px){
  .hero-features{background-size:cover; background-position:15% top;}
}

/* ---------- expandable feature cards (title shown, text revealed on click) ---------- */
.fx-expand-grid{align-items:start;}
.fx-expand{padding:0;}
.fx-expand summary{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  list-style:none; cursor:pointer; padding:20px 22px;
}
.fx-expand summary::-webkit-details-marker{display:none;}
.fx-expand summary::marker{content:"";}
.fx-expand summary h5{margin:0;}
.fx-expand-icon{
  flex:none; width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--white); border:1px solid var(--border); color:var(--dark-green);
  font-size:16px; line-height:1; transition:transform .25s ease, background .25s ease;
}
.fx-expand[open] .fx-expand-icon{transform:rotate(45deg); background:var(--gradient-green); border-color:transparent; color:var(--black);}
.fx-expand > p{padding:0 22px 20px; margin-top:-4px;}
.fx-expand summary:focus-visible{outline:2px solid var(--dark-blue); outline-offset:-2px; border-radius:var(--radius-m);}

/* ---------- live animation fitted inside a standard-size slot ---------- */
.anim-fit{border:1px solid var(--border); background:var(--white);}
.section-light .anim-fit{background:var(--white);}
.anim-fit iframe{flex:1; display:block; width:100%; min-height:0; border:0; background:var(--white);}
@media (max-width: 640px){
  .anim-fit{aspect-ratio:auto; min-height:0;}
  .anim-fit iframe{flex:none; aspect-ratio:16/9;}
}

/* ---------- intro where the animation spans 2 of the 3 card columns ---------- */
.fx-intro-wide{grid-template-columns:repeat(3,1fr); column-gap:20px;}
.fx-intro-wide .anim-hero{grid-column:span 2;}
.fx-intro-wide .fx-copy{padding-left:24px;}
.fx-intro-wide.fx-reverse .fx-copy{order:2;}
@media (max-width: 980px){
  .fx-intro-wide{grid-template-columns:1fr;}
  .fx-intro-wide .anim-hero{grid-column:auto;}
  .fx-intro-wide .fx-copy, .fx-intro-wide.fx-reverse .fx-copy{padding-left:0; order:0;}
}

/* ---------- dark variants for live animation slots ---------- */
.anim-fit.anim-dark{background:#1C2030; border-color:rgba(255,255,255,0.12);}
.anim-fit.anim-dark iframe{background:#1C2030;}
.fx-intro-wide:not(.fx-reverse) .fx-copy{padding-left:0; padding-right:24px;}
@media (max-width: 980px){ .fx-intro-wide:not(.fx-reverse) .fx-copy{padding-right:0;} }

/* ---------- hero lifecycle: "Maintain it" ends in a continuous loop ring ---------- */
.lifecycle-4 .lc-node:nth-child(4) .lc-dot{position:relative;}
.lifecycle-4 .lc-node:nth-child(4) .lc-dot::before,
.lifecycle-4 .lc-node:nth-child(4) .lc-dot::after{
  content:""; position:absolute; inset:-12px; border-radius:50%; pointer-events:none;
}
.lifecycle-4 .lc-node:nth-child(4) .lc-dot::before{border:2px solid rgba(1,226,132,.25);}
.lifecycle-4 .lc-node:nth-child(4) .lc-dot::after{
  border:2px solid transparent; border-top-color:rgba(1,226,132,.3); border-right-color:var(--dark-green);
  will-change:transform; backface-visibility:hidden;
}
@media (max-width: 640px){
  .lifecycle-4{margin-top:52px;}
  .lifecycle-4::before, .lifecycle-4::after{display:none;}
}
@media (max-width: 980px) and (min-width: 641px){
  .lifecycle-4::before, .lifecycle-4::after{display:block;}
}
@media (prefers-reduced-motion: no-preference){
  .lifecycle-4.reveal:not(.in-view) .lc-node:nth-child(4) .lc-dot::before,
  .lifecycle-4.reveal:not(.in-view) .lc-node:nth-child(4) .lc-dot::after{opacity:0; transform:scale(.4);}
  .lifecycle-4 .lc-node:nth-child(4) .lc-dot::before,
  .lifecycle-4 .lc-node:nth-child(4) .lc-dot::after{transition:opacity .5s ease 1.8s, transform .5s ease 1.8s;}
  .lifecycle-4.in-view .lc-node:nth-child(4) .lc-dot::after{animation:lc-spin 1.8s linear 2.3s infinite;}
}
@keyframes lc-spin{to{transform:rotate(360deg);}}

/* icon chip on the Ari sub-feature cards */
.fx-ico{display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:12px; margin-bottom:14px;
  background:rgba(1,226,132,.12); color:#01e284; border:1px solid rgba(1,226,132,.28);}
.fx-ico svg{width:22px; height:22px;}

/* small icon chip inside expandable cards */
.fx-ico-s{width:36px; height:36px; border-radius:10px; margin:0; flex:none; color:var(--dark-green); background:rgba(1,226,132,.12); border-color:rgba(1,226,132,.3);}
.fx-ico-s svg{width:21px; height:21px; display:block;}
.fx-expand summary{justify-content:flex-start;}
.fx-expand summary h5{flex:1;}

/* crisp, perfectly centred "+" on expandable cards (no font-glyph offset) */
.fx-expand-icon{position:relative; font-size:0;}
.fx-expand-icon::before, .fx-expand-icon::after{
  content:""; position:absolute; left:50%; top:50%; background:currentColor; border-radius:1px;
  transform:translate(-50%,-50%);
}
.fx-expand-icon::before{width:10px; height:2px;}
.fx-expand-icon::after{width:2px; height:10px;}

/* ---------- pricing hero: copy left, glass loop right ---------- */
.pricing-hero{padding:56px 0 24px; overflow:hidden;}
.pricing-hero-grid{display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:24px;}
.pricing-hero-copy{text-align:left;}
.pricing-hero-copy h1{margin:0;}
.pricing-hero-copy p.lead{margin:18px 0 0; max-width:540px;}
.pricing-hero-art img{
  display:block; width:100%; height:auto; mix-blend-mode:multiply;
  -webkit-mask-image:radial-gradient(ellipse 75% 70% at 50% 50%, #000 70%, transparent 98%);
          mask-image:radial-gradient(ellipse 75% 70% at 50% 50%, #000 70%, transparent 98%);
}
@media (prefers-reduced-motion: no-preference){
  .pricing-hero-art{animation:fadeInUp .8s ease .2s both;}
  .pricing-hero-art img{animation:pr-float 9s ease-in-out 1s infinite;}
}
@keyframes pr-float{0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);}}
@media (max-width: 860px){
  .pricing-hero{padding:48px 0 16px;}
  .pricing-hero-grid{grid-template-columns:1fr; gap:8px;}
  .pricing-hero-copy{text-align:center;}
  .pricing-hero-copy p.lead{margin-left:auto; margin-right:auto;}
  .pricing-hero-art{max-width:420px; margin:0 auto;}
}

/* pricing hero: one solid green across the whole phrase (no gradient shift between words) */
.pricing-hero-copy h1 .grad-text{background:none; -webkit-background-clip:border-box; background-clip:border-box; -webkit-text-fill-color:currentColor; color:var(--light-green);}

/* section 03 card icons: purple, no outline (matches the section header icon style) */
.fx-ico-s{color:#B012FF; background:rgba(176,18,255,0.08); border:none;}

/* icon chip sitting above the title in plain (non-expandable) cards */
.sub-feature > .fx-ico-s{margin-bottom:14px;}

/* section 04 interlude: live demo fills the same box (height follows the 16:9 stage) */
.fx-interlude .anim-hero.anim-fit{aspect-ratio:auto;}
.fx-interlude .anim-fit iframe{flex:none; aspect-ratio:16/9;}

/* accordion cards on the dark interlude */
.fx-cards-dark .fx-expand-icon{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:var(--light-green);}
.fx-cards-dark .fx-expand[open] .fx-expand-icon{color:var(--black);}
.fx-cards-dark .fx-ico-s{background:rgba(199,125,255,.14); color:#C77DFF;}

/* contact box: mailto button instead of a form */
.enquiry-cta{text-align:center; padding:28px 8px 12px;}
.enquiry-cta h3{font-size:24px; margin:0 0 12px;}
.enquiry-cta p{max-width:420px; margin:0 auto 26px;}
.form-card-light:has(.enquiry-cta){display:flex; flex-direction:column;}
.form-card-light:has(.enquiry-cta) .enquiry-cta{flex:1; display:flex; flex-direction:column; justify-content:center; align-items:center; padding-top:0;}

/* contact: two buttons + "what happens next" dark section */
.enquiry-btns{display:flex; flex-wrap:wrap; gap:12px; justify-content:center;}
.next-steps{padding:96px 0; position:relative; overflow:hidden;}
.next-steps::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(560px 340px at 88% 0%,rgba(176,18,255,.16),transparent 70%),radial-gradient(520px 340px at 6% 100%,rgba(47,190,255,.14),transparent 70%);}
.next-steps .wrap{position:relative;}
.next-head{text-align:center; max-width:640px; margin:0 auto 56px;}
.next-head h2{margin:0 0 14px;}
.next-head .grad-text{display:inline;}
.next-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; position:relative;}
.next-step{position:relative; padding:30px 26px 28px; border-radius:var(--radius-m, 18px); background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);}
.next-num{position:absolute; top:22px; right:24px; font-family:var(--font-head); font-weight:800; font-size:13px; letter-spacing:.12em; color:rgba(255,255,255,.35);}
.next-ico{display:grid; place-items:center; width:48px; height:48px; border-radius:14px; margin-bottom:20px; color:#C77DFF; background:rgba(199,125,255,.14);}
.next-ico svg{width:24px; height:24px;}
.next-step h4{margin:0 0 8px; font-size:19px;}
.next-step p{margin:0; font-size:15px; line-height:1.6;}
.next-grid .next-step:not(:last-child)::after{content:""; position:absolute; top:54px; right:-21px; width:20px; height:2px; margin-top:-1px; border-radius:0; background:var(--light-green); opacity:1;}
.next-foot{display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:48px;}
@media (max-width:900px){
  .next-grid{grid-template-columns:1fr;}
  .next-grid .next-step:not(:last-child)::after{display:none;}
}

/* about hero: blue-to-purple brand gradient */
.hero-about{
  position:relative; overflow:hidden; padding-bottom:96px;
  background:linear-gradient(135deg,#2548DC 0%,#4A35CF 45%,#8A1FC9 100%);
  color:var(--white);
}
.hero-about::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(520px 340px at 88% 8%,rgba(255,255,255,.12),transparent 70%),radial-gradient(560px 380px at 6% 100%,rgba(47,190,255,.22),transparent 70%);}
.hero-about .wrap{position:relative;}
.hero-about .eyebrow{color:rgba(255,255,255,.85); letter-spacing:.2em;}
.hero-about h1{color:var(--white);}
.hero-about h1 .grad-text{background:none; -webkit-background-clip:initial; background-clip:initial; color:var(--light-green);}

/* platform wheel (features page, before 01) */
.fx-wheel{background:#14192A; padding:88px 0 110px; text-align:center; overflow:hidden;}
.fx-wheel-head{max-width:640px; margin:0 auto 96px; position:relative; z-index:1;}
.fx-wheel-head h2{color:var(--white); margin:0 0 14px;}
.fx-wheel-head .grad-text{display:inline;}
.fx-wheel-head p{color:rgba(255,255,255,.65); margin:0;}
.fx-wheel-scroll{max-width:1033px; margin:-40px auto -20px; padding:100px 16px; overflow-x:auto; -webkit-overflow-scrolling:touch; container-type:inline-size;}
.fx-wheel-art{position:relative; width:100%; min-width:760px; aspect-ratio:1033/581; margin:0 auto; font-size:9.6px; font-size:max(8.4px,1.1cqw); text-align:center;}
.fx-wheel-glow{position:absolute; left:50.25%; top:50.25%; width:74%; aspect-ratio:1; translate:-50% -50%; border-radius:50%; filter:blur(26px) brightness(.85); opacity:.95;
  background:conic-gradient(from 0deg,#1fd987 0deg,#1fd987 18deg,#2d8fe6 52deg,#2fbeff 78deg,#2d8fe6 104deg,#22d98c 128deg,#26f0a0 180deg,#22d98c 232deg,#8b1fe0 258deg,#a31be8 274deg,#4a3bd8 298deg,#2f45d8 320deg,#1fd987 346deg,#1fd987 360deg);
  -webkit-mask-image:radial-gradient(circle,#000 0,#000 30%,transparent 74%); mask-image:radial-gradient(circle,#000 0,#000 30%,transparent 74%);}
.fx-wheel-core{position:absolute; left:50.25%; top:50.25%; width:12.4%; aspect-ratio:1; translate:-50% -50%; border-radius:50%; display:grid; place-items:center;
  background:radial-gradient(circle at 35% 28%,#252c48,#10152a 72%); border:1px solid rgba(255,255,255,.14); box-shadow:0 0 0 4px rgba(20,25,42,.5),0 18px 40px rgba(0,0,0,.45);}
.fx-wheel-core svg{width:46%; height:auto;}
.wp,.wl{position:absolute; translate:-50% -50%; white-space:nowrap;}
.wp{padding:.5em 1.15em; border-radius:999px; font-family:var(--font-body); font-weight:500; font-size:1em; line-height:1.15; color:#fff; background:#161b30; border:1.4px solid; box-shadow:0 2px 8px rgba(0,0,0,.35);}
.wp-g,.wp-j{border-color:#1fe08c;} .wp-b{border-color:#2fa8f0;} .wp-s{border-color:#3a46c8;} .wp-p{border-color:#8f23d6;}
.wl{padding:.55em 1.3em; border-radius:999px; font-family:var(--font-head); font-weight:800; font-size:.78em; letter-spacing:.16em; text-transform:uppercase;}
.wl-g{background:#17d884; color:#0e1a2a;} .wl-s{background:#2a3fd0; color:#fff;} .wl-b{background:#2fa9ff; color:#0e1a2a;} .wl-p{background:#a01be6; color:#fff;} .wl-j{background:#26f0a8; color:#0e1a2a;}
@media (max-width:700px){.fx-wheel{padding:64px 0 40px;} .fx-wheel-scroll{overflow:visible; padding:40px 0; margin:0 auto;} .fx-wheel-art{min-width:0; width:155%; margin:0 -27.5%; font-size:1.7cqw;}}

/* section 04: animation left, cards stacked right */
.fx-won-split{display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:32px; align-items:stretch; text-align:left;}
.fx-won-split .anim-hero{max-width:none; margin:0; height:var(--won-h,100%); align-self:start;}
.fx-won-split .anim-fit iframe{flex:1; aspect-ratio:auto; min-height:0;}
.fx-won-split .fx-cards{align-self:start;}
.fx-won-split .fx-cards{grid-template-columns:1fr; gap:14px; margin-top:0;}
@media (max-width:900px){.fx-won-split{grid-template-columns:1fr;} .fx-won-split .anim-hero{height:auto; min-height:0; aspect-ratio:auto; align-self:auto;} .fx-won-split .anim-fit iframe{flex:none; aspect-ratio:16/9;}}

/* schedule demo uses the deeper night background */
.anim-fit.anim-dark.anim-night{background:#111526;}
.anim-fit.anim-dark.anim-night iframe{background:#111526;}

/* ========== 08-10 "Run the business" bento ========== */
.rb-section{padding:76px 0 80px; position:relative; overflow:hidden;}
.rb-section::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(620px 380px at 92% 6%,rgba(176,18,255,.16),transparent 70%),radial-gradient(640px 420px at 4% 96%,rgba(47,190,255,.13),transparent 70%);}
.rb-section .wrap{position:relative;}
.rb-head{text-align:center; max-width:700px; margin:0 auto 36px;}
.rb-head h2{margin:0 0 14px;}
.rb-head .grad-text{display:inline;}
.rb-head p{margin:0;}
.rb-grid{display:grid; grid-template-columns:repeat(12,1fr); gap:20px;}
.rb-tile{position:relative; border-radius:var(--radius-l,24px); padding:26px 28px 24px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); scroll-margin-top:90px; overflow:hidden;}
.rb-parts{grid-column:span 5;}
.rb-team{grid-column:span 7;}
.rb-portal{grid-column:span 12; display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
  background:linear-gradient(#141b35,#141b35) padding-box, var(--gradient-brand) border-box; border:1.5px solid transparent;}
.rb-tag{display:inline-block; font-family:var(--font-head); font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--light-green); margin-bottom:12px;}
.rb-tile h3{color:var(--white); font-size:23px; line-height:1.2; margin:0;}
.rb-section .rb-sub{color:rgba(255,255,255,.62); font-size:15px; margin:0 0 16px; max-width:520px;}
.rb-list{list-style:none; margin:0; padding:0; display:grid; gap:12px;}
.rb-list-2{grid-template-columns:1fr 1fr; gap:16px 28px;}
.rb-list li{display:flex; gap:14px; align-items:flex-start;}
.rb-list h5{color:var(--white); font-size:15px; margin:0 0 2px;}
.rb-section .rb-list p{color:rgba(255,255,255,.6); font-size:13.5px; line-height:1.5; margin:0;}
.rb-section .fx-ico-s{background:rgba(199,125,255,.14); color:#C77DFF; flex:none;}

/* mini visuals */
.rb-viz{border-radius:16px; background:rgba(8,12,28,.45); border:1px solid rgba(255,255,255,.1); padding:14px 16px; margin:14px 0 18px;}
.rb-pill{display:inline-block; padding:6px 12px; border-radius:999px; font-size:12px; font-weight:700; border:1px solid; white-space:nowrap;}
.rb-pill-g{color:#3DEBA8; border-color:rgba(1,226,132,.55); background:rgba(1,226,132,.1);}
.rb-pill-a{color:#FFB547; border-color:rgba(255,181,71,.6); background:rgba(255,181,71,.12);}
.rb-pill-v{color:#C77DFF; border-color:rgba(199,125,255,.5); background:rgba(199,125,255,.12);}
.rb-stock-top{display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:12px; font-weight:700; color:rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:.08em;} .rb-stock-top .rb-pill{text-transform:none; letter-spacing:0; padding:4px 10px; font-size:11.5px;}
.rb-bar{display:grid; grid-template-columns:86px 1fr 44px; align-items:center; gap:12px; font-size:12.5px; color:rgba(255,255,255,.75); margin-top:9px;}
.rb-bar i{display:block; height:8px; border-radius:4px; background:rgba(255,255,255,.1); position:relative; overflow:hidden;}
.rb-bar i::after{content:""; position:absolute; left:0; top:0; bottom:0; width:var(--w); border-radius:4px; background:linear-gradient(90deg,var(--light-blue),var(--dark-blue)); transform-origin:left; transform:scaleX(0); transition:transform 1.1s cubic-bezier(.2,.7,.2,1);}
.rb-bar:nth-of-type(3) i::after{background:linear-gradient(90deg,var(--dark-green),var(--light-green));}
.rb-tile.in .rb-bar i::after{transform:scaleX(1);}
.rb-bar b{text-align:right; color:var(--white); font-variant-numeric:tabular-nums;}
.rb-org{display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;}
.rb-tree{display:flex; flex-direction:column; align-items:center; gap:18px; position:relative;}
.rb-tree-row{display:flex; gap:22px; position:relative;}
.rb-node{display:grid; place-items:center; width:38px; height:38px; border-radius:50%; font-size:11.5px; font-weight:800; color:var(--white); background:rgba(199,125,255,.18); border:1px solid rgba(199,125,255,.5); position:relative;}
.rb-node-top{background:linear-gradient(135deg,var(--light-blue),var(--dark-blue)); border-color:transparent;}
.rb-node-top::after{content:""; position:absolute; left:50%; top:100%; width:1px; height:9px; background:rgba(255,255,255,.3);}
.rb-tree-row::before{content:""; position:absolute; left:19px; right:19px; top:-9px; height:1px; background:rgba(255,255,255,.3);}
.rb-tree-row .rb-node::before{content:""; position:absolute; left:50%; top:-9px; width:1px; height:9px; background:rgba(255,255,255,.3);}
.rb-chips{display:flex; flex-direction:column; align-items:flex-end; gap:8px;}

/* portal preview */
.rb-pm{border-radius:16px; background:#fff; color:var(--black); box-shadow:0 24px 60px rgba(0,0,0,.45); overflow:hidden; max-width:520px; width:100%; justify-self:center;}
.rb-pm-bar{display:flex; align-items:center; gap:6px; height:34px; padding:0 14px; background:#F1F4FA; border-bottom:1px solid #E1E8F3;}
.rb-pm-bar i{width:9px; height:9px; border-radius:50%; background:#CBD4E4;}
.rb-pm-bar span{margin-left:auto; font-size:11.5px; font-weight:700; color:#5A6A81;}
.rb-pm-body{padding:18px 18px 16px; display:grid; gap:12px;}
.rb-pm-head{display:flex; justify-content:space-between; align-items:flex-start;}
.rb-pm-head b{display:block; font-size:15px;} .rb-pm-head small{color:#5A6A81; font-size:12px;}
.rb-pm-live{font-size:11px; font-weight:800; color:#087a4e; background:rgba(1,226,132,.16); border:1px solid rgba(1,226,132,.5); border-radius:999px; padding:3px 10px;}
.rb-pm-label{display:flex; justify-content:space-between; font-size:12px; color:#5A6A81; margin-bottom:6px;} .rb-pm-label b{color:var(--black);}
.rb-pm-track{height:8px; border-radius:4px; background:#E8EDF6; overflow:hidden;}
.rb-pm-track i{display:block; height:100%; width:62%; border-radius:4px; background:linear-gradient(90deg,var(--light-blue),var(--dark-blue)); transform-origin:left; transform:scaleX(0); transition:transform 1.3s cubic-bezier(.2,.7,.2,1) .2s;}
.rb-tile.in .rb-pm-track i{transform:scaleX(1);}
.rb-pm-row{display:flex; align-items:center; gap:12px; padding:10px 12px; border:1px solid #E1E8F3; border-radius:12px; font-size:13px;}
.rb-pm-row > div{flex:1; min-width:0;} .rb-pm-row b{display:block;} .rb-pm-row small{color:#5A6A81; font-size:11.5px;}
.rb-pm-ic{display:grid; place-items:center; width:30px; height:30px; border-radius:9px; font-weight:800; font-size:14px; flex:none;}
.rb-pm-ic-v{background:rgba(176,18,255,.1); color:#B012FF;} .rb-pm-ic-a{background:rgba(255,181,71,.2); color:#B26B00;} .rb-pm-ic-g{background:rgba(1,226,132,.16); color:#087a4e;}
.rb-pm-btn{font-size:12px; font-weight:700; color:#fff; padding:6px 14px; border-radius:999px; background:linear-gradient(90deg,var(--light-blue),var(--dark-blue));}
.rb-pm-btn-o{background:none; color:var(--black); border:1px solid #CBD4E4;}
.rb-pm-tag{font-size:11px; font-weight:800; color:#B26B00; background:rgba(255,181,71,.2); border-radius:999px; padding:4px 10px;}
.rb-pm-row:nth-of-type(1){}

@media (max-width:900px){
  .rb-parts,.rb-team,.rb-portal{grid-column:span 12;}
  .rb-portal{grid-template-columns:1fr; gap:28px;}
  .rb-list-2{grid-template-columns:1fr;}
  .rb-chips{align-items:flex-start;}
}

/* section 06: brand blue-to-purple gradient */
.fx-blue{position:relative; overflow:hidden; color:var(--white); background:linear-gradient(135deg,#2548DC 0%,#4A35CF 45%,#8A1FC9 100%);}
.fx-blue::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(520px 340px at 90% 6%,rgba(255,255,255,.12),transparent 70%),radial-gradient(560px 380px at 4% 100%,rgba(47,190,255,.22),transparent 70%);}
.fx-blue .wrap{position:relative;}
.fx-blue .fx-copy h2{color:var(--white);}
.fx-blue .fx-copy p{color:rgba(255,255,255,.82);}
.fx-blue .fx-copy .num{color:var(--light-green);}
.fx-blue .anim-slot{box-shadow:0 24px 60px rgba(10,14,50,.45); border-color:rgba(255,255,255,.18);}
.fx-blue .sub-feature{background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.22);}
.fx-blue .sub-feature h5{color:var(--white);}
.fx-blue .sub-feature p{color:rgba(255,255,255,.8);}
.fx-blue .fx-ico-s{background:rgba(255,255,255,.16); color:var(--white);}
.fx-blue .fx-expand-icon{background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.35); color:var(--light-green);}
.fx-blue .fx-expand[open] .fx-expand-icon{color:var(--black);}

/* FAQ "+" drawn with CSS so it's perfectly centred in the circle */
.faq-icon{position:relative; font-size:0; line-height:0;}
.faq-icon::before,.faq-icon::after{content:""; position:absolute; left:50%; top:50%; background:currentColor; border-radius:1px; transform:translate(-50%,-50%);}
.faq-icon::before{width:11px; height:2px;}
.faq-icon::after{width:2px; height:11px;}

.value-grid-2{grid-template-columns:repeat(2,1fr);}
@media (max-width:900px){.value-grid-2{grid-template-columns:1fr;}}

/* rich FAQ answers */
.faq-item .faq-rich p{margin:0 0 12px;}
.faq-item .faq-rich h5{font-size:15px; color:var(--black); margin:22px 0 6px;}
.faq-item .faq-rich ul{margin:0 0 12px; padding-left:20px;}
.faq-item .faq-rich li{font-size:15px; color:var(--grey-text); line-height:1.6; margin:0 0 6px;}
.faq-item .faq-rich strong{color:var(--black);}
.faq-item .faq-rich .faq-soon{margin-top:20px;}

/* ---------- Ariloop University intro animation ---------- */
.uni-hero{max-width:960px; margin:0 auto; aspect-ratio:16/9; padding:0; overflow:hidden; background:#041527 !important; border-color:rgba(255,255,255,0.12);}
.uni-hero iframe{flex:1; width:100%; height:100%; aspect-ratio:16/9; background:#041527 !important;}
.uni-grid{max-width:960px; margin-left:auto; margin-right:auto;}
.uni-hero-side{max-width:none; width:100%; margin:0;}
.uni-about-copy{text-align:left;}

/* hide the window-bar (dots + title) on all animation cards */
.anim-slot .anim-bar{display:none;}
.pricing-hero-art{margin-top:-12%; margin-bottom:-8%;}
@media (max-width:860px){ .pricing-hero-art{margin-top:-2%; margin-bottom:-6%;} }

/* ---------- home: redesigned features section (featured AI card + compact tiles) ---------- */
.fh-featured{
  display:grid; grid-template-columns:1.15fr 1fr; gap:40px; align-items:center;
  background:var(--black); color:#fff; border-radius:var(--radius-l); padding:44px 48px; margin-bottom:24px;
  box-shadow:0 24px 60px -30px rgba(19,26,49,.55);
  background-image:radial-gradient(60% 90% at 100% 0%, rgba(1,226,132,.16), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(176,18,255,.18), transparent 70%);
}
.fh-flag{display:inline-block; font:700 12px/1 var(--font-head); letter-spacing:.14em; text-transform:uppercase; color:var(--light-green); margin-bottom:14px;}
.fh-featured h3{color:#fff; margin:0 0 12px; font-size:clamp(24px,3vw,32px); line-height:1.2;}
.fh-featured p{color:rgba(255,255,255,.75); font-size:16px; margin:0 0 20px;}
.fh-featured .tag{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); color:#fff;}
.fh-featured .tag-list{margin-bottom:24px;}
.fh-steps{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px;}
.fh-steps li{display:flex; align-items:center; gap:16px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:16px 18px; font-size:15px; color:#fff;}
.fh-steps b{flex:none; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; font:700 14px/1 var(--font-head); color:var(--black); background:linear-gradient(135deg,var(--light-green),var(--light-blue));}
.fh-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.fh-tile{
  display:block; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-l);
  padding:24px; text-decoration:none; color:inherit; box-shadow:0 6px 24px rgba(19,26,49,.04);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fh-tile:hover{transform:translateY(-4px); box-shadow:0 16px 36px rgba(37,72,220,.14); border-color:rgba(37,72,220,.35);}
.fh-tile .feature-icon{margin-bottom:16px;}
.fh-tile h4{font-size:17px; margin:0 0 8px;}
.fh-tile p{font-size:14px; line-height:1.55; margin:0;}
@media (max-width:1180px){ .fh-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:860px){ .fh-featured{grid-template-columns:1fr; gap:28px; padding:32px 28px;} }
@media (max-width:640px){
  .fh-featured{padding:28px 22px; margin-bottom:16px;}
  .fh-steps{display:none;}
  .fh-grid{gap:12px;}
  .fh-tile{padding:16px 14px;}
  .fh-tile .feature-icon{width:44px; height:44px; margin-bottom:12px;}
  .fh-tile h4{font-size:15px; margin-bottom:6px;}
  .fh-tile p{font-size:13px;}
}
.fh-tile .tag-list{margin:14px 0 0; gap:6px;}
.fh-tile .tag{font-size:11.5px; padding:5px 10px;}
@media (max-width:640px){ .fh-tile .tag-list{margin-top:10px; gap:5px;} .fh-tile .tag{font-size:10.5px; padding:4px 8px;} }
@media (min-width:1181px){ .fh-tile .tag-list{flex-wrap:nowrap; gap:5px;} .fh-tile .tag{font-size:11px; padding:5px 9px; white-space:nowrap;} }
.fh-featured{margin:24px 0 0;}
@media (max-width:640px){ .fh-featured{margin:16px 0 0;} }

/* ---------- pricing: Field seats add-on band ---------- */
.field-addon{
  margin-top:32px; display:grid; grid-template-columns:1fr 1.5fr; gap:48px; align-items:start;
  background:var(--white); color:var(--black); border-radius:var(--radius-l); padding:40px 44px;
  border:1px solid rgba(176,18,255,.35); box-shadow:0 24px 60px -30px rgba(176,18,255,.45);
}
.fa-flag{display:inline-block; font:700 12px/1 var(--font-head); letter-spacing:.14em; text-transform:uppercase; color:var(--light-purple); margin-bottom:14px;}
.fa-title{display:flex; align-items:center; gap:14px; margin-bottom:12px;}
.fa-title .feature-icon{margin:0; flex:none;}
.fa-title h3{margin:0; color:var(--black);}
.fa-intro p{font-size:15px; color:var(--grey-text); margin:0 0 14px;}
.fa-price{font-size:13px; color:var(--grey-text); margin-bottom:22px;}
.fa-list{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; column-gap:32px;}
.fa-list li{display:flex; gap:10px; padding:12px 0; border-top:1px solid var(--border); font-size:14.5px; line-height:1.45; color:var(--black);}
.fa-list li::before{content:"✓"; color:var(--light-purple); font-weight:800; flex:none;}
.fa-note{margin:16px 0 0; font-size:13.5px; color:var(--grey-text);}
@media (max-width:900px){ .field-addon{grid-template-columns:1fr; gap:24px; padding:32px 26px;} }
@media (max-width:640px){ .fa-list{grid-template-columns:1fr;} .field-addon{padding:26px 20px;} .fa-intro .btn{width:100%; justify-content:center;} }
.field-addon .fa-note{color:var(--grey-text);}
@media (max-width:640px){ .site-header .logo-full{height:28px; width:auto;} }
