/* seitashop.fi — päätyylitiedosto */

/* ---------- paikallisesti tarjoillut fontit ---------- */
@font-face {
  font-family: 'Display';
  src: url('/assets/fonts/display-latin.woff2') format('woff2');
  font-weight: 100 800; font-display: swap; font-style: normal;
  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: 'Display';
  src: url('/assets/fonts/display-latin-ext.woff2') format('woff2');
  font-weight: 100 800; font-display: swap; font-style: normal;
  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: 'Body';
  src: url('/assets/fonts/body-latin.woff2') format('woff2');
  font-weight: 100 900; font-display: swap; font-style: normal;
  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: 'Body';
  src: url('/assets/fonts/body-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-display: swap; font-style: normal;
  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: 'Mono';
  src: url('/assets/fonts/mono-latin.woff2') format('woff2');
  font-weight: 100 800; font-display: swap; font-style: normal;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Mono';
  src: url('/assets/fonts/mono-latin-ext.woff2') format('woff2');
  font-weight: 100 800; font-display: swap; font-style: normal;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- muuttujat ---------- */
:root {
  color-scheme: light dark;

  --paper: #faf9f6;
  --surface: #ffffff;
  --wash: #f1efe9;
  --wash-2: #e9e6dd;
  --edge: #e1ddd3;
  --edge-soft: #ebe8e0;

  --ink: #181614;
  --ink-2: #57524b;
  --ink-3: #8a8378;

  --accent: #0d5c4d;
  --accent-dark: #0a4a3e;
  --accent-soft: #e5f0ec;
  --gold: #8a6410;
  --gold-soft: #f6efdf;
  --flag: #a63a24;

  --display: 'Display', 'Inter', system-ui, -apple-system, sans-serif;
  --body: 'Body', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1220px;
  --col: 760px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --head-h: 68px;

  --shadow-sm: 0 1px 2px rgba(24, 22, 20, .05);
  --shadow: 0 2px 6px -2px rgba(24, 22, 20, .08), 0 12px 32px -20px rgba(24, 22, 20, .32);
  --shadow-lg: 0 4px 12px -4px rgba(24, 22, 20, .10), 0 24px 56px -28px rgba(24, 22, 20, .38);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #100f0e;
    --surface: #191817;
    --wash: #1d1c1a;
    --wash-2: #262421;
    --edge: #2e2c28;
    --edge-soft: #26241f;

    --ink: #f3f1ed;
    --ink-2: #b4aea5;
    --ink-3: #8b857b;

    --accent: #45bda1;
    --accent-dark: #62d0b6;
    --accent-soft: #13312b;
    --gold: #d5a94f;
    --gold-soft: #2a2313;
    --flag: #e0866f;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 2px 6px -2px rgba(0, 0, 0, .5), 0 12px 32px -20px rgba(0, 0, 0, .8);
    --shadow-lg: 0 4px 12px -4px rgba(0, 0, 0, .55), 0 24px 56px -28px rgba(0, 0, 0, .9);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 32%, transparent); transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.5rem); font-weight: 620; letter-spacing: -.034em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.1rem); margin-top: 2em; letter-spacing: -.028em; }
h3 { font-size: clamp(1.18rem, 1.05rem + .55vw, 1.42rem); margin-top: 1.6em; }
h4 { font-size: 1.05rem; margin-top: 1.4em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.col { max-width: var(--col); margin-inline: auto; }

.eyebrow {
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; text-decoration: none; }
.skip:focus { left: 0; }

/* ---------- ylätunniste ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(170%) blur(12px);
  -webkit-backdrop-filter: saturate(170%) blur(12px);
  border-bottom: 1px solid var(--edge);
}
.head-inner { display: flex; align-items: center; gap: 22px; height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 7px; flex: none;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 70%, #fff) 0 38%, transparent 39%),
    linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--gold)));
}
.brand-name { font-family: var(--display); font-weight: 640; font-size: 1.28rem; letter-spacing: -.038em; }
.brand-name i {
  font-style: normal; font-family: var(--mono); font-size: .58em; font-weight: 500;
  letter-spacing: .04em; color: var(--accent); vertical-align: .32em; margin-left: 1px;
}

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a {
  font-family: var(--display); font-size: .95rem; font-weight: 500;
  text-decoration: none; color: var(--ink-2); white-space: nowrap;
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transition: transform .18s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--ink); }
.nav-alt { color: var(--ink-3) !important; }
.nav-alt:hover { color: var(--ink) !important; }

.nav-toggle { display: none; }
.nav-btn { display: none; }

@media (max-width: 940px) {
  .nav-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 42px; height: 42px; padding: 0 9px; cursor: pointer;
    border: 1px solid var(--edge); border-radius: var(--r-sm); background: var(--surface);
  }
  .nav-btn span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav {
    position: absolute; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--edge);
    box-shadow: var(--shadow); padding: 6px 22px 14px;
    display: none;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--edge-soft); font-size: 1.02rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
}

/* ---------- painikkeet ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: .94rem; font-weight: 580; letter-spacing: -.008em;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 100px; border: 1px solid transparent;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
  text-align: center; line-height: 1.25; box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 15px; font-size: .86rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--edge); box-shadow: none; }
.btn-ghost:hover { background: var(--wash); color: var(--ink); transform: none; box-shadow: none; }
.btn-wide { width: 100%; }
.btn .arrow { font-family: var(--mono); font-size: .82em; opacity: .75; }
@media (prefers-color-scheme: dark) {
  .btn { color: #06120f; }
  .btn:hover { color: #06120f; }
  .btn-ghost { color: var(--ink); }
}

/* ---------- pistemäärä ---------- */
.score { display: inline-flex; flex-direction: column; gap: 5px; min-width: 74px; }
.score b {
  font-family: var(--mono); font-weight: 500; font-size: 1.45rem; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.04em;
}
.score b i { font-style: normal; font-size: .58em; color: var(--ink-3); letter-spacing: 0; }
.score .meter { height: 4px; background: var(--wash-2); border-radius: 100px; overflow: hidden; }
.score .meter i { display: block; height: 100%; background: var(--accent); border-radius: 100px; }
.score small { font-family: var(--mono); font-size: .62rem; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-3); }

.badge {
  display: inline-block; font-family: var(--mono); font-size: .64rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
  background: var(--gold-soft); border-radius: 100px; padding: 4px 10px; white-space: nowrap;
}

/* ---------- artikkeli ---------- */
.article-head { padding: 36px 0 0; }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; color: var(--ink-3); margin-bottom: 16px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 4px; opacity: .5; }

.lede { font-size: 1.16rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; }

.byline {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  font-family: var(--mono); font-size: .74rem; color: var(--ink-3);
  border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  padding: 13px 0; margin-bottom: 28px;
}
.byline a { color: var(--ink-2); text-decoration-color: color-mix(in srgb, var(--ink-3) 50%, transparent); }
.byline-author { color: var(--ink-2); }

.hero-fig { margin: 0 0 32px; }
.body-fig { margin: 28px 0; }
/* is-natural: kuva näytetään omassa kuvasuhteessaan, ei rajata 16:9-muotoon.
   Käytetään esimerkiksi puhelimella otetuissa lähes neliömäisissä kuvissa. */
.hero-fig.is-natural img, .body-fig.is-natural img { aspect-ratio: auto; object-fit: contain; background: var(--wash); }

/* Videoupotus: ennen toistoa näkyy vain paikallinen painike, ei YouTube-pyyntöjä. */
.video { margin: 30px 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--wash-2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid var(--edge); border-radius: var(--r); padding: 24px;
  background: linear-gradient(150deg, var(--wash) 0%, var(--accent-soft) 100%);
  font-family: var(--display); color: var(--ink); transition: border-color .18s ease;
}
.video-play:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--edge)); }
.video-icon {
  width: 62px; height: 62px; border-radius: 50%; background: var(--accent); flex: none;
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.video-icon::after { content: ''; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.video-play:hover .video-icon { transform: scale(1.06); }
.video-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.video-title { font-size: 1.02rem; font-weight: 580; line-height: 1.35; max-width: 34ch; text-align: center; letter-spacing: -.018em; }
.video-note { display: block; font-family: var(--mono); font-size: .66rem; line-height: 1.5; color: var(--ink-3); margin-top: 8px; }
@media (prefers-color-scheme: dark) { .video-icon::after { border-left-color: #06120f; } }
.body-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--wash); }
.hero-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); background: var(--wash); }
figcaption { font-family: var(--mono); font-size: .72rem; line-height: 1.5; color: var(--ink-3); margin-top: 10px; }

.prose > h2 { scroll-margin-top: calc(var(--head-h) + 16px); }
.prose-list { margin: 0 0 1.15em; padding-left: 1.15em; }
.prose-list li { margin-bottom: .4em; }
.prose-list li::marker { color: var(--ink-3); }
.prose code { font-family: var(--mono); font-size: .87em; background: var(--wash); padding: 2px 5px; border-radius: 5px; }
.intro p:first-child { font-size: 1.04rem; }

/* ---------- toimituksen valinnat ---------- */
.picks { margin: 36px 0 8px; }
.picks-title { font-size: 1.15rem; margin: 0 0 16px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.picks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 16px; }
.pick {
  border: 1px solid var(--edge); border-radius: var(--r); padding: 18px;
  display: flex; flex-direction: column; gap: 12px; background: var(--surface);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.pick:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pick .badge { align-self: flex-start; }
.pick .thumb { aspect-ratio: 4 / 3; background: var(--wash); border-radius: var(--r-sm); overflow: hidden; display: block; }
.pick .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.pick h3 { font-size: 1.03rem; margin: 0; line-height: 1.28; }
.pick h3 a { text-decoration: none; }
.pick h3 a:hover { text-decoration: underline; }
.pick p { font-size: .89rem; line-height: 1.5; color: var(--ink-2); margin: 0; }
.pick .foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }

/* ---------- sisällysluettelo ---------- */
.toc { background: var(--wash); border-radius: var(--r); padding: 20px 24px; margin: 30px 0 36px; }
.toc-title { font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 1.15em; columns: 2; column-gap: 32px; font-size: .93rem; }
.toc li { margin-bottom: 7px; break-inside: avoid; }
.toc li::marker { font-family: var(--mono); font-size: .8em; color: var(--ink-3); }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 620px) { .toc ol { columns: 1; } }

/* ---------- vertailutaulukko ---------- */
.cmp-wrap {
  margin: 28px 0 12px; border: 1px solid var(--edge); border-radius: var(--r);
  overflow-x: auto; background: var(--surface); box-shadow: var(--shadow-sm);
  overscroll-behavior-x: contain;
}
table.cmp { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 13px; vertical-align: middle; border-bottom: 1px solid var(--edge-soft); }
table.cmp thead th {
  font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink-3); background: var(--wash);
  border-bottom: 1px solid var(--edge); line-height: 1.35;
}
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover { background: color-mix(in srgb, var(--wash) 55%, transparent); }
.cmp .rankcell { font-family: var(--mono); font-size: .95rem; color: var(--ink-3); width: 38px; font-variant-numeric: tabular-nums; }
.cmp .namecell { min-width: 200px; font-weight: 400; }
.cmp .namecell a { font-family: var(--display); font-weight: 580; font-size: 1rem; text-decoration: none; letter-spacing: -.015em; display: block; }
.cmp .namecell a:hover { text-decoration: underline; color: var(--accent); }
.cmp .namecell .badge { margin-top: 7px; }
.cmp td.datacell { font-family: var(--mono); font-size: .79rem; line-height: 1.4; color: var(--ink-2); white-space: normal; overflow-wrap: break-word; }
.cmp .ctacell { width: 1%; white-space: nowrap; }
.table-note { font-family: var(--mono); font-size: .71rem; line-height: 1.55; color: var(--ink-3); margin: 12px 0 0; }
/* Varjo kertoo, että kapealla näytöllä taulukkoa voi vierittää sivusuunnassa. */
.cmp-wrap { background-image: linear-gradient(to right, transparent 92%, color-mix(in srgb, var(--ink) 7%, transparent)); background-repeat: no-repeat; background-attachment: local, scroll; }

