/* Pricing, in the home page's language (its nav, buttons, questions, footer and collage come from home.css): a room
   photo for each plan, the way a practice grows from one room to a whole house to its own atelier; Studio in black;
   the founding offer over a studio table; the product itself, as it really looks, for what every plan includes. */
.nav .links a.on { opacity: 1; }

/* ------------------------------------------------------------------ the head: the promise and the two choices */
.pr-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 6vw;
  padding-top: clamp(124px, 18vh, 196px); padding-bottom: clamp(36px, 5vh, 56px); }
.pr-head .label { margin-bottom: 24px; }
.pr-head h1 { font: 400 clamp(44px, 6.2vw, 100px)/.96 var(--sans); letter-spacing: -.055em; }
.pr-head h1 span { display: inline-block; }
.pr-head .ph-b { color: var(--ink-3); }
.pr-lead { margin-top: 26px; max-width: 31em; font: 400 clamp(17px, 1.3vw, 20px)/1.5 var(--sans); letter-spacing: -.015em; color: var(--ink-2); }
.ph-ctl { display: grid; justify-items: end; gap: 14px; padding-bottom: 6px; }

/* Studio yearly or monthly: a black thumb slides between the two */
.pr-cycle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 100px; background: var(--tint); isolation: isolate; }
.pr-cycle .th { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 100px; background: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); transition: transform .55s var(--out); }
.pr-cycle[data-on=month] .th { transform: translateX(100%); }
.pr-cycle button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border: 0; border-radius: 100px;
  background: transparent; color: var(--ink-2); font: 450 14px/1 var(--sans); letter-spacing: -.01em; cursor: pointer; white-space: nowrap; transition: color .45s; }
.pr-cycle button em { font-style: normal; font-size: 12px; color: var(--blue); transition: color .45s; }
.pr-cycle button[aria-checked=true] { color: #fff; }
.pr-cycle button[aria-checked=true] em { color: #a9bcff; }
.pr-cycle button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pr-where { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; font: 400 13px/1.4 var(--sans); color: var(--ink-3); }
.pr-pick { position: relative; display: inline-flex; }
.pr-pick select { appearance: none; -webkit-appearance: none; height: 36px; padding: 0 34px 0 14px; border: 1px solid var(--rule); border-radius: 100px;
  background: var(--bg); color: var(--ink); font: 450 13px/1 var(--sans); letter-spacing: -.01em; cursor: pointer; transition: border-color .3s; }
.pr-pick select:hover, .pr-pick select:focus-visible { border-color: var(--ink-3); outline: none; }
.pr-pick::after { content: ""; position: absolute; right: 14px; top: 13px; width: 6px; height: 6px; border: solid var(--ink-2); border-width: 0 1.4px 1.4px 0;
  transform: rotate(45deg); pointer-events: none; }

/* ------------------------------------------------------------------ the four plans */
.pr-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.tier { display: flex; flex-direction: column; min-width: 0; padding: 8px; border-radius: 28px; background: var(--tint);
  transition: transform .8s var(--out), box-shadow .8s var(--out); }
.tr-pic { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: 21px; overflow: hidden; background: var(--tint-2); }
.tr-pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.8s var(--out); }
.tr-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 100px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  font: 500 12px/1 var(--sans); letter-spacing: -.005em; color: var(--ink); }
.tr-badge.now { background: #fff; color: var(--blue); }
.tr-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(45, 91, 255, .45); animation: pulse 2.4s var(--out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45, 91, 255, .45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(45, 91, 255, 0); } }
.tr-ribbon { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; background: linear-gradient(180deg, transparent, rgba(8, 8, 8, .62));
  font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.tr-body { display: flex; flex-direction: column; flex: 1; padding: 22px 18px 20px; }
.tier h2 { font: 500 22px/1.15 var(--sans); letter-spacing: -.03em; }
.tr-best { margin-top: 6px; font: 400 15px/1.4 var(--sans); letter-spacing: -.01em; color: var(--ink-2); }
.tr-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin-top: 28px; }
.tr-price .num { font: 400 clamp(44px, 3.7vw, 60px)/1 var(--sans); letter-spacing: -.055em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.num .cur { display: inline-block; margin-right: .06em; font-size: .46em; letter-spacing: -.02em; vertical-align: .82em; color: var(--ink-2); }
.tr-unit, .tr-price small { font: 400 15px/1 var(--sans); letter-spacing: -.01em; color: var(--ink-2); }
.tr-price small { font-size: 14px; color: var(--ink-3); }
.tr-per { margin-top: 10px; min-height: 20px; font: 400 14px/1.4 var(--sans); color: var(--ink-3); }
.tr-act { align-self: flex-start; margin-top: 24px; }
.tr-soon { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 16px; border-radius: 999px; border: 1px dashed rgba(13, 13, 13, .22);
  font: 450 15px/1 var(--sans); letter-spacing: -.01em; color: var(--ink-2); cursor: default; user-select: none; }
.tr-soon i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .3; } }
.tr-gets { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 12px; }
.tr-gets li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font: 400 15px/1.45 var(--sans); letter-spacing: -.01em; }
.tr-gets svg, .cmp svg { width: 16px; height: 16px; margin-top: 2px; color: var(--ink); }
.tr-fine { margin-top: auto; padding-top: 22px; font: 400 13px/1.45 var(--sans); color: var(--ink-3); }

