:root {
  --ink: #14171f;
  --muted: #5f6475;
  --paper: #f6f4ef;
  --surface: #ffffff;
  --line: #e6e1d6;
  --navy: #151a2d;
  --navy-2: #232a4a;
  --amber: #f2b33d;
  --amber-deep: #c98a12;
  --amber-tint: #fdf0d2;
  --link: #2b4acb;
  --cream: #f7f4ee;
  --black: #151a2d;
  --r: 16px;
  --r-s: 10px;
  --shadow: 0 1px 2px rgba(20, 23, 31, 0.05), 0 10px 30px -12px rgba(20, 23, 31, 0.18);
  --font: "Inter", "SF Pro Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: var(--r-s);
  transform: translateY(-150%);
  z-index: 30;
}
.skip:focus { transform: none; }

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(20, 23, 31, 0.06);
  padding: calc(8px + env(safe-area-inset-top)) 20px 8px;
}
body.is-player header.site { position: static; }
.bar {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  padding: 6px 0;
}
.logo .mark { width: 32px; height: 32px; flex: none; }
.logo b { font-weight: 800; }
.logo i { font-style: normal; color: var(--amber-deep); font-weight: 700; }
nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; }
nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
nav a[hidden] { display: none; }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 7vw, 3.4rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 2.6rem 0 0.7rem; }
h3 { font-size: 1.2rem; margin: 1.4rem 0 0.4rem; letter-spacing: -0.015em; }
h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 10px; }
p { margin: 0 0 0.9rem; }
main { display: block; }
.article h2::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 3px;
  background: var(--amber);
  margin-right: 0.45em;
  transform: translateY(-0.08em);
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.crumb { color: var(--muted); font-size: 0.9rem; margin: 10px 0 18px; }
.crumb a { color: var(--muted); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(242, 179, 61, 0.22), transparent 60%),
    linear-gradient(160deg, #1b2142 0%, var(--navy) 55%, #0f1324 100%);
  color: var(--cream);
  border-radius: 0 0 32px 32px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  pointer-events: none;
}
.hero-grid, .wrap { position: relative; max-width: 72rem; margin: 0 auto; padding: 36px 20px 40px; }
.hero h1 { color: #fff; }
.hero .lede { color: #c9cde0; max-width: 36rem; font-size: 1.12rem; }
.hero a { color: var(--amber); }
.price-line { color: #c9cde0; font-size: 0.98rem; margin: 18px 0 0; max-width: 36rem; }
.price-line strong { color: var(--amber); font-size: 1.25rem; font-weight: 800; }
.hero-grid { display: grid; gap: 24px 40px; align-items: center; }
.hero figure { margin: 0; }
.hero figure img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.actions .btn { width: 100%; }

/* Buttons */
.btn, button.btn, .seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--amber);
  color: var(--navy);
  text-decoration: none;
  border: 1.5px solid var(--amber);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover, button.btn:hover { background: #f7c35a; border-color: #f7c35a; color: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(242, 179, 61, 0.9); }
.btn:active { transform: none; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.dark:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; box-shadow: none; }
.btn.ghost, .seg button {
  background: transparent;
  border-color: rgba(20, 23, 31, 0.25);
  color: inherit;
  font-weight: 600;
}
.btn.ghost:hover { background: rgba(20, 23, 31, 0.05); border-color: var(--navy); box-shadow: none; }
.hero .btn { color: var(--navy); }
.hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn.full, form .btn { width: 100%; }

/* Layout */
.narrow { max-width: 54rem; margin: 0 auto; padding: 8px 20px 64px; }
.article { max-width: 54rem; }
.article > p, .article li { color: #2b2f3a; }

/* Features band */
.band { padding-top: 0; }
.features {
  list-style: none;
  margin: -36px 0 8px;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.features li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow);
}
.features h3 { margin: 12px 0 4px; font-size: 1.05rem; }
.features p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.ico {
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 12px;
  background: var(--amber-tint);
  color: var(--amber-deep);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Decade cards */
.decades { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); margin: 8px 0 16px; }
.decade {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dhead {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  background: linear-gradient(150deg, #222a4e, var(--navy) 70%);
  color: #c9cde0;
}
.decade::before {
  content: "'" attr(data-year);
  position: absolute;
  right: 10px;
  top: -14px;
  font-size: 7rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 1;
}
.dhead .ico { background: var(--amber); color: var(--navy); width: 40px; height: 40px; padding: 8px; }
.dhead h3 { margin: 12px 0 0; color: #fff; font-size: 1.35rem; }
.dhead p { margin: 2px 0 0; font-size: 0.88rem; }
.decade.empty .dhead { background: linear-gradient(150deg, #3a3f55, #2b2f44); }
.decade.empty .dhead .ico { background: rgba(255, 255, 255, 0.15); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.chip.easy::before { background: #3aa864; }
.chip.soon::before { display: none; }
.chip.soon { color: var(--muted); font-weight: 500; }
a.chip:hover { border-color: var(--navy); background: var(--surface); color: var(--navy); transform: translateY(-1px); }

/* Carousel (home) */
.carousel { position: relative; }
.car-nav { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 0 0 4px; }
.car-dots { display: flex; gap: 6px; margin-right: auto; }
.car-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.car-dots span.on { background: var(--amber); }
.car-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.car-btn:hover { background: var(--amber); border-color: var(--amber); }
.track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0;
  padding: 8px 0 20px;
  margin: 0 0 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.track .decade { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.track .chips { padding: 20px 22px 22px; }
.track .dhead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.track .dhead h3 { margin: 0; }
.track .dhead p { margin: 0 0 0 auto; }

/* Content blocks */
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: 0.25rem 0; }
.card, .price-card, .pcard, .note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  margin: 0 0 12px;
  box-shadow: var(--shadow);
}
.price-card {
  background: linear-gradient(160deg, #1b2142, var(--navy) 70%);
  color: #c9cde0;
  border-color: var(--navy);
  padding: 26px 22px;
}
.price-card h2, .price-card h3 { color: #fff; margin-top: 0; }
.price-card li { color: #e4e6ef; }
.price-card .sum {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--amber);
  margin: 0 0 8px;
  line-height: 1;
}
blockquote {
  margin: 0 0 1rem;
  padding: 18px 20px;
  background: var(--surface);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--r) var(--r) 0;
}
blockquote p { font-size: 1.12rem; font-weight: 500; color: var(--navy); }
cite, .by { display: block; margin-top: 8px; color: var(--muted); font-style: normal; font-size: 0.9rem; }
.muted { color: var(--muted); }
.error { color: #9b2c2c; }
.ok { color: #1f6b3a; font-weight: 600; }
figure { margin: 0 0 1rem; }
figure img { border-radius: var(--r); }
figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
figure.photo { margin: 1.5rem 0 2rem; }
figure.photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 12px 32px rgba(21, 26, 45, 0.14); }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 4px 16px;
  margin: 0 0 8px;
}
.price-card .sum small { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
details[open] { border-color: var(--amber); }
summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--amber-deep); font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { margin: 2px 0 12px; color: #2b2f3a; }

/* Footer */
footer.site {
  background: var(--navy);
  color: #a9aec6;
  margin-top: 24px;
  padding: 40px 20px calc(24px + env(safe-area-inset-bottom));
  font-size: 0.95rem;
  border-radius: 32px 32px 0 0;
}
footer.site .wrap { padding: 0; }
.fcols { display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
.fbrand .logo { color: #fff; }
.fbrand .logo i { color: var(--amber); }
.fbrand p { margin-top: 10px; max-width: 24rem; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0; }
footer.site a { color: #e4e6ef; text-decoration: none; display: inline-block; padding: 5px 0; }
footer.site a:hover { color: var(--amber); }
footer.site h4 { color: var(--amber); }
.fbottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  font-size: 0.86rem;
}
.fbottom p { margin: 0; }

/* Account */
.plist { display: grid; gap: 12px; }
.plist.cols { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.plist.cols .pcard { margin: 0; }
.pcard { padding: 18px; }
.pcard .meta { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.pcard h3 { font-size: 1.3rem; margin: 0 0 6px; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge.easy { background: #e3f3e8; color: #1f6b3a; }
.badge.mid { background: var(--amber-tint); color: var(--amber-deep); }
progress {
  display: block;
  width: 100%;
  height: 6px;
  margin: 8px 0;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  appearance: none;
  background: var(--line);
}
progress::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
progress::-webkit-progress-value { background: var(--amber); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--amber); border-radius: 999px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.row .btn { flex: 1; }

/* Forms */
label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  font: inherit;
  font-size: 16px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242, 179, 61, 0.25); }
form .btn { margin-top: 4px; }
.sanahaku { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 1.2rem 0 1.6rem; }
.sanahaku label { display: block; font-weight: 600; margin-bottom: 8px; }
.sanahaku .row { display: flex; gap: 10px; flex-wrap: wrap; }
.sanahaku .row input { flex: 1 1 200px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.sanahaku .row .btn { margin-top: 0; }
.sanahaku .muted { margin: 10px 0 0; font-size: 0.92rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; letter-spacing: 0.06em; color: var(--amber-deep); cursor: pointer; text-decoration: underline; }
.sanahaku .tulos { margin-top: 12px; }
.sanahaku .tulos p { margin: 0 0 8px; }
.sanat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; max-height: 320px; overflow: auto; }
.sanat li { margin: 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.95rem; }
.top { list-style: decimal; padding-left: 1.6rem; max-width: 26rem; }
.top li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 8px 0; }
.top li:first-child { font-weight: 700; color: var(--amber-deep); }
.top li span { font-variant-numeric: tabular-nums; }
.banner {
  background: var(--navy);
  color: var(--amber);
  padding: 10px 16px;
  text-align: center;
  font-size: 0.92rem;
}
.banner a { color: #fff; }

/* Player */
.back { margin: 10px 0 4px; font-size: 0.92rem; }
.back a { text-decoration: none; color: var(--muted); }
.back a::before { content: "← "; }
.current-clue {
  margin: 0;
  min-height: 3.4rem;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--r-s);
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.current-clue .tag {
  display: inline-block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber-deep);
  margin-right: 6px;
}
.player-top {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--paper);
  padding: 8px 0;
}
#timer { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy); }
.grid-scroll {
  overflow: auto;
  max-width: 100%;
  max-height: min(70dvh, 40rem);
  container-type: inline-size;
  -webkit-overflow-scrolling: touch;
  margin: 4px 0 8px;
  padding: 4px 0 8px;
}
.grid {
  --cols: 5;
  --size: clamp(2.75rem, 17vw, 4.25rem);
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--size));
  gap: 2px;
  width: max-content;
  background: var(--navy);
  padding: 6px;
  border-radius: 12px;
  margin-inline: auto;
  touch-action: manipulation;
  box-shadow: 0 20px 40px -20px rgba(21, 26, 45, 0.6);
}
.grid.dense {
  --size: max(2rem, min(3rem, calc((100cqi - 14px) / var(--cols))));
}
.cell {
  position: relative;
  width: var(--size);
  height: var(--size);
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}
.cell.block { background: var(--navy-2); }
.cell.in-word { background: var(--amber-tint); }
.cell.active { background: var(--amber); }
.cell .ch {
  font-weight: 700;
  font-size: calc(var(--size) * 0.5);
  line-height: 1;
}
.cell .ch.revealed { color: var(--amber-deep); }
.cell .n {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: max(9px, calc(var(--size) * 0.22));
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
}
.keycatch {
  position: fixed;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  opacity: 0;
  font-size: 16px;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  caret-color: transparent;
  z-index: 6;
  pointer-events: none;
}
.tools {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.seg { display: flex; flex: 1; gap: 0; min-width: 10rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { flex: 1; min-height: 40px; border: 0; }
.seg button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}
.tools .btn { flex: 1; }
.tools .btn:disabled { opacity: 0.45; cursor: default; }
.two section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px 10px; margin: 0 0 12px; }
.two h2 { margin-top: 10px; font-size: 1.25rem; }
.clues { list-style: none; padding: 0; margin: 0 0 6px; }
.clues li { margin: 0; }
.clue-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  padding: 11px 8px;
  min-height: 48px;
  cursor: pointer;
  color: inherit;
}
.clue-btn b { color: var(--amber-deep); margin-right: 2px; }
.clue-btn:hover { background: var(--paper); }
.clue-btn.on { background: var(--amber-tint); border-radius: var(--r-s); border-top-color: transparent; }
.clue-img { display: inline-block; vertical-align: middle; width: 96px; height: 64px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); margin: 2px 6px 2px 0; }
.current-clue .clue-img { width: 72px; height: 48px; }
.status { min-height: 1.4rem; color: var(--muted); font-size: 0.88rem; }
.print-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.print-links .btn { gap: 8px; }
.print-links .ico { width: 20px; height: 20px; padding: 0; background: none; color: inherit; border-radius: 0; stroke-width: 2.6; }

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; padding-top: 72px; padding-bottom: 80px; }
  .actions { flex-direction: row; }
  .actions .btn { width: auto; }
  form .btn, .btn.full { width: auto; }
  .row .btn { flex: 0 0 auto; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .fcols { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .features { margin-top: -56px; }
}
@media (max-width: 380px) {
  nav { margin-left: 0; width: 100%; }
  .logo span { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Suostumus, evästeilmoitus, tilin poisto */
.check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.95rem; color: var(--ink); margin: 14px 0; line-height: 1.5; }
.check input { margin-top: 5px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--navy); }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 36rem; margin: 0 auto;
  background: var(--navy); color: #e4e6ef; border-radius: var(--r); padding: 14px 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.consent p { margin: 0 0 8px; font-size: 0.95rem; }
.consent a { color: var(--amber); }
.consent .row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.consent .btn.ghost { color: #e4e6ef; border-color: rgba(255, 255, 255, 0.4); }
details.danger { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px; }
details.danger summary { color: #a12d2d; }
