/* /pricing, the 1.0.7 rework. Built to the approved mockup
 * (worktrees/site-refresh-mock/mockups-pricing, round 2, Jason, 23 October
 * 2026) on top of tokens.css, site.css and pages.css.
 *
 * The page wears the brand palette of the app (ios/GetThisShot Brand.swift),
 * not an audience palette, because a price is the same for every audience.
 * Every token the shared sheets read is redefined here on body.pricing, so the
 * nav, the buttons and the footer follow without a second set of rules.
 *
 * No capsules on this page: buttons and the switch-like controls are 12px,
 * tags 6px. */

body.pricing {
  --ink: #211229;
  --ink-rgb: 33, 18, 41;
  --accent: #5729E0;
  --accent-hover: #4720C2;
  --violet: #8542DB;
  --pink: #DB337D;
  --pink-accent: #B51F60;
  --lavender: #F5F0FC;
  --soft: #FAF7FC;
  --tint: #F5F0FC;
  --ground: #FFFFFF;
  --wash-mid: #FAF7FC;
  --muted: #555A64;
  --plan-card: #F2F2F7;
  --stroke: rgba(0, 0, 0, .06);
  --mark: url('/marks/brand.svg');
  --gradient: linear-gradient(135deg, var(--pink), var(--violet), var(--accent));
  --hero-wash: linear-gradient(135deg, rgba(219, 51, 125, .20), rgba(133, 66, 219, .15), rgba(87, 41, 224, .10));
  --wash: linear-gradient(180deg, var(--tint) 0%, var(--wash-mid) 46%, var(--ground) 100%);
  --shadow-card: 0 1px 0 rgba(var(--ink-rgb), .04), 0 24px 60px rgba(var(--ink-rgb), .07);
  --shadow-btn: 0 4px 20px rgba(87, 41, 224, .25);
  --r-btn: 12px;
  --r-tag: 6px;
  --r-plan: 22px;
  background: var(--ground);
  color: var(--ink);
}

