/* Zoho One vs Microsoft 365 (/compare/zoho-one-vs-microsoft-365/). Prefix .pvms- */
.pvms-hero, .pvms-jobs, .pvms-price, .pvms-build, .pvms-pick, .pvms-link, .pvms-start { --pvms-m: #D83B01; --pvms-mb: #FDEDE6; --pvms-z: #0A6FA8; --pvms-zb: #E0F2FE; --pvms-b: #00B2A9; }
.pvms-sub { margin: 14px 0 0; font: 600 clamp(18px, 1rem + .5vw, 22px)/1.4 var(--f-display); color: #0A3A63; }

/* ---------- hero: scope Venn ---------- */
.pvms-venn { margin: 0; padding: clamp(14px, 2vw, 20px); border-radius: 26px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 40px 70px -50px rgba(8,34,56,.55); min-width: 0; }
.pvms-venn__bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pvms-venn__bar button { min-height: 34px; padding: 6px 12px; border-radius: 999px; border: 1px solid #E2E8F0; background: #F8FAFC; font: 600 13px/1 var(--f-body); color: #334155; cursor: pointer; transition: background 200ms, color 200ms, border-color 200ms; }
.pvms-venn__bar button:hover { border-color: #00A3D9; }
.pvms-venn__bar button.is-on { background: #082238; border-color: #082238; color: #fff; }
.pvms-venn__bar button:focus-visible, .pvms-venn__zone button:focus-visible { outline: 2px solid #00A3D9; outline-offset: 2px; }
.pvms-venn__map { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; min-height: 360px; isolation: isolate; }
.pvms-venn__ring { position: absolute; top: 50%; width: 62%; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%) scale(.6); opacity: 0; z-index: -1; animation: pvms-ring 900ms cubic-bezier(.2,.8,.2,1) 150ms forwards; }
.pvms-venn__ring.is-ms { left: 0; background: radial-gradient(circle at 35% 40%, rgba(216,59,1,.13), rgba(216,59,1,.05) 70%); border: 2px solid rgba(216,59,1,.35); }
.pvms-venn__ring.is-zo { right: 0; background: radial-gradient(circle at 65% 40%, rgba(10,111,168,.14), rgba(10,111,168,.05) 70%); border: 2px solid rgba(10,111,168,.35); animation-delay: 300ms; }
@keyframes pvms-ring { to { transform: translateY(-50%) scale(1); opacity: 1; } }
.pvms-venn__zone { position: relative; padding: 8px 4px; text-align: center; transition: opacity 300ms; }
.pvms-venn__zone ul { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pvms-venn__zone li { opacity: 0; transform: translateY(8px); animation: pvms-chip 480ms forwards; }
.pvms-venn__zone li:nth-child(1) { animation-delay: 600ms; } .pvms-venn__zone li:nth-child(2) { animation-delay: 700ms; } .pvms-venn__zone li:nth-child(3) { animation-delay: 800ms; }
.pvms-venn__zone li:nth-child(4) { animation-delay: 900ms; } .pvms-venn__zone li:nth-child(5) { animation-delay: 1000ms; } .pvms-venn__zone li:nth-child(6) { animation-delay: 1100ms; }
@keyframes pvms-chip { to { opacity: 1; transform: none; } }
.pvms-venn__zone button { min-height: 28px; padding: 5px 10px; border-radius: 999px; border: 1px solid #E2E8F0; background: #fff; font: 600 12.5px/1.2 var(--f-body); color: #082238; cursor: pointer; box-shadow: 0 6px 12px -10px rgba(8,34,56,.5); transition: transform 200ms, border-color 200ms, background 200ms; }
.pvms-venn__zone button:hover, .pvms-venn__zone button.is-on { transform: translateY(-2px); }
.pvms-venn__zone.is-ms button:hover, .pvms-venn__zone.is-ms button.is-on { border-color: var(--pvms-m); background: var(--pvms-mb); }
.pvms-venn__zone.is-zo button:hover, .pvms-venn__zone.is-zo button.is-on { border-color: var(--pvms-z); background: var(--pvms-zb); }
.pvms-venn__zone.is-both button:hover, .pvms-venn__zone.is-both button.is-on { border-color: var(--pvms-b); background: #E6F7F5; }
.pvms-venn__name { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font: 800 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.pvms-venn__name img { width: 20px; height: 20px; object-fit: contain; }
.pvms-venn__zone.is-ms .pvms-venn__name { color: #9A3412; }
.pvms-venn__zone.is-zo .pvms-venn__name { color: #075985; }
.pvms-venn__zone.is-both .pvms-venn__name { color: #0F766E; }
.pvms-venn[data-show="ms"] .pvms-venn__zone:not(.is-ms), .pvms-venn[data-show="zo"] .pvms-venn__zone:not(.is-zo), .pvms-venn[data-show="both"] .pvms-venn__zone:not(.is-both) { opacity: .2; }
.pvms-venn__cap { min-height: 3em; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #F3F7F9; font-size: 13.5px; line-height: 1.5; color: #334155; }

/* ---------- department tabs ---------- */
.pvms-tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 30px 0 0; border-bottom: 2px solid #E2E8F0; }
.pvms-tabs button { position: relative; min-height: 46px; padding: 10px 18px; border: 0; background: transparent; font: 700 15px/1.2 var(--f-display); color: #64748B; cursor: pointer; }
.pvms-tabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #D83B01, #00A3D9); transform: scaleX(0); transition: transform 300ms; }
.pvms-tabs button.is-on { color: #082238; }
.pvms-tabs button.is-on::after { transform: scaleX(1); }
.pvms-tabs button:focus-visible { outline: 2px solid #00A3D9; outline-offset: -2px; }
.pvms-panel { display: grid; gap: 10px; margin-top: 20px; }
.pvms-panel[hidden] { display: none; }
.pvms-panel.is-on .pvms-row { animation: pvms-row 420ms both; }
.pvms-panel.is-on .pvms-row:nth-child(2) { animation-delay: 70ms; } .pvms-panel.is-on .pvms-row:nth-child(3) { animation-delay: 140ms; } .pvms-panel.is-on .pvms-row:nth-child(4) { animation-delay: 210ms; }
@keyframes pvms-row { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.pvms-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr 132px; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; }
.pvms-row p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #475569; }
.pvms-row p b { display: block; font: 700 15px/1.35 var(--f-display); color: #082238; }
.pvms-row__job { font: 700 16px/1.3 var(--f-display) !important; color: #082238 !important; }
.pvms-row__ms { padding-left: 12px; border-left: 3px solid rgba(216,59,1,.4); }
.pvms-row__zo { padding-left: 12px; border-left: 3px solid rgba(10,111,168,.45); }
.pvms-tag { justify-self: start; display: inline-block; padding: 6px 10px; border-radius: 999px; background: #E6F7F5; font: 700 12px/1 var(--f-body); color: #0F766E; white-space: nowrap; }
.pvms-tag.is-ms { background: var(--pvms-mb); color: #9A3412; }
.pvms-tag.is-zo { background: var(--pvms-zb); color: #075985; }
.pvms-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13.5px; color: #64748B; }

/* ---------- price ladder ---------- */
.pvms-price { background: #F3F7F9; }
.pvms-ladder { margin-top: 34px; padding: clamp(18px, 2.5vw, 28px); border-radius: 24px; background: #fff; border: 1px solid #E2E8F0; }
.pvms-ladder__rungs { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pvms-ladder__rungs li { display: grid; grid-template-columns: minmax(0, 1.2fr) 80px minmax(0, 2fr); grid-template-areas: "who val bar" "who val note"; column-gap: 16px; row-gap: 4px; align-items: center; padding: 10px 0; border-bottom: 1px dashed #E2E8F0; }
.pvms-ladder__rungs li:last-child { border-bottom: 0; }
.pvms-ladder__who { grid-area: who; display: flex; align-items: center; gap: 8px; font: 700 15px/1.35 var(--f-display); color: #082238; }
.pvms-ladder__who img { flex: none; width: 18px; height: 18px; object-fit: contain; }
.pvms-ladder__rungs b { grid-area: val; font: 800 22px/1 var(--f-display); letter-spacing: -.02em; color: #082238; text-align: right; }
.pvms-ladder__rungs small { grid-area: note; font-size: 13px; line-height: 1.45; color: #64748B; }
.pvms-ladder__rungs i { grid-area: bar; display: block; height: 12px; border-radius: 6px; background: #EEF2F6; overflow: hidden; position: relative; }
.pvms-ladder__rungs i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / 90 * 100%); border-radius: 6px; transform: scaleX(0); transform-origin: left; transition: transform 900ms cubic-bezier(.2,.8,.2,1); }
.pvms-ladder.is-in i::after { transform: scaleX(1); }
.pvms-ladder__rungs li:nth-child(2) i::after { transition-delay: 90ms; } .pvms-ladder__rungs li:nth-child(3) i::after { transition-delay: 180ms; } .pvms-ladder__rungs li:nth-child(4) i::after { transition-delay: 270ms; } .pvms-ladder__rungs li:nth-child(5) i::after { transition-delay: 360ms; } .pvms-ladder__rungs li:nth-child(6) i::after { transition-delay: 450ms; }
.pvms-ladder__rungs li.is-ms i::after { background: linear-gradient(90deg, #F59E7A, #D83B01); }
.pvms-ladder__rungs li.is-zo i::after { background: linear-gradient(90deg, #5FD3F3, #0A6FA8); }
.pvms-ladder__rungs li.is-pick .pvms-ladder__who::after { content: "Full suite"; margin-left: 4px; padding: 4px 8px; border-radius: 999px; background: #FFB81C; font: 700 11px/1 var(--f-body); color: #082238; white-space: nowrap; }
.pvms-ladder__unit { margin: 14px 0 0; font-size: 13px; color: #64748B; }
.pvms-fine { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.pvms-fine p { margin: 0; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; font-size: 14.5px; line-height: 1.55; color: #475569; }
.pvms-fine b { color: #082238; }

/* ---------- stack builder (dark band) ---------- */
.pvms-build__box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(20px, 3vw, 40px); margin-top: 36px; padding: clamp(18px, 3vw, 32px); border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.pvms-build__in { display: grid; gap: 22px; align-content: start; }
.pvms-build__f { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; margin: 0; padding: 0; border: 0; color: #DCE8F2; font-size: 15px; line-height: 1.4; }
.pvms-build__f > span { grid-column: 1; }
.pvms-build__f output { grid-column: 2; grid-row: 1; font: 800 24px/1 var(--f-display); color: #fff; min-width: 3ch; text-align: right; }
.pvms-build__f input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: #FFB81C; }
.pvms-build__checks { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pvms-build__checks legend { margin-bottom: 10px; padding: 0; font-weight: 600; color: #fff; }
.pvms-build__checks label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); cursor: pointer; }
.pvms-build__checks input { width: 18px; height: 18px; accent-color: #FFB81C; }
.pvms-build__out { display: grid; gap: 12px; align-content: start; }
.pvms-stack { padding: 14px 16px; border-radius: 16px; background: #fff; transition: transform 300ms, box-shadow 300ms; }
.pvms-stack.is-best { box-shadow: 0 0 0 3px #FFB81C; transform: translateY(-2px); }
.pvms-stack__h { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 15px/1.3 var(--f-display); color: #082238; }
.pvms-stack__h img { width: 20px; height: 20px; object-fit: contain; }
.pvms-stack.is-best .pvms-stack__h::after { content: "Fits your answers"; margin-left: auto; padding: 4px 8px; border-radius: 999px; background: #FFB81C; font: 700 11px/1 var(--f-body); color: #082238; white-space: nowrap; }
.pvms-stack__cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 8px 0 6px; }
.pvms-stack__cost b { font: 800 clamp(22px, 1rem + 1vw, 28px)/1 var(--f-display); letter-spacing: -.02em; color: #082238; }
.pvms-stack__cost small { font-size: 12.5px; color: #64748B; }
.pvms-stack__bar { display: block; height: 8px; border-radius: 4px; background: #EEF2F6; overflow: hidden; }
.pvms-stack__bar em { display: block; height: 100%; width: var(--w, 0%); border-radius: 4px; transition: width 600ms cubic-bezier(.2,.8,.2,1); }
.pvms-stack.is-ms .pvms-stack__bar em { background: #D83B01; }
.pvms-stack.is-zo .pvms-stack__bar em { background: #0A6FA8; }
.pvms-stack.is-both .pvms-stack__bar em { background: linear-gradient(90deg, #D83B01, #0A6FA8); }
.pvms-stack__gap { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: #475569; }
.pvms-stack__gap.is-gap { color: #9A3412; }
.pvms-build__say { margin: 4px 0 6px; font-size: 15px; line-height: 1.5; color: #DCE8F2; }
.pvms-build__say b { color: #FFB81C; }
.pvms-build__out .btn { justify-self: start; }
.pvms-build__fine { margin: 18px 0 0; max-width: 860px; font-size: 13.5px; line-height: 1.55; color: #9FC0D8; }

/* ---------- verdicts ---------- */
.pvms-verdicts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 34px; border-radius: 24px; overflow: hidden; border: 1px solid #E2E8F0; background: #fff; }
.pvms-verdict { padding: 26px 24px; border-top: 5px solid; }
.pvms-verdict + .pvms-verdict { border-left: 1px solid #E2E8F0; }
.pvms-verdict.is-ms { border-top-color: #D83B01; }
.pvms-verdict.is-zo { border-top-color: #0A6FA8; }
.pvms-verdict.is-both { border-top-color: #00B2A9; background: linear-gradient(180deg, #F0FBFA, #fff 60%); }
.pvms-verdict__k { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font: 700 18px/1.3 var(--f-display); color: #082238; }
.pvms-verdict__k img { width: 22px; height: 22px; object-fit: contain; }
.pvms-verdict ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pvms-verdict li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.55; color: #475569; }
.pvms-verdict li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: currentColor; opacity: .35; }
.pvms-verdict.is-ms li::before { color: #D83B01; } .pvms-verdict.is-zo li::before { color: #0A6FA8; } .pvms-verdict.is-both li::before { color: #00B2A9; }

/* ---------- running both: wires ---------- */
.pvms-link__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.pvms-link__alt { margin: 18px 0 0; font-size: 15px; line-height: 1.55; color: #475569; }
.pvms-link__alt a { color: #0A6FA8; font-weight: 600; }
.pvms-wires { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pvms-wires li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "a w b" "n n n"; align-items: center; gap: 8px 12px; padding: 14px 16px; border-radius: 16px; background: #F3F7F9; border: 1px solid #E2E8F0; }
.pvms-wires__a, .pvms-wires__b { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: #fff; font: 700 14px/1.2 var(--f-display); color: #082238; box-shadow: 0 6px 14px -12px rgba(8,34,56,.6); }
.pvms-wires__a { grid-area: a; } .pvms-wires__b { grid-area: b; }
.pvms-wires__a img, .pvms-wires__b img { width: 22px; height: 22px; object-fit: contain; }
.pvms-wires i { grid-area: w; position: relative; height: 2px; background: repeating-linear-gradient(90deg, #94A3B8 0 6px, transparent 6px 11px); }
.pvms-wires i::after { content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #00A3D9; box-shadow: 0 0 0 4px rgba(0,163,217,.2); animation: pvms-pulse 2.4s ease-in-out infinite alternate; }
.pvms-wires li:nth-child(2) i::after { animation-delay: .6s; } .pvms-wires li:nth-child(3) i::after { animation-delay: 1.2s; } .pvms-wires li:nth-child(4) i::after { animation-delay: 1.8s; }
@keyframes pvms-pulse { from { left: 0; } to { left: calc(100% - 8px); } }
.pvms-wires small { grid-area: n; font-size: 13.5px; line-height: 1.45; color: #64748B; }

/* ---------- start steps: a path with stops ---------- */
.pvms-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: pvm; }
.pvms-steps::before { content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #D83B01, #00A3D9 50%, #00B2A9); opacity: .5; }
.pvms-steps li { counter-increment: pvm; position: relative; padding-top: 46px; font-size: 14.5px; line-height: 1.5; color: #475569; }
.pvms-steps li::before { content: counter(pvm); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 3px solid #00A3D9; font: 800 13px/1 var(--f-display); color: #082238; }
.pvms-steps li:last-child::before { background: #FFB81C; border-color: #FFB81C; }
.pvms-steps li b { display: block; margin-bottom: 4px; font: 700 17px/1.3 var(--f-display); color: #082238; }
.pvms-steps__next { margin: 22px 0 0; font-size: 15px; color: #475569; }
.pvms-steps__next a { color: #0A6FA8; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pvms-row { grid-template-columns: 1fr 1fr; }
  .pvms-row__job { grid-column: 1 / -1; }
  .pvms-row .pvms-tag { grid-column: 1 / -1; grid-row: 1; justify-self: end; }
}
@media (max-width: 900px) {
  .pvms-build__box, .pvms-link__grid { grid-template-columns: 1fr; }
  .pvms-verdicts { grid-template-columns: 1fr; }
  .pvms-verdict + .pvms-verdict { border-left: 0; }
  .pvms-steps { grid-template-columns: 1fr 1fr; }
  .pvms-steps::before { display: none; }
  .pvms-fine { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pvms-venn__map { grid-template-columns: 1fr; min-height: 0; gap: 4px; }
  .pvms-venn__ring { top: 0; left: 50% !important; right: auto !important; width: 92%; height: 58%; aspect-ratio: auto; border-radius: 50%; transform: translateX(-50%) scale(.6); }
  .pvms-venn__ring.is-zo { top: auto; bottom: 0; }
  @keyframes pvms-ring { to { transform: translateX(-50%) scale(1); opacity: 1; } }
  .pvms-venn__zone ul { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pvms-venn__zone.is-ms { padding-top: 22px; }
  .pvms-venn__zone.is-zo { padding-bottom: 22px; }
  .pvms-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pvms-tabs button { flex: none; padding: 10px 14px; font-size: 14px; }
  .pvms-row { grid-template-columns: 1fr; gap: 10px; }
  .pvms-row .pvms-tag { grid-row: auto; justify-self: start; }
  .pvms-ladder__rungs li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who val" "bar bar" "note note"; }
  .pvms-steps { grid-template-columns: 1fr; gap: 18px; }
  .pvms-steps li { padding: 0 0 0 46px; }
  .pvms-wires li { grid-template-columns: auto minmax(24px, 1fr) auto; }
  .pvms-wires__a, .pvms-wires__b { font-size: 13px; padding: 5px 8px; }
}
