:root {
    --bs-font-sans-serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

.home-card-new-badge {
  position: relative;
  top: -0.45em;
  display: inline-block;
  margin-left: 0.15rem;
  padding: 0.08rem 0.34rem;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #1a1a1a;
  background: #ffd54a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
  vertical-align: baseline;
  white-space: nowrap;
}

body {
    font-family: var(--bs-body-font-family);
    background: #f8f9fa;
}

/* Valkoinen glass-paneeli (listaus intro, artikkelin CTA ym.) */
.yn-glass-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.25rem;
  box-shadow:
    0 14px 40px rgba(14, 28, 110, 0.07),
    0 2px 8px rgba(14, 28, 110, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.35rem 1.5rem;
}
@media (min-width: 768px) {
  .yn-glass-panel {
    padding: 1.65rem 1.85rem;
  }
}
.yn-glass-panel .yn-glass-title {
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.yn-glass-panel .yn-glass-lead {
  margin: 0;
  color: #5c6570;
  line-height: 1.55;
  max-width: 42rem;
}
.yn-glass-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.yn-glass-cta .yn-glass-lead {
  margin-bottom: 0.85rem;
}


h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-optical-sizing: auto;
}
.btn-primary {
    background: #0c6af4;
    border: none;
}
.btn-primary:hover {
    background: #0a5bd6;
}
.card {
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-5px);
}
.hover-lift {
    transition: all 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Badge valkoisella pohjalla, pehmeä varjo */
.badge.bg-light {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Etusivun hero */
.home-hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: stretch;
  margin: 0 0.65rem 0.25rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, #0e1c6e 0%, #0c6af4 62%, #4a94f7 100%);
  box-shadow:
    0 24px 56px rgba(14, 28, 110, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 12% 0%, rgba(255, 255, 255, 0.06), transparent 58%),
    radial-gradient(ellipse 70% 45% at 88% 100%, rgba(255, 255, 255, 0.12), transparent 52%);
  pointer-events: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%, rgba(0, 0, 0, 0.06) 100%);
  pointer-events: none;
}
.home-hero > .container {
  position: relative;
  z-index: 1;
}
.home-hero-inner {
  padding-top: 0.75rem;
  padding-bottom: 0.4rem;
}
@media (min-width: 992px) {
  .home-hero-inner {
    padding-top: calc(0.75rem + 15px);
    padding-bottom: 0;
  }
  .home-hero-slogan-img-wrap {
    margin-bottom: -15px;
  }
}
.home-hero .mb-4 {
  margin-bottom: 1rem !important;
}
.home-hero-actions {
  margin: 0 auto 0.5rem;
}
.home-hero-slogan-img-wrap {
  max-width: min(1560px, 96vw);
  margin: 0 auto;
  line-height: 0;
}
.home-hero-slogan-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 216px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.18));
  opacity: 0.96;
}
.home-hero-icon {
  height: 105px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28));
  flex: 0 0 auto;
}
.home-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem 1.35rem;
  text-align: left;
  margin: 0 auto 1.15rem;
}
.home-hero-brand-text {
  min-width: 0;
}
.home-hero-logo {
  font-family: var(--bs-font-sans-serif);
  font-size: clamp(2rem, 5.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}
.home-hero-logo .net {
  font-weight: 500;
  font-size: 0.92em;
  opacity: 0.92;
}
.home-hero-tagline {
  font-family: var(--bs-font-sans-serif);
  font-size: clamp(0.82rem, 2.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b9dcff;
  margin: 0.5rem 0 0;
  line-height: 1.25;
}
.home-about-section {
  position: relative;
  margin: 0.75rem 0.65rem;
  padding: 2.75rem 0 3rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 12% 18%, rgba(12, 106, 244, 0.13), transparent 55%),
    radial-gradient(ellipse 55% 60% at 90% 75%, rgba(14, 28, 110, 0.09), transparent 50%),
    linear-gradient(165deg, #eef4ff 0%, #f7f9fc 48%, #e9f1fb 100%);
  border: 1px solid rgba(12, 106, 244, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.home-about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12, 106, 244, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.home-about-section > .container {
  position: relative;
  z-index: 1;
}
.home-about-title {
  color: #0e1c6e;
  letter-spacing: -0.02em;
}
.home-about-lead {
  color: #4a5563;
  max-width: 40rem;
}
.home-about-section .border.rounded-4 {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(12, 106, 244, 0.12) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (min-width: 992px) {
  .home-about-section {
    padding: 3.25rem 0 3.5rem;
  }
}
@media (max-width: 575.98px) {
  .home-about-section {
    margin: 0.5rem 0.4rem;
    padding: 2rem 0 2.25rem;
    border-radius: 1.25rem;
  }
}
.home-hero-cat .home-card-new-badge {
  margin-left: 0.2rem;
  font-size: 0.48rem;
}
.home-start-new-badge {
  position: relative;
  top: -0.3em;
  display: inline-block;
  margin-left: 0.22rem;
  padding: 0.05rem 0.28rem;
  border-radius: 999px;
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff !important;
  background: linear-gradient(135deg, #0c6af4 0%, #0e1c6e 100%);
  box-shadow: 0 1px 4px rgba(12, 106, 244, 0.35);
  vertical-align: baseline;
  white-space: nowrap;
}
.home-hero-cats-wrap {
  max-width: 920px;
  margin: 0 auto 0.85rem;
  padding: 0.35rem 0.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.home-hero-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: none;
  margin: 0;
}
.home-hero-cat {
  flex: 1 1 0;
  min-width: 96px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.45rem;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .2s ease, opacity .2s ease;
}
.home-hero-cat:hover {
  transform: translateY(-3px);
  opacity: 0.92;
}
.home-hero-cat i {
  font-size: 1.65rem;
  line-height: 1;
  opacity: 0.95;
}
.home-hero-cat span {
  font-family: var(--bs-font-sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
}
.home-hero-cat-divider {
  width: 1px;
  align-self: stretch;
  min-height: 3.2rem;
  margin: 0.35rem 0;
  background: rgba(255, 255, 255, 0.28);
  flex: 0 0 1px;
}
@media (min-width: 992px) {
  .home-hero {
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: 2rem;
  }
}
@media (max-width: 575.98px) {
  .home-hero-brand {
    flex-direction: column;
    text-align: center;
  }
  .home-hero-brand-text {
    text-align: center;
  }
  .home-hero-cats {
    gap: 0.35rem 0;
  }
  .home-hero-cat-divider {
    display: none;
  }
  .home-hero-cat {
    flex: 1 1 calc(33.333% - 0.5rem);
    min-width: 88px;
    max-width: none;
  }
  .home-hero-slogan-img {
    max-height: 174px;
  }
}

/* Etusivu: "Kun etsit jotain muuta kuin massaa" */
.home-massaa {
  position: relative;
  margin: 1.5rem 0.65rem 0;
  padding: 2.75rem 0 3rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 8% 20%, rgba(12, 106, 244, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 60% at 92% 70%, rgba(14, 28, 110, 0.1), transparent 50%),
    linear-gradient(165deg, #eef4ff 0%, #f6f8fc 45%, #e8f0fb 100%);
  border: 1px solid rgba(12, 106, 244, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.home-massaa::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(12, 106, 244, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  opacity: 0.9;
}
.home-massaa::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -6rem;
  top: -8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 106, 244, 0.16), transparent 68%);
  pointer-events: none;
  animation: home-massaa-glow 9s ease-in-out infinite alternate;
}
.home-massaa > .container {
  position: relative;
  z-index: 1;
}
@keyframes home-massaa-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to { transform: translate(-1.5rem, 1.25rem) scale(1.08); opacity: 1; }
}
.home-massaa-eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0c6af4;
  background: rgba(12, 106, 244, 0.1);
  border: 1px solid rgba(12, 106, 244, 0.16);
}
.home-massaa-title {
  color: #0e1c6e;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  line-height: 1.15;
}
.home-massaa-lead {
  color: #4a5563;
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 34rem;
}
.home-massaa-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.home-massaa-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(12, 106, 244, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.home-massaa-points li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(12, 106, 244, 0.2);
  box-shadow: 0 8px 22px rgba(14, 28, 110, 0.08);
}
.home-massaa-point-icon {
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #0c6af4 0%, #0e1c6e 100%);
  box-shadow: 0 6px 14px rgba(12, 106, 244, 0.28);
  font-size: 0.85rem;
}
.home-massaa-points li span:last-child {
  padding-top: 0.3rem;
  color: #2b3340;
  font-weight: 500;
  line-height: 1.35;
}

.home-start-panel {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 18px 44px rgba(14, 28, 110, 0.1),
    0 2px 8px rgba(14, 28, 110, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.home-start-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(12, 106, 244, 0.06) 50%, transparent 60%);
  background-size: 220% 100%;
  animation: home-start-sheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes home-start-sheen {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}
.home-start-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.home-start-panel-kicker {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0c6af4;
  background: rgba(12, 106, 244, 0.1);
  border: 1px solid rgba(12, 106, 244, 0.14);
}
.home-start-panel-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0e1c6e;
  letter-spacing: -0.02em;
}
.home-start-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
}
.home-start-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.95rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 106, 244, 0.12);
  box-shadow: 0 1px 2px rgba(14, 28, 110, 0.04);
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}
.home-start-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 106, 244, 0.08), rgba(14, 28, 110, 0.04) 55%, transparent 75%);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.home-start-link:hover,
.home-start-link:focus-visible {
  transform: translateY(-3px) translateX(2px);
  border-color: rgba(12, 106, 244, 0.35);
  background: #fff;
  box-shadow:
    0 14px 28px rgba(12, 106, 244, 0.16),
    0 0 0 1px rgba(12, 106, 244, 0.08);
  outline: none;
}
.home-start-link:hover::before,
.home-start-link:focus-visible::before {
  opacity: 1;
}
.home-start-link-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  background: linear-gradient(145deg, #3b8bff 0%, #0c6af4 45%, #0e1c6e 100%);
  box-shadow: 0 8px 16px rgba(12, 106, 244, 0.3);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.home-start-link:hover .home-start-link-icon,
.home-start-link:focus-visible .home-start-link-icon {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 10px 20px rgba(12, 106, 244, 0.4);
}
.home-start-link-text {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.home-start-link-text strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0e1c6e;
  line-height: 1.2;
}
.home-start-link-text span {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.25;
}
.home-start-link-arrow {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0c6af4;
  background: rgba(12, 106, 244, 0.08);
  font-size: 0.75rem;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}
.home-start-link:hover .home-start-link-arrow,
.home-start-link:focus-visible .home-start-link-arrow {
  transform: translateX(4px);
  background: #0c6af4;
  color: #fff;
}

@media (min-width: 992px) {
  .home-massaa {
    margin-top: 1.85rem;
    padding: 3.25rem 0 3.5rem;
  }
  .home-start-panel {
    padding: 1.55rem 1.45rem 1.4rem;
  }
}
@media (max-width: 575.98px) {
  .home-massaa {
    margin: 1.15rem 0.4rem 0;
    padding: 2rem 0 2.25rem;
    border-radius: 1.25rem;
  }
  .home-massaa-title {
    font-size: 1.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-massaa::after,
  .home-start-panel::before,
  .home-ajankohtaista-section .yn-glass-panel::before {
    animation: none;
  }
  .home-massaa-points li,
  .home-start-link,
  .home-start-link-icon,
  .home-start-link-arrow {
    transition: none;
  }
}

/* Etusivu: osioiden kevyt korttipaneeli + liukuvärinapit */
.home-section-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(12, 106, 244, 0.11);
  border-radius: 1.5rem;
  box-shadow:
    0 14px 40px rgba(14, 28, 110, 0.07),
    0 2px 8px rgba(14, 28, 110, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 2.25rem 1.25rem 2rem;
}
@media (min-width: 768px) {
  .home-section-panel {
    padding: 2.75rem 2rem 2.5rem;
    border-radius: 1.75rem;
  }
}
.home-section-panel > .home-section-title {
  color: #0e1c6e;
  letter-spacing: -0.02em;
}
.home-picks-section,
.home-new-section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}
.home-btn-gradient {
  background: linear-gradient(135deg, #0c6af4 0%, #3b8bff 55%, #0e1c6e 100%) !important;
  background-size: 180% 100%;
  border: none !important;
  box-shadow: 0 8px 22px rgba(12, 106, 244, 0.28);
  transition: background-position 0.35s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.home-btn-gradient:hover,
.home-btn-gradient:focus-visible {
  background-position: 100% 0 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(12, 106, 244, 0.34);
}

/* Ajankohtaista-teaser: kevyt liukuväri glass-paneeliin */
.home-ajankohtaista-section .yn-glass-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(238, 244, 255, 0.88) 52%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(12, 106, 244, 0.14);
}
.home-ajankohtaista-section .yn-glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(12, 106, 244, 0.07) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: home-start-sheen 8s ease-in-out infinite;
  pointer-events: none;
}
.home-ajankohtaista-section .yn-glass-panel > * {
  position: relative;
  z-index: 1;
}
.home-ajankohtaista-section .btn-outline-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 244, 255, 0.9) 100%);
  border-color: rgba(12, 106, 244, 0.35);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.home-ajankohtaista-section .btn-outline-primary:hover {
  background: linear-gradient(135deg, #0c6af4 0%, #3b8bff 100%);
  border-color: #0c6af4;
  color: #fff;
  transform: translateY(-1px);
}

/* Varmistaa, että kaikki tekstit ovat valkoisia gradient-hero-osiossa */
section[style*="linear-gradient"] {
    color: white !important;
}
section[style*="linear-gradient"] h1,
section[style*="linear-gradient"] p,
section[style*="linear-gradient"] a:not(.btn) {
    color: white !important;
}
section[style*="linear-gradient"] .home-hero-tagline {
    color: #b9dcff !important;
}
section[style*="linear-gradient"] .home-hero-cat {
    color: #fff !important;
}

/* Painikkeen hover-efekti */
.hover-lift {
    transition: all 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

  .shop-card {
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    border: 2px solid rgba(12, 106, 244, 0.22);
    border-radius: 0.9rem;
    background: #fff;
    box-shadow:
      0 1px 2px rgba(14, 28, 110, 0.04),
      0 0.45rem 1.1rem rgba(14, 28, 110, 0.06);
  }

  .shop-card.shop-card--type-store {
    border-color: rgba(13, 110, 253, 0.55);
  }
  .shop-card.shop-card--type-webshop {
    border-color: rgba(25, 135, 84, 0.55);
  }
  .shop-card.shop-card--type-expert {
    border-color: rgba(111, 66, 193, 0.55);
  }
  .shop-card.shop-card--type-service {
    border-color: rgba(255, 193, 7, 0.7);
  }

  .shop-card:hover {
    transform: translateY(-2px);
    box-shadow:
      0 2px 4px rgba(14, 28, 110, 0.05),
      0 0.85rem 1.6rem rgba(14, 28, 110, 0.1) !important;
  }
  .shop-card.shop-card--type-store:hover { border-color: rgba(13, 110, 253, 0.85); }
  .shop-card.shop-card--type-webshop:hover { border-color: rgba(25, 135, 84, 0.85); }
  .shop-card.shop-card--type-expert:hover { border-color: rgba(111, 66, 193, 0.85); }
  .shop-card.shop-card--type-service:hover { border-color: rgba(255, 193, 7, 0.95); }

.ratio-3x2 {
    position: relative;
    width: 100%;
    padding-top: 66.6667%;
  }

  .ratio-3x2>img {
    position: absolute;
    inset: 0;
  }

/* Kuva + nimi kuvan alareunassa */
.shop-card .shop-card-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.shop-card .shop-card-visual img {
  display: block;
}

.shop-card-name-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem 0.55rem;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 55%);
  transition: padding .28s ease, background .28s ease;
}

