/* ============================================================
   Silta AI – silta-ai.fi
   Ilme: vaalea ja lämmin paperipohja, pinkki→oranssi-energia,
   iso editoriaalinen typografia, live-demo herossa.
   ============================================================ */

:root {
  --paper: #fff7fa;
  --paper-2: #fbecf4;
  --bg-2: #fbecf4; /* alias osioille */
  --card: #ffffff;
  --ink: #211432;
  --muted: #675d7d;
  --faint: #9b92ac;
  --line: rgba(33, 20, 50, 0.1);
  --line-strong: rgba(33, 20, 50, 0.16);

  --pink: #fa2176;
  --orange: #a22bd5; /* violetti tehoste (CRM-paletti: ei oranssia) */
  --grad: linear-gradient(96deg, #fa2176 10%, #a22bd5 90%);

  --dark: #1d1030;
  --dark-2: #2a1a42;
  --on-dark: #f7f3fb;
  --on-dark-muted: #b6abc9;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;

  --shadow-card: 0 1px 2px rgba(33, 20, 50, 0.04), 0 10px 32px rgba(33, 20, 50, 0.07);
  --shadow-pop: 0 2px 6px rgba(33, 20, 50, 0.06), 0 30px 70px -20px rgba(250, 33, 118, 0.28);

  --ease: cubic-bezier(0.2, 0, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Pehmeät väripilvet + rae */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--paper);
  overflow: hidden;
}
.backdrop::before,
.backdrop::after {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  min-width: 480px;
  min-height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.backdrop::before {
  top: -22vw;
  right: -12vw;
  background: radial-gradient(circle, rgba(162, 43, 213, 0.28), transparent 65%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.backdrop::after {
  bottom: -25vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(250, 33, 118, 0.28), transparent 65%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to { transform: translate(-6vw, 8vh) scale(1.12); }
}
@keyframes drift-b {
  to { transform: translate(7vw, -6vh) scale(1.08); }
}
.backdrop .grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(250, 33, 118, 0.25);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}
p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* Pitkät suomen yhdyssanat katkeavat vain merkityn yhdyssanarajan
   kohdalta (pehmeä tavutusmerkki U+00AD template-teksteissä), ei
   automaattisesti tavurajalta – "hakukone-optimointi", ei "hakuko-neoptimointi". */
.h1, .h2, h1, h2 {
  hyphens: manual;
}

.h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 800;
}

.h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
}

.h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 46rem;
  text-wrap: pretty;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}
