/* ==========================================================================
   SodiSchool — public landing page
   Brand: navy #020066 · lemon #96F507 · black #000 · white #fff
   ========================================================================== */

:root{
  --navy:#020066;
  --navy-deep:#01003a;
  --navy-mid:#050a7a;
  --lime:#96F507;
  --surface:#f6f6fb;
  --ink:#0b0b45;
  --muted:#5b5b78;
  --card-radius:18px;
  --wrap:1180px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  margin:0;
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  background:var(--navy);
  color:#fff;
  line-height:1.6;
  /* The hero art and glows are wider than the viewport by design; never let
     that turn into a horizontal scrollbar. */
  overflow-x:hidden;
}

img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3{margin:0;line-height:1.15;letter-spacing:-.02em}
p{margin:0}

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px}
.lime{color:var(--lime)}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.skip{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--lime);color:#02003a;padding:10px 18px;
  border-radius:0 0 10px 0;font-weight:600;
}
.skip:focus{left:0}

:focus-visible{outline:2px solid var(--lime);outline-offset:3px;border-radius:6px}

/* Anchor targets must clear the fixed navbar. */
[id]{scroll-margin-top:90px}

/* ============================ BUTTONS ============================ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-weight:600;font-size:14px;line-height:1;
  padding:15px 26px;border-radius:999px;
  transition:transform .22s var(--ease),box-shadow .22s var(--ease),background .22s var(--ease);
  white-space:nowrap;
}
.btn--sm{padding:11px 20px;font-size:13.5px}

.btn--lime{
  background:var(--lime);color:#04033a;
  box-shadow:0 8px 22px -8px rgba(150,245,7,.55);
}
.btn--lime:hover{transform:translateY(-2px);box-shadow:0 14px 30px -10px rgba(150,245,7,.75)}

.btn--ghost{
  background:rgba(255,255,255,.05);color:#fff;
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(6px);
}
.btn--ghost:hover{background:rgba(255,255,255,.13);transform:translateY(-2px)}

.btn__arrow{transition:transform .22s var(--ease)}
.btn:hover .btn__arrow{transform:translateX(4px)}

.btn__play{
  width:22px;height:22px;border-radius:50%;
  background:var(--lime);color:#04033a;
  display:inline-flex;align-items:center;justify-content:center;flex:none;
}

/* ============================ NAVBAR ============================ */
.nav{
  position:fixed;inset:0 0 auto;z-index:100;
  transition:background .3s var(--ease),box-shadow .3s var(--ease);
}
.nav.is-stuck{
  background:rgba(2,0,72,.88);
  backdrop-filter:blur(14px);
  box-shadow:0 1px 0 rgba(255,255,255,.07);
}
.nav__inner{display:flex;align-items:center;gap:26px;height:76px}

.nav__logo img{width:152px;height:auto}

