/************************
 * ARVOT
 ************************/
.page-arvot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.9)),
    url('../../../bg/seasonal/home/bg-home-hero-section-winter.jpg') center/cover no-repeat;
}

.arvot-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 90px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  text-align: center;
  counter-reset: arvot;
}

.arvot-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 20px 0;
  text-align: center;
}

.arvot-header h1 {
  margin: 0 0 10px;
  color: var(--primary-blue);
  font-size: clamp(1.9rem, 1.6rem + 1.1vw, 2.6rem);
}

@media (min-width: 768px) {
  .arvot-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.arvot-lead {
  font-size: 1.15rem;
  color: #666;
  margin-bottom: 40px;
}

.arvo {
  padding: 25px 15px;
  border-radius: 12px;
  background-color: #f7f7f7;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.arvo:nth-child(1) { animation-delay: 0.2s; }
.arvo:nth-child(2) { animation-delay: 0.4s; }
.arvo:nth-child(3) { animation-delay: 0.6s; }
.arvo:nth-child(4) { animation-delay: 0.8s; }
.arvo:nth-child(5) { animation-delay: 1s; }
.arvo:nth-child(6) { animation-delay: 1.2s; }

.arvo .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 99px;
  height: 99px;
  margin: 0 auto 10px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(20, 52, 88, 0.9), rgba(11, 31, 56, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 8px 18px rgba(7, 18, 34, 0.22);
}

.arvo .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.arvo h2 {
  position: relative;
  font-size: 1.4rem;
  margin: 10px 0;
  color: var(--primary-blue);
}

.arvo p {
  color: #333;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
    font-size: 1.2rem;
  }

.arvo .story {
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
  margin-top: 1rem;
}

.arvo em {
  display: block;
  margin-top: 4px;
  font-style: italic;
  color: #555;
}

.arvo.luonto { background-color: #e6f4ea; }
.arvo.opetus,
.arvo.kulttuuri { background-color: #e6f0fa; }
.arvo.turva,
.arvo.arvo-no-ads { background-color: #f3f4f6; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .arvot-header {
    padding: 28px 15px 0;
  }

  .arvot-wrap {
    padding: 20px 15px;
    grid-template-columns: 1fr;
  }

  .arvo .icon {
    width: 90px;
    height: 90px;
  }

  .arvo .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .arvo p,
  .arvo .story {
    font-size: 1rem;
  }

  /* Mobile safety: keep all value cards visible on real devices. */
  .page-arvot .arvot-wrap {
    overflow: visible;
  }

  .page-arvot .arvo {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.cta {
  margin: 40px auto 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
  animation-delay: 1.5s;
}

.cta p {
  font-size: 1.1rem;
  color: #2b6a4a;
  margin-bottom: 12px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2b6a4a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #1f5036;
}

/************************
 * PELIT - LAYOUT
 ************************/
.page-pelit .feature-pelit-hero h1 {
  color: #fff;
}

.page-pelit .feature-section {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

.page-pelit .feature-content {
  min-height: 0;
  align-items: flex-start;
  gap: 0;
}

.page-pelit .feature-left,
.page-pelit .feature-right {
  min-height: 0;
}

.page-pelit .feature-pelit-hero .feature-background,
.page-pelit .feature-pelit-hero .feature-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

.page-pelit .feature-pelit-hero {
  min-height: 380px;
  padding-top: 120px !important;
  padding-bottom: 96px !important;
}

.page-pelit .feature-pelit-hero .feature-content {
  min-height: 0;
  justify-content: center;
}

.page-pelit .feature-pelit-hero .pelit-hero-copy {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.page-pelit .feature-pelit-hero .feature-description,
.page-pelit .feature-pelit-hero .feature-description a {
  color: #fff;
}

.page-pelit .feature-pelit-hero .feature-description a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep games sections on the same vertical rhythm as achievements section */
.page-pelit .feature-section.feature-games {
  min-height: 0 !important;
}

.page-pelit .feature-games-left-image .feature-right,
.page-pelit .feature-games-left-image .feature-left {
  min-height: 0;
}

.page-pelit .feature-games .feature-content,
.page-pelit .feature-achievements .feature-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding-inline: clamp(16px, 4vw, 42px);
  box-sizing: border-box;
}

.page-pelit .feature-games .feature-left,
.page-pelit .feature-games .feature-right,
.page-pelit .feature-achievements .feature-left,
.page-pelit .feature-achievements .feature-right {
  min-width: 0;
}

.page-pelit .feature-achievements .feature-right {
  text-align: left;
}

.page-pelit .feature-games .feature-right {
  text-align: left;
}

.page-pelit .feature-games .feature-left,
.page-pelit .feature-achievements .feature-left {
  text-align: left;
}

.page-pelit .game-section-image {
  width: min(100%, 420px);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  display: block;
  margin: 0 auto;
}

.page-pelit .feature-achievements .game-section-image {
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.page-pelit .feature-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.9rem;
}

.page-pelit .feature-right .feature-buttons {
  justify-content: flex-start;
}

.page-pelit .feature-left .feature-buttons {
  justify-content: flex-start;
}

.page-pelit .feature-buttons-secondary {
  margin-top: 0;
}

.page-pelit .feature-kerho .feature-buttons {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 12px;
  margin: 0.9rem 0 0;
}

.page-pelit .feature-kerho .feature-buttons.feature-buttons-secondary {
  margin: 0;
}

.page-pelit .feature-kerho .feature-content {
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}

.page-pelit .pelit-new-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #e24f5a, #c63b46);
  box-shadow: 0 8px 18px rgba(198, 59, 70, 0.34);
}

@media (max-width: 980px) {
  .page-pelit .feature-section {
    padding-top: 52px !important;
    padding-bottom: 42px !important;
  }

  .page-pelit .feature-pelit-hero {
    min-height: 0;
    padding-top: 84px !important;
    padding-bottom: 64px !important;
  }

  .page-pelit .feature-games .feature-content,
  .page-pelit .feature-achievements .feature-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-pelit .feature-games-memory .feature-right {
    order: -1;
  }

  .page-pelit .feature-left,
  .page-pelit .feature-right,
  .page-pelit .feature-center {
    text-align: center;
  }

  .page-pelit .feature-buttons {
    justify-content: center;
  }
}

/************************
 * PELIT - CARDS
 ************************/
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
  justify-content: center;
  gap: 3rem;
}

.game-card {
  background: var(--gradient-bg-opacity);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  color: #fff;
}

.game-card img {
  height: 80px;
  margin-bottom: 1rem;
}

.game-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.game-meta {
  font-weight: 600;
  margin-top: 1rem;
}

.game-meta a {
  color: var(--kerho-color);
}

.coming-soon {
  opacity: 0.7;
}

.game-card--wide img {
  height: auto;
  max-width: 100%;
}

.pelit-note {
  opacity: 0.9;
}

.pelit-support {
  margin-top: 1.5rem;
  font-weight: 600;
}

.pelit-support a {
  color: var(--accent-color);
  text-decoration: none;
}

/************************
 * APP PAGE - PERUSPOHJA
 ************************/
.page-app {
  background:
    radial-gradient(1200px 480px at 50% -140px, rgba(123, 177, 219, 0.24), transparent 70%),
    linear-gradient(180deg, #edf3f9 0%, #e7eef7 100%);
  color: #1f2937;
  padding-bottom: 2rem;
}

/* Safe reveal animations for app page:
   hidden state is enabled only when JS marks document as reveal-ready. */
:root.reveal-ready .page-app .animate-up,
:root.reveal-ready .page-app .animate-left,
:root.reveal-ready .page-app .animate-right,
:root.reveal-ready .page-app .animate-blur {
  opacity: 0;
  transition:
    opacity 0.65s ease,
    transform 0.75s ease,
    filter 0.95s ease;
  will-change: opacity, transform, filter;
}

:root.reveal-ready .page-app .animate-up {
  transform: translateY(30px);
}

:root.reveal-ready .page-app .animate-left {
  transform: translateX(-44px);
}

:root.reveal-ready .page-app .animate-right {
  transform: translateX(44px);
}

:root.reveal-ready .page-app .animate-blur {
  transform: translateY(18px) scale(0.99);
  filter: blur(10px);
}

:root.reveal-ready .page-app .animate-up.visible,
:root.reveal-ready .page-app .animate-left.visible,
:root.reveal-ready .page-app .animate-right.visible,
:root.reveal-ready .page-app .animate-blur.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  :root.reveal-ready .page-app .animate-up,
  :root.reveal-ready .page-app .animate-left,
  :root.reveal-ready .page-app .animate-right,
  :root.reveal-ready .page-app .animate-blur {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.page-app .page-header {
  background: linear-gradient(
    135deg,
    rgba(24, 59, 102, 0.95) 0%,
    rgba(35, 92, 126, 0.94) 60%,
    rgba(42, 121, 136, 0.92) 100%
  );
  color: #fff;
  padding: 4.6rem 1.5rem 4rem;
  text-align: center;
}

.page-app .page-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.9rem;
}

.page-app .page-header p,
.page-app .page-header .lead {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.95;
  font-size: 1.06rem;
  line-height: 1.65;
}

.page-app .app-section {
  max-width: 980px;
  margin: 1.2rem auto;
  padding: 2.25rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 57, 98, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(20, 44, 77, 0.08);
  backdrop-filter: blur(2px);
  position: relative;
  overflow: hidden;
}

.page-app .app-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(36, 101, 139, 0.6), rgba(62, 149, 166, 0.45));
  pointer-events: none;
}

.page-app .app-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.95rem;
  color: var(--primary-blue);
}

.page-app .app-section p {
  line-height: 1.65;
  margin-bottom: 1rem;
}

.page-app .app-section ul,
.page-app .app-section ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.page-app .app-section li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.page-app .app-showcase {
  margin-top: 1.2rem;
  text-align: center;
}

.page-app .app-showcase > img {
  width: min(100%, 540px);
  border-radius: 16px;
  border: 1px solid rgba(22, 57, 98, 0.12);
  box-shadow: 0 14px 30px rgba(19, 41, 72, 0.18);
}

.page-app .app-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
  padding-left: 0;
}

.page-app .app-feature-list li {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7fbff, #eef6ff);
  border: 1px solid rgba(24, 58, 101, 0.12);
}

.page-app .app-section-icon {
  margin: 0 0 0.35rem;
  line-height: 0;
}

.page-app .app-section-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(22, 57, 98, 0.16));
}

