/* Professional services industry landing only. Every class is scoped with .pip- (loaded via extra: crm, p-ind-professional-services). */
:root { --pip-ink: #082238; --pip-body: #334155; --pip-muted: #64748B; --pip-line: #E2E8F0; --pip-paper: #F3F7F9; --pip-violet: #7C3AED; --pip-link: #0A6FA8; --pip-green: #1E9E62; --pip-amber: #FFB81C; --pip-kraft: #F6EBD3; --pip-kraft-d: #E6D3AC; }

/* ---------- 1. hero: letter → board → invoice ---------- */
.pip-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.pip-hero .pg-h1 { max-width: 19ch; font-size: clamp(34px, 1.1rem + 2.4vw, 52px); }
.pip-hero .pg-lead { font-size: 17px; }

.pip-morph { position: relative; margin: 0; padding: 18px; border-radius: 26px; background: rgba(255,255,255,.88); border: 1px solid var(--pip-line); box-shadow: 0 50px 90px -50px rgba(8,34,56,.5), 0 14px 30px -24px rgba(8,34,56,.3); min-width: 0; }
.pip-morph__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 0 4px 12px; }
.pip-morph__top b { font: 800 15px/1.2 var(--f-display); color: var(--pip-ink); }
.pip-morph__top span { font-size: 12.5px; color: var(--pip-muted); }
.pip-morph__top em, .pip-est__head em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: #FFF4D6; color: #8A5A00; }
.pip-morph__ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--pip-paper); border: 1px solid var(--pip-line); }
.pip-morph__ph button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 9px 6px; border: 0; border-radius: 10px; background: transparent; font: 600 13.5px/1 var(--f-body); color: var(--pip-body); cursor: pointer; position: relative; overflow: hidden; transition: background-color .25s, color .25s, box-shadow .25s; }
.pip-morph__ph button img { width: 16px; height: 16px; flex: none; }
.pip-morph__ph button[aria-pressed="true"] { background: #fff; color: var(--pip-ink); box-shadow: 0 8px 18px -12px rgba(8,34,56,.6); }
.pip-morph__ph button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--pip-amber); transform: scaleX(0); transform-origin: left; }
.pip-morph.is-auto .pip-morph__ph button[aria-pressed="true"]::after { animation: pip-bar var(--pip-dwell, 2.8s) linear forwards; }
@keyframes pip-bar { to { transform: scaleX(1); } }
.pip-morph__ph button:focus-visible { outline: 2px solid var(--pip-link); outline-offset: 2px; }