/* Studio, in black */
.tier.feat { background: var(--ink); color: #fff; box-shadow: 0 50px 70px -46px rgba(0, 0, 0, .6); }
.tier.feat .tr-best, .tier.feat .tr-unit { color: rgba(255, 255, 255, .66); }
.tier.feat .tr-per { color: rgba(255, 255, 255, .5); }
.tier.feat .num .cur { color: rgba(255, 255, 255, .6); }
.tier.feat .tr-soon { border-color: rgba(255, 255, 255, .26); color: rgba(255, 255, 255, .78); }
.tier.feat .tr-soon i { background: #fff; }
.tier.feat .tr-gets { border-top-color: rgba(255, 255, 255, .14); }
.tier.feat .tr-gets svg { color: #fff; }

.pr-note { margin-top: 22px; font: 400 13px/1.5 var(--sans); color: var(--ink-3); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tier:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .3); }
  .tier.feat:hover { box-shadow: 0 60px 80px -44px rgba(0, 0, 0, .7); }
  .tier:hover .tr-pic img { transform: scale(1.07); }
}
/* a price that changes (another currency, monthly or yearly) rises into place */
.num.swap { animation: swap .55s var(--out); }
@keyframes swap { from { opacity: 0; transform: translateY(.18em); filter: blur(6px); } }

/* ------------------------------------------------------------------ founding studios, over a table of samples */
.pr-found { position: relative; margin-top: clamp(110px, 16vh, 190px); overflow: hidden; background: #0d0d0d; color: #fff; isolation: isolate; }
.fd-bg { position: absolute; inset: 0; z-index: -1; background: url(/static/hero/photo/studio-samples.jpg) center 40% / cover; opacity: .55; }
.fd-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 13, .95) 0%, rgba(13, 13, 13, .82) 42%, rgba(13, 13, 13, .45) 100%); }
.fd { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px 6vw;
  padding-top: clamp(84px, 14vh, 160px); padding-bottom: clamp(84px, 14vh, 160px); }
.fd .label { color: rgba(255, 255, 255, .55); margin-bottom: 22px; }
.fd h2 { font: 400 clamp(36px, 4.6vw, 72px)/1 var(--sans); letter-spacing: -.05em; max-width: 11em; }
.fd-words > p:not(.label) { margin-top: 22px; max-width: 30em; font: 400 17px/1.55 var(--sans); color: rgba(255, 255, 255, .7); }
.fd-btn { margin-top: 36px; }
.fd-card { justify-self: end; width: min(100%, 380px); padding: 30px 30px 28px; border-radius: 26px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); }
.fd-k { font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.fd-was { margin-top: 26px; font: 400 22px/1 var(--sans); letter-spacing: -.03em; color: rgba(255, 255, 255, .45); }
.fd-was s { text-decoration-thickness: 1.5px; }
.fd-now { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.fd-now .num { font: 400 clamp(56px, 5.4vw, 84px)/1 var(--sans); letter-spacing: -.055em; white-space: nowrap; }
.fd-now .num .cur { color: rgba(255, 255, 255, .6); }
.fd-now > span { font: 400 16px/1 var(--sans); color: rgba(255, 255, 255, .66); }
.fd-lock { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14);
  font: 400 14px/1 var(--sans); color: rgba(255, 255, 255, .75); }
.fd-lock svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ every plan includes: the real thing */
.pr-all { margin-top: clamp(110px, 16vh, 190px); }
.all-head { max-width: 900px; }
.all-head .label { margin-bottom: 18px; }
.pr-all h2, .pr-cmp h2 { font: 400 clamp(38px, 4.4vw, 68px)/1.02 var(--sans); letter-spacing: -.05em; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
.bt { --bp: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; margin: 0; padding: var(--bp) var(--bp) 0; border-radius: 28px;
  background: var(--tint); overflow: hidden; }
.bt figcaption b { display: block; font: 500 20px/1.2 var(--sans); letter-spacing: -.025em; }
.bt figcaption span { display: block; margin-top: 6px; max-width: 28em; font: 400 15px/1.5 var(--sans); color: var(--ink-2); }
/* the screenshots carry their own frame on the same grey as the tile, so they sit in it seamlessly */
.bt .shot { margin: auto calc(var(--bp) * -1) 0; padding-top: 6px; height: clamp(320px, 30vw, 460px); overflow: hidden; }
.bt .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: translateY(14px); transition: transform 1.2s var(--out); }
.bt-plan, .bt-record { grid-column: span 7; }
.bt-phone, .bt-board { grid-column: span 5; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .bt:hover .shot img { transform: translateY(0); } }
.also { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.also li { padding: 28px clamp(24px, 2.4vw, 34px) 32px; border-radius: 28px; border: 1px solid var(--rule); }
.also i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); }
.also i svg { width: 19px; height: 19px; }
.also b { display: block; margin-top: 20px; font: 500 17px/1.3 var(--sans); letter-spacing: -.02em; }
.also span { display: block; margin-top: 6px; font: 400 15px/1.5 var(--sans); color: var(--ink-2); }

