/* ==========================================================
   Envertis – Odoo packages landing page
   Palette taken from images/logo.png:
   Envertis "e" gradient #FFB907 → #F84800, charcoal #2C2A2A,
   Odoo plum #714B67, Odoo grey #8F8F8F
   ========================================================== */

:root {
  --ink: #2c2a2a;
  --body: #4a4446;
  --muted: #6b6466;
  --plum: #714b67;
  --plum-dark: #5a3a52;
  --gold: #ffb907;
  --orange: #f47a0c;
  --red-orange: #f84800;
  --cta-from: #ee6a0e;
  --cta-to: #d2410b;
  --grey: #8f8f8f;
  --header-bg: rgba(255, 255, 255, 0.85);
  --line: #efe6ec;
  --white: #ffffff;
  --radius-pill: 999px;
  --header-h: 80px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Red Hat Display', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  padding: 16px 30px;
  border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, background-position .4s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn:focus-visible,
.main-nav a:focus-visible,
.nav-toggle:focus-visible,
.logo:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--plum-dark); box-shadow: 0 8px 20px rgba(113, 75, 103, .25); }

.btn-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--cta-from), var(--cta-to), var(--cta-from));
  background-size: 200% 100%;
  background-position: 0% 0%;
  box-shadow: 0 8px 22px rgba(240, 100, 14, .28);
}
.btn-cta:hover { background-position: 100% 0%; box-shadow: 0 12px 28px rgba(240, 100, 14, .36); }

.btn-outline { background: var(--white); color: var(--plum); border-color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: var(--white); }

.btn-sm { font-size: 16px; font-weight: 600; padding: 12px 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
          backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 44px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
}

.main-nav > a:not(.btn) {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}

.main-nav > a:not(.btn):hover { color: var(--plum); }

.main-nav .nav-phone { font-weight: 700; white-space: nowrap; }

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(120deg, #fffaf3 0%, #fdf6f8 40%, #f8f2f7 70%, #fff8ee 100%);
  background-size: 300% 300%;
  animation: heroGradient 24s ease-in-out infinite;
  padding: 88px 0 96px;
}

/* ----- Animated background layers ----- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(113, 75, 103, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 75, 103, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 30% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 75% at 30% 40%, #000 20%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}

/* Soft colour glows */
.hero-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-bg__blob--orange {
  width: 480px; height: 480px;
  top: -160px; right: 6%;
  background: radial-gradient(circle, rgba(248, 120, 20, .45) 0%, rgba(248, 120, 20, 0) 70%);
}

.hero-bg__blob--gold {
  width: 440px; height: 440px;
  bottom: -200px; left: -120px;
  background: radial-gradient(circle, rgba(255, 185, 7, .45) 0%, rgba(255, 185, 7, 0) 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.hero-bg__blob--plum {
  width: 420px; height: 420px;
  top: 30%; right: 26%;
  background: radial-gradient(circle, rgba(113, 75, 103, .28) 0%, rgba(113, 75, 103, 0) 70%);
  animation-duration: 26s;
  animation-delay: -12s;
}

/* Slow-spinning dashed ring behind the card */
.hero-bg__ring {
  position: absolute;
  width: 640px; height: 640px;
  top: 50%; right: -160px;
  margin-top: -320px;
  border-radius: 50%;
  border: 1.5px dashed rgba(113, 75, 103, 0.2);
  box-shadow:
    0 0 0 70px rgba(255, 185, 7, 0.04),
    0 0 0 140px rgba(113, 75, 103, 0.025);
  animation: heroSpin 100s linear infinite;
}

/* Flowing wave lines */
.hero-bg__waves {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 100%;
}

.hero-bg__waves path {
  fill: none;
  stroke-width: 1.6;
  stroke-dasharray: 10 14;
  animation: waveFlow 30s linear infinite;
}

.hero-bg__waves path:nth-child(1) { stroke: rgba(113, 75, 103, 0.18); }
.hero-bg__waves path:nth-child(2) { stroke: rgba(244, 122, 12, 0.22); animation-duration: 24s; animation-direction: reverse; }
.hero-bg__waves path:nth-child(3) { stroke: rgba(255, 185, 7, 0.28); animation-duration: 36s; }

/* Floating shapes */
.hero-bg__shape {
  position: absolute;
  animation: shapeBob 9s ease-in-out infinite;
}

.hero-bg__shape--circle {
  width: 22px; height: 22px;
  top: 14%; left: 4%;
  border-radius: 50%;
  border: 3px solid rgba(244, 122, 12, .45);
}

.hero-bg__shape--square {
  width: 26px; height: 26px;
  bottom: 8%; left: 52%;
  border-radius: 7px;
  border: 3px solid rgba(113, 75, 103, .35);
  animation-name: shapeSpin;
  animation-duration: 14s;
}

.hero-bg__shape--plus {
  width: 22px; height: 22px;
  top: 12%; right: 44%;
  animation-delay: -3s;
}

.hero-bg__shape--plus::before,
.hero-bg__shape--plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 4px;
  margin: -2px 0 0 -11px;
  border-radius: 2px;
  background: rgba(255, 185, 7, .75);
}

.hero-bg__shape--plus::after { transform: rotate(90deg); }

.hero-bg__shape--dot {
  width: 12px; height: 12px;
  bottom: 12%; right: 6%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red-orange));
  opacity: .7;
  animation-delay: -5s;
}

.hero-bg__shape--ring {
  width: 40px; height: 40px;
  top: 8%; right: 4%;
  border-radius: 50%;
  border: 2px dashed rgba(113, 75, 103, .35);
  animation-name: shapeSpin;
  animation-duration: 18s;
}