.page-app .app-management .app-section-icon img {
  width: 48px;
  height: 48px;
}

.page-app .app-cta-icon {
  margin-bottom: 0.25rem;
}

.page-app .app-cta-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(22, 57, 98, 0.16));
}

.page-app .app-cta-icon-mobile {
  position: relative;
}

.page-app .app-cta-icon-mobile img {
    position: relative;
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 12px 20px rgba(24, 61, 103, 0.22));
    margin-bottom: -1rem;
}

.page-app .app-management-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.15rem;
}

.page-app .management-card {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6fd 100%);
  border: 1px solid rgba(24, 58, 101, 0.1);
  border-radius: 14px;
  padding: 1.1rem 1rem 1rem;
}

.page-app .management-card h3 {
  margin: 0 0 0.5rem;
  color: #1d4f82;
  font-size: 1.08rem;
}

.page-app .app-management .management-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0.45rem 0 0;
}

.page-app .app-management .management-card li {
  margin: 0.35rem 0;
  text-align: center;
}

.page-app .app-faq p {
  margin-bottom: 1rem;
}

.page-app .app-faq strong {
  color: #173f66;
}

.page-app .app-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1rem;
}

.page-app .app-faq-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, calc(50% - 6px));
}

.page-app .app-faq-item {
  padding: 1rem 0.95rem;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid rgba(24, 58, 101, 0.1);
}

.page-app .app-faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #173f66;
}

.page-app .app-faq-item p {
  margin: 0;
}

.page-app .note {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--primary-blue);
  border-radius: 8px;
  background: #f1f6fd;
}

.page-app .app-cta {
  max-width: 980px;
  margin: 1.2rem auto 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.95));
  border: 1px solid rgba(22, 57, 98, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(20, 44, 77, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
}

.page-app .app-cta .app-cta-secondary {
  margin-top: 1.25rem;
}

.page-app .app-cta .app-cta-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-app .app-cta .app-cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.page-app .app-cta .app-cta-actions .btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .page-app .page-header h1 {
    font-size: 1.6rem;
  }

  .page-app .app-section {
    margin: 0.85rem 0.75rem;
    padding: 1.5rem 1.1rem;
    border-radius: 14px;
  }

  .page-app .app-section--intro p {
    text-align: left;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.72;
  }

  .page-app .app-management-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-app .app-feature-list,
  .page-app .app-faq-grid {
    grid-template-columns: 1fr;
  }

  .page-app .app-faq-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .page-app .app-section-icon img,
  .page-app .app-cta-icon img {
    width: 40px;
    height: 40px;
  }

  .page-app .app-cta-icon-mobile img {
    width: 56px;
    height: 56px;
  }

  .page-app .app-management .app-section-icon img {
    width: 44px;
    height: 44px;
  }

  .page-app .app-cta {
    margin: 0.85rem 0.75rem 0;
    border-radius: 14px;
  }

  .page-app .app-cta .app-cta-actions {
    margin-top: 1.15rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .page-app .app-cta .app-cta-actions .btn {
    width: 100%;
  }
}

/************************
 * APP INSTALL PAGE
 ************************/
.page-app-install {
  background: #f7f9fc;
  color: #1f2937;
}

.page-app-install .page-header {
  background: linear-gradient(135deg, var(--primary-blue), #3a7bd5);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.page-app-install .page-header h1 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.page-app-install .page-header p {
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.9;
}

.install-section {
  max-width: 1120px;
  margin: 3rem auto;
  padding: 2.2rem 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.install-tabs {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.page-app-install .tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  min-height: 56px;
  min-width: 220px;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(38, 67, 102, 0.24);
  background: #e3eaf3;
  color: #29466b;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(21, 43, 73, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.page-app-install .tab-btn:hover {
  transform: translateY(-1px);
  background: #d9e3ef;
  box-shadow: 0 6px 14px rgba(21, 43, 73, 0.16);
}

.page-app-install .tab-btn.is-active {
  background: linear-gradient(
    135deg,
    var(--primary-blue-highlight),
    var(--primary-blue)
  );
  color: #fff;
  border-color: rgba(23, 63, 102, 0.85);
  box-shadow: 0 10px 22px rgba(24, 54, 92, 0.3);
}

.page-app-install .tab-btn .fab {
  font-size: 1.25rem;
  line-height: 1;
  width: 20px;
  min-width: 20px;
  text-align: center;
}

#tab-btn-ios {
  gap: 0.4rem;
}

#tab-btn-ios .fa-apple {
  transform: translateY(-1px);
  margin-right: -1px;
}

#tab-btn-ios .ios-tab-label {
  position: relative;
  left: -1px;
}

