/* Zoho vs Keap (/compare/zoho-vs-keap/). Prefix .ptkz- . Keap = coral (side a), Zoho = blue (side b). */
.ptkz-hero, .ptkz-short, .ptkz-jobs, .ptkz-week, .ptkz-price, .ptkz-stack, .ptkz-move, .ptkz-start { --ptkz-k: #B4432A; --ptkz-kbg: #FFF1EC; --ptkz-z: #0A6FA8; --ptkz-zbg: #E8F5FC; --ptkz-ink: #082238; }
.ptkz-sub { margin: 14px 0 0; font: 600 clamp(18px, 1rem + .5vw, 22px)/1.45 var(--f-display); color: #0A3A63; max-width: 36ch; }

/* ---------- hero: one box unpacks into five apps ---------- */
.ptkz-box { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; }
.ptkz-box__seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 12px 26px -22px rgba(8,34,56,.6); }
.ptkz-box__seg button, .ptkz-bill button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 10px; background: transparent; font: 600 14px/1.2 var(--f-body); color: #334155; cursor: pointer; transition: background 220ms, color 220ms; }
.ptkz-box__seg button.is-on, .ptkz-bill button.is-on { background: #082238; color: #fff; }
.ptkz-box__seg button:focus-visible, .ptkz-bill button:focus-visible, .ptkz-sb input:focus-visible, .ptkz-sb select:focus-visible { outline: 2px solid #00A3D9; outline-offset: 2px; }
.ptkz-box__frame { --edge: var(--ptkz-k); --tint: var(--ptkz-kbg); position: relative; width: 100%; max-width: 470px; padding: 16px; border-radius: 24px; background: var(--tint); border: 2px solid var(--edge); box-shadow: 0 40px 70px -46px rgba(8,34,56,.6); transition: background 500ms, border-color 500ms, padding 500ms; }
.ptkz-box.is-zoho .ptkz-box__frame { --edge: transparent; --tint: transparent; box-shadow: none; padding: 16px 4px; }
.ptkz-box__top { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 600 13px/1.3 var(--f-body); color: #475569; }
.ptkz-box__top b { font: 800 17px/1.2 var(--f-display); color: var(--ptkz-k); letter-spacing: -.01em; transition: color 400ms; }
.ptkz-box.is-zoho .ptkz-box__top b { color: var(--ptkz-z); }
.ptkz-box__top span { flex: 1; min-width: 0; }
.ptkz-box__top em { padding: 3px 8px; border-radius: 8px; background: #FFB81C; color: #082238; font: 700 11px/1.2 var(--f-body); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.ptkz-box__steps { position: relative; display: grid; row-gap: 0; margin: 0; padding: 0; list-style: none; border-radius: 16px; background: #fff; transition: row-gap 520ms cubic-bezier(.2,.8,.2,1), background 400ms; }
.ptkz-box__steps::before { content: ""; position: absolute; left: 27px; top: 26px; bottom: 26px; width: 2px; background: repeating-linear-gradient(180deg, #00A3D9 0 6px, transparent 6px 11px); opacity: 0; transition: opacity 400ms 200ms; }
.ptkz-box.is-zoho .ptkz-box__steps { row-gap: 12px; background: transparent; }
.ptkz-box.is-zoho .ptkz-box__steps::before { opacity: 1; }
.ptkz-box__steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px dashed #F2C3B5; border-radius: 0; background: transparent; transition: border-radius 450ms, box-shadow 450ms, background 450ms, transform 520ms cubic-bezier(.2,.8,.2,1), border-color 300ms; transition-delay: calc(var(--i) * 60ms); }
.ptkz-box__steps li:last-child { border-bottom-color: transparent; }
.ptkz-box.is-zoho .ptkz-box__steps li { border-bottom-color: transparent; border-radius: 14px; background: #fff; box-shadow: 0 14px 28px -20px rgba(8,34,56,.55), inset 0 0 0 1px #DCEAF3; transform: translateX(calc((var(--i) - 2) * 6px)); }
.ptkz-box__n { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ptkz-kbg); color: #8A2E17; font: 800 13px/1 var(--f-display); border: 1.5px solid #F2C3B5; transition: background 400ms, color 400ms, border-color 400ms; }
.ptkz-box.is-zoho .ptkz-box__n { background: var(--ptkz-zbg); color: #064B73; border-color: #A9D8F0; }
.ptkz-box__job { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ptkz-box__job b { font: 700 15px/1.3 var(--f-display); color: var(--ptkz-ink); }
.ptkz-box__job small { font: 600 12.5px/1.3 var(--f-body); color: #8A2E17; transition: color 300ms; }
.ptkz-box.is-zoho .ptkz-box__job small { color: #064B73; }
.ptkz-box__ic { width: 28px; height: 28px; opacity: 0; transform: scale(.5); transition: opacity 360ms, transform 420ms cubic-bezier(.3,1.4,.5,1); transition-delay: calc(120ms + var(--i) * 80ms); }
.ptkz-box.is-zoho .ptkz-box__ic { opacity: 1; transform: none; }
.ptkz-box__foot { margin: 12px 4px 0; font: 600 13.5px/1.45 var(--f-body); color: #334155; }
.ptkz-box__cap { margin-top: 12px; max-width: 46ch; text-align: center; font-size: 13.5px; line-height: 1.5; color: #475569; }

/* ---------- short answer ---------- */
.ptkz-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.ptkz-facts li { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; }
.ptkz-facts li:nth-child(1) { box-shadow: inset 4px 0 0 var(--ptkz-k); }
.ptkz-facts li:nth-child(2) { box-shadow: inset 4px 0 0 var(--ptkz-z); }
.ptkz-facts li:nth-child(3) { box-shadow: inset 4px 0 0 #FFB81C; }
.ptkz-facts b { display: block; margin-bottom: 6px; font: 800 clamp(18px, 1rem + .5vw, 22px)/1.25 var(--f-display); color: var(--ptkz-ink); letter-spacing: -.02em; }
.ptkz-facts span { font-size: 15px; line-height: 1.55; color: #475569; }
.ptkz-h3 { margin: 44px 0 0; font: 700 clamp(20px, 1rem + .6vw, 24px)/1.3 var(--f-display); color: var(--ptkz-ink); letter-spacing: -.02em; }
.ptkz-tug { margin-top: 18px; }
.ptkz-txtlogo { font: 800 16px/1 var(--f-display); color: var(--ptkz-k); letter-spacing: -.01em; }

/* ---------- heatmap / wipe spacing ---------- */
.ptkz-heat, .ptkz-wipe { margin-top: 30px; }

/* ---------- price tables ---------- */
.ptkz-bill { display: inline-flex; gap: 4px; padding: 4px; margin: 26px 0 0; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; }
.ptkz-tables { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; margin-top: 18px; }
.ptkz-tbl { min-width: 0; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; overflow-x: auto; }
.ptkz-tbl:focus-visible { outline: 2px solid #00A3D9; outline-offset: 2px; }
.ptkz-tbl__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 16px/1.3 var(--f-display); color: var(--ptkz-ink); }
.ptkz-tbl__h small { font: 600 12.5px/1.3 var(--f-body); color: #475569; }
.ptkz-tbl table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptkz-tbl th, .ptkz-tbl td { padding: 10px 8px; text-align: left; border-bottom: 1px solid #EEF2F6; vertical-align: top; color: #334155; }
.ptkz-tbl thead th { font: 700 12px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.ptkz-tbl tbody th { font: 700 14.5px/1.3 var(--f-display); color: var(--ptkz-ink); }
.ptkz-tbl td b { font: 800 17px/1.2 var(--f-display); color: var(--ptkz-ink); transition: color 300ms; }
.ptkz-tbl td b.ptkz-flash { color: var(--ptkz-z); }
.ptkz-tbl tr.is-mid { background: #F3F9FD; }
.ptkz-tbl__users th, .ptkz-tbl__users td { font-size: 13.5px; color: #475569; border-bottom: 0; }
.ptkz-math { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: #FFF8E6; border: 1px solid #F5D78A; font: 600 15px/1.5 var(--f-body); color: #3B2A00; }

/* ---------- stack builder (dark band) ---------- */
.ptkz-sb { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; margin-top: 32px; }
.ptkz-sb__in, .ptkz-sb__out { padding: 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); min-width: 0; }
.ptkz-sb__in { display: grid; gap: 18px; align-content: start; color: #E2ECF5; }
.ptkz-sb__range span, .ptkz-sb__sel span, .ptkz-sb__needs legend { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font: 700 14px/1.4 var(--f-body); color: #fff; }
.ptkz-sb__range output { min-width: 34px; padding: 2px 8px; border-radius: 8px; background: #FFB81C; color: #082238; text-align: center; font: 800 14px/1.4 var(--f-display); }
.ptkz-sb__range input { width: 100%; accent-color: #FFB81C; min-height: 28px; }
.ptkz-sb__hint { margin-top: -10px; font-size: 13px; color: #C9D8E5; }
.ptkz-sb__sel select { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: #0B2A47; color: #fff; font: 600 15px/1.3 var(--f-body); }
.ptkz-sb__needs { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.ptkz-sb__needs label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); cursor: pointer; font: 600 14.5px/1.35 var(--f-body); color: #F1F6FA; transition: background 200ms, border-color 200ms; }
.ptkz-sb__needs label:has(input:checked) { background: rgba(0,163,217,.18); border-color: rgba(95,211,243,.55); }
.ptkz-sb__needs label:has(input:disabled) { cursor: default; }
.ptkz-sb__needs input { width: 20px; height: 20px; flex: none; accent-color: #00A3D9; }
.ptkz-bill--dark { margin: 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); justify-self: start; }
.ptkz-bill--dark button { color: #E2ECF5; }
.ptkz-bill--dark button.is-on { background: #FFB81C; color: #082238; }
.ptkz-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0 0 14px; list-style: none; border-bottom: 6px solid #2B4B68; border-radius: 0 0 4px 4px; }
.ptkz-shelf li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; text-align: center; border-radius: 14px; background: #12304B; border: 1px dashed #3A5A78; opacity: 1; transition: background 350ms, border-color 350ms, transform 400ms cubic-bezier(.3,1.4,.5,1); }
.ptkz-shelf li img { width: 34px; height: 34px; padding: 4px; border-radius: 9px; background: #fff; filter: grayscale(1); transition: filter 350ms; }
.ptkz-shelf li b { font: 700 13px/1.25 var(--f-display); color: #B7C8D8; }
.ptkz-shelf li span { font: 600 11.5px/1.3 var(--f-body); color: #A9BDD0; }
.ptkz-shelf li.is-on { background: #F8FBFD; border: 1px solid #fff; transform: translateY(-4px); }
.ptkz-shelf li.is-on img { filter: none; }
.ptkz-shelf li.is-on b { color: #082238; }
.ptkz-shelf li.is-on span { color: #0A3A63; }
.ptkz-sb__lines { margin: 18px 0 0; display: grid; gap: 8px; }
.ptkz-sb__lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.ptkz-sb__lines dt { font: 600 14.5px/1.4 var(--f-body); color: #E2ECF5; min-width: 0; }
.ptkz-sb__lines dd { margin: 0; font: 800 18px/1.2 var(--f-display); color: #fff; white-space: nowrap; }
.ptkz-sb__lines .is-total { border-bottom: 0; }
.ptkz-sb__lines .is-total dt { color: #fff; font-weight: 700; }
.ptkz-sb__lines .is-total dd { font-size: clamp(26px, 1rem + 1.4vw, 34px); color: #FFB81C; }
.ptkz-sb__year { margin: 4px 0 0; font: 600 14px/1.5 var(--f-body); color: #C9D8E5; }
.ptkz-sb__keap { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,138,107,.12); border: 1px solid rgba(255,181,158,.4); font: 600 14px/1.5 var(--f-body); color: #FFE3D8; }
.ptkz-sb__note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: #C9D8E5; }
.ptkz-sb__note:empty { display: none; }
.ptkz-sb__out .btn { margin-top: 16px; }
.ptkz-sb__fine { margin: 18px 0 0; font-size: 13.5px; line-height: 1.5; color: #C9D8E5; max-width: 80ch; }

/* ---------- switching ---------- */
.ptkz-move__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ptkz-move__links { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; }
.ptkz-lands { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: ptkz; }
.ptkz-lands li { display: grid; grid-template-columns: minmax(0, .85fr) 24px minmax(0, 1.15fr); align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; }
.ptkz-lands li::after { content: ""; grid-column: 2; grid-row: 1; width: 22px; height: 10px; background: linear-gradient(90deg, var(--ptkz-k), var(--ptkz-z)); clip-path: polygon(0 40%, 70% 40%, 70% 0, 100% 50%, 70% 100%, 70% 60%, 0 60%); }
.ptkz-lands span { grid-column: 1; grid-row: 1; font: 600 14px/1.4 var(--f-body); color: #8A2E17; }
.ptkz-lands b { grid-column: 3; grid-row: 1; font: 700 14.5px/1.4 var(--f-display); color: #064B73; }
.ptkz-lands b a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- start steps ---------- */
.ptkz-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: ptkzs; }
.ptkz-four li { position: relative; padding: 46px 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; font-size: 15px; line-height: 1.5; color: #475569; counter-increment: ptkzs; }
.ptkz-four li::before { content: counter(ptkzs, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font: 800 14px/1 var(--f-display); color: #0A6FA8; letter-spacing: .04em; }
.ptkz-four b { display: block; margin-bottom: 4px; font: 700 16.5px/1.3 var(--f-display); color: var(--ptkz-ink); }
.ptkz-four__next { margin: 20px 0 0; font-size: 15.5px; color: #334155; }

@media (max-width: 1080px) {
  .ptkz-tables { grid-template-columns: minmax(0, 1fr); }
  .ptkz-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ptkz-facts, .ptkz-sb, .ptkz-move__grid { grid-template-columns: minmax(0, 1fr); }
  .ptkz-box__frame { max-width: 100%; }
}
@media (max-width: 560px) {
  .ptkz-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptkz-four { grid-template-columns: minmax(0, 1fr); }
  .ptkz-lands li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ptkz-lands li::after { display: none; }
  .ptkz-lands span, .ptkz-lands b { grid-column: 1; grid-row: auto; }
  .ptkz-tbl { padding: 12px 6px; }
  .ptkz-tbl th, .ptkz-tbl td { padding: 8px 3px; font-size: 13px; }
  .ptkz-box.is-zoho .ptkz-box__steps li { transform: none; }
  .ptkz-sb__in, .ptkz-sb__out { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ptkz-box__frame, .ptkz-box__steps, .ptkz-box__steps li, .ptkz-box__ic, .ptkz-shelf li, .ptkz-shelf li img { transition: none; }
}