.hero-bg__dots {
  position: absolute;
  width: 168px; height: 112px;
  top: 64px; left: 48%;
  background-image: radial-gradient(rgba(113, 75, 103, 0.35) 1.6px, transparent 1.8px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(135deg, #000 30%, transparent 90%);
          mask-image: linear-gradient(135deg, #000 30%, transparent 90%);
  animation: dotsPulse 6s ease-in-out infinite;
}

/* ----- Keyframes ----- */
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@keyframes gridDrift {
  to { background-position: 56px 56px, 56px 56px; }
}

@keyframes heroFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(36px, -28px) scale(1.08); }
  100% { transform: translate(-24px, 20px) scale(.95); }
}

@keyframes heroSpin {
  to { transform: rotate(360deg); }
}

@keyframes waveFlow {
  to { stroke-dashoffset: -480; }
}

@keyframes shapeBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

@keyframes shapeSpin {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-14px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

@keyframes dotsPulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* ----- Hero content ----- */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--plum);
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4.4vw + 4px, 60px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero h1 > span:not(.w) {
  color: var(--plum);
  background: linear-gradient(90deg, var(--plum) 0%, #a24a5e 45%, var(--red-orange) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  margin: 0 0 36px;
  max-width: 560px;
  font-size: clamp(17px, 1vw + 10px, 20px);
  line-height: 1.6;
  color: var(--body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Price card */
.price-card {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow:
    0 14px 44px rgba(113, 75, 103, 0.14),
    -18px 22px 60px -20px rgba(255, 185, 7, 0.35),
    22px -10px 60px -24px rgba(248, 72, 0, 0.25);
}

/* Logo-gradient top accent */
.price-card::after {
  content: "";
  position: absolute;
  top: 0; left: 36px; right: 36px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold), var(--red-orange));
}

.price-card p { margin: 0; }

.price-card__label {
  margin-bottom: 6px !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--plum);
}

.price-card__price {
  margin-bottom: 4px !important;
  font-size: clamp(36px, 3vw + 10px, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
}

.price-card__note {
  margin-bottom: 24px !important;
  font-size: 16px;
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17px;
  line-height: 1.45;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================
   Responsive
   ========================================================== */

/* Laptop */
@media (max-width: 1199px) {
  .hero-inner { gap: 40px; }
  .price-card { padding: 32px; }
  .logo img { height: 40px; }
}

/* Tablet & below: mobile menu + stacked hero */
@media (max-width: 991px) {
  :root { --header-h: 68px; }

  .logo img { height: 36px; }

  .nav-toggle { display: inline-block; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 32px;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s;
  }

  .main-nav > a:not(.btn) {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .btn {
    margin-top: 24px;
    width: 100%;
    padding: 16px 22px;
    font-size: 17px;
  }

  .hero { padding: 64px 0 72px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-lead { max-width: 640px; }

  .price-card { max-width: 560px; }

  .hero-bg__ring { width: 480px; height: 480px; top: auto; bottom: -260px; right: -200px; margin-top: 0; }
  .hero-bg__blob--orange { width: 380px; height: 380px; top: -140px; right: -80px; }
  .hero-bg__blob--plum { top: auto; bottom: 10%; right: -60px; }
  .hero-bg__dots { left: auto; right: 16px; top: auto; bottom: 24px; }
  .hero-bg__shape--plus { top: auto; bottom: 40%; right: 6%; }
  .hero-bg__shape--square { bottom: 6%; left: 8%; }
  .hero-bg__shape--circle { top: auto; bottom: 46%; left: auto; right: 10%; }
  .hero-bg__grid {
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 25%, #000 15%, transparent 75%);
            mask-image: radial-gradient(ellipse 90% 60% at 50% 25%, #000 15%, transparent 75%);
  }
}

/* Mobile */
@media (max-width: 575px) {
  .container { padding-inline: 20px; }
  .main-nav { padding-inline: 20px; }

  .logo img { height: 34px; }

  .hero { padding: 44px 0 56px; }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .hero h1 { letter-spacing: -0.03em; margin-bottom: 20px; }

  .hero-lead { margin-bottom: 28px; }

  .hero-actions { flex-direction: column; gap: 12px; }

  .hero-actions .btn {
    width: 100%;
    font-size: 17px;
    padding: 15px 20px;
  }

  .hero-inner { gap: 36px; }

  .price-card {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .price-card::after { left: 22px; right: 22px; }

  .price-card__label { font-size: 13px; }

  .price-card__note { font-size: 15px; margin-bottom: 20px !important; }

  .check-list { font-size: 16px; gap: 12px; }

  .check-list svg { width: 20px; height: 20px; }

  .hero-bg__grid { background-size: 40px 40px; }
  .hero-bg__blob { filter: blur(50px); }
  .hero-bg__blob--orange { width: 280px; height: 280px; }
  .hero-bg__blob--gold { width: 280px; height: 280px; left: -100px; bottom: -120px; }
  .hero-bg__blob--plum { width: 240px; height: 240px; }
  .hero-bg__dots { width: 96px; height: 80px; bottom: 16px; right: 12px; }
  .hero-bg__waves,
  .hero-bg__shape--ring,
  .hero-bg__shape--circle,
  .hero-bg__shape--plus { display: none; }
}

/* Small phones */
@media (max-width: 359px) {
  .container,
  .main-nav { padding-inline: 16px; }

  .logo img { height: 30px; }

  .price-card { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================
   Entrance animations (only when JS is on and motion is allowed)
   ========================================================== */

/* Headline words – structure (applies whenever JS has split them) */
.hero h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .02em .12em;
  margin: 0 -.02em -.12em;
}

.hero h1 .w > i {
  display: inline-block;
  font-style: normal;
}

.hero h1 .w--hl > i {
  color: var(--g1);
  background: linear-gradient(90deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

  /* Header */
  .js .site-header { animation: dropIn .7s cubic-bezier(.2, .8, .2, 1) backwards; }
  .js .logo        { animation: fadeRight .8s cubic-bezier(.2, .8, .2, 1) backwards .15s; }

  @media (min-width: 992px) {
    .js .main-nav > a { animation: fadeDown .6s cubic-bezier(.2, .8, .2, 1) backwards; }
    .js .main-nav > a:nth-child(1) { animation-delay: .25s; }
    .js .main-nav > a:nth-child(2) { animation-delay: .32s; }
    .js .main-nav > a:nth-child(3) { animation-delay: .39s; }
    .js .main-nav > a:nth-child(4) { animation-delay: .46s; }
    .js .main-nav > a:nth-child(5) { animation-delay: .53s; }
    .js .main-nav > a:nth-child(6) { animation-delay: .62s; }
  }

  /* Mobile menu links slide in when the menu opens */
  @media (max-width: 991px) {
    .nav-open .main-nav > a { animation: fadeLeft .45s cubic-bezier(.2, .8, .2, 1) backwards; }
    .nav-open .main-nav > a:nth-child(1) { animation-delay: .05s; }
    .nav-open .main-nav > a:nth-child(2) { animation-delay: .10s; }
    .nav-open .main-nav > a:nth-child(3) { animation-delay: .15s; }
    .nav-open .main-nav > a:nth-child(4) { animation-delay: .20s; }
    .nav-open .main-nav > a:nth-child(5) { animation-delay: .25s; }
    .nav-open .main-nav > a:nth-child(6) { animation-delay: .32s; }
  }

  /* Eyebrow: fades in while its letter-spacing settles */
  .js .eyebrow { animation: trackIn 1s cubic-bezier(.2, .8, .2, 1) backwards .15s; }

  /* Headline: each word rises out of a mask */
  .js .hero h1 .w > i {
    animation: wordUp .9s cubic-bezier(.2, .9, .25, 1) backwards;
    animation-delay: var(--d, .3s);
  }

  /* Highlighted words get a gentle shimmer after landing */
  .js .hero h1 .w--hl > i {
    animation: wordUp .9s cubic-bezier(.2, .9, .25, 1) backwards, glow 3.5s ease-in-out infinite;
    animation-delay: var(--d, .3s), calc(var(--d, .3s) + 1.2s);
  }

  /* Lead paragraph */
  .js .hero-lead { animation: blurUp 1s cubic-bezier(.2, .8, .2, 1) backwards 1s; }

  /* Buttons pop in */
  .js .hero-actions .btn { animation: popIn .7s cubic-bezier(.34, 1.56, .64, 1) backwards; }
  .js .hero-actions .btn:nth-child(1) { animation-delay: 1.2s; }
  .js .hero-actions .btn:nth-child(2) { animation-delay: 1.32s; }

  /* Price card */
  .js .price-card { animation: cardIn 1s cubic-bezier(.2, .8, .2, 1) backwards .55s; }
  .js .price-card::after { transform-origin: left; animation: barGrow 1s cubic-bezier(.2, .8, .2, 1) backwards 1.1s; }
  .js .price-card__label { animation: fadeUp .6s ease-out backwards .85s; }
  .js .price-card__price { animation: fadeUp .6s ease-out backwards .9s; font-variant-numeric: tabular-nums; }
  .js .price-card__note  { animation: fadeUp .6s ease-out backwards 1s; }

  .js .check-list li {
    animation: fadeLeft .6s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: var(--d, 1.25s);
  }

  .js .check-list svg path {
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: drawTick .5s ease-out forwards;
    animation-delay: calc(var(--d, 1.25s) + .25s);
  }

  /* Background shapes fade in softly */
  .js .hero-bg { animation: fadeIn 1.6s ease-out backwards; }
}

@keyframes dropIn   { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes fadeRight{ from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes trackIn  { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; } }
@keyframes wordUp   { from { transform: translateY(105%) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes blurUp   { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes popIn    { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes cardIn   { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes barGrow  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drawTick { to { stroke-dashoffset: 0; } }
@keyframes glow     { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 2px 10px rgba(248, 120, 20, .35)); } }

/* ==========================================================
   Packages – "Three ways to get on Odoo"
   ========================================================== */
.packages {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
  padding: 104px 0 96px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf8f6 45%, #faf4f8 100%);
}

/* ----- Decorative background ----- */
.pkg-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.pkg-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: heroFloat 20s ease-in-out infinite alternate;
}

.pkg-bg__orb--1 {
  width: 460px; height: 460px;
  top: 8%; left: -180px;
  background: radial-gradient(circle, rgba(255, 185, 7, .32), rgba(255, 185, 7, 0) 70%);
}

.pkg-bg__orb--2 {
  width: 520px; height: 520px;
  top: 30%; right: -220px;
  background: radial-gradient(circle, rgba(113, 75, 103, .22), rgba(113, 75, 103, 0) 70%);
  animation-duration: 24s;
  animation-delay: -8s;
}

.pkg-bg__orb--3 {
  width: 420px; height: 420px;
  bottom: -160px; left: 30%;
  background: radial-gradient(circle, rgba(248, 72, 0, .16), rgba(248, 72, 0, 0) 70%);
  animation-duration: 28s;
  animation-delay: -14s;
}

.pkg-bg__dots {
  position: absolute;
  width: 180px; height: 180px;
  background-image: radial-gradient(rgba(113, 75, 103, .3) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
  animation: dotsPulse 6s ease-in-out infinite;
}

.pkg-bg__dots--l {
  top: 120px; left: 4%;
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 20%, transparent 70%);
          mask-image: radial-gradient(circle at 30% 30%, #000 20%, transparent 70%);
}

.pkg-bg__dots--r {
  bottom: 140px; right: 4%;
  -webkit-mask-image: radial-gradient(circle at 70% 70%, #000 20%, transparent 70%);
          mask-image: radial-gradient(circle at 70% 70%, #000 20%, transparent 70%);
  animation-delay: -3s;
}

.pkg-bg__ring {
  position: absolute;
  width: 760px; height: 760px;
  top: -380px; left: 50%;
  margin-left: -380px;
  border-radius: 50%;
  border: 1.5px dashed rgba(113, 75, 103, .14);
  animation: heroSpin 120s linear infinite;
}

/* ----- Heading ----- */
.packages-inner { max-width: 1120px; }

.section-head {
  max-width: 660px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 2.6vw + 14px, 46px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.grad-text {
  color: var(--plum);
  background: linear-gradient(90deg, var(--plum), #b24a55 55%, var(--red-orange));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head__swoosh {
  display: block;
  width: 180px;
  height: 16px;
  margin: 10px auto 18px;
}

.section-head__swoosh path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 0;
}

.section-head p {
  margin: 0;
  font-size: clamp(16px, .6vw + 12px, 19px);
  line-height: 1.6;
  color: var(--body);
}

/* ----- Grid: three equal columns, rows aligned across cards ----- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 26px;
  row-gap: 0;
  align-items: stretch;
}

/* ----- Card colour themes ----- */
.pkg-card--orange {
  --c1: #f28a0c;
  --c2: #d9480f;
  --accent: #d9480f;
  --tint: #fff4ea;
  --tint-line: rgba(217, 72, 15, .22);
  --glow: rgba(240, 100, 14, .28);
}

.pkg-card--plum {
  --c1: #9a5d88;
  --c2: #5a3a52;
  --accent: #714b67;
  --tint: #f7eef4;
  --tint-line: rgba(113, 75, 103, .22);
  --glow: rgba(113, 75, 103, .26);
}

.pkg-card--teal {
  --c1: #00a09d;
  --c2: #01686d;
  --accent: #017e84;
  --tint: #e8f6f6;
  --tint-line: rgba(1, 126, 132, .22);
  --glow: rgba(1, 126, 132, .26);
}

/* ----- Card ----- */
.pkg-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  background: var(--white);
  border: 1.5px solid #ece2e9;
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(44, 42, 42, .07);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

@supports not (grid-template-rows: subgrid) {
  .pkg-card { display: flex; flex-direction: column; }
  .pkg-foot { margin-top: auto; }
}

.pkg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px var(--glow);
}

/* Starter: animated gradient border + soft pulsing glow */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.pkg-card--featured {
  border: 2.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--angle, 0deg), var(--gold), var(--red-orange), var(--plum), var(--gold)) border-box;
  animation: borderSpin 6s linear infinite, glowPulse 4s ease-in-out infinite;
}

@keyframes borderSpin { to { --angle: 360deg; } }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 14px 38px rgba(240, 100, 14, .16); }
  50%      { box-shadow: 0 18px 54px rgba(240, 100, 14, .32); }
}

/* Pointer spotlight */
.pkg-spot {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 60%);
  mix-blend-mode: soft-light;
  transition: opacity .35s ease;
}

.pkg-card:hover .pkg-spot { opacity: 1; }

/* ----- Coloured header band ----- */
.pkg-header {
  position: relative;
  overflow: hidden;
  padding: 26px 28px 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  background-size: 160% 160%;
  animation: headerShift 10s ease-in-out infinite;
}

@keyframes headerShift {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 100% 100%; }
}

/* Floating translucent circles inside the header */
.pkg-header__deco,
.pkg-header__deco::before {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pkg-header__deco {
  width: 180px; height: 180px;
  right: -60px; bottom: -90px;
  border: 22px solid rgba(255, 255, 255, .1);
  animation: heroFloat 12s ease-in-out infinite alternate;
}

.pkg-header__deco::before {
  content: "";
  width: 70px; height: 70px;
  left: -150px; top: -40px;
  background: rgba(255, 255, 255, .08);
}

.pkg-top,
.pkg-head { position: relative; }

.pkg-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.pkg-badge {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--white);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .1);
}

/* Shimmer on the featured badge */
.pkg-card--featured .pkg-badge::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 185, 7, .45), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.2s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 55% { left: -60%; }
  100%    { left: 130%; }
}

.pkg-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  animation: shapeBob 5s ease-in-out infinite;
}

.pkg-card:nth-child(2) .pkg-icon { animation-delay: -1.6s; }
.pkg-card:nth-child(3) .pkg-icon { animation-delay: -3.2s; }

.pkg-icon svg {
  width: 25px; height: 25px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.pkg-card:hover .pkg-icon svg { transform: rotate(-12deg) scale(1.15); }

.pkg-head h3 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}

.pkg-head p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .95);
}

/* ----- Price ----- */
.pkg-price {
  margin: 24px 28px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--tint);
  border: 1px dashed var(--tint-line);
  align-self: stretch;
}

.pkg-price p { margin: 0; }

.pkg-price__amount {
  white-space: nowrap;
  font-size: clamp(26px, 1vw + 16px, 32px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--accent);
}

.pkg-price__note {
  margin-top: 6px !important;
  font-size: 14.5px;
  color: var(--muted);
}

/* ----- Feature list ----- */
.pkg-list {
  list-style: none;
  margin: 0;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--body);
}

.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.pkg-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent);
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Button ----- */
.pkg-foot {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  padding: 0 28px 28px;
}