.pip-morph__stage { position: relative; height: 330px; margin-top: 12px; }
.pip-sheet { position: absolute; inset: 0; padding: 16px 16px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--pip-line); box-shadow: 0 24px 40px -30px rgba(8,34,56,.45); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.985); transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1), visibility 0s .6s; }
.pip-sheet.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.pip-sheet__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--pip-ink); }
.pip-sheet__h b { font: 800 14.5px/1.2 var(--f-display); color: var(--pip-ink); }
.pip-sheet__h span { font-size: 12px; color: var(--pip-muted); }
.pip-sheet__k { margin: 0 0 6px; font: 700 11px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--pip-muted); }
.pip-slots { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pip-slot { height: 40px; border-radius: 10px; border: 1px dashed transparent; }
.pip-sheet__terms { margin: 10px 0 0; font-size: 12.5px; color: var(--pip-body); }
.pip-sig { position: relative; display: flex; align-items: flex-end; gap: 10px; margin-top: 10px; padding-top: 4px; border-top: 1px solid var(--pip-line); }
.pip-sig svg { width: 140px; height: 32px; fill: none; stroke: #1D3F8F; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.pip-sig span { font-size: 11px; color: var(--pip-muted); padding-bottom: 4px; }
.pip-sheet--letter.is-on .pip-sig svg { animation: pip-draw 1.2s .5s ease forwards; }
@keyframes pip-draw { to { stroke-dashoffset: 0; } }
.pip-stamp { position: absolute; right: 2px; bottom: 4px; padding: 5px 10px; border: 2px solid var(--pip-green); border-radius: 8px; font: 800 12px/1 var(--f-display); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--pip-green); background: rgba(255,255,255,.9); transform: rotate(-8deg) scale(1.6); opacity: 0; }
.pip-sheet.is-on .pip-stamp { animation: pip-stamp .45s 1.5s cubic-bezier(.3,1.5,.5,1) forwards; }
.pip-stamp--sent { right: 16px; bottom: 16px; border-color: var(--pip-link); color: var(--pip-link); }
@keyframes pip-stamp { to { opacity: 1; transform: rotate(-8deg) scale(1); } }

.pip-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pip-col { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 8px 6px; border-radius: 12px; background: var(--pip-paper); min-height: 196px; }
.pip-col > p { margin: 0 2px 2px; font: 700 11px/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--pip-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pip-col .pip-slot { height: 84px; }
.pip-ghost { display: block; height: 38px; border-radius: 10px; background: repeating-linear-gradient(0deg, transparent 0 12px, rgba(8,34,56,.06) 12px 14px), #fff; box-shadow: 0 0 0 1px var(--pip-line); }
.pip-sheet__foot { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 12.5px; color: var(--pip-body); }
.pip-sheet__foot b { font: 800 14px/1 var(--f-display); color: var(--pip-ink); }
.pip-clock { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--pip-violet); flex: none; }
.pip-clock::after { content: ""; position: absolute; left: 50%; top: 2px; width: 2px; height: 5px; margin-left: -1px; background: var(--pip-violet); transform-origin: 50% 100%; }
.pip-sheet--board.is-on .pip-clock::after { animation: pip-spin 2s linear infinite; }
@keyframes pip-spin { to { transform: rotate(360deg); } }
.pip-slots--inv .pip-slot { height: 44px; }
.pip-inv__tot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 10px 0 0; padding-top: 10px; border-top: 2px solid var(--pip-ink); font-variant-numeric: tabular-nums; }
.pip-inv__tot span { font-size: 12.5px; color: var(--pip-muted); }
.pip-inv__tot b { font: 800 22px/1 var(--f-display); color: var(--pip-ink); }

.pip-tok { position: absolute; left: 0; top: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 6px 10px 6px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--pip-line), 0 10px 20px -14px rgba(8,34,56,.6); overflow: hidden;
  width: var(--w, 200px); height: var(--h, 40px); transform: translate3d(var(--x, 0), var(--y, 0), 0);
  transition: transform .9s cubic-bezier(.6,.05,.25,1), width .9s cubic-bezier(.6,.05,.25,1), height .9s cubic-bezier(.6,.05,.25,1), background-color .5s; will-change: transform; }
