/* Lataustarjous.fi – tyylit */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f1d24;
  --ink-2: #33444d;
  --muted: #5d6c74;
  --line: #e2e6e3;
  --line-2: #cfd6d2;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --brand: #0b5c57;
  --brand-600: #0a4f4b;
  --brand-700: #083f3c;
  --brand-50: #e9f3f0;
  --brand-100: #d3e8e2;
  --volt: #ffcf2e;
  --volt-600: #f2bd00;
  --volt-50: #fff7d6;
  --success: #12804a;
  --danger: #b42318;
  --danger-50: #fdecea;
  --night: #0c1f22;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 36, .06), 0 1px 1px rgba(15, 29, 36, .04);
  --shadow: 0 10px 30px -12px rgba(15, 29, 36, .18), 0 2px 6px rgba(15, 29, 36, .05);
  --shadow-lg: 0 30px 60px -20px rgba(15, 29, 36, .28);
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 650; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); letter-spacing: -0.01em; font-weight: 750; }
h4 { font-size: 1.05rem; font-weight: 750; letter-spacing: -0.005em; }
:focus-visible { outline: 3px solid var(--volt-600); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--volt); color: var(--ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 248, 245, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo-text span { color: var(--brand); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2);
  text-decoration: none; font-weight: 550; font-size: .97rem;
}
.main-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.main-nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1040px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--surface);
  padding: 20px 20px 32px; overflow-y: auto; display: none;
}
.mobile-nav.is-open { display: block; animation: fadeIn .18s ease-out; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 20px; }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a.mnav-link {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 4px;
  font-family: var(--font-head); font-weight: 750; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.mobile-nav a.mnav-link small { display: block; font-family: var(--font-body); font-weight: 450; font-size: .9rem; color: var(--muted); }
body.nav-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font: 650 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; transition: transform .12s ease, background .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { --btn-bg: var(--volt); --btn-fg: var(--ink); --btn-bd: var(--volt); box-shadow: 0 6px 18px -8px rgba(242, 189, 0, .9); }
.btn-primary:hover { --btn-bg: var(--volt-600); --btn-bd: var(--volt-600); }
.btn-brand:hover { --btn-bg: var(--brand-600); --btn-bd: var(--brand-600); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn-outline:hover { --btn-bg: var(--surface); --btn-bd: var(--ink-2); }
.btn-ghost-light { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.16); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1.06rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .94rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Generic sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-white { background: var(--surface); }
.section-tint { background: var(--brand-50); }
.section-dark { background: var(--night); color: #dfe8e6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: var(--volt); }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.section-dark .lead { color: #c3d2cf; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 18px;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.volt { background: var(--volt-50); color: #8a6a00; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden; }
@media (min-width: 1000px) { .hero { padding: 64px 0 96px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--brand); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: .95rem; font-weight: 550; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media .photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4;
  background: #c9d3d0;
}
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: .92rem; border: 1px solid var(--line);
}
.float-card strong { display: block; font-size: .98rem; line-height: 1.25; }
.float-card span { color: var(--muted); font-size: .85rem; }
.float-card .fc-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.float-card .fc-icon svg { width: 22px; height: 22px; }
.float-card.fc-1 { left: -18px; bottom: 28px; }
.float-card.fc-2 { right: -14px; top: 26px; }
@media (max-width: 640px) {
  .float-card.fc-1 { left: 10px; bottom: 10px; }
  .float-card.fc-2 { display: none; }
}

/* Kohdevalitsin (hero) */
.segment-picker { display: grid; gap: 12px; margin-bottom: 26px; }
@media (min-width: 560px) { .segment-picker { grid-template-columns: repeat(3, 1fr); } }
.segment-picker .seg-label { font-weight: 650; font-size: .95rem; color: var(--ink-2); margin-bottom: 10px; display: block; }
.seg-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: var(--surface); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
@media (min-width: 560px) { .seg-card { flex-direction: column; align-items: flex-start; padding: 16px; } }
.seg-card:hover { border-color: var(--brand); box-shadow: 0 8px 22px -14px rgba(11, 92, 87, .6); transform: translateY(-2px); color: var(--ink); }
.seg-card .seg-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.seg-card .seg-ico svg { width: 22px; height: 22px; }
.seg-card strong { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; display: block; line-height: 1.2; }
.seg-card small { color: var(--muted); font-size: .84rem; display: block; line-height: 1.35; }
.seg-card .seg-arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }
@media (min-width: 560px) { .seg-card .seg-arrow { display: none; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--volt); font: 800 1.05rem/1 var(--font-head); margin-bottom: 18px;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--ink-2); margin: 0; }