.pkg-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  font-size: 16.5px;
  padding: 15px 22px;
}

.pkg-btn--solid {
  color: var(--white);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 10px 24px var(--glow);
}

.pkg-btn--solid:hover { box-shadow: 0 14px 30px var(--glow); }

.pkg-btn--line {
  color: var(--accent);
  background: var(--white);
  border-color: var(--accent);
}

.pkg-btn--line:hover {
  color: var(--white);
  background: var(--accent);
}

.pkg-btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -75%;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.pkg-btn:hover::after { left: 125%; }

/* ----- Footnote ----- */
.pkg-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 40px auto 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .85);
  border: 1px solid #ece2e9;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.pkg-footnote svg {
  flex: none;
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--plum);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Scroll-reveal animations ----- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1);
  }

  .js .reveal.is-visible { opacity: 1; transform: none; }

  /* Cards: rise + scale in via keyframes so hover stays snappy */
  .js .pkg-card.reveal { opacity: 0; transform: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
  .js .pkg-card.reveal.is-visible { opacity: 1; animation: cardRise .9s cubic-bezier(.2, .8, .2, 1) backwards; }
  .js .pkg-card--featured.reveal.is-visible { animation: cardRise .9s cubic-bezier(.2, .8, .2, 1) backwards, borderSpin 6s linear infinite, glowPulse 4s ease-in-out infinite 1s; }
  .js .pkg-card.reveal.is-visible:hover { transform: translateY(-8px); }
  .js .pkg-card:nth-child(2).is-visible { animation-delay: .14s; }
  .js .pkg-card:nth-child(3).is-visible { animation-delay: .28s; }

  /* Heading swoosh draws itself */
  .js .section-head__swoosh path { stroke-dashoffset: 240; transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .35, 1) .4s; }
  .js .section-head.is-visible .section-head__swoosh path { stroke-dashoffset: 0; }

  /* Header text slides in, then price, list and button cascade */
  .js .pkg-card .pkg-top,
  .js .pkg-card .pkg-head,
  .js .pkg-card .pkg-price,
  .js .pkg-card .pkg-list li,
  .js .pkg-card .pkg-foot {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
  }

  .js .pkg-card.is-visible .pkg-top,
  .js .pkg-card.is-visible .pkg-head,
  .js .pkg-card.is-visible .pkg-price,
  .js .pkg-card.is-visible .pkg-list li,
  .js .pkg-card.is-visible .pkg-foot { opacity: 1; transform: none; }

  .js .pkg-card.is-visible .pkg-top   { transition-delay: .3s; }
  .js .pkg-card.is-visible .pkg-head  { transition-delay: .4s; }
  .js .pkg-card.is-visible .pkg-price { transition-delay: .5s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(1) { transition-delay: .6s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(2) { transition-delay: .68s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(3) { transition-delay: .76s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(4) { transition-delay: .84s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(5) { transition-delay: .92s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(6) { transition-delay: 1s; }
  .js .pkg-card.is-visible .pkg-foot  { transition-delay: 1.05s; }

  /* Ticks pop in */
  .js .pkg-card .pkg-list svg { transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
  .js .pkg-card.is-visible .pkg-list svg { transform: none; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(1) svg { transition-delay: .75s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(2) svg { transition-delay: .83s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(3) svg { transition-delay: .91s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(4) svg { transition-delay: .99s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(5) svg { transition-delay: 1.07s; }
  .js .pkg-card.is-visible .pkg-list li:nth-child(6) svg { transition-delay: 1.15s; }
}

@keyframes cardRise {
  from { opacity: 0; transform: translateY(50px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

/* ----- Responsive ----- */
@media (max-width: 1199px) {
  .pkg-grid { column-gap: 20px; }
  .pkg-header { padding: 24px 22px 26px; }
  .pkg-price { margin: 22px 22px 0; padding: 16px 18px; }
  .pkg-list { padding: 22px; font-size: 15px; }
  .pkg-foot { padding: 0 22px 24px; }
  .pkg-head h3 { font-size: 24px; }
}

@media (max-width: 1299px) {
  .hero-bg__shape--circle { display: none; }
}

/* Tablet & phone: stack the cards */
@media (max-width: 991px) {
  .packages { padding: 80px 0 72px; }
  .section-head { margin-bottom: 44px; }
  .pkg-bg__ring { width: 560px; height: 560px; top: -280px; margin-left: -280px; }

  .pkg-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
    max-width: 600px;
    margin: 0 auto;
  }

  .pkg-card {
    grid-row: auto;
    display: flex;
    flex-direction: column;
  }

  .pkg-foot { margin-top: auto; }
}

@media (max-width: 575px) {
  .packages { padding: 60px 0 56px; }
  .section-head { margin-bottom: 34px; }
  .section-head__swoosh { width: 140px; margin: 8px auto 14px; }
  .pkg-grid { row-gap: 20px; }
  .pkg-card { border-radius: 20px; }
  .pkg-header { padding: 22px 20px 24px; }
  .pkg-top { margin-bottom: 14px; }
  .pkg-icon { width: 44px; height: 44px; border-radius: 13px; }
  .pkg-icon svg { width: 22px; height: 22px; }
  .pkg-head h3 { font-size: 23px; }
  .pkg-price { margin: 20px 20px 0; padding: 14px 16px; }
  .pkg-list { padding: 20px; gap: 11px; }
  .pkg-foot { padding: 0 20px 22px; }
  .pkg-btn { font-size: 16px; }
  .pkg-footnote { align-items: flex-start; text-align: left; border-radius: 16px; padding: 12px 14px; font-size: 13px; }
  .pkg-bg__dots { width: 110px; height: 110px; }
  .pkg-bg__orb { filter: blur(60px); }
  .pkg-bg__orb--1, .pkg-bg__orb--2, .pkg-bg__orb--3 { width: 300px; height: 300px; }
}

/* ==========================================================
   Outcome – "Buy an outcome, not hours"
   ========================================================== */
.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;
}

.outcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0;
  color: var(--white);
  background: linear-gradient(125deg, #1d1b1c 0%, #2c2a2a 40%, #241a20 75%, #1a1517 100%);
  background-size: 200% 200%;
  animation: heroGradient 18s ease-in-out infinite;
}

/* ----- Background decoration ----- */
.outcome-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.outcome-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 25% 50%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 25% 50%, #000 10%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}

.outcome-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.outcome-bg__orb--1 {
  width: 480px; height: 480px;
  top: -200px; right: 10%;
  background: radial-gradient(circle, rgba(244, 122, 12, .4), rgba(244, 122, 12, 0) 70%);
}

.outcome-bg__orb--2 {
  width: 420px; height: 420px;
  bottom: -220px; left: -120px;
  background: radial-gradient(circle, rgba(113, 75, 103, .6), rgba(113, 75, 103, 0) 70%);
  animation-duration: 24s;
  animation-delay: -9s;
}

.outcome-bg__ring {
  position: absolute;
  width: 620px; height: 620px;
  bottom: -330px; right: -160px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 185, 7, .2);
  animation: heroSpin 110s linear infinite;
}

/* ----- Layout ----- */
.outcome-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 64px;
}

.outcome-copy h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 3vw + 14px, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--white);
}

.outcome-copy p {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: clamp(16px, .7vw + 12px, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
}

.outcome-copy p:last-child { margin-bottom: 0; }

/* ----- Comparison card ----- */
.compare-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* Gold highlight on the "Envertis fixed price" column */
.compare .is-ours {
  background: linear-gradient(180deg, rgba(244, 122, 12, .16), rgba(248, 72, 0, .08));
  box-shadow: inset 1px 0 0 rgba(255, 185, 7, .35);
}

.compare {
  position: relative;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare th,
.compare td {
  padding: 24px 28px;
  text-align: left;
  vertical-align: middle;
  font-size: 18px;
  line-height: 1.5;
}

.compare thead th:nth-child(1) { width: 27%; }
.compare thead th:nth-child(2) { width: 33%; }
.compare thead th:nth-child(3) { width: 40%; }

.compare thead th {
  padding-top: 30px;
  padding-bottom: 26px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.compare thead th.is-ours { color: var(--gold); }

.compare tbody tr { border-top: 1px solid rgba(255, 255, 255, .12); }

.compare tbody th {
  font-weight: 800;
  color: var(--white);
}

.compare tbody td {
  font-weight: 500;
  color: rgba(255, 255, 255, .68);
}

.compare tbody td.is-ours {
  font-weight: 800;
  color: var(--white);
}

/* Small markers: muted dash vs. gold tick */
.compare tbody td::before {
  content: "";
  display: inline-block;
  vertical-align: -3px;
  width: 16px; height: 16px;
  margin-right: 10px;
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)) center / 8px 2px no-repeat,
    rgba(255, 255, 255, .12);
}

.compare tbody td.is-ours::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c2a2a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat,
    linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 0 0 3px rgba(255, 185, 7, .18);
}

.compare tbody tr { transition: background-color .25s ease; }
.compare tbody tr:hover { background: rgba(255, 255, 255, .05); }

.compare-note {
  position: relative;
  margin: 0;
  padding: 22px 32px 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
}

/* ----- Animations ----- */
@media (prefers-reduced-motion: no-preference) {
  .js .outcome-copy.reveal { transform: translateX(-40px); }
  .js .compare-card.reveal { transform: translateX(40px) scale(.97); transition-delay: .15s; }
  .js .outcome-copy.reveal.is-visible,
  .js .compare-card.reveal.is-visible { transform: none; }

  .js .outcome-copy h2,
  .js .outcome-copy p {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
  }

  .js .outcome-copy.is-visible h2,
  .js .outcome-copy.is-visible p { opacity: 1; transform: none; }
  .js .outcome-copy.is-visible h2 { transition-delay: .1s; }
  .js .outcome-copy.is-visible p:nth-of-type(1) { transition-delay: .3s; }
  .js .outcome-copy.is-visible p:nth-of-type(2) { transition-delay: .45s; }

  /* Gold column sweeps down, then rows slide in one by one */

  .js .compare thead tr,
  .js .compare tbody tr,
  .js .compare-note {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), background-color .25s ease;
  }

  .js .compare-card.is-visible .compare thead tr,
  .js .compare-card.is-visible .compare tbody tr,
  .js .compare-card.is-visible .compare-note { opacity: 1; transform: none; }

  .js .compare-card.is-visible .compare thead tr { transition-delay: .45s, .45s, 0s; }
  .js .compare-card.is-visible .compare tbody tr:nth-child(1) { transition-delay: .6s, .6s, 0s; }
  .js .compare-card.is-visible .compare tbody tr:nth-child(2) { transition-delay: .72s, .72s, 0s; }
  .js .compare-card.is-visible .compare tbody tr:nth-child(3) { transition-delay: .84s, .84s, 0s; }
  .js .compare-card.is-visible .compare tbody tr:nth-child(4) { transition-delay: .96s, .96s, 0s; }
  .js .compare-card.is-visible .compare-note { transition-delay: 1.1s; }

  /* Gold ticks pop */
  .js .compare tbody td.is-ours::before { transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
  .js .compare-card.is-visible .compare tbody td.is-ours::before { transform: none; }
  .js .compare-card.is-visible tbody tr:nth-child(1) td.is-ours::before { transition-delay: .9s; }
  .js .compare-card.is-visible tbody tr:nth-child(2) td.is-ours::before { transition-delay: 1.02s; }
  .js .compare-card.is-visible tbody tr:nth-child(3) td.is-ours::before { transition-delay: 1.14s; }
  .js .compare-card.is-visible tbody tr:nth-child(4) td.is-ours::before { transition-delay: 1.26s; }
}

/* ----- Responsive ----- */
@media (max-width: 1199px) {
  .outcome-inner { gap: 48px; }
  .compare th, .compare td { padding: 22px 24px; font-size: 17px; }
  .compare-note { padding: 20px 24px 26px; }
}

@media (max-width: 991px) {
  .outcome { padding: 88px 0; }
  .outcome-inner { grid-template-columns: 1fr; gap: 44px; }
  .outcome-copy p { max-width: 680px; }
  .js .outcome-copy.reveal { transform: translateY(30px); }
  .js .compare-card.reveal { transform: translateY(30px) scale(.97); }
}

/* Phones: each row becomes its own mini comparison card */
@media (max-width: 640px) {
  .outcome { padding: 64px 0; }
  .outcome-copy h2 { margin-bottom: 20px; }

  .compare-card { border-radius: 22px; }
  .compare .is-ours { box-shadow: none; }
  .compare tbody th:first-child { width: 100%; }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; width: 100%; }

  .compare thead { display: none; }

  .compare tbody { padding: 8px 16px; }

  .compare tbody tr {
    padding: 16px 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .compare tbody tr:hover { background: none; }

  .compare tbody th {
    padding: 0 0 10px;
    font-size: 17px;
  }

  .compare tbody td {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 15.5px;
  }

  .compare tbody td::before {
    grid-column: 1;
    grid-row: span 2;
    margin: 0;
  }

  .compare tbody td::after {
    content: attr(data-label);
    order: -1;
    grid-column: 2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
  }

  .compare tbody td.is-ours {
    margin-top: 6px;
    background: linear-gradient(135deg, rgba(244, 122, 12, .18), rgba(248, 72, 0, .08));
    box-shadow: inset 0 0 0 1px rgba(255, 185, 7, .35);
  }

  .compare tbody td.is-ours::after { color: var(--gold); }

  .compare-note { padding: 18px 20px 22px; border-top: 0; font-size: 15px; }
}

/* ==========================================================
   Which fits – "Which package fits you?"
   ========================================================== */
.fit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
  padding: 104px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
}

.fit-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.fit-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: heroFloat 20s ease-in-out infinite alternate;
}

.fit-bg__orb--1 {
  width: 440px; height: 440px;
  top: 20%; left: -200px;
  background: radial-gradient(circle, rgba(244, 122, 12, .2), rgba(244, 122, 12, 0) 70%);
}

.fit-bg__orb--2 {
  width: 440px; height: 440px;
  bottom: -160px; right: -160px;
  background: radial-gradient(circle, rgba(1, 126, 132, .16), rgba(1, 126, 132, 0) 70%);
  animation-duration: 24s;
  animation-delay: -10s;
}

.fit-bg__dots {
  position: absolute;
  width: 160px; height: 160px;
  top: 70px; right: 6%;
  background-image: radial-gradient(rgba(113, 75, 103, .28) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 20%, transparent 70%);
          mask-image: radial-gradient(circle at 60% 40%, #000 20%, transparent 70%);
  animation: dotsPulse 6s ease-in-out infinite;
}

.fit-inner { max-width: 1248px; }

.fit .section-head { max-width: 860px; }

/* ----- Cards ----- */
.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}

.fit-card {
  position: relative;
  overflow: hidden;
  padding: 44px 40px 40px;
  border-radius: 32px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

/* Starter: light & warm */
.fit-card--starter {
  --accent: #e8590c;
  background: linear-gradient(150deg, #fff6ec 0%, #ffecd9 100%);
  box-shadow: inset 0 0 0 1px rgba(244, 122, 12, .16);
}

/* Full: deep plum */
.fit-card--full {
  --accent: #ffb907;
  background: linear-gradient(150deg, #3a2535 0%, #2a1a27 100%);
  box-shadow: 0 24px 50px -20px rgba(42, 26, 39, .5);
  color: #e9dfe6;
}

/* Corner pattern: dots on Starter, grid lines on Full */
.fit-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 240px; height: 240px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 100% 0, #000 10%, transparent 70%);
          mask-image: radial-gradient(circle at 100% 0, #000 10%, transparent 70%);
}
.fit-card--starter::before {
  background-image: radial-gradient(rgba(232, 89, 12, .35) 1.6px, transparent 1.8px);
  background-size: 16px 16px;
}
.fit-card--full::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.fit-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.fit-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffb907, #f47a0c);
  box-shadow: 0 12px 24px -10px #f47a0c;
}
.fit-card__icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fit-card h3 {
  margin: 0;
  font-size: clamp(22px, 1vw + 14px, 30px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.fit-card--full h3 { color: #fff; }

/* ----- Point tiles, each with its own graphic ----- */
.fit-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fit-point {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 1px 0 rgba(244, 122, 12, .08), 0 10px 24px -16px rgba(240, 100, 14, .35);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s ease, box-shadow .35s ease;
}
.fit-card--full .fit-point {
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.fit-point:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 1px 0 rgba(244, 122, 12, .1), 0 18px 30px -16px rgba(240, 100, 14, .45);
}
.fit-card--full .fit-point:hover {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 185, 7, .3);
}

.fit-point__art {
  display: grid;
  place-items: center;
  height: 84px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 236, 217, .9), rgba(255, 246, 236, .4));
}
.fit-card--full .fit-point__art { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }

.fit-point__art svg {
  width: 100%;
  max-width: 132px;
  height: 70px;
  overflow: visible;
}

.fit-point__text {
  font-size: clamp(15px, .3vw + 13px, 17px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--body);
}
.fit-card--full .fit-point__text { color: #eee4eb; }

/* Small hover moments in the graphics */
.fit-point svg g { transform-box: fill-box; transform-origin: center; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.fit-point:hover .fp-users > g:nth-child(odd) { transform: translateY(-3px); }
.fit-point:hover .fp-apps { transform: translateX(-3px); }
.fit-point:hover .fp-badge { transform: scale(1.15) rotate(-10deg); }
.fit-point:hover .fp-coin { transform: translateX(8px); }
.fit-point:hover .fp-pin { transform: translateY(-4px); }
.fit-point:hover .fp-bars { transform: scaleY(1.12); transform-origin: bottom; }

/* ----- Centre fork badge ----- */
.fit-fork {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 -22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px #fffaf6, 0 14px 30px -8px rgba(113, 75, 103, .45);
}
.fit-fork::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, #ffb907, #f47a0c, #714b67, #ffb907);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.fit-fork svg {
  width: 32px; height: 32px;
  fill: none;
  stroke: var(--plum);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Animations ----- */
@media (prefers-reduced-motion: no-preference) {
  .js .fit-card--starter.reveal { transform: translateX(-40px); }
  .js .fit-card--full.reveal { transform: translateX(40px); transition-delay: .12s; }
  .js .fit-fork.reveal { transform: scale(.4) rotate(-90deg); transition: opacity .6s ease .4s, transform .8s cubic-bezier(.34, 1.56, .64, 1) .4s; }
  .js .fit-card.reveal.is-visible,
  .js .fit-fork.reveal.is-visible { transform: none; }
  .js .fit-card.reveal.is-visible { transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }

  .fit-fork::before { animation: forkSpin 6s linear infinite; }

  .js .fit-card__head,
  .js .fit-point {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), background .3s ease, box-shadow .35s ease;
  }
  .js .fit-card.is-visible .fit-card__head,
  .js .fit-card.is-visible .fit-point { opacity: 1; transform: none; }
  .js .fit-card.is-visible .fit-point:hover { transform: translateY(-4px); transition-delay: 0s; }

  .js .fit-card.is-visible .fit-card__head { transition-delay: .25s; }
  .js .fit-card.is-visible .fit-point:nth-child(1) { transition-delay: .4s; }
  .js .fit-card.is-visible .fit-point:nth-child(2) { transition-delay: .5s; }
  .js .fit-card.is-visible .fit-point:nth-child(3) { transition-delay: .6s; }
  .js .fit-card.is-visible .fit-point:nth-child(4) { transition-delay: .7s; }

  /* Ongoing gentle motion */
  .fp-route,
  .fp-wires path,
  .fp-flow path { animation: fpFlow 1.4s linear infinite; }
}

@keyframes forkSpin { to { transform: rotate(360deg); } }
@keyframes fpFlow { to { stroke-dashoffset: -14; } }

/* ----- Responsive ----- */
@media (max-width: 1199px) {
  .fit-card { padding: 36px 26px 30px; }
  .fit-card__head { gap: 14px; margin-bottom: 22px; }
  .fit-card__icon { width: 52px; height: 52px; border-radius: 16px; }
  .fit-card__icon svg { width: 24px; height: 24px; }
  .fit-list { gap: 12px; }
  .fit-point { padding: 14px 14px 16px; }
  .fit-point__art { height: 74px; }
  .fit-point__art svg { height: 60px; }
}

@media (max-width: 991px) {
  .fit { padding: 80px 0; }
  .fit-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .fit-fork { justify-self: center; margin: -24px 0; }
  .js .fit-card--starter.reveal,
  .js .fit-card--full.reveal { transform: translateY(30px); }
}

@media (max-width: 575px) {
  .fit { padding: 60px 0; }
  .fit-card { padding: 26px 16px 18px; border-radius: 24px; }
  .fit-card__head { margin-bottom: 18px; }
  .fit-card__icon { width: 46px; height: 46px; border-radius: 14px; }
  .fit-card__icon svg { width: 22px; height: 22px; }
  .fit-list { grid-template-columns: 1fr; gap: 10px; }
  .fit-point {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px 14px 10px 10px;
    border-radius: 16px;
  }
  .fit-point__art { flex: none; width: 96px; height: 62px; border-radius: 12px; }
  .fit-point__art svg { height: 50px; }
  .fit-point__text { font-size: 15px; }
  .fit-fork { width: 62px; height: 62px; margin: -20px 0; }
  .fit-fork svg { width: 26px; height: 26px; }
  .fit-bg__dots { display: none; }
}


/* ==========================================================
   How it works – "Starter: live in 4 weeks"
   ========================================================== */
.how {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
  padding: 104px 0 112px;
  background: linear-gradient(180deg, #fbf5f1 0%, #f8f0f4 100%);
}

.how-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.how-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: heroFloat 20s ease-in-out infinite alternate;
}

.how-bg__orb--1 {
  width: 460px; height: 460px;
  top: -160px; left: 8%;
  background: radial-gradient(circle, rgba(255, 185, 7, .3), rgba(255, 185, 7, 0) 70%);
}

.how-bg__orb--2 {
  width: 480px; height: 480px;
  bottom: -220px; right: 4%;
  background: radial-gradient(circle, rgba(113, 75, 103, .2), rgba(113, 75, 103, 0) 70%);
  animation-duration: 24s;
  animation-delay: -10s;
}

.how-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(113, 75, 103, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 75, 103, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 15%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 15%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}

.how-inner { max-width: 1248px; }

/* ----- Timeline wrapper + track ----- */
.how-timeline {
  --gap: 20px;
  position: relative;
  padding-top: 72px;
}

.how-track {
  position: absolute;
  top: 22px;
  left: calc(10% - var(--gap) * .4);
  right: calc(10% - var(--gap) * .4);
  height: 4px;
  border-radius: 4px;
  background: rgba(113, 75, 103, .12);
}

.how-track__fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--orange) 55%, var(--red-orange));
  transform-origin: left;
}

/* Moving dashes on the filled track */
.how-track__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 10px, transparent 10px 22px);
  animation: trackFlow 1.2s linear infinite;
  opacity: .6;
}

@keyframes trackFlow { to { background-position: 22px 0; } }

/* Glowing spark that travels to the finish */
.how-track__comet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(255, 185, 7, .55),
    0 0 18px 6px rgba(255, 150, 20, .55),
    -18px 0 16px 2px rgba(255, 185, 7, .35);
  opacity: 0;
  z-index: 2;
}

@keyframes cometRun {
  0%   { left: 0;    opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Checkered finish flag above the last node */
.how-track__flag {
  position: absolute;
  right: -10px;
  top: -44px;
  width: 30px;
  transform-origin: 3px 100%;
  z-index: 3;
}

.how-track__flag svg { display: block; width: 30px; height: auto; overflow: visible; }
.how-track__flag .pole { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.how-track__flag rect:first-of-type { stroke: var(--ink); stroke-width: 1; }

@keyframes flagWave {
  0%, 100% { transform: skewY(0deg) rotate(0deg); }
  50%      { transform: skewY(-6deg) rotate(-3deg); }
}

/* ----- Steps ----- */
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
}

.how-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 26px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, var(--s1), var(--s2)) top left / 100% 5px no-repeat,
    var(--white);
  box-shadow: 0 10px 30px rgba(113, 75, 103, .08);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

.how-step:hover {
  transform: translateY(-10px) rotate(-.6deg);
  box-shadow: 0 26px 50px rgba(240, 100, 14, .18);
}

/* Node on the track */
.how-step::before {
  content: "";
  position: absolute;
  top: -61px;
  left: 50%;
  width: 26px; height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--s2) 0 4px, transparent 5px),
    var(--white);
  border: 3px solid var(--s2);
  box-shadow: 0 0 0 6px rgba(244, 122, 12, .12);
  z-index: 1;
}

/* Connector from node to card */
.how-step::after {
  content: "";
  position: absolute;
  top: -35px;
  left: 50%;
  width: 2px; height: 35px;
  margin-left: -1px;
  background: linear-gradient(var(--s2), rgba(244, 122, 12, 0));
  opacity: .5;
}

/* Icon tile */
.how-step__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--s1), var(--s2));
  box-shadow: 0 10px 22px rgba(240, 100, 14, .28);
}