.nav__links{display:flex;align-items:center;gap:26px;margin:0 auto}
.nav__links a{
  position:relative;font-size:13.5px;font-weight:500;
  color:rgba(255,255,255,.82);padding:6px 0;transition:color .2s var(--ease);
}
.nav__links a:hover{color:#fff}
.nav__links a::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:var(--lime);border-radius:2px;
  transform:scaleX(0);transform-origin:center;transition:transform .25s var(--ease);
}
.nav__links a:hover::after{transform:scaleX(1)}
.nav__links a.is-active{color:#fff}
.nav__links a.is-active::after{transform:scaleX(1)}

.nav__actions{display:flex;align-items:center;gap:18px}
.nav__login{font-size:13.5px;font-weight:500;color:rgba(255,255,255,.9)}
.nav__login:hover{color:var(--lime)}

/* Check Result: a utility action, outlined rather than solid so it reads as
   secondary to Get Started while still being easy to find. */
.nav__result{
  display:inline-flex;align-items:center;gap:7px;
  font-size:13px;font-weight:600;color:var(--lime);
  border:1px solid rgba(150,245,7,.4);border-radius:999px;padding:9px 15px;
  transition:background .22s var(--ease),border-color .22s var(--ease),transform .22s var(--ease);
}
.nav__result:hover{
  background:rgba(150,245,7,.12);border-color:var(--lime);transform:translateY(-1px);
}
.mnav__result{color:var(--lime)!important;font-weight:600!important}

.nav__burger{
  display:none;width:42px;height:42px;flex:none;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);
  border-radius:11px;cursor:pointer;padding:0;
  flex-direction:column;align-items:center;justify-content:center;gap:4px;
}
.nav__burger span{
  display:block;width:17px;height:2px;background:#fff;border-radius:2px;
  transition:transform .28s var(--ease),opacity .2s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav__burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav__burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* Mobile panel */
.mnav{
  background:rgba(2,0,64,.97);
  backdrop-filter:blur(14px);
  border-top:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.mnav[hidden]{display:none}
.mnav__links{display:flex;flex-direction:column;padding:8px 24px 22px}
.mnav__links a{
  padding:14px 2px;font-size:15px;font-weight:500;
  color:rgba(255,255,255,.88);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.mnav__links a:last-child{border-bottom:0}
.mnav__login{color:var(--lime)!important;font-weight:600!important}
.mnav.is-open{animation:drop .3s var(--ease)}
@keyframes drop{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

/* ============================ HERO ============================ */
.hero{
  position:relative;isolation:isolate;
  padding:150px 0 0;
  background:
    radial-gradient(120% 85% at 78% 28%, #0b1fa8 0%, rgba(11,31,168,0) 58%),
    radial-gradient(90% 70% at 8% 8%, #0a148c9 0%, rgba(10,20,140,0) 60%),
    linear-gradient(180deg,#01004f 0%, var(--navy) 42%, #01003f 100%);
  overflow:hidden;
}
.hero__glow{
  position:absolute;z-index:-1;top:-14%;right:-8%;
  width:760px;height:760px;border-radius:50%;
  background:radial-gradient(circle,rgba(37,84,255,.42) 0%,rgba(37,84,255,0) 66%);
  filter:blur(14px);pointer-events:none;
}
.hero__grid{
  display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:34px;align-items:center;padding-bottom:120px;
}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 16px;border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(150,245,7,.34);
  font-size:10.5px;font-weight:600;letter-spacing:.13em;color:#fff;
}
.badge__dot{font-size:11px;line-height:1}
.badge__tick{color:var(--lime);flex:none}

.hero__title{
  margin:26px 0 20px;
  font-size:clamp(37px,4.9vw,60px);
  font-weight:800;line-height:1.07;
}
.hero__lead{
  max-width:445px;font-size:15px;line-height:1.75;
  color:rgba(255,255,255,.74);
}
.hero__cta{display:flex;flex-wrap:wrap;gap:14px;margin:32px 0 40px}

.trust{display:flex;align-items:center;gap:14px}
.trust__faces{display:flex}
.face{
  width:38px;height:38px;border-radius:50%;
  border:2px solid #0a1170;margin-right:-11px;flex:none;
  background-size:cover;
}
.face--1{background:linear-gradient(140deg,#f2b98a,#c97b4e)}
.face--2{background:linear-gradient(140deg,#8fb7f0,#4a6fc4)}
.face--3{background:linear-gradient(140deg,#f0c48f,#b07d45)}
.trust__text{font-size:12px;line-height:1.5;color:rgba(255,255,255,.66)}

.hero__art{position:relative}
/*
 * Bleeds slightly past the grid column, as in the design.
 *
 * Both product images ship with their own dark-blue ground baked in, which
 * otherwise reads as a visible rectangle sitting on the section. Feathering
 * the edges lets that ground dissolve into the navy so the device floats,
 * which is how the approved design looks.
 */
.hero__art img{
  width:118%;max-width:none;margin-left:-4%;
  /* Two edge ramps intersected: fade the left (where it meets the headline)
     and the top and bottom. The right side runs off the viewport anyway. */
  -webkit-mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, #000 15%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 13%, #000 84%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, #000 15%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 13%, #000 84%, rgba(0,0,0,0) 100%);
  mask-composite:intersect;
}

.hero__curve{
  display:block;width:100%;height:110px;margin-bottom:-1px;
  position:relative;z-index:2;
}

/* ============================ FEATURES ============================ */
.features{
  background:var(--surface);
  color:var(--ink);
  padding:14px 0 96px;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:10.5px;font-weight:600;letter-spacing:.15em;color:var(--navy);
}
.eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--lime);flex:none}
.eyebrow--dark{color:#fff}

.secthead{
  display:grid;grid-template-columns:1fr 1fr;gap:40px;
  align-items:end;margin-bottom:46px;
}
.secthead__title{
  margin-top:16px;font-size:clamp(27px,3.1vw,38px);
  font-weight:800;color:var(--navy);
}
.secthead__lead{font-size:14.5px;line-height:1.8;color:var(--muted);max-width:430px}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;align-items:start}

/* The house card: deep blue ground with a lemon icon and a lemon bloom that
   grows on hover, matching the rest of the site. */
.card{
  position:relative;overflow:hidden;
  background:linear-gradient(165deg,#0b1170 0%,#020066 58%,#01003f 100%);
  border:1px solid rgba(150,245,7,.18);
  border-radius:var(--card-radius);
  padding:30px 28px 26px;
  box-shadow:0 16px 38px -20px rgba(2,0,90,.6);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.card::after{
  content:"";position:absolute;inset:auto -30% -45% auto;
  width:230px;height:230px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(150,245,7,.18),transparent 70%);
  opacity:0;transition:opacity .32s var(--ease);
}
.card:hover{
  transform:translateY(-8px);
  border-color:rgba(150,245,7,.5);
  box-shadow:0 30px 60px -24px rgba(2,0,90,.8);
}
.card:hover::after{opacity:1}
.card:active{transform:translateY(-3px)}

/* The middle card leads: brighter edge and a touch more lift. */
.card--feature{
  border-color:rgba(150,245,7,.42);
  box-shadow:0 24px 52px -22px rgba(2,0,90,.75),0 0 0 1px rgba(150,245,7,.12) inset;
}
@media (min-width:921px){ .card--feature{transform:translateY(-10px)}
  .card--feature:hover{transform:translateY(-18px)} }

.card__icon{
  width:54px;height:54px;border-radius:15px;
  display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:22px;
  background:rgba(150,245,7,.12);
  border:1px solid rgba(150,245,7,.3);
  color:var(--lime);
  transition:background .3s var(--ease),transform .3s var(--ease);
}
.card:hover .card__icon{background:rgba(150,245,7,.22);transform:translateY(-2px)}
/* the old per-card tints are overridden; one lemon treatment throughout */
.card__icon--navy,.card__icon--green,.card__icon--violet{
  background:rgba(150,245,7,.12);color:var(--lime);
}

.card__title{font-size:17.5px;font-weight:700;color:#fff;margin-bottom:12px}
.card__body{font-size:13.5px;line-height:1.8;color:rgba(255,255,255,.68);margin-bottom:20px}
.card__more{
  display:inline-flex;align-items:center;gap:7px;
  font-size:13px;font-weight:600;color:var(--lime);
}
.card__more span{transition:transform .22s var(--ease)}
.card__more:hover span{transform:translateX(4px)}

/* ============================ AGENTS ============================ */
.partners{
  position:relative;isolation:isolate;overflow:hidden;
  padding:88px 0 130px;
  background:
    radial-gradient(80% 70% at 88% 22%, rgba(24,58,214,.5) 0%, rgba(24,58,214,0) 62%),
    linear-gradient(180deg,#01003f 0%,#020069 55%,#01003c 100%);
}
.partners__glow{
  position:absolute;z-index:-1;left:-12%;bottom:-40%;
  width:640px;height:640px;border-radius:50%;
  background:radial-gradient(circle,rgba(37,84,255,.3) 0%,rgba(37,84,255,0) 68%);
}
.partners__grid{
  display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);
  gap:46px;align-items:center;
}
.partners__title{font-size:clamp(27px,3.2vw,39px);font-weight:800;margin:16px 0 18px}
.partners__lead{font-size:14px;line-height:1.85;color:rgba(255,255,255,.7);margin-bottom:30px;max-width:390px}

.partners__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.acard{
  background:linear-gradient(170deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  border:1px solid rgba(150,245,7,.16);
  border-radius:16px;padding:26px 20px;text-align:center;
  transition:transform .28s var(--ease),border-color .28s var(--ease),background .28s var(--ease);
}
.acard:hover{
  transform:translateY(-6px);
  border-color:rgba(150,245,7,.42);
  background:linear-gradient(170deg,rgba(255,255,255,.11),rgba(255,255,255,.04));
}
.acard__icon{display:inline-flex;color:var(--lime);margin-bottom:16px}
.acard__title{font-size:15px;font-weight:700;color:var(--lime);margin-bottom:10px}
.acard__body{font-size:12.5px;line-height:1.75;color:rgba(255,255,255,.64)}

/* ======================= STATISTICS (floating) ======================= */
.statsband{
  background:#fff;
  /* The card floats across the seam between the agent and CTA sections. */
  margin-top:-64px;margin-bottom:-64px;
  position:relative;z-index:5;
}
.stats{
  background:#fff;border-radius:22px;
  box-shadow:0 30px 70px -30px rgba(2,0,80,.45),0 2px 6px rgba(2,0,80,.06);
  display:grid;grid-template-columns:repeat(4,1fr);
  padding:30px 12px;
}
.stat{
  display:flex;align-items:center;gap:15px;
  padding:6px 24px;border-right:1px solid #e9e9f2;
}
.stat:last-child{border-right:0}
.stat__icon{
  width:48px;height:48px;border-radius:14px;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
}
.stat__icon--blue{background:#e8efff;color:#2f5bd8}
.stat__icon--green{background:#e6f8ec;color:#1f9d4d}
.stat__icon--violet{background:#efe9ff;color:#6d3ce7}
.stat__icon--amber{background:#fff1e0;color:#e08a2b}
.stat__num{
  font-size:29px;font-weight:800;color:var(--navy);line-height:1.1;
  /* tabular figures stop the number jittering while it counts up */
  font-variant-numeric:tabular-nums;letter-spacing:-.02em;
}
.stat__num--violet{color:#6d3ce7}
.stat__rule{
  display:block;width:26px;height:3px;border-radius:3px;
  background:var(--lime);margin:8px 0 7px;
}
.stat__rule--violet{background:#6d3ce7}
.stat__label{font-size:11.5px;line-height:1.45;color:#6b6b85}

/* ============================ SCHOOL CTA ============================ */
.cta{
  position:relative;isolation:isolate;overflow:hidden;
  padding:150px 0 110px;
  background:
    radial-gradient(75% 80% at 72% 52%, rgba(30,72,235,.55) 0%, rgba(30,72,235,0) 62%),
    linear-gradient(180deg,#01003c 0%,#020068 52%,#01003a 100%);
}
.cta__glow{
  position:absolute;z-index:-1;right:2%;top:16%;
  width:620px;height:620px;border-radius:50%;
  background:radial-gradient(circle,rgba(52,96,255,.34) 0%,rgba(52,96,255,0) 66%);
}
.cta__grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:36px;align-items:center;
}
.cta__title{font-size:clamp(28px,3.4vw,41px);font-weight:800;margin-bottom:18px}
.cta__lead{font-size:14.5px;line-height:1.85;color:rgba(255,255,255,.72);max-width:430px;margin-bottom:32px}
.cta__buttons{display:flex;flex-wrap:wrap;gap:14px}
.cta__art img{
  width:104%;max-width:none;
  -webkit-mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, #000 16%, #000 88%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 15%, #000 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, #000 16%, #000 88%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 15%, #000 85%, rgba(0,0,0,0) 100%);
  mask-composite:intersect;
}

/* ============================ FOOTER ============================ */
.foot{background:var(--navy-deep);padding:66px 0 0}
.foot__grid{
  display:grid;grid-template-columns:1.7fr 1fr 1fr 1.5fr;
  gap:40px;padding-bottom:46px;
}
.foot__logo{width:150px;margin-bottom:18px}
.foot__about{font-size:12.5px;line-height:1.85;color:rgba(255,255,255,.6);max-width:290px}
.foot__social{display:flex;gap:10px;margin-top:22px}
.foot__social a{
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.07);color:rgba(255,255,255,.8);
  display:inline-flex;align-items:center;justify-content:center;
  transition:background .22s var(--ease),color .22s var(--ease),transform .22s var(--ease);
}
.foot__social a:hover{background:var(--lime);color:#03003a;transform:translateY(-3px)}

.foot__head{font-size:14px;font-weight:700;color:#fff;margin-bottom:20px}
.foot__col ul li{margin-bottom:12px}
.foot__col ul a{font-size:12.5px;color:rgba(255,255,255,.6);transition:color .2s var(--ease)}
.foot__col ul a:hover{color:var(--lime)}
.foot__news .foot__about{margin-bottom:18px}

/* Footer call to action, for visitors weighing up the partner programme. */
.foot__cta{
  display:inline-flex;align-items:center;gap:8px;margin-top:20px;
  font-size:11.5px;font-weight:700;line-height:1.3;
  color:var(--lime);border:1px solid rgba(150,245,7,.38);
  border-radius:999px;padding:10px 15px;
  transition:background .22s var(--ease),border-color .22s var(--ease),transform .22s var(--ease);
}
.foot__cta:hover{
  background:rgba(150,245,7,.12);border-color:var(--lime);transform:translateY(-2px);
}
.foot__cta svg{flex:none}

.news{position:relative;max-width:290px}
.news input{
  width:100%;padding:13px 52px 13px 16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;color:#fff;font:inherit;font-size:12.5px;
  transition:border-color .22s var(--ease),background .22s var(--ease);
}
.news input::placeholder{color:rgba(255,255,255,.38)}
.news input:focus{outline:none;border-color:var(--lime);background:rgba(255,255,255,.09)}
.news button{
  position:absolute;top:5px;right:5px;
  width:38px;height:38px;border:0;border-radius:8px;
  background:var(--lime);color:#03003a;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  transition:transform .22s var(--ease),filter .22s var(--ease);
}
.news button:hover{transform:translateX(2px);filter:brightness(1.08)}
.news__msg{font-size:11.5px;line-height:1.5;color:var(--lime);margin-top:10px;min-height:1px}

.foot__bottom{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:22px 24px 26px;border-top:1px solid rgba(255,255,255,.08);
  font-size:11.5px;color:rgba(255,255,255,.5);
}
.foot__love{display:inline-flex;align-items:center;gap:6px}
.heart{color:#ff4d6d;font-size:13px}

/* ==========================================================================
   PREMIUM LAYER
   Motion and brand accents for the home page. Everything here is decorative
   and every animation is switched off under prefers-reduced-motion, so the
   page still reads perfectly still.
   ========================================================================== */

/* ---- Hero: the glow breathes rather than sitting flat ---- */
.hero__glow{animation:breathe 9s ease-in-out infinite}
.partners__glow,.cta__glow{animation:breathe 11s ease-in-out infinite reverse}
@keyframes breathe{
  0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.9}
  50%{transform:translate3d(0,-18px,0) scale(1.08);opacity:1}
}

/* ---- A faint lemon grid behind the hero, for depth ---- */
.hero::before{
  content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
  background-image:
    linear-gradient(rgba(150,245,7,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(150,245,7,.045) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 70% 60% at 30% 40%,#000 10%,transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 30% 40%,#000 10%,transparent 75%);
}

/* ---- Hero content arrives in sequence ---- */
.hero__copy > *{animation:riseIn .8s var(--ease) both}
.hero__copy > *:nth-child(1){animation-delay:.05s}
.hero__copy > *:nth-child(2){animation-delay:.16s}
.hero__copy > *:nth-child(3){animation-delay:.27s}
.hero__copy > *:nth-child(4){animation-delay:.38s}
.hero__copy > *:nth-child(5){animation-delay:.49s}
.hero__art{animation:riseIn 1s var(--ease) .3s both}
@keyframes riseIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

/* ---- The product shot drifts, so the hero is never completely static ---- */
.hero__art picture{display:block;animation:drift 7s ease-in-out 1.3s infinite}
@keyframes drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-13px)}}

/* ---- Lemon sheen sweeping across the primary button ---- */
.btn--lime{position:relative;overflow:hidden;isolation:isolate}
.btn--lime::before{
  content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;z-index:-1;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  transform:skewX(-18deg);
}
.btn--lime:hover::before{animation:sheen .75s var(--ease)}
@keyframes sheen{to{left:120%}}

/* ---- Section headings get a lemon underscore ---- */
.secthead__title{position:relative;padding-bottom:16px}
.secthead__title::after{
  content:"";position:absolute;left:0;bottom:0;
  width:52px;height:4px;border-radius:4px;background:var(--lime);
}

/* ---- The floating stats card sits in a soft lemon halo ---- */
.stats{position:relative}
.stats::before{
  content:"";position:absolute;inset:-2px;border-radius:24px;z-index:-1;
  background:linear-gradient(120deg,rgba(150,245,7,.55),rgba(43,43,212,.35),rgba(150,245,7,.55));
  background-size:220% 220%;
  animation:halo 8s ease-in-out infinite;
  filter:blur(9px);opacity:.5;
}
@keyframes halo{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.stat__icon{transition:transform .3s var(--ease)}
.stat:hover .stat__icon{transform:translateY(-3px) scale(1.06)}

/* ---- Partner cards on the home page pick up the lemon hover ---- */
.acard{position:relative;overflow:hidden}
.acard::after{
  content:"";position:absolute;inset:auto -30% -50% auto;
  width:200px;height:200px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(150,245,7,.2),transparent 70%);
  opacity:0;transition:opacity .3s var(--ease);
}
.acard:hover::after{opacity:1}
.acard__icon{transition:transform .3s var(--ease)}
.acard:hover .acard__icon{transform:translateY(-3px)}

/* ---- The CTA artwork drifts too, a beat out of step with the hero ---- */
.cta__art picture{display:block;animation:drift 8s ease-in-out 0.6s infinite}

@media (prefers-reduced-motion:reduce){
  .hero__glow,.partners__glow,.cta__glow,
  .hero__copy > *,.hero__art,.hero__art picture,
  .cta__art picture,.stats::before,.btn--lime:hover::before{
    animation:none!important;
  }
  .hero__copy > *,.hero__art{opacity:1;transform:none}
}

/* ==========================================================================
   DEPTH / 3D
   Cards sit in space rather than on the page: a lit top edge, a shadow stack
   that falls off like a real one, and a small pointer-tracked tilt.
   ========================================================================== */

/* Perspective lives on the container so sibling cards share one vanishing point. */
.cards,.fgrid,.plans,.ncards,.agents__cards,.partners__cards,.zones{
  perspective:1400px;
}

.card,.fitem,.plan,.ncard,.acard,.zone{
  transform-style:preserve-3d;
  /* lit top edge + inner floor shading reads as a solid slab */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 2px 4px rgba(2,0,60,.28),
    0 8px 16px -6px rgba(2,0,60,.34),
    0 22px 44px -18px rgba(2,0,70,.55);
}
.card:hover,.fitem:hover,.plan:hover,.ncard:hover,.acard:hover,.zone:hover{
  box-shadow:
    inset 0 1px 0 rgba(150,245,7,.3),
    inset 0 -1px 0 rgba(0,0,0,.4),
    0 4px 8px rgba(2,0,60,.3),
    0 16px 30px -8px rgba(2,0,60,.4),
    0 40px 70px -22px rgba(2,0,70,.72);
}

/* Icon tiles read as raised chips. */
.card__icon,.fitem__icon,.plan__icon,.acard__icon,.zone__icon,.chooser__pi,.pbadge__icon{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -2px 4px rgba(0,0,0,.28),
    0 6px 14px -6px rgba(0,0,0,.5);
}

/* Contents lift off the card face, which is what makes the tilt convincing. */
.card__icon,.fitem__icon,.card__title,.fitem__title,.plan__name,.plan__price{
  transform:translateZ(22px);
}
.card__body,.fitem__body,.card__more{transform:translateZ(12px)}

/*
 * Pointer-tracked tilt; --rx/--ry/--ty are written by main.js.
 *
 * The trebled class is deliberate. Both `.reveal.is-in { transform: none }`
 * and `.card:hover { transform: … }` are specificity 0,2,0 and would otherwise
 * cancel the tilt outright, so this has to outrank them. --ty carries the hover
 * lift that :hover used to provide.
 */
.tilt.tilt.tilt{
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--ty,0px));
  transition:transform .18s ease-out;
}
.tilt.is-resetting{transition:transform .5s var(--ease)}
/* The featured cards keep their standing offset while tilting. */
.card--feature.tilt.tilt.tilt{
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))
            translateY(calc(var(--ty,0px) - 10px));
}
.plan--pop.tilt.tilt.tilt{
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))
            translateY(var(--ty,0px)) scale(1.035);
}

/* The hero product shot sits in space rather than flat on the page. */
.hero__art{perspective:1600px}
.hero__art picture{
  transform:rotateY(-7deg) rotateX(2.5deg);
  transform-origin:60% 50%;
  transition:transform .6s var(--ease);
}
.hero__art:hover picture{transform:rotateY(-2deg) rotateX(1deg) scale(1.02)}

/* The floating stats slab gets a genuine thickness. */
.stats{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 1px 2px rgba(2,0,80,.14),
    0 10px 20px -6px rgba(2,0,80,.22),
    0 34px 66px -26px rgba(2,0,80,.5);
}

@media (prefers-reduced-motion:reduce){
  .hero__art picture,.tilt{transform:none!important;transition:none}
}
/* Tilt is a pointer affordance; leave touch devices alone. */
@media (hover:none){ .tilt{transform:none!important} }

/* ============================ REVEAL ============================ */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .btn,.card,.acard,.foot__social a{transition:none}
}

/* ============================ RESPONSIVE ============================ */

/* Laptops / small desktops */
@media (max-width:1080px){
  .nav__links{gap:19px}
  .nav__links a{font-size:12.5px}
  .nav__logo img{width:138px}
  .hero__grid{gap:24px}
}

/* Tablet — the desktop nav no longer fits, and the big grids reflow. */
@media (max-width:920px){
  .nav__links,.nav__actions{display:none}
  .nav__burger{display:flex}
  .nav__inner{justify-content:space-between;height:70px}
  .nav__logo{margin-right:auto}
  .nav{background:rgba(2,0,72,.9);backdrop-filter:blur(14px)}

  .hero{padding-top:118px}
  .hero__grid{grid-template-columns:1fr;padding-bottom:70px;text-align:center}
  .hero__copy{display:flex;flex-direction:column;align-items:center}
  .hero__lead{max-width:560px}
  .hero__cta{justify-content:center}
  .trust{justify-content:center}
  .hero__art{margin-top:8px}
  .hero__art img{width:100%;margin-left:0}
  .hero__curve{height:64px}

  .secthead{grid-template-columns:1fr;gap:16px;align-items:start}
  .secthead__lead{max-width:none}
  .cards{grid-template-columns:1fr;gap:20px}

  .partners{padding:70px 0 110px}
  .partners__grid{grid-template-columns:1fr;gap:32px;text-align:center}
  .partners__copy{display:flex;flex-direction:column;align-items:center}
  .partners__lead{max-width:560px}
  .partners__cards{grid-template-columns:1fr}

  .stats{grid-template-columns:repeat(2,1fr);gap:6px;padding:24px 8px}
  .stat{border-right:0;padding:14px 18px}
  .stat:nth-child(1),.stat:nth-child(2){border-bottom:1px solid #e9e9f2}
  .stat:nth-child(odd){border-right:1px solid #e9e9f2}

  .cta{padding:132px 0 88px}
  .cta__grid{grid-template-columns:1fr;gap:30px;text-align:center}
  .cta__copy{display:flex;flex-direction:column;align-items:center}
  .cta__lead{max-width:560px}
  .cta__buttons{justify-content:center}
  .cta__art{order:-1;max-width:460px;margin:0 auto}
  .cta__art img{width:100%}

  .foot__grid{grid-template-columns:1fr 1fr;gap:34px}
  .foot__brand{grid-column:1/-1}
  .foot__about{max-width:none}
  .news{max-width:none}
}

/* Phone */
@media (max-width:600px){
  .wrap{padding:0 18px}
  [id]{scroll-margin-top:78px}

  .nav__logo img{width:124px}

  .hero{padding-top:104px}
  .hero__grid{padding-bottom:52px}
  .hero__title{font-size:clamp(30px,8.6vw,40px);margin:20px 0 16px}
  .hero__lead{font-size:14px}
  .hero__cta{gap:11px;margin:26px 0 32px;width:100%;flex-direction:column}
  .hero__cta .btn{width:100%}
  .badge{font-size:9.5px;padding:7px 13px}
  .hero__curve{height:44px}

  .features{padding-bottom:64px}
  .card{padding:26px 22px 24px}

  .partners{padding:60px 0 100px}
  .partners__cards{gap:14px}

  .statsband{margin-top:-54px;margin-bottom:-54px}
  .stats{border-radius:18px}
  .stat{gap:12px;padding:13px 12px}
  .stat__icon{width:42px;height:42px;border-radius:12px}
  .stat__num{font-size:19px}
  .stat__label{font-size:10.5px}

  .cta{padding:118px 0 74px}
  .cta__buttons{width:100%;flex-direction:column}
  .cta__buttons .btn{width:100%}

  .foot{padding-top:52px}
  .foot__grid{grid-template-columns:1fr;gap:30px}
  .foot__brand{grid-column:auto}
  .foot__bottom{flex-direction:column;text-align:center;gap:10px}
}

/* Very narrow — keep the stats readable rather than cramming four columns. */
@media (max-width:380px){
  .stats{grid-template-columns:1fr}
  .stat{border-right:0!important;border-bottom:1px solid #e9e9f2}
  .stat:last-child{border-bottom:0}
}