.section.alt {
  background: linear-gradient(180deg, rgba(162, 43, 213, 0.05), rgba(250, 33, 118, 0.04)), var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 47rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.center {
  text-align: center;
}
.center .section-head,
.center .lead,
.section-head.center,
.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.center .eyebrow,
.section-head.center .eyebrow {
  justify-content: center;
}
.center .h2,
.section-head.center .h2 {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Napit ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition-property: transform, box-shadow, background-color, border-color, color;
  transition-duration: 200ms;
  transition-timing-function: var(--ease);
  will-change: transform;
}
.btn:active {
  transform: scale(0.96);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #fff;
}
.btn-primary {
  background: var(--grad);
  box-shadow: 0 10px 26px -8px rgba(250, 33, 118, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 14px 34px -8px rgba(250, 33, 118, 0.7);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: scale(0.96);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: #fff;
}

.btn-small {
  padding: 0.55rem 1.2rem;
  font-size: 0.92rem;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease), box-shadow 250ms var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 249, 243, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(33, 20, 50, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.logo img {
  height: 34px;
  width: auto;
}
.logo .ai {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav a:not(.btn) {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 0.35rem 0;
  transition: color 180ms var(--ease);
}
.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] {
  color: var(--ink);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 100%;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn)[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease);
}
.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(7.5rem, 15vh, 10.5rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-grid > * {
  min-width: 0;
}
.hero .h1 {
  margin-bottom: 1.25rem;
}
.hero .lead {
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
}
.chip svg {
  width: 14px;
  height: 14px;
  color: var(--pink);
  flex: none;
}

/* ---------- LIVE-DEMO ---------- */
.demo {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: 1.3rem 1.3rem 1.4rem;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
}
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}
.demo-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.demo-tab img {
  width: 16px;
  height: 16px;
}
.demo-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pink);
}
.demo-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.demo-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}
.demo-search svg {
  width: 17px;
  height: 17px;
  color: var(--faint);
  flex: none;
}
.demo-caret {
  width: 2px;
  height: 1.15em;
  background: var(--pink);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% { opacity: 0; }
}
.demo-stage {
  min-height: 0;
}
.demo-panel {
  display: none;
}
.demo-panel.on {
  display: block;
  animation: demo-fade 350ms var(--ease);
}
@keyframes demo-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SERP – aidon Google-tuloksen ilme */
.serp {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* Ilman tätä implisiittinen sarake on max-content → nowrap-otsikot
     venyttävät demon yli kapean ruudun (mobiilin vaakavuoto). minmax(0,1fr)
     pakottaa sarakkeen konttiin, jolloin g-title/g-snip katkeavat ellipsillä. */
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}
.serp li {
  position: relative;
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  padding: 0.35rem 2rem 0.35rem 0.45rem;
  transition: transform 700ms var(--ease), background-color 400ms var(--ease), box-shadow 700ms var(--ease);
}
.serp .g-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.18rem;
}
.serp .fav {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f3f4;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5f6368;
}
.serp .g-site {
  min-width: 0;
  line-height: 1.25;
  font-family: Arial, sans-serif;
}
.serp .g-site strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.serp .g-site span {
  display: block;
  font-size: 0.68rem;
  color: #4d5156;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.serp .g-title {
  font-family: Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 400;
  color: #1a0dab;
  line-height: 1.3;
  margin-bottom: 0.12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.serp .g-title:hover {
  text-decoration: underline;
}
.serp .g-snip {
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  color: #4d5156;
  line-height: 1.45;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.serp .pos {
  position: absolute;
  top: 0.4rem;
  right: 0.35rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 700;
  color: #bdc1c6;
}
.serp li.you {
  background: #fff5f9;
}
.serp li.you .fav {
  background: var(--grad);
  color: #fff;
}
.serp li.you.risen {
  box-shadow: 0 10px 28px -10px rgba(250, 33, 118, 0.35);
}
.serp li.you.risen .pos {
  color: var(--pink);
}

/* AI-vastaus */
.ai-chat {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}
.bubble {
  max-width: 92%;
  border-radius: 16px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.bubble.q {
  justify-self: end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble.a {
  justify-self: start;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  min-height: 3.4em;
}
.bubble.a b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Demon tulosrivi */
.demo-result {
  position: relative;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px dashed var(--line-strong);
  padding-top: 0.95rem;
  min-height: 3.15rem;
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: rgba(21, 173, 100, 0.1);
  color: #0e8a4d;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease);
}
.demo-badge:not(.on) {
  position: absolute;
  visibility: hidden;
}
.demo-badge.on {
  opacity: 1;
  transform: none;
}
.demo-badge svg {
  width: 15px;
  height: 15px;
}
.demo-badge.brand {
  background: rgba(250, 33, 118, 0.09);
  color: var(--pink);
}

/* ---------- Logoseinä ---------- */
.logos {
  padding: 2.6rem 0 3rem;
}
.logos p {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.8rem;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-track img {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.3);
  opacity: 0.55;
  transition: opacity 200ms var(--ease), filter 200ms var(--ease);
}
.marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

/* ---------- Iso väite ---------- */
.claim {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 21ch;
  text-wrap: balance;
}
@media (min-width: 721px) {
  .claim .grad-text {
    white-space: nowrap;
  }
}

/* ---------- Vertailu: vanha tapa vs. Silta AI ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 1.2rem;
  align-items: stretch;
}
.compare-col {
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
}
.compare-col .pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.2rem;
}
.compare-col h3 {
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}
.compare-col .sub {
  font-size: 0.97rem;
  margin-bottom: 1.4rem;
}
.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 1.4rem 0 0;
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid;
}
.compare-col ul li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.compare-col ul svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 3px;
}
.compare-col.old {
  background: var(--dark);
  color: var(--on-dark-muted);
  border: 1px solid transparent;
}
.compare-col.old .pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark-muted);
}
.compare-col.old h3 {
  color: var(--on-dark);
}
.compare-col.old ul {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.compare-col.old ul svg {
  color: rgba(255, 255, 255, 0.35);
}
.compare-col.new {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
}
.compare-col.new::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.compare-col.new .pill {
  background: var(--grad);
  color: #fff;
}
.compare-col.new .sub {
  color: var(--muted);
}
.compare-col.new ul {
  border-top-color: var(--line);
}
.compare-col.new ul li {
  color: var(--muted);
  font-weight: 500;
}
.compare-col.new ul svg {
  color: var(--orange);
}
@media (max-width: 1020px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* USP-rivi */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2rem, 5vw, 3.2rem);
}
.usp {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.usp .no {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 0.7rem;
}
.usp h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.usp p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Kanavat ---------- */
.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.1rem 0.5rem 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
}
.channel img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--paper-2);
  padding: 4px;
}
/* valkoinen ChatGPT-ikoni tarvitsee tumman taustan vaalealla teemalla */
.channel img[src*="ChatGPT"],
.demo-tab img[src*="ChatGPT"] {
  background: var(--dark);
  border-radius: 50%;
}

/* ---------- Askeleet ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.9rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.4rem;
  right: 0.6rem;
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(250, 33, 118, 0.16), rgba(255, 107, 26, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}
.step h3 {
  font-size: 1.22rem;
  max-width: 78%;
}
.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 24px 50px -20px rgba(250, 33, 118, 0.25);
}
.tile.w3 { grid-column: span 3; }
.tile.w2 { grid-column: span 2; }
.tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}
.tile p {
  color: var(--muted);
  font-size: 0.97rem;
}
.tile .viz {
  margin-top: auto;
  padding-top: 1.1rem;
}

/* pienet UI-fragmentit tiileissä */
.kw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.kw {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}
.kw.hot {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 58px;
}
.bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #a22bd5, #fa2176);
  opacity: 0.25;
  transform-origin: bottom;
}
.bars i:nth-child(n+6) { opacity: 0.55; }
.bars i:nth-child(n+9) { opacity: 1; }
.in .bars i {
  animation: grow 900ms var(--ease) backwards;
}
@keyframes grow {
  from { transform: scaleY(0); }
}
.mini-list {
  display: grid;
  gap: 0.4rem;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.42rem 0.65rem;
}
.mini-row .ok {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(21, 173, 100, 0.12);
  color: #0e8a4d;
  display: grid;
  place-items: center;
  flex: none;
}
.mini-row .ok svg {
  width: 10px;
  height: 10px;
}