.tab-content {
  display: none;
}

.tab-content.is-active {
  display: block;
}

.install-section .install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: install-step;
}

.install-section .install-steps > li {
  counter-increment: install-step;
  margin: 0 0 0.9rem;
  padding: 0.95rem 1rem 1rem;
  line-height: 1.55;
  background: #f6f9fd;
  border: 1px solid rgba(22, 57, 98, 0.12);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(20, 44, 77, 0.08);
  position: relative;
  text-align: center;
}

.app-ohje {
  display: block;
  max-width: 320px;
  margin: 0.75rem auto 0;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.install-step-text {
  display: block;
  margin: 0.7rem auto 0;
  max-width: 680px;
  text-align: center;
}

.app-ohje-android {
  max-width: 250px;
}

.install-section .install-steps > li .install-step-text::before {
  content: counter(install-step) ". ";
  font-weight: 800;
  color: #1f4a78;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  gap: 0.7rem;
  margin: 0.75rem auto 0;
  max-width: 820px;
  justify-content: center;
}

.screenshots .app-ohje {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.install-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #f1f5fb;
  border-left: 4px solid var(--primary-blue);
  border-radius: 8px;
  font-size: 0.95rem;
}

.install-finish {
  text-align: center;
}

.page-app-install .btn-mokki-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    var(--app-green-color-start),
    var(--app-green-color-end)
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fafafa;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(16, 73, 42, 0.26);
}

.page-app-install .btn-mokki-app:hover {
  background-position: 100% 50%;
  color: var(--app-green-text-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 73, 42, 0.32);
}

.page-app .app-cta .btn-mokki-app .btn-mokki-icon,
.page-app-install .btn-mokki-app .btn-mokki-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 0;
  margin-right: 0;
}

@media (max-width: 640px) {
  .page-app-install .tab-btn {
    min-width: 0;
    width: 100%;
    font-size: 0.94rem;
    padding: 0.82rem 0.68rem;
  }

  .install-section .install-steps > li {
    padding: 0.9rem 0.9rem 0.95rem;
    border-radius: 10px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .install-section .install-steps > li {
    padding: 0.82rem 0.88rem 1.08rem;
  }

  .install-section .install-steps > li > .app-ohje {
    margin-top: 0.5rem;
  }
}

.install-finish-icon {
    display: block;
    width: clamp(92px, 16vw, 132px);
    height: auto;
    margin: -0.5rem auto;
    left: 9px;
    position: relative;
}
.page-app-install .install-finish a:not(.btn) {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 600;
}

.page-app-install .install-finish a:not(.btn):hover {
  color: #173f66;
}

/************************
 * HELP PAGE
 ************************/
.page-help {
  background: linear-gradient(180deg, #eef4fa 0%, #e7eef7 100%);
  color: #1f2937;
  padding-bottom: 2rem;
}

.page-help .help-header {
  background: linear-gradient(135deg, var(--primary-blue), #3a7bd5);
  color: #fff;
  text-align: center;
  padding: 3.2rem 1.5rem;
}

.page-help .help-header h1 {
  margin-bottom: 0.7rem;
}

.page-help .help-layout {
  max-width: 1120px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 260px minmax(0, 1fr);
}

.page-help .help-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 57, 98, 0.1);
  border-radius: 14px;
  padding: 1rem;
}

.page-help .help-sidebar h2 {
  font-size: 1rem;
  margin-bottom: 0.65rem;
  color: var(--primary-blue);
  text-align: left;
}

.page-help .help-sidebar .help-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: help-group;
  text-align: left;
}

.page-help .help-sidebar li + li {
  margin-top: 0.45rem;
}

.page-help .help-sidebar .help-toc > .help-toc-group {
  counter-increment: help-group;
}

.page-help .help-sidebar .help-toc > .help-toc-group > ol {
  list-style: none;
  margin: 0.35rem 0 0 0;
  padding: 0 0 0 0.45rem;
  counter-reset: help-sub;
}

.page-help .help-sidebar .help-toc > .help-toc-group > ol > li {
  counter-increment: help-sub;
}

.page-help .help-sidebar .help-toc > .help-toc-group > ol > li + li {
  margin-top: 0.3rem;
}

.page-help .help-sidebar a {
  display: block;
  text-decoration: none;
  color: #1f3558;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  text-align: left;
}

.page-help .help-sidebar .help-toc > .help-toc-group > a::before {
  display: none;
}

.page-help .help-sidebar .help-toc > .help-toc-group > ol > li > a {
  font-weight: 500;
  font-size: 0.94rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.page-help .help-sidebar .help-toc > .help-toc-group > ol > li > a::before {
  display: none;
}

.page-help .help-sidebar a:hover {
  background: #eaf2fb;
}

.page-help .help-sidebar a.is-active,
.page-help .help-sidebar li.is-active > a {
  background: #dce9f8;
  color: #153b62;
}

.page-help .help-sidebar .help-toc > .help-toc-group.is-active > a {
  background: #d1e3f7;
}

.page-help .help-content {
  min-width: 0;
  counter-reset: help-section;
}

.page-help .help-featured {
  background: linear-gradient(145deg, #1f4a78, #2f6aa2);
  color: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 1.15rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 14px 34px rgba(18, 42, 73, 0.22);
}

.page-help .help-featured h2 {
  margin: 0 0 0.5rem;
  color: #fff;
}

.page-help .help-featured p,
.page-help .help-featured li {
  color: rgba(255, 255, 255, 0.95);
}

.page-help .help-featured ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.page-help .help-group {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(22, 57, 98, 0.12);
  border-radius: 16px;
  padding: 0.95rem;
  box-shadow: 0 10px 24px rgba(20, 44, 77, 0.05);
}

.page-help .help-group + .help-group {
  margin-top: 1rem;
}

.page-help .help-group.is-filter-hidden,
.page-help .help-section.is-filter-hidden {
  display: none !important;
}

.page-help .help-group.is-header-hidden > .help-group-header {
  display: none;
}

.page-help .help-group-header {
  padding: 1rem;
}

.page-help .help-group-header h2 {
  margin: 0;
  color: #174372;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.95rem);
  line-height: 1.2;
}

.page-help .help-group-header p {
  margin: 0.45rem 0 0;
  color: #2f4f73;
  font-size: 0.95rem;
}

.page-help .help-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.2rem 1rem 0.15rem;
  box-shadow: none;
}

.page-help .help-section > :first-child {
  margin-top: 0;
}

.page-help .help-section + .help-section {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(22, 57, 98, 0.15);
}

.page-help .help-section h3 {
  color: var(--primary-blue);
font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.7rem;
  text-align: left;
}

.page-help .help-section h3::before {
  display: none;
}

.page-help .help-group-header h2,
.page-help .help-group-header p,
.page-help .help-section p,
.page-help .help-section li,
.page-help .help-section .help-subheading,
.page-help .help-tier-card h3 {
  text-align: left;
}

.page-help .help-section .help-subheading {
  color: #1f4a78;
    font-size: 1.1rem;
  line-height: 1.3;
  margin: 0.2rem 0 0.55rem;
}

.page-help .help-section .help-subheading--compact {
  font-size: clamp(0.98rem, 0.95rem + 0.15vw, 1.06rem);
}

.page-help .help-section .help-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 74, 120, 0), rgba(31, 74, 120, 0.35), rgba(31, 74, 120, 0));
  margin: 1.05rem 0 0.95rem;
}

.page-help .help-section p,
.page-help .help-section li {
  line-height: 1.6;
}

.page-help .help-section ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.page-help .help-section ol {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.page-help .help-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  margin-right: 0.45rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f4a78, #2f6faa);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  box-shadow: 0 6px 14px rgba(31, 74, 120, 0.28);
}

.page-help .help-section .btn {
  margin-top: 0.3rem;
}

.page-help .help-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0.8rem 0 1rem;
}

.page-help .help-tier-card {
  background: #f7fbff;
  border: 1px solid rgba(22, 57, 98, 0.12);
  border-radius: 10px;
  padding: 0.85rem 0.8rem;
}

.page-help .help-tier-card h3 {
  margin-bottom: 0.45rem;
  color: #1f4a78;
  font-size: 1rem;
}

.page-help .help-tier-card ul {
  margin: 0;
  padding-left: 1rem;
}

.page-help .help-faq-item {
  background: #f4f8fd;
  border: 1px solid rgba(22, 57, 98, 0.18);
  color: #1d3558;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 44, 77, 0.08);
  overflow: hidden;
  align-self: start;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.page-help .help-faq-item + .help-faq-item {
  margin-top: 0.6rem;
}

.page-help .help-faq-item:hover {
  box-shadow: 0 10px 22px rgba(18, 44, 77, 0.12);
  border-color: rgba(22, 57, 98, 0.28);
}

.page-help .help-faq-item[open] {
  transform: translateY(-1px);
}

.page-help .help-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 2.3rem 0.95rem 1rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  position: relative;
  color: #173f66;
}

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

.page-help .help-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f4a78;
  transition: transform 0.2s ease;
}

.page-help .help-faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.page-help .help-faq-item summary strong {
  font-weight: inherit;
}

.page-help .help-faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2a466a;
  text-align: left;
}

@media (max-width: 900px) {
  .page-help .help-layout {
    grid-template-columns: 1fr;
  }

  .page-help .help-sidebar {
    position: static;
  }

  .page-help .help-tier-grid {
    grid-template-columns: 1fr;
  }

  .page-help .help-group {
    padding: 0.8rem;
  }
}

@media (max-width: 768px) {
  .install-section {
    margin: 2rem 1rem;
    padding: 2rem 1.25rem;
  }

  .app-ohje {
    max-width: 100%;
  }
}

/************************
 * PAIVAKODIT
 ************************/
.page-paivakodit {
  background: linear-gradient(180deg, #eef3f8 0%, #e3ebf4 100%);
  color: #1e2f45;
}

.paivakodit-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.paivakodit-narrow {
  max-width: 880px;
}

.paivakodit-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(
    145deg,
    rgba(36, 61, 102, 0.97) 0%,
    rgba(26, 88, 116, 0.95) 100%
  );
  color: #fff;
  text-align: center;
}

.paivakodit-kicker {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.paivakodit-hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.paivakodit-lead {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  line-height: 1.7;
  opacity: 0.95;
}

.paivakodit-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 auto 1.4rem;
  justify-content: center;
}

.paivakodit-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.paivakodit-cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.paivakodit-section {
  padding: 4rem 0;
}

.paivakodit-section-intro {
  padding-bottom: 1rem;
}

.paivakodit-section-soft {
  background: rgba(255, 255, 255, 0.3);
}

.paivakodit-section h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  color: #213a62;
  text-align: center;
}

.paivakodit-section h3 {
  margin: 1.2rem 0 0.6rem;
  color: #1f4f64;
}

.paivakodit-section p {
  line-height: 1.75;
  margin: 0 0 1rem;
  text-align: left;
}

.paivakodit-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.paivakodit-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(33, 58, 98, 0.12);
  border-radius: 14px;
  padding: 1.2rem 1rem 1.1rem;
  box-shadow: 0 10px 20px rgba(12, 30, 54, 0.08);
  text-align: left;
}

.paivakodit-card h3 {
  margin-top: 0.6rem;
}

.paivakodit-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.paivakodit-offer-card {
  padding: 1.25rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(33, 58, 98, 0.1);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(12, 30, 54, 0.06);
  text-align: left;
}

.paivakodit-offer-card h3 {
  margin-top: 0;
}

.paivakodit-icon {
  width: 30px;
  height: 30px;
  display: block;
  padding: 0.36rem;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    var(--kerho-color-start),
    var(--kerho-color-mid)
  );
}

.paivakodit-card ul,
.paivakodit-list {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.7;
  text-align: left;
}

.paivakodit-list-tight {
  margin-top: 1rem;
}

.paivakodit-section-alt {
  background: rgba(255, 255, 255, 0.46);
}

.paivakodit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 0;
}

.paivakodit-step {
  position: relative;
  padding: 1.2rem 1rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(33, 58, 98, 0.1);
  box-shadow: 0 10px 20px rgba(12, 30, 54, 0.06);
  text-align: left;
}

.paivakodit-step h3 {
  margin-top: 0.5rem;
}

.paivakodit-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kerho-color-start), var(--kerho-color-mid));
  color: #fff;
  font-weight: 700;
}

.paivakodit-pricing {
  background: linear-gradient(
    145deg,
    rgba(36, 61, 102, 0.08),
    rgba(26, 88, 116, 0.08)
  );
}

.paivakodit-price-card {
  background: #fff;
  border: 1px solid rgba(33, 58, 98, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(14, 34, 58, 0.1);
  padding: 1.4rem 1.2rem;
  text-align: left;
}

.paivakodit-price {
  margin: 0.2rem 0 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f4f64;
}

.paivakodit-price-note {
  margin: 0 0 0.85rem;
  color: #37506f;
  font-weight: 600;
}

.paivakodit-faq {
  display: grid;
  gap: 0.9rem;
}

.paivakodit-faq-item {
  border-radius: 14px;
  border: 1px solid rgba(161, 211, 255, 0.22);
  background: rgba(25, 54, 88, 0.88);
  box-shadow: 0 10px 22px rgba(4, 12, 24, 0.2);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.paivakodit-faq-item:hover {
  box-shadow: 0 12px 26px rgba(4, 12, 24, 0.28);
}

.paivakodit-faq-item[open] {
  transform: translateY(-1px);
}

.paivakodit-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 2.3rem 0.95rem 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #eef6ff;
  position: relative;
}

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

.paivakodit-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.92;
  transition: transform 0.2s ease;
}

.paivakodit-faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.paivakodit-faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: rgba(233, 243, 255, 0.95);
  line-height: 1.55;
  animation: faqReveal 0.2s ease;
}

.paivakodit-contact {
  padding: 4.3rem 0;
  background: linear-gradient(
    145deg,
    rgba(36, 61, 102, 0.97),
    rgba(26, 88, 116, 0.95)
  );
  color: #fff;
  text-align: center;
}

.paivakodit-contact h2 {
  color: #fff;
}

.paivakodit-contact-list {
  margin: 0 0 1.2rem;
  padding-left: 1rem;
  line-height: 1.8;
  text-align: left;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.paivakodit-contact-form {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.paivakodit-contact-form p {
  margin-bottom: 0.85rem;
}

.page-paivakodit .paivakodit-contact .support-form label {
  color: #fff;
}

.page-paivakodit .paivakodit-contact .support-form input:not(.wpcf7-submit),
.page-paivakodit .paivakodit-contact .support-form textarea,
.page-paivakodit .paivakodit-contact .support-form select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.page-paivakodit .paivakodit-contact .support-form input:not(.wpcf7-submit)::placeholder,
.page-paivakodit .paivakodit-contact .support-form textarea::placeholder,
.page-paivakodit .paivakodit-contact .support-form select::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.page-paivakodit .paivakodit-contact .support-form input:not(.wpcf7-submit):focus,
.page-paivakodit .paivakodit-contact .support-form textarea:focus,
.page-paivakodit .paivakodit-contact .support-form select:focus {
  border-color: rgba(143, 210, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(143, 210, 255, 0.14);
  outline: none;
}

.page-paivakodit .paivakodit-contact .support-form .wpcf7-response-output,
.page-paivakodit .paivakodit-contact .support-form .wpcf7-not-valid-tip,
.page-paivakodit .paivakodit-contact .support-form .screen-reader-response,
.page-paivakodit .paivakodit-contact .support-form .screen-reader-response p,
.page-paivakodit .paivakodit-contact .support-form .screen-reader-response li {
  color: #fff;
}

.paivakodit-cta-row-secondary {
  margin-top: 1rem;
}

.paivakodit-contact-meta {
  margin-top: 1rem;
  text-align: center;
}

.paivakodit-contact-meta a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .paivakodit-card-grid,
  .paivakodit-offer-grid,
  .paivakodit-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .paivakodit-hero {
    padding: 4rem 0 3rem;
  }

  .paivakodit-section,
  .paivakodit-contact {
    padding: 3rem 0;
  }
}

/************************
 * LAHJATILAUS WIP
 ************************/
.page-gift-wip {
  background: linear-gradient(180deg, #eef3f8 0%, #e3ebf4 100%);
  color: #1e2f45;
}

.gift-wip-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.gift-wip-narrow {
  max-width: 860px;
}

.gift-wip-hero {
  padding: 5rem 0 3.6rem;
  background: linear-gradient(
    145deg,
    rgba(36, 61, 102, 0.97) 0%,
    rgba(26, 88, 116, 0.95) 100%
  );
  color: #fff;
}

.gift-wip-kicker {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gift-wip-hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.gift-wip-lead {
  max-width: 760px;
  margin: 0 0 1.4rem;
  line-height: 1.7;
  opacity: 0.95;
}

.gift-wip-cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.gift-wip-section {
  padding: 3.6rem 0;
}

.gift-wip-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  color: #213a62;
}

.gift-wip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gift-wip-card {
  background: #fff;
  border: 1px solid rgba(33, 58, 98, 0.14);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(12, 30, 54, 0.08);
  padding: 1.1rem 1rem;
}

.gift-wip-price {
  margin: 0.25rem 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f4f64;
}

.gift-wip-note {
  background: rgba(255, 255, 255, 0.46);
}

.gift-wip-list {
  margin: 0 0 1rem;
  padding-left: 1rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .gift-wip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gift-wip-hero {
    padding: 4rem 0 3rem;
  }

  .gift-wip-section {
    padding: 3rem 0;
  }
}

/************************
 * LEGAL
 ************************/
.page-legal {
  background: linear-gradient(180deg, #eef3f8 0%, #e3ebf4 100%);
  color: #1e2f45;
}

.legal-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.legal-narrow {
  max-width: 840px;
}

.legal-hero {
  padding: 4.5rem 0 3.2rem;
  background: linear-gradient(
    145deg,
    rgba(36, 61, 102, 0.97) 0%,
    rgba(26, 88, 116, 0.95) 100%
  );
  color: #fff;
}

.legal-hero .legal-inner {
  text-align: center;
}

.legal-kicker {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.legal-lead {
  max-width: 720px;
  margin: 0 auto 0.8rem;
  line-height: 1.7;
}

.legal-updated {
  font-size: 0.9rem;
  opacity: 0.9;
}

.legal-section {
  padding: 3.5rem 0;
}

.legal-section .legal-inner {
  text-align: left;
}

.legal-section h2 {
  margin: 1.2rem 0 0.6rem;
  color: #213a62;
}

.legal-section p {
  line-height: 1.75;
}

.legal-list {
  margin: 0.4rem 0 1rem;
  list-style: none;
  padding-left: 0.15rem;
  line-height: 1.7;
}

.legal-list li {
  position: relative;
  padding-left: 0.78rem;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}


/* Privacy page in dark cinematic style (aligned with Tue toimintaa mood) */
.page-tietosuojaseloste .page-legal,
.page-tietosuoja .page-legal,
.page-legal.page-legal-privacy {
  background: linear-gradient(180deg, #090d14 0%, #0d1118 40%, #0a0f16 100%);
  color: #e7edf7;
}

.page-tietosuojaseloste .legal-hero,
.page-tietosuoja .legal-hero,
.page-legal.page-legal-privacy .legal-hero {
  background: transparent;
  border-bottom: 1px solid rgba(174, 194, 229, 0.14);
  padding: 4rem 0 2.4rem;
}

.page-tietosuojaseloste .legal-kicker,
.page-tietosuoja .legal-kicker,
.page-legal.page-legal-privacy .legal-kicker {
  color: #dfe9f8;
  border-color: rgba(198, 216, 242, 0.35);
}

.page-tietosuojaseloste .legal-hero h1,
.page-tietosuoja .legal-hero h1,
.page-legal.page-legal-privacy .legal-hero h1 {
  color: #f3f6fb;
}

.page-tietosuojaseloste .legal-lead,
.page-tietosuoja .legal-lead,
.page-legal.page-legal-privacy .legal-lead {
  color: rgba(231, 237, 247, 0.92);
}

.page-tietosuojaseloste .legal-updated,
.page-tietosuoja .legal-updated,
.page-legal.page-legal-privacy .legal-updated {
  color: rgba(231, 237, 247, 0.7);
}

.page-tietosuojaseloste .legal-section,
.page-tietosuoja .legal-section,
.page-legal.page-legal-privacy .legal-section {
  padding: 2.4rem 0 3.8rem;
}

.page-tietosuojaseloste .legal-section .legal-inner,
.page-tietosuoja .legal-section .legal-inner,
.page-legal.page-legal-privacy .legal-section .legal-inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  padding-top: 1.4rem;
  padding-bottom: 1.45rem;
}

.page-tietosuojaseloste .legal-section h2,
.page-tietosuoja .legal-section h2,
.page-legal.page-legal-privacy .legal-section h2 {
  color: #f3f6fb;
}

.page-tietosuojaseloste .legal-section p,
.page-tietosuojaseloste .legal-section li,
.page-tietosuoja .legal-section p,
.page-tietosuoja .legal-section li,
.page-legal.page-legal-privacy .legal-section p,
.page-legal.page-legal-privacy .legal-section li {
  color: rgba(231, 237, 247, 0.93);
}

.page-tietosuojaseloste .legal-section a,
.page-tietosuoja .legal-section a,
.page-legal.page-legal-privacy .legal-section a {
  color: #8fd2ff;
}

.page-tietosuojaseloste .legal-section a:hover,
.page-tietosuoja .legal-section a:hover,
.page-legal.page-legal-privacy .legal-section a:hover {
  color: #b7e6ff;
}

.page-tietosuojaseloste .footer-bottom,
.page-tietosuoja .footer-bottom,
.page-legal.page-legal-privacy ~ footer .footer-bottom {
  border-top-color: rgba(163, 194, 232, 0.1);
  background: linear-gradient(
    180deg,
    rgba(4, 10, 20, 0) 0%,
    rgba(4, 10, 20, 0.52) 100%
  );
}

/************************
 * SUPPORT
 ************************/
.page-support {
  background: linear-gradient(180deg, #eef3f8 0%, #e3ebf4 100%);
  color: #1e2f45;
}

.support-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.support-narrow {
  max-width: 760px;
}

.support-hero {
  padding: 4.5rem 0 3.2rem;
  background: linear-gradient(
    145deg,
    rgba(36, 61, 102, 0.97) 0%,
    rgba(26, 88, 116, 0.95) 100%
  );
  color: #fff;
}

.support-kicker {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.support-lead {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.support-section {
  padding: 3.5rem 0;
}

.support-state {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
}

.support-state-success {
  border: 1px solid rgba(46, 125, 50, 0.35);
}

.support-state-warning {
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.support-state-error {
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.support-form {
  background: #fff;
  border: 1px solid rgba(33, 58, 98, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(12, 30, 54, 0.08);
  padding: 1.2rem;
}

.support-form label {
  display: block;
  font-weight: 600;
  margin: 0.8rem 0 0.3rem;
}

.support-form input,
.support-form textarea,
.support-form select {
  width: 100%;
  border: 1px solid rgba(33, 58, 98, 0.2);
  border-radius: 8px;
  padding: 0.62rem 0.7rem;
  box-sizing: border-box;
  font: inherit;
  text-align: center;
}

.support-form button {
  margin-top: 1rem;
}

.support-form .cf-turnstile {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0.95rem auto 0;
  overflow: hidden;
}

.support-form .cf-turnstile > div {
  width: 300px !important;
  max-width: 300px;
  margin: 0 auto;
}

.support-form .cf-turnstile iframe {
  width: 300px !important;
  max-width: none !important;
  margin: 0 auto;
}

/* Make readonly fields (e.g. user email in support form) look clearly locked */
.support-form input[readonly],
.support-form textarea[readonly] {
  background: #eef2f7;
  border-color: rgba(33, 58, 98, 0.28);
  color: #42556f;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  text-align: center;
}

/* Support / Tue toimintaa - cinematic */
.page-tue-toimintaa #custom-landing-modal,
.page-tue-tuotantoa #custom-landing-modal {
  display: none !important;
}

.page-tue-toimintaa .site-header,
.page-tue-tuotantoa .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: transform 0.28s ease;
}

.page-tue-toimintaa.support-header-hidden .site-header,
.page-tue-tuotantoa.support-header-hidden .site-header {
  transform: translateY(-100%);
}

.page-support-cinema {
  background: linear-gradient(180deg, #090d14 0%, #0d1118 40%, #0a0f16 100%);
  color: #e7edf7;
}

.support-cinema-hero {
  padding: clamp(14px, 2.2vw, 30px) 0 0;
}

.support-cinema-video-wrap {
  width: 100%;
  background: #06090f;
  display: flex;
  justify-content: center;
}

.support-cinema-video-shell {
  width: min(100% - 2rem, 1120px);
  background: #0a0f16;
  border-radius: 16px;
  overflow: hidden;
}

.support-cinema-vimeo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.support-cinema-vimeo iframe,
.support-cinema-vimeo img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

.support-cinema-content {
  padding: 84px 0 94px;
}

.support-cinema-layout {
    width: min(100% - 2rem, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 5fr;
    align-items: flex-start;
    gap: clamp(22px, 3vw, 44px);
}



.support-cinema-layout--single {
  width: min(100% - 2rem, 740px);
  grid-template-columns: 1fr;
}

.support-cinema-portrait-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #06090f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  margin-top: 2.6rem;
}

.support-cinema-portrait-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.support-cinema-inner {
  width: 100%;
  margin: 0;
  text-align: left;
}

.support-cinema-inner h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.95rem, 1.6rem + 1.15vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #f3f6fb;
}

.support-cinema-inner h2 {
  margin: 2.6rem 0 1rem;
  font-size: clamp(1.3rem, 1.1rem + 0.65vw, 1.75rem);
  color: #eff5ff;
}

.support-cinema-inner .support-cinema-section-title {
  margin: 2.1rem 0 0.8rem;
  font-size: clamp(1.12rem, 1.02rem + 0.38vw, 1.36rem);
  line-height: 1.25;
}

.support-cinema-inner h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: #f3f6fb;
}

.support-cinema-inner p {
  margin: 0 0 1.05rem;
  line-height: 1.85;
  color: rgba(231, 237, 247, 0.93);
}

.support-cinema-block {
  margin: 1rem 0 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(174, 194, 229, 0.16);
}

.support-cinema-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.support-cinema-block .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 240px;
}

.support-cinema-note {
  margin-top: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(174, 194, 229, 0.16);
  color: rgba(231, 237, 247, 0.88);
}

.support-cinema-actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.support-cinema-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
}

.support-cinema-btn-primary {
  background: linear-gradient(
    135deg,
    rgba(43, 179, 192, 0.9),
    rgba(28, 118, 130, 0.9)
  );
  color: #f5fbff;
  box-shadow: 0 8px 20px rgba(20, 35, 56, 0.34);
}

.support-cinema-btn-secondary {
  background: linear-gradient(135deg, #2a3d58, #1f2e45);
  color: #e8eef9;
  box-shadow: 0 8px 20px rgba(8, 14, 26, 0.35);
}

.support-cinema-btn-secondary:hover {
  background: linear-gradient(135deg, #344c6e, #253853);
  color: #fff;
}

.support-cinema-btn-bmc {
  background: linear-gradient(135deg, #ffdd00, #f7c600);
  color: #1f2937 !important;
  box-shadow: 0 8px 20px rgba(35, 31, 14, 0.28);
}

.support-cinema-btn-bmc:hover {
  background: linear-gradient(135deg, #ffe54d, #ffd200);
  color: #111827 !important;
}

.support-cinema-bmc-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 0.75;
}

.support-cinema-bmc-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html.js .support-cinema-animate {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    filter 0.95s ease,
    transform 0.85s ease;
}

html.js .support-cinema-animate.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .support-cinema-animate,
  html.js .support-cinema-animate.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

.page-tue-toimintaa .footer-bottom,
.page-tue-tuotantoa .footer-bottom {
  border-top-color: rgba(163, 194, 232, 0.1);
  background: linear-gradient(180deg, rgba(4, 10, 20, 0) 0%, rgba(4, 10, 20, 0.52) 100%);
}

@media (max-width: 768px) {
  .support-cinema-content {
    padding: 42px 0 72px;
  }

  .support-cinema-hero {
    padding-top: 1rem;
  }

  .support-cinema-layout,
  .support-cinema-layout--single {
    width: min(100% - 2rem, 1120px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .support-cinema-portrait-wrap {
    border-radius: 14px;
  }

  .support-cinema-inner {
    width: 100%;
    padding-inline: 0.2rem;
  }

  .support-cinema-block .btn {
    width: 100%;
    min-width: 0;
  }
}

/************************
 * OTA YHTEYTTA
 ************************/
.page-ota-yhteytta .feature-section.feature-contact {
  min-height: clamp(420px, 56vh, 620px);
  display: flex;
  align-items: center;
}

.page-ota-yhteytta .feature-section.feature-contact .feature-background {
  background-image: none;
  background: none;
}

.page-ota-yhteytta .feature-section.feature-contact .feature-overlay {
  background: linear-gradient(
    145deg,
    rgba(33, 50, 84, 0.96) 0%,
    rgba(36, 72, 104, 0.96) 48%,
    rgba(30, 84, 103, 0.96) 100%
  );
}

.page-ota-yhteytta .feature-section.feature-contact .feature-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  gap: 1rem;
  text-align: center;
  max-width: 820px;
}

.page-ota-yhteytta .feature-section.feature-contact h1 {
  margin: 0;
  color: #fff;
}

.page-ota-yhteytta .feature-section.feature-contact .feature-description {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
}

.page-ota-yhteytta .feature-section.feature-contact .feature-buttons {
  margin-top: 0.4rem;
  justify-content: center;
}

.page-ota-yhteytta .contact-form-wrap {
  width: 100%;
  max-width: 680px;
  margin-top: 0.75rem;
}

.page-ota-yhteytta .contact-form-toggle {
  min-width: 220px;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.page-ota-yhteytta .support-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.page-ota-yhteytta .support-form p {
  margin: 0 0 0.9rem;
}

.page-ota-yhteytta .support-form label {
  color: #fff;
  text-align: left;
}

.page-ota-yhteytta .support-form input:not(.wpcf7-submit),
.page-ota-yhteytta .support-form textarea,
.page-ota-yhteytta .support-form select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  text-align: left;
}

.page-ota-yhteytta .support-form input:not(.wpcf7-submit)::placeholder,
.page-ota-yhteytta .support-form textarea::placeholder,
.page-ota-yhteytta .support-form select::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.page-ota-yhteytta .support-form input:not(.wpcf7-submit):focus,
.page-ota-yhteytta .support-form textarea:focus,
.page-ota-yhteytta .support-form select:focus {
  border-color: rgba(255, 255, 255, 0.52);
  outline: none;
  box-shadow: 0 0 0 3px rgba(111, 227, 193, 0.14);
}

.page-ota-yhteytta .support-form .wpcf7-response-output,
.page-ota-yhteytta .support-form .wpcf7-not-valid-tip,
.page-ota-yhteytta .support-form .screen-reader-response,
.page-ota-yhteytta .support-form .screen-reader-response p,
.page-ota-yhteytta .support-form .screen-reader-response li {
  color: #fff;
}

.page-ota-yhteytta .support-form .wpcf7 form.invalid .wpcf7-response-output,
.page-ota-yhteytta .support-form .wpcf7 form.unaccepted .wpcf7-response-output,
.page-ota-yhteytta .support-form .wpcf7 form.payment-required .wpcf7-response-output,
.page-ota-yhteytta .support-form .wpcf7-response-output {
  margin: 0.85rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ff9e9e;
  font-weight: 600;
  text-align: left;
}

.page-ota-yhteytta .support-form .wpcf7-not-valid {
  border-color: rgba(255, 143, 143, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.16);
  background: rgba(122, 24, 24, 0.08);
}

.page-ota-yhteytta .support-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.35rem;
  padding: 0;
  background: transparent;
  border: 0;
  color: #ff9e9e;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.page-ota-yhteytta .support-form .cf-turnstile {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0.95rem auto 0;
  overflow: hidden;
}

.page-ota-yhteytta .support-form .cf-turnstile > div {
  width: 300px !important;
  max-width: 300px;
  margin: 0 auto;
}

.page-ota-yhteytta .support-form .cf-turnstile iframe {
  width: 300px !important;
  max-width: none !important;
  margin: 0 auto;
}

@media (max-width: 380px) {
  .page-ota-yhteytta .contact-form-wrap {
    padding-inline: 10px;
    box-sizing: border-box;
  }

  .page-ota-yhteytta .support-form .cf-turnstile > div,
  .page-ota-yhteytta .support-form .cf-turnstile iframe {
    transform: scale(0.92);
    transform-origin: center top;
  }
}

@media (max-width: 340px) {
  .page-ota-yhteytta .contact-form-wrap {
    padding-inline: 6px;
  }

  .page-ota-yhteytta .support-form .cf-turnstile > div,
  .page-ota-yhteytta .support-form .cf-turnstile iframe {
    transform: scale(0.86);
  }
}

/************************
 * TIETOA BOMBOSTA
 ************************/
.page-tietoa .feature-section {
  min-height: 0;
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.page-tietoa .feature-content {
  min-height: 0;
  gap: clamp(16px, 2vw, 24px);
}

.page-tietoa .feature-tietoa-hero .feature-overlay,
.page-tietoa .feature-tietoa-steps .feature-overlay,
.page-tietoa .feature-tietoa-membership .feature-overlay {
  background: linear-gradient(
    145deg,
    rgba(19, 40, 66, 0.76) 0%,
    rgba(15, 53, 83, 0.7) 55%,
    rgba(11, 69, 88, 0.66) 100%
  );
}

.page-tietoa .feature-tietoa-cta {
  min-height: 900px;
}

.page-tietoa .feature-tietoa-cta .feature-overlay {
  background: rgba(0, 0, 0, 0.68);
}

.page-tietoa .feature-tietoa-pillars .feature-overlay,
.page-tietoa .feature-tietoa-faq .feature-overlay,
.page-tietoa .feature-tietoa-anchor-links .feature-overlay {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(246, 251, 255, 0.9) 55%,
    rgba(237, 246, 252, 0.9) 100%
  );
}

.page-tietoa .feature-kicker {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 241, 255, 0.88);
}

.page-tietoa .feature-tietoa-hero .feature-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 860px;
}

.page-tietoa .feature-tietoa-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: #fff;
}

.page-tietoa .feature-tietoa-hero .feature-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

.page-tietoa .feature-tietoa-hero .feature-buttons {
  justify-content: center;
}

.page-tietoa .feature-buttons .btn {
  border: 1px solid transparent;
  box-shadow: 0 10px 20px rgba(6, 22, 37, 0.16);
}

.page-tietoa .feature-buttons .btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.page-tietoa .feature-tietoa-hero .feature-buttons .btn-base,
.page-tietoa .feature-tietoa-steps .feature-buttons .btn-base,
.page-tietoa .feature-tietoa-membership .feature-buttons .btn-base,
.page-tietoa .feature-tietoa-cta .feature-buttons .btn-base {
  background: linear-gradient(135deg, #46aee0, #2e7dc2);
  color: #fff;
  border-color: rgba(224, 242, 255, 0.44);
}

.page-tietoa .feature-tietoa-hero .feature-buttons .btn-base:hover,
.page-tietoa .feature-tietoa-steps .feature-buttons .btn-base:hover,
.page-tietoa .feature-tietoa-membership .feature-buttons .btn-base:hover,
.page-tietoa .feature-tietoa-cta .feature-buttons .btn-base:hover {
  background: linear-gradient(135deg, #55baea, #357fc0);
  color: #fff;
}

.page-tietoa .feature-tietoa-pillars .feature-buttons .btn-base,
.page-tietoa .feature-tietoa-faq .feature-buttons .btn-base,
.page-tietoa .feature-tietoa-anchor-links .feature-buttons .btn-base {
  background: linear-gradient(135deg, #1e5e96, #174a77);
  color: #fff;
  border-color: rgba(16, 56, 90, 0.36);
}

.page-tietoa .feature-tietoa-pillars .feature-buttons .btn-base:hover,
.page-tietoa .feature-tietoa-faq .feature-buttons .btn-base:hover,
.page-tietoa .feature-tietoa-anchor-links .feature-buttons .btn-base:hover {
  background: linear-gradient(135deg, #2368a4, #1a5487);
  color: #fff;
}

.page-tietoa .feature-tietoa-hero .feature-buttons .btn-kerho,
.page-tietoa .feature-tietoa-steps .feature-buttons .btn-kerho,
.page-tietoa .feature-tietoa-membership .feature-buttons .btn-kerho,
.page-tietoa .feature-tietoa-cta .feature-buttons .btn-kerho {
  border-color: rgba(197, 244, 247, 0.45);
}

.page-tietoa .feature-tietoa-faq .feature-buttons .btn-kerho,
.page-tietoa .feature-tietoa-pillars .feature-buttons .btn-kerho,
.page-tietoa .feature-tietoa-anchor-links .feature-buttons .btn-kerho {
  border-color: rgba(22, 77, 101, 0.26);
}

.page-tietoa .tietoa-trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-tietoa .tietoa-trust-list li {
  border: 1px solid rgba(190, 214, 240, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #f3f8ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.92rem;
}

.page-tietoa .tietoa-section-intro {
  min-height: 0;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.page-tietoa .tietoa-section-intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
}

.page-tietoa .tietoa-pillars-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
}

.page-tietoa .tietoa-pillars-icons img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.page-tietoa .tietoa-section-intro .feature-description {
  margin: 0;
}

.page-tietoa .feature-tietoa-pillars .feature-content,
.page-tietoa .feature-tietoa-steps .feature-content,
.page-tietoa .feature-tietoa-faq .feature-content {
  flex-direction: column;
}

.page-tietoa .tietoa-pillars-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 1140px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-tietoa .tietoa-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(27, 61, 93, 0.14);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: 0 10px 22px rgba(26, 45, 67, 0.08);
}

.page-tietoa .tietoa-card h3 {
  margin: 0 0 8px;
  color: #1f3349;
  font-size: 1.14rem;
}

.page-tietoa .tietoa-card p {
  margin: 0;
  color: #334e69;
  line-height: 1.55;
}

.page-tietoa .tietoa-steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 1140px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: tietoa-steps;
}

.page-tietoa .tietoa-steps-list li {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(181, 210, 238, 0.36);
    border-radius: 16px;
    padding: 16px 18px 14px;
    color: #f6faff;
    position: relative;
    width: 100%;
}

.page-tietoa .tietoa-steps-list li::before {
  counter-increment: tietoa-steps;
  content: counter(tietoa-steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(245, 250, 255, 0.95);
  color: #214264;
  font-weight: 700;
}

.page-tietoa .tietoa-steps-list h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 1.1rem;
}

.page-tietoa .tietoa-steps-list p {
  margin: 0;
  color: rgba(244, 250, 255, 0.92);
}

.page-tietoa .tietoa-steps-list a {
  color: #8fd2ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-tietoa .tietoa-steps-list a:hover {
  color: #bfe8ff;
}

.page-tietoa .feature-tietoa-steps .feature-buttons {
  justify-content: center;
}

.page-tietoa .feature-tietoa-membership .feature-content {
  flex-direction: column;
  text-align: center;
  max-width: 980px;
}

.page-tietoa .feature-tietoa-membership .feature-description {
  margin: 0;
  color: rgba(250, 252, 255, 0.92);
  max-width: 760px;
}

.page-tietoa .tietoa-membership-grid {
  width: 100%;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-tietoa .tietoa-tier {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(188, 219, 245, 0.34);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.page-tietoa .tietoa-tier h3 {
  margin: 0;
  color: #fff;
}

.page-tietoa .tietoa-tier p {
  margin: 0;
  color: rgba(243, 249, 255, 0.92);
}

.page-tietoa .tietoa-faq-list {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.page-tietoa .tietoa-faq-list details {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(24, 57, 89, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
}

.page-tietoa .tietoa-faq-list summary {
  font-weight: 700;
  color: #20384f;
  cursor: pointer;
}

.page-tietoa .tietoa-faq-list p {
  margin: 10px 0 0;
  color: #2e4b67;
}

.page-tietoa .feature-tietoa-faq .feature-buttons,
.page-tietoa .feature-tietoa-cta .feature-buttons {
  justify-content: center;
}

.page-tietoa .feature-tietoa-anchor-links .feature-content {
  flex-direction: column;
  text-align: center;
}

.page-tietoa .feature-tietoa-anchor-links .feature-left {
  min-height: 0;
  max-width: 740px;
  margin: 0 auto;
}

.front-conversion-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.front-conversion-trust li {
  background: rgba(20, 90, 140, 0.08);
  color: #27445f;
  font-size: 0.84rem;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 90, 140, 0.15);
}

.page-tietoa .feature-tietoa-anchor-links .front-conversion-trust {
  justify-content: center;
}

.page-tietoa .feature-tietoa-anchor-links .front-conversion-trust a {
  color: #143d63;
  text-decoration: none;
  font-weight: 700;
}

.page-tietoa .feature-tietoa-anchor-links .front-conversion-trust a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .front-conversion-trust {
    gap: 10px;
  }

  .page-tietoa .feature-content {
    text-align: center;
  }

  .page-tietoa .tietoa-pillars-grid,
  .page-tietoa .tietoa-membership-grid,
  .page-tietoa .tietoa-steps-list {
    grid-template-columns: 1fr;
  }
}

/* 404 */
.page-404-content {
  max-width: 1200px;
  text-align: center;
  padding: 50px;
}

.page-404-main-icon {
  height: 120px;
  width: auto;
}

.page-404-buttons {
  transform: scale(0.9);
  transform-origin: top center;
}

.page-404-home-link-wrap {
  margin-top: 0.8rem;
}

.page-404-home-link {
  font-size: 18px;
  color: #0073aa;
  text-decoration: none;
}

.page-404-home-link:hover {
  color: #005f8a;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-hero,
  .support-hero {
    padding: 4rem 0 3rem;
  }

  .legal-section,
  .support-section {
    padding: 3rem 0;
  }

  .page-404-content {
    padding: 2rem 1rem 2.5rem;
  }

  .page-404-buttons {
    transform: none;
  }

  .page-tietosuojaseloste .legal-hero,
  .page-tietosuoja .legal-hero,
  .page-legal.page-legal-privacy .legal-hero {
    padding: 3.2rem 0 1.35rem;
  }

  .page-tietosuojaseloste .legal-section,
  .page-tietosuoja .legal-section,
  .page-legal.page-legal-privacy .legal-section {
    padding: 1.15rem 0 2.6rem;
  }

  .page-tietosuojaseloste .legal-section .legal-inner,
  .page-tietosuoja .legal-section .legal-inner,
  .page-legal.page-legal-privacy .legal-section .legal-inner {
    padding-top: 1rem;
  }
}

@media (max-width: 560px) {
  .support-form {
    padding-inline: 10px;
    box-sizing: border-box;
  }
}

@media (max-width: 380px) {
  .support-form .cf-turnstile > div,
  .support-form .cf-turnstile iframe {
    transform: scale(0.92);
    transform-origin: center top;
  }
}

@media (max-width: 340px) {
  .support-form {
    padding-inline: 6px;
  }

  .support-form .cf-turnstile > div,
  .support-form .cf-turnstile iframe {
    transform: scale(0.86);
  }
}
