/* ============================================================
   Tendera — uusi julkinen sivusto (mock v1 · 2026-08-16)
   Ilme: rauhallinen datatalo ilman datatalo-sanaa.
   Paperi + ink + Tendera-oranssi. Asiakirjaotteet serifillä.
   ============================================================ */

@font-face {
  font-family: "Aptos Display";
  src: url("AptosDisplay.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Aptos Display";
  src: url("AptosDisplay-Bold.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}

:root {
  --paper: #faf7f1;
  --paper-raise: #fffdf9;
  --paper-warm: #f4ede1;
  --ink: #1f2a33;
  --ink-deep: #141d25;
  --ink-soft: #33424e;
  --muted: #5f6d78;
  --line: #e6ddcd;
  --line-soft: #efe8db;
  --orange: #f0761f;
  --orange-deep: #cf5e0d;
  --orange-tint: #ffe9d6;
  --orange-faint: #fdf3e7;
  --green: #1f9e54;
  --green-tint: #e2f4e8;
  --serif: "Charter", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: "Aptos Display", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 1px 2px rgba(31, 42, 51, 0.05), 0 12px 32px -12px rgba(31, 42, 51, 0.14);
  --shadow-lift: 0 2px 4px rgba(31, 42, 51, 0.06), 0 24px 56px -16px rgba(31, 42, 51, 0.22);
  --wrap: 1120px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--orange-tint); color: var(--ink); }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-deep);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px;
}

.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); line-height: 1.65; }

/* ---------- Napit ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 16.5px; font-weight: 700;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 2px 6px rgba(240, 118, 31, 0.28), 0 12px 28px -10px rgba(240, 118, 31, 0.5);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn-quiet {
  color: var(--ink); background: transparent; padding: 15px 10px; font-weight: 700;
  border-radius: 8px;
}
.btn-quiet .arr { transition: transform 0.3s var(--ease-out); }
.btn-quiet:hover .arr { transform: translateX(4px); }
.btn-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* ---------- Navigaatio ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; gap: 34px;
  padding: 14px clamp(20px, 4vw, 40px);
  max-width: var(--wrap); margin: 0 auto;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; margin-left: 8px; }
.nav-links a {
  text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--ink-soft);
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
.nav-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.nav-cta .login { text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--ink-soft); }
.nav-cta .login:hover { color: var(--ink); }
.nav-cta .btn { padding: 10px 22px; font-size: 15px; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .login { display: none; }
  .nav-burger {
    display: grid; place-items: center; width: 42px; height: 42px;
    background: none; border: 1.5px solid var(--line); border-radius: 10px;
    margin-left: auto; cursor: pointer; color: var(--ink);
  }
  .nav-cta { margin-left: 0; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper-raise); border-bottom: 1px solid var(--line);
    padding: 18px clamp(20px, 4vw, 40px) 26px; gap: 16px;
    box-shadow: var(--shadow);
  }
}

/* ---------- Sektiorytmi ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 16px; }

/* ---------- Scroll-reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; } .rv-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Asiakirjaote (serif-dokumenttikortti) ---------- */
.doc {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 18px 20px 16px;
  font-family: var(--serif);
  font-size: 15.5px; line-height: 1.55; color: var(--ink-soft);
  position: relative;
  box-shadow: var(--shadow);
}
.doc::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 3px; background: var(--orange); border-radius: 0 3px 3px 0;
}
.doc .doc-meta {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  display: flex; gap: 8px; align-items: center; margin-bottom: 8px;
}
.doc .doc-meta .chip {
  background: var(--paper-warm); border-radius: 5px; padding: 2px 8px;
}
.doc strong { color: var(--ink); }

/* ---------- Esimerkkidata-vesileima ---------- */
.demo-tag {
  position: absolute; top: 10px; right: 12px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); opacity: 0.75;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: #c8d2da; margin-top: clamp(40px, 7vw, 90px); }