/* ---------- Kasvukäyrä ---------- */
.growth {
  position: relative;
}
.growth-svg {
  width: 100%;
  height: auto;
  display: block;
}
.growth-path {
  fill: none;
  stroke: url(#growthGrad);
  stroke-width: 4;
  stroke-linecap: round;
}
.growth.in .growth-path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw 2.2s var(--ease) 200ms forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.growth-dot {
  fill: #fff;
  stroke: var(--pink);
  stroke-width: 3.5;
  opacity: 0;
}
.growth.in .growth-dot {
  animation: pop 400ms var(--ease) forwards;
}
.growth.in .growth-dot.d1 { animation-delay: 700ms; }
.growth.in .growth-dot.d2 { animation-delay: 1150ms; }
.growth.in .growth-dot.d3 { animation-delay: 1600ms; }
.growth.in .growth-dot.d4 { animation-delay: 2100ms; stroke: var(--orange); }
@keyframes pop {
  from { opacity: 0; transform: scale(0.3); transform-origin: center; transform-box: fill-box; }
  to { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box; }
}
.growth-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 0.8rem;
}
.gl .when {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.35rem;
}
.gl h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}
.gl p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Tumma lukupalkki ---------- */
.band-dark {
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(250, 33, 118, 0.25), transparent 60%),
    radial-gradient(700px 340px at 90% 110%, rgba(162, 43, 213, 0.24), transparent 60%),
    var(--dark);
  color: var(--on-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.stat {
  text-align: center;
  padding: 0 1rem;
}
.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.stat .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-variant-numeric: tabular-nums;
  background: linear-gradient(96deg, #ff5c9d 10%, #c77dff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat .l {
  color: var(--on-dark-muted);
  font-size: 0.93rem;
  margin-top: 0.3rem;
  text-wrap: balance;
}

/* ---------- Kumppanuuspolku ---------- */
.path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}
.path-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.2rem 1.3rem;
  box-shadow: var(--shadow-card);
}
.path-step .no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--pink);
  display: inline-block;
  margin-bottom: 0.7rem;
}
.path-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.path-step p {
  font-size: 0.88rem;
  color: var(--muted);
}
.path-step:last-child {
  background: linear-gradient(160deg, rgba(250, 33, 118, 0.08), rgba(255, 107, 26, 0.08)), var(--card);
  border-color: rgba(250, 33, 118, 0.35);
}

/* ---------- Kokeilunosto ---------- */
.trial {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(250, 33, 118, 0.09), transparent 65%),
    radial-gradient(600px 300px at 92% 100%, rgba(162, 43, 213, 0.1), transparent 65%),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.trial::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(120deg, rgba(250, 33, 118, 0.8), rgba(162, 43, 213, 0.25) 45%, rgba(162, 43, 213, 0.8));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.trial-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
}
.trial ul {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.trial ul li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 500;
}
.trial ul svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex: none;
  margin-top: 3px;
}
.trial-cta {
  text-align: center;
}
.trial-cta .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trial-cta .sub {
  color: var(--muted);
  font-weight: 600;
  margin: 0.4rem 0 1.4rem;
}

/* ---------- UKK ---------- */
.faq {
  max-width: 50rem;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 200ms var(--ease);
}
.faq details[open] {
  border-color: rgba(250, 33, 118, 0.4);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: var(--font-display);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--pink);
  transition: transform 250ms var(--ease);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq .a {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
}
.faq .a ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.faq .a li {
  margin-bottom: 0.3rem;
}
.faq .a a {
  color: var(--pink);
  font-weight: 600;
}

/* ---------- CTA-vyöhyke ---------- */
.cta-band {
  text-align: center;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}
.cta-band .h2 {
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .lead {
  margin: 0 auto 2.2rem;
}
.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
  position: relative;
}
.footer .ridge-top {
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(24px, 4vw, 44px);
  transform: translateY(-100%);
  color: var(--dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-bottom: 2.5rem;
}
.footer .logo img {
  height: 30px;
}
.footer p {
  color: var(--on-dark-muted);
}
.footer h4 {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.footer ul a,
.footer ul li {
  color: var(--on-dark-muted);
}
.footer ul a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--on-dark-muted);
  font-size: 0.85rem;
}

/* ---------- Ruudukot ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-card);
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: linear-gradient(140deg, rgba(250, 33, 118, 0.1), rgba(255, 107, 26, 0.1));
  border: 1px solid rgba(250, 33, 118, 0.25);
  color: var(--pink);
}
.card .icon svg {
  width: 22px;
  height: 22px;
}
.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Hinnasto ---------- */
.page-hero {
  padding: clamp(7.5rem, 15vh, 10rem) 0 clamp(1.5rem, 4vw, 3rem);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
}
.price-card.featured {
  box-shadow: var(--shadow-pop);
}
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card .tier {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.6rem;
}
.price-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.7rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.price-card .price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-body);
}
.price-card ul {
  list-style: none;
  margin: 1.5rem 0 1.8rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
  flex: 1;
}
.price-card ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 500;
}
.price-card ul svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex: none;
  margin-top: 4px;
}
.price-card .btn {
  width: 100%;
}
.price-note {
  text-align: center;
  color: var(--faint);
  font-size: 0.92rem;
  margin-top: 1.6rem;
}