@media (max-width: 880px) {
  .cmp-wrap { border: 0; overflow: visible; background: transparent; box-shadow: none; }
  table.cmp, table.cmp tbody, table.cmp tr, table.cmp td, table.cmp th { display: block; width: auto; }
  table.cmp thead { display: none; }
  table.cmp tbody tr {
    border: 1px solid var(--edge); border-radius: var(--r); padding: 16px; margin-bottom: 14px;
    display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center;
    background: var(--surface); box-shadow: var(--shadow-sm);
  }
  table.cmp tbody tr:hover { background: var(--surface); }
  .cmp .rankcell { grid-column: 1; grid-row: 1; padding: 0; border: 0; }
  .cmp .namecell { grid-column: 2; grid-row: 1; padding: 0; border: 0; }
  .cmp .scorecell { grid-column: 1 / -1; padding: 12px 0 0; border: 0; }
  .cmp td.datacell {
    grid-column: 1 / -1; padding: 8px 0; border: 0; border-top: 1px solid var(--edge-soft);
    display: flex; justify-content: space-between; gap: 12px; white-space: normal;
  }
  .cmp td.datacell::before { content: attr(data-label); font-family: var(--mono); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
  .cmp .ctacell { grid-column: 1 / -1; width: auto; padding: 14px 0 0; border: 0; }
  .cmp .ctacell .btn { width: 100%; }
}

/* ---------- menetelmälaatikko ---------- */
.method {
  background: var(--accent-soft); border-radius: var(--r); padding: 22px 24px; margin: 34px 0;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
}
.method .eyebrow { display: block; margin-bottom: 10px; color: var(--accent); }
.method p { font-size: .94rem; color: var(--ink-2); }
.method p:last-child { margin-bottom: 0; }
.method a { color: var(--ink); }

/* ---------- yksittäiset arvostelut ---------- */
.review { border-top: 1px solid var(--edge); padding-top: 30px; margin-top: 52px; scroll-margin-top: calc(var(--head-h) + 16px); }
.review-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.review-rank {
  font-family: var(--mono); font-size: 2.2rem; font-weight: 500; line-height: .92; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: -.06em; flex: none; opacity: .85;
}
.review-head-text { min-width: 0; }
.review h2 { margin: 0 0 10px; }
.review-sub { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-bottom: 20px; }

.review-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 30px; align-items: start; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; gap: 20px; } }

.review-media { position: sticky; top: calc(var(--head-h) + 14px); display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 760px) { .review-media { position: static; } }
.review-media .shot {
  aspect-ratio: 1 / 1; background: var(--wash); border-radius: var(--r);
  overflow: hidden; display: grid; place-items: center; padding: 14px;
}
.review-media .shot img { width: 100%; height: 100%; object-fit: contain; }
.buybox {
  border: 1px solid var(--edge); border-radius: var(--r); padding: 16px;
  display: flex; flex-direction: column; gap: 10px; background: var(--surface); box-shadow: var(--shadow-sm);
}
.buybox .price { font-family: var(--mono); font-size: .95rem; font-weight: 500; letter-spacing: -.01em; }
.buybox .price-src { font-family: var(--mono); font-size: .67rem; color: var(--ink-3); line-height: 1.4; margin-top: -4px; }
.buybox .hint { font-family: var(--mono); font-size: .66rem; color: var(--ink-3); line-height: 1.45; }

.subscores { display: grid; gap: 11px; margin: 0 0 22px; }
.subscore { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }
.subscore .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.subscore .bar { grid-column: 1 / -1; height: 3px; background: var(--wash-2); border-radius: 100px; overflow: hidden; }
.subscore .bar i { display: block; height: 100%; background: var(--ink); border-radius: 100px; }

