/* ═══════════════════════════════════════════════════════════
   JM SITES — GLOBAL DESIGN SYSTEM
   Source of truth for all public JM Sites pages

   GLOBAL OWNS:
   brand · typography · page frame · shared heroes ·
   section headings · surfaces · motion · cards · buttons ·
   pills · labels · navigation · footer · accessibility ·
   responsive foundations

   PAGE CSS OWNS:
   unique page layouts and compositions only
   Page CSS must not redefine global typography, heroes,
   buttons, cards, navigation or footer components.
   ═══════════════════════════════════════════════════════════ */


/* =========================================================
   01 — DESIGN TOKENS
========================================================= */

:root {

  /* -------------------------------------------------------
     BRAND COLOURS
  ------------------------------------------------------- */

  --jm-purple: #3e015f;
  --jm-purple-deep: #250038;
  --jm-purple-mid: #6f1d95;

  --jm-purple-bright: #9f4de0;
  --jm-purple-light: #c66bf7;
  --jm-violet: #a855f7;

  --jm-cyan: #00d4ff;
  --jm-green: #00ff88;

  --jm-lilac: #efe6f7;
  --jm-soft-purple: #f7f1fb;

  --jm-white: #ffffff;

  --jm-dark: #160a20;
  --jm-dark-soft: #21112d;


  /* -------------------------------------------------------
     SURFACES
  ------------------------------------------------------- */

  --jm-surface-light: #ffffff;
  --jm-surface-soft: #f8f9ff;
  --jm-surface-purple: #faf7fc;

  --jm-surface-dark:
    var(--jm-dark);


  /* -------------------------------------------------------
     TEXT
  ------------------------------------------------------- */

  --jm-ink: #18131f;
  --jm-text: #3f3946;
  --jm-muted: #6e6676;

  --jm-text-on-dark:
    rgba(255, 255, 255, 0.82);

  --jm-muted-on-dark:
    rgba(255, 255, 255, 0.62);


  /* -------------------------------------------------------
     BORDERS
  ------------------------------------------------------- */

  --jm-border:
    rgba(62, 1, 95, 0.10);

  --jm-border-strong:
    rgba(62, 1, 95, 0.16);

  --jm-border-dark:
    rgba(255, 255, 255, 0.12);

  --jm-border-cyan:
    rgba(0, 212, 255, 0.35);


  /* -------------------------------------------------------
     GRADIENTS
  ------------------------------------------------------- */

  --jm-gradient-brand:
    linear-gradient(
      135deg,
      var(--jm-purple) 0%,
      var(--jm-violet) 55%,
      var(--jm-cyan) 100%
    );

  --jm-gradient-purple:
    linear-gradient(
      145deg,
      var(--jm-purple),
      var(--jm-purple-mid)
    );

  --jm-gradient-purple-deep:
    linear-gradient(
      145deg,
      var(--jm-purple-deep),
      var(--jm-purple) 55%,
      #351047
    );

  --jm-gradient-dark:
    linear-gradient(
      145deg,
      var(--jm-dark),
      var(--jm-dark-soft)
    );

  --jm-gradient-soft:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbf8fd 48%,
      var(--jm-surface-soft) 100%
    );

  --jm-gradient-nav:
    linear-gradient(
      180deg,
      var(--jm-purple-light),
      #2a0042
    );


  /* -------------------------------------------------------
     TYPOGRAPHY
  ------------------------------------------------------- */

  --jm-text-xs: 0.75rem;
  --jm-text-sm: 0.9rem;
  --jm-text-card: 1rem;
  --jm-text-body: 1.25rem;
  --jm-text-lead: 1.4rem;

  --jm-h3:
    clamp(1.5rem, 2.5vw, 2.2rem);

  --jm-h2:
    clamp(2rem, 4.5vw, 3.35rem);

  --jm-h1:
    clamp(3rem, 6vw, 6rem);


  /* -------------------------------------------------------
     LINE HEIGHT
  ------------------------------------------------------- */

  --jm-line-tight: 1.05;
  --jm-line-heading: 1.1;
  --jm-line-body: 1.65;
  --jm-line-card: 1.55;


  /* -------------------------------------------------------
     RADII
  ------------------------------------------------------- */

  --jm-radius-sm: 7px;
  --jm-radius-md: 12px;
  --jm-radius-card: 18px;
  --jm-radius-large: 24px;
  --jm-radius-pill: 999px;


  /* -------------------------------------------------------
     COMPONENT SPACING
  ------------------------------------------------------- */

  --jm-space-xs: 0.5rem;
  --jm-space-sm: 0.75rem;
  --jm-space-md: 1rem;
  --jm-space-lg: 1.5rem;
  --jm-space-xl: 2rem;
  --jm-space-2xl: 3rem;


  /* -------------------------------------------------------
     PAGE FRAME
  ------------------------------------------------------- */

  --jm-content-max: 1240px;

  --jm-page-gutter:
    clamp(1rem, 4vw, 4rem);

  --jm-page-inline:
    max(
      var(--jm-page-gutter),
      calc((100vw - var(--jm-content-max)) / 2)
    );

  --jm-section-space:
    clamp(2.5rem, 3.5vw, 4rem);


  /* -------------------------------------------------------
     GLOBAL HERO
  ------------------------------------------------------- */

 --jm-hero-min-height:
  clamp(30rem, 58vh, 38rem);

  --jm-hero-title-max:
    1120px;

  --jm-hero-intro-max:
    850px;


  /* -------------------------------------------------------
     SHADOWS
  ------------------------------------------------------- */

  --jm-shadow-small:
    0 4px 14px
    rgba(0, 0, 0, 0.05);

  --jm-shadow-card:
    0 10px 30px
    rgba(62, 1, 95, 0.07);

  --jm-shadow-card-hover:
    0 18px 38px
    rgba(62, 1, 95, 0.13);

  --jm-shadow-large:
    0 24px 70px
    rgba(62, 1, 95, 0.12);

  --jm-shadow-button:
    0 12px 30px
    rgba(62, 1, 95, 0.22);

  --jm-shadow-button-hover:
    0 18px 35px
    rgba(62, 1, 95, 0.30);

  --jm-glow-cyan:
    0 0 0 1px
    rgba(0, 212, 255, 0.12),
    0 14px 35px
    rgba(0, 212, 255, 0.10);

  --jm-glow-purple:
    0 18px 50px
    rgba(159, 77, 224, 0.18);


  /* -------------------------------------------------------
     MOTION
  ------------------------------------------------------- */

  --jm-transition-fast:
    0.2s ease;

  --jm-transition:
    0.3s ease;

  --jm-transition-slow:
    0.5s ease;

}