.how-step__icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-step:hover .how-step__icon { animation: iconJiggle .7s cubic-bezier(.34, 1.56, .64, 1); }

@keyframes iconJiggle {
  0%   { transform: none; }
  30%  { transform: translateY(-6px) rotate(-10deg) scale(1.08); }
  60%  { transform: translateY(0) rotate(6deg); }
  100% { transform: none; }
}

.how-step p { margin: 0; }

.how-step__week {
  margin-bottom: 10px !important;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cta-to);
}

.how-step h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.how-step h3 + p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Progress meter: how far along the journey this step is */
.how-step__meter {
  position: relative;
  display: block;
  height: 6px;
  margin-top: auto;
  border-radius: 6px;
  background: rgba(113, 75, 103, .1);
  overflow: hidden;
}

.how-step h3 + p { margin-bottom: 22px; }

.how-step__meter span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--s2));
}

/* Final dark card */
.how-step--dark {
  background:
    linear-gradient(90deg, var(--s1), var(--s2)) top left / 100% 5px no-repeat,
    radial-gradient(240px circle at 100% 0%, rgba(255, 185, 7, .22), transparent 60%),
    linear-gradient(150deg, #34302f 0%, var(--ink) 50%, #1d1b1c 100%);
  box-shadow: 0 18px 44px rgba(44, 42, 42, .3);
}

.how-step--dark:hover { box-shadow: 0 28px 58px rgba(44, 42, 42, .4); }

.how-step--dark::before {
  background: linear-gradient(135deg, var(--gold), var(--red-orange));
  border-color: var(--white);
  animation: nodePulse 2.4s ease-in-out infinite;
}

.how-step--dark .how-step__week { color: var(--gold); }
.how-step--dark h3 { color: var(--white); }
.how-step--dark h3 + p { color: rgba(255, 255, 255, .82); }
.how-step--dark .how-step__meter { background: rgba(255, 255, 255, .14); }
.how-step--dark .how-step__icon { box-shadow: 0 10px 26px rgba(255, 150, 20, .35); }

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 185, 7, .28); }
  50%      { box-shadow: 0 0 0 12px rgba(255, 185, 7, .06); }
}

