/* KNOK Content 2.0.7 — scoped Hero styles, no theme changes */
.knok2-page{padding:16px}
.knok2-page .knok2-hero{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center;background:var(--knok-bg,#fff);color:var(--knok-color,#182536);border-radius:14px;padding:var(--knok-pad,32px);margin-bottom:16px}
.knok2-page .knok2-hero__title{font-size:var(--knok-title-size,44px);line-height:1.12;margin:0 0 14px;color:inherit}
.knok2-page .knok2-hero__subtitle{font-size:20px;color:inherit}
.knok2-page .knok2-hero__description{line-height:1.6}
.knok2-page .knok2-hero__media img{max-width:100%;height:auto;border-radius:10px}
.knok2-page .knok2-hero__button{display:inline-block;background:var(--knok-accent,#1268a8);color:#fff;padding:12px 20px;border-radius:7px;text-decoration:none;margin-top:15px}
.knok2-page .knok2-hero--right .knok2-hero__media{order:2}
@media(max-width:650px){.knok2-page .knok2-hero{grid-template-columns:minmax(0,1fr);padding:min(var(--knok-pad,32px),24px)}.knok2-page .knok2-hero--right .knok2-hero__media{order:0}}


/* KNOK Content 2: reusable B12 finishing block; scoped to page content. */
.knok2-page .kh-finishing{background:#f5f9ff}
.knok2-page .kh-finishing__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.knok2-page .kh-finishing__card{min-width:0;overflow:hidden;background:#fff;border:1px solid #dce8f8;border-radius:19px;box-shadow:0 12px 28px rgba(12,42,90,.06)}
.knok2-page .kh-finishing__visual{height:230px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#132844,#467db5);color:#fff;letter-spacing:.16em;font-weight:800;font-size:13px}
.knok2-page .kh-finishing__card:nth-child(2) .kh-finishing__visual{background:linear-gradient(135deg,#172943,#627d9f)}
.knok2-page .kh-finishing__card:nth-child(3) .kh-finishing__visual{background:linear-gradient(135deg,#243954,#b1beca)}
.knok2-page .kh-finishing__visual img{width:100%;height:100%;object-fit:cover}
.knok2-page .kh-finishing__copy{padding:21px 22px 25px}
.knok2-page .kh-finishing__copy h3{margin:0 0 10px;color:#142738;font-size:21px;line-height:1.3}
.knok2-page .kh-finishing__copy p{margin:0;color:#536984;font-size:15px;line-height:1.55}
.knok2-page .kh-finishing__note{font-size:13px;color:#64758c;margin:22px 0 0}
@media(max-width:850px){.knok2-page .kh-finishing__grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.knok2-page .kh-finishing__grid{grid-template-columns:1fr}.knok2-page .kh-finishing__visual{height:235px}}

/* 0.2.13.2-rc2: optional images in new service-page cards.
   Approved home visuals are unchanged; these rules affect only generated knok2 images. */
.knok2-page .kh-feature__icon .knok2-card-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.knok2-page .kh-service__visual .knok2-card-image{display:block;width:100%;aspect-ratio:560/390;object-fit:cover}
.knok2-page .kh-tool__art .knok2-card-image,.knok2-page .kh-knowledge__art .knok2-card-image{display:block;width:100%;height:100%;object-fit:cover}
.knok2-page .kh-finishing__visual .knok2-card-image{display:block;width:100%;height:100%;object-fit:cover}
.knok2-page .kh-tool:not(:has(.kh-tool__art)) .kh-tool__body{padding-top:26px}

/* KNOK Content 2 candidate 0.2.13.3: reusable compare and request sections. */
.knok2-page .kh-compare,.knok2-page .kh-request{background:#f3f7fc;color:#122f50}
.knok2-page .kh-compare__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.knok2-page .kh-compare__card,.knok2-page .kh-request__card{min-width:0;overflow-wrap:anywhere;border:1px solid #d7e4f0;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 10px 32px #122c4e0c}
.knok2-page .kh-compare__copy{padding:24px 27px 29px}
.knok2-page .kh-compare__copy h3,.knok2-page .kh-request__card h3{font-size:21px;line-height:1.22;margin:0 0 12px;overflow-wrap:anywhere}
.knok2-page .kh-compare__copy p,.knok2-page .kh-request__card p{line-height:1.72;white-space:pre-line;overflow-wrap:anywhere;color:#526a83;margin:0}
.knok2-page .kh-compare__visual{height:175px;display:grid;place-items:center;position:relative;background:linear-gradient(135deg,#bde2f0,#e9f6fc);color:#13528a;letter-spacing:.12em;font-weight:800}
.knok2-page .kh-compare__visual::after{content:'';position:absolute;border:3px solid #fff9;border-radius:16px;width:42%;height:62%;transform:rotate(-12deg);box-shadow:0 10px 28px #1b58983b}
.knok2-page .kh-compare__visual--transfer{background:linear-gradient(135deg,#113458,#356a9f);color:#e9f4ff}
.knok2-page .kh-compare__note,.knok2-page .kh-request__note{color:#516d88;font-size:13px;line-height:1.7;margin:18px 0 0;overflow-wrap:anywhere}
.knok2-page .kh-request__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.knok2-page .kh-request__card{padding:22px;display:flex;flex-direction:column;gap:0}
.knok2-page .kh-request__icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:19px;border-radius:12px;background:#e3efff;color:#1468c7;font-size:15px;font-weight:800}
.knok2-page .kh-request__link{display:inline-flex;gap:8px;align-items:center;margin-top:auto;padding-top:19px;color:#176ddc;font-size:14px;font-weight:750;text-decoration:none}
.knok2-page .kh-request__link:not([href]){cursor:default;opacity:.5}
@media(max-width:960px){.knok2-page .kh-request__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.knok2-page .kh-compare__grid,.knok2-page .kh-request__grid{grid-template-columns:minmax(0,1fr)}.knok2-page .kh-compare__visual{height:135px}.knok2-page .kh-compare__copy{padding:21px}.knok2-page .kh-request__card{padding:21px}}

.knok2-page .kh-finishing__action{margin:22px 0 0;text-align:left}
.knok2-page .kh-knowledge__card p{white-space:pre-line;overflow-wrap:anywhere}

.knok2-page .kh-reveal{opacity:1;transform:none}

body.knok2-layout .page-heading{display:none!important}body.knok2-layout .page-content{padding:0!important;max-width:none!important;width:100%!important;min-height:0!important}body.knok2-layout .knok2-page{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;overflow:hidden}body.knok2-layout .knok2-reference{width:100%;max-width:none!important}body.knok2-layout .knok2-reference>section{width:100%}
.km-calendar-branch { min-width: 0; align-self: start; }
.km-calendar-branch ul { margin: .35rem 0 0 .7rem; padding: 0 0 0 .65rem; border-inline-start: 2px solid #cfdfef; list-style: none; }
.km-calendar-branch li + li { margin-top: .25rem; }

.kh-service__visual > img { object-fit: contain !important; }
.kh-service:is(:not([href]),[href=""],[href="#"]) .kh-arrow,
.kh-knowledge__card-link:is(:not([href]),[href=""],[href="#"]) .kh-knowledge__read,
.kh-knowledge .kh-center > a:is(:not([href]),[href=""],[href="#"]) { display: none; }

/* KNOK feedback v3 — scoped to the launcher only; KNOK AI itself is untouched. */
#knok-feedback {
  --kf-ink:#182c44; --kf-muted:#65778e;
  position:fixed; right:calc(18px + env(safe-area-inset-right,0px));
  bottom:calc(20px + env(safe-area-inset-bottom,0px));
  z-index:1000; font:15px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--kf-ink); isolation:isolate;
}
#knok-feedback,#knok-feedback * {box-sizing:border-box}
#knok-feedback button,#knok-feedback a {font:inherit}
#knok-feedback button {cursor:pointer}
#knok-feedback [hidden] {display:none!important}
#knok-feedback .kf-dock {display:flex;align-items:center;gap:7px}
#knok-feedback .kf-main {
  display:flex;align-items:center;gap:10px;min-height:72px;
  padding:5px 16px 5px 5px; border:2px solid #fff; border-radius:45px;
  background:linear-gradient(113deg,#fff 3%,#fff9f3 100%);
  color:#203957;text-align:left;box-shadow:0 9px 35px #102d4a38,0 0 0 2px #f7a85b;
  transition:transform .18s ease,box-shadow .18s ease;
}
#knok-feedback .kf-main:hover {transform:translateY(-3px);box-shadow:0 13px 37px #102d4a45,0 0 0 3px #fb9b4f}
#knok-feedback .kf-photo {position:relative;flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#ffe4c6,#ff975f);color:#7a3d17;font-weight:850;font-size:24px}
#knok-feedback .kf-photo img {width:100%;height:100%;object-fit:cover;display:block}
#knok-feedback .kf-name {display:block;font-size:17px;font-weight:800;letter-spacing:-.02em;line-height:1.2;white-space:nowrap}
#knok-feedback .kf-caption {display:flex;align-items:center;gap:5px;margin-top:3px;color:#576b7f;font-size:12px;white-space:nowrap}
#knok-feedback .kf-dot {height:7px;width:7px;flex:none;background:#21b77a;border-radius:50%}
#knok-feedback .kf-menu-button {display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #e7cabb;border-radius:50%;background:#fff6ed;color:#a75527;box-shadow:0 5px 20px #2238492b;transition:transform .2s,background .2s}
#knok-feedback .kf-menu-button:hover {background:#ffead8;transform:translateY(-2px)}
#knok-feedback .kf-menu-button[aria-expanded="true"] {background:#ffe1c4}
#knok-feedback .kf-menu-button svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
#knok-feedback .kf-menu-button[aria-expanded="true"] svg {transform:rotate(180deg)}
#knok-feedback .kf-panel {
  position:absolute;right:0;bottom:calc(100% + 15px);
  width:min(350px,calc(100vw - 30px));max-height:calc(100dvh - 135px);
  overflow-y:auto;overscroll-behavior:contain;
  border:1px solid #ecddce;border-radius:22px;background:#fff;
  box-shadow:0 20px 65px #172e4c39,0 4px 14px #172e4c15;
  animation:kf-appear .19s ease-out both;
}
#knok-feedback .kf-panel-top {display:flex;align-items:center;gap:12px;padding:18px 19px 16px;background:linear-gradient(112deg,#183e61,#225b81);color:#fff}
#knok-feedback .kf-panel-avatar {width:46px;height:46px;flex:none;overflow:hidden;border:2px solid #ffd09e;border-radius:50%;background:#fff7ec}
#knok-feedback .kf-panel-avatar img {display:block;width:100%;height:100%;object-fit:cover}
#knok-feedback .kf-title {display:block;font-size:18px;font-weight:800;line-height:1.2}
#knok-feedback .kf-subtitle {display:block;color:#dceefb;font-size:12px;margin-top:4px}
#knok-feedback .kf-body {padding:15px}
#knok-feedback .kf-help {margin:0 0 13px;font-size:13px;color:#687789}
#knok-feedback .kf-list {display:grid;gap:9px;margin:0;padding:0;list-style:none}
#knok-feedback .kf-item {display:flex;align-items:center;gap:11px;width:100%;min-height:61px;padding:9px 11px;background:#fff;border:1px solid #e5eaf0;border-radius:14px;text-align:left;text-decoration:none;color:#20364d;box-shadow:0 2px 10px #172f4710;transition:transform .16s,border-color .16s,background .16s}
#knok-feedback .kf-item:hover {transform:translateY(-2px);border-color:#f3bb8a;background:#fffaf5}
#knok-feedback .kf-item[aria-busy="true"] {opacity:.65;cursor:progress}
#knok-feedback .kf-item--chat {border-color:#a6e1cf;background:#f2fcf8}
#knok-feedback .kf-icon {display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;color:#fff}
#knok-feedback .kf-icon svg {width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#knok-feedback .kf-icon--chat {background:linear-gradient(135deg,#27bb91,#128cbb)}
#knok-feedback .kf-icon--calc {background:linear-gradient(135deg,#ffd052,#f38b3d)}
#knok-feedback .kf-icon--max {background:linear-gradient(135deg,#7765ed,#a44ed2);font-size:22px;font-weight:850}
#knok-feedback .kf-icon--contacts {background:linear-gradient(135deg,#ff8d81,#e95584)}
#knok-feedback .kf-item-text {display:block;min-width:0;flex:1}
#knok-feedback .kf-item-text strong {display:block;font-size:14px;line-height:1.25}
#knok-feedback .kf-item-text small {display:block;margin-top:4px;color:var(--kf-muted);font-size:12px;line-height:1.25}
#knok-feedback .kf-chevron {flex:none;width:17px;height:17px;fill:none;stroke:#acb9c5;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#knok-feedback .kf-separator {height:1px;border:0;margin:13px 0;background:#edf0f4}
#knok-feedback .kf-footer {margin:12px 2px 0;color:#62788d;font-size:12px;line-height:1.45}
#knok-feedback .kf-status:not(:empty) {position:absolute;right:0;bottom:calc(100% + 13px);max-width:280px;width:max-content;padding:10px 13px;background:#fff;border:1px solid #ebb9b9;border-radius:12px;box-shadow:0 8px 25px #102e4c33;color:#a03434;font-size:13px}
#knok-feedback .kf-status:empty {display:none}
#knok-feedback :focus-visible {outline:3px solid #ffb450;outline-offset:3px}
@keyframes kf-appear {from {opacity:0;transform:translateY(8px) scale(.98)}to {opacity:1;transform:translateY(0) scale(1)}}
@keyframes kf-halo {0%,70%,100% {box-shadow:0 9px 35px #102d4a38,0 0 0 2px #f7a85b}82% {box-shadow:0 9px 35px #102d4a38,0 0 0 8px #fa9c5340}}
#knok-feedback .kf-main {animation:kf-halo 7s ease-in-out infinite}
#knok-feedback .kf-main:hover {animation:none}
@media(max-width:560px) {
  #knok-feedback {right:calc(15px + env(safe-area-inset-right,0px));bottom:calc(17px + env(safe-area-inset-bottom,0px))}
  #knok-feedback .kf-main {min-height:65px;padding:3px;border-radius:50%}
  #knok-feedback .kf-photo {width:58px;height:58px}
  #knok-feedback .kf-main-label {display:none}
  #knok-feedback .kf-menu-button {width:36px;height:36px}
  #knok-feedback .kf-panel {max-height:calc(100dvh - 113px)}
}
@media(prefers-reduced-motion:reduce) {
  #knok-feedback .kf-main,#knok-feedback .kf-panel {animation:none!important}
  #knok-feedback .kf-main,#knok-feedback .kf-menu-button,#knok-feedback .kf-item,#knok-feedback .kf-menu-button svg {transition:none!important}
}


/* Shared settings for the public KNOK site. */
:root {
    --knok-font: Inter, Arial, Helvetica, sans-serif;
    --knok-content-width: 1240px;
    --knok-services-fill: #f59e0b;
    --knok-header-row: 80px;
    --knok-header-row-mobile: 66px;
}
body, body.knok-blog-page, body.knok-portfolio-theme,
.site-header, .site-footer { font-family: var(--knok-font); }