/* =========================================================
   02 — PAGE FOUNDATION
========================================================= */

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

html {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;

  color:
    var(--jm-text);

  background:
    var(--jm-surface-light);

  line-height:
    var(--jm-line-body);

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;

  overflow-x:
    hidden;
}

.jm-page {
  min-height: 100vh;

  margin: 0;

  background:
    var(--jm-surface-light);

  color:
    var(--jm-ink);
}

img,
svg,
video {
  display: block;

  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: inherit;
}


/* -------------------------------------------------------
   SELECTION
------------------------------------------------------- */

::selection {
  background:
    var(--jm-cyan);

  color:
    var(--jm-purple-deep);
}


/* -------------------------------------------------------
   FOCUS
------------------------------------------------------- */

:where(
  a,
  button,
  input,
  textarea,
  select,
  summary,
  [tabindex]
):focus-visible {
  outline:
    3px solid
    var(--jm-cyan);

  outline-offset:
    3px;
}


/* =========================================================
   03 — SCROLLBAR
========================================================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background:
    var(--jm-surface-soft);
}

::-webkit-scrollbar-thumb {
  border-radius:
    var(--jm-radius-pill);

  background:
    var(--jm-purple-light);
}

::-webkit-scrollbar-thumb:hover {
  background:
    var(--jm-purple);
}


/* =========================================================
   04 — ACCESSIBILITY
========================================================= */

.skip-link {
  position: fixed;

  top: 0;
  left: 1rem;

  z-index: 9999;

  padding:
    0.8rem
    1.1rem;

  transform:
    translateY(-150%);

  border-radius:
    0
    0
    var(--jm-radius-md)
    var(--jm-radius-md);

  background:
    var(--jm-purple);

  color:
    var(--jm-white);

  text-decoration: none;
  font-weight: 800;

  transition:
    transform
    var(--jm-transition-fast);
}

.skip-link:focus {
  transform:
    translateY(0);
}


/* =========================================================
   05 — PAGE STRUCTURE

   Global owns the shared page frame and hero composition.
   Page CSS may arrange unique content inside sections,
   but must not redefine global hero typography or sizing.
========================================================= */

.jm-hero,
.jm-section,
.jm-final {
  position: relative;

  width: 100%;

  margin: 0;

  padding-block:
    var(--jm-section-space);

  padding-inline:
    var(--jm-page-inline);
}


/* -------------------------------------------------------
   GLOBAL PAGE HERO
------------------------------------------------------- */

.jm-hero {
  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  min-height:
    var(--jm-hero-min-height);

 padding-block:
  clamp(4rem, 4vw, 7rem);

  overflow: hidden;

  text-align: center;
}

.jm-hero > * {
  position: relative;

  z-index: 1;
}

.jm-hero__content {
  width: 100%;

  max-width:
    var(--jm-hero-title-max);

  margin-inline: auto;
}

.jm-hero .jm-eyebrow {
  margin-bottom: 1rem;
}

.jm-hero .jm-h1,
.jm-hero__title {
  width: 100%;

  max-width:
    var(--jm-hero-title-max);

  margin-inline: auto;
}

.jm-hero .jm-gradient-text {
  display: block;

  padding-bottom: 0.08em;
}

.jm-hero .jm-lead,
.jm-hero__intro {
  width: 100%;

  max-width:
    var(--jm-hero-intro-max);

  margin:
    1.5rem
    auto
    0;

  color:
    var(--jm-muted);
}

.jm-hero__actions {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 0.75rem;

  margin-top: 2rem;
}


/* -------------------------------------------------------
   GLOBAL SECTION HEADING
------------------------------------------------------- */

.jm-section-heading {
  width: 100%;

  max-width: 780px;

  margin:
    0
    auto
    2.5rem;

  text-align: center;
}

.jm-section-heading .jm-eyebrow {
  margin-bottom: 0.75rem;
}

.jm-section-heading .jm-h2 {
  margin-bottom: 1rem;
}

.jm-section-heading .jm-body {
  max-width: 720px;

  margin:
    0
    auto;
}


/* =========================================================
   06 — SURFACES

   Structure and appearance stay independent.
========================================================= */

.jm-light {
  background:
    var(--jm-surface-light);

  color:
    var(--jm-ink);
}

.jm-soft {
  background:
    var(--jm-gradient-soft);

  color:
    var(--jm-ink);
}

.jm-dark {
  background:
    var(--jm-gradient-dark);

  color:
    var(--jm-white);
}

.jm-purple {
  background:
    radial-gradient(
      circle at 80% 0,
      rgba(198, 107, 247, 0.18),
      transparent 35%
    ),
    var(--jm-gradient-purple-deep);

  color:
    var(--jm-white);
}


/* -------------------------------------------------------
   TEXT ON DARK SURFACES
------------------------------------------------------- */

.jm-dark .jm-h1,
.jm-dark .jm-h2,
.jm-dark .jm-h3,
.jm-purple .jm-h1,
.jm-purple .jm-h2,
.jm-purple .jm-h3 {
  color:
    var(--jm-white);
}

.jm-dark .jm-body,
.jm-dark .jm-lead,
.jm-dark .jm-small,
.jm-purple .jm-body,
.jm-purple .jm-lead,
.jm-purple .jm-small {
  color:
    var(--jm-text-on-dark);
}

.jm-dark .jm-eyebrow,
.jm-dark .jm-label,
.jm-purple .jm-eyebrow,
.jm-purple .jm-label {
  color:
    #dcb8ef;
}


/* =========================================================
   07 — TYPOGRAPHY
========================================================= */

.jm-h1 {
  margin: 0;

  color:
    var(--jm-ink);

  font-size:
    var(--jm-h1);

  line-height: 1.15;

  font-weight: 900;

  letter-spacing:
    -0.055em;

  text-wrap: balance;
}

.jm-h2 {
  margin:
    0
    0
    1.25rem;

  color:
    var(--jm-ink);

  font-size:
    var(--jm-h2);

  line-height:
    var(--jm-line-heading);

  font-weight: 900;

  letter-spacing:
    -0.04em;
}

.jm-h3 {
  margin:
    0
    0
    0.75rem;

  color:
    var(--jm-ink);

  font-size:
    var(--jm-h3);

  line-height:
    var(--jm-line-heading);

  font-weight: 900;
}

