/* ClickUp-integraatiot: sivun omat osiot. Pohja (hero, kortit, vaiheet, hinta, UKK) tulee pages/integraatiot/-tiedostoista. */

  /* Ei orposanaa viimeiselle riville */
  .ig-sys p,
  .ig-step p,
  .section-lead,
  .cu-compare-card p,
  .cu-fact p,
  .cu-compare-note { text-wrap: pretty; }

  /* ClickUpin virallinen logo: muuttamattomana valkoisella pohjalla (myös tummassa asussa, vaaleat-pinnat.json) */
  .cu-logo-pill {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--sh-sm);
  }
  .cu-logo-pill img { display: block; width: 112px; height: auto; }
  .cu-logo-pill + .kicker { display: block; }
  .ig-order-badge:has(.cu-mark)::before { display: none; }
  .cu-mark { display: block; width: 14px; height: 14px; }

  /* Tuotenäkymä ja leijuvat integraatiokortit */
  .cu-showcase {
    position: relative;
    max-width: 1080px;
    margin: 0 auto 64px;
    padding: 0 40px;
  }
  .cu-showcase-frame {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--sh-lg);
  }
  .cu-showcase-frame img { display: block; width: 100%; height: auto; }
  .cu-float { list-style: none; }
  .cu-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--sh-lg);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-muted);
  }
  .cu-float-card b { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-dark); }
  .cu-float-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
  .cu-float-card--1 { top: 18%; left: 0; }
  .cu-float-card--2 { top: 46%; right: 0; }
  .cu-float-card--3 { bottom: 12%; left: 6%; }
  .cu-showcase figcaption {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
  }

  /* Palvelukorttien tuotekuvat */
  .cu-service-shot {
    margin: -8px -8px 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    aspect-ratio: 16 / 10;
  }
  .cu-service-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }

  /* Verified Power User -maininta heron tekstin alla */
  .ig-hero-layout p.cu-verified {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 560px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    text-wrap: pretty;
  }
  .cu-verified b { color: var(--navy-dark); font-weight: 800; }
  .cu-verified-ico {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    flex-shrink: 0;
  }

  /* Palvelut: integraatiot, käyttöönotto, valmennus */
  .cu-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .cu-service { display: flex; flex-direction: column; }
  .cu-service p { flex: 1; }
  .cu-service .cu-compare-tag { align-self: flex-start; }
  .cu-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--pink);
    text-decoration: none;
  }
  .cu-service-link:hover { text-decoration: underline; }
  .cu-service-link svg { width: 14px; height: 14px; }

  /* Omat automaatiot vai integraatio */
  .cu-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
  }
  .cu-compare-card {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
  }
  .cu-compare-card--accent {
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), var(--grad);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--sh-md);
  }
  .cu-compare-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--navy-50);
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .cu-compare-card--accent .cu-compare-tag { background: var(--pink-50); color: var(--pink); }
  .cu-compare-card h3 {
    margin: 16px 0 10px;
    font-size: 21px;
    font-weight: 900;
    color: var(--navy-dark);
  }
  .cu-compare-card p { font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }
  .cu-compare-note {
    max-width: 760px;
    margin: 26px auto 0;
    text-align: center;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-muted);
  }

  /* Luotettavuus */
  .cu-sub {
    margin: 72px 0 26px;
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--navy-dark);
  }
  .cu-facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
  }
  .cu-fact {
    display: flex;
    gap: 14px;
    padding: 22px 24px;
    background: var(--surface);
    border-radius: 18px;
  }
  .cu-fact-ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    flex-shrink: 0;
  }
  .cu-fact b { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 800; color: var(--navy-dark); }
  .cu-fact p { font-size: 15px; line-height: 1.65; color: var(--text-muted); }

  /* Hinta: kaksi korttia rinnakkain */
  .cu-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
  }
  .cu-prices .ig-price-card { display: flex; flex-direction: column; }
  .cu-prices .ig-price-card > a { margin-top: auto; align-self: flex-start; }
  .cu-price-card--plain {
    border: 1px solid var(--border);
    background-image: none;
    box-shadow: var(--sh-sm);
  }
  .cu-pkg-list {
    list-style: none;
    padding-top: 14px;
    margin-bottom: 18px;
    border-top: 1px solid var(--border);
  }
  .cu-pkg-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-dark);
  }
  .cu-pkg-list li + li { border-top: 1px solid var(--border); }
  .cu-pkg-list b { font-weight: 900; white-space: nowrap; }
  .cu-price-text { margin-bottom: 26px; font-size: 14.5px; line-height: 1.65; color: var(--text-muted); text-wrap: pretty; }
  .cu-price-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    background: #fff;
    color: var(--navy-dark);
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s, color 0.2s;
  }
  .cu-price-link:hover { transform: translateY(-2px); background: var(--navy); color: #fff; }

  @media (max-width: 1100px) {
    .cu-services { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
  }
  @media (max-width: 860px) {
    .cu-compare, .cu-facts, .cu-prices { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
    .cu-sub { margin-top: 56px; }
  }
  @media (max-width: 860px) {
    .cu-showcase { padding: 0; margin-bottom: 48px; }
    .cu-float { display: grid; gap: 10px; margin-top: 16px; }
    .cu-float-card { position: static; }
  }
  @media (max-width: 640px) {
    .cu-compare-card { padding: 24px; }
    .cu-fact { padding: 18px; }
    .cu-prices .ig-price-card > a { align-self: stretch; justify-content: center; }
  }