.shop-card-name-badge {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  max-width: 94%;
  margin: 0 auto;
  padding: 0.4rem 0.85rem;
  border-radius: 0.45rem;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: #141414;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: transform .28s ease, box-shadow .28s ease;
}

/* Esittely: piilossa → hoverilla nousee kuvan päälle nimen kanssa */
.shop-card-intro-reveal {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  max-width: 94%;
  margin: 0 auto;
  padding: 0 0.15rem;
  font-size: 0.8rem;
  font-weight: 450;
  line-height: 1.4;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: max-height .32s ease, opacity .28s ease, transform .28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .shop-card--has-intro:hover .shop-card-name-overlay,
  .shop-card--has-intro:focus-within .shop-card-name-overlay {
    padding-top: 2.4rem;
    padding-bottom: 0.7rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0) 100%);
  }
  .shop-card--has-intro:hover .shop-card-intro-reveal,
  .shop-card--has-intro:focus-within .shop-card-intro-reveal {
    max-height: 4.2em;
    opacity: 1;
    transform: translateY(0);
  }
  .shop-card--has-intro:hover .shop-card-name-badge,
  .shop-card--has-intro:focus-within .shop-card-name-badge {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }
}

@media (hover: none), (pointer: coarse) {
  /* Kosketus: lyhyt esittely aina kevyesti näkyvissä jos olemassa */
  .shop-card--has-intro .shop-card-intro-reveal {
    max-height: 2.8em;
    opacity: 0.95;
    transform: none;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .shop-card--has-intro .shop-card-name-overlay {
    padding-top: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card-intro-reveal,
  .shop-card-name-badge,
  .shop-card-name-overlay {
    transition: none;
  }
}

/* Legacy (jos joku vielä käyttää body-introa) */
.shop-card-intro-body {
  border-top: 1px solid rgba(12, 106, 244, 0.08);
  background: linear-gradient(180deg, rgba(12, 106, 244, 0.025) 0%, #fff 100%);
}
.shop-card-intro {
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(33, 37, 41, 0.72);
}

/* City: vasen yläkulma */
.badge-city{
  position:absolute;
  left:.75rem;
  top:.75rem;
  z-index: 2;
  border-radius:999px;
  padding:.40rem .60rem;
  font-weight:700;
  font-size:.78rem;
  background: rgba(0,0,0,.55);
  color:#fff;
  backdrop-filter: blur(4px);
}

/* Type: oikea yläkulma */
.badge-type{
  position:absolute;
  right:.75rem;
  top:.75rem;
  left:auto;                /* tärkeä: ei saa olla left määriteltynä */
  z-index: 2;

  display:inline-flex;      /* EI block */
  align-items:center;
  gap:.35rem;

  width:auto;
  max-width: calc(100% - 1.5rem);
  white-space:nowrap;

  padding:.40rem .60rem;
  border-radius:999px;
  font-weight:800;
  font-size:.78rem;
  letter-spacing:.01em;

  border:1px solid rgba(0,0,0,.10);
  box-shadow:0 .25rem .75rem rgba(0,0,0,.10);

  background-color:#fff !important;  /* default jos tyyppi-luokka puuttuu */
  color:#111 !important;
}

.badge-type.badge-type-secondary{
  top:2.9rem;
}

/* Kevyt tint per tyyppi (pakotetaan näkyviin) */
.badge-type.type-store{
  background-color: rgba(13,110,253,.85) !important;
  border-color: rgba(13,110,253,.25) !important;
  color: #ffffff !important;
}

.badge-type.type-webshop{
  background-color: rgba(25,135,84,.85) !important;
  border-color: rgba(25,135,84,.25) !important;
  color: #ffffff !important;
}

.badge-type.type-expert{
  background-color: rgba(111,66,193,.85) !important;
  border-color: rgba(111,66,193,.25) !important;
  color: #ffffff !important;
}

.badge-type.type-service{
  background-color: rgba(255,193,7,.85) !important;
  border-color: rgba(255,193,7,.30) !important;
  color: #ffffff !important;
}

/* Esittelyn sivupalkki: paikkakunta pill (listauksen badge-henki, vaalea korttipohja) */
.esittely-sidebar-city-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.4rem 0.82rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: #1e2124;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.esittely-sidebar-city-pill .fa-location-dot {
  color: #0c6af4;
  font-size: 0.88em;
}

/* ===== Navi & mobiilivalikko ===== */
.main-header {
  background: linear-gradient(135deg, #0e1c6e 0%, #0c6af4 62%, #4a94f7 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.main-header > .container,
.main-header .navbar {
  min-height: 0;
}
.main-header .navbar {
  /* Hieman ilmaa Mukaan / Lisää -nappien ylä- ja alapuolelle (py-1 oli ahdas) */
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
main {
  /* Kiinteä header ≈ 60–68px */
  padding-top: 68px;
}
.main-header .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  line-height: 1.15;
  white-space: nowrap;
  font-size: 1.05rem;
}
.main-header .navbar-nav .nav-link .nav-new-badge {
  position: relative;
  top: -0.55em;
  display: inline-block;
  margin-left: 0.12rem;
  margin-right: -0.15rem;
  padding: 0.08rem 0.32rem;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #1a1a1a;
  background: #ffd54a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  vertical-align: baseline;
  white-space: nowrap;
}
.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.14);
}
.main-header .navbar-nav.nav-header-actions .nav-link {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  padding: 0.5rem 0.8rem;
}
.main-header .navbar-nav.nav-header-actions .nav-link.nav-cta-accent {
  background: rgba(255, 255, 255, 0.95);
  color: #0e1c6e !important;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.main-header .navbar-nav.nav-header-actions .nav-link.nav-cta-accent:hover {
  background: #ffffff !important;
  color: #0c53c9 !important;
}
.main-header .navbar-brand {
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.main-header .navbar-brand-pin {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  flex: 0 0 auto;
  display: none;
}
.main-header .nav-icon {
  margin-right: 0;
  font-size: 1.05em;
  width: 1.15em;
  text-align: center;
  opacity: 0.95;
}
.navbar-brand .brand-dot {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.92em;
  margin-left: -0.12em;
  letter-spacing: 0;
}
.navbar-brand-wordmark,
.mobile-nav-sheet-brand-text {
  display: inline;
  white-space: nowrap;
  letter-spacing: -0.04em;
  line-height: 1;
}
.main-header .navbar-brand-wordmark {
  letter-spacing: -0.05em;
}
.main-header .navbar-brand .brand-dot {
  margin-left: -0.14em;
}

/* Lisää-pudotusvalikko (desktop) */
.nav-more-dropdown .nav-more-toggle {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  cursor: pointer;
}
.nav-more-dropdown .nav-more-toggle::after {
  display: none;
}
.nav-more-dropdown .nav-more-chevron {
  font-size: 0.65em;
  opacity: 0.85;
  transition: transform 0.2s ease;
}
.nav-more-dropdown.show .nav-more-chevron {
  transform: rotate(180deg);
}
.nav-more-menu {
  position: relative;
  margin-top: 0.55rem !important;
  padding: 0.45rem;
  min-width: 15.5rem;
  border: 1px solid rgba(12, 106, 244, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 44px rgba(14, 28, 110, 0.18),
    0 2px 8px rgba(14, 28, 110, 0.08);
  overflow: hidden;
}
.nav-more-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 106, 244, 0.06) 0%, transparent 55%);
  pointer-events: none;
}
.nav-more-menu .dropdown-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.85rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0e1c6e;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.nav-more-menu .dropdown-item i {
  width: 1.35rem;
  text-align: center;
  color: #0c6af4;
  font-size: 0.95rem;
}
.nav-more-menu .dropdown-item:hover,
.nav-more-menu .dropdown-item:focus {
  background: linear-gradient(135deg, rgba(12, 106, 244, 0.1) 0%, rgba(14, 28, 110, 0.06) 100%);
  color: #0c6af4;
  transform: translateX(2px);
}

/* Mobiilivalikko – full-screen sheet */
.mobile-nav-sheet {
  width: min(100%, 22rem);
  background: linear-gradient(135deg, #0e1c6e 0%, #0c6af4 62%, #4a94f7 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.mobile-nav-sheet .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.15rem;
}
.mobile-nav-sheet-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.mobile-nav-sheet-brand img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
}
.mobile-nav-sheet-brand span,
.mobile-nav-sheet-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.mobile-nav-sheet-brand .brand-dot {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  margin-left: -0.1em;
  font-size: 0.92em;
}
.mobile-nav-sheet .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.85;
}
.mobile-nav-sheet-body {
  padding: 0.85rem 1rem 1.25rem;
  overflow-y: auto;
}
.mobile-nav-group + .mobile-nav-group {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-nav-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.55rem;
  padding-left: 0.35rem;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.75rem;
  border-radius: 0.85rem;
  color: rgba(255, 255, 255, 0.94) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
  animation: mobileNavIn 0.45s ease both;
}
.mobile-nav-link i {
  width: 1.25rem;
  text-align: center;
  opacity: 0.9;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  transform: translateX(3px);
}
.mobile-nav-link.mobile-nav-link-accent {
  background: rgba(255, 255, 255, 0.95);
  color: #0e1c6e !important;
  font-weight: 700;
  margin-top: 0.35rem;
}
.mobile-nav-link.mobile-nav-link-accent:hover {
  background: #fff !important;
  color: #0c6af4 !important;
}
.mobile-nav-foot {
  margin-top: auto;
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
}
.mobile-nav-foot-badges {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.mobile-nav-foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.mobile-nav-foot-badge i {
  color: #b9dcff;
  width: 1.1rem;
  text-align: center;
}
.mobile-nav-foot-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}
.mobile-nav-foot-meta a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
@keyframes mobileNavIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.mobile-nav-group:nth-child(1) .mobile-nav-link:nth-child(2) { animation-delay: 0.03s; }
.mobile-nav-group:nth-child(1) .mobile-nav-link:nth-child(3) { animation-delay: 0.06s; }
.mobile-nav-group:nth-child(1) .mobile-nav-link:nth-child(4) { animation-delay: 0.09s; }
.mobile-nav-group:nth-child(1) .mobile-nav-link:nth-child(5) { animation-delay: 0.12s; }
.mobile-nav-group:nth-child(1) .mobile-nav-link:nth-child(6) { animation-delay: 0.15s; }