.jm-body {
  margin:
    0
    0
    1rem;

  color:
    var(--jm-text);

  font-size:
    var(--jm-text-body);

  line-height:
    var(--jm-line-body);

  font-weight: 400;
}

.jm-lead {
  margin:
    0
    0
    1.2rem;

  color:
    var(--jm-ink);

  font-size:
    var(--jm-text-lead);

  line-height: 1.55;
}

.jm-small {
  margin: 0;

  color:
    var(--jm-muted);

  font-size:
    var(--jm-text-sm);

  line-height: 1.55;
}


/* =========================================================
   08 — EYEBROWS / LABELS
========================================================= */

.jm-eyebrow,
.jm-label {
  display: block;

  margin:
    0
    0
    1rem;

  color:
    var(--jm-purple-bright);

  font-size:
    var(--jm-text-xs);

  font-weight: 900;

  letter-spacing:
    0.12em;

  text-transform:
    uppercase;
}

.jm-eyebrow--center {
  text-align:
    center;
}


/* =========================================================
   09 — GRADIENT TEXT
========================================================= */

.jm-gradient-text {
  background:
    var(--jm-gradient-brand);

  -webkit-background-clip:
    text;

  background-clip:
    text;

  color:
    transparent;

  -webkit-text-fill-color:
    transparent;
}


/* =========================================================
   10 — OPTIONAL HEADING ACCENT

   Inspired by the existing JM Sites homepage heading line.
========================================================= */

.jm-heading-accent {
  position: relative;

  padding-bottom:
    1.25rem;

  text-align:
    center;
}

.jm-heading-accent::after {
  content: "";

  position: absolute;

  bottom: 0;
  left: 50%;

  width: 90px;
  height: 5px;

  transform:
    translateX(-50%);

  border-radius:
    var(--jm-radius-pill);

  background:
    linear-gradient(
      90deg,
      var(--jm-cyan),
      var(--jm-purple-light)
    );
}


/* =========================================================
   11 — CARD FOUNDATION
========================================================= */

.jm-card {
  position: relative;

  min-width: 0;

  padding:
    1.4rem;

  border:
    1px solid
    var(--jm-border);

  border-radius:
    var(--jm-radius-card);

  background:
    var(--jm-white);

  color:
    var(--jm-ink);

  box-shadow:
    var(--jm-shadow-small);

  transition:
    transform
    var(--jm-transition),

    border-color
    var(--jm-transition),

    box-shadow
    var(--jm-transition),

    background
    var(--jm-transition);
}

.jm-card:hover {
  transform:
    translateY(-5px);

  border-color:
    var(--jm-border-cyan);

  box-shadow:
    var(--jm-shadow-card-hover);
}


/* -------------------------------------------------------
   CARD LABEL
------------------------------------------------------- */

.jm-card__label {
  display: block;

  margin:
    0
    0
    1rem;

  color:
    var(--jm-purple-bright);

  font-size:
    var(--jm-text-xs);

  font-weight: 900;

  letter-spacing:
    0.1em;

  text-transform:
    uppercase;
}


/* -------------------------------------------------------
   CARD TITLE
------------------------------------------------------- */

.jm-card__title {
  display: block;

  margin:
    0
    0
    0.55rem;

  color:
    var(--jm-ink);

  font-size: 1.15rem;

  line-height: 1.3;

  font-weight: 800;
}


/* -------------------------------------------------------
   CARD TEXT
------------------------------------------------------- */

.jm-card__text {
  margin: 0;

  color:
    var(--jm-muted);

  font-size:
    var(--jm-text-card);

  line-height:
    var(--jm-line-card);
}


/* =========================================================
   12 — CARD VARIANTS
========================================================= */

.jm-card--raised {
  box-shadow:
    var(--jm-shadow-card);
}

.jm-card--raised:hover {
  box-shadow:
    var(--jm-shadow-large);
}


/* SOFT */

.jm-card--soft {
  background:
    var(--jm-surface-purple);
}


/* PURPLE */

.jm-card--purple {
  border-color:
    transparent;

  background:
    var(--jm-gradient-purple);

  color:
    var(--jm-white);

  box-shadow:
    var(--jm-glow-purple);
}

.jm-card--purple:hover {
  border-color:
    rgba(0, 212, 255, 0.30);

  box-shadow:
    0 20px 48px
    rgba(62, 1, 95, 0.28);
}

.jm-card--purple .jm-card__label {
  color:
    #dcb5f6;
}

.jm-card--purple .jm-card__title,
.jm-card--purple .jm-card__text {
  color:
    var(--jm-white);
}


/* DARK */

.jm-card--dark {
  border-color:
    var(--jm-border-dark);

  background:
    rgba(255, 255, 255, 0.045);

  color:
    var(--jm-white);

  box-shadow:
    none;
}

.jm-card--dark:hover {
  border-color:
    rgba(0, 212, 255, 0.35);

  background:
    rgba(255, 255, 255, 0.07);

  box-shadow:
    0 16px 40px
    rgba(0, 0, 0, 0.20);
}

.jm-card--dark .jm-card__label {
  color:
    #c985ed;
}

.jm-card--dark .jm-card__title {
  color:
    var(--jm-white);
}

.jm-card--dark .jm-card__text {
  color:
    var(--jm-text-on-dark);
}


/* HIGHLIGHT */

.jm-card--highlight {
  background:
    linear-gradient(
      135deg,
      #f7f1fb,
      #f3fbfd
    );
}


/* =========================================================
   13 — NUMBER / BULLET BADGES
========================================================= */

.jm-number {
  display: grid;

  place-items:
    center;

  flex:
    0
    0
    auto;

  width: 26px;
  height: 26px;

  border-radius:
    var(--jm-radius-sm);

  background:
    var(--jm-gradient-purple);

  color:
    var(--jm-white);

  font-size: 0.62rem;

  line-height: 1;

  font-weight: 900;

  box-shadow:
    var(--jm-shadow-small);

  transition:
    transform
    var(--jm-transition-fast),

    box-shadow
    var(--jm-transition-fast);
}

.jm-card:hover .jm-number {
  transform:
    translateY(-1px);

  box-shadow:
    0 6px 18px
    rgba(62, 1, 95, 0.20);
}

.jm-number--large {
  width: 34px;
  height: 34px;

  font-size: 0.7rem;
}


/* =========================================================
   14 — PILLS / BADGES
========================================================= */