.footer a { text-decoration: none; color: #c8d2da; }
.footer a:hover { color: #fff; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-brand img { height: 30px; opacity: 0.95; }
.footer-brand p {
  font-family: var(--serif); font-style: italic; font-size: 16.5px;
  color: #9fb0bd; margin-top: 18px; max-width: 300px; line-height: 1.55;
}
.footer h4 {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #8291a0; margin-bottom: 16px;
}
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 13.5px; color: #8291a0; align-items: center;
}
.footer-bottom .mock-note { margin-left: auto; color: #66788a; }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom .mock-note { margin-left: 0; }
}

/* ============================================================
   ETUSIVU
   ============================================================ */

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  margin: 18px 0 22px;
}
.hero h1 em {
  font-style: normal; color: var(--orange-deep); position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 0.04em; height: 0.14em;
  background: var(--orange-tint); z-index: -1; border-radius: 3px;
}
.hero .lead { max-width: 520px; margin-bottom: 34px; }
.hero .lead strong { color: var(--ink); font-weight: 700; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.hero-note b { color: var(--ink-soft); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: 620px; }
}

/* Hero-tuotekortti: hankinnan aikajana */
.product-card {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  position: relative;
}
.product-card-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--paper-warm) 55%, var(--paper-raise));
}
.product-card-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.product-card-bar .app-label {
  margin-left: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.product-card-body { padding: 22px 22px 20px; }
.pc-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pc-title .name { font-weight: 700; font-size: 16.5px; }
.pc-title .status {
  font-size: 12px; font-weight: 700; color: var(--orange-deep);
  background: var(--orange-faint); border: 1px solid var(--orange-tint);
  padding: 3px 10px; border-radius: 999px;
}

/* Aikajana-komponentti */
.tl { position: relative; padding: 8px 0 4px; }
.tl-rail {
  position: absolute; left: 10px; right: 10px; top: 26px; height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 46%, var(--line) 46%, var(--line) 62%, var(--orange) 62%, var(--orange) 100%);
  border-radius: 2px;
}
.tl-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; position: relative; }
.tl-step { text-align: left; padding-top: 40px; position: relative; min-width: 0; }
.tl-step .node {
  position: absolute; top: 19px; left: 10px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--paper-raise);
  box-shadow: 0 0 0 1.5px var(--orange);
}
.tl-step.muted-step .node { background: var(--paper-raise); box-shadow: 0 0 0 1.5px var(--muted); }
.tl-step.hilma .node {
  background: var(--ink); box-shadow: 0 0 0 1.5px var(--ink);
  width: 17px; height: 17px; top: 18px;
}
.tl-step .when { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--orange-deep); text-transform: uppercase; }
.tl-step.hilma .when, .tl-step.muted-step .when { color: var(--muted); }
.tl-step .what {
  font-size: 12.5px; font-weight: 700; line-height: 1.25; margin-top: 3px;
  padding-right: 8px; overflow-wrap: break-word; hyphens: manual;
}
.tl-step .src { font-size: 11.5px; color: var(--muted); margin-top: 2px; padding-right: 8px; overflow-wrap: break-word; }
.tl-bracket {
  margin: 20px 10px 0; padding: 9px 14px;
  border: 1.5px dashed var(--orange); border-radius: 9px;
  background: var(--orange-faint);
  font-size: 13px; font-weight: 700; color: var(--orange-deep);
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
}
@media (max-width: 640px) {
  .tl-rail { left: 26px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--orange) 0%, var(--orange) 46%, var(--line) 46%, var(--line) 62%, var(--orange) 62%, var(--orange) 100%); }
  .tl-steps { grid-template-columns: 1fr; gap: 18px; }
  .tl-step { padding-top: 0; padding-left: 52px; }
  .tl-step .node { left: 19px; top: 4px; }
  .tl-step.hilma .node { top: 3px; }
}

.hero-doc { margin-top: 18px; }