.main-header .nav-search-quick,
.main-header .nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: background 0.2s ease;
}
.main-header .nav-search-quick:hover,
.main-header .nav-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff !important;
}
.main-header .nav-menu-toggle {
  border: none;
  padding: 0;
}

@media (min-width: 1200px) {
  .main-header .navbar-nav {
    column-gap: 0.18rem;
  }
  .main-header .navbar-nav.nav-header-actions {
    column-gap: 0.35rem;
    margin-left: 0.5rem;
  }
  .main-header .nav-search-quick,
  .main-header .nav-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  main {
    padding-top: 62px;
  }
  .main-header .navbar-brand-pin {
    display: block;
  }
  .main-header .navbar-brand {
    font-size: 1.22rem;
    gap: 0.45rem;
  }
  .main-header .navbar-brand-wordmark {
    letter-spacing: -0.06em;
  }
  .main-header .navbar-brand .brand-dot {
    margin-left: -0.18em;
    font-size: 0.92em;
  }
  .main-header .navbar-collapse {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  #homeSearch.form-control-lg {
    font-size: 0.92rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}

/* Evästebanneri – keskitetty, tumma overlay */
#cc-main .cm--box.cm--middle {
  max-width: min(32rem, calc(100vw - 2rem));
}
#cc-main .cm-overlay {
  background: rgba(8, 16, 52, 0.72) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