.jm-pill {
  display: inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    0.45rem;

  padding:
    0.55rem
    0.85rem;

  border:
    1px solid
    var(--jm-border);

  border-radius:
    var(--jm-radius-pill);

  background:
    rgba(198, 107, 247, 0.08);

  color:
    var(--jm-purple);

  font-size:
    var(--jm-text-sm);

  line-height: 1;

  font-weight: 700;

  transition:
    transform
    var(--jm-transition-fast),

    border-color
    var(--jm-transition-fast),

    background
    var(--jm-transition-fast);
}

.jm-pill:hover {
  transform:
    translateY(-2px);

  border-color:
    var(--jm-border-cyan);

  background:
    rgba(0, 212, 255, 0.07);
}


/* =========================================================
   15 — STATUS / AVAILABILITY
========================================================= */

.jm-status {
  display: inline-flex;

  align-items:
    center;

  gap:
    0.5rem;

  padding:
    0.5rem
    0.85rem;

  border:
    1px solid
    var(--jm-border);

  border-radius:
    var(--jm-radius-pill);

  background:
    rgba(255, 255, 255, 0.72);

  color:
    var(--jm-purple);

  font-size:
    var(--jm-text-sm);

  line-height: 1;

  font-weight: 700;
}

.jm-status__dot {
  width: 8px;
  height: 8px;

  border-radius:
    50%;

  background:
    var(--jm-green);

  box-shadow:
    0 0 12px
    var(--jm-green);

  animation:
    jm-status-pulse
    2s
    infinite
    ease-in-out;
}

@keyframes jm-status-pulse {

  0%,
  100% {
    transform:
      scale(1);

    opacity: 1;
  }

  50% {
    transform:
      scale(0.9);

    opacity: 0.6;
  }

}


/* =========================================================
   16 — DECORATIVE GLOW

   Reusable atmosphere.
   Parent should normally be position: relative.
========================================================= */

.jm-glow {
  position: absolute;

  top: 50%;
  left: 50%;

  z-index: 0;

  width:
    min(700px, 90vw);

  height:
    min(700px, 90vw);

  transform:
    translate(-50%, -50%);

  background:
    radial-gradient(
      circle,
      rgba(198, 107, 247, 0.16) 0%,
      rgba(255, 255, 255, 0) 70%
    );

  pointer-events:
    none;
}


/* =========================================================
   17 — STRUCTURED LISTS
========================================================= */

.jm-list {
  margin:
    1.5rem
    0;

  overflow:
    hidden;

  border:
    1px solid
    var(--jm-border);

  border-radius:
    var(--jm-radius-card);

  background:
    var(--jm-surface-purple);

  box-shadow:
    var(--jm-shadow-small);
}

.jm-list__row {
  display: grid;

  grid-template-columns:
    34px
    120px
    1fr;

  align-items:
    center;

  gap:
    0.8rem;

  padding:
    0.9rem
    1rem;

  border-bottom:
    1px solid
    rgba(62, 1, 95, 0.08);

  transition:
    background
    var(--jm-transition-fast);
}

.jm-list__row:hover {
  background:
    rgba(198, 107, 247, 0.06);
}

.jm-list__row:last-child {
  border-bottom: 0;
}

.jm-list__title {
  color:
    var(--jm-purple);

  font-size: 0.95rem;

  font-weight: 800;
}

.jm-list__text {
  color:
    var(--jm-muted);

  font-size: 0.95rem;

  line-height: 1.5;
}


/* =========================================================
   18 — QUOTES
========================================================= */

.jm-quote {
  margin:
    1.5rem
    0;

  padding:
    1.1rem
    1.2rem;

  border-left:
    4px solid
    var(--jm-purple-bright);

  background:
    linear-gradient(
      135deg,
      #faf7fc,
      #f6fbfd
    );

  color:
    var(--jm-ink);

  font-size: 1.15rem;

  line-height: 1.6;

  font-weight: 700;

  box-shadow:
    var(--jm-shadow-small);
}


/* =========================================================
   19 — STATEMENTS
========================================================= */

.jm-statement {
  max-width: 900px;

  margin:
    2.5rem
    auto;

  color:
    var(--jm-purple);

  font-size:
    clamp(1.8rem, 3.5vw, 2.7rem);

  line-height: 1.2;

  font-weight: 900;

  text-align:
    center;
}

.jm-statement--purple {
  padding:
    1.3rem
    1.5rem;

  border-radius:
    var(--jm-radius-card);

  background:
    var(--jm-gradient-purple);

  color:
    var(--jm-white);

  box-shadow:
    var(--jm-glow-purple);
}


/* =========================================================
   20 — BUTTONS
========================================================= */

.jm-button {
  display: inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    0.6rem;

  padding:
    0.9rem
    1.25rem;

  border:
    1px solid
    transparent;

  border-radius: 10px;

  text-decoration:
    none;

  font-size: 0.9rem;

  line-height: 1;

  font-weight: 800;

  cursor:
    pointer;

  transition:
    transform
    var(--jm-transition-fast),

    background
    var(--jm-transition-fast),

    color
    var(--jm-transition-fast),

    border-color
    var(--jm-transition-fast),

    box-shadow
    var(--jm-transition-fast);
}

.jm-button:hover {
  transform:
    translateY(-3px);
}

.jm-button:active {
  transform:
    translateY(-1px);
}


/* -------------------------------------------------------
   PRIMARY
------------------------------------------------------- */

.jm-button--primary {
  background:
    var(--jm-purple);

  color:
    var(--jm-white);

  box-shadow:
    var(--jm-shadow-button);
}

.jm-button--primary:hover {
  background:
    var(--jm-purple-deep);

  box-shadow:
    var(--jm-shadow-button-hover);
}


/* -------------------------------------------------------
   SECONDARY
------------------------------------------------------- */

.jm-button--secondary {
  border-color:
    var(--jm-border-strong);

  background:
    var(--jm-white);

  color:
    var(--jm-purple);

  box-shadow:
    var(--jm-shadow-small);
}

.jm-button--secondary:hover {
  border-color:
    var(--jm-border-cyan);

  background:
    var(--jm-surface-purple);

  box-shadow:
    var(--jm-glow-cyan);
}


/* -------------------------------------------------------
   GLASS
------------------------------------------------------- */

.jm-button--glass {
  border-color:
    rgba(255, 255, 255, 0.18);

  background:
    rgba(255, 255, 255, 0.08);

  color:
    var(--jm-white);

  box-shadow:
    0 10px 28px
    rgba(0, 0, 0, 0.12);
}

.jm-button--glass:hover {
  background:
    var(--jm-white);

  color:
    var(--jm-purple);

  box-shadow:
    0 16px 34px
    rgba(0, 0, 0, 0.18);
}