/* ---------- Tiimi & yhteys ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}
.person img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: top;
  display: block;
}
.person .info {
  padding: 1.2rem 1.3rem 1.4rem;
}
.person h3 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}
.person .role {
  color: var(--pink);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.person a.tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 160ms var(--ease);
}
.person a.tel:hover {
  color: var(--pink);
}
.person a.tel svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info .card {
  margin-bottom: 1rem;
}
.contact-info a {
  color: var(--ink);
  font-weight: 700;
}
.contact-info a:hover {
  color: var(--pink);
}

/* Lomake */
.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-pop);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.field label .req {
  color: var(--pink);
}
.field input,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.95rem;
  min-height: 48px;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(250, 33, 118, 0.15);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.form-status {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--orange);
  font-weight: 600;
}

/* ---------- Tule töihin ---------- */
.perk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.perk-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  color: var(--muted);
  font-weight: 500;
  box-shadow: var(--shadow-card);
}
.perk-list svg {
  width: 20px;
  height: 20px;
  color: var(--pink);
  flex: none;
  margin-top: 3px;
}
.salary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.salary {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.salary.hot {
  border-color: rgba(250, 33, 118, 0.45);
  box-shadow: var(--shadow-pop);
}
.salary .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.3rem;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.salary .l {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}
.role-card {
  border-left: 3px solid var(--pink);
}

/* ---------- Reveal (vain kun JS käytössä) ---------- */
.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(16px);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition-property: opacity, transform;
  transition-duration: 600ms;
  transition-timing-function: var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------- Responsiivisuus ---------- */
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .demo {
    max-width: 520px;
  }
  .grid-3,
  .steps,
  .usp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .tile.w3,
  .tile.w2 {
    grid-column: span 1;
  }
  .path {
    grid-template-columns: repeat(2, 1fr);
  }
  .path-step:last-child {
    grid-column: 1 / -1;
  }
  .growth-labels {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 1.2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .footer-grid,
  .trial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .price-grid,
  .team-grid,
  .salary-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .price-card.featured {
    order: -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-nav {
    display: block;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: rgba(255, 249, 243, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(33, 20, 50, 0.12);
    padding: 0.8rem 1.5rem 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 250ms var(--ease), opacity 250ms var(--ease), visibility 0s 250ms;
    z-index: 99;
  }
  .menu-open .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 250ms var(--ease), opacity 250ms var(--ease);
  }
  .mobile-nav a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav a:last-child {
    border-bottom: 0;
  }
  .grid-3,
  .grid-2,
  .steps,
  .path,
  .perk-list,
  .usp-grid,
  .bento {
    grid-template-columns: 1fr;
  }
  .growth-labels {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    border-left: 0 !important;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 7rem;
  }
}

/* ---------- Vähennetty liike ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .backdrop::before,
  .backdrop::after {
    animation: none;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .demo-live::before,
  .demo-caret {
    animation: none;
  }
  .growth.in .growth-path {
    animation: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
  .growth-dot {
    opacity: 1 !important;
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================
   Tarjouspyyntö-wizard
   ============================================================ */
.wizard-section {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.wizard {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background:
    radial-gradient(600px 300px at 8% 0%, rgba(250, 33, 118, 0.08), transparent 60%),
    radial-gradient(500px 260px at 100% 100%, rgba(162, 43, 213, 0.08), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.6rem, 4vw, 3rem);
}
.wizard-intro .eyebrow {
  margin-bottom: 0.9rem;
}
.wizard-intro .h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.wizard-intro .lead {
  font-size: 1.05rem;
}
.wizard-usps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.wizard-usps li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--ink);
}
.wizard-usps svg {
  width: 18px;
  height: 18px;
  color: var(--pink);
  flex: none;
}

.wizard-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.3rem, 3vw, 1.9rem);
}
.wz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.wz-steplabel {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.wz-dots {
  display: flex;
  gap: 0.4rem;
}
.wz-dot {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: var(--line-strong);
  transition: background-color 250ms var(--ease);
}
.wz-dot.on {
  background: var(--grad);
}
.wz-q {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.wz-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}
.wz-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.wz-goal {
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease);
}
.wz-goal:hover {
  border-color: var(--pink);
}
.wz-goal:active {
  transform: scale(0.97);
}
.wz-goal.on {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.wz-nav {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.wz-nav .wz-next,
.wz-nav .wz-submit {
  margin-left: auto;
}
.wz-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wz-done {
  text-align: center;
  padding: 1rem 0;
}
.wz-done-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
}
.wz-done-icon svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 860px) {
  .wizard {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Chat-lomake (kelluva)
   ============================================================ */
.silta-chat {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 120;
}
.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  cursor: pointer;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(250, 33, 118, 0.55);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -8px rgba(250, 33, 118, 0.7);
}
.chat-toggle-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
}
.chat-toggle-icon svg {
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.chat-toggle-icon .ic-close {
  opacity: 0;
  transform: rotate(-45deg);
}
.silta-chat.open .chat-toggle-icon .ic-chat {
  opacity: 0;
  transform: rotate(45deg);
}
.silta-chat.open .chat-toggle-icon .ic-close {
  opacity: 1;
  transform: rotate(0);
}
@media (max-width: 520px) {
  .chat-toggle-label {
    display: none;
  }
  .chat-toggle {
    padding: 0.85rem;
  }
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(370px, calc(100vw - 2rem));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-in 220ms var(--ease);
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background:
    radial-gradient(300px 120px at 0% 0%, rgba(250, 33, 118, 0.16), transparent 70%),
    var(--dark);
  color: var(--on-dark);
}
.chat-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.chat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--pink);
  flex: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.chat-avatar svg {
  width: 20px;
  height: 20px;
}
.chat-header-title strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.chat-status {
  font-size: 0.78rem;
  color: var(--on-dark-muted);
}
.chat-close {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.chat-close svg {
  width: 15px;
  height: 15px;
}
.chat-thread {
  padding: 1.1rem;
  display: grid;
  gap: 0.6rem;
  max-height: 300px;
  overflow-y: auto;
}
.chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.93rem;
  line-height: 1.45;
}
.chat-bubble.bot {
  justify-self: start;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.chat-bubble.user {
  justify-self: end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-topics {
  padding: 0 1.1rem 1.1rem;
  display: grid;
  gap: 0.5rem;
}
.chat-topic {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.chat-topic:hover {
  border-color: var(--pink);
  background: var(--paper-2);
}
.chat-form {
  padding: 0 1.1rem 1.1rem;
}
.chat-form .field {
  margin-bottom: 0.7rem;
}
.chat-form .field label {
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}
.chat-form .field input,
.chat-form .field textarea {
  min-height: 42px;
  padding: 0.55rem 0.75rem;
}
.chat-err {
  color: #c81e5b;
  font-size: 0.85rem;
  margin: 0 0 0.6rem;
  min-height: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .chat-panel {
    animation: none;
  }
  .chat-toggle-icon svg {
    transition: none;
  }
}

/* [hidden] toimii myös elementeillä, joilla on oma display-sääntö (napit, flex). */
[hidden] {
  display: none !important;
}

/* Chat: kirjoituskenttä (keskustelupohjainen) */
.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem 1rem;
  border-top: 1px solid var(--line);
}
.chat-text {
  flex: 1;
  min-width: 0;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  min-height: 44px;
}
.chat-text:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(250, 33, 118, 0.15);
}
.chat-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
}
.chat-send {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 150ms var(--ease);
}
.chat-send:hover {
  transform: scale(1.06);
}
.chat-send:active {
  transform: scale(0.94);
}
.chat-send svg {
  width: 19px;
  height: 19px;
}
.chat-bubble a {
  color: var(--pink);
  text-decoration: underline;
  font-weight: 600;
}
.chat-bubble.bot a {
  color: #c81e5b;
}
.chat-bubble.typing {
  letter-spacing: 0.18em;
  color: var(--faint);
}

