/* =========================================================================
   AbsorbHR website, rebuild round 19.11
   One shared stylesheet for every page. Same brand as the live site:
   purple #570080, dark #3b0057, light #7a1fa2, soft #f4e8fb, Inter.
   ========================================================================= */

:root {
  --brand: #570080;
  --brand-dark: #3b0057;
  --brand-deep: #460066;
  --brand-light: #7a1fa2;
  --brand-soft: #f4e8fb;
  --brand-glow: #b15be0;
  --ink: #111827;
  --muted: #4b5563;
  --subtle: #5f6775;
  --line: #ebe4f0;
  --off: #fafaf9;
  --white: #ffffff;
  --dark: #0f172a;
  --ok: #047857;
  --ok-bg: #ecfdf5;
  --err: #991b1b;
  --err-bg: #fef2f2;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 12px 32px -12px rgba(59, 0, 87, .18);
  --shadow-lg: 0 30px 80px -30px rgba(59, 0, 87, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand-glow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--brand); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }

/* ---------- Type ---------- */
.label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.label::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.label--light { color: rgba(255, 255, 255, .78); }
.h-display { font-weight: 800; font-size: clamp(2.4rem, 5.2vw, 4.7rem); letter-spacing: -0.035em; line-height: 1.04; }
.h-section { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; }
.h-card { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.65; }
.on-dark .lead, .lead--light { color: rgba(255, 255, 255, .78); }
.grad-text {
  background: linear-gradient(100deg, #fff 0%, #f0d6ff 45%, #d9a8f5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-text--brand {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-light) 60%, var(--brand-glow) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.small { font-size: .875rem; color: var(--subtle); }
.note { font-size: .8125rem; color: var(--subtle); }
.on-dark .note, .on-dark .small { color: rgba(255, 255, 255, .78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.6rem; border-radius: 999px;
  font: 600 1rem/1.2 'Inter', sans-serif; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; box-shadow: 0 8px 24px -8px rgba(87, 0, 128, .6); }
.btn--primary:hover { box-shadow: 0 14px 32px -10px rgba(87, 0, 128, .7); }
.btn--white { background: #fff; color: var(--brand); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--sm { min-height: 40px; padding: .55rem 1.15rem; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link-arrow { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-light), var(--brand-glow)); z-index: 60; }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--nav-h); }
.nav__logo { display: block; width: 168px; position: relative; flex-shrink: 0; }
.nav__logo img { width: 100%; height: auto; transition: opacity .3s; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 1.6rem; align-items: center; }
.nav__links a { white-space: nowrap; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: .4rem 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: #fff; font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: .75rem; }
.nav__phone { white-space: nowrap; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; display: inline-flex; gap: .45rem; align-items: center; }
.nav__login { white-space: nowrap; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .45); }
.nav__login:hover { background: rgba(255, 255, 255, .12); }
.nav.is-solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(59, 0, 87, .35); }
.nav.is-solid .logo-light { opacity: 0; }
.nav.is-solid .logo-dark { opacity: 1; }
.nav.is-solid .nav__links a { color: var(--ink); }
.nav.is-solid .nav__links a[aria-current="page"] { color: var(--brand); }
.nav.is-solid .nav__phone { color: var(--brand); }
.nav.is-solid .nav__login { color: var(--brand); border-color: rgba(87, 0, 128, .35); }
.nav.is-solid .nav__login:hover { background: var(--brand-soft); }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .12); border-radius: 12px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s; }
.nav__burger span:nth-child(1) { top: 15px; } .nav__burger span:nth-child(2) { top: 21px; } .nav__burger span:nth-child(3) { top: 27px; }
.nav.is-solid .nav__burger { background: var(--brand-soft); }
.nav.is-solid .nav__burger span { background: var(--brand); }
.nav.is-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav__menu { display: none; }
@media (max-width: 1360px) { .nav__phone { display: none; } .nav__links { gap: 1.2rem; } }
@media (max-width: 1180px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo { width: 140px; }
  .nav__menu { display: block; max-height: 0; overflow: hidden; background: #fff; transition: max-height .4s var(--ease); }
  .nav.is-open { background: #fff; }
  .nav.is-open .logo-light { opacity: 0; } .nav.is-open .logo-dark { opacity: 1; }
  .nav.is-open .nav__burger { background: var(--brand-soft); } .nav.is-open .nav__burger span { background: var(--brand); }
  .nav.is-open .nav__menu { max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); }
  .nav__menu a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
  .nav__menu a[aria-current="page"] { color: var(--brand); }
  /* The menu's link rule above would strip the button's side padding and push its words to the left edge. */
  .nav__menu .btn { display: flex; justify-content: center; text-align: center; padding: .8rem 1.6rem; margin: 1rem 0 1.25rem; width: 100%; border-bottom: 0; color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 48%, var(--brand-dark) 100%);
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 96px)) 0 clamp(56px, 8vw, 110px);
}
.hero--page { padding-bottom: clamp(48px, 6vw, 84px); }
.aurora { position: absolute; inset: -20%; z-index: -2; pointer-events: none; filter: blur(60px); opacity: .85; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 50%; top: 2%; background: radial-gradient(circle, rgba(177, 91, 224, .55), transparent 65%); }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; left: 2%; top: 42%; background: radial-gradient(circle, rgba(122, 31, 162, .7), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 72%; top: 55%; background: radial-gradient(circle, rgba(240, 190, 255, .35), transparent 65%); animation-duration: 18s; animation-delay: -10s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-6%, 4%, 0) scale(1.12); } 100% { transform: translate3d(5%, -5%, 0) scale(.95); } }
.gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__title { margin: 1.4rem 0 1.4rem; }
.hero__sub { max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.micro { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: .875rem; color: rgba(255, 255, 255, .72); }
.micro i { color: #e7b8ff; margin-right: .35rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.chip-stat { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; font-weight: 600; color: #fff; backdrop-filter: blur(6px); }
.chip-stat i { color: #e7b8ff; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .65); margin-bottom: 1rem; }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
@media (max-width: 1100px) { .hero__grid { grid-template-columns: 1fr; } .portal { max-width: 560px; } }

/* ---------- Command bar (the "tell us what's happening" tool) ---------- */
.cmd { margin-top: 2rem; max-width: 40rem; }
.cmd__box {
  position: relative; display: flex; align-items: center; gap: .6rem;
  padding: .5rem .5rem .5rem 1.1rem; border-radius: 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 0 rgba(231, 184, 255, 0), 0 20px 50px -20px rgba(0, 0, 0, .45);
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.cmd__box::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, rgba(231, 184, 255, .9) 82%, transparent 94%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.cmd__box:focus-within { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); box-shadow: 0 0 0 6px rgba(231, 184, 255, .18), 0 20px 50px -20px rgba(0, 0, 0, .45); }
.cmd__box > i { color: #e7b8ff; font-size: 1.05rem; }
.cmd__input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: 500 1.05rem/1.4 'Inter', sans-serif; padding: .7rem 0; }
.cmd__input::placeholder { color: rgba(255, 255, 255, .62); }
.cmd__input:focus { outline: none; }
.cmd__go { flex-shrink: 0; }
.cmd__kbd { font: 600 .72rem/1 'Inter', sans-serif; color: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; padding: .3rem .45rem; }
.cmd__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.cmd__chip { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .88); border-radius: 999px; padding: .4rem .8rem; font: 500 .82rem/1.2 'Inter', sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.cmd__chip:hover, .cmd__chip:focus-visible { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); }
@media (max-width: 560px) { .cmd__kbd { display: none; } .cmd__go span { display: none; } .cmd__go { padding-inline: 1rem; } }

/* Route result */
.route { margin-top: 1.1rem; border-radius: var(--radius); background: rgba(15, 0, 28, .35); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.route[hidden] { display: none; }
.route__head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.route__dot { width: 9px; height: 9px; border-radius: 50%; background: #7ef0b5; box-shadow: 0 0 0 4px rgba(126, 240, 181, .18); animation: pulse 1.8s infinite; flex-shrink: 0; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(126, 240, 181, 0); } }
.route__title { font-weight: 700; font-size: .98rem; }
.route__lanes { display: grid; grid-template-columns: repeat(3, 1fr); }
.route__lane { padding: 1rem 1.2rem; border-right: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.route__lane:last-child { border-right: 0; }
.route.is-on .route__lane { opacity: 1; transform: none; }
.route.is-on .route__lane:nth-child(2) { transition-delay: .12s; }
.route.is-on .route__lane:nth-child(3) { transition-delay: .24s; }
.route__lane h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #e7b8ff; margin-bottom: .45rem; display: flex; gap: .45rem; align-items: center; }
.route__lane p { font-size: .88rem; color: rgba(255, 255, 255, .86); line-height: 1.55; }
.route__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: .85rem 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 720px) { .route__lanes { grid-template-columns: 1fr; } .route__lane { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); } }

/* ---------- Portal glass mock (hero right) ---------- */
.portal { position: relative; perspective: 1200px; }
.portal__frame {
  border-radius: 22px; padding: 1.1rem; color: var(--ink);
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(250, 245, 253, .92));
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  transform: rotateY(-8deg) rotateX(5deg); transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.portal:hover .portal__frame { transform: rotateY(-2deg) rotateX(2deg); }
.portal__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); margin-bottom: .9rem; }
.portal__dots { display: flex; gap: 5px; } .portal__dots i { width: 9px; height: 9px; border-radius: 50%; background: #e5d6ee; }
.portal__co { font-size: .78rem; font-weight: 700; color: var(--brand); }
.portal__tag { font-size: .68rem; font-weight: 600; color: var(--subtle); background: var(--off); border: 1px solid var(--line); padding: .15rem .5rem; border-radius: 999px; }
.portal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem .9rem; }
.pcard--wide { grid-column: 1 / -1; }
.pcard__k { font-size: .7rem; font-weight: 600; color: var(--subtle); text-transform: uppercase; letter-spacing: .08em; display: flex; gap: .4rem; align-items: center; }
.pcard__k i { color: var(--brand-light); }
.pcard__v { font-size: 1.55rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin-top: .2rem; }
.pcard__s { font-size: .74rem; color: var(--subtle); }
.bar { height: 7px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; margin-top: .55rem; }
.bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-glow)); transform-origin: 0 50%; animation: grow 1.6s var(--ease) both .4s; }
@keyframes grow { from { transform: scaleX(0); } }
.feed { display: grid; gap: .45rem; margin-top: .4rem; }
.feed li { display: flex; gap: .55rem; align-items: center; font-size: .78rem; color: var(--muted); }
.feed li b { color: var(--ink); font-weight: 600; }
.feed .ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: .66rem; flex-shrink: 0; }
.portal__float {
  position: absolute; right: -14px; bottom: -22px; display: flex; gap: .6rem; align-items: center;
  background: var(--dark); color: #fff; border-radius: 14px; padding: .7rem .9rem; font-size: .78rem; box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.portal__float i { color: #7ef0b5; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .portal__frame { transform: none; } .portal__float { right: 8px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--dark); color: rgba(255, 255, 255, .8); overflow: hidden; padding: 1.05rem 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font-weight: 600; letter-spacing: .02em; font-size: .95rem; white-space: nowrap; }
.marquee__group i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-glow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--off { background: var(--off); }
.section--soft { background: var(--brand-soft); }
.section--dark { background: var(--dark); color: #fff; }
.section--brand { background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; overflow: hidden; isolation: isolate; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head .label { margin-bottom: 1rem; }
.head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 46rem; margin-inline: auto; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow); position: relative; }
.card p { color: var(--muted); }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.1rem; margin-bottom: 1.1rem; }
.icon--glow { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; box-shadow: 0 10px 22px -10px rgba(87, 0, 128, .7); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Spotlight hover (cursor glow) */
.spot { overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.spot::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(177, 91, 224, .16), transparent 60%); }
.spot:hover { transform: translateY(-4px); border-color: rgba(122, 31, 162, .35); box-shadow: 0 24px 50px -24px rgba(59, 0, 87, .35); }
.spot:hover::after { opacity: 1; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.bento .card { display: flex; flex-direction: column; }
.bento .card .link-arrow { margin-top: auto; padding-top: 1.2rem; }
.b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; }
.b-feature { background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; border: 0; }
.b-feature p { color: rgba(255, 255, 255, .8); }
.b-feature .icon { background: rgba(255, 255, 255, .14); color: #fff; }
.b-feature .link-arrow { color: #fff; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-4, .b-3, .b-2 { grid-column: span 1; } .b-4 { grid-column: 1 / -1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .b-4 { grid-column: auto; } }

/* Tick lists */
.ticks { display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); }
.ticks li i { color: var(--brand); margin-top: .3rem; }
.on-dark .ticks li, .ticks.on-dark li, .b-feature .ticks li { color: rgba(255, 255, 255, .92); }
.on-dark .ticks li i, .ticks.on-dark li i, .b-feature .ticks li i { color: #e7b8ff; }
.cta__box .ticks a { color: #fff; font-weight: 500; }
.cta__box .ticks a:hover, .cta__box .ticks a:focus-visible { text-decoration: underline !important; text-underline-offset: 3px; }
.crosses li i { color: #c2410c; }

/* ---------- Three layers stack ---------- */
.stack { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.layers { position: relative; height: 440px; perspective: 1400px; }
.layer {
  position: absolute; left: 6%; right: 6%; height: 150px; border-radius: 22px; padding: 1.2rem 1.4rem;
  display: flex; gap: 1rem; align-items: center; color: #fff;
  transform: rotateX(56deg) rotateZ(-34deg); transform-style: preserve-3d;
  transition: transform .7s var(--ease), box-shadow .7s;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 40px 60px -30px rgba(59, 0, 87, .55);
}
.layer b { font-size: 1.1rem; display: block; }
.layer span { font-size: .85rem; opacity: .92; }
.layer i { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex-shrink: 0; }
.layer--1 { top: 0; background: linear-gradient(135deg, rgba(150, 58, 196, .95), rgba(122, 31, 162, .95)); }
.layer--2 { top: 130px; background: linear-gradient(135deg, rgba(122, 31, 162, .95), rgba(87, 0, 128, .95)); }
.layer--3 { top: 260px; background: linear-gradient(135deg, rgba(87, 0, 128, .98), rgba(59, 0, 87, .98)); }
.layers:hover .layer--1, .layers.is-open .layer--1 { transform: rotateX(48deg) rotateZ(-30deg) translateZ(70px); }
.layers:hover .layer--3, .layers.is-open .layer--3 { transform: rotateX(48deg) rotateZ(-30deg) translateZ(-60px); }
.layer-copy { display: grid; gap: 1.6rem; margin-top: 2rem; }
.layer-copy > div { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; }
.layer-copy .icon { margin: 0; }
@media (max-width: 900px) {
  .stack { grid-template-columns: 1fr; }
  .layers { height: auto; perspective: none; display: grid; gap: 12px; }
  .layer, .layers:hover .layer--1, .layers:hover .layer--3, .layers.is-open .layer--1, .layers.is-open .layer--3 { position: relative; inset: auto; height: auto; transform: none; }
}

/* ---------- "In writing" cards ---------- */
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promise > div { background: #fff; padding: clamp(22px, 2.5vw, 34px); }
.promise .num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.promise h3 { font-size: 1rem; margin: .5rem 0 .4rem; }
.promise p { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .promise { grid-template-columns: 1fr; } }

/* ---------- Price calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--line); }
.calc__in { padding: clamp(24px, 3.5vw, 48px); display: grid; gap: 1.8rem; align-content: start; }
.calc__out { padding: clamp(24px, 3.5vw, 48px); background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.calc__out::before { content: ''; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(177, 91, 224, .55), transparent 65%); z-index: -1; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; margin-bottom: .7rem; }
.field-label output, .field-label .val { font-size: 1.6rem; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.range { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) 0 var(--p, 10%), var(--brand-soft) var(--p, 10%) 100%); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 4px 12px rgba(87, 0, 128, .35); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: grab; }
.num-input { width: 110px; padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; font: 700 1.05rem 'Inter', sans-serif; color: var(--ink); text-align: right; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; background: var(--off); border: 1px solid var(--line); border-radius: 14px; padding: .35rem; }
.seg button { border: 0; background: transparent; border-radius: 10px; padding: .65rem .2rem; font: 600 .9rem 'Inter', sans-serif; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.seg button small { display: block; font-size: .68rem; font-weight: 600; color: var(--ok); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--brand); box-shadow: 0 4px 14px -6px rgba(59, 0, 87, .35); }
.calc__price { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: .6rem 0 .3rem; font-variant-numeric: tabular-nums; }
.calc__rows { display: grid; gap: .55rem; margin: 1.4rem 0; padding: 1.1rem 0; border-block: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; }
.calc__rows div { display: flex; justify-content: space-between; gap: 1rem; color: rgba(255, 255, 255, .82); }
.calc__rows b { color: #fff; font-variant-numeric: tabular-nums; }
.calc__out .btn { margin-top: auto; }
.save-pill { display: inline-flex; align-items: center; gap: .4rem; background: rgba(126, 240, 181, .16); color: #b5f7d3; border: 1px solid rgba(126, 240, 181, .35); border-radius: 999px; padding: .25rem .7rem; font-size: .78rem; font-weight: 700; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .seg { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Protection meter ---------- */
.meter { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: clamp(22px, 3vw, 40px); backdrop-filter: blur(10px); }
.meter__scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 1.4rem 0 .8rem; }
.meter__scale i { height: 54px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.meter__scale i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--brand-glow), var(--brand-light)); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.meter.is-in .meter__scale i::after { transform: scaleY(1); transition-delay: calc(var(--d, 0) * 90ms); }
.meter__scale i:first-child { outline: 2px solid #f0d6ff; outline-offset: 2px; }
.meter__legend { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255, 255, 255, .65); }
.meter__big { display: flex; flex-wrap: wrap; gap: 2rem 3rem; margin-top: 1.6rem; }
.meter__big b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.meter__big span { color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; gap: 1.2rem; }
.quote blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.65; }
.quote blockquote::before { content: '\201C'; display: block; font-size: 3.2rem; line-height: .6; color: var(--brand-light); font-weight: 800; margin-bottom: .6rem; }
.quote figcaption { display: flex; gap: .8rem; align-items: center; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-light)); flex-shrink: 0; }
.quote figcaption b { display: block; font-size: .95rem; }
.quote figcaption div span { font-size: .82rem; color: var(--subtle); }
.quote figcaption .avatar { color: #fff; font-size: .9rem; }
@media (min-width: 1100px) { .quotes { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } .quote { grid-column: span 2; } .quote:nth-child(4) { grid-column: 2 / span 2; } }

/* ---------- Partners ---------- */
.partner { display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; align-items: start; }
.partner img { width: 120px; height: 64px; object-fit: contain; background: var(--off); border-radius: 12px; padding: 8px; border: 1px solid var(--line); }
@media (max-width: 520px) { .partner { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 52rem; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { border-color: rgba(122, 31, 162, .35); box-shadow: var(--shadow); }
.faq summary { color: var(--ink); cursor: pointer; list-style: none; padding: 1.15rem 1.3rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.25rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: .9rem; }
.form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .7rem; align-items: end; }
.form label { display: grid; gap: .35rem; font-size: .82rem; font-weight: 600; }
.input { width: 100%; min-height: 48px; padding: .75rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 500 1rem 'Inter', sans-serif; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 4px rgba(177, 91, 224, .18); }
.on-dark .input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.on-dark .input::placeholder { color: rgba(255, 255, 255, .7); }
.on-dark .form label { color: rgba(255, 255, 255, .85); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: .8rem; padding: .85rem 1rem; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.form-msg.is-ok { background: var(--ok-bg); color: var(--ok); }
.form-msg.is-err { background: var(--err-bg); color: var(--err); }
.form-msg a { color: inherit; }
@media (max-width: 860px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(32px, 6vw, 80px); background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; }
.cta .aurora { inset: -40%; opacity: .7; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta__box { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: clamp(20px, 2.6vw, 32px); backdrop-filter: blur(10px); }
.cta__box .form-row { grid-template-columns: 1fr; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Tools ---------- */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); scroll-margin-top: calc(var(--nav-h) + 20px); }
.tool__in { padding: clamp(22px, 3vw, 40px); display: grid; gap: 1.2rem; align-content: start; }
.tool__out { padding: clamp(22px, 3vw, 40px); background: var(--brand-soft); display: flex; flex-direction: column; gap: .8rem; }
.tool__big { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.tool select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.tool--wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
@media (max-width: 860px) { .tool, .tool--wide { grid-template-columns: 1fr; } }

.check { display: grid; gap: .7rem; }
.q { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.q p { font-weight: 500; }
.q p small { display: block; color: var(--subtle); font-weight: 400; margin-top: .15rem; }
.yn { display: flex; gap: .35rem; }
.yn button { min-width: 64px; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: 600 .88rem 'Inter', sans-serif; cursor: pointer; color: var(--muted); }
.yn button[aria-pressed="true"][data-v="1"] { background: var(--ok-bg); border-color: #6ee7b7; color: var(--ok); }
.yn button[aria-pressed="true"][data-v="0"] { background: var(--err-bg); border-color: #fca5a5; color: var(--err); }
@media (max-width: 560px) { .q { grid-template-columns: 1fr; } }
.ring { --v: 0; width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--v) * 1%), rgba(87, 0, 128, .12) 0); transition: --v .8s var(--ease); }
@property --v { syntax: '<number>'; inherits: true; initial-value: 0; }
.ring > div { width: 124px; height: 124px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.ring b { font-size: 2.2rem; font-weight: 800; color: var(--brand); letter-spacing: -0.03em; line-height: 1; }
.ring span { font-size: .72rem; color: var(--subtle); }

/* ---------- Sector tiles ---------- */
.sector { scroll-margin-top: calc(var(--nav-h) + 20px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 52px); border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.sector + .sector { margin-top: 24px; }
.sector__badge { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-glow)); box-shadow: 0 18px 30px -16px rgba(87, 0, 128, .7); margin-bottom: 1.3rem; }
@media (max-width: 860px) { .sector { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
/* Demo booking form (built into the page, sends to the HighLevel webhook) */
.demo { scroll-margin-top: calc(var(--nav-h) + 20px); padding: clamp(24px, 3.5vw, 44px); }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.form textarea.input { resize: vertical; min-height: 120px; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.select:invalid { color: var(--subtle); }
.consents { display: grid; gap: .75rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--off); border: 1px solid var(--line); }
.form .tick { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; font-weight: 400; font-size: .8rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.form .tick:first-child { font-size: .9rem; font-weight: 600; color: var(--ink); }
.tick input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--brand); cursor: pointer; }
.demo__btn { width: 100%; min-height: 54px; font-size: 1.05rem; }
@media (max-width: 560px) { .form-2 { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 42px 1fr; gap: .9rem; align-items: start; }
.info-list .icon { width: 42px; height: 42px; margin: 0; font-size: .95rem; }
.info-list b { display: block; }
.info-list a { color: var(--brand); font-weight: 600; text-decoration: none; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.2rem; }
.footer__logo { width: 170px; margin-bottom: 1.1rem; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .55rem; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky call bar ---------- */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(15, 23, 42, .92); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .4s var(--ease); }
.sticky a { min-height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: .45rem; font-weight: 700; text-decoration: none; font-size: .92rem; }
.sticky a:first-child { background: rgba(255, 255, 255, .1); color: #fff; }
.sticky a:last-child { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; }
.sticky.is-on { transform: none; }
@media (max-width: 760px) { .sticky { display: grid; } body.has-sticky { padding-bottom: 76px; } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .1s; } [data-reveal="3"] { transition-delay: .2s; } [data-reveal="4"] { transition-delay: .3s; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Split headline lines */
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.line:nth-child(2) > span { animation-delay: .1s; } .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* Utilities */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.25rem; } .mt-6 { margin-top: 3.5rem; }
.center { text-align: center; }
.flex-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hide-sm { } @media (max-width: 960px) { .hide-sm { display: none; } }

/* ---------- Articles ---------- */
.article { max-width: 46rem; font-size: 1.075rem; color: #1f2937; }
.article > * + * { margin-top: 1.1rem; }
.article h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; margin-top: 2.6rem; color: var(--ink); }
.article h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.8rem; }
.article p, .article li { line-height: 1.75; }
.article ul, .article ol { padding-left: 1.3rem; list-style: disc; }
.article ol { list-style: decimal; }
.article li + li { margin-top: .4rem; }
.article a { color: var(--brand); font-weight: 600; }
.article .btn { color: #fff; }
.article__lead { font-size: 1.2rem; color: var(--muted); }
.inline-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-radius: 18px; background: var(--brand-soft); border: 1px solid rgba(87, 0, 128, .12); margin: 2rem 0; }
.inline-cta > div { flex: 1 1 18rem; }
.inline-cta strong { display: block; color: var(--brand); }

/* =========================================================================
   24.11 software: real portal screenshots and the AI assistant (from round 21.11)
   ========================================================================= */
.shot { position: relative; margin: 0; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot__bar { display: flex; align-items: center; gap: 5px; padding: .55rem .8rem; border-bottom: 1px solid var(--line); background: var(--off); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #e5d6ee; }
.shot__url { margin-left: .5rem; font-size: .7rem; color: var(--subtle); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .1rem .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; height: auto; }
.on-dark .shot { border-color: rgba(255, 255, 255, .22); }

/* Hero: the real portal, tilted, with the assistant open */
.portal .shot { transform: rotateY(-8deg) rotateX(5deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.portal:hover .shot { transform: rotateY(-2deg) rotateX(2deg); }
.portal__float--left { right: auto; left: -14px; bottom: auto; top: 18%; animation-delay: -3s; }
.portal__float--left i { color: #e7b8ff; }
@media (max-width: 1100px) { .portal .shot { transform: none; } .portal__float--left { left: 8px; } }
@media (max-width: 560px) { .portal__float--left { display: none; } }

/* Phone frame */
.phone { position: relative; width: 100%; max-width: 270px; border-radius: 38px; padding: 9px; background: #1a0826; border: 1px solid rgba(255, 255, 255, .18); box-shadow: var(--shadow-lg); }
.phone img { width: 100%; height: auto; border-radius: 30px; }

/* The assistant section */
.assist { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.assist > * { min-width: 0; }
.assist__steps { display: grid; gap: 1.1rem; counter-reset: step; }
.assist__steps li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.assist__steps .icon { margin: 0; background: rgba(255, 255, 255, .14); color: #fff; }
.assist__steps h3 { color: #fff; }
.assist__steps p { color: rgba(255, 255, 255, .78); font-size: .95rem; margin: .3rem 0 0; }
.assist__media { position: relative; padding: 0 0 48px 0; }
.assist__media .phone { position: absolute; right: -10px; bottom: 0; width: 34%; max-width: 230px; }
.asks { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(32px, 4vw, 48px); }
.ask { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .9rem; font-weight: 500; }
.ask i { color: #e7b8ff; }
.assist__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(28px, 3vw, 40px); }
.assist__facts > div { display: flex; gap: .8rem; align-items: flex-start; }
.assist__facts i { color: #7ef0b5; margin-top: .3rem; }
.assist__facts b { display: block; color: #fff; }
.assist__facts span { color: rgba(255, 255, 255, .72); font-size: .9rem; }
@media (max-width: 1000px) { .assist { grid-template-columns: 1fr; } .assist__facts { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .assist__media { padding-bottom: 0; } .assist__media .phone { display: none; } }

/* A gallery of real screens */
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.screens figcaption { padding: .9rem 1.1rem 1rem; border-top: 1px solid var(--line); }
.screens figcaption b { display: block; font-size: 1rem; }
.screens figcaption span { font-size: .875rem; color: var(--muted); }
.screens .shot { box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.screens .shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.screens .shot--wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .screens { grid-template-columns: 1fr; } }
.badge-new { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; vertical-align: middle; }
.assist__facts { row-gap: clamp(18px, 2.4vw, 28px); }
.ticks li > span { min-width: 0; }
/* Hero: keep the lower label on the picture, clear of the caption under it */
.portal .shot ~ .portal__float:not(.portal__float--left) { bottom: 2.6rem; }
.portal .shot ~ .note { margin-top: 2rem; }
.screens figcaption .badge-new, .assist__facts .badge-new { color: #fff; font-size: .68rem; }
.on-dark .badge-new { background: #fff; color: var(--brand); }

/* =========================================================================
   24.11: a shorter, easier home page on phones
   ========================================================================= */
@media (max-width: 760px) {
  .section { padding: 48px 0; }
  .head { margin-bottom: 28px; }
}
@media (max-width: 640px) {
  /* card groups become short rows: icon, title, link (the detail is one tap away) */
  .compact-m { gap: .7rem; }
  .compact-m > .card { display: grid; grid-template-columns: 46px 1fr; column-gap: .9rem; row-gap: .1rem; align-items: center; padding: .95rem 1.1rem; }
  .compact-m > .card .icon { grid-row: 1 / span 2; margin: 0; align-self: center; }
  .compact-m > .card > p { display: none; }
  .compact-m > .card .link-arrow { margin-top: 0; padding-top: 0; font-size: .85rem; }
  .compact-m > .card h3 { margin: 0; }
  /* the three stacked cards repeat the three points beside them */
  .layers { display: none; }
  .asks { gap: .45rem; }
  .ask { font-size: .84rem; padding: .5rem .85rem; }
  .assist__steps { gap: .7rem; }
  .assist__steps li { padding: .9rem 1rem; }
}
@media (max-width: 560px) {
  .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise > div { padding: 18px 16px; }
}

/* The Aeclipse logo is a solid purple picture, so it fills its rounded box edge to edge
   (the Perks Direct logo is see-through and sits inside the pale box). */
.partner img[src*="aeclipse"] { padding: 0; object-fit: cover; background: #351952; border-color: rgba(53, 25, 82, .25); }