#cc-main .cm {
  border-radius: 1.25rem !important;
  border: 1px solid rgba(12, 106, 244, 0.15) !important;
  box-shadow: 0 24px 56px rgba(14, 28, 110, 0.28) !important;
}
#cc-main .cm__title {
  color: #0e1c6e !important;
  font-weight: 800 !important;
}
#cc-main .cm__btn {
  border-radius: 999px !important;
  font-weight: 700 !important;
}
#cc-main .cm__btn[data-role="all"] {
  background: linear-gradient(135deg, #0c6af4, #0e1c6e) !important;
  border: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-link {
    animation: none;
  }
}

.offcanvas-backdrop.show {
  opacity: 0.62;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ===== Mukaan-sivu (etusivun glass + gradient) ===== */
.join-page .join-glass-section {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(12, 106, 244, 0.11);
  border-radius: 1.5rem;
  box-shadow:
    0 14px 40px rgba(14, 28, 110, 0.07),
    0 2px 8px rgba(14, 28, 110, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 1.65rem 1.35rem;
  margin-bottom: 1.25rem;
  transform: none !important;
}
@media (min-width: 768px) {
  .join-page .join-glass-section {
    padding: 2rem 2rem;
    border-radius: 1.75rem;
  }
}
.join-page .join-section-title {
  color: #0e1c6e;
  letter-spacing: -0.02em;
}
.join-page .join-feature-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 244, 255, 0.72) 100%);
  border: 1px solid rgba(12, 106, 244, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  height: 100%;
}
.join-page .join-feature-item .join-check {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #0c6af4, #3b8bff);
  color: #fff;
  font-size: 0.72rem;
  margin-top: 0.1rem;
}
.join-page .join-step-glass {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff 0%, rgba(238, 244, 255, 0.55) 100%);
  border: 1px solid rgba(12, 106, 244, 0.1);
  height: 100%;
}
.join-page .join-step-glass .step-n {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0c6af4, #0e1c6e);
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
  font-size: 0.95rem;
}
.join-page .join-promise-badge {
  background: linear-gradient(135deg, #0c6af4 0%, #3b8bff 55%, #0e1c6e 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(12, 106, 244, 0.22);
}
.join-page .role-tile {
  border: 1px solid rgba(12, 106, 244, 0.12);
  border-radius: 1.1rem;
  padding: 1rem 0.85rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 244, 255, 0.65) 100%);
  height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  box-shadow: 0 8px 22px rgba(14, 28, 110, 0.05);
}
.join-page .role-tile:hover {
  border-color: rgba(12, 106, 244, 0.35);
  box-shadow: 0 14px 32px rgba(12, 106, 244, 0.12);
  transform: translateY(-2px);
}
.join-page .role-tile .role-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(12, 106, 244, 0.14), rgba(14, 28, 110, 0.08));
  color: #0c6af4;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}