/* ---------- Heron interaktiivinen markkinapreview ---------- */
.hero { isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto auto; width: 60%; height: 120%;
  background:
    radial-gradient(circle at 78% 30%, rgba(240, 118, 31, 0.10), transparent 45%),
    radial-gradient(circle at 60% 70%, rgba(240, 118, 31, 0.06), transparent 40%);
  z-index: -1; pointer-events: none;
}
.market-try { margin-top: 30px; max-width: 520px; }
.mt-label { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-soft); margin-bottom: 10px; }
.mt-input-row { display: flex; gap: 10px; }
.mt-input {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 13px 20px; font-size: 16px; color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.3s;
}
.mt-input:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,118,31,0.14), var(--shadow); }
.mt-input input {
  border: none; outline: none; background: none; flex: 1; min-width: 0;
  font: inherit; color: inherit;
}
.mt-input input::placeholder { color: var(--muted); }
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mt-chip {
  font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  background: none; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 15px; color: var(--ink-soft); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.3s var(--ease-out);
}
.mt-chip:hover { transform: translateY(-1px); border-color: var(--muted); }
.mt-chip.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Preview-paneeli */
.market-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 22px; position: relative;
}
.mp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.mp-head .t { font-weight: 700; font-size: 16px; }
.mp-head .t b { color: var(--orange-deep); }
.mp-live {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.mp-live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  animation: mplive 2.4s ease-in-out infinite;
}
@keyframes mplive { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(240,118,31,0.5); } 50% { opacity: 0.75; box-shadow: 0 0 0 6px rgba(240,118,31,0); } }
.mp-rows { display: grid; gap: 9px; }
.mp-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  background: var(--paper); border-radius: 10px; padding: 12px 14px;
  opacity: 1; transform: none;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.market-panel.switching .mp-row { opacity: 0; transform: translateY(8px); transition: none; }
.mp-row .stage {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 6px; padding: 4px 9px; white-space: nowrap;
}
.mp-row .stage.early { background: var(--orange-faint); border: 1px solid var(--orange-tint); color: var(--orange-deep); }
.mp-row .stage.open { background: var(--paper-warm); border: 1px solid var(--line); color: var(--ink-soft); }
.mp-row .name { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.mp-row .name small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.mp-row .time { font-size: 12px; font-weight: 700; color: var(--orange-deep); white-space: nowrap; }
.mp-row .time.later { color: var(--muted); font-weight: 600; }
.mp-more {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 13px; padding-top: 13px; border-top: 1px dashed var(--line);
  font-size: 13.5px;
}
.mp-more a { font-weight: 700; color: var(--orange-deep); text-decoration: none; }
.mp-more a:hover { text-decoration: underline; }
.mp-more .demo-note { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 980px) { .market-try { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .mp-live::before { animation: none; } }

/* ---------- Datakortti (neutraali, ei app-imitaatiota) ---------- */
.demo-card {
  background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 20px; position: relative;
}
.demo-card .dc-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-bottom: 14px;
}
.demo-card .dc-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--orange-deep); background: var(--orange-faint); border: 1px solid var(--orange-tint);
  border-radius: 6px; padding: 3px 9px;
}
.demo-card .dc-demo { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); opacity: 0.8; }

/* Logopalkin kuvalogot */
.logos .mark-img { height: 31px; width: auto; opacity: 0.8; transition: opacity 0.25s; }
.logos .mark-img:hover { opacity: 1; }
@media (max-width: 640px) { .logos .mark-img { height: 24px; } }

