/* The six pricing pages (tools/pricing/build.mjs). White on black, sized like the home page, in the same fashion as /contact.
   No glass, shine, grey boxes, animation or decorative lines, on purpose (the user's brief). The comparison table's rows and the questions on /pricing are the only lines, because they do a job.
   The one exception is the pricing card on /pricing, which is the home page's own card with its own stylesheet (css/lunartech-pricing.css), so it's left out of the no-movement rule. */

html { background: #000; }
body.pp-page { background: #000; color: #fff; font-family: Inter, sans-serif; font-weight: 300; }

.pp { --pp-gap: clamp(2rem, 4.5vw, 4.5rem); display: block; padding: 130px 0 clamp(5rem, 9vw, 8rem); }
.pp, .pp *:not(.lt-pay, .lt-pay *) { transition: none !important; animation: none !important; }
.pp-wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.pp-section { margin-top: clamp(4.5rem, 8vw, 7.5rem); }

/* ---------- Type: read from the home page ---------- */

/* .lt-trend-title */
.pp-title { margin: 0; font-family: Inter, sans-serif; font-size: 3.33vw; font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; text-transform: none; color: #fff; }
.pp-lede { max-width: 36rem; margin: 0.9rem 0 0; font-family: Geist, sans-serif; font-size: 16px; font-weight: 300; line-height: 1.6; color: #fff; }
/* .lt-paths-title */
.pp-h2 { margin: 0; font-family: Inter, sans-serif; font-size: 2.2vw; font-weight: 300; line-height: 1.14; letter-spacing: -0.01em; text-transform: none; color: #fff; }
.pp-label { margin: 0; font-family: Geist, sans-serif; font-size: 13px; font-weight: 300; line-height: 1.3; letter-spacing: 0; text-transform: none; color: #fff; }
.pp-text { margin: 0; font-family: Geist, sans-serif; font-size: 15px; font-weight: 300; line-height: 1.55; letter-spacing: 0; color: #fff; }
.pp-nb { white-space: nowrap; }
.pp-lede, .pp-text, .pp-note, .pp-fact p, .pp-notes dd, .pp-go-text { text-wrap: pretty; }

/* The home metrics */
.pp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.45rem; margin: 0.7rem 0 0.8rem; color: #fff; }
.pp-num { font-family: Inter, sans-serif; font-size: 4vw; font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pp-unit { font-family: Geist, sans-serif; font-size: 15px; font-weight: 300; line-height: 1.3; }

/* ---------- Actions ---------- */

.pp .pp-btn { display: inline-flex; flex: none; align-items: center; height: 46px; padding: 0 22px; box-sizing: border-box; border-radius: 9999px; background: #fff; color: #000; font-family: Geist, sans-serif; font-size: 13.5px; font-weight: 400; line-height: 1; white-space: nowrap; text-decoration: none; }
.pp .pp-btn:hover { background: #fff; color: #000; }
.pp .pp-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: Geist, sans-serif; font-size: 14px; font-weight: 300; line-height: 1.4; text-decoration: none; }
.pp .pp-link svg { flex: none; }
.pp .pp-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.pp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.pp-note { margin: 0; font-family: Geist, sans-serif; font-size: 13px; font-weight: 300; line-height: 1.5; color: #fff; }

/* Links inside sentences */
.pp-fact a, .pp-notes a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pp-fact a:hover, .pp-notes a:hover { color: #fff; text-decoration-thickness: 2px; }

.pp .pp-crumb { display: inline-block; margin: 0 0 1.1rem; color: #fff; font-family: Geist, sans-serif; font-size: 13px; font-weight: 300; line-height: 1.3; text-decoration: none; }
.pp .pp-crumb:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.pp a:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }

/* ---------- Grids ---------- */

/* The same two columns as /contact: words on the left, one picture on the right */
.pp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: stretch; }
.pp-lead { padding: clamp(0.5rem, 2vw, 2rem) 0; }
.pp-art { position: relative; min-height: 100%; border-radius: 16px; overflow: hidden; }
.pp-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.pp-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem var(--pp-gap); }
.pp-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem clamp(1.5rem, 3vw, 3rem); }

/* A section: its heading in the first of three columns, the rest in the other two, so everything lines up with the plans above */
.pp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem var(--pp-gap); align-items: start; }
.pp-row-body { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem var(--pp-gap); margin: 0; padding: 0; }
.pp-fact { min-width: 0; }
.pp-fact h3 { margin: 0 0 0.45rem; font-family: Inter, sans-serif; font-size: 17px; font-weight: 300; line-height: 1.3; letter-spacing: 0; text-transform: none; color: #fff; }
.pp-fact p { margin: 0; font-family: Geist, sans-serif; font-size: 15px; font-weight: 300; line-height: 1.55; color: #fff; }
.pp-fact .pp-after { font-family: Inter, sans-serif; font-size: 2.2vw; font-weight: 300; line-height: 1.14; letter-spacing: -0.01em; }
.pp-afters { margin-top: 2rem; }
.pp-more { margin: 2rem 0 0; }

.pp-list { list-style: none; row-gap: 1.1rem; font-family: Inter, sans-serif; font-size: 17px; font-weight: 300; line-height: 1.3; color: #fff; }
.pp-list li { margin: 0; padding: 0; font: inherit; color: inherit; }

/* Label and answer, on one line each */
.pp-notes { display: flex; flex-direction: column; gap: 1.15rem; margin: 2.2rem 0 2.2rem; }
.pp-notes > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); column-gap: 1.2rem; }
.pp-notes dt { margin: 0; padding-top: 0.15rem; font-family: Geist, sans-serif; font-size: 13px; font-weight: 300; line-height: 1.5; color: #fff; }
.pp-notes dd { margin: 0; font-family: Geist, sans-serif; font-size: 15px; font-weight: 300; line-height: 1.55; color: #fff; }

/* ---------- /pricing: the home page's card, under the page's title ---------- */

.pp-card { margin-top: clamp(2.2rem, 3.5vw, 3.2rem); }
.pp .pp-card a:focus-visible { outline-color: #e8cba8; }

.pp .pp-go { display: block; min-width: 0; color: #fff; text-decoration: none; }
.pp-go-name { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: Inter, sans-serif; font-size: 17px; font-weight: 300; line-height: 1.3; }
.pp-go-name svg { flex: none; }
.pp-go-text { display: block; margin-top: 0.45rem; font-family: Geist, sans-serif; font-size: 15px; font-weight: 300; line-height: 1.5; }
.pp .pp-go:hover { color: #fff; }
.pp-go:hover .pp-go-name { text-decoration: underline; text-underline-offset: 3px; }

/* Questions, in the look of /help's. Native open and close, so they work without a script and a browser's find-in-page reaches a closed answer.
   The plus and the opening move on pseudo-elements, which the no-movement rule above doesn't reach. Where a browser can't animate the opening, it simply opens. */
.pp-faq { scroll-margin-top: 110px; }
.pp-faq-body { grid-column: span 2; min-width: 0; }
.pp-faq-group + .pp-faq-group { margin-top: clamp(2.4rem, 3.5vw, 3.2rem); }
.pp-faq-group > .pp-label { padding-bottom: 0.85rem; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.pp-q { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.pp-q > summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; color: #fff; font-family: Inter, sans-serif; font-size: 17px; font-weight: 300; line-height: 1.35; list-style: none; cursor: pointer; }
.pp-q > summary::-webkit-details-marker { display: none; }
.pp-q > summary:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.pp-q-t { min-width: 0; text-wrap: pretty; }
.pp-plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.pp-q > summary:hover .pp-plus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.pp-plus::before, .pp-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: #fff; transform: translate(-50%, -50%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.pp-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.pp-q[open] .pp-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.pp-q-a p { max-width: 46rem; margin: 0; padding: 0 2.8rem 1.4rem 0; color: #fff; font-family: Geist, sans-serif; font-size: 15px; font-weight: 300; line-height: 1.6; text-wrap: pretty; }
.pp-q-a a, .pp-row-note a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pp-q-a a:hover, .pp-row-note a:hover { color: #fff; text-decoration-thickness: 2px; }
@supports selector(::details-content) {
  .pp-q { interpolate-size: allow-keywords; }
  .pp-q::details-content { block-size: 0; overflow: clip; transition: block-size 0.35s cubic-bezier(0.22, 1, 0.36, 1), content-visibility 0.35s allow-discrete; }
  .pp-q[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-plus::before, .pp-plus::after { transition: none; }
  @supports selector(::details-content) { .pp-q::details-content { transition: none; } }
}

/* ---------- /pricing/membership ---------- */

.pp-plans { margin-top: clamp(3rem, 5vw, 4.5rem); }
.pp-plan { min-width: 0; }
.pp-plans .pp-actions { margin-top: clamp(2.2rem, 3.5vw, 3rem); }

/* The bootcamps, under the membership: a heading with a line and a link, then one link per program */
.pp-row-note { max-width: 24rem; margin-top: 0.9rem; }
.pp-row-more { margin: 1.1rem 0 0; }

/* ---------- /pricing/compare ---------- */

.pp-table-lede { margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.pp .pp-table a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pp .pp-table a:hover { color: #fff; text-decoration-thickness: 2px; }
.pp .pp-table .pp-table-ask { display: block; width: fit-content; margin-top: 0.35rem; font-family: Geist, sans-serif; font-size: 13px; line-height: 1.5; }

.pp-table { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; }
.pp-table th, .pp-table td { padding: 1.05rem 1.6rem 1.05rem 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); background: none; font-family: Geist, sans-serif; font-size: 15px; font-weight: 300; line-height: 1.5; letter-spacing: 0; text-align: left; text-transform: none; vertical-align: top; color: #fff; }
.pp-table thead th, .pp-table thead td { padding-top: 0; border-top: 0; font-family: Inter, sans-serif; font-size: 17px; line-height: 1.3; }
.pp-table tbody th { font-size: 13px; line-height: 1.6; }
.pp-table td:last-child, .pp-table th:last-child { padding-right: 0; }
.pp-tr-price td { padding-top: 0.5rem; padding-bottom: 1.4rem; }
.pp-tr-price th { padding-top: 1.15rem; }
.pp-table .pp-price { margin: 0; }
.pp-table .pp-num { font-size: 2.6vw; }

/* ---------- Smaller screens ---------- */

@media (min-width: 992px) {
  .pp-table-camps tbody th { font-size: 15px; line-height: 1.5; }
  .pp-faq-head { position: sticky; top: 110px; }
}
@media (max-width: 991px) {
  .pp-faq-body { grid-column: auto; }
  .pp { padding-top: 120px; }
  .pp-split { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .pp-lead { padding: 0; }
  .pp-title { font-size: clamp(1.9rem, 5vw, 2.6rem); }
  .pp-h2, .pp-fact .pp-after { font-size: clamp(1.35rem, 3.4vw, 1.75rem); }
  .pp-num { font-size: clamp(2.6rem, 7vw, 3.4rem); }
  .pp-art { min-height: 0; aspect-ratio: 16 / 9; }
  .pp-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pp-plans .pp-three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .pp-plans .pp-three .pp-num { font-size: clamp(2.2rem, 6vw, 3rem); }

  .pp-row { grid-template-columns: minmax(0, 1fr); }
  .pp-row-body { grid-column: auto; }

  /* The table reads down the page instead of across it: each row is a heading with one line per plan, so nothing scrolls sideways */
  .pp-table, .pp-table tbody, .pp-table tr, .pp-table th, .pp-table td { display: block; }
  .pp-table thead { display: none; }
  .pp-table tr { padding: 1.4rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .pp-table tbody th, .pp-tr-price th { padding: 0 0 0.7rem; border: 0; font-family: Inter, sans-serif; font-size: 17px; line-height: 1.3; }
  .pp-table td, .pp-tr-price td { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: 1rem; align-items: baseline; padding: 0.3rem 0; border: 0; }
  .pp-table td::before { content: attr(data-col); font-size: 13px; line-height: 1.5; }
  .pp-table td:last-child { padding-right: 0; }
  .pp-table .pp-num { font-size: clamp(1.5rem, 4.5vw, 1.9rem); letter-spacing: -0.02em; }
}
@media (max-width: 767px) {
  .pp-q > summary { gap: 1rem; font-size: 16px; }
  .pp-q-a p { padding-right: 0; }
  .pp-plans .pp-three { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .pp-plans .pp-three .pp-num { font-size: clamp(2.6rem, 9vw, 3.4rem); }
}
@media (max-width: 479px) {
  .pp { padding-top: 108px; }
  .pp-wrap { padding: 0 16px; }
  .pp-three, .pp-four, .pp-row-body { grid-template-columns: minmax(0, 1fr); }
  .pp-art { aspect-ratio: 4 / 3; }
  .pp-notes > div { grid-template-columns: minmax(0, 1fr); row-gap: 0.15rem; }
  .pp-notes dt { padding-top: 0; }
  .pp-afters { row-gap: 1.5rem; }
}