.join-page .join-path-card {
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.join-page .join-path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}
.join-page .join-hero-card {
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 56px rgba(14, 28, 110, 0.22);
  margin-bottom: 1.25rem;
  transform: none !important;
}
.join-page .join-hero-card .hero-wrap {
  background:
    linear-gradient(135deg, #0e1c6e 0%, #0c6af4 62%, #4a94f7 100%);
}
.join-page .join-hero-card .hero-wrap > .col-lg-10 > h1,
.join-page .join-hero-card .hero-wrap .display-6 {
  color: #fff;
}
.join-page .join-hero-card .hero-wrap .hero-lead {
  color: rgba(255, 255, 255, 0.95);
}
.join-page .join-hero-card .hero-wrap .hero-fine {
  color: rgba(255, 255, 255, 0.82);
}
.join-page .join-argument-card {
  border-radius: 1.25rem;
  padding: 1.5rem;
  height: 100%;
  text-align: center;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 244, 255, 0.75) 100%);
  border: 1px solid rgba(12, 106, 244, 0.11);
  box-shadow: 0 10px 28px rgba(14, 28, 110, 0.06);
}
.join-page .join-argument-card .pill-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: linear-gradient(135deg, rgba(12, 106, 244, 0.16), rgba(14, 28, 110, 0.08));
  color: #0c6af4;
}
.join-page .join-note-glass {
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 106, 244, 0.12);
  font-size: 0.92rem;
}
.join-includes-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  padding: 1.35rem 1.25rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(224, 237, 255, 0.92) 48%, rgba(255, 255, 255, 0.94) 100%);
  border: 1px solid rgba(12, 106, 244, 0.22);
  box-shadow:
    0 16px 40px rgba(12, 106, 244, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.join-includes-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: home-start-sheen 9s ease-in-out infinite;
  pointer-events: none;
}
.join-includes-panel > * {
  position: relative;
  z-index: 1;
}
.join-includes-panel__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.join-includes-panel__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #0c6af4 0%, #3b8bff 55%, #0e1c6e 100%);
  box-shadow: 0 8px 20px rgba(12, 106, 244, 0.35);
}
.join-includes-panel__title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0e1c6e;
  letter-spacing: -0.02em;
}
.join-includes-panel__lead {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(14, 28, 110, 0.72);
  line-height: 1.45;
}
.join-includes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
@media (min-width: 768px) {
  .join-includes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}