/* =========================================================
   21 — GLOBAL NAVIGATION
========================================================= */

.jm-nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  isolation: isolate;

  width: 100%;

  padding-inline:
    var(--jm-page-inline);

  border-bottom:
    1px solid
    rgba(198, 107, 247, 0.16);

  background:
    radial-gradient(
      circle at 18% -20%,
      rgba(198, 107, 247, 0.34),
      transparent 36%
    ),

    radial-gradient(
      circle at 82% 130%,
      rgba(159, 77, 224, 0.26),
      transparent 34%
    ),

    linear-gradient(
      112deg,
      rgba(37, 0, 56, 0.92) 0%,
      rgba(74, 8, 108, 0.87) 43%,
      rgba(111, 29, 149, 0.82) 72%,
      rgba(44, 4, 69, 0.91) 100%
    );

  box-shadow:
    0 14px 40px
    rgba(22, 10, 32, 0.24),

    inset 0 -1px 0
    rgba(255, 255, 255, 0.04);

  -webkit-backdrop-filter:
    blur(26px)
    saturate(160%);

  backdrop-filter:
    blur(26px)
    saturate(160%);

  transition:
    background
    var(--jm-transition),

    box-shadow
    var(--jm-transition);
}


/* NEON EDGE LIGHT */

.jm-nav::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -1px;
  left: 0;

  z-index: -1;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent 3%,
      rgba(198, 107, 247, 0.42) 25%,
      rgba(0, 212, 255, 0.72) 50%,
      rgba(198, 107, 247, 0.42) 75%,
      transparent 97%
    );

  box-shadow:
    0 0 18px
    rgba(0, 212, 255, 0.22);

  pointer-events: none;
}


/* SCROLLED STATE */

.jm-nav--scrolled {
  background:
    radial-gradient(
      circle at 18% -20%,
      rgba(198, 107, 247, 0.24),
      transparent 34%
    ),

    linear-gradient(
      112deg,
      rgba(37, 0, 56, 0.97),
      rgba(74, 8, 108, 0.95) 55%,
      rgba(44, 4, 69, 0.97)
    );

  box-shadow:
    0 16px 46px
    rgba(22, 10, 32, 0.34);
}


/* INNER FRAME */

.jm-nav__inner {
  position: relative;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 1.5rem;

  width: 100%;

  max-width:
    var(--jm-content-max);

  min-height: 78px;

  margin-inline: auto;
}


/* BRAND */

.jm-nav__brand {
  display: inline-flex;

  align-items: center;

  gap: 0.7rem;

  min-width: 0;

  color:
    var(--jm-white);

  text-decoration: none;

  transition:
    transform
    var(--jm-transition-fast);
}

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


/* LOGO */

.jm-nav__logo {
  flex:
    0 0 auto;

  width: 60px;
  height: 54px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 0 9px
      rgba(198, 107, 247, 0.46)
    )

    drop-shadow(
      0 0 18px
      rgba(0, 212, 255, 0.10)
    );

  transition:
    transform
    var(--jm-transition),

    filter
    var(--jm-transition);
}

.jm-nav__brand:hover .jm-nav__logo {
  transform:
    scale(1.07)
    rotate(-1deg);

  filter:
    drop-shadow(
      0 0 12px
      rgba(198, 107, 247, 0.62)
    )

    drop-shadow(
      0 0 24px
      rgba(0, 212, 255, 0.24)
    );
}


/* BRAND TEXT */

.jm-nav__brand-copy {
  display: flex;

  flex-direction: column;

  gap: 0.22rem;

  min-width: 0;
}

.jm-nav__brand-name {
  background:
    linear-gradient(
      90deg,
      var(--jm-white) 0%,
      var(--jm-lilac) 52%,
      #8cecff 100%
    );

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

  -webkit-text-fill-color: transparent;

  font-size:
    clamp(1.35rem, 2vw, 1.75rem);

  line-height: 1;

  font-weight: 900;

  font-style: italic;

  letter-spacing:
    -0.045em;

  text-shadow:
    0 0 22px
    rgba(198, 107, 247, 0.12);
}

.jm-nav__brand-tagline {
  color:
    rgba(255, 255, 255, 0.62);

  font-size: 0.67rem;

  line-height: 1.2;

  font-weight: 600;

  letter-spacing:
    0.105em;

  text-transform:
    uppercase;
}


/* DESKTOP MENU */

.jm-nav__menu {
  display: flex;

  align-items: center;

  justify-content:
    flex-end;

  gap: 0.15rem;

  margin-left: auto;

  padding: 0;
}


/* LINKS */

.jm-nav__link {
  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding:
    0.7rem
    0.94rem;

  border-radius: 6px;

  color:
    rgba(255, 255, 255, 0.86);

  text-decoration: none;

  font-size: 0.9rem;

  line-height: 1;

  font-weight: 750;

  transition:
    transform
    var(--jm-transition-fast),

    background
    var(--jm-transition-fast),

    color
    var(--jm-transition-fast),

    box-shadow
    var(--jm-transition-fast);
}

.jm-nav__link:hover {
  transform:
    translateY(-1px);

  background:
    transparent;

  color:
    var(--jm-cyan);

  box-shadow:
    none;

  text-shadow:
    0 0 16px
    rgba(0, 212, 255, 0.32);
}


/* ACTIVE PAGE */

.jm-nav__link[aria-current="page"] {
  background:
    transparent;

  color:
    var(--jm-white);

  box-shadow:
    none;
}

.jm-nav__link[aria-current="page"]::after {
  content: "";

  position: absolute;

  right: 1rem;
  bottom: 0.26rem;
  left: 1rem;

  height: 2px;

  border-radius:
    var(--jm-radius-pill);

  background:
    linear-gradient(
      90deg,
      var(--jm-purple-light),
      var(--jm-cyan)
    );

  box-shadow:
    0 0 10px
    rgba(0, 212, 255, 0.45);
}


/* PRIMARY CTA */

.jm-nav__cta {
  margin-left: 0.45rem;

  padding-inline: 1.15rem;

  border:
    1px solid
    rgba(198, 107, 247, 0.42);

  border-radius: 10px;

  background:
    linear-gradient(
      135deg,
      rgba(198, 107, 247, 0.20),
      rgba(111, 29, 149, 0.18) 55%,
      rgba(0, 212, 255, 0.10)
    );

  color:
    var(--jm-white);

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.14),

    0 8px 24px
    rgba(37, 0, 56, 0.18);

  -webkit-backdrop-filter:
    blur(12px);

  backdrop-filter:
    blur(12px);
}