.pip-tok::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pip-violet); }
.pip-tok b { grid-column: 1; font: 700 13px/1.25 var(--f-display); color: var(--pip-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pip-tok span { grid-column: 1; font-size: 11.5px; line-height: 1.3; color: var(--pip-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pip-tok i { grid-column: 2; grid-row: 1 / span 2; font: 800 13px/1 var(--f-display); font-style: normal; color: var(--pip-ink); font-variant-numeric: tabular-nums; }
.pip-tok i:empty { display: none; }
.pip-morph[data-ph="0"] .pip-tok { grid-template-columns: minmax(0, 1fr) auto; }
.pip-morph[data-ph="0"] .pip-tok span { grid-column: 2; grid-row: 1; font-weight: 700; color: var(--pip-violet); }
.pip-morph[data-ph="0"] .pip-tok b { grid-row: 1; }
.pip-morph[data-ph="1"] .pip-tok { align-content: start; padding: 8px 8px 8px 11px; }
.pip-morph[data-ph="1"] .pip-tok b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 12.5px; }
.pip-morph[data-ph="1"] .pip-tok span { margin-top: 4px; color: var(--pip-violet); font-weight: 600; }
.pip-morph[data-ph="2"] .pip-tok::before { background: var(--pip-link); }
.pip-morph[data-ph="2"] .pip-tok { box-shadow: 0 0 0 1px var(--pip-line); }
.pip-tok.is-swap b, .pip-tok.is-swap span, .pip-tok.is-swap i { animation: pip-fade .5s ease; }
@keyframes pip-fade { 0% { opacity: 0; } 100% { opacity: 1; } }
.pip-morph__cap { margin: 12px 4px 0; min-height: 2.6em; font-size: 13px; line-height: 1.4; color: var(--pip-body); }
.pip-js-wait .pip-tok { opacity: 0; }

/* ---------- 2. which one are you ---------- */
.pip-who__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.pip-who__list a { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px 20px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--pip-line); text-decoration: none; color: var(--pip-body); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.pip-who__list a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.pip-who__list a:hover, .pip-who__list a:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 40%, var(--pip-line)); box-shadow: 0 26px 44px -30px rgba(8,34,56,.5); }
.pip-who__list a:hover::before, .pip-who__list a:focus-visible::before { transform: scaleX(1); }
.pip-who__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--bg); color: var(--c); }
.pip-who__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pip-who__list b { font: 700 19px/1.25 var(--f-display); color: var(--pip-ink); letter-spacing: -.02em; }
.pip-who__list span:not(.pip-who__ic) { font-size: 15px; line-height: 1.55; }
.pip-who__list em { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-style: normal; font: 600 14px/1.3 var(--f-body); color: var(--c); }
.pip-who__list em img { width: 20px; height: 20px; }
.pip-who__list em img:last-of-type { margin-right: 4px; }

