/* ===========================================================================
   Pricing plate · module.css
   Phone first; the desktop layout from 1024px, the site's one switch
   (type-scale.json desktop_min). Heading, tail, intro and eyebrow sizes come from
   theme/css/type-scale.css (the .prp__ selectors are listed in type-scale.json).
   Corners: photos square (canvas), the data package field and its knob are pills
   (founder 2026-09-28: every input field is a pill), the open menu is the pill's own
   panel (exempt in corner-law.json, hidden at rest).
   =========================================================================== */

.prp { --prp-ease: cubic-bezier(.16, 1, .3, 1); --prp-ease-in: cubic-bezier(.55, 0, .75, .2); background: var(--vu-white); color: var(--vu-black); font-family: var(--font-body); padding-top: 56px; }
.prp *, .prp *::before, .prp *::after { box-sizing: border-box; }
:where(.prp) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
.prp__inner { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--page-x); }

/* ── hero ── */
/* the open menu must paint over the posters, which mobile motion may lift into their own layer */
.prp__hero { position: relative; z-index: 3; display: grid; gap: 30px; padding-bottom: 32px; }
.prp__h1 { margin: 14px 0 0; text-wrap: balance; }
.prp__h2 { margin: 0; text-wrap: balance; }
.prp__tail { color: var(--vu-grey-500); }
.prp__sub { color: var(--vu-grey-600); margin: 14px 0 0; max-width: 56ch; }

/* A value that changes slides out upward while the new one arrives from below. */
.prp__swap { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.prp__swap > span { grid-area: 1 / 1; white-space: nowrap; }
.prp__swap > .is-in { animation: prpIn .55s var(--prp-ease) both; }
.prp__swap > .is-out { animation: prpOut .35s var(--prp-ease-in) both; }
@keyframes prpIn { from { transform: translateY(80%); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes prpOut { to { transform: translateY(-80%); opacity: 0; filter: blur(4px); } }

/* ── the data package field ── */
.prp__dd { position: relative; z-index: 5; }
.prp__field { width: 100%; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 8px 0 26px; border-radius: var(--radius-field); background: var(--vu-white);
  box-shadow: 0 0 0 1px var(--vu-grey-200), 0 1px 2px rgba(0, 0, 0, .04), 0 12px 28px -20px rgba(0, 0, 0, .28);
  transition: box-shadow .6s var(--prp-ease), transform .3s var(--prp-ease); }
.prp__field:active { transform: scale(.985); }
.prp__dd.is-open .prp__field { box-shadow: 0 0 0 1.5px var(--vu-black), 0 1px 2px rgba(0, 0, 0, .05), 0 16px 34px -20px rgba(0, 0, 0, .34); }
.prp__field:focus-visible { outline: 2px solid var(--vu-black); outline-offset: 3px; }
.prp__field-txt { flex: 1; min-width: 0; display: grid; gap: 6px; text-align: left; }
.prp__field-label { font: 500 10.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--vu-grey-500); }
.prp__field-val { font: 400 18px/20px var(--font-sans); letter-spacing: -.012em; height: 20px; }
.prp__field-price { font: 400 13px/16px var(--font-body); color: var(--vu-grey-600); font-variant-numeric: tabular-nums; height: 16px; justify-items: end; }
.prp__knob { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--vu-grey-50); color: var(--vu-black); transition: background .5s var(--prp-ease), color .5s var(--prp-ease); }
.prp__knob svg { width: 14px; height: 14px; transition: transform .7s var(--prp-ease); }
.prp__dd.is-open .prp__knob { background: var(--vu-grey-900); color: var(--vu-white); }
.prp__dd.is-open .prp__knob svg { transform: rotate(180deg); }

.prp__menu { position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 8px; border-radius: 28px; background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 32px 64px -28px rgba(0, 0, 0, .32), 0 10px 24px -14px rgba(0, 0, 0, .14);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.975); transform-origin: 50% 0; clip-path: inset(0 0 55% 0 round 28px);
  transition: opacity .22s var(--prp-ease-in), transform .3s var(--prp-ease-in), clip-path .3s var(--prp-ease-in), visibility 0s linear .3s; }
.prp__dd.is-open .prp__menu { opacity: 1; visibility: visible; transform: none; clip-path: inset(-2px -2px -2px -2px round 28px);
  transition: opacity .35s var(--prp-ease), transform .75s var(--prp-ease), clip-path .75s var(--prp-ease), visibility 0s; }
.prp__hl { position: absolute; top: 0; left: 8px; right: 8px; height: 0; border-radius: 20px; background: var(--vu-grey-50); opacity: 0;
  transition: transform .55s var(--prp-ease), height .55s var(--prp-ease), opacity .3s var(--prp-ease); }
.prp__opt { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr auto 18px; gap: 6px 14px; align-items: baseline; padding: 16px 18px 17px; border-radius: 20px;
  opacity: 0; transform: translateY(8px); transition: opacity .15s var(--prp-ease-in), transform .2s var(--prp-ease-in); }
