/* /pricing: where "Get pricing" lands, and its job is to lead to a call. Dark cards for the website packages and
   Rebecca's social media plans, a list of what every website includes, the parts that set a price, the steps from the
   first call to launch, number cards for hosting and care, and the questions in three groups. css/studio.css holds the
   shared parts; this file adds only this page's own pieces. Edit times and plan terms are data-price markers
   (tools/apply_data.py). */

/* A short hero on black, so the packages come right away. */
.pr-hero { position: relative; display: grid; place-items: center; min-height: clamp(420px, 52svh, 560px); padding: 128px 0 24px; text-align: center; isolation: isolate; overflow: hidden; }
.pr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(58% 60% at 50% 0%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 72%); pointer-events: none; }
.pr-first { padding-top: clamp(40px, 5vw, 72px); }

/* Website packages: three dark cards, each with its words, its price and a real site in that package, the call button
   inside the photo. The cards share their rows (subgrid), so the names, prices, lists
   and photos line up across the row whatever the length of each card's words. */
.pr-pk-grid, .pr-plan-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.pr-pk, .pr-plan { display: grid; grid-template-rows: subgrid; row-gap: 0; padding: 36px; border-radius: 32px; background: var(--card); }
.pr-pk { grid-row: span 6; }
.pr-plan { grid-row: span 5; }
.pr-pk h3, .pr-plan h3 { font-weight: 400; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.15; }
.pr-pk-line { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--soft); text-wrap: pretty; }
.pr-pk-price { margin-top: 24px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.pr-pk-unit { font-size: 15px; color: var(--soft); }
.pr-pk-monthly { margin-top: 6px; font-size: 14px; color: var(--soft); }
.pr-feats { margin: 24px 0 30px; padding-top: 24px; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 13px; font-size: 14.5px; line-height: 1.45; }
.pr-feats li, .pr-plan-words li { position: relative; padding-left: 20px; }
.pr-plan-words li::before { content: ""; position: absolute; left: 0; top: .56em; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
/* Packages: a white circle with the check cut out of it on every line of what a package includes. */
.pr-feats li { padding-left: 30px; }
.pr-feats li::before { content: ""; position: absolute; left: 0; top: .12em; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3Cmask id='c'%3E%3Crect width='20' height='20' fill='white'/%3E%3Cpath d='M5.6 10.3l2.9 2.9 5.9-6.1' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3C/defs%3E%3Ccircle cx='10' cy='10' r='10' fill='white' mask='url(%23c)'/%3E%3C/svg%3E") center / contain no-repeat; }
.pr-addons { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pr-addons a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pr-pk-fit { margin-top: 14px; font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.pr-pk .pr-feats { margin-bottom: 0; }
.pr-pk-when { margin: 22px 0 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--soft); text-wrap: pretty; }
.pr-feat-more { display: block; margin-top: 3px; font-size: 13.5px; color: var(--soft); }
.pr-feat-all strong { font-weight: 500; }
.pr-pk-photo { position: relative; align-self: end; aspect-ratio: 325 / 305; border-radius: 22px; overflow: hidden; background: var(--card-2); }
.pr-pk-photo picture { display: block; height: 100%; }
.pr-pk-photo img { width: 100%; height: 100%; object-fit: cover; }
.pr-pk-site {
  position: absolute; inset: 0 0 auto; z-index: 1; padding: 16px 18px 36px; color: #fefffe; font-size: 13.5px; line-height: 1.3;
  text-decoration: none; background: linear-gradient(180deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); opacity: 0;
  transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.pr-pk-photo:hover .pr-pk-site, .pr-pk-site:focus-visible { opacity: 1; transform: none; }
.pr-pk-site:hover { text-decoration: underline; text-underline-offset: 3px; }
.pr-pk-site:focus-visible { outline-offset: -4px; border-radius: 22px 22px 0 0; }
.pr-pk-photo .sx-btn { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.pr-floor { margin: 40px auto 0; max-width: 46em; display: grid; gap: 10px; }
.pr-floor p { font-size: 16px; text-wrap: pretty; }
.pr-floor strong { font-weight: 500; }
.pr-floor-note { font-size: 14.5px; color: var(--soft); }

/* In every website: one list in two columns behind hairlines, the same dot as the cards' lists. */
.pr-inc { margin: 48px auto 0; max-width: 1000px; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; text-align: left; }
.pr-inc li { position: relative; padding: 20px 4px 20px 26px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.pr-inc li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.pr-inc li::before { content: ""; position: absolute; left: 4px; top: calc(20px + .56em); width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* What sets your price: four small dark cards, centered like the number cards. */
.pr-factors { margin-top: 48px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pr-factor { display: grid; align-content: center; justify-items: center; gap: 12px; min-height: 230px; padding: 32px 24px; border-radius: 28px; background: var(--card); }
.pr-factor h3 { font-weight: 400; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; }
.pr-factor p { max-width: 17em; font-size: 15px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }

/* What happens after you pick: the steps in order, each a dark card with its number before the title. */
.pr-steps { margin-top: 48px; list-style: none; counter-reset: pr-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.pr-step { counter-increment: pr-step; padding: 32px 30px 34px; border-radius: 28px; background: var(--card); }
.pr-step h3 { display: flex; align-items: baseline; gap: 12px; font-weight: 400; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; }
.pr-step h3::before { content: counter(pr-step); flex: none; min-width: 1.1em; font-size: 15px; color: var(--soft); font-variant-numeric: tabular-nums; }
.pr-step p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--soft); text-wrap: pretty; }
.pr-step p + p { margin-top: 8px; }

/* Hosting and care: number cards, the plan's name small, its price large, what it covers under it. */
.pr-care { margin-top: 48px; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pr-care-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; justify-items: center; padding: 52px 28px 48px; border-radius: 28px; background: var(--card); }
.pr-care-card--default { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.pr-care-card h3 { font-weight: 400; font-size: 17px; line-height: 1.3; }
.pr-tag { display: inline-block; margin-left: 6px; padding: 3px 11px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; vertical-align: 2px; }
.pr-care-price { font-size: 15px; color: var(--soft); }
.pr-care-price span { display: block; font-size: clamp(38px, 3.8vw, 54px); line-height: 1.1; color: #fff; }
.pr-care-card p:last-child { max-width: 19em; font-size: 14.5px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }
.pr-note { margin: 30px auto 0; max-width: 46em; font-size: 15px; color: var(--soft); text-wrap: pretty; }

/* Social media plans: Rebecca's words in dark cards, the call button at the foot of each. */
.pr-plan-price { margin-top: 12px; font-size: 20px; line-height: 1.3; }
.pr-plan-price small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--soft); }
.pr-plan-tag { margin-top: 18px; font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.pr-plan-words ul { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 10px; font-size: 14px; line-height: 1.45; color: #dedede; }
.pr-plan-mtm { align-self: end; padding-top: 26px; font-size: 14px; color: var(--soft); }
.pr-plan .sx-btn { margin-top: 16px; }
.pr-extras { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
.pr-extras p { padding: 32px 34px; border-radius: 28px; background: var(--card); font-size: 14.5px; line-height: 1.7; color: var(--soft); text-wrap: pretty; }

/* The questions in three groups: a plain title over each group's rows. */
.pr-faq-group { max-width: 864px; margin: 52px auto 0; padding: 0 4px; text-align: left; font-weight: 400; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.3; }
.pr-faq-group ~ .pr-faq-group { margin-top: 64px; }
.pr-faq { margin-top: 16px; }

/* Cards in a row arrive one after another (the shared reveal, staggered). */
@media (prefers-reduced-motion: no-preference) {
  .sx-js .pr-pk-grid > :nth-child(2), .sx-js .pr-plan-grid > :nth-child(2), .sx-js .pr-care > :nth-child(2), .sx-js .pr-extras > :nth-child(2),
  .sx-js .pr-factors > :nth-child(2), .sx-js .pr-steps > :nth-child(3n+2) { transition-delay: .08s; }
  .sx-js .pr-pk-grid > :nth-child(3), .sx-js .pr-plan-grid > :nth-child(3), .sx-js .pr-care > :nth-child(3),
  .sx-js .pr-factors > :nth-child(3), .sx-js .pr-steps > :nth-child(3n) { transition-delay: .16s; }
  .sx-js .pr-factors > :nth-child(4) { transition-delay: .24s; }
}

/* On a touch screen the project's name always shows (as on the home page's grid). */
@media (hover: none) {
  .pr-pk-site { opacity: 1; transform: none; padding: 12px 14px 28px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-pk-site { transition: none; }
}

@media (max-width: 1080px) {
  .pr-pk-grid, .pr-plan-grid, .pr-extras { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pr-factors, .pr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
  .sx-js .pr-steps > :nth-child(n) { transition-delay: 0s; }
  .sx-js .pr-steps > :nth-child(2n) { transition-delay: .08s; }
  /* One card to a row: the photo takes the screenshot's own shape, so the whole site shows. */
  .pr-pk-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .pr-care { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .pr-inc { grid-template-columns: 1fr; }
  .pr-inc li:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .pr-hero { min-height: 0; padding: 132px 0 8px; }
  .pr-factors, .pr-steps { grid-template-columns: 1fr; max-width: 560px; }
  .sx-js .pr-factors > :nth-child(n), .sx-js .pr-steps > :nth-child(n) { transition-delay: 0s; }
  .pr-factor { min-height: 0; padding: 30px 24px; border-radius: 24px; }
  .pr-step { padding: 26px 24px 28px; border-radius: 24px; }
  .pr-pk, .pr-plan { padding: 28px 24px; border-radius: 26px; }
  .pr-pk-photo { aspect-ratio: 325 / 305; border-radius: 18px; }
  .pr-care-card { padding: 36px 24px 34px; border-radius: 24px; }
  .pr-extras p { padding: 28px 24px; border-radius: 24px; }
}