/* ---------- 3. matter lifecycle: folder tabs ---------- */
.pip-folder { margin-top: 36px; }
.pip-folder__tabs { display: flex; gap: 0; padding: 0 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pip-folder__tabs::-webkit-scrollbar { display: none; }
.pip-folder__tabs button { position: relative; z-index: calc(10 - var(--i)); flex: none; display: inline-flex; align-items: center; gap: 8px; margin-right: -10px; padding: 12px 26px 12px 18px; border: 1px solid var(--pip-kraft-d); border-bottom: 0; border-radius: 14px 14px 0 0; background: linear-gradient(#EFE2C4, #E9D9B6); font: 600 14px/1 var(--f-body); color: #6B5326; cursor: pointer; clip-path: polygon(0 100%, 6px 0, calc(100% - 14px) 0, 100% 100%); transform: translateY(6px); transition: transform .25s, background .25s, color .25s; }
.pip-folder__tabs button b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(107,83,38,.14); font: 800 11px/1 var(--f-display); }
.pip-folder__tabs button:hover { transform: translateY(2px); }
.pip-folder__tabs button[aria-selected="true"] { z-index: 20; background: var(--pip-kraft); color: var(--pip-ink); transform: none; }
.pip-folder__tabs button[aria-selected="true"] b { background: var(--pip-violet); color: #fff; }
.pip-folder__tabs button:focus-visible { outline: 2px solid var(--pip-link); outline-offset: -3px; }
.pip-folder__body { position: relative; z-index: 15; padding: clamp(22px, 3vw, 36px); border-radius: 0 22px 22px 22px; background: var(--pip-kraft); border: 1px solid var(--pip-kraft-d); box-shadow: 0 30px 60px -44px rgba(70,50,10,.55); }
.pip-folder__body::before { content: ""; position: absolute; inset: 14px 14px auto auto; width: 120px; height: 10px; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(107,83,38,.18) 0 6px, transparent 6px 10px); }
.pip-folder__p { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.pip-folder__p[hidden] { display: none; }
.pip-folder__p:not([hidden]) { animation: pip-page .45s ease; }
@keyframes pip-page { from { opacity: 0; transform: translateY(10px) rotate(-.4deg); } to { opacity: 1; transform: none; } }
.pip-folder__txt { padding: 22px 24px; border-radius: 6px 16px 16px 16px; background: #fff; box-shadow: 0 1px 0 var(--pip-kraft-d), 6px 6px 0 -1px #FBF6EA, 6px 6px 0 0 var(--pip-kraft-d); }
.pip-folder__txt h3 { margin: 0 0 10px; font: 700 21px/1.25 var(--f-display); letter-spacing: -.02em; color: var(--pip-ink); }
.pip-folder__txt > p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--pip-body); }
.pip-folder__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--pip-line); }
.pip-folder__dl dt { font: 700 11px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--pip-muted); }
.pip-folder__dl dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--pip-ink); }
.pip-folder__apps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pip-folder__apps a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--pip-kraft-d); text-decoration: none; transition: background-color .2s, transform .2s; }
.pip-folder__apps a:hover { background: #fff; transform: translateX(4px); }
.pip-folder__apps img { width: 28px; height: 28px; flex: none; }
.pip-folder__apps span { font-size: 13.5px; line-height: 1.35; color: var(--pip-body); }
.pip-folder__apps b { display: block; font: 700 15px/1.25 var(--f-display); color: var(--pip-ink); }
.pip-folder__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.pip-folder__nav p { margin: 0; font-size: 13.5px; color: var(--pip-muted); }
.pip-folder__step { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--pip-line); background: #fff; font: 600 14px/1 var(--f-body); color: var(--pip-ink); cursor: pointer; }
.pip-folder__step:hover { border-color: var(--pip-violet); }
.pip-folder__step:disabled { opacity: .4; cursor: default; }

/* ---------- 4. estimator (dark band) ---------- */
.pip-est__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(22px, 3vw, 40px); margin-top: 36px; align-items: start; }
.pip-est__form { display: grid; gap: 20px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.pip-field { display: grid; gap: 10px; }
.pip-field > span { display: flex; justify-content: space-between; gap: 10px; font: 600 14.5px/1.3 var(--f-body); color: #fff; }
.pip-field output { font: 800 17px/1 var(--f-display); color: #5FD3F3; }
.pip-field input[type="range"] { width: 100%; accent-color: var(--pip-amber); }
.pip-field--light > span { color: var(--pip-ink); }
.pip-field--light output { color: var(--pip-link); }
.pip-field--light input[type="range"] { accent-color: #00A3D9; }
.pip-seg, .pip-checks { margin: 0; padding: 0; border: 0; min-width: 0; }
.pip-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.pip-seg legend, .pip-checks legend { flex: 0 0 100%; margin-bottom: 8px; padding: 0; font: 600 14.5px/1.3 var(--f-body); color: #fff; }
.pip-seg label, .pip-checks label { position: relative; }
.pip-seg input, .pip-checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pip-seg span { display: inline-block; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); font: 600 14px/1 var(--f-body); color: #D7E6F0; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pip-seg input:checked + span { background: var(--pip-amber); border-color: var(--pip-amber); color: var(--pip-ink); }
.pip-checks { display: grid; gap: 6px; }
.pip-checks span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; line-height: 1.35; color: #D7E6F0; cursor: pointer; transition: background-color .2s; }
.pip-checks span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.4); transition: background-color .2s, border-color .2s; background: center / 12px no-repeat; }
.pip-checks span:hover { background: rgba(255,255,255,.06); }
.pip-checks input:checked + span { color: #fff; }
.pip-checks input:checked + span::before { background-color: var(--pip-amber); border-color: var(--pip-amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%23082238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pip-seg input:focus-visible + span, .pip-checks input:focus-visible + span { outline: 2px solid #5FD3F3; outline-offset: 2px; }
.pip-est__out { padding: 24px; border-radius: 22px; background: #fff; color: var(--pip-body); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); min-width: 0; }
.pip-est__head { display: flex; align-items: center; gap: 10px; }
.pip-est__head h3 { margin: 0; font: 800 21px/1.2 var(--f-display); letter-spacing: -.02em; color: var(--pip-ink); }
.pip-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: ch; }
.pip-chain li { position: relative; padding: 10px 10px 10px; border-radius: 12px; background: var(--pip-paper); font-size: 12.5px; line-height: 1.35; color: var(--pip-body); animation: pip-pop .4s ease both; animation-delay: calc(var(--k) * 70ms); }
.pip-chain li b { display: block; margin-bottom: 3px; font: 700 13.5px/1.25 var(--f-display); color: var(--pip-ink); }
.pip-chain li img { display: block; width: 20px; height: 20px; margin-bottom: 6px; }
.pip-chain li:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 50%; z-index: 1; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid var(--pip-violet); border-right: 2px solid var(--pip-violet); transform: rotate(45deg); }
@keyframes pip-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pip-est__k { margin: 18px 0 8px; font: 700 12px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--pip-muted); }
.pip-est__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pip-est__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--pip-line); font-size: 14.5px; line-height: 1.45; color: var(--pip-body); animation: pip-pop .35s ease both; animation-delay: calc(var(--k) * 40ms); }
.pip-est__list li img { width: 22px; height: 22px; }
.pip-est__list li b { color: var(--pip-ink); font-weight: 600; }
.pip-est__list li.is-warn { background: linear-gradient(90deg, #FFF7E6, transparent); }
.pip-est__line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed #B6C3D1; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--pip-body); }
.pip-est__line b { font: 800 16px/1.2 var(--f-display); color: var(--pip-ink); }
.pip-est__apps ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pip-est__apps li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 10px; background: var(--pip-paper); font: 600 13.5px/1.25 var(--f-body); color: var(--pip-ink); }
.pip-est__apps li img { width: 18px; height: 18px; }
.pip-est__send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; }
.pip-est__send span { font-size: 13.5px; color: var(--pip-muted); }

/* ---------- 5. stack by size ---------- */
.pip-stack__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; align-items: stretch; }
.pip-tier { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--pip-line); }
.pip-tier::before { content: ""; position: absolute; left: 22px; top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: var(--c); }
.pip-tier.is-pick { border-color: color-mix(in srgb, var(--c) 45%, var(--pip-line)); box-shadow: 0 30px 60px -40px rgba(124,58,237,.55); }
.pip-tier__flag { position: absolute; right: 18px; top: -12px; margin: 0; padding: 5px 10px; border-radius: 99px; background: var(--pip-amber); font: 700 12px/1 var(--f-body); color: var(--pip-ink); }
.pip-tier__size { margin: 0; font: 700 12px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.pip-tier h3 { margin: 6px 0 8px; font: 700 21px/1.25 var(--f-display); letter-spacing: -.02em; color: var(--pip-ink); }
.pip-tier > p:not([class]) { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--pip-body); }
.pip-tier ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pip-tier ul a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--pip-paper); text-decoration: none; transition: background-color .2s; }
.pip-tier ul a:hover { background: color-mix(in srgb, var(--c) 9%, #fff); }
.pip-tier ul img { width: 26px; height: 26px; flex: none; }
.pip-tier ul span { font-size: 13.5px; line-height: 1.35; color: var(--pip-body); }
.pip-tier ul b { display: block; font: 700 15px/1.25 var(--f-display); color: var(--pip-ink); }
.pip-tier__plus { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--pip-line); font-size: 13.5px; color: var(--pip-muted); }

/* ---------- 6. compliance ---------- */
.pip-law__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.pip-law__col { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--pip-line); }
.pip-law__col.is-zoho { background: linear-gradient(160deg, #F4EFFF, #fff 60%); border-color: #DDD0FB; }
.pip-law__col h3 { margin: 0 0 12px; font: 700 19px/1.3 var(--f-display); color: var(--pip-ink); }
.pip-law__col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pip-law__col li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--pip-body); }
.pip-law__col li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 4px; background: var(--pip-violet); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5 6 10l5-6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5 6 10l5-6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pip-law__col:not(.is-zoho) li::before { background: #94A3B8; -webkit-mask: none; mask: none; width: 8px; height: 8px; top: 8px; left: 3px; border-radius: 50%; }

/* ---------- 7. moving from ---------- */
.pip-move__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); margin-top: 32px; align-items: start; }
.pip-move__tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pip-move__tools button { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 56px; padding: 10px; border-radius: 14px; border: 1px solid var(--pip-line); background: #fff; font: 600 14px/1.2 var(--f-body); color: var(--pip-ink); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pip-move__tools button img { width: 22px; height: 22px; flex: none; object-fit: contain; }
.pip-move__tools button:hover { transform: translateY(-2px); }
.pip-move__tools button[aria-pressed="true"] { border-color: var(--pip-violet); box-shadow: 0 0 0 3px rgba(124,58,237,.15), 0 14px 26px -18px rgba(8,34,56,.5); }
.pip-move__name { display: inline-block; padding: 5px 8px; border-radius: 8px; background: var(--pip-paper); border: 1px solid var(--pip-line); font: 700 13px/1.1 var(--f-display); color: var(--pip-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pip-move__out { position: relative; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--pip-line); box-shadow: 0 30px 60px -44px rgba(8,34,56,.5); }
.pip-move__out::before { content: "→ Zoho"; position: absolute; right: 18px; top: 22px; font: 700 12px/1 var(--f-body); letter-spacing: .04em; color: var(--pip-violet); }
.pip-move__from { margin: 0 0 12px; font: 800 22px/1.2 var(--f-display); letter-spacing: -.02em; color: var(--pip-ink); }
.pip-move__out dl { margin: 0 0 14px; }
.pip-move__out dl div { padding: 10px 0; border-top: 1px solid var(--pip-line); }
.pip-move__out dt { font: 700 11px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--pip-muted); }
.pip-move__out dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--pip-body); }
.pip-move__out.is-swap dd, .pip-move__out.is-swap .pip-move__from { animation: pip-fade .4s ease; }