.jm-nav__cta:hover {
  border-color:
    var(--jm-cyan);

  background:
    linear-gradient(
      135deg,
      rgba(198, 107, 247, 0.34),
      rgba(0, 212, 255, 0.18)
    );

  color:
    var(--jm-white);

  box-shadow:
    0 12px 30px
    rgba(0, 212, 255, 0.22),

    0 0 24px
    rgba(198, 107, 247, 0.16);
}


/* MOBILE BUTTON */

.jm-nav__toggle {
  display: none;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;

  width: 44px;
  height: 44px;

  padding: 0;

  border:
    1px solid
    rgba(255, 255, 255, 0.18);

  border-radius:
    14px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.10),
      rgba(198, 107, 247, 0.06)
    );

  color:
    var(--jm-white);

  cursor: pointer;

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.10),

    0 8px 22px
    rgba(0, 0, 0, 0.12);

  -webkit-backdrop-filter:
    blur(12px);

  backdrop-filter:
    blur(12px);
}

.jm-nav__toggle span {
  display: block;

  width: 22px;
  height: 2px;

  border-radius:
    var(--jm-radius-pill);

  background:
    currentColor;

  transition:
    transform
    var(--jm-transition-fast),

    opacity
    var(--jm-transition-fast);
}


/* =========================================================
   GLOBAL NAV — MOBILE
========================================================= */

@media (max-width: 840px) {

  .jm-nav__inner {
    min-height: 70px;
  }

  .jm-nav__logo {
    width: 50px;
    height: 45px;
  }

  .jm-nav__brand-name {
    font-size: 1.3rem;
  }

  .jm-nav__brand-tagline {
    font-size: 0.58rem;
  }

  .jm-nav__toggle {
    display: flex;

    flex:
      0 0 auto;
  }

  .jm-nav__menu {
    position: absolute;

    top:
      calc(100% + 0.65rem);

    right: 0;
    left: 0;

    display: grid;

    gap: 0.35rem;

    margin: 0;

    padding: 0.75rem;

    border:
      1px solid
      rgba(255, 255, 255, 0.12);

    border-radius:
      var(--jm-radius-card);

    background:
      radial-gradient(
        circle at 100% 0,
        rgba(0, 212, 255, 0.10),
        transparent 35%
      ),

      linear-gradient(
        145deg,
        rgba(22, 10, 32, 0.97),
        rgba(62, 1, 95, 0.95)
      );

    box-shadow:
      0 22px 55px
      rgba(0, 0, 0, 0.30),

      inset 0 1px 0
      rgba(255, 255, 255, 0.07);

    -webkit-backdrop-filter:
      blur(26px)
      saturate(150%);

    backdrop-filter:
      blur(26px)
      saturate(150%);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
      translateY(-10px);

    transition:
      opacity
      var(--jm-transition-fast),

      visibility
      var(--jm-transition-fast),

      transform
      var(--jm-transition-fast);
  }

  .jm-nav.is-open .jm-nav__menu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
      translateY(0);
  }

  .jm-nav__link {
    width: 100%;

    padding:
      0.95rem
      1rem;

    text-align: center;
  }

  .jm-nav__cta {
    margin:
      0.3rem
      0
      0;
  }


  /* HAMBURGER TO X */

  .jm-nav.is-open
  .jm-nav__toggle
  span:nth-child(1) {
    transform:
      translateY(7px)
      rotate(45deg);
  }

  .jm-nav.is-open
  .jm-nav__toggle
  span:nth-child(2) {
    opacity: 0;
  }

  .jm-nav.is-open
  .jm-nav__toggle
  span:nth-child(3) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

}


@media (max-width: 430px) {

  .jm-nav__brand-tagline {
    display: none;
  }

}

/* =========================================================
   22 — FINAL CONTENT
========================================================= */

.jm-final {
  isolation: isolate;

  overflow:
    hidden;

  padding-block:
    clamp(3.75rem, 7vw, 6rem);

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(168, 85, 247, 0.32),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(0, 212, 255, 0.20),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #250038,
      #4b096c 52%,
      #17102f
    );

  color:
    var(--jm-white);

  text-align:
    center;
}

.jm-final__eyebrow {
  margin:
    0
    0
    1rem;

  color:
    #dcb8ef;

  font-size:
    var(--jm-text-xs);

  font-weight: 900;

  letter-spacing:
    0.13em;

  text-transform:
    uppercase;
}

.jm-final__title {
  max-width: 1050px;

  margin:
    0
    auto;

  color:
    var(--jm-white);

  font-size:
    clamp(2rem, 4.5vw, 3.35rem);

  line-height: 1.15;

  font-weight: 900;

  letter-spacing:
    -0.04em;

  text-wrap: balance;
}

.jm-final__text {
  max-width: 900px;

  margin:
    1.5rem
    auto
    0;

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 1rem;

  line-height: 1.65;
}

.jm-final__actions {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 0.75rem;

  margin-top: 2rem;
}


/* =========================================================
   23 — GLOBAL FOOTER
========================================================= */

.jm-footer {
  position: relative;

  isolation: isolate;

  width: 100%;

  margin: 0;

  padding:
    0.9rem
    var(--jm-page-inline)
    0.65rem;

  overflow: hidden;

  border-top:
    1px solid
    rgba(198, 107, 247, 0.24);

  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(198, 107, 247, 0.30),
      transparent 42%
    ),

    linear-gradient(
      112deg,
      #1b0828 0%,
      #36004f 42%,
      #5a0e79 72%,
      #21002f 100%
    );

  color:
    var(--jm-white);
}


/* NEON TOP EDGE */

.jm-footer::before {
  content: "";

  position: absolute;

  top: 0;
  right: 0;
  left: 0;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent 4%,
      var(--jm-purple-light) 28%,
      var(--jm-cyan) 50%,
      var(--jm-purple-light) 72%,
      transparent 96%
    );

  box-shadow:
    0 0 18px
    rgba(0, 212, 255, 0.30);

  pointer-events: none;
}


/* BACKGROUND GLOW */

.jm-footer__glow {
  position: absolute;

  top: -9rem;
  left: 50%;

  z-index: -1;

  width: 38rem;
  height: 18rem;

  transform:
    translateX(-50%);

  border-radius: 50%;

  background:
    rgba(159, 77, 224, 0.22);

  filter:
    blur(78px);

  pointer-events: none;
}


/* MAIN GLASS BAR */