/* ----- Animations ----- */
@media (prefers-reduced-motion: no-preference) {
  .js .how-timeline.reveal { opacity: 1; transform: none; }

  /* Track fills, then the spark keeps running and the flag waves */
  .js .how-track__fill { transform: scaleX(0); transition: transform 2s cubic-bezier(.65, 0, .35, 1) .3s; }
  .js .how-timeline.is-visible .how-track__fill { transform: scaleX(1); }
  .js .how-timeline.is-visible .how-track__comet { animation: cometRun 3.6s cubic-bezier(.45, 0, .55, 1) 2.4s infinite; }

  .js .how-track__flag { opacity: 0; transform: translateY(14px) scale(.6); transition: opacity .5s ease 2.2s, transform .6s cubic-bezier(.34, 1.56, .64, 1) 2.2s; }
  .js .how-timeline.is-visible .how-track__flag { opacity: 1; transform: none; animation: flagWave 1.6s ease-in-out 2.9s infinite; }

  /* Cards rise in sequence */
  .js .how-step {
    opacity: 0;
    transform: translateY(40px) scale(.96);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
  }

  .js .how-timeline.is-visible .how-step { opacity: 1; transform: none; }
  .js .how-timeline.is-visible .how-step:nth-child(1) { transition-delay: .3s, .3s, 0s; }
  .js .how-timeline.is-visible .how-step:nth-child(2) { transition-delay: .7s, .7s, 0s; }
  .js .how-timeline.is-visible .how-step:nth-child(3) { transition-delay: 1.1s, 1.1s, 0s; }
  .js .how-timeline.is-visible .how-step:nth-child(4) { transition-delay: 1.5s, 1.5s, 0s; }
  .js .how-timeline.is-visible .how-step:nth-child(5) { transition-delay: 1.9s, 1.9s, 0s; }
  .js .how-timeline.is-visible .how-step:hover { transform: translateY(-10px) rotate(-.6deg); transition-delay: 0s; }

  /* Top accent bar sweeps across each card */
  .js .how-step { background-size: 0% 5px, auto; }
  .js .how-step--dark { background-size: 0% 5px, auto, auto; }
  .js .how-timeline.is-visible .how-step { background-size: 100% 5px, auto; transition-property: opacity, transform, box-shadow, background-size; transition-duration: .7s, .7s, .4s, .9s; }
  .js .how-timeline.is-visible .how-step--dark { background-size: 100% 5px, auto, auto; }

  /* Nodes pop as the line reaches them */
  .js .how-step::before { transform: scale(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
  .js .how-timeline.is-visible .how-step::before { transform: none; }
  .js .how-timeline.is-visible .how-step:nth-child(1)::before { transition-delay: .35s; }
  .js .how-timeline.is-visible .how-step:nth-child(2)::before { transition-delay: .8s; }
  .js .how-timeline.is-visible .how-step:nth-child(3)::before { transition-delay: 1.25s; }
  .js .how-timeline.is-visible .how-step:nth-child(4)::before { transition-delay: 1.7s; }
  .js .how-timeline.is-visible .how-step:nth-child(5)::before { transition-delay: 2.1s; }

  /* Icons spin in */
  .js .how-step__icon { transform: rotate(-90deg) scale(.4); opacity: 0; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease; }
  .js .how-timeline.is-visible .how-step__icon { transform: none; opacity: 1; }
  .js .how-timeline.is-visible .how-step:nth-child(1) .how-step__icon { transition-delay: .55s; }
  .js .how-timeline.is-visible .how-step:nth-child(2) .how-step__icon { transition-delay: .95s; }
  .js .how-timeline.is-visible .how-step:nth-child(3) .how-step__icon { transition-delay: 1.35s; }
  .js .how-timeline.is-visible .how-step:nth-child(4) .how-step__icon { transition-delay: 1.75s; }
  .js .how-timeline.is-visible .how-step:nth-child(5) .how-step__icon { transition-delay: 2.15s; }

  /* Meters fill up */
  .js .how-step__meter span { width: 0; transition: width 1.1s cubic-bezier(.65, 0, .35, 1); }
  .js .how-timeline.is-visible .how-step__meter span { width: var(--p); }
  .js .how-timeline.is-visible .how-step:nth-child(1) .how-step__meter span { transition-delay: .9s; }
  .js .how-timeline.is-visible .how-step:nth-child(2) .how-step__meter span { transition-delay: 1.3s; }
  .js .how-timeline.is-visible .how-step:nth-child(3) .how-step__meter span { transition-delay: 1.7s; }
  .js .how-timeline.is-visible .how-step:nth-child(4) .how-step__meter span { transition-delay: 2.1s; }
  .js .how-timeline.is-visible .how-step:nth-child(5) .how-step__meter span { transition-delay: 2.5s; }
}

/* ----- Responsive ----- */
@media (max-width: 1199px) {
  .how-timeline { --gap: 16px; }
  .how-step { padding: 28px 20px 24px; }
  .how-step__icon { width: 44px; height: 44px; border-radius: 13px; }
  .how-step__icon svg { width: 21px; height: 21px; }
  .how-step h3 { font-size: 18.5px; }
  .how-step h3 + p { font-size: 14.5px; }
}

/* Tablet: two columns, final card spans full width; no horizontal track */
@media (max-width: 1023px) {
  .how { padding: 80px 0 88px; }
  .how-timeline { padding-top: 0; }
  .how-track { display: none; }

  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .how-step::before,
  .how-step::after { display: none; }

  .how-step--dark { grid-column: 1 / -1; }
  .how-step { padding: 28px 26px 26px; }
  .how-step h3 { font-size: 20px; }
  .how-step h3 + p { font-size: 15.5px; }
}

/* Phones: vertical timeline */
@media (max-width: 639px) {
  .how { padding: 60px 0 64px; }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 34px;
  }

  .how-step--dark { grid-column: auto; }
  .how-step { padding: 24px 20px 22px; border-radius: 18px; }
  .how-step:hover { transform: translateY(-4px); }

  .how-step::before {
    display: block;
    top: 24px;
    left: -34px;
    width: 23px; height: 23px;
    margin-left: 0;
  }

  /* One segment per step: from this node down to the next one */
  .how-step:not(:last-child)::after {
    display: block;
    top: 47px;
    bottom: -24px;
    left: -24px;
    width: 3px; height: auto;
    margin: 0;
    opacity: 1;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--s2), var(--s1));
    transform-origin: top;
  }

  .how-step__icon { position: absolute; top: 20px; right: 18px; margin: 0; width: 42px; height: 42px; }
  .how-step__week { font-size: 12.5px; }
  .how-step h3 { font-size: 19px; margin-bottom: 10px; padding-right: 52px; }
  .how-step h3 + p { margin-bottom: 18px; }
}