/* ---------- 8. licence calculator ---------- */
.pip-calc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 36px); margin-top: 32px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: #fff; border: 1px solid var(--pip-line); box-shadow: 0 30px 60px -48px rgba(8,34,56,.5); }
.pip-calc__in { display: grid; gap: 22px; align-content: start; }
.pip-sw { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--pip-paper); border: 1px solid var(--pip-line); width: fit-content; max-width: 100%; }
.pip-sw button { padding: 9px 14px; border: 0; border-radius: 9px; background: transparent; font: 600 14px/1 var(--f-body); color: var(--pip-body); cursor: pointer; }
.pip-sw button[aria-pressed="true"] { background: #fff; color: var(--pip-ink); box-shadow: 0 6px 14px -10px rgba(8,34,56,.6); }
.pip-calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-width: 0; }
.pip-calc__col { position: relative; display: flex; flex-direction: column; padding: 18px; border-radius: 18px; background: var(--pip-paper); border: 1.5px solid transparent; transition: border-color .3s, background-color .3s; min-width: 0; }
.pip-calc__col.is-win { border-color: var(--pip-green); background: #F1FAF5; }
.pip-calc__h { margin: 0 0 10px; font: 700 15.5px/1.3 var(--f-display); color: var(--pip-ink); }
.pip-calc__col ul { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.pip-calc__col li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--pip-body); font-variant-numeric: tabular-nums; }
.pip-calc__col li span:last-child { white-space: nowrap; color: var(--pip-ink); font-weight: 600; }
.pip-calc__tot { display: flex; align-items: baseline; gap: 6px; margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--pip-line); }
.pip-calc__tot b { font: 800 28px/1 var(--f-display); color: var(--pip-ink); font-variant-numeric: tabular-nums; }
.pip-calc__tot span { font-size: 13px; color: var(--pip-muted); }
.pip-calc__yr { margin: 4px 0 0; font-size: 13px; color: var(--pip-muted); }
.pip-calc__win { position: absolute; right: 12px; top: -11px; padding: 4px 9px; border-radius: 99px; background: var(--pip-green); font: 700 11.5px/1 var(--f-body); font-style: normal; color: #fff; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.pip-calc__col.is-win .pip-calc__win { opacity: 1; transform: none; }
.pip-calc__note { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.5; color: var(--pip-body); }

/* ---------- 9. packages ---------- */
.pip-pk__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.pip-pk__card { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--pip-line); }
.pip-pk__card.is-pick { border-color: #CDB8F8; box-shadow: 0 30px 60px -40px rgba(124,58,237,.5); }
.pip-pk__flag { position: absolute; right: 18px; top: -12px; margin: 0; padding: 5px 10px; border-radius: 99px; background: var(--pip-amber); font: 700 12px/1 var(--f-body); color: var(--pip-ink); }
.pip-pk__tabs { display: flex; gap: 4px; margin: 0 0 14px; }
.pip-pk__tabs i { width: 30px; height: 12px; border-radius: 6px 6px 0 0; background: var(--pip-violet); }
.pip-pk__tabs i.is-off { background: var(--pip-line); }
.pip-pk__card h3 { margin: 0 0 4px; font: 700 21px/1.25 var(--f-display); letter-spacing: -.02em; color: var(--pip-ink); }
.pip-pk__for { margin: 0 0 14px; font-size: 14.5px; color: var(--pip-muted); }
.pip-pk__card ul { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.pip-pk__card li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--pip-body); }
.pip-pk__card li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--pip-violet); }
.pip-pk__fee { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--pip-line); font: 600 14.5px/1.45 var(--f-body); color: var(--pip-ink); }