/* Hover-tekstivärit eksplisiittisesti: sivuston globaali button:hover
   (Elementor-kit) värjää muuten tekstin valkoiseksi vaalealla pohjalla. */
#silta-chat .chat-topic,
#silta-chat .chat-topic:hover,
#silta-chat .chat-topic:focus,
#silta-chat .chat-topic:active {
  color: var(--ink);
}
#silta-chat .chat-topic:hover,
#silta-chat .chat-topic:focus {
  border-color: var(--pink);
  background: var(--paper-2);
}
#wizard .wz-goal,
#wizard .wz-goal:hover,
#wizard .wz-goal:focus {
  color: var(--ink);
}
#wizard .wz-goal.on,
#wizard .wz-goal.on:hover,
#wizard .wz-goal.on:focus {
  color: #fff !important;
}

/* Chat-header: logo avatarissa + sulkunapin kuvake keskelle */
.chat-avatar img {
  width: 34px;
  height: auto;
  display: block;
}
.chat-close {
  padding: 0;
  line-height: 0;
}

/* ============================================================
   Landing-sivut (kaupungit + aihe)
   ============================================================ */
.landing-hero {
  padding-top: clamp(7rem, 12vw, 10rem);
  text-align: center;
}
.landing-hero .lead {
  margin-left: auto;
  margin-right: auto;
}
.landing-hero .hero-cta,
.cta-band .hero-cta {
  justify-content: center;
  margin-top: 1.6rem;
}
.landing-hero .hero-chips {
  justify-content: center;
  margin-top: 1.6rem;
}
.container.narrow {
  max-width: 780px;
}

.landing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}
.landing-facts {
  display: grid;
  gap: 0.9rem;
}
.landing-facts .fact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-card);
}
.landing-facts .fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.landing-facts .fact span {
  color: var(--muted);
  font-size: 0.97rem;
}

.faq {
  display: grid;
  gap: 0.7rem;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 1.25rem;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 1.35rem;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
}
.faq-item p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.cta-band {
  background: linear-gradient(120deg, rgba(250, 33, 118, 0.14), rgba(162, 43, 213, 0.12) 60%, rgba(250, 33, 118, 0.06)), var(--paper);
  border-top: 1px solid var(--line);
}

