/* Blog: Zoho partner vs in-house team (.phr6-) */
.phr6-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phr6-meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 18px 0 0; font: 500 14px/1.4 var(--f-body); color: #475569; }
.phr6-meta span:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px 3px; border-radius: 50%; background: #94A3B8; }

/* ---------- hero balance ---------- */
.phr6-bal { margin: 0; justify-self: center; width: min(100%, 500px); }
.phr6-bal__rig { position: relative; height: 330px; --ya: 0px; --yb: 0px; --t: 0deg; }
.phr6-bal__beam { position: absolute; z-index: 2; top: 44px; left: 18%; right: 18%; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #1D3F8F, #0A3A63 50%, #07605E); box-shadow: 0 10px 18px -10px rgba(8,34,56,.7); transform: rotate(var(--t)); transform-origin: 50% 50%; }
.phr6-bal__beam i { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #FFB81C; box-shadow: inset 0 0 0 6px #082238; }
.phr6-bal__post { position: absolute; z-index: 1; left: 50%; top: 48px; bottom: 0; width: 12px; margin-left: -6px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #0A3A63, #082238); }
.phr6-bal__post span { position: absolute; bottom: 0; left: 50%; width: 140px; height: 16px; margin-left: -70px; border-radius: 12px 12px 4px 4px; background: #082238; }
.phr6-bal__pan { position: absolute; z-index: 3; top: 92px; width: 44%; padding: 14px 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 44px -30px rgba(8,34,56,.6); will-change: transform; }
.phr6-bal__pan::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 44px; margin-left: -1px; background: #94A3B8; }
.phr6-bal__pan::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + 40px); width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #082238; }
.phr6-bal__pan--a { left: 0; transform: translateY(var(--ya)); border-top: 5px solid #E0623F; }
.phr6-bal__pan--b { right: 0; transform: translateY(var(--yb)); border-top: 5px solid #0A84C1; }
.phr6-bal__who { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 15px/1.25 var(--f-display); color: #082238; }
.phr6-bal__who svg { flex: none; fill: none; stroke: #B2401E; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phr6-bal__who img { flex: none; }
.phr6-bal__pan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.phr6-bal__pan li { position: relative; padding-left: 15px; font-size: 13.5px; line-height: 1.4; color: #334155; }
.phr6-bal__pan li::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border-radius: 50%; background: #F4A58C; }
.phr6-bal__pan--b li::before { background: #7CC6EA; }
.phr6-bal__pan.is-heavy { box-shadow: 0 30px 50px -26px rgba(8,34,56,.7); }
.phr6-bal__cap { margin: 14px 0 0; text-align: center; font: 600 14px/1.4 var(--f-body); color: #475569; }

/* ---------- article column ---------- */
.phr6-art { padding-top: clamp(24px, 4vw, 44px); }
.phr6-col { max-width: 860px; }
.phr6-art .phr6-col > p, .phr6-art2 .phr6-col > p { margin: 0 0 18px; font-size: 17.5px; line-height: 1.72; color: #334155; }
.phr6-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 46px; padding: 14px; border-radius: 18px; background: #F3F7F9; border: 1px solid #E2E8F0; }
.phr6-jump__t { margin-right: 4px; font: 700 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #0A5A8A; }
.phr6-jump a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 13px; border-radius: 99px; background: #fff; border: 1px solid #DCE5EC; font: 600 14px/1.2 var(--f-body); color: #082238; text-decoration: none; transition: border-color .2s, background .2s; }
.phr6-jump a:hover { border-color: #0A84C1; background: #E8F5FC; }
.phr6-jump a:focus-visible { outline: 3px solid #0A84C1; outline-offset: 2px; }
.phr6-h2 { margin: 56px 0 0; font: 700 clamp(25px, 1rem + 1.2vw, 33px)/1.25 var(--f-display); letter-spacing: -.02em; color: #082238; scroll-margin-top: 100px; text-wrap: balance; }
.phr6-jump + .phr6-h2, .phr6-col > .phr6-h2:first-child { margin-top: 0; }
.phr6-short { margin: 16px 0 22px !important; padding: 16px 20px; border-radius: 0 16px 16px 0; background: #FFF8E6; border-left: 5px solid #FFB81C; font-weight: 500; color: #082238 !important; }
.phr6-short b { display: block; margin-bottom: 4px; font: 800 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #7A4F00; }
.phr6-note { margin: 22px 0 0; font-size: 16px; line-height: 1.65; color: #334155; }

/* ---------- iceberg ---------- */
.phr6-berg { margin-top: 26px; border-radius: 24px; overflow: hidden; border: 1px solid #D5E3EC; box-shadow: 0 30px 60px -44px rgba(8,34,56,.7); }
.phr6-berg__top { padding: 22px 24px 26px; background: linear-gradient(180deg, #F4FAFD, #DCEFF8); }
.phr6-berg__top ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.phr6-berg__top li { padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid #C9DCE8; font: 700 15px/1.2 var(--f-display); color: #082238; }
.phr6-berg__label { margin: 0 0 12px; font: 700 12px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #0A5A8A; }
.phr6-berg__line { position: relative; height: 26px; background: #0A3A63; }
.phr6-berg__line::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 14px; background: radial-gradient(circle at 10px -4px, transparent 11px, #0A3A63 12px) 0 0 / 20px 14px repeat-x; }
.phr6-berg__line span { position: absolute; right: 18px; top: 6px; font: 700 11.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #CFE3F1; }
.phr6-berg__deep { padding: 18px 24px 26px; background: linear-gradient(180deg, #0A3A63, #061A2E 75%); }
.phr6-berg__deep .phr6-berg__label { color: #9FD8F2; }
.phr6-berg__deep ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.phr6-berg__deep li { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 14.5px; line-height: 1.5; color: #D6E4EE; }
.phr6-berg__deep li b { display: block; margin-bottom: 3px; font: 700 15.5px/1.3 var(--f-display); color: #fff; }
.phr6-berg__deep li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.phr6-js .phr6-berg__deep li { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.phr6-js .phr6-berg.is-in .phr6-berg__deep li { opacity: 1; transform: none; }

/* ---------- partner gains ---------- */
.phr6-gains { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.phr6-gains li { position: relative; padding: 14px 16px 14px 50px; border-radius: 14px; background: #F3F9FC; border: 1px solid #DCEBF3; font-size: 16.5px; line-height: 1.6; color: #334155; }
.phr6-gains li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: #0A84C1; }
.phr6-gains li::after { content: ""; position: absolute; left: 22px; top: 21px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.phr6-gains b { color: #082238; }

/* ---------- signature: priority sliders + scale ---------- */
.phr6-w { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 22px; align-items: start; margin-top: 26px; }
.phr6-w__ctl { padding: clamp(18px, 2.4vw, 26px); border-radius: 24px; background: #fff; border: 1px solid #E2E8F0; }
.phr6-w__row { display: grid; grid-template-columns: minmax(0, 1fr) 170px 104px; align-items: center; gap: 14px; padding: 12px 10px; border-bottom: 1px solid #EEF2F6; }
.phr6-w__row:last-of-type { border-bottom: 0; }
.phr6-w__row label { display: block; cursor: pointer; }
.phr6-w__row label b { display: block; font: 700 16px/1.3 var(--f-display); color: #082238; }
.phr6-w__row label span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: #475569; }
.phr6-w__row input[type=range] { width: 100%; height: 28px; margin: 0; accent-color: #0A6FA8; cursor: pointer; }
.phr6-w__row input[type=range]:focus-visible { outline: 3px solid #0A84C1; outline-offset: 3px; border-radius: 6px; }
.phr6-w__lvl { justify-self: end; padding: 5px 10px; border-radius: 99px; background: #F1F5F9; font: 700 12.5px/1.2 var(--f-body); color: #334155; white-space: nowrap; }
.phr6-w__row[data-v="2"] .phr6-w__lvl { background: #E8F5FC; color: #0B4D75; }
.phr6-w__row[data-v="3"] .phr6-w__lvl { background: #082238; color: #fff; }
.phr6-w__row[data-v="0"] .phr6-w__lvl { color: #475569; }
.phr6-w__how { margin: 12px 10px 0; font-size: 14px; line-height: 1.55; color: #475569; }
.phr6-w__out { position: sticky; top: 100px; padding: 22px; border-radius: 24px; background: linear-gradient(150deg, #061A2E, #0A3A63 60%, #07605E); color: #D6E4EE; }
.phr6-w__scale { position: relative; height: 150px; margin: 0 0 8px; --t: 0deg; --ya: 0px; --yb: 0px; }
.phr6-w__beam { position: absolute; top: 34px; left: 14%; right: 14%; height: 8px; border-radius: 99px; background: #CFE3F1; transform: rotate(var(--t)); transition: transform .7s cubic-bezier(.3,1.4,.5,1); }
.phr6-w__beam i { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #FFB81C; box-shadow: inset 0 0 0 5px #082238; }
.phr6-w__post { position: absolute; left: 50%; top: 40px; bottom: 0; width: 8px; margin-left: -4px; border-radius: 4px 4px 0 0; background: #CFE3F1; }
.phr6-w__post::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 90px; height: 10px; margin-left: -45px; border-radius: 8px 8px 3px 3px; background: #CFE3F1; }
.phr6-w__pan { position: absolute; top: 70px; width: 36%; padding: 12px 6px; border-radius: 0 0 40px 40px; text-align: center; font: 700 14px/1.2 var(--f-display); transition: transform .7s cubic-bezier(.3,1.4,.5,1); }
.phr6-w__pan::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 34px; margin-left: -1px; background: rgba(207,227,241,.7); }
.phr6-w__pan--a { left: 0; transform: translateY(var(--ya)); background: #FFF1EC; color: #8A2E14; }
.phr6-w__pan--b { right: 0; transform: translateY(var(--yb)); background: #E8F5FC; color: #0B4D75; }
.phr6-w__v { margin: 0; font: 700 22px/1.25 var(--f-display); color: #fff; letter-spacing: -.01em; }
.phr6-w__s { margin: 8px 0 18px; font-size: 15px; line-height: 1.55; color: #D6E4EE; }
.phr6-w__go { width: 100%; justify-content: center; }
.phr6-w__reset { display: block; min-height: 32px; margin: 10px auto 0; padding: 4px 10px; border: 0; background: none; font: 600 14px/1.2 var(--f-body); color: #CFE3F1; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.phr6-w__reset:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; border-radius: 6px; }

/* ---------- tug-of-war contrast tweaks (scoped) ---------- */
.phr6-tug { margin-top: 26px; }
.phr6-tug .mk-tug__ends span:first-child { color: #B2401E; }
.phr6-tug .mk-tug__ends span:last-child { color: #0A5A8A; }
.phr6-tug .mk-tug__ends svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hybrid lanes ---------- */
.phr6-lanes { margin-top: 26px; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #DCE8E4; }
.phr6-lanes__head, .phr6-lanes__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr); align-items: center; gap: 12px; padding: 12px 18px; }
.phr6-lanes__head { background: #082238; color: #fff; font: 700 13px/1.2 var(--f-body); letter-spacing: .04em; }
.phr6-lanes__head span:nth-child(2) { color: #FFD1C2; } .phr6-lanes__head span:nth-child(3) { color: #BFE6F7; }
.phr6-lanes__row { border-top: 1px solid #EEF2F6; font-size: 15.5px; line-height: 1.4; color: #082238; }
.phr6-lanes__row > span:first-child { font-weight: 600; }
.phr6-own { justify-self: start; padding: 6px 12px; border-radius: 99px; background: #FFF1EC; border: 1px solid #F6C3B2; font: 700 13px/1.2 var(--f-body); color: #8A2E14; }
.phr6-own--b { background: #E8F5FC; border-color: #A9D8EF; color: #0B4D75; }
.phr6-js .phr6-lanes__row .phr6-own { opacity: 0; transform: scale(.8); transition: opacity .45s, transform .45s cubic-bezier(.3,1.5,.5,1); transition-delay: calc(var(--i, 0) * 80ms); }
.phr6-js .phr6-lanes.is-in .phr6-own { opacity: 1; transform: none; }
.phr6-apps { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.phr6-apps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 99px; background: #fff; border: 1px solid #DCE5EC; font: 600 14.5px/1.2 var(--f-body); color: #082238; }

/* ---------- company size tabs ---------- */
.phr6-sz { margin-top: 26px; padding: clamp(18px, 2.6vw, 28px); border-radius: 24px; background: #fff; border: 1px solid #E2E8F0; }
.phr6-sz__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.phr6-sz__tabs button { min-height: 40px; padding: 8px 16px; border-radius: 12px; border: 1px solid #DCE5EC; background: #F3F7F9; font: 700 14.5px/1.2 var(--f-body); color: #334155; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.phr6-sz__tabs button[aria-selected="true"] { background: #082238; border-color: #082238; color: #fff; }
.phr6-sz__tabs button:focus-visible { outline: 3px solid #0A84C1; outline-offset: 2px; }
.phr6-sz__tabs:not(.is-live) { display: none; }
.phr6-sz__panel + .phr6-sz__panel { margin-top: 26px; }
.phr6-sz__tabs.is-live ~ .phr6-sz__panel { margin-top: 0; }
.phr6-sz__panel h3 { margin: 0 0 12px; font: 700 19px/1.3 var(--f-display); color: #082238; }
.phr6-sz__panel p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.65; color: #334155; }
.phr6-sz__bar { position: relative; height: 34px; border-radius: 10px; overflow: hidden; background: #E8F5FC; border: 1px solid #C7E3F2; }
.phr6-sz__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--in); background: #FFE0D5; border-right: 3px solid #E0623F; transition: width .8s cubic-bezier(.3,1.2,.4,1); }
.phr6-sz__bar span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 3px 10px; border-radius: 99px; background: #fff; font: 700 13px/1.2 var(--f-body); color: #082238; white-space: nowrap; }

/* ---------- ETG block ---------- */
.phr6-etg__grid { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: 20px; margin-top: 26px; align-items: stretch; }
.phr6-tag { position: relative; padding: 26px 24px; border-radius: 24px; background: linear-gradient(150deg, #061A2E, #0A3A63 60%, #07605E); color: #D6E4EE; overflow: hidden; }
.phr6-tag::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 18px solid rgba(255,184,28,.16); }
.phr6-tag__k { margin: 0; font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #FFD27A; }
.phr6-tag__fig { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 0; color: #fff; }
.phr6-tag__fig small { font: 600 16px/1 var(--f-body); color: #D6E4EE; }
.phr6-tag__fig b { font: 800 clamp(52px, 2rem + 3vw, 72px)/1 var(--f-display); letter-spacing: -.04em; color: #FFB81C; }
.phr6-tag__fig em { font: 600 18px/1 var(--f-body); font-style: normal; color: #fff; }
.phr6-tag__for { margin: 6px 0 0; font: 700 17px/1.3 var(--f-display); color: #fff; }
.phr6-tag__more { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14.5px; line-height: 1.55; color: #D6E4EE; }
.phr6-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.phr6-models li { position: relative; padding: 18px 18px 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; overflow: hidden; font-size: 15px; line-height: 1.55; color: #334155; }
.phr6-models li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, #1D3F8F, #00B2A9); }
.phr6-models b { display: block; margin-bottom: 4px; font: 700 17px/1.3 var(--f-display); color: #082238; }
.phr6-facts { max-width: 900px; margin: 20px 0 0; font-size: 16px; line-height: 1.65; color: #334155; }
.phr6-steps { margin-top: 34px; }
.phr6-steps__t { margin: 0 0 14px; font: 700 19px/1.3 var(--f-display); color: #082238; }
.phr6-steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.phr6-steps li { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; font-size: 14.5px; line-height: 1.55; color: #334155; }
.phr6-steps li b { display: block; margin: 12px 0 4px; font: 700 16px/1.3 var(--f-display); color: #082238; }
.phr6-steps__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FFB81C; font: 800 15px/1 var(--f-display); color: #082238; }
.phr6-steps__more { margin: 14px 0 0; font-size: 15px; color: #334155; }
.phr6-steps__more a, .phr6-etg .pg-trustnote a { color: #0A5A8A; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .phr6-hero__grid { grid-template-columns: 1fr; }
  .phr6-w { grid-template-columns: 1fr; }
  .phr6-w__out { position: static; }
  .phr6-etg__grid { grid-template-columns: 1fr; }
  .phr6-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .phr6-bal__rig { height: 340px; }
  .phr6-bal__pan { width: 47%; padding: 12px 10px 14px; }
  .phr6-bal__who { font-size: 14px; }
  .phr6-bal__pan li { font-size: 12.5px; }
  .phr6-bal__beam { left: 16%; right: 16%; }
  .phr6-berg__deep ul, .phr6-models, .phr6-steps ol { grid-template-columns: 1fr; }
  .phr6-w__row { grid-template-columns: minmax(0, 1fr) auto; }
  .phr6-w__row input[type=range] { grid-column: 1 / -1; grid-row: 2; }
  .phr6-w__row .phr6-w__lvl { grid-row: 1; grid-column: 2; }
  .phr6-lanes__head, .phr6-lanes__row { grid-template-columns: minmax(0, 1fr) 78px 78px; padding: 12px 12px; gap: 8px; font-size: 14.5px; }
  .phr6-lanes__head span:nth-child(n+2) { font-size: 12px; }
  .phr6-own { padding: 5px 8px; font-size: 12px; }
  .phr6-jump__t { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .phr6-js .phr6-berg__deep li, .phr6-js .phr6-lanes__row .phr6-own { opacity: 1; transform: none; transition: none; }
  .phr6-w__beam, .phr6-w__pan, .phr6-sz__bar i { transition: none; }
}

/* tap target for the standalone FAQ link */
.pg-faq__links .pg-link { display: inline-flex; align-items: center; min-height: 24px; }