.jm-footer__inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);

  align-items: center;

  gap:
    clamp(1.25rem, 4vw, 3.5rem);

  width: 100%;

  max-width:
    var(--jm-content-max);

  min-height: 88px;

  margin-inline: auto;

  padding:
    0.75rem
    0;

  border: 0;
  border-radius: 0;

  background: transparent;
  box-shadow: none;

  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* SHARED SMALL LABEL */

.jm-footer__label {
  display: block;

  margin-bottom: 0.55rem;

  color:
    rgba(255, 255, 255, 0.46);

  font-size: 0.6rem;

  line-height: 1;

  font-weight: 850;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


/* -------------------------------------------------------
   SOCIALS — LEFT
------------------------------------------------------- */

.jm-footer__social-block {
  justify-self: start;
}

.jm-footer__socials {
  display: flex;

  align-items: center;

  gap: 0.45rem;
}

.jm-footer__socials a {
  display: grid;

  place-items: center;

  width: 36px;
  height: 36px;

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  border-radius: 9px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.09),
      rgba(198, 107, 247, 0.07)
    );

  color:
    rgba(255, 255, 255, 0.76);

  text-decoration: none;

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.08);

  transition:
    transform
    var(--jm-transition-fast),

    border-color
    var(--jm-transition-fast),

    background
    var(--jm-transition-fast),

    color
    var(--jm-transition-fast),

    box-shadow
    var(--jm-transition-fast);
}

.jm-footer__socials svg {
  width: 17px;
  height: 17px;
}

.jm-footer__socials a:hover {
  transform:
    translateY(-2px);

  border-color:
    rgba(0, 212, 255, 0.42);

  background:
    linear-gradient(
      145deg,
      rgba(198, 107, 247, 0.18),
      rgba(0, 212, 255, 0.10)
    );

  color:
    var(--jm-cyan);

  box-shadow:
    0 0 18px
    rgba(0, 212, 255, 0.12);
}


/* -------------------------------------------------------
   BRAND — CENTRE
------------------------------------------------------- */

.jm-footer__brand {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.65rem;

  justify-self: center;

  color:
    var(--jm-white);

  text-decoration: none;

  white-space: nowrap;
}

.jm-footer__logo {
  flex:
    0
    0
    auto;

  width: 50px;
  height: 50px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 0 10px
      rgba(198, 107, 247, 0.54)
    )

    drop-shadow(
      0 0 19px
      rgba(0, 212, 255, 0.14)
    );

  transition:
    transform
    var(--jm-transition-fast),

    filter
    var(--jm-transition-fast);
}

.jm-footer__brand:hover .jm-footer__logo {
  transform:
    scale(1.06)
    rotate(-2deg);

  filter:
    drop-shadow(
      0 0 13px
      rgba(198, 107, 247, 0.72)
    )

    drop-shadow(
      0 0 24px
      rgba(0, 212, 255, 0.27)
    );
}

.jm-footer__brand-copy {
  display: flex;

  flex-direction: column;

  gap: 0.2rem;
}

.jm-footer__brand-copy strong {
  background:
    linear-gradient(
      90deg,
      var(--jm-white),
      var(--jm-purple-light),
      #8cecff
    );

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

  -webkit-text-fill-color: transparent;

  font-size: 1.05rem;

  line-height: 1;

  font-weight: 900;

  font-style: italic;

  letter-spacing:
    -0.035em;
}

.jm-footer__brand-copy small {
  color:
    rgba(255, 255, 255, 0.52);

  font-size: 0.61rem;

  line-height: 1;

  font-weight: 650;
}


/* -------------------------------------------------------
   NAVIGATION — RIGHT
------------------------------------------------------- */

.jm-footer__nav {
  justify-self: end;

  text-align: right;
}

.jm-footer__nav-links {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  flex-wrap: wrap;

  gap:
    0.35rem
    0.95rem;
}

.jm-footer__nav a {
  position: relative;

  padding:
    0.2rem
    0;

  color:
    rgba(255, 255, 255, 0.70);

  text-decoration: none;

  font-size: 0.74rem;

  line-height: 1;

  font-weight: 700;

  transition:
    color
    var(--jm-transition-fast),

    text-shadow
    var(--jm-transition-fast);
}

.jm-footer__nav a::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -0.12rem;
  left: 0;

  height: 1px;

  transform:
    scaleX(0);

  transform-origin: right;

  background:
    linear-gradient(
      90deg,
      var(--jm-purple-light),
      var(--jm-cyan)
    );

  transition:
    transform
    var(--jm-transition-fast);
}

.jm-footer__nav a:hover {
  color:
    var(--jm-white);

  text-shadow:
    0 0 12px
    rgba(198, 107, 247, 0.28);
}

.jm-footer__nav a:hover::after {
  transform:
    scaleX(1);

  transform-origin: left;
}


/* -------------------------------------------------------
   CONTACT + LEGAL ROW
------------------------------------------------------- */

.jm-footer__bottom {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);

  align-items: center;

  gap: 1rem;

  width: 100%;

  max-width:
    var(--jm-content-max);

  margin:
    0.5rem
    auto
    0;

  padding-inline:
    0.3rem;
}

.jm-footer__direct {
  display: flex;

  align-items: center;

  justify-content: flex-start;

  flex-wrap: wrap;

  gap:
    0.3rem
    0.8rem;
}

.jm-footer__direct a {
  color:
    rgba(255, 255, 255, 0.56);

  text-decoration: none;

  font-size: 0.63rem;

  line-height: 1.4;

  font-weight: 650;

  transition:
    color
    var(--jm-transition-fast),

    text-shadow
    var(--jm-transition-fast);
}

.jm-footer__direct a:hover {
  color:
    var(--jm-cyan);

  text-shadow:
    0 0 12px
    rgba(0, 212, 255, 0.30);
}

.jm-footer__bottom p {
  margin: 0;

  color:
    rgba(255, 255, 255, 0.36);

  font-size: 0.61rem;

  line-height: 1.4;
}

.jm-footer__bottom > p:first-of-type {
  text-align: center;
}

.jm-footer__bottom > p:last-child {
  text-align: right;
}


/* =========================================================
   GLOBAL FOOTER — TABLET
========================================================= */

@media (max-width: 860px) {

  .jm-footer__inner {
    grid-template-columns:
      1fr
      1fr;

    gap:
      0.85rem
      1.5rem;
  }

  .jm-footer__brand {
    grid-column:
      1 / -1;

    grid-row: 1;

    justify-self: center;
  }

  .jm-footer__social-block {
    grid-column: 1;

    grid-row: 2;
  }

  .jm-footer__nav {
    grid-column: 2;

    grid-row: 2;
  }

  .jm-footer__bottom {
    grid-template-columns:
      1fr
      1fr;
  }

  .jm-footer__direct {
    grid-column:
      1 / -1;

    justify-content: center;
  }

  .jm-footer__bottom > p:first-of-type {
    text-align: left;
  }

}