.prp__dd.is-open .prp__opt { opacity: 1; transform: none; transition: opacity .5s var(--prp-ease) calc(var(--i) * 60ms + 110ms), transform .8s var(--prp-ease) calc(var(--i) * 60ms + 110ms); }
.prp__opt b { font: 400 18px/1.1 var(--font-sans); letter-spacing: -.012em; }
.prp__opt em { font: 400 13px/1 var(--font-body); font-style: normal; color: var(--vu-grey-600); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prp__opt span { grid-column: 1 / 3; font: 300 13px/1.5 var(--font-body); color: var(--vu-grey-600); text-wrap: pretty; }
.prp__opt svg { width: 16px; height: 16px; align-self: center; grid-row: 1 / 3; grid-column: 3; }
.prp__opt svg polyline { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .5s var(--prp-ease) .05s; }
.prp__opt[aria-selected="true"] svg polyline { stroke-dashoffset: 0; }
.prp__opt:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--vu-black); }

/* the demo button: the next step after choosing a package, directly under the field */
.prp__side .prp__cta { height: 56px; margin-top: 12px; font-size: 16px; gap: 10px; }
.prp__cta-arrow { transition: transform .5s var(--prp-ease); }
.prp__cta-note { font: 300 12.5px/1.5 var(--font-body); color: var(--vu-grey-500); margin: 10px 0 0; text-align: center; }

/* ── posters ── */
.prp__cards { position: relative; z-index: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--page-x); scroll-padding-inline: var(--page-x); scrollbar-width: none; }
.prp__cards::-webkit-scrollbar { display: none; }
.prp__card { position: relative; aspect-ratio: 4 / 5.3; overflow: hidden; scroll-snap-align: start; border-radius: var(--radius-canvas); background: var(--vu-grey-800); color: var(--vu-white); }
.prp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.35) sepia(.16); transform: scale(1.02); transition: filter 1.1s var(--prp-ease), transform 1.6s var(--prp-ease); }
/* A landscape photo in a tall poster shows its full height, so its subject cannot be moved up by
   object-position alone: a zoom anchors it to the bottom and scales it, lifting the subject
   (the Reach lighthouse) clear of the prices. */