@media (max-width: 639px) and (prefers-reduced-motion: no-preference) {
  .js .how-timeline.is-visible .how-step:hover { transform: translateY(-4px); }
  .js .how-step::after { transform: scaleY(0); transition: transform .5s ease-out; }
  .js .how-timeline.is-visible .how-step::after { transform: scaleY(1); }
  .js .how-timeline.is-visible .how-step:nth-child(1)::after { transition-delay: .6s; }
  .js .how-timeline.is-visible .how-step:nth-child(2)::after { transition-delay: 1s; }
  .js .how-timeline.is-visible .how-step:nth-child(3)::after { transition-delay: 1.4s; }
  .js .how-timeline.is-visible .how-step:nth-child(4)::after { transition-delay: 1.8s; }
}

/* ==========================================================
   Grow – "Start small. Grow without starting again."
   Growth rings: the same core, extended outward
   ========================================================== */
.grow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 112px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf8f5 60%, #faf3f7 100%);
}

.grow-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.grow-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: heroFloat 22s ease-in-out infinite alternate;
}

.grow-bg__orb--1 {
  width: 460px; height: 460px;
  top: 30%; left: -140px;
  background: radial-gradient(circle, rgba(255, 185, 7, .26), rgba(255, 185, 7, 0) 70%);
}

.grow-bg__orb--2 {
  width: 480px; height: 480px;
  bottom: -160px; right: -140px;
  background: radial-gradient(circle, rgba(113, 75, 103, .2), rgba(113, 75, 103, 0) 70%);
  animation-duration: 26s;
  animation-delay: -12s;
}

.grow-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(113, 75, 103, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 75, 103, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 28% 60%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 50% 60% at 28% 60%, #000 10%, transparent 75%);
}

.grow-inner { max-width: 1248px; }
.grow .section-head { max-width: 820px; }

.grow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

/* ----- Rings ----- */
.grow-rings {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.ring {
  position: absolute;
  inset: calc((100% - var(--s)) / 2);
  border-radius: 50%;
}

/* Soft tinted disc */
.ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 55%, var(--c1) 100%);
  opacity: .08;
  transition: opacity .5s ease;
}

/* Dashed orbit that slowly turns, carrying a small dot */
.ring__track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--c2);
  opacity: .4;
  animation: heroSpin var(--spd, 60s) linear infinite;
  transition: opacity .5s ease, border-color .5s ease;
}

.ring__track::after {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 10px; height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 0 10px var(--c1);
}

/* Number badge sitting on the ring */
.ring__badge {
  position: absolute;
  left: var(--bx);
  top: var(--by);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 8px 20px rgba(240, 100, 14, .25), 0 0 0 5px #fff;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), box-shadow .5s ease;
}

/* Active ring */
.ring.is-active::before { opacity: .22; }
.ring.is-active .ring__track { opacity: 1; border-style: solid; }

.ring.is-active .ring__badge {
  transform: translate(-50%, -50%) scale(1.22);
  box-shadow: 0 10px 26px rgba(240, 100, 14, .35), 0 0 0 5px #fff, 0 0 0 11px rgba(244, 122, 12, .18);
}

/* Centre: the Starter core */
.grow-core {
  position: absolute;
  inset: 42%;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red-orange));
  box-shadow: 0 12px 30px rgba(248, 72, 0, .35);
  animation: corePulse 3s ease-in-out infinite;
}

.grow-core svg {
  width: 46%; height: 46%;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(248, 72, 0, .35), 0 0 0 0 rgba(255, 185, 7, .35); }
  50%      { box-shadow: 0 12px 30px rgba(248, 72, 0, .35), 0 0 0 18px rgba(255, 185, 7, 0); }
}

/* ----- Step list ----- */
.grow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.grow-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(113, 75, 103, .1);
  cursor: default;
  transition: background-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s ease;
}

.grow-item__num {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0;
  border-radius: 16px;
  font-size: 26px;
  font-weight: 900;
  color: var(--c2);
  background: color-mix(in srgb, var(--c1) 14%, #fff);
  transition: background .4s ease, color .4s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.grow-item h3 {
  margin: 4px 0 6px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.grow-item__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Progress bar showing the auto-advance timer */
.grow-item__bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}

.grow-item.is-active {
  background: var(--white);
  border-color: color-mix(in srgb, var(--c2) 35%, transparent);
  box-shadow: 0 18px 40px rgba(113, 75, 103, .12);
  transform: translateX(8px);
}

.grow-item.is-active .grow-item__num {
  color: var(--white);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  transform: rotate(-6deg);
}

.grow-item.is-active .grow-item__bar { animation: growBar var(--cycle, 3.6s) linear forwards; }
.grow-layout.is-paused .grow-item.is-active .grow-item__bar { animation-play-state: paused; }

@keyframes growBar { to { width: 100%; } }

/* ----- Entrance animations ----- */
@media (prefers-reduced-motion: no-preference) {
  .js .grow-layout.reveal { opacity: 1; transform: none; }

  .js .ring { opacity: 0; transform: scale(.3); transition: opacity .6s ease, transform 1s cubic-bezier(.34, 1.4, .64, 1); }
  .js .grow-layout.is-visible .ring { opacity: 1; transform: none; }
  .js .grow-layout.is-visible .ring[data-step="1"] { transition-delay: .3s; }
  .js .grow-layout.is-visible .ring[data-step="2"] { transition-delay: .55s; }
  .js .grow-layout.is-visible .ring[data-step="3"] { transition-delay: .8s; }
  .js .grow-layout.is-visible .ring[data-step="4"] { transition-delay: 1.05s; }

  .js .grow-core { opacity: 0; transform: scale(0); transition: opacity .4s ease .1s, transform .7s cubic-bezier(.34, 1.56, .64, 1) .1s; }
  .js .grow-layout.is-visible .grow-core { opacity: 1; transform: none; }

  .js .grow-item { opacity: 0; translate: 40px 0; transition: opacity .6s ease, translate .7s cubic-bezier(.2, .8, .2, 1), background-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s ease; }
  .js .grow-layout.is-visible .grow-item { opacity: 1; translate: 0 0; }
  .js .grow-layout.is-visible .grow-item:nth-child(1) { transition-delay: .4s, .4s, 0s, 0s, 0s, 0s; }
  .js .grow-layout.is-visible .grow-item:nth-child(2) { transition-delay: .55s, .55s, 0s, 0s, 0s, 0s; }
  .js .grow-layout.is-visible .grow-item:nth-child(3) { transition-delay: .7s, .7s, 0s, 0s, 0s, 0s; }
  .js .grow-layout.is-visible .grow-item:nth-child(4) { transition-delay: .85s, .85s, 0s, 0s, 0s, 0s; }
}

@media (prefers-reduced-motion: reduce) {
  .grow-item.is-active .grow-item__bar { width: 100%; }
}

/* ----- Responsive ----- */
@media (max-width: 1199px) {
  .grow-layout { gap: 48px; }
  .grow-item { padding: 20px; gap: 16px; }
  .grow-item h3 { font-size: 19px; }
  .grow-item__body p { font-size: 15px; }
}

/* Tablet: rings on top, steps in a 2 × 2 grid */
@media (max-width: 991px) {
  .grow { padding: 80px 0 88px; }
  .grow-layout { grid-template-columns: 1fr; gap: 48px; }
  .grow-rings { max-width: 440px; }
  .grow-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .grow-item.is-active { transform: translateY(-4px); }
}

/* Phones: smaller rings, single column */
@media (max-width: 575px) {
  .grow { padding: 60px 0 64px; }
  .grow-layout { gap: 36px; }
  .grow-rings { max-width: 310px; }
  .ring__badge { width: 36px; height: 36px; font-size: 16px; box-shadow: 0 6px 14px rgba(240, 100, 14, .25), 0 0 0 4px #fff; }
  .ring.is-active .ring__badge { box-shadow: 0 8px 18px rgba(240, 100, 14, .35), 0 0 0 4px #fff, 0 0 0 8px rgba(244, 122, 12, .18); }
  .grow-list { grid-template-columns: 1fr; gap: 12px; }
  .grow-item { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 18px; }
  .grow-item__num { width: 46px; height: 46px; border-radius: 13px; font-size: 21px; }
  .grow-item h3 { font-size: 18px; margin-top: 2px; }
  .grow-item.is-active { transform: none; }
}

/* ==========================================================
   Testimonials – "What our clients say"
   ========================================================== */
.quotes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 112px;
  color: var(--white);
  background: linear-gradient(135deg, #5a3a52 0%, var(--plum) 45%, #4a2f44 100%);
  background-size: 200% 200%;
  animation: heroGradient 18s ease-in-out infinite;
}

/* ----- Background decoration ----- */
.quotes-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.quotes-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: heroFloat 20s ease-in-out infinite alternate;
}

.quotes-bg__orb--1 {
  width: 480px; height: 480px;
  top: -220px; left: 12%;
  background: radial-gradient(circle, rgba(244, 122, 12, .45), rgba(244, 122, 12, 0) 70%);
}

.quotes-bg__orb--2 {
  width: 440px; height: 440px;
  bottom: -220px; right: 8%;
  background: radial-gradient(circle, rgba(255, 185, 7, .35), rgba(255, 185, 7, 0) 70%);
  animation-duration: 24s;
  animation-delay: -10s;
}

.quotes-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%);
}

/* Giant soft quote marks */
.quotes-bg__mark {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 380px;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, .06);
  animation: shapeBob 8s ease-in-out infinite;
}