/* ---------- Feature split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.reverse .split-media { order: 2; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #c9d3d0; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.section-dark .check-list svg { color: var(--volt); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; background: var(--volt-50); color: #7a5d00; border: 1px solid #f3dd8a; margin-bottom: 16px;
}
.badge svg { width: 16px; height: 16px; }
.badge.brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }

/* ---------- Price cards ---------- */
.price-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price-card .pc-label { font-weight: 700; color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.price-card .pc-price { font: 800 clamp(1.6rem, 1.3rem + 1vw, 2rem)/1.1 var(--font-head); letter-spacing: -0.02em; margin-bottom: 6px; }
.price-card .pc-unit { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.price-card li { display: flex; gap: 8px; }
.price-card li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.price-card .link-arrow { margin-top: auto; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f1f4f1; font-weight: 700; color: var(--ink-2); font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 700 1.04rem/1.4 var(--font-head); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 22px 20px; color: var(--ink-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--night);
  color: #d7e3e0; padding: 48px 28px; display: grid; gap: 28px; align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 64px 64px; } }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #b9cac6; font-size: 1.08rem; }
.cta-band::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 46, .22), transparent 65%); pointer-events: none;
}
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------- Notice / alert ---------- */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--volt-50); border: 1px solid #f3dd8a; color: #4d3b00; }
.notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: #8a6a00; }
.notice p:last-child { margin: 0; }
.notice.info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.notice.info svg { color: var(--brand); }

/* ---------- Page header ---------- */
.page-hero { padding: 40px 0 56px; }
@media (min-width: 900px) { .page-hero { padding: 64px 0 80px; } }
.page-hero .split-media img { aspect-ratio: 4 / 3; }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line-2); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Article / prose ---------- */
.prose { font-size: 1.06rem; line-height: 1.72; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin: 2em 0 .6em; color: var(--ink); }
.prose h3 { margin: 1.6em 0 .5em; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .table-wrap { margin: 1.4em 0 1.8em; }
.prose .notice { margin: 1.6em 0; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--volt); color: var(--ink); font-weight: 500; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.article-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1080px) { .article-aside .sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: .95rem; }
.toc h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-family: var(--font-body); }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.aside-cta { background: var(--night); color: #cfdcd9; border-radius: var(--radius); padding: 26px; }
.aside-cta h2 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.aside-cta p { font-size: .96rem; }
.key-facts { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 20px 24px; margin: 0 0 32px; }
.key-facts h2 { font-size: 1rem !important; margin: 0 0 10px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--brand) !important; font-family: var(--font-body); }
.key-facts ul { margin: 0; }
.sources { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }
.sources h2 { font-size: 1rem !important; margin: 0 0 10px !important; font-family: var(--font-body); }
.sources ol { padding-left: 1.2em; }
.sources a { word-break: break-word; }