.join-includes-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.72rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 106, 244, 0.1);
  font-size: 0.92rem;
  color: #1a2744;
  line-height: 1.4;
}
.join-includes-grid li i {
  color: #0c6af4;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}
.join-includes-extra {
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(14, 28, 110, 0.06) 0%, rgba(12, 106, 244, 0.08) 100%);
  border: 1px dashed rgba(12, 106, 244, 0.25);
  font-size: 0.88rem;
  color: rgba(14, 28, 110, 0.82);
  line-height: 1.5;
}
.join-includes-extra strong {
  color: #0e1c6e;
}
.join-page .price-row {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.92) 100%);
  border-color: rgba(12, 106, 244, 0.1);
}
.join-page .join-btn.home-btn-gradient,
.join-page .btn-primary.home-btn-gradient {
  background: linear-gradient(135deg, #0c6af4 0%, #3b8bff 55%, #0e1c6e 100%) !important;
  background-size: 180% 100%;
  border: none !important;
  box-shadow: 0 8px 22px rgba(12, 106, 244, 0.28);
}
.join-page .join-btn.home-btn-gradient:hover,
.join-page .btn-primary.home-btn-gradient:hover {
  background-position: 100% 0 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(12, 106, 244, 0.34);
}
@media (prefers-reduced-motion: reduce) {
  .join-includes-panel::before {
    animation: none;
  }
}