/* Töihin Klikille, new look. Cards use the site's superellipse corners via kielet.css (.tp-card list below). */
.tp { padding-bottom: clamp(3rem, 6vw, 6rem); }
.tp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin: clamp(1.5rem, 4vw, 4rem) 0 clamp(3rem, 7vw, 7rem); }
.tp-eyebrow { font-size: clamp(1.05rem, 1.6vw, 1.4rem); margin-bottom: .6rem; }
.tp-hero h1 { font-size: clamp(2.6rem, 6.4vw, 6.2rem); line-height: 1; letter-spacing: -.06em; text-wrap: balance; }
.tp-lead { font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.38; max-width: 34ch; margin: 1.2rem 0 1.6rem; }
.tp-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.tp-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.3em; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; }
.tp-cta-2 { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.tp-clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.5vw, 1.2rem); align-items: start; }
.tp-clip { margin: 0; }
.tp-clip:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.tp-clip figcaption { margin-top: .6rem; font-size: .95rem; text-align: center; }
.tp-section { margin-block: clamp(3rem, 7vw, 6.5rem); }
.tp h2 { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.06em; margin-bottom: clamp(1rem, 2.4vw, 2rem); }
.tp-roles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .8rem; }
.tp-roles a { position: relative; display: grid; gap: .35rem; align-content: start; min-height: 11rem; padding: 1.4rem 1.5rem; background: #fff; text-decoration: none; }
.tp-roles li:nth-child(4n+1) a { background: var(--klik-oranssi, #f35c35); }
.tp-roles li:nth-child(4n+2) a { background: var(--klik-pinkki, #f1acbf); }
.tp-roles li:nth-child(4n+3) a { background: var(--klik-vihrea, #a8bc78); }
.tp-roles li:nth-child(4n+4) a { background: var(--ink); color: var(--paper); }
.tp-roles strong { font: 640 clamp(1.6rem, 2.4vw, 2.2rem)/1.02 Fraunces, Georgia, serif; letter-spacing: -.04em; }
.tp-roles small { margin-top: auto; padding-top: 1.2rem; font-size: .92rem; }
.tp-go { position: absolute; right: 1.3rem; top: 1.2rem; font-size: 1.4rem; transition: transform .2s; }
.tp-roles a:hover .tp-go { transform: translateX(4px); }
.tp-stats { background: var(--ink); color: var(--paper); padding: clamp(1.8rem, 5vw, 4.5rem); margin-inline: calc(-1 * var(--edge)); padding-inline: var(--edge); }
.tp-stats ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.tp-stats strong { display: block; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.06em; color: var(--klik-oranssi, #f35c35); }
.tp-stats span { display: block; margin-top: .5rem; max-width: 26ch; }
.tp-note { margin-top: 1.4rem; font-size: .9rem; opacity: .8; max-width: 70ch; }
.tp-gives { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .8rem; }
.tp-gives li { padding: 1.3rem 1.4rem; background: #fff; line-height: 1.4; }
.tp-gives strong { display: block; font: 640 1.35rem/1.1 Fraunces, Georgia, serif; letter-spacing: -.03em; margin-bottom: .4rem; }
.tp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.tp-steps li { padding: 1.4rem; background: var(--klik-pinkki, #f1acbf); }
.tp-steps li:nth-child(2) { background: var(--klik-vihrea, #a8bc78); }
.tp-steps li:nth-child(3) { background: var(--klik-oranssi, #f35c35); }
.tp-steps span { font: 640 1.6rem/1 Fraunces, Georgia, serif; }
.tp-steps h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); margin: .8rem 0 .4rem; letter-spacing: -.03em; font-weight: 500; }
.tp-faq { display: grid; gap: .6rem; max-width: 60rem; }
.tp-faq details { background: #fff; padding: 1.1rem 1.4rem; }
.tp-faq summary { cursor: pointer; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 500; }
.tp-faq p { margin-top: .6rem; line-height: 1.45; max-width: 60ch; }
.tp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.tp-pair > div { padding: clamp(1.4rem, 3vw, 2.6rem); background: var(--ink); color: var(--paper); display: grid; gap: .7rem; align-content: start; }
.tp-pair > div + div { background: var(--klik-oranssi, #f35c35); color: var(--ink); }
.tp-pair h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); margin: 0; }
.tp-pair a { font-weight: 500; }
@media (max-width: 860px) {
  .tp-hero, .tp-pair { grid-template-columns: 1fr; }
  .tp-steps, .tp-stats ul { grid-template-columns: 1fr; }
}
/* Superellipse corners, same mask as the rest of the site */
html.nappi-superellipsi :is(.tp-roles a, .tp-gives li, .tp-steps li, .tp-faq details, .tp-pair > div, .tp-cta) {
  --r: 44px;
  -webkit-mask: url("/etusivu/superellipsi.svg") 0 0 / var(--r) var(--r) no-repeat, url("/etusivu/superellipsi.svg") 100% 0 / var(--r) var(--r) no-repeat, url("/etusivu/superellipsi.svg") 0 100% / var(--r) var(--r) no-repeat, url("/etusivu/superellipsi.svg") 100% 100% / var(--r) var(--r) no-repeat, linear-gradient(#000, #000) 50% 50% / calc(100% - var(--r)) 100% no-repeat, linear-gradient(#000, #000) 50% 50% / 100% calc(100% - var(--r)) no-repeat;
          mask: url("/etusivu/superellipsi.svg") 0 0 / var(--r) var(--r) no-repeat, url("/etusivu/superellipsi.svg") 100% 0 / var(--r) var(--r) no-repeat, url("/etusivu/superellipsi.svg") 0 100% / var(--r) var(--r) no-repeat, url("/etusivu/superellipsi.svg") 100% 100% / var(--r) var(--r) no-repeat, linear-gradient(#000, #000) 50% 50% / calc(100% - var(--r)) 100% no-repeat, linear-gradient(#000, #000) 50% 50% / 100% calc(100% - var(--r)) no-repeat;
}
html.nappi-superellipsi .tp-cta { --r: 1.9em; }
html.nappi-superellipsi .tp-cta-2 { box-shadow: none; background: rgba(32,27,32,.08); }