@media (max-width: 800px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Palvelemme ympäri Suomen -bändi (Suomen kartta + kaupunkipillerit)
   ============================================================ */
.suomi-band {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(250, 33, 118, 0.06), transparent 60%),
    var(--paper);
  border-top: 1px solid var(--line);
}
.suomi-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.suomi-map img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}
.suomi-content .h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.suomi-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.suomi-pill {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
}
.suomi-pill:hover,
.suomi-pill:focus {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .suomi-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .suomi-map {
    max-width: 140px;
    margin: 0 auto;
  }
  .suomi-pills {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .suomi-dot {
    animation: none;
    opacity: 0.8;
  }
}

/* Tumma osio (landing parvi) – taustavaihtelu vaalean rytmiin */
.section.dark {
  background:
    radial-gradient(600px 320px at 15% 0%, rgba(250, 33, 118, 0.18), transparent 60%),
    radial-gradient(520px 300px at 100% 100%, rgba(162, 43, 213, 0.16), transparent 60%),
    var(--dark);
  color: var(--on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section.dark .h2 {
  color: var(--on-dark);
}
.section.dark .lead {
  color: var(--on-dark-muted);
}
.parvi-img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: clamp(1.6rem, 4vw, 2.6rem) auto;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
}
.parvi-cta {
  margin-top: 0.4rem;
}

/* UKK-linkki landing-sivuilla */
.faq-more {
  margin-top: 1.6rem;
  text-align: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--pink);
}
.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* Tule töihin – kevyt yhden osion sivu */
.tyot-hero {
  padding-top: clamp(7rem, 13vw, 11rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
.tyot-hero .lead {
  font-size: 1.16rem;
}
.tyot-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================
   Blogi: listaus + artikkeli (Silta AI -ilme)
   ============================================================ */
.blog-section {
  padding-top: clamp(6.5rem, 12vw, 9.5rem);
}

/* Listaus */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}
.post-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(250, 33, 118, 0.12), rgba(162, 43, 213, 0.12));
  overflow: hidden;
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--pink);
  opacity: 0.5;
}
.post-card-ph svg {
  width: 48px;
  height: 48px;
}
.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem 1.25rem 1.35rem;
  flex: 1;
}
.post-card-cat {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}
.post-card-title {
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0;
}
.post-card-title a:hover {
  color: var(--pink);
}
.post-card-excerpt {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
  flex: 1;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--faint);
  margin-top: 0.3rem;
}

/* Artikkeli */
/* Täysleveä artikkelihero (brändin tumma gradientti tai artikkelikuva). */
.single-hero-full {
  position: relative;
  padding: clamp(8rem, 15vw, 11rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(720px 420px at 8% 0%, rgba(250, 33, 118, 0.38), transparent 60%),
    radial-gradient(620px 420px at 100% 100%, rgba(162, 43, 213, 0.36), transparent 60%),
    var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.single-hero-full.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.single-hero-full.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 16, 48, 0.55), rgba(29, 16, 48, 0.88));
}
.single-hero-inner {
  position: relative;
  z-index: 1;
}
.single-cat-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.single-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  color: #fff;
  text-wrap: balance;
  hyphens: auto;
}
.single-excerpt {
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
  max-width: 60ch;
  margin: 0 0 1.5rem;
}
.single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}
.single-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin-right: 0.15rem;
}
.single-avatar img {
  width: 22px;
  height: auto;
  display: block;
}
.single-byline {
  font-weight: 700;
  color: #fff;
}

/* Leipätekstialue: väli heron jälkeen + selkeä loppupadding ennen footeria. */
.single-body-wrap {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

/* Header valkoiseksi tummalla herolla (kun ei vielä scrollattu). */
body.single .header:not(.scrolled) .nav a,
body.single .header:not(.scrolled) .logo > span {
  color: #fff;
}
body.single .header:not(.scrolled) .menu-toggle span {
  background: #fff;
}

/* the_content-typografia */
.article-body {
  font-size: 1.09rem;
  line-height: 1.75;
  color: var(--ink);
}
.article-body > * + * {
  margin-top: 1.2rem;
}
.article-body p {
  margin: 0;
}
.article-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2.4rem 0 0;
  scroll-margin-top: 6rem;
}
.article-body h3 {
  font-size: 1.3rem;
  margin: 1.8rem 0 0;
  scroll-margin-top: 6rem;
}
.article-body h2 + p,
.article-body h3 + p {
  margin-top: 0.6rem;
}
.article-body a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.article-body a:hover {
  color: var(--orange);
}
.article-body ul,
.article-body ol {
  margin: 1.1rem 0 0;
  padding-left: 1.4rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body li::marker {
  color: var(--pink);
}
.article-body strong {
  color: var(--ink);
  font-weight: 700;
}
.article-body blockquote {
  margin: 1.6rem 0 0;
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-left: 3px solid var(--pink);
  color: var(--muted);
  font-style: italic;
}
.article-body img,
.article-body figure {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
}
.article-body figure {
  margin: 1.8rem 0 0;
}
.article-body figcaption {
  font-size: 0.88rem;
  color: var(--faint);
  margin-top: 0.5rem;
  text-align: center;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8rem 0 0;
  font-size: 0.97rem;
  display: block;
  overflow-x: auto;
}
.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}
.article-body thead th {
  background: var(--paper-2);
  font-family: var(--font-display);
  font-weight: 700;
}
.article-body tbody tr:nth-child(even) {
  background: rgba(250, 33, 118, 0.03);
}

/* Artikkelin loppu-CTA */
.single-cta {
  margin: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: linear-gradient(120deg, rgba(250, 33, 118, 0.1), rgba(162, 43, 213, 0.08)), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.single-cta .hero-ctas {
  margin-top: 1.3rem;
}
.single-back {
  margin: 1rem 0 0;
}
.single-back .link-arrow svg {
  width: 18px;
  height: 18px;
}

/* Sivutus (toimii sekä paginate_links(list)- että the_posts_pagination-muodolle) */
.pagination {
  margin-top: clamp(2rem, 5vw, 3rem);
}
/* Säiliö: nollaa ul.page-numbers ja .nav-links, aseta rivi keskelle. */
.pagination ul.page-numbers,
.pagination .nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
}
.pagination ul.page-numbers li {
  display: flex;
  margin: 0;
}
/* Napit: vain linkit ja spanit (ei säiliö-ul). */
.pagination a.page-numbers,
.pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}
.pagination a.page-numbers:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.pagination span.page-numbers.current {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.pagination .page-numbers.dots {
  min-width: 0;
  border-color: transparent;
  background: transparent;
}
.pagination a.next.page-numbers,
.pagination a.prev.page-numbers {
  font-weight: 700;
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* Footerin 4 saraketta kapeammilla näytöillä (voittaa aiemman 1fr-säännön) */
@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Footerin alaosan linkit (DigiSilta + tietosuojaseloste) */
.footer-bottom-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* ============================================================
   Itsepalvelutilaus (aloita-kokeilu)
   ============================================================ */
.aloita-section {
  padding-top: clamp(7rem, 12vw, 10rem);
}
.aloita-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 2.8rem);
  align-items: start;
  max-width: 1000px;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
}
.aloita-recap {
  background:
    radial-gradient(400px 260px at 0% 0%, rgba(250, 33, 118, 0.08), transparent 65%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.aloita-recap .h3 {
  margin-bottom: 1.1rem;
}
.aloita-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.aloita-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  color: var(--ink);
}
.aloita-specs svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--pink);
  margin-top: 1px;
}
.aloita-alt {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--pink);
  white-space: nowrap;
}
.linklike:hover {
  text-decoration: underline;
}
.aloita-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
}
.aloita-form .h3 {
  margin-bottom: 0.35rem;
}
.aloita-form .field {
  margin-top: 0.9rem;
}
.aloita-submit {
  width: 100%;
  margin-top: 1.3rem;
}
.aloita-fineprint {
  margin-top: 0.9rem;
  color: var(--faint);
  font-size: 0.85rem;
  text-align: center;
}
.order-err {
  color: #c81e5b;
  font-size: 0.9rem;
  margin: 0.8rem 0 0;
  min-height: 1px;
}
.aloita-done {
  grid-column: 1 / -1;
  text-align: center;
  background: linear-gradient(120deg, rgba(250, 33, 118, 0.08), rgba(162, 43, 213, 0.07)), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 640px;
  margin: 0 auto;
}
.aloita-done .wz-done-icon {
  margin: 0 auto 1rem;
}
.aloita-done p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .aloita-grid {
    grid-template-columns: 1fr;
  }
  .aloita-recap {
    order: 2;
  }
}

/* ---------- Asiakascaset ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 24px 50px -20px rgba(250, 33, 118, 0.25);
}
.case-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.case-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}
.case-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ink);
}
.case-toimiala {
  font-size: 0.86rem;
  color: var(--muted);
}
.case-kesto {
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
}
.case-metrics {
  display: grid;
  gap: 1.15rem;
}
.case-metric {
  display: grid;
  gap: 0.15rem;
}
.case-change {
  width: fit-content;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.05;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-mlabel {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.case-ba {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.case-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
}
.case-link svg {
  width: 15px;
  height: 15px;
  transition: transform 200ms var(--ease);
}
.case-link:hover svg {
  transform: translateX(3px);
}
.cases-cta {
  margin-top: 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.cases-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--ink);
}
@media (max-width: 900px) {
  .cases {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hintalaskuri ---------- */