/* ---------- Hyödyt: scrollytelling (valkoinen pinta) ---------- */
.bene { background: #fffefb; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.bene-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.bene-list { display: grid; }
.bene-item { padding: clamp(30px, 4vw, 48px) 0; border-top: 1px solid var(--line-soft); opacity: 0.38; transition: opacity 0.5s var(--ease-out); }
.bene-item:first-child { border-top: none; padding-top: 8px; }
.bene-item.active { opacity: 1; }
.bene-item h3 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 10px; }
.bene-item > p { color: var(--ink-soft); font-size: 16.5px; max-width: 46ch; }
.bene-why {
  display: flex; gap: 10px; margin-top: 14px; font-size: 14.5px; color: var(--muted);
  border-left: 2.5px solid var(--orange); padding-left: 12px; max-width: 46ch;
}
.bene-why b { color: var(--orange-deep); font-weight: 700; }
.bene-mini { display: none; margin-top: 18px; }
.bene-visual { position: sticky; top: calc(50vh - 250px); }
.bene-panels { position: relative; min-height: 460px; }
.bene-panel {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0; transform: translateY(14px) scale(0.99);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  pointer-events: none;
}
.bene-panel.active { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 940px) {
  .bene-grid { grid-template-columns: 1fr; }
  .bene-visual { display: none; }
  .bene-mini { display: block; }
  .bene-item { opacity: 1; }
}

/* Feed-visuaali (lähteet yhdessä näkymässä) */
.feed-rows { display: grid; gap: 8px; }
.feed-row {
  display: flex; gap: 10px; align-items: center;
  background: var(--paper); border-radius: 8px; padding: 10px 12px; font-size: 13.5px;
}
.feed-row .src-b {
  flex-shrink: 0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--orange-faint); border: 1px solid var(--orange-tint); color: var(--orange-deep);
  border-radius: 5px; padding: 2px 7px;
}
.feed-row .src-b.alt { background: var(--paper-warm); border-color: var(--line); color: var(--muted); }
.feed-row b { font-weight: 600; }
.feed-row small { margin-left: auto; color: var(--muted); white-space: nowrap; }