/* ---------- 10. rollout ---------- */
.pip-roll__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 32px 0 20px; padding: 0; list-style: none; counter-reset: rl; }
.pip-roll__list li { counter-increment: rl; position: relative; padding: 52px 18px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--pip-line); }
.pip-roll__list li::before { content: counter(rl, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font: 800 22px/1 var(--f-display); color: var(--pip-violet); }
.pip-roll__list b { display: block; margin-bottom: 4px; font: 700 16.5px/1.3 var(--f-display); color: var(--pip-ink); }
.pip-roll__list span { font-size: 14.5px; line-height: 1.5; color: var(--pip-body); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pip-who__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pip-roll__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pip-hero__grid, .pip-est__grid, .pip-calc, .pip-move__grid { grid-template-columns: minmax(0, 1fr); }
  .pip-stack__grid, .pip-pk__list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pip-folder__p { grid-template-columns: minmax(0, 1fr); }
  .pip-morph { max-width: 560px; }
}
@media (max-width: 640px) {
  .pip-who__list, .pip-law__grid, .pip-calc__out { grid-template-columns: minmax(0, 1fr); }
  .pip-roll__list { grid-template-columns: minmax(0, 1fr); }
  .pip-move__tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pip-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pip-chain li:nth-child(2)::after { display: none; }
  .pip-folder__dl { grid-template-columns: minmax(0, 1fr); }
  .pip-folder__txt { padding: 18px; }
  .pip-folder__body { padding: 16px; border-radius: 0 16px 16px 16px; }
  .pip-folder__body::before { display: none; }
  .pip-morph { padding: 14px; border-radius: 20px; }
  .pip-morph__stage { height: 344px; }
  .pip-sheet { padding: 12px 12px 12px; }
  .pip-col { padding: 6px 4px; }
  .pip-col .pip-slot { height: 96px; }
  .pip-morph[data-ph="1"] .pip-tok { padding: 7px 6px 7px 9px; }
  .pip-morph[data-ph="1"] .pip-tok b { font-size: 12px; -webkit-line-clamp: 4; }
  .pip-tok span { font-size: 11px; }
  .pip-move__out::before { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .pip-sheet, .pip-sheet.is-on, .pip-tok, .pip-who__list a, .pip-who__list a::before, .pip-folder__tabs button, .pip-folder__apps a { transition: none !important; }
  .pip-folder__p:not([hidden]), .pip-chain li, .pip-est__list li, .pip-tok.is-swap b, .pip-tok.is-swap span, .pip-tok.is-swap i, .pip-move__out.is-swap dd, .pip-move__out.is-swap .pip-move__from { animation: none !important; }
  .pip-sig svg { stroke-dashoffset: 0; }
  .pip-sheet--letter.is-on .pip-sig svg, .pip-sheet--board.is-on .pip-clock::after { animation: none !important; }
  .pip-sheet.is-on .pip-stamp { animation: none !important; opacity: 1; transform: rotate(-8deg); }
  .pip-morph.is-auto .pip-morph__ph button[aria-pressed="true"]::after { animation: none; }
}