/* =========================================================
   GLOBAL FOOTER — MOBILE
========================================================= */

@media (max-width: 640px) {

  .jm-footer {
    padding:
      0.75rem
      var(--jm-page-inline)
      0.6rem;
  }

  .jm-footer__inner {
    display: flex;

    flex-direction: column;

    gap: 0.85rem;

    min-height: 0;

    padding: 0.85rem;
  }

  .jm-footer__brand {
    order: 1;
  }

  .jm-footer__logo {
    width: 43px;
    height: 43px;
  }

  .jm-footer__social-block {
    order: 2;

    text-align: center;
  }

  .jm-footer__socials {
    justify-content: center;
  }

  .jm-footer__nav {
    order: 3;

    text-align: center;
  }

  .jm-footer__nav-links {
    justify-content: center;

    gap:
      0.4rem
      0.85rem;
  }

  .jm-footer__label {
    margin-bottom: 0.45rem;
  }

  .jm-footer__bottom {
    display: flex;

    flex-direction: column;

    gap: 0.18rem;

    margin-top: 0.45rem;

    text-align: center;
  }

  .jm-footer__direct {
    justify-content: center;
  }

  .jm-footer__bottom > p:first-of-type,
  .jm-footer__bottom > p:last-child {
    text-align: center;
  }

}
/* =========================================================
   24 — REVEAL MOTION
========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(30px);

  transition:
    opacity
    0.7s ease,

    transform
    0.7s ease;
}

.reveal.is-visible {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   25 — TABLET
========================================================= */

@media (max-width: 950px) {

  /* CARDS */

  .jm-card {
    padding:
      1.2rem;
  }

}


/* =========================================================
   26 — MOBILE
========================================================= */

@media (max-width: 640px) {

  :root {

    --jm-page-gutter:
      0.9rem;

    --jm-section-space:
      2.7rem;

  }


  html {
    scroll-padding-top:
      84px;
  }


  /* -------------------------------------------------------
     TYPOGRAPHY
  ------------------------------------------------------- */

  .jm-body {
    font-size: 1rem;

    line-height: 1.68;
  }

  .jm-lead {
    font-size: 1.2rem;
  }

  .jm-h2 {
    font-size:
      clamp(1.9rem, 9vw, 2.5rem);
  }

  .jm-h3 {
    font-size:
      clamp(1.45rem, 7vw, 2rem);
  }


  /* -------------------------------------------------------
     HERO
  ------------------------------------------------------- */

  .jm-hero {
    min-height: auto;

    padding-block: 2rem;
  }

  .jm-h1 {
    font-size:
      clamp(2.55rem, 12vw, 4rem);

    line-height: 1;
  }

  .jm-hero .jm-lead,
  .jm-hero__intro {
    margin-top: 1.25rem;
  }

  .jm-hero__actions,
  .jm-final__actions {
    flex-direction: column;

    align-items: stretch;

    width: 100%;

    max-width: 340px;

    margin-inline: auto;
  }

  .jm-hero__actions .jm-button,
  .jm-final__actions .jm-button {
    width: 100%;
  }


  /* -------------------------------------------------------
     NAVIGATION
  ------------------------------------------------------- */

  .jm-nav__inner {
    min-height: 62px;
  }

  .jm-nav__logo {
    width: 42px;
    height: 38px;
  }


  /* -------------------------------------------------------
     CARDS
  ------------------------------------------------------- */

  .jm-card {
    padding: 1rem;
  }

  .jm-card__text {
    font-size: 1rem;
  }


  /* -------------------------------------------------------
     LISTS
  ------------------------------------------------------- */

  .jm-list__row {
    grid-template-columns:
      30px
      1fr;

    gap:
      0.55rem
      0.75rem;

    padding:
      0.85rem;
  }

  .jm-list__text {
    grid-column: 2;
  }


  /* -------------------------------------------------------
     HEADING ACCENT
  ------------------------------------------------------- */

  .jm-heading-accent::after {
    width: 70px;
    height: 4px;
  }

}


/* =========================================================
   27 — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior:
      auto;
  }

  *,
  *::before,
  *::after {
    animation:
      none !important;

    transition:
      none !important;

    scroll-behavior:
      auto !important;
  }

  .reveal {
    opacity: 1;

    transform:
      none;
  }

}

/* -------------------------------------------------------
   GLOBAL LIGHT SPOTLIGHT HERO
------------------------------------------------------- */

.jm-hero--spotlight {
  isolation:
    isolate;

  background:
    radial-gradient(
      circle at var(--jm-hero-purple-x, 18%)
      var(--jm-hero-purple-y, 18%),
      rgba(168, 85, 247, 0.22),
      transparent 32%
    ),

    radial-gradient(
      circle at var(--jm-hero-cyan-x, 82%)
      var(--jm-hero-cyan-y, 72%),
      rgba(0, 212, 255, 0.18),
      transparent 34%
    ),

    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbf8ff 55%,
      #f5faff 100%
    );
}

.jm-hero--spotlight::before,
.jm-hero--spotlight::after {
  content: "";

  position: absolute;

  z-index: 0;

  border-radius:
    50%;

  pointer-events:
    none;
}

.jm-hero--spotlight::before {
  top:
    var(--jm-hero-purple-top, -8rem);

  left:
    var(--jm-hero-purple-left, -7rem);

  width:
    var(--jm-hero-purple-size, 26rem);

  height:
    var(--jm-hero-purple-size, 26rem);

  background:
    rgba(168, 85, 247, 0.16);

  filter:
    blur(75px);
}

.jm-hero--spotlight::after {
  right:
    var(--jm-hero-cyan-right, -6rem);

  bottom:
    var(--jm-hero-cyan-bottom, -10rem);

  width:
    var(--jm-hero-cyan-size, 30rem);

  height:
    var(--jm-hero-cyan-size, 30rem);

  background:
    rgba(0, 212, 255, 0.13);

  filter:
    blur(85px);
}

.jm-hero--spotlight > * {
  position:
    relative;

  z-index:
    1;
}

.jm-hero--spotlight .jm-eyebrow {
  color:
    var(--jm-purple-bright);
}

.jm-hero--spotlight .jm-hero__intro {
  color:
    var(--jm-muted);
}