/* ---------- Etumatka: milloin näet hankkeen ---------- */
.vs-band { overflow: clip; }
.vs-wrap { position: relative; padding-top: 34px; }
.vs-marker {
  position: absolute; top: 0; bottom: 26px; left: calc(148px + (100% - 148px) * 0.72);
  border-left: 2px dashed var(--muted); opacity: 0.55; pointer-events: none;
}
.vs-marker span {
  position: absolute; top: -6px; left: 10px; white-space: nowrap;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft);
}
.vs-rows { display: grid; gap: 14px; }
.vs-row { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
.vs-row .vs-label { font-size: 14.5px; font-weight: 700; text-align: right; line-height: 1.3; }
.vs-row.trad .vs-label { color: var(--muted); }
.vs-track { position: relative; height: 48px; background: color-mix(in srgb, var(--paper-warm) 60%, transparent); border-radius: 10px; }
.vs-bar {
  position: absolute; top: 6px; bottom: 6px; border-radius: 7px;
  display: flex; align-items: center; gap: 12px; padding: 0 18px;
  font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden;
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.1s var(--ease-out);
}
.vs-bar > span { opacity: 0; transition: opacity 0.5s 0.7s; }
.in .vs-bar { transform: scaleX(1); }
.in .vs-bar > span { opacity: 1; }
.vs-row.tendera .vs-bar { left: 0; right: 0; background: var(--orange); color: #fff; box-shadow: 0 6px 18px -6px rgba(240,118,31,0.55); }
.vs-row.trad .vs-bar { left: 72%; right: 0; background: #d9d2c4; color: var(--ink-soft); transition-delay: 0.35s; padding: 0 12px; }
.vs-out {
  position: absolute; right: calc(28% + 14px); top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--muted); white-space: nowrap;
}
.vs-scale {
  display: flex; justify-content: space-between; margin-top: 8px; padding-left: 148px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.vs-note { margin-top: 20px; font-size: 15px; color: var(--muted); padding-left: 148px; }
.vs-note b { color: var(--ink); }
@media (max-width: 760px) {
  .vs-marker, .vs-out, .vs-scale { display: none; }
  .vs-wrap { padding-top: 0; }
  .vs-row { grid-template-columns: 1fr; gap: 6px; }
  .vs-row .vs-label { text-align: left; }
  .vs-row.trad .vs-bar { left: 40%; }
  .vs-note { padding-left: 0; }
}

/* ---------- Kehitteillä-lohko ---------- */
.soon { background: var(--paper-warm); }
.soon-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.soon-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft); border: 1.5px solid var(--ink-soft);
  border-radius: 999px; padding: 4px 13px; margin-bottom: 16px; opacity: 0.8;
}
.soon h2 { font-size: clamp(25px, 3.2vw, 36px); margin-bottom: 14px; }
.soon h2 em { font-style: normal; color: var(--orange-deep); }
.soon p { color: var(--ink-soft); max-width: 54ch; }
.soon-list { list-style: none; display: grid; gap: 12px; }
.soon-list li {
  display: flex; gap: 12px; align-items: baseline;
  background: var(--paper-raise); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; font-size: 15px; color: var(--ink-soft);
}
.soon-list li::before { content: "→"; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.soon-list b { color: var(--ink); }
.soon-foot { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .soon-inner { grid-template-columns: 1fr; } }

/* Arkistokaistan AI-päätöslause */
.archive-ai {
  margin-top: clamp(36px, 5vw, 52px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 22px;
}
.archive-ai .line { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 26px); color: #fff; }
.archive-ai .line b { color: var(--orange); font-style: normal; font-weight: 400; }
.archive-ai p { font-size: 14.5px; color: #a7b4c0; max-width: 52ch; }
.archive-ai .beta-tag { border-color: rgba(255,255,255,0.25); background: none; color: #8fa0af; margin: 0; }

/* ---------- Logopalkki ---------- */
.logos { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: color-mix(in srgb, var(--paper-warm) 30%, var(--paper)); }
.logos-inner {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: 26px 0; flex-wrap: wrap;
}
.logos .label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.logos .mark {
  font-weight: 700; font-size: 17.5px; color: var(--ink-soft); opacity: 0.62;
  letter-spacing: 0.01em; filter: grayscale(1);
  transition: opacity 0.25s;
}
.logos .mark:hover { opacity: 0.95; }

/* ---------- Arkisto (tumma mekanismilohko) ---------- */
.archive { background: var(--ink-deep); color: #e9eef2; }
.archive .eyebrow { color: var(--orange); }
.archive h2 { color: #fff; }
.archive .section-head p { color: #a7b4c0; }
.archive-flow {
  display: grid; grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 30px); align-items: center; margin-top: 10px;
}
.src-list { display: grid; gap: 9px; }
.src-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px; padding: 11px 16px;
  font-size: 15px; font-weight: 600; color: #dde5eb;
}
.src-item .s-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.src-item small { margin-left: auto; font-weight: 400; color: #8291a0; font-size: 12.5px; text-align: right; }
.flow-arrow { display: grid; place-items: center; color: var(--orange); }
.archive-search {
  background: #fff; color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 22px; position: relative;
}
.archive-search .as-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.as-input {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 16px;
  font-size: 16px; color: var(--ink);
}
.as-input .caret { width: 2px; height: 20px; background: var(--orange); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.as-results { margin-top: 14px; display: grid; gap: 8px; }
.as-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 10px 12px; border-radius: 8px; background: var(--paper);
  font-size: 14px;
}
.as-row .t { font-weight: 600; }
.as-row .k { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.as-more { font-size: 13px; color: var(--muted); padding: 4px 12px 0; }
.archive-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(24px, 5vw, 64px);
  justify-content: start; margin-top: clamp(36px, 5vw, 56px);
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);
}
.astat .n {
  font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #fff; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.astat .n sup { color: var(--orange); font-size: 0.5em; }
.astat .l { font-size: 13.5px; color: #8fa0af; margin-top: 2px; }
.archive-foot { font-size: 12.5px; color: #66788a; margin-top: 18px; }
.archive-proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); margin-top: clamp(36px, 5vw, 56px); }
.aproof { border-top: 2px solid var(--orange); padding-top: 16px; }
.aproof h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.aproof p { font-size: 14.5px; color: #a7b4c0; line-height: 1.6; }
@media (max-width: 940px) {
  .archive-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .archive-proofs { grid-template-columns: 1fr; gap: 22px; }
  .archive-stats { grid-template-columns: 1fr 1fr; gap: 26px; }
}

/* ---------- Vertailutaulukko-visuaali ---------- */
.cmp-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.cmp-table caption {
  caption-side: top; text-align: left; padding: 0 0 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.cmp-table th {
  text-align: left; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1.5px solid var(--line);
}
.cmp-table td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); }
.cmp-table td.num { text-align: right; font-weight: 600; white-space: nowrap; }
.cmp-table tr.win td { background: var(--green-tint); }
.cmp-table tr.win td:first-child { border-radius: 8px 0 0 8px; }
.cmp-table tr.win td:last-child { border-radius: 0 8px 8px 0; }
.win-chip {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--green); background: #fff;
  border: 1px solid var(--green); border-radius: 999px; padding: 1px 8px; margin-left: 8px;
}

/* pienet tuotevisualisoinnit */
.mini {
  background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius-s);
  box-shadow: var(--shadow); padding: 16px; font-size: 13.5px; position: relative;
}
.mini .demo-tag { position: static; display: block; text-align: right; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-t {
  background: var(--orange-faint); border: 1px solid var(--orange-tint);
  color: var(--orange-deep); font-weight: 700; font-size: 12.5px;
  padding: 4px 11px; border-radius: 999px;
}
.chip-plus { background: none; border: 1.5px dashed var(--line); color: var(--muted); font-weight: 600; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; }
.alert-row {
  display: flex; gap: 10px; align-items: center; margin-top: 12px;
  background: var(--paper); border-radius: 8px; padding: 10px 12px;
}
.alert-row .bell { color: var(--orange); }
.alert-row b { font-size: 13.5px; }
.alert-row small { color: var(--muted); display: block; font-size: 12px; }
.req-list { list-style: none; display: grid; gap: 8px; }
.req-list li { display: flex; gap: 9px; align-items: baseline; }
.req-list .ok { color: var(--green); font-weight: 700; }
.req-list .warn { color: var(--orange-deep); font-weight: 700; }
.req-src { margin-top: 10px; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kb-col { background: var(--paper); border-radius: 8px; padding: 8px; }
.kb-col h5 { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.kb-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 6px;
  padding: 7px 9px; font-size: 12px; font-weight: 600; margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(31,42,51,0.05);
}
.kb-card small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.kb-card.won { border-color: var(--green); background: var(--green-tint); }

/* ---------- AI-periaate ---------- */
.ai-strip { background: var(--paper-warm); }
.ai-strip-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.ai-strip h2 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(26px, 3.4vw, 38px); letter-spacing: 0;
}
.ai-strip h2 b { color: var(--orange-deep); font-style: normal; font-weight: 400; }
.ai-strip p { color: var(--muted); margin-top: 16px; font-size: 16.5px; }
.beta-tag {
  display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--paper-raise);
}

/* ---------- Sitaattipaikka ---------- */
.quote-slot {
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); text-align: center; position: relative;
  max-width: 780px; margin: 0 auto; background: color-mix(in srgb, var(--paper-raise) 60%, transparent);
}
.quote-slot .qmark { font-family: var(--serif); font-size: 64px; line-height: 0.6; color: var(--orange-tint); display: block; margin-bottom: 14px; }
.quote-slot p.q { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 auto 14px; }
.quote-slot .who { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.quote-slot .who small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Hinnoitteluteaser ---------- */
.p-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); margin-top: 8px; }
.pt-card {
  background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.pt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pt-card.hot { border-color: var(--orange); border-width: 1.5px; }
.pt-card .tier { font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.pt-card.hot .tier { color: var(--orange-deep); }
.pt-card .job { font-size: 18px; font-weight: 700; margin: 6px 0 12px; }
.pt-card .price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.pt-card .price small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.pt-card .seats { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.p-teaser-foot { display: flex; gap: 20px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.p-teaser-foot .fine { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .p-teaser { grid-template-columns: 1fr; } }

/* ---------- Kaksi polkua (loppu-CTA) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.path {
  border-radius: var(--radius); padding: clamp(30px, 4vw, 46px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.path h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 4px; }
.path p { font-size: 16px; margin-bottom: 22px; max-width: 380px; }
.path .btn { margin-top: auto; }
.path-self { background: var(--orange-faint); border: 1px solid var(--orange-tint); }
.path-self p { color: var(--ink-soft); }
.path-sales { background: var(--ink-deep); color: #e9eef2; }
.path-sales h3 { color: #fff; }
.path-sales p { color: #a7b4c0; }
.path .micro { font-size: 13px; color: var(--muted); margin-top: 10px; }
.path-sales .micro { color: #8291a0; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* ============================================================
   HINNASTO
   ============================================================ */
.pricing-hero { padding: clamp(52px, 7vw, 88px) 0 clamp(20px, 3vw, 36px); text-align: center; }
.pricing-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 16px 0 18px; }
.pricing-hero .lead { max-width: 560px; margin: 0 auto; }
.billing-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Karsiva kysymys */
.chooser { max-width: 900px; margin: clamp(28px, 4vw, 44px) auto 0; }
.chooser-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.chooser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice {
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1.4;
  text-align: left; padding: 16px 18px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper-raise); color: var(--ink-soft);
  cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease-out);
}
.choice:hover { transform: translateY(-2px); border-color: var(--muted); }
.choice.active { border-color: var(--orange); background: var(--orange-faint); color: var(--ink); }
.choice .c-arrow { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--orange-deep); opacity: 0; transition: opacity 0.2s; }
.choice.active .c-arrow { opacity: 1; }
@media (max-width: 760px) { .chooser-grid { grid-template-columns: 1fr; } }

/* Free-rivi */
.free-row {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 26px; margin-bottom: clamp(20px, 3vw, 30px);
}
.free-row .fr-name { font-weight: 700; font-size: 18px; }
.free-row .fr-name small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.free-row .fr-feats { font-size: 14.5px; color: var(--muted); flex: 1; min-width: 260px; }
.free-row .btn { padding: 11px 22px; font-size: 15px; }

/* Hinnastokortit */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.plan {
  background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
.plan.featured {
  border: 1.5px solid var(--orange);
  box-shadow: 0 2px 6px rgba(240,118,31,0.12), 0 28px 60px -18px rgba(240,118,31,0.3);
}
.plan.flash { animation: planflash 1.6s var(--ease-out); }
@keyframes planflash {
  0% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(240,118,31,0.0); }
  25% { transform: translateY(-6px); box-shadow: 0 0 0 6px rgba(240,118,31,0.18), var(--shadow-lift); }
  100% { transform: translateY(0); }
}
.plan .badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 4px 13px;
}
.plan .tier { font-size: 13.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan .job { font-family: var(--serif); font-style: italic; font-size: 17.5px; color: var(--ink-soft); margin: 6px 0 18px; }
.plan .price { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan .seats { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.plan .seats b { color: var(--ink-soft); }
.plan hr { border: none; border-top: 1px solid var(--line-soft); margin: 20px 0 18px; }
.plan .inc { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 15px; margin-bottom: 26px; }
.plan ul li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-soft); }
.plan ul li::before { content: "✓"; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.plan ul li.hl { font-weight: 700; color: var(--ink); }
.plan .btn { width: 100%; margin-top: auto; }
.plan .under-btn { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } .plan.featured { order: -1; } }

/* Enterprise */
.ent-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: var(--ink-deep); color: #e9eef2; border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px); margin-top: clamp(20px, 3vw, 30px);
}
.ent-row h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.ent-row p { color: #a7b4c0; font-size: 15.5px; max-width: 640px; }
@media (max-width: 760px) { .ent-row { grid-template-columns: 1fr; } }

.addon-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 22px; }
.addon-note b { color: var(--ink-soft); }

/* Vertailutaulukko */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raise); box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.compare thead th {
  position: sticky; top: 0; background: var(--paper-raise);
  text-align: center; padding: 16px 14px; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--line);
}
.compare thead th:first-child { text-align: left; }
.compare thead th.hot { color: var(--orange-deep); }
.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: center; color: var(--ink-soft); }
.compare td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare tr.grp td {
  background: var(--paper-warm); font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); text-align: left; padding: 10px 14px;
}
.compare .yes { color: var(--orange-deep); font-weight: 700; }
.compare .no { color: var(--line); }
.compare td.hot-col { background: var(--orange-faint); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; font-weight: 700; font-size: 17px; padding: 18px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { color: var(--orange); font-size: 22px; font-weight: 400; transition: transform 0.3s var(--ease-out); flex-shrink: 0; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .fa-body { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 660px; }

/* ============================================================
   MARKKINADATA
   ============================================================ */
.md-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 5vw, 64px); }
.md-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.md-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 18px 0 20px; }
.md-hero .lead { max-width: 500px; margin-bottom: 30px; }
@media (max-width: 940px) { .md-hero-grid { grid-template-columns: 1fr; } }

