@font-face { font-family: 'Quicksand'; src: url('/assets/fonts/quicksand-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/assets/fonts/quicksand-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/assets/fonts/quicksand-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* Webbiketun brändi: Quicksand kaikkialla, otsikot 700 (webbikettu.fi:n Elementor-teema). */
  --font-display: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;

  /* Webbiketun brändivärit (webbikettu.fi:n Elementor-teema): oranssi #FF8400, minttu #06CAA7,
     harmaa #EEEEEE. Navy on Digivahdin oma ("digi" logossa). */
  --navy: #16263b;
  --night: #0f1b2b;
  --night-2: #13233a;
  --orange: #ff8400;
  --orange-deep: #a85600;      /* oranssi TEKSTINÄ vaalealla pohjalla (AA myös #eeeeee:llä) */
  --mint: #06caa7;
  --mint-text: #0a7a5b;
  --warn: #ffb547;
  --bad: #ff6b5b;

  --bg: #ffffff;
  --paper: #ffffff;
  --sand: #eeeeee;
  --ink: #0a0e1a;
  --ink-soft: #343b47;
  --muted: #4d5563;
  --rule: #e2e2e2;

  --on-dark: rgba(255,255,255,.92);
  --on-dark-soft: rgba(255,255,255,.72);
  --on-dark-rule: rgba(255,255,255,.12);

  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Ilmestymisanimaatiot alkavat opacity:0:sta — ilman animaatiota ne jäisivät näkymättömiksi
     (iPhonen "Vähennä liikettä" piilotti koko heron). */
  html .reveal, html .log li { opacity: 1; transform: none; } /* html: voittaa myöhemmät .reveal- ja .log li -säännöt */
}
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 500; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; } /* ilman height:autoa width/height-attribuutit venyttävät kuvan kun CSS kaventaa sitä */
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* --- Napit ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: 16px 45px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: #fff; color: var(--orange); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark { border-color: var(--navy); }
.btn-dark:hover { background: #fff; color: var(--navy); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* --- Yläpalkki ------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,27,43,.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--on-dark-rule);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: 40px; }
.brand .word { font-weight: 700; font-size: 25px; letter-spacing: -.02em; line-height: 1; }
.brand .word b { color: var(--orange); font-weight: 700; }
.brand small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 4px; font-weight: 600; }
.parent { display: flex; align-items: center; padding-left: 18px; margin-left: 4px; border-left: 1px solid var(--on-dark-rule); margin-right: auto; }
.parent img { height: 26px; width: auto; opacity: .92; }
.parent:hover img { opacity: 1; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--on-dark-soft); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
@media (max-width: 1100px) { .nav { gap: 18px; } } /* neljä tekstilinkkiä + EN + Kirjaudu + nappi mahtuu 901 px:iin asti */
.nav a:hover { color: #fff; }
.nav .btn { padding: 12px 24px; font-size: 16px; font-weight: 700; white-space: nowrap; }
/* .nav a:hover (valkoinen) voittaisi muuten napin hover-värin */
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }
.nav .btn-primary:hover { color: var(--orange); }
.nav .login { color: #fff; }
.nav .lang { font-size: 13px; letter-spacing: .08em; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 10px; }
.nav .lang:hover { border-color: #fff; }
@media (max-width: 900px) { .nav .hide-m { display: none; } }
@media (min-width: 641px) { .top .brand small { display: none; } } /* logo kertoo saman */
@media (max-width: 640px) { .parent { display: none; } }
@media (max-width: 520px) { .nav { gap: 12px; } .nav .login { display: none; } .brand small { display: none; } .nav .btn { padding: 11px 18px; font-size: 14px; } }

/* --- Hero ------------------------------------------------------------ */
.hero {
  position: relative; color: var(--on-dark); overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% 40%, rgba(6,202,167,.14), transparent 60%),
    radial-gradient(900px 500px at 10% 100%, rgba(255,132,0,.12), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  margin-top: -73px; padding-top: 73px;
}
.hero::before {
  /* hienovarainen mittaruudukko */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--on-dark-rule) 1px, transparent 1px), linear-gradient(90deg, var(--on-dark-rule) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 104px; }
.hero h1 { font-size: clamp(34px, 4.1vw, 56px); color: #fff; }
.hero h1 .q { display: block; }
.hero h1 .q + .q { margin-top: .08em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--on-dark-soft); margin-top: 24px; max-width: 44ch; }
.hero .lead strong { color: #fff; font-weight: 700; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; color: var(--on-dark-soft); list-style: none; padding: 0; }
.hero .assure li { display: flex; align-items: center; gap: 8px; }
.hero .assure li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(6,202,167,.18); }

.reveal { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s } .d2 { animation-delay: .18s } .d3 { animation-delay: .32s } .d4 { animation-delay: .46s } .d5 { animation-delay: .6s }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Tutka + tarkistusloki */
.watch { position: relative; }
.radar { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
/* Tutka + kettu nostettu lokilaatikon yläpuolelle, jotta kettu ei jää laatikon taakse. */
@media (min-width: 961px) { .radar { transform: translateY(-80px); } }
.radar svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sweep {
  position: absolute; inset: 7%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(6,202,167,.0) 0deg, rgba(6,202,167,.0) 280deg, rgba(6,202,167,.42) 358deg, rgba(6,202,167,.0) 360deg);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(6,202,167,.6); animation: ping 6s ease-out infinite; }
.blip.warn { background: var(--warn); box-shadow: 0 0 0 0 rgba(255,181,71,.6); animation-name: pingw; }
.blip.bad { background: var(--bad); width: 14px; height: 14px; margin: -7px 0 0 -7px; animation-name: pingb; }
@keyframes pingb { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,91,.6); opacity: .6 } 4% { opacity: 1 } 20% { box-shadow: 0 0 0 18px rgba(255,107,91,0); opacity: .95 } }
.blip i { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; color: rgba(255,255,255,.6); }
/* Kaari: aika viimeisimmästä tarkistuksesta — täyttyy ja nollautuu kun uusi tarkistus saapuu. */
.radar .arc { stroke-dasharray: 0 100; animation: arcfill 12s linear infinite; opacity: .9; }
@keyframes arcfill { 0% { stroke-dasharray: 0 100; } 92% { stroke-dasharray: 100 0; opacity: .9; } 96% { stroke-dasharray: 100 0; opacity: 0; } 100% { stroke-dasharray: 0 100; opacity: 0; } }
@keyframes ping { 0%, 100% { box-shadow: 0 0 0 0 rgba(6,202,167,.55); opacity: .55 } 4% { opacity: 1 } 20% { box-shadow: 0 0 0 16px rgba(6,202,167,0); opacity: .9 } }
@keyframes pingw { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,181,71,.55); opacity: .6 } 4% { opacity: 1 } 20% { box-shadow: 0 0 0 16px rgba(255,181,71,0); opacity: .9 } }
.radar .core {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%,-50%);
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,132,0,.25), 0 20px 50px -10px rgba(0,0,0,.5);
  display: grid; place-items: center; overflow: hidden;
}
.radar .core img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.log {
  position: absolute; right: -24px; bottom: -64px; width: min(372px, 86%);
  background: rgba(10,18,30,.86); border: 1px solid var(--on-dark-rule); border-radius: 16px; padding: 14px 16px 12px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  font-size: 13.5px;
}
.log header { display: flex; justify-content: space-between; align-items: center; color: var(--on-dark-soft); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.log header .live { display: inline-flex; align-items: center; gap: 6px; color: var(--mint); }
.log header .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25 } }
.log ul { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--on-dark-rule); color: var(--on-dark); opacity: 0; animation: rise .5s ease forwards; }
.log li:first-child { border-top: 0; }
.log li:nth-child(1) { animation-delay: .9s } .log li:nth-child(2) { animation-delay: 1.2s } .log li:nth-child(3) { animation-delay: 1.5s } .log li:nth-child(4) { animation-delay: 1.8s } .log li:nth-child(5) { animation-delay: 2.1s }
.log li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log li.hot { background: linear-gradient(90deg, rgba(255,107,91,.14), transparent 75%); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.log .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.log .dot.warn { background: var(--warn); }
.log .dot.bad { background: var(--bad); }
.log .val.bad { color: var(--bad); }
.log .val { color: var(--on-dark-soft); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.log .val.warn { color: var(--warn); }
.log .note { margin-top: 8px; font-size: 11px; color: rgba(255,255,255,.45); }

.hero-edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; color: var(--bg); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 96px; }
  .watch { max-width: 460px; margin: 0 auto; width: 100%; }
  .log { right: 0; }
}
@media (max-width: 520px) {
  .log { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -24px; }
  .hero .ctas .btn { width: 100%; }
}

/* --- Kolme kysymystä -------------------------------------------------- */
section { position: relative; }
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 50px); margin-top: 14px; color: var(--orange); }
.sec-head p { font-size: 19px; color: var(--ink-soft); margin-top: 18px; }

.questions { margin-top: 56px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.qrow { display: grid; grid-template-columns: 120px 1fr 1.1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.qrow .num { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: .9; color: var(--orange); }
.qrow h3 { font-size: clamp(24px, 2.6vw, 32px); }
.qrow p { color: var(--ink-soft); font-size: 17.5px; }
.qrow ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.qrow li { font-size: 13.5px; font-weight: 700; color: var(--navy); background: var(--sand); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 820px) {
  .qrow { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .qrow .num { font-size: 44px; }
}

/* --- Ominaisuudet ----------------------------------------------------- */
.features { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.feat { padding: 34px 30px 36px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); transition: background .2s ease; }
.feat:nth-child(3n) { border-right: 0; }
.feat:nth-last-child(-n+3) { border-bottom: 0; }
.feat:hover { background: #f7f7f7; }
.feat .ic, .tool .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,132,0,.12); color: var(--orange-deep); margin-bottom: 20px; }
.feat .ic svg, .tool .ic svg { width: 24px; height: 24px; }
.feat h3 { font-family: var(--font-body); font-weight: 700; font-size: 19px; letter-spacing: 0; }
.feat p { color: var(--ink-soft); font-size: 16px; margin-top: 8px; }
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(3n) { border-right: 1px solid var(--rule); }
  .feat:nth-child(2n) { border-right: 0; }
  .feat:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .feat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .feat, .feat:nth-child(3n) { border-right: 0; }
  .feat:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .feat:last-child { border-bottom: 0; }
}

/* --- Näin se toimii -------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; counter-reset: s; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font: 700 17px/1 var(--font-body); color: #fff; background: var(--navy);
}
.step::after { content: ""; position: absolute; top: 21px; left: 56px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: 0; }
.step p { color: var(--ink-soft); margin-top: 8px; font-size: 16.5px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .step::after { display: none; } }

/* --- Hinnasto -------------------------------------------------------- */
.pricing { background: var(--sand); }
.price-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.vat { display: inline-flex; background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 4px; }
.vat button { font: 700 14px/1 var(--font-body); border: 0; background: none; color: var(--muted); padding: 11px 16px; border-radius: 999px; cursor: pointer; }
.vat button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.plan { background: var(--paper); border-radius: 28px; padding: 0 24px 28px; display: flex; flex-direction: column; position: relative; box-shadow: 0 18px 40px -28px rgba(0,0,0,.35); }
.plan.pop { box-shadow: 0 0 0 3px var(--orange), 0 30px 60px -30px rgba(0,0,0,.45); }
.plan.pop .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 1; white-space: nowrap; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--font-body); font-weight: 700; font-size: 24px; letter-spacing: 0; text-align: center;
  margin: 0 -24px 20px; padding: 22px 24px 20px; background: var(--mint); color: #fff; border-radius: 28px 28px 0 0; }
.plan.pop h3 { background: var(--orange); padding-top: 26px; }
.plan .for, .plan .price { text-align: center; justify-content: center; }
.plan .for { font-size: 14.5px; color: var(--muted); margin-top: 4px; min-height: 2.9em; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price .amt { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .per { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; }
.plan li, .checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before, .checks li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%2308251f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
/* Kaikki paketit alkavat samasta rekisteröitymisestä → yksi nappi korttien alla, ei neljää samaan osoitteeseen. */
.plans-cta { display: flex; justify-content: center; margin-top: 36px; }
.price-notes { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--ink-soft); }
.price-notes a { color: var(--orange-deep); font-weight: 700; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }

/* --- Webbikettu-kytkös ----------------------------------------------- */
.kettu { background: var(--mint); color: #08251f; overflow: hidden; }
.kettu .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.kettu img { width: 100%; max-width: 340px; filter: drop-shadow(0 24px 30px rgba(8,37,31,.25)); }
.kettu .wk-logo { display: block; width: 190px; height: auto; max-width: 100%; filter: none; }
.kettu h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 12px; }
.kettu p { font-size: 18px; margin-top: 16px; max-width: 58ch; }
.kettu .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kettu .btn-line { border-color: #08251f; color: #08251f; }
.kettu .btn-line:hover { background: #08251f; color: var(--mint); }
@media (max-width: 820px) { .kettu .wrap { grid-template-columns: 1fr; gap: 24px; } .kettu img { max-width: 220px; } }

/* --- UKK ------------------------------------------------------------- */
.faq-list { margin-top: 44px; border-top: 1px solid var(--rule); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 26px; color: var(--ink-soft); max-width: 70ch; }

/* --- Loppu-CTA + alatunniste ----------------------------------------- */
.final { background: var(--orange) url('/assets/kuvio-webbikettu.webp') center/cover; color: #fff; text-align: center; overflow: hidden; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(34px, 4.6vw, 58px); color: #fff; max-width: 18ch; margin: 0 auto; }
.final h2 em { font-style: normal; color: var(--navy); }
.final p { color: #fff; font-size: 19px; margin: 20px auto 0; max-width: 46ch; }
.final .ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.final .btn-primary { background: #fff; color: var(--orange-deep); border-color: #fff; }
.final .btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.final .btn-ghost { border-color: #fff; }

/* Yhteinen alatunniste webbikettu.fi:n kanssa: sama harmaa pohja, pystylogo, otsikot ja alleviivatut linkit. */
footer { background: var(--sand); color: var(--ink); font-size: 16px; padding: 56px 0 36px; }
footer .cols { display: grid; grid-template-columns: 180px 1.2fr 1fr 1fr 1fr; gap: 32px; }
footer .wk-logo img { width: 140px; height: auto; }
footer h4 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
footer p { color: var(--ink-soft); max-width: 28ch; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
footer a:hover { color: var(--orange-deep); }
footer .legal { border-top: 1px solid #d6d6d6; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }
footer .legal a { color: var(--muted); }
@media (max-width: 960px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .wk-logo { grid-column: 1 / -1; } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr; } }

/* --- Ilmaiset työkalut (/tyokalut/ ja sen alasivut) ------------------- */
/* Alasivun hero: sama yötausta kuin etusivulla, mutta ilman tutkaa. */
.hero.sub .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 40px; padding-bottom: 104px; }
.hero.sub h1 { font-size: clamp(34px, 4vw, 54px); max-width: 20ch; margin-top: 18px; }
.hero.sub .lead { max-width: 62ch; }
.crumbs { font-size: 14px; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--on-dark-soft); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* Osoitekenttä herossa: lähettää osoitteen työkalulle valmiiksi täytettynä. */
.urlform { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; max-width: 640px; }
.urlform label { position: absolute; left: -999px; }
.urlform input {
  flex: 1 1 280px; min-width: 0; font: 600 17px/1.2 var(--font-body); color: #fff;
  padding: 16px 24px; border-radius: 999px; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08);
}
.urlform input::placeholder { color: rgba(255,255,255,.6); }
.urlform input:focus-visible { border-color: var(--orange); outline: none; }
@media (max-width: 520px) { .urlform .btn { width: 100%; } }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.tools.two { grid-template-columns: repeat(2, 1fr); }
.tool { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px 28px 28px; }
.tool .ic { margin-bottom: 18px; }
.tool .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tool h2, .tool h3 { font-family: var(--font-body); font-size: 22px; letter-spacing: 0; margin-top: 6px; }
.tool h2 a, .tool h3 a { text-decoration: none; }
.tool h2 a:hover, .tool h3 a:hover { color: var(--orange-deep); }
.tool p { color: var(--ink-soft); font-size: 16px; margin-top: 10px; }
.tool .meta { font-size: 14px; font-weight: 700; color: var(--mint-text); margin-top: 14px; }
.tool .act { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tool .act .btn { padding: 13px 26px; font-size: 15px; }
.tool .act .more { font-size: 15px; font-weight: 700; color: var(--orange-deep); }
.tools-band { background: var(--sand); }
.tools-band .tool { border-color: transparent; box-shadow: 0 18px 40px -28px rgba(0,0,0,.35); }
@media (max-width: 960px) { .tools, .tools.two { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-size: 17px; color: var(--ink-soft); }
.checks b { color: var(--ink); }
.checks.cols { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .checks.cols { grid-template-columns: 1fr; } }
.split .checks { margin-top: 8px; }
.tools.first { margin-top: 0; }
.sec.tight-top { padding-top: 0; }