.pricing .btn { border-radius: var(--r-btn); font-size: 16px; min-height: 52px; }
.pricing .btn.ghost { background: #fff; color: var(--accent); border: 1px solid rgba(87, 41, 224, .35); }
.pricing .btn.ghost:hover { background: var(--lavender); color: var(--accent); }
.pricing .nav .btn { min-height: 44px; font-size: 15px; }
.pricing .wrap-page { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.pricing .eyebrow { background: none; padding: 0; border-radius: 0; color: var(--pink-accent); letter-spacing: .12em; font-weight: 600; }
.pricing .tag { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: var(--r-tag); font-size: 12px; font-weight: 600; line-height: 1.3; background: var(--lavender); color: var(--accent); white-space: nowrap; }
.pricing .tag.dark { background: rgba(0, 0, 0, .75); color: #fff; }
.pricing .grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pricing h1, .pricing h2 { font-weight: 700; letter-spacing: -0.0235em; }

/* ------------------------------------------------------------------ hero --- */

.pricing .pr-hero {
  margin: 8px var(--gutter) 0;
  padding: 52px 56px 56px;
  border-radius: 28px;
  background: var(--hero-wash);
  border: 1px solid rgba(255, 255, 255, .55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.pricing .pr-hero .crumbs { justify-content: flex-start; margin: 0; }
.pricing .pr-hero .crumbs a { color: var(--accent); }
.pricing .pr-hero h1 { font-size: 68px; line-height: 1.06; max-width: none; }
.pricing .price-sub { font-size: 22px; font-weight: 700; max-width: 60ch; }

/* ------------------------------------------------------ every event includes --- */

.includes { margin-top: 56px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.includes h2 { font-size: 30px; line-height: 1.1; }
.includes .lead { color: var(--muted); font-size: 16px; margin-top: 10px; }
.inc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.inc-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(87, 41, 224, .14); font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.inc-list img { width: 40px; height: 40px; flex: none; }

/* ------------------------------------------------------------ the slider --- */

.sizer { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: end; }
.sizer .q { font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pink-accent); }
.readout { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 14px; flex-wrap: wrap; }
.readout .n { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.readout .fit { font-size: 17px; font-weight: 600; color: var(--muted); }
.readout .fit b { color: var(--accent); }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; display: block; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) 0 var(--p, 0%), var(--lavender) var(--p, 0%) 100%); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); margin-top: -10px; box-shadow: 0 4px 14px rgba(87, 41, 224, .3); transition: transform .2s; }
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }
.range input::-moz-range-track { height: 8px; border-radius: 4px; background: var(--lavender); }
.range input::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--accent); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.range input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.ticks { position: relative; height: 22px; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.ticks span:first-child { transform: none; }
.ticks span:last-child { transform: translateX(-100%); }

.kind { display: flex; flex-direction: column; gap: 10px; }
.kind .q .opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds button { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(87, 41, 224, .22); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.kinds button[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }
.kind .same { font-size: 15px; color: var(--muted); display: flex; gap: 8px; align-items: center; max-width: none; }
.kind .same svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ----------------------------------------------------------------- plans --- */

/* Name, price, guests, hosting. Nothing else differs between them. */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); column-gap: 16px; margin-top: 28px; }
.plan { grid-row: span 6; display: grid; grid-template-rows: subgrid; background: var(--plan-card); border: 1.5px solid var(--stroke); border-radius: var(--r-plan); padding: 22px 22px 24px; transition: background .35s, border-color .35s, box-shadow .35s; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.plan h3 { font-size: 20px; }
.plan-try { display: none; font-size: 13px; font-weight: 600; color: var(--pink-accent); }
.price-row { display: flex; align-items: baseline; gap: 8px; padding-top: 14px; }
.plan .amount { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.price-row .once { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan .facts { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 14px; margin-top: 14px; border-top: 1px solid var(--stroke); font-size: 15.5px; max-width: none; }
.plan .facts b { font-weight: 700; }
.plan .facts span { color: var(--muted); }
.plan .full { font-size: 14px; font-weight: 600; color: var(--accent); display: flex; gap: 8px; align-items: center; max-width: none; }
.plan .full.free { color: var(--muted); font-weight: 500; }
.plan .full svg { width: 16px; height: 16px; flex: none; }
.plan .plan-cta { padding-top: 16px; }
.plan .plan-cta .btn { width: 100%; min-height: 48px; }
.plan-tags { display: flex; gap: 6px; }
.fits { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.plan.picked .fits { opacity: 1; transform: none; }
.plan.picked { background: #fff; border-color: var(--accent); box-shadow: 0 24px 60px rgba(87, 41, 224, .16); }
.plan.picked .btn.ghost { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-btn); }
.plans-code { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--ink); max-width: none; }
.plans-foot { margin-top: 8px; font-size: 15px; max-width: 80ch; color: var(--muted); }

/* --------------------------------------------------------------- for pros --- */

.pricing .pr-section { padding-top: 120px; }
.pr-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.pr-head h2 { font-size: 46px; line-height: 1.06; }
.pros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pro-card { background: var(--soft); border: 1px solid var(--stroke); border-radius: var(--r-plan); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pro-card .head { display: flex; align-items: center; gap: 14px; }
.pro-card .head img { width: 48px; height: 48px; }
.pro-card .head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pro-card h3 { font-size: 24px; }
.pro-card p { color: var(--muted); font-size: 16px; }
.pro-card .actions { margin-top: auto; padding-top: 6px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pro-card .text-link { font-weight: 700; color: var(--accent); }
.seals { display: flex; gap: 6px; }
.seals img { width: 30px; height: 30px; }

/* -------------------------------------------------------------------- faq --- */

.pr-faq { display: flex; flex-direction: column; }
.pr-faq details { border-top: 1px solid rgba(87, 41, 224, .16); }
.pr-faq details:last-child { border-bottom: 1px solid rgba(87, 41, 224, .16); }
.pr-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--accent); flex: none; }
.pr-faq details[open] summary::after { content: "\2212"; }
.pr-faq .a { padding: 0 0 24px; color: var(--muted); font-size: 17px; display: flex; flex-direction: column; gap: 10px; max-width: 70ch; }
.pr-faq .a p { max-width: none; }

.pr-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pr-related a { padding: 11px 16px; border-radius: 10px; background: var(--lavender); color: var(--accent); font-weight: 600; font-size: 15px; }
.pr-related a:hover { color: var(--accent-hover); }

.pricing .foot { margin-top: 120px; background: var(--soft); }

@media (prefers-reduced-motion: reduce) {
  .plan, .fits, .kinds button, .range input::-webkit-slider-thumb { transition: none !important; }
  .fits { transform: none; }
}

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .includes { grid-template-columns: 1fr; gap: 18px; }
  .sizer { grid-template-columns: 1fr; gap: 28px; }
  .pricing .pr-hero h1 { font-size: 56px; }
}
@media (max-width: 900px) {
  .pros-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pricing .pr-hero { margin: 4px 12px 0; padding: 30px 22px 34px; }
  .pricing .pr-hero h1 { font-size: 40px; }
  .pricing .price-sub { font-size: 19px; }
  .includes { margin-top: 40px; }
  .includes h2 { font-size: 25px; }
  .inc-list { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .inc-list li { font-size: 14px; gap: 10px; padding: 11px 0; }
  .inc-list img { width: 34px; height: 34px; }
  .sizer { margin-top: 40px; }
  .readout .n { font-size: 40px; }
  /* Phones: Free first, then the plan that fits, then the rest. The order is
     set by pricing.js from the slider; this only makes it a column. */
  .plans { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
  .plan { display: flex; flex-direction: column; padding: 20px 20px 22px; }
  .plan-try { display: block; }
  .plan .amount { font-size: 40px; }
  .pricing .pr-section { padding-top: 72px; }
  .pr-head h2 { font-size: 31px; }
  .pro-card { padding: 22px 20px; }
  .pro-card h3 { font-size: 21px; }
  .pr-faq summary { font-size: 17px; padding: 18px 0; }
  .pr-faq .a { font-size: 16px; }
  .pricing .foot { margin-top: 72px; }
}

/* Today's header keeps an empty middle cell where the landing page has its
   switch. Under 1560px site.css drops to two columns, which pushed the links
   onto a second row under an empty cell; without the cell they share a row. */
.pricing .nav > span:empty { display: none; }