.proof-bar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: color-mix(in srgb, var(--paper-warm) 35%, var(--paper)); }
.proof-bar-inner { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px; padding: 26px 0; }
.pstat .n { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pstat .n sup { color: var(--orange-deep); font-size: 0.55em; }
.pstat .l { font-size: 13px; color: var(--muted); }
.proof-foot { font-size: 12px; color: var(--muted); padding: 0 0 14px; }
@media (max-width: 760px) { .proof-bar-inner { grid-template-columns: 1fr 1fr; justify-content: start; } }

/* kykykortit — 2×2 vaihteleva */
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 26px); }
.cap {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raise);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cap .cap-num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--orange); }
.cap h3 { font-size: 21px; margin: 8px 0 10px; }
.cap p { font-size: 15.5px; color: var(--muted); }
.cap .cap-detail { margin-top: 16px; }
@media (max-width: 860px) { .caps { grid-template-columns: 1fr; } }

/* Q&A-esimerkit */
.qa-list { display: grid; gap: clamp(20px, 3vw, 30px); max-width: 860px; }
.qa { display: grid; gap: 10px; }
.qa .q {
  justify-self: start; background: var(--ink); color: var(--paper);
  border-radius: 16px 16px 16px 4px; padding: 12px 20px;
  font-weight: 600; font-size: 16px; max-width: 560px;
}
.qa .a {
  justify-self: end; width: min(640px, 100%);
}
.qa .a .mini { border-radius: 16px 4px 16px 16px; }
.ans-head { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ans-head::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.ans-rows { display: grid; gap: 7px; }
.ans-row { display: flex; justify-content: space-between; gap: 14px; background: var(--paper); border-radius: 7px; padding: 9px 12px; font-size: 13.5px; }
.ans-row b { font-weight: 600; }
.ans-row .v { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Kapeat näytöt: rivikomponenttien nowrap-arvot saavat rivittyä */
@media (max-width: 640px) {
  .as-row, .ans-row { flex-wrap: wrap; }
  .as-row .k, .ans-row .v { white-space: normal; }
  .hero-ctas .btn, .paths .btn { width: 100%; }
  .problems .problem { padding-right: 0; }
}

/* kenelle */
.for-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 26px); }
.for-item { border-top: 2px solid var(--orange); padding-top: 16px; }
.for-item h3 { font-size: 18.5px; margin-bottom: 8px; }
.for-item p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .for-grid { grid-template-columns: 1fr; } }

/* luottamus */
.trust { background: var(--paper-warm); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.trust-item h3 { font-size: 17.5px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.trust-item h3::before { content: "✓"; color: var(--orange-deep); }
.trust-item p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }
