/* NKCompany — /miten-toimii. Miten apuri ja asiakashallinta toimivat, hyödyt osa-alueittain. Vain tämän sivun osat. */
.js .site-header { opacity: 1; }
.hw { background: #fff; }

/* Aloitus */
.hw-hero { padding: clamp(48px, 7vw, 110px) 0 clamp(36px, 5vw, 64px); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.hw-hero__in { max-width: 980px; }
.hw-hero h1 { margin-bottom: 20px; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -.05em; }
.hw-hero .lede { max-width: 40em; margin-bottom: 30px; }
.hw-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.hw-jump a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out); }
.hw-jump a:hover { background: var(--tint); border-color: var(--tint-2); color: var(--blue-d); }

/* Koko polku */
.hw-flow { padding: clamp(44px, 6vw, 84px) 0; border-bottom: 1px solid var(--line); }
.hw-flow h2 { margin-bottom: 24px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }
.hw-flow__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: f; }
.hw-flow__list li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; border-radius: 18px; background: var(--bg-2); counter-increment: f; }
.hw-flow__list li::before { content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 6px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }
.hw-flow__list strong { font-size: 18px; letter-spacing: -.02em; }
.hw-flow__list span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Osiot */
.hw-sec { padding: clamp(56px, 8vw, 112px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.hw-sec:nth-of-type(even) { background: var(--bg-2); }
.hw-sec__head { max-width: 860px; margin-bottom: clamp(28px, 4vw, 48px); }
.hw-sec__n { margin-bottom: 6px; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--dim); }
.hw-sec h2 { margin: 0 0 18px; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -.045em; }
.hw-sec__intro { max-width: 40em; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.hw-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.hw-cols--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-top: clamp(28px, 4vw, 44px); }
.hw-col { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.hw-col--gain { background: var(--tint); border-color: var(--tint-2); }
.hw-col h3 { margin-bottom: 18px; font-size: 20px; letter-spacing: -.02em; }

.hw-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.hw-steps li { position: relative; padding-left: 40px; line-height: 1.55; counter-increment: s; }
.hw-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--tint); color: var(--blue-d); font-size: 13px; font-weight: 700; }
.hw-gains { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hw-gains li { position: relative; padding-left: 34px; font-weight: 550; line-height: 1.5; }
.hw-gains li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); }
.hw-gains li::after { content: ""; position: absolute; left: 8.5px; top: 7.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.hw-note { max-width: 860px; margin: clamp(22px, 3vw, 32px) 0 0; padding: 14px 18px; border-radius: 14px; background: var(--bg-2); color: var(--muted); font-size: 15px; line-height: 1.55; }
.hw-sec:nth-of-type(even) .hw-note { background: #fff; }

/* Kortit: asiakashallinta ja turvallisuus */
.hw-sub { margin-bottom: 18px; font-size: 20px; letter-spacing: -.02em; }
.hw-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hw-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hw-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.hw-card h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: -.02em; }
.hw-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Käyttöönotto */
.hw-start { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hw-start li { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.hw-start__n { display: block; margin-bottom: 10px; color: var(--blue-d); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.hw-start h3 { margin-bottom: 8px; font-size: 18px; }
.hw-start p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

@media (max-width: 980px) {
  .hw-flow__list, .hw-start { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hw-cols, .hw-cards--2, .hw-flow__list, .hw-start { grid-template-columns: minmax(0, 1fr); }
  .hw-sec__intro { font-size: 16.5px; }
  .hw-jump a { padding: 8px 13px; font-size: 14px; }
}