/* ------------------------------------------------------------------ compare plans */
.pr-cmp { margin-top: clamp(110px, 16vh, 190px); }
.cmp-wrap { margin-top: 44px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font: 400 15px/1.4 var(--sans); letter-spacing: -.01em; }
.cmp thead td { width: 28%; }
.cmp thead th { padding: 22px 18px 20px; text-align: left; vertical-align: bottom; font: 500 17px/1.2 var(--sans); letter-spacing: -.02em; }
.cmp thead th span { display: block; margin-top: 6px; font: 400 14px/1.3 var(--sans); letter-spacing: -.01em; color: var(--ink-3); }
.cmp tbody th { padding: 18px 18px 18px 0; text-align: left; font-weight: 400; color: var(--ink-2); border-top: 1px solid var(--rule); }
.cmp tbody td { padding: 18px; border-top: 1px solid var(--rule); }
.cmp .no { font-style: normal; color: var(--ink-3); }
.cmp .c-feat { background: var(--ink); color: #fff; border-top-color: rgba(255, 255, 255, .12); }
.cmp .c-feat svg { color: #fff; }
.cmp .c-feat .no, .cmp thead .c-feat span { color: rgba(255, 255, 255, .5); }
.cmp thead .c-feat { border-radius: 20px 20px 0 0; }
.cmp tbody tr:last-child .c-feat { border-radius: 0 0 20px 20px; }

/* ------------------------------------------------------------------ questions and the end: home.css, spaced for this page */
.pr .faq { padding-top: clamp(110px, 16vh, 190px); padding-bottom: 8vh; }

@media (max-width: 1180px) {
  .pr-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-pic { aspect-ratio: 16 / 9; }
}
@media (max-width: 960px) {
  .pr-head { grid-template-columns: minmax(0, 1fr); }
  .ph-ctl, .pr-where { justify-items: start; justify-content: flex-start; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bt-plan, .bt-record, .bt-phone, .bt-board { grid-column: auto; }
  .bt .shot { height: clamp(240px, 60vw, 420px); }
  .also { grid-template-columns: minmax(0, 1fr); }
  .fd { grid-template-columns: minmax(0, 1fr); }
  .fd-card { justify-self: start; }
}
@media (max-width: 760px) {
  .pr-head { padding-top: 112px; }
  .pr-cycle { width: 100%; }
  .pr-cycle button { padding: 0 12px; }
  .ph-ctl { width: 100%; }
  .pr-plans { grid-template-columns: minmax(0, 1fr); }
  .tier { border-radius: 24px; }
  .tr-pic { border-radius: 17px; aspect-ratio: 16 / 10; }
  .bt, .also li { border-radius: 22px; }
  /* compare: each row's name above its four answers */
  .cmp, .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cmp thead td { display: none; }
  .cmp thead th { padding: 14px 8px 12px; font-size: 13px; }
  .cmp thead th span { font-size: 11.5px; }
  .cmp tbody th { grid-column: 1 / -1; padding: 16px 0 4px; font-size: 14px; color: var(--ink); }
  .cmp tbody td { margin: 4px 0 12px; padding: 8px; border-top: 0; font-size: 13px; }
  /* the rows' names break the column, so Studio's answers are lit one by one instead of in a black band */
  .cmp .c-feat, .cmp thead .c-feat, .cmp tbody tr:last-child .c-feat { background: var(--tint); color: var(--ink); border-radius: 10px; font-weight: 500; }
  .cmp .c-feat svg { color: var(--ink); }
  .cmp .c-feat .no, .cmp thead .c-feat span { color: var(--ink-3); }
}
@media (prefers-reduced-motion: reduce) {
  .tr-badge i, .tr-soon i, .num.swap { animation: none; }
  .pr-cycle .th { transition: none; }
}