.calc {
  max-width: 920px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: center;
}
.calc-controls {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.calc-field {
  display: grid;
  gap: 0.4rem;
}
.calc-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.calc-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.calc-field select:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
}
.calc-q {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.3rem;
}
.calc-q:last-child {
  margin-bottom: 0;
}
.calc-q-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.calc-q-hint {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
}
.calc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.calc-pills button {
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}
.calc-pills button:hover {
  border-color: var(--pink);
}
.calc-pills button.on {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.calc-rec-label {
  margin: 0 0 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
}
.calc-rec {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink);
}
.calc-result {
  text-align: center;
  padding: 1.4rem;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
}
.calc-total {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}
.calc-monthly {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.calc-once {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted);
}
.calc-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.4rem 0 1rem;
}
.calc-cta {
  width: 100%;
  justify-content: center;
}
@media (max-width: 760px) {
  .calc {
    grid-template-columns: 1fr;
  }
}
.calc-compare {
  max-width: 920px;
  margin: 1.6rem auto 0;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
}
.cc-title {
  margin: 0 0 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.cc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  margin-bottom: 0.7rem;
}
.cc-name {
  flex: 0 0 96px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.cc-bar {
  flex: 1 1 140px;
  min-width: 120px;
  height: 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cc-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 400ms var(--ease);
}
.cc-us .cc-bar span {
  background: var(--grad);
}
.cc-market .cc-bar span {
  background: #c7bfd6;
}
.cc-val {
  flex: 1 1 100%;
  padding-left: 108px;
  font-size: 0.82rem;
  color: var(--muted);
}
.cc-us .cc-val {
  color: var(--ink);
  font-weight: 600;
}
.cc-save {
  margin: 0.9rem 0 0.2rem;
  text-align: center;
  font-size: 1.02rem;
  color: var(--ink);
}
.cc-save strong {
  color: var(--pink);
}
.cc-note {
  margin: 0.3rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--faint);
}
@media (max-width: 560px) {
  .cc-val {
    padding-left: 0;
  }
}

/* ---------- 404-linkit ---------- */
.err-links {
  margin-top: 2.4rem;
}
.err-linkrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
}
.err-linkrow a {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.err-linkrow a:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* ---------- Sivustotesti (SEO/GEO) ---------- */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: st-spin 0.7s linear infinite;
}
@keyframes st-spin {
  to { transform: rotate(360deg); }
}
.sitetest {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.st-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.st-inputrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.st-inputrow input {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.st-inputrow input:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
}
.st-inputrow .btn {
  flex: 0 0 auto;
}
.st-err {
  color: #c0392b;
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
}
.st-loading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-weight: 600;
}
.st-result {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.st-scorebar {
  margin-bottom: 1.6rem;
}
.ts-score {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 340px;
  margin: 0 0 0.7rem;
}
.ts-score-track {
  flex: 1 1 auto;
  height: 7px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.ts-score-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  transition: width 600ms var(--ease);
}
.ts-score-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.ts-score-num strong {
  color: var(--ink);
}
.ts-grade {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.4vw, 1.75rem);
  line-height: 1.15;
  color: var(--ink);
}
.ts-sub {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
.ts-platform {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.ts-url {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* Kehityskohdat – tuloksen pääsisältö */
.st-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.9rem;
  color: var(--ink);
}
.st-fixes {
  margin-bottom: 1.4rem;
}
.st-fixlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.st-fix {
  position: relative;
  padding: 0.9rem 1.1rem 0.95rem 2.5rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--pink);
  border-radius: var(--r-sm);
  background: var(--paper);
}
.st-fix::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.15rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
}
.st-fix-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.st-fix-critical {
  border-color: #f3b4b4;
  border-left-color: #d92020;
  background: #fff5f5;
}
.st-fix-critical::before {
  background: #d92020;
}
.st-fix-flag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #d92020;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.st-fix-critical .st-fix-detail {
  color: #d92020;
}
.st-fix-detail {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pink);
  white-space: nowrap;
}
.st-fix-gain {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}
.st-pass-detail {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--faint);
}

/* Kunnossa olevat – sivuroolissa */
.st-passed {
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--card);
}
.st-passed > summary {
  cursor: pointer;
  padding: 0.75rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
}
.st-passed > summary::-webkit-details-marker {
  display: none;
}
.st-passed > summary::after {
  content: "+";
  float: right;
  font-family: var(--font-mono);
  color: var(--faint);
}
.st-passed[open] > summary::after {
  content: "–";
}
.st-passlist {
  list-style: none;
  margin: 0;
  padding: 0 1.1rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.2rem;
}
.st-passlist li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.87rem;
  color: var(--muted);
}
.st-passlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 4px;
  border-left: 2px solid #1f9d57;
  border-bottom: 2px solid #1f9d57;
  transform: rotate(-45deg);
}
.st-cta {
  padding: 1.4rem;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}
.st-cta-text {
  margin: 0 auto 1rem;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
}
@media (max-width: 560px) {
  .st-passlist {
    grid-template-columns: 1fr;
  }
  .st-scorebar {
    gap: 1rem;
  }
}

/* ---------- Vertailu (Silta AI vs muut toimijat) ---------- */
.vert {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  overflow: hidden;
}
.vert-head,
.vert-row {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  gap: 1.2rem;
  padding: 1rem 1.3rem;
  align-items: start;
}
.vert-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vert-head .vert-us {
  color: var(--pink);
}
.vert-head .vert-them {
  color: var(--muted);
}
.vert-row + .vert-row {
  border-top: 1px solid var(--line);
}
.vert-axis {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.vert-them,
.vert-us {
  font-size: 0.92rem;
  line-height: 1.5;
}
.vert-them {
  color: var(--muted);
}
.vert-us {
  position: relative;
  color: var(--ink);
  font-weight: 500;
}
.vert-label {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
@media (max-width: 780px) {
  .vert-head {
    display: none;
  }
  .vert-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .vert-label {
    display: block;
    color: var(--faint);
  }
  .vert-us .vert-label {
    color: var(--pink);
  }
  .vert-us {
    padding-top: 0.75rem;
    border-top: 1px dashed var(--line);
  }
}