.proscons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 26px 0;
  border: 1px solid var(--edge); border-radius: var(--r); padding: 20px 22px; background: var(--surface);
}
@media (max-width: 560px) { .proscons { grid-template-columns: 1fr; gap: 16px; } }
.proscons h4 { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; color: var(--ink-3); }
.proscons ul { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.proscons li { position: relative; padding-left: 22px; margin-bottom: 8px; line-height: 1.48; }
.proscons li::before { position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 600; }
.pros li::before { content: '+'; color: var(--accent); }
.cons li::before { content: '\2212'; color: var(--flag); }

.specs { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .81rem; margin: 24px 0; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--edge-soft); vertical-align: top; }
.specs th { font-weight: 400; color: var(--ink-3); width: 46%; }
.specs td { color: var(--ink); }

.verdict {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 18px; margin: 26px 0; font-size: 1.02rem; line-height: 1.55;
}
.verdict .eyebrow { display: block; margin-bottom: 6px; }

.sources { font-family: var(--mono); font-size: .73rem; color: var(--ink-3); margin: 22px 0 0; }
.sources ul { list-style: none; margin: 8px 0 0; padding: 0; }
.sources li { margin-bottom: 5px; }
.sources a { color: var(--ink-2); }

/* ---------- kumppanibannerit ---------- */
.banner {
  display: block; margin: 26px 0; border: 1px solid var(--edge); border-radius: var(--r);
  overflow: hidden; background: var(--wash);
}
.banner a { display: block; text-decoration: none; }
.banner img { width: 100%; }
.banner-note {
  display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); padding: 7px 12px; border-top: 1px solid var(--edge); background: var(--surface);
}
.banner-html { margin: 26px 0; text-align: center; }

/* ---------- usein kysytyt ---------- */
.faq { margin-top: 46px; }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 40px 17px 0; position: relative;
  font-family: var(--display); font-weight: 580; font-size: 1.03rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.25rem; font-weight: 400; color: var(--accent);
}
.faq details[open] summary::after { content: '\2212'; }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 0 20px; font-size: .96rem; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- loppulaatikot ---------- */
.disclosure {
  background: var(--wash); border-radius: var(--r); padding: 18px 22px; margin: 40px 0;
  font-size: .87rem; line-height: 1.6; color: var(--ink-2);
}
.disclosure p:last-child { margin-bottom: 0; }

.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  border: 1px solid var(--edge); border-radius: var(--r); padding: 22px; margin: 34px 0;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.author-photo {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--wash-2); display: grid; place-items: center;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-initials { font-family: var(--mono); font-size: 1.05rem; color: var(--ink-2); }
.author-box .eyebrow { display: block; margin-bottom: 6px; }
.author-box strong { font-family: var(--display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; display: block; }
.author-role { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); display: block; margin-top: 3px; }
.author-box p { font-size: .9rem; line-height: 1.6; color: var(--ink-2); margin: 10px 0 0; }
@media (max-width: 520px) { .author-box { flex-direction: column; gap: 14px; } }

/* ---------- korttiruudukot ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 32px 28px; }
.card { display: flex; flex-direction: column; gap: 11px; }
.card .thumb { aspect-ratio: 16 / 10; background: var(--wash); border-radius: var(--r); overflow: hidden; display: block; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2, .7, .3, 1); }
.card:hover .thumb img { transform: scale(1.04); }
.card h3 { font-size: 1.1rem; margin: 0; line-height: 1.28; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { font-size: .9rem; color: var(--ink-2); margin: 0; line-height: 1.55; }
.card .meta { font-family: var(--mono); font-size: .67rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.card .meta-date { margin-top: auto; padding-top: 4px; }

.related { padding-bottom: 0; }

/* ---------- nostettu artikkeli ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 34px; align-items: center;
  padding: 8px 0 4px;
}
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 22px; } }
.feature-media { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--wash); }
.feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature-text { display: flex; flex-direction: column; gap: 12px; }
.feature-text h3 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem); margin: 0; line-height: 1.14; letter-spacing: -.03em; }
.feature-text h3 a { text-decoration: none; }
.feature-text h3 a:hover { text-decoration: underline; }
.feature-text p { font-size: 1.02rem; color: var(--ink-2); margin: 0; }
.feature-text .meta { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- etusivu ---------- */
.home-hero { padding: 64px 0 52px; }
.home-hero h1 { max-width: 17ch; margin-top: 14px; }
.home-hero .lede { max-width: 56ch; font-size: 1.14rem; }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stat {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); line-height: 1.5; background: var(--wash); border-radius: var(--r-sm);
  padding: 12px 18px; min-width: 130px;
}
.stat b { display: block; font-size: 1.5rem; font-weight: 500; color: var(--ink); letter-spacing: -.04em; text-transform: none; }

.section { padding: 52px 0; border-top: 1px solid var(--edge); }
.section-first { border-top: 0; padding-top: 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: 1.32rem; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.section-head a { font-family: var(--mono); font-size: .73rem; text-decoration: none; color: var(--ink-3); white-space: nowrap; }
.section-head a:hover { color: var(--accent); text-decoration: underline; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cat-tile {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  border: 1px solid var(--edge); border-radius: var(--r); padding: 22px;
  background: var(--surface); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cat-tile:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--edge)); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.cat-count { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cat-name { font-family: var(--display); font-size: 1.14rem; font-weight: 600; letter-spacing: -.025em; }
.cat-desc { font-size: .89rem; color: var(--ink-2); line-height: 1.5; }

.empty { color: var(--ink-2); }

/* ---------- alatunniste ---------- */
.site-foot { border-top: 1px solid var(--edge); background: var(--wash); margin-top: 72px; padding: 52px 0 40px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; } }
.foot-brand p { margin-top: 14px; max-width: 44ch; color: var(--ink-2); font-size: .92rem; }
.site-foot h4 { font-family: var(--mono); font-size: .67rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { text-decoration: none; color: var(--ink-2); }
.site-foot a:hover { color: var(--accent); text-decoration: underline; }
.site-foot .legal { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--edge); font-size: .78rem; color: var(--ink-3); line-height: 1.65; }
.site-foot .legal p { margin-bottom: .5em; }
.site-foot .legal p:last-child { margin-bottom: 0; }

/* ---------- tietosivut ---------- */
.page-head { padding: 44px 0 10px; }
.page-404 { padding: 90px 0; }
.static-prose { padding-bottom: 20px; }
.static-prose h2 { margin-top: 1.9em; }
.static-prose h2 a { text-decoration: none; }
.static-prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 24px 0; }
.static-prose th, .static-prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--edge); }
.static-prose th { background: var(--wash); font-family: var(--mono); font-size: .76rem; font-weight: 500; }
.page-updated { margin-top: 42px; display: block; }

/* ---------- evästepalkki ---------- */
.cookiebar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: 660px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r);
  padding: 12px 16px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease;
}
.cookiebar.is-in { opacity: 1; transform: translateY(0); }
.cookiebar p { margin: 0; flex: 1 1 260px; font-size: .8rem; line-height: 1.5; color: var(--ink-2); }
.cookiebar a { color: var(--ink-2); }
.cookiebar button {
  font-family: var(--display); font-size: .85rem; font-weight: 580; cursor: pointer;
  background: var(--accent); color: #fff; border: 0; border-radius: 100px;
  padding: 9px 26px; line-height: 1.2; transition: background .16s ease;
}
.cookiebar button:hover { background: var(--accent-dark); }
@media (prefers-color-scheme: dark) { .cookiebar button { color: #06120f; } }
@media (max-width: 480px) {
  .cookiebar { gap: 10px; padding: 14px; }
  .cookiebar button { width: 100%; }
}

/* ---------- tulostus ---------- */
@media print {
  .site-head, .site-foot, .cookiebar, .buybox, .banner, .toc, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .review-media { position: static; }
}