.quotes-bg__mark--1 { top: -40px; left: 3%; }
.quotes-bg__mark--2 { bottom: -200px; right: 3%; animation-delay: -4s; }

/* ----- Heading ----- */
.quotes-inner { max-width: 1248px; }

.quotes-title {
  margin: 0 0 56px;
  text-align: center;
  font-size: clamp(30px, 2.6vw + 14px, 46px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* ----- Cards ----- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 44px 44px 40px;
  border-radius: 26px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(30, 12, 26, .3);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

/* Gold accent along the left edge */
.quote-card::before {
  content: "";
  position: absolute;
  left: 0; top: 44px;
  width: 4px; height: 56px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--gold), var(--red-orange));
  transition: height .5s cubic-bezier(.2, .8, .2, 1);
}

.quote-card:hover {
  transform: translateY(-8px) rotate(-.4deg);
  box-shadow: 0 34px 70px rgba(30, 12, 26, .4);
}

.quote-card:hover::before { height: calc(100% - 88px); }

/* Floating quote badge */
.quote-card__icon {
  position: absolute;
  top: -26px;
  right: 36px;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), var(--red-orange));
  box-shadow: 0 14px 30px rgba(248, 72, 0, .35);
  transform: rotate(-8deg);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.quote-card:hover .quote-card__icon { transform: rotate(4deg) scale(1.08); }

.quote-card__icon svg { width: 28px; height: 28px; fill: var(--white); }

.quote-card blockquote {
  margin: 0 0 28px;
  font-size: clamp(17px, .5vw + 14px, 20px);
  line-height: 1.65;
  color: var(--ink);
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed rgba(113, 75, 103, .2);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}

.quote-card figcaption strong { color: var(--ink); font-weight: 800; }

.quote-card__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--white);
  background: linear-gradient(135deg, var(--plum), #9a5d88);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(244, 122, 12, .45);
}

/* ----- Animations ----- */
@media (prefers-reduced-motion: no-preference) {
  .js .quote-card.reveal { transform: translateY(50px) rotate(1.5deg); }
  .js .quote-card.reveal:nth-child(2) { transform: translateY(50px) rotate(-1.5deg); transition-delay: .15s; }
  .js .quote-card.reveal.is-visible { transform: none; transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease; }
  .js .quote-card.reveal.is-visible:hover { transform: translateY(-8px) rotate(-.4deg); transition-delay: 0s; }

  .js .quote-card__icon { opacity: 0; transform: rotate(-60deg) scale(.3); }
  .js .quote-card.is-visible .quote-card__icon { opacity: 1; transform: rotate(-8deg); transition: opacity .4s ease .5s, transform .7s cubic-bezier(.34, 1.56, .64, 1) .5s; }
  .js .quote-card.is-visible:hover .quote-card__icon { transform: rotate(4deg) scale(1.08); transition-delay: 0s; }

  .js .quote-card blockquote,
  .js .quote-card figcaption { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
  .js .quote-card.is-visible blockquote { opacity: 1; transform: none; transition-delay: .35s; }
  .js .quote-card.is-visible figcaption { opacity: 1; transform: none; transition-delay: .55s; }
}

/* ----- Responsive ----- */
@media (max-width: 1199px) {
  .quote-card { padding: 40px 34px 34px; }
}

@media (max-width: 899px) {
  .quotes { padding: 80px 0 88px; }
  .quotes-title { margin-bottom: 52px; }
  .quotes-grid { grid-template-columns: 1fr; gap: 44px; max-width: 680px; margin: 0 auto; }
  .quotes-bg__mark { font-size: 260px; }
}

@media (max-width: 575px) {
  .quotes { padding: 60px 0 64px; }
  .quotes-title { margin-bottom: 44px; }
  .quotes-grid { gap: 40px; }
  .quote-card { padding: 34px 22px 24px; border-radius: 20px; }
  .quote-card::before { top: 34px; height: 44px; }
  .quote-card__icon { width: 48px; height: 48px; border-radius: 15px; top: -22px; right: 22px; }
  .quote-card__icon svg { width: 23px; height: 23px; }
  .quote-card figcaption { align-items: flex-start; font-size: 14.5px; gap: 12px; }
  .quote-card__avatar { width: 42px; height: 42px; font-size: 14px; }
  .quotes-bg__mark { font-size: 200px; }
}

/* ==========================================================
   FAQ + Contact – one combined section
   ========================================================== */
.faqc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
  padding: 104px 0 112px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf8f4 50%, #f9f1f6 100%);
}

.faqc-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.faqc-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: heroFloat 22s ease-in-out infinite alternate;
}

.faqc-bg__orb--1 {
  width: 460px; height: 460px;
  top: 6%; left: -160px;
  background: radial-gradient(circle, rgba(255, 185, 7, .24), rgba(255, 185, 7, 0) 70%);
}

.faqc-bg__orb--2 {
  width: 520px; height: 520px;
  bottom: -200px; right: -160px;
  background: radial-gradient(circle, rgba(113, 75, 103, .22), rgba(113, 75, 103, 0) 70%);
  animation-duration: 26s;
  animation-delay: -12s;
}

.faqc-bg__dots {
  position: absolute;
  width: 180px; height: 180px;
  top: 80px; right: 40%;
  background-image: radial-gradient(rgba(113, 75, 103, .26) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%);
          mask-image: radial-gradient(circle, #000 20%, transparent 70%);
  animation: dotsPulse 6s ease-in-out infinite;
}

.faqc-inner {
  max-width: 1248px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 100px;
  align-items: start;
}

/* ----- FAQ ----- */
.faq-head { margin-bottom: 34px; }

.faq-head h2 {
  margin: 0;
  font-size: clamp(30px, 2.6vw + 14px, 46px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.faq-head__swoosh {
  display: block;
  width: 170px;
  height: 16px;
  margin-top: 10px;
}

.faq-head__swoosh path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(113, 75, 103, .12);
  box-shadow: 0 8px 24px rgba(113, 75, 103, .05);
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.faq-item:hover { border-color: rgba(244, 122, 12, .35); }

.faq-item[open] {
  background: var(--white);
  border-color: rgba(244, 122, 12, .35);
  box-shadow: 0 18px 40px rgba(240, 100, 14, .12);
}

/* Orange accent on the open item */
.faq-item::before {
  content: "";
  position: absolute;
  left: -1px; top: 22px; bottom: 22px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--gold), var(--red-orange));
  transform: scaleY(0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.faq-item[open]::before { transform: none; }

.faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 20px;
}

.faq-item__num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  color: var(--plum);
  background: #f5edf3;
  transition: background .3s ease, color .3s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.faq-item[open] .faq-item__num {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), var(--red-orange));
  transform: rotate(-6deg);
}

.faq-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--ink);
}

/* Plus that turns into a minus */
.faq-item__toggle {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #f7f1f4;
  transition: background .3s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2.5px;
  margin: -1.25px 0 0 -7px;
  border-radius: 2px;
  background: var(--plum);
  transition: transform .35s ease, background .3s ease;
}

.faq-item__toggle::after { transform: rotate(90deg); }

.faq-item[open] .faq-item__toggle {
  background: var(--orange);
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__toggle::before,
.faq-item[open] .faq-item__toggle::after { background: var(--white); }

.faq-item[open] .faq-item__toggle::after { transform: rotate(0deg); }

.faq-item__answer {
  padding: 0 24px 24px 82px;
}

.faq-item__answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}

.faq-item[open] .faq-item__answer { animation: faqOpen .45s cubic-bezier(.2, .8, .2, 1); }

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ----- Contact card ----- */
.contact-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(113, 75, 103, .2);
}

.contact-card__top {
  position: relative;
  overflow: hidden;
  padding: 38px 36px 34px;
  color: var(--white);
  background: linear-gradient(135deg, #8a5a7d 0%, #000000 45%, #000000 100%);
  background-size: 180% 180%;
  animation: headerShift 12s ease-in-out infinite;
}

/* Glow + ring decoration in the header */
.contact-card__top::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  top: -120px; right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 185, 7, .45), transparent 65%);
  animation: heroFloat 14s ease-in-out infinite alternate;
}

.contact-card__deco {
  position: absolute;
  width: 200px; height: 200px;
  right: -70px; bottom: -110px;
  border-radius: 50%;
  border: 22px solid rgba(255, 255, 255, .08);
  animation: heroSpin 40s linear infinite;
}

.contact-card__top > *:not(.contact-card__deco) { position: relative; }

.contact-card__top h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 1.4vw + 16px, 34px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--white);
}

.contact-card__top p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
}

.contact-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}

.contact-chip:hover { background: var(--white); color: var(--plum); transform: translateY(-2px); }
.contact-chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.contact-chip svg {
  width: 17px; height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Form ----- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 36px 32px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field label,
.size-picker legend {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fbf8fa;
  border: 1.5px solid #e6dce3;
  border-radius: 13px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input:hover,
.field textarea:hover { border-color: #d6c4d0; }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(244, 122, 12, .15);
}

/* Team size pills */
.size-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.size-picker legend { margin-bottom: 8px; padding: 0; }

.size-picker__options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.size-pill { position: relative; cursor: pointer; }

.size-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.size-pill span {
  display: block;
  padding: 12px 6px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: #fbf8fa;
  border: 1.5px solid #e6dce3;
  border-radius: 12px;
  transition: all .25s ease;
}

.size-pill:hover span { border-color: var(--orange); }

.size-pill input:checked + span {
  color: var(--white);
  background: linear-gradient(135deg, #bf80af, #512244);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(113, 75, 103, .28);
  transform: translateY(-2px);
}

.size-pill input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Submit */
.contact-submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  gap: 10px;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
}

.contact-submit svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s ease;
}

.contact-submit:hover svg { transform: translateX(5px); }

.contact-submit::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -75%;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  animation: btnShine 4s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 70% { left: -75%; }
  100%    { left: 125%; }
}