.prp__img[style*="--zoom"] { top: auto; height: calc(100% * var(--zoom)); }
.prp__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .58) 62%, rgba(0, 0, 0, .82) 100%); }
.prp__content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
/* doubled scope: mobile.css sizes every .page-body h2/h3 on the phone */
.prp .prp__name { font: 400 24px/1 var(--font-sans); letter-spacing: -.02em; margin: 0; color: var(--vu-white); }
.prp__bottom { display: grid; }
.prp__from { font: 400 12px/1 var(--font-body); color: rgba(255, 255, 255, .66); }
.prp__price { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
.prp__fig { font: 300 52px/1 var(--font-body); letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prp__per { font: 400 13px/1 var(--font-body); color: rgba(255, 255, 255, .72); white-space: nowrap; }
/* fine print under the total: how it is billed, never competing with the price */
.prp__bill { font: italic 300 11.5px/16px var(--font-body); letter-spacing: .01em; color: rgba(255, 255, 255, .55); margin-top: 8px; }
.prp__rule { height: 1px; background: rgba(255, 255, 255, .2); margin: 18px 0 16px; }
.prp__plus { font: 500 10.5px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.prp__line { font: 300 13px/1.5 var(--font-body); color: rgba(255, 255, 255, .8); margin: 8px 0 0; text-wrap: pretty; }

/* ── the data packages: tabs over three lists ── */
.prp__data { background: var(--vu-paper); margin-top: 56px; padding: 56px 0 8px; }
.prp__datahd { display: grid; gap: 14px; }
.prp__datahd .prp__sub { margin: 0; }
.prp__tabs { position: relative; display: flex; gap: 28px; margin-top: 32px; border-bottom: 1px solid var(--vu-grey-200); }
.prp__tab { display: grid; gap: 7px; padding: 0 0 15px; white-space: nowrap; }
.prp__tab b { font: 400 18px/1 var(--font-sans); letter-spacing: -.012em; color: var(--vu-grey-400); transition: color .6s var(--prp-ease); }
.prp__tab small { font: 400 12px/1 var(--font-body); color: var(--vu-grey-400); font-variant-numeric: tabular-nums; transition: color .6s var(--prp-ease); }
.prp__long { display: none; }
.prp__tab[aria-selected="true"] b { color: var(--vu-black); }
.prp__tab[aria-selected="true"] small { color: var(--vu-grey-600); }
.prp__tab:focus-visible { outline: 2px solid var(--vu-black); outline-offset: 4px; }
.prp__ink { position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0; background: var(--vu-black); transition: transform .7s var(--prp-ease), width .7s var(--prp-ease); }
.prp__cols { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 26px; margin-top: 30px; padding: 0 var(--page-x); scroll-padding-inline: var(--page-x); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.prp__cols::-webkit-scrollbar { display: none; }
.prp__col { scroll-snap-align: start; display: grid; gap: 14px; align-content: start; padding-top: 18px; border-top: 1px solid var(--vu-black); transition: border-color .7s var(--prp-ease); }
.prp .prp__colname { font: 500 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin: 0; color: var(--vu-grey-500); transition: color .6s var(--prp-ease); }
.prp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prp__list li { display: grid; grid-template-columns: 16px 1fr; font: 400 15px/1.35 var(--font-body); transition: color .6s var(--prp-ease) calc(var(--j) * 45ms); }
.prp__list li::before { content: "–"; color: var(--vu-grey-400); transition: color .6s var(--prp-ease) calc(var(--j) * 45ms); }
.prp__src { font: 400 12px/1.4 var(--font-body); color: var(--vu-grey-500); transition: color .6s var(--prp-ease); }
.prp__col.is-off { border-top-color: var(--vu-grey-200); }
.prp__col.is-off li, .prp__col.is-off .prp__colname, .prp__col.is-off .prp__src { color: var(--vu-grey-300); }
.prp__col.is-off li::before { color: var(--vu-grey-200); }
.prp__foot { font: 300 12px/1.6 var(--font-body); color: var(--vu-grey-500); margin: 0; padding: 48px 0 40px; }

/* every card is a link to the demo page (the whole poster; the photo colours in on hover) */
.prp__card { cursor: pointer; }
.prp__card-link { position: absolute; inset: 0; z-index: 2; }
.prp__card-link:focus-visible { outline: 2px solid var(--vu-white); outline-offset: -6px; }
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .5s var(--prp-ease), color .5s var(--prp-ease), box-shadow .5s var(--prp-ease); pointer-events: none; }

/* Enterprise: a word where the price sits, the link where the fine print sits; the whole card links */
.prp__fig--word { font-size: 40px; letter-spacing: -.03em; white-space: normal; }
.prp__ent-link { position: static; display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; min-height: 16px; font: 500 13px/16px var(--font-body); color: var(--vu-white); text-decoration: none; justify-self: start; }
.prp__ent-link::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.prp__ent-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.prp__ent-link svg { width: 15px; height: 15px; transition: transform .5s var(--prp-ease); }
.prp__ent-link:focus-visible { outline: 2px solid var(--vu-white); outline-offset: 4px; }
.prp__card--ent .prp__content { z-index: 1; }

/* four-digit figures (prp--wide, set by module.html from the widest total) */
.prp--wide .prp__fig { font-size: 40px; letter-spacing: -.035em; }

@media (prefers-reduced-motion: reduce) {
  .prp *, .prp *::before, .prp *::after { transition: none !important; animation: none !important; }
}

@media (min-width: 1024px) {
  .prp { padding-top: 96px; }
  .prp__hero { grid-template-columns: 1fr 440px; gap: 80px; align-items: end; padding-bottom: 56px; }
  .prp__h1 { margin-top: 18px; }
  .prp__sub { margin-top: 18px; }
  .prp__field { height: 68px; padding-left: 28px; }
  .prp__field:hover { box-shadow: 0 0 0 1px var(--vu-grey-300), 0 1px 2px rgba(0, 0, 0, .05), 0 16px 34px -20px rgba(0, 0, 0, .34); }
  .prp__knob { width: 52px; height: 52px; }
  .prp__cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; max-width: var(--page-max); margin: 0 auto; gap: 20px; }
  .prp__card { aspect-ratio: auto; height: 600px; }
  .prp__card:hover .prp__img { filter: none; transform: scale(1.05); }
  .prp__content { padding: 32px; }
  .prp .prp__name { font-size: 28px; }
  .prp__fig { font-size: 64px; }
  .prp--wide .prp__fig { font-size: 46px; }
  /* four segments in the 1040px ruler: narrower posters, so the price stacks over its
     "per month" and the figures step down a size */
  .prp__cards--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .prp__cards--4 .prp__card { height: 580px; }
  .prp__cards--4 .prp__content { padding: 26px 24px; }
  .prp__cards--4 .prp__name { font-size: 26px; }
  .prp__cards--4 .prp__fig { font-size: 56px; }
  .prp--wide .prp__cards--4 .prp__fig { font-size: 42px; }
  .prp__cards--4 .prp__fig--word { font-size: 40px; line-height: 1; padding-bottom: 19px; }
  .prp__card--ent:hover .prp__ent-link svg { transform: translateX(3px); }
  .prp__cta:hover .prp__cta-arrow { transform: translateX(3px); }
  .prp__data { margin-top: 96px; padding-top: 96px; }
  .prp__datahd { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
  .prp__tabs { gap: 56px; margin-top: 56px; }
  .prp__tab b { font-size: 22px; }
  .prp__tab small { font-size: 13px; }
  .prp__tab:hover b { color: var(--vu-grey-700); }
  .prp__long { display: inline; }
  .prp__short { display: none; }
  .prp__cols { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 44px auto 0; max-width: var(--page-max); overflow: visible; }
  .prp__col { gap: 16px; padding-top: 22px; }
  .prp__foot { padding: 72px 0 56px; }
}