/* Guide cards */
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: #c9d3d0; }
.guide-card .gc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.guide-card .gc-tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin-bottom: 8px; }
.guide-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.guide-card p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.guide-card .link-arrow { margin-top: auto; color: var(--brand); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .field .label { font-weight: 650; font-size: .97rem; color: var(--ink); }
.field .hint { font-size: .88rem; color: var(--muted); margin-top: -4px; }
.req { color: var(--danger); margin-left: 2px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: #fff; color: var(--ink); font: 450 1rem/1.4 var(--font-body); transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333444d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:hover { border-color: #aab6b0; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 92, 87, .14); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 550; display: none; }
.field.has-error .field-error { display: block; }
.field.has-error .input { border-color: var(--danger); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.r-1-2 { grid-template-columns: 1fr 2fr; } }

/* Option tiles (radio cards) */
.options { display: grid; gap: 10px; border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.options legend { font-weight: 650; font-size: 1rem; margin-bottom: 12px; padding: 0; color: var(--ink); }
.options .hint { font-size: .88rem; color: var(--muted); margin: -6px 0 12px; }
@media (min-width: 560px) { .options.cols-2 { grid-template-columns: 1fr 1fr; } .options.cols-3 { grid-template-columns: repeat(3, 1fr); } .options.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .options.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.options legend, .options .hint { grid-column: 1 / -1; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.opt .opt-box {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: #fff; transition: border-color .12s, background .12s, box-shadow .12s;
}
.opt .opt-box svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.opt .opt-box .opt-text { display: grid; gap: 2px; }
.opt .opt-box strong { font-weight: 650; line-height: 1.25; }
.opt .opt-box small { color: var(--muted); font-size: .85rem; line-height: 1.3; }
.opt .opt-box::after {
  content: ''; margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; transition: all .12s;
}
.opt input[type="checkbox"] + .opt-box::after { border-radius: 6px; }
.opt input:hover + .opt-box { border-color: #9fb0a9; }
.opt input:checked + .opt-box { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 1px var(--brand) inset; }
.opt input:checked + .opt-box::after { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--volt-600); outline-offset: 2px; }
.opt.big .opt-box { flex-direction: column; align-items: flex-start; padding: 18px; min-height: 120px; }
.opt.big .opt-box svg { width: 28px; height: 28px; }
.opt.big .opt-box::after { position: absolute; top: 16px; right: 16px; }
.opt.big .opt-box strong { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; }

.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: #f3f5f2; border: 1.5px solid transparent; font-size: .93rem; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex-shrink: 0; cursor: pointer; }
.field.has-error .consent { border-color: var(--danger); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Wizard */
.wizard-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .wizard-wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; } }
.wizard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px 20px; }
@media (min-width: 640px) { .wizard { padding: 36px 40px; } }
.wizard-progress { margin-bottom: 28px; }
.wizard-progress .wp-top { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); margin-bottom: 10px; font-weight: 550; }
.wizard-progress .wp-bar { height: 8px; background: #edf0ed; border-radius: 99px; overflow: hidden; }
.wizard-progress .wp-fill { height: 100%; background: linear-gradient(90deg, var(--brand), #13897f); border-radius: 99px; transition: width .35s ease; width: 10%; }
.wstep { display: none; }
.wstep.is-active { display: block; animation: stepIn .25s ease-out; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.wstep h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin-bottom: 6px; }
.wstep .step-intro { color: var(--muted); margin-bottom: 24px; }
.wizard-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard-nav .btn-back { --btn-bg: transparent; --btn-fg: var(--ink-2); --btn-bd: transparent; padding-left: 8px; padding-right: 12px; }
.wizard-nav .btn-back:hover { --btn-bg: #f1f4f1; }
.wizard-nav .spacer { flex: 1; }
.form-alert { display: none; margin-top: 16px; }
.form-alert.is-visible { display: flex; }
.notice.error { background: var(--danger-50); border-color: #f5c2bc; color: #7a1a12; }
.notice.error svg { color: var(--danger); }
.wizard-side { display: grid; gap: 16px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box h2, .side-box h3 { font-size: 1.05rem; margin-bottom: 12px; }
.side-box .check-list { margin: 0; gap: 10px; font-size: .95rem; }
.side-box .check-list svg { width: 20px; height: 20px; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tools (laskurit) ---------- */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.tool-grid { display: grid; }
@media (min-width: 900px) { .tool-grid { grid-template-columns: 1.1fr 1fr; } }
.tool-inputs { padding: 28px 22px; }
@media (min-width: 640px) { .tool-inputs { padding: 36px 40px; } }
.tool-result { background: var(--night); color: #d4e1de; padding: 28px 22px; display: flex; flex-direction: column; }
@media (min-width: 640px) { .tool-result { padding: 36px 40px; } }
.tool-result h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.result-big { font: 800 clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem)/1.1 var(--font-head); color: #fff; letter-spacing: -0.02em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.result-sub { color: #a9bcb7; font-size: .95rem; margin-bottom: 22px; }
.result-rows { display: grid; gap: 0; margin-bottom: 24px; }
.result-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.result-rows div span:last-child { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tool-result .small { color: #94aaa5; margin-top: auto; padding-top: 12px; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--brand); height: 32px; }
.range-row output { min-width: 64px; text-align: right; font: 800 1.3rem/1 var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.verdict { border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.verdict strong { display: block; color: #fff; font: 800 1.25rem/1.25 var(--font-head); margin-bottom: 6px; }
.verdict.yes { border-color: rgba(255,207,46,.55); background: rgba(255,207,46,.1); }
.verdict.no { border-color: rgba(120, 220, 170, .4); background: rgba(120,220,170,.08); }
.verdict p { margin: 0; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #a9bcb7; padding: 64px 0 32px; font-size: .95rem; }
.site-footer a { color: #d8e4e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; margin-bottom: 48px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo-text span { color: var(--volt); }
.site-footer h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(15,29,36,.25);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: none; }
@media (min-width: 1000px) { .mobile-cta { display: none; } }

/* ---------- Misc ---------- */
.stat-row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat b { display: block; font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1.1 var(--font-head); color: #fff; margin-bottom: 6px; letter-spacing: -0.02em; }
.stat span { font-size: .92rem; color: #a9bcb7; display: block; line-height: 1.4; }
.stat small { display: block; margin-top: 8px; font-size: .78rem; color: #7f9692; }
.stat small a { color: #9fb6b1; }

.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.news-card .nc-date { font-size: .82rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.news-card h3 { font-size: 1.15rem; }
.news-card p { color: var(--ink-2); font-size: .97rem; }
.news-card .link-arrow { margin-top: auto; }

.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .big-check { width: 88px; height: 88px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .big-check svg { width: 44px; height: 44px; }

.compare-list { counter-reset: c; list-style: none; padding: 0; display: grid; gap: 14px; }
.compare-list li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.compare-list li::before { content: counter(c); width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50); color: var(--brand); font: 800 1rem/36px var(--font-head); text-align: center; }
.compare-list strong { display: block; color: var(--ink); margin-bottom: 2px; }
.compare-list span { color: var(--ink-2); font-size: .97rem; }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mb-24 { margin-bottom: 24px; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .mobile-cta, .aside-cta, .cta-band { display: none !important; }
  body { background: #fff; }
}

/* ---------- Kapeiden näyttöjen korjaukset ---------- */
body { overflow-wrap: break-word; }
h1, h2, h3, .stat b, .pc-price { -webkit-hyphens: auto; hyphens: auto; }
.grid, .hero-grid, .split, .article-layout, .tool-grid, .footer-grid, .price-grid, .steps, .wizard-wrap, .wizard-side, .faq, .field-row, .options { grid-template-columns: minmax(0, 1fr); }
.stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat span { overflow-wrap: anywhere; }
.opt .opt-text { min-width: 0; }
.opt .opt-box strong, .opt .opt-box small { overflow-wrap: anywhere; }
@media (min-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .wizard-wrap { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .tool-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .price-grid, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-row.r-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
@media (min-width: 560px) { .options.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .options.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .options.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 820px) { .options.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 380px) { .stat-row { grid-template-columns: minmax(0, 1fr); } }
[hidden] { display: none !important; }
.wizard-nav .btn { white-space: normal; }

/* Taulukot pinotaan kapealla näytöllä */
@media (max-width: 640px) {
  .table-wrap.stack { border: 0; background: transparent; overflow: visible; }
  .table-wrap.stack table, .table-wrap.stack tbody, .table-wrap.stack tr, .table-wrap.stack td { display: block; width: 100%; }
  .table-wrap.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap.stack tr { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; margin-bottom: 12px; }
  .table-wrap.stack td { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .table-wrap.stack td:last-child { border-bottom: 0; }
  .table-wrap.stack td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
  .table-wrap.stack td.num { white-space: normal; }
}
@media (max-width: 640px) {
  .table-wrap.stack thead { display: none; }
  td.num { white-space: normal; }
  th, td { padding: 12px 14px; }
}
@media (max-width: 559px) {
  .opt.big .opt-box { flex-direction: row; align-items: center; min-height: 64px; padding: 14px 16px; }
  .opt.big .opt-box::after { position: static; }
}
.options.has-error .field-error { display: block; }
.options.has-error .opt-box { border-color: #e7a59d; }
.toc ol { list-style: none; padding-left: 0; }
.toc li { padding-left: 14px; position: relative; }
.toc li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.opt .opt-box strong { overflow-wrap: normal; -webkit-hyphens: manual; hyphens: manual; }
.tool .options.cols-2, .tool .options.cols-3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