.contact-note {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ----- Scroll animations ----- */
@media (prefers-reduced-motion: no-preference) {
  .js .faq-head__swoosh path { stroke-dashoffset: 240; transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .35, 1) .4s; }
  .js .faq-head.is-visible .faq-head__swoosh path { stroke-dashoffset: 0; }

  .js .faq-item.reveal { transform: translateX(-30px); }
  .js .faq-item.reveal.is-visible { transform: none; }
  .js .faq-item.reveal:nth-child(2) { transition-delay: .08s; }
  .js .faq-item.reveal:nth-child(3) { transition-delay: .16s; }
  .js .faq-item.reveal:nth-child(4) { transition-delay: .24s; }
  .js .faq-item.reveal:nth-child(5) { transition-delay: .32s; }
  .js .faq-item.reveal:nth-child(6) { transition-delay: .4s; }

  .js .contact-card.reveal { transform: translateY(50px) scale(.97); transition-delay: .15s; }
  .js .contact-card.reveal.is-visible { transform: none; }

  .js .contact-form > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
  .js .contact-card.is-visible .contact-form > * { opacity: 1; transform: none; }
  .js .contact-card.is-visible .contact-form > *:nth-child(1) { transition-delay: .45s; }
  .js .contact-card.is-visible .contact-form > *:nth-child(2) { transition-delay: .55s; }
  .js .contact-card.is-visible .contact-form > *:nth-child(3) { transition-delay: .65s; }
  .js .contact-card.is-visible .contact-form > *:nth-child(4) { transition-delay: .75s; }
  .js .contact-card.is-visible .contact-form > *:nth-child(5) { transition-delay: .85s; }
  .js .contact-card.is-visible .contact-form > *:nth-child(6) { transition-delay: .95s; }
}

/* ----- Responsive ----- */
@media (max-width: 1199px) {
  .faqc-inner { gap: 64px; }
  .contact-card__top { padding: 34px 30px 30px; }
  .contact-form { padding: 28px 30px 30px; }
  .faq-item summary { padding: 20px; gap: 14px; }
  .faq-item__answer { padding: 0 20px 22px 76px; }
}

/* Tablet & below: stack FAQ above the contact card */
@media (max-width: 1023px) {
  .faqc { padding: 80px 0 88px; }
  .faqc-inner { grid-template-columns: 1fr; gap: 80px; }
  .faq-head { text-align: center; }
  .faq-head__swoosh { margin: 10px auto 0; }
  .contact-card { position: relative; top: auto; max-width: 680px; width: 100%; margin: 0 auto; scroll-margin-top: calc(var(--header-h) + 16px); }
  .faqc-bg__dots { right: 6%; top: 40px; }
}

@media (max-width: 575px) {
  .faqc { padding: 60px 0 64px; }
  .faqc-inner { gap: 56px; }
  .faq-head { margin-bottom: 26px; }
  .faq-list { gap: 12px; }
  .faq-item { border-radius: 16px; }
  .faq-item summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 16px; }
  .faq-item__num { width: 34px; height: 34px; border-radius: 10px; font-size: 12.5px; }
  .faq-item h3 { font-size: 16px; }
  .faq-item__toggle { width: 30px; height: 30px; }
  .faq-item__answer { padding: 0 16px 18px; }
  .faq-item__answer p { font-size: 15px; }

  .contact-card { border-radius: 22px; }
  .contact-card__top { padding: 28px 22px 26px; }
  .contact-form { padding: 24px 22px 26px; gap: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
  .size-picker__options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-chip { width: 100%; justify-content: center; }
  .faqc-bg__dots { display: none; }
}


/* ===== Footer ===== */
.site-footer {
  background: #16131a;
  color: #b7afbd;
}
.site-footer__inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 80px 32px 36px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 64px;
  align-items: start;
}

.site-footer__logo {
  display: inline-block;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}
.site-footer__logo span { color: var(--orange); }
.site-footer__brand p {
  margin: 20px 0 0;
  max-width: 380px;
  font-size: 18px;
  line-height: 1.7;
}

/* Offices sit on one connecting "route" line */
.site-footer__offices {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 36px;
}
.site-footer__offices::before {
  content: "";
  position: absolute;
  top: 6px; left: 6px; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--orange) 45%, var(--plum) 85%, transparent);
}
.site-footer__office {
  position: relative;
  font-style: normal;
}
.site-footer__office::before {
  content: "";
  position: absolute;
  top: -36px; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #16131a;
  border: 2px solid var(--orange);
  box-sizing: border-box;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-footer__office:hover::before {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(244, 122, 12, 0.18);
}
.site-footer__office h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer__office p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.site-footer__bottom {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__bottom p {
  margin: 0;
  font-size: 14px;
  color: #847b8a;
}

@media (max-width: 1199px) {
  .site-footer__inner { padding: 64px 28px 32px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 48px; }
  .site-footer__brand p { max-width: 520px; }
}

@media (max-width: 767px) {
  .site-footer__inner { padding: 52px 20px 28px; }
  .site-footer__logo { font-size: 36px; }
  .site-footer__brand p { font-size: 16px; margin-top: 16px; }

  /* route turns vertical */
  .site-footer__offices {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 0 0 30px;
  }
  .site-footer__offices::before {
    top: 6px; bottom: 0; left: 6px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, var(--gold), var(--orange) 45%, var(--plum) 85%, transparent);
  }
  .site-footer__office::before { top: 4px; left: -30px; }
  .site-footer__office h3 { font-size: 14px; margin-bottom: 6px; }
  .site-footer__office p { font-size: 15px; line-height: 1.6; }
  .site-footer__bottom { margin-top: 44px; padding-top: 20px; }
  .site-footer__bottom p { font-size: 13px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__office::before { transition: none; }
}

/* ---------- Lead popup (claim-ticket style) ---------- */
.envLeadPopup-modal[hidden] { display: none; }

.envLeadPopup-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
}

.envLeadPopup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 39, .62);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s ease;
}

.envLeadPopup-content {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: auto;
  filter: drop-shadow(0 30px 50px rgba(42, 26, 39, .4));
  opacity: 0;
  transform: translateY(24px) scale(.96);
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}

.envLeadPopup-modal.is-open .envLeadPopup-backdrop { opacity: 1; }
.envLeadPopup-modal.is-open .envLeadPopup-content { opacity: 1; transform: none; }

/* Stub */
.envLeadPopup-stub {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 26px;
  border-radius: 22px 22px 0 0;
  color: var(--white);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(244, 122, 12, .45), transparent 55%),
    linear-gradient(140deg, var(--plum) 0%, var(--plum-dark) 100%);
}

.envLeadPopup-stub-grid {
  position: absolute;
  inset: 0;
  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: 22px 22px;
  -webkit-mask-image: linear-gradient(160deg, #000 10%, transparent 75%);
          mask-image: linear-gradient(160deg, #000 10%, transparent 75%);
}

.envLeadPopup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  transition: background-color .2s ease, transform .25s ease;
}
.envLeadPopup-close:hover { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }
.envLeadPopup-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.envLeadPopup-logo {
  position: relative;
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--white);
  line-height: 0;
}
.envLeadPopup-logo img { width: auto; height: 28px; }

.envLeadPopup-eyebrow {
  position: relative;
  display: block;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.envLeadPopup-stub h2 {
  position: relative;
  margin: 8px 0 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--gold);
}
.envLeadPopup-stub h2 span {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
}

/* Perforated tear line: notches are real cut-outs, so the backdrop shows through */
.envLeadPopup-perf {
  position: relative;
  height: 24px;
  background: radial-gradient(circle at 0 50%, #ffffff 12px, var(--white) 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #ffffff 12px, var(--white) 12.5px) right / 51% 100% no-repeat;
}
.envLeadPopup-perf::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 50%;
  border-top: 2px dashed #e4d6e0;
}

/* Body */
.envLeadPopup-body {
  padding: 6px 28px 24px;
  border-radius: 0 0 22px 22px;
  background: var(--white);
}

.envLeadPopup-form { margin: 0; }

.envLeadPopup-field { margin-bottom: 16px; }

.envLeadPopup-label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--plum);
}

.envLeadPopup-input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fbf8fa;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.envLeadPopup-input::placeholder { color: #a99fa5; }
.envLeadPopup-input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(244, 122, 12, .15);
}
.envLeadPopup-input.is-invalid { border-color: var(--red-orange); background: #fff6f2; }

.envLeadPopup-sizeGroup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.envLeadPopup-sizeGroup button {
  padding: 11px 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--plum);
  background: var(--white);
  border: 1.5px solid #e4d6e0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.envLeadPopup-sizeGroup button:hover { border-color: var(--plum); transform: translateY(-1px); }
.envLeadPopup-sizeGroup button[aria-checked="true"] {
  color: var(--white);
  background: var(--plum);
  border-color: var(--plum);
  box-shadow: 0 6px 14px rgba(113, 75, 103, .28);
}
.envLeadPopup-sizeGroup button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.envLeadPopup-btn {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 6px;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
}
.envLeadPopup-btn-label { display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.envLeadPopup-btn-stamp {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: scale(1.8) rotate(-8deg);
  transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.envLeadPopup-modal.is-confirmed .envLeadPopup-btn {
  background: var(--plum-dark);
  box-shadow: 0 8px 22px rgba(113, 75, 103, .35);
  pointer-events: none;
}
.envLeadPopup-modal.is-confirmed .envLeadPopup-btn-label { opacity: 0; transform: translateY(-8px); }
.envLeadPopup-modal.is-confirmed .envLeadPopup-btn-stamp { opacity: 1; transform: rotate(-4deg); }

.envLeadPopup-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 14px;
  text-align: center;
  color: var(--plum);
}
.envLeadPopup-status:empty { min-height: 0; margin: 0; }

.envLeadPopup-skipWrap { margin-top: 12px; text-align: center; }
.envLeadPopup-skip {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.envLeadPopup-skip:hover { color: var(--red-orange); }

@media (max-width: 480px) {
  .envLeadPopup-stub { padding: 24px 20px 22px; }
  .envLeadPopup-body { padding: 4px 20px 20px; }
  .envLeadPopup-stub h2 { font-size: 26px; }
  .envLeadPopup-stub h2 span { font-size: 17px; }
  .envLeadPopup-sizeGroup { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .envLeadPopup-backdrop,
  .envLeadPopup-content,
  .envLeadPopup-btn-stamp,
  .envLeadPopup-btn-label { transition: none; }
}

 /*validation css*/
 
/* Main contact form validation */
#form2 .is-invalid,
#form_popup .is-invalid {
    border-color: #d93025 !important;
}

#form2 input.is-invalid,
#form2 textarea.is-invalid,
#form_popup input.is-invalid {
    box-shadow: 0 0 0 1px #d93025;
}

#form2 .form-error,
#form_popup .form-error {
    display: block;
    color: #d93025;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 5px;
}

#form2 .contact-submit:disabled,
#form_popup button[type="submit"]:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

#form_popup .envLeadPopup-sizeGroup.is-invalid button {
    border-color: #d93025;
}

