/*
 * The pricing page (lib/native/pages/pricing.ts), simple: plain fluid
 * layout, one width rule, no measured per-screen widths (owner, 2026-11-03).
 * Colours and fonts are the site's own (site.css :root).
 */
.z-page--pricing { --pr-lav: #f6f4ff; --pr-lav-2: #ede8ff; --pr-muted: #5d536d; }

.z-pr__wrap { width: min(1120px, 100% - 2 * var(--z-edge)); margin: 0 auto; }
.z-pr__wrap--narrow { width: min(760px, 100% - 2 * var(--z-edge)); }
.z-pr__eyebrow { font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--z-green); margin: 0 0 12px; }
.z-pr__h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; font-weight: 700; letter-spacing: 0; color: var(--z-ink); margin: 0 0 32px; text-align: center; }
.z-pr__tick { color: var(--z-green); font-weight: 700; }

/* 1. The price and the box */
.z-pr-hero { background: var(--z-night); color: #fff; padding: clamp(48px, 7vw, 96px) 0; }
.z-pr-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .z-pr-hero__grid { grid-template-columns: 1fr 440px; gap: 64px; } }
/* Normal letter spacing and room between the lines (owner, 2026-11-03: "very
 * tight"); each phrase on its own line, never "$99 a / month". */
.z-pr-hero__title { color: #fff; margin: 0 0 24px; }
.z-pr-hero__title .z-green { display: block; }
.z-pr-hero__text { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: rgba(255, 255, 255, 0.8); margin: 0; max-width: 34em; }
.z-pr-card { background: #fff; color: var(--z-ink); border-radius: 16px; padding: 28px 24px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); }
.z-pr-card__price { font-size: 18px; color: var(--z-text); margin: 0; }
.z-pr-card__amount { font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: 0; color: var(--z-purple); }
.z-pr-card__label { font-size: 15px; font-weight: 600; color: var(--z-ink); margin: 8px 0 20px; }
.z-pr-card__std { font-weight: 400; color: var(--pr-muted); margin-left: 6px; white-space: nowrap; }
.z-page--pricing [data-zylo-picker] { max-width: none; margin: 0; }
.z-pr-card__note { font-size: 14px; color: var(--pr-muted); margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.z-pr-card__note > span { white-space: nowrap; }

/* 2. What you get every month */
.z-pr-inc { background: var(--pr-lav); padding: clamp(48px, 7vw, 88px) 0; }
.z-pr-inc__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .z-pr-inc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.z-pr-inc__item { background: #fff; border-radius: 12px; padding: 16px; margin: 0; }
@media (min-width: 900px) { .z-pr-inc__item { padding: 20px; } }
.z-pr-inc__n { font-size: 40px; line-height: 1; font-weight: 700; color: var(--z-purple); margin: 0; }
.z-pr-inc__what { font-size: 17px; font-weight: 600; color: var(--z-ink); margin: 6px 0 6px; }
.z-pr-inc__line { font-size: 15px; line-height: 1.45; color: var(--pr-muted); margin: 0; }
.z-pr-inc__also { font-size: 16px; line-height: 1.5; color: var(--z-text); text-align: center; margin: 28px auto 0; max-width: 46em; }

/* 3. Zylo or an agency */
.z-pr-vs { background: #fff; padding: clamp(48px, 7vw, 88px) 0; }
.z-pr-vs__grid { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
@media (min-width: 700px) { .z-pr-vs__grid { grid-template-columns: 1fr 1fr; } }
.z-pr-vs__col { border: 1px solid var(--z-line); border-radius: 12px; padding: 24px; }
.z-pr-vs__col--zylo { border: 2px solid var(--z-purple); background: var(--pr-lav); }
.z-pr-vs__name { font-size: 18px; font-weight: 600; color: var(--pr-muted); margin: 0 0 6px; }
.z-pr-vs__col--zylo .z-pr-vs__name { color: var(--z-purple); }
.z-pr-vs__price { font-size: 28px; font-weight: 700; color: var(--z-ink); margin: 0 0 14px; }
.z-pr-vs__list { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.7; color: var(--z-text); }
.z-pr-vs__list li { margin: 0; }

/* 4. Questions (the shared accordion, site.css) */
.z-pr-faq { background: #fff; padding: clamp(48px, 7vw, 88px) 0; }
.z-page--pricing .z-faq__item { border-bottom: 1px solid var(--z-line); padding: 4px 0; }
.z-page--pricing .z-faq__item:first-child { border-top: 1px solid var(--z-line); }
.z-page--pricing .z-faq__q { margin: 0; }
.z-page--pricing .z-faq__button { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--z-ink); padding: 16px 0; gap: 16px; }
.z-page--pricing .z-faq__icon { width: 14px; height: 14px; fill: var(--z-purple); }
.z-page--pricing .z-faq__a { font-size: 16px; line-height: 1.6; color: var(--z-text); padding: 0 0 18px 30px; }

/* 5. The box again */
.z-pr-end { background: var(--pr-lav); padding: clamp(48px, 7vw, 88px) 0; text-align: center; }
.z-pr-end .z-pr__h2 { margin-bottom: 12px; }
.z-pr-end__text { font-size: 17px; line-height: 1.55; color: var(--z-text); margin: 0 auto 24px; max-width: 32em; }
.z-pr-end .z-pr-card__note { justify-content: center; }
.z-pr-end [data-zylo-picker] { max-width: 560px; margin: 0 auto; text-align: left; }

/* Shared: a lead line under a section heading */
.z-pr__lead { font-size: 17px; line-height: 1.6; color: var(--z-text); text-align: center; max-width: 40em; margin: -16px auto 32px; }
.z-pr-card__std s { text-decoration-thickness: 1.5px; }

/* 2. Set up for you */
.z-pr-setup { background: #fff; padding: clamp(48px, 7vw, 88px) 0; }
.z-pr-setup__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .z-pr-setup__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .z-pr-setup__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.z-pr-setup__item { border: 1px solid var(--z-line); border-radius: 12px; padding: 20px; margin: 0; }
.z-pr-setup__step { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pr-lav-2); color: var(--z-purple); font-weight: 700; font-size: 15px; margin: 0 0 12px; }
.z-pr-setup__name { font-size: 19px; font-weight: 600; color: var(--z-ink); margin: 0 0 8px; }
.z-pr-setup__text { font-size: 15px; line-height: 1.55; color: var(--pr-muted); margin: 0; }

/* 4. What it makes */
/* The example pictures are drawn for the home page's dark hero (light cards
 * on dark), so they sit on the same dark background here. */
.z-pr-ex { background: var(--z-night); padding: clamp(48px, 7vw, 88px) 0; }
.z-pr-ex .z-pr__h2 { color: #fff; }
.z-pr-ex .z-pr__lead { color: rgba(255, 255, 255, 0.8); }
.z-pr-ex__grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .z-pr-ex__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.z-pr-ex__item { margin: 0; }
.z-pr-ex__item img { display: block; width: 100%; height: auto; border-radius: 12px; }
.z-pr-vs { background: var(--pr-lav); }
.z-pr-vs__col { background: #fff; }
.z-pr-vs__col--zylo { background: #fff; }

/* 1b. The "Breakfast" film, under the price box (owner, 2026-11-06). It
 * plays only when pressed, with sound and English captions; nothing loads
 * but the poster until then (preload="none"). Each owner's line is answered
 * below it for people who never press play, then the scan button. Its
 * background is the lavender ground with the glow (site.css), as under
 * "Zylo or an agency". */
.z-pr-film { padding: clamp(48px, 7vw, 88px) 0; }
.z-pr-film__lines { list-style: none; margin: 32px auto 0; padding: 0; max-width: 1000px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .z-pr-film__lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.z-pr-film__line { background: #fff; border-radius: 12px; padding: 18px 20px; margin: 0; }
.z-pr-film__said { font-size: 16px; line-height: 1.45; font-style: italic; color: var(--pr-muted); margin: 0 0 8px; }
.z-pr-film__answer { font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--z-ink); margin: 0; }
.z-pr-film__end { text-align: center; margin: 36px auto 0; max-width: 36em; }
.z-pr-film__close { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; font-weight: 700; color: var(--z-ink); margin: 0 0 8px; }
.z-pr-film__sub { font-size: 16px; line-height: 1.5; color: var(--z-text); margin: 0 0 20px; }
.z-pr-film__btn { font-size: 17px; padding: 14px 26px; }
.z-pr-film__btn:hover, .z-pr-film__btn:focus-visible { background: var(--z-ink); }

/* The scan box is drawn like the app's own scan page on every page now
 * (lib/zylo-picker.css, 2026-11-06). The film's button: the same mint, so
 * the page has one kind of start button. */
.z-pr-film__btn.z-btn--primary { background: #34d399; color: #0d0418; font-weight: 700; border-radius: 10px; }
.z-pr-film__btn.z-btn--primary:hover, .z-pr-film__btn.z-btn--primary:focus-visible { background: #2bc28b; color: #0d0418; }

/* Phones: the price card, with the box, comes straight after the headline so
 * it is on the first screen; the paragraph follows it. The paragraph itself
 * is unchanged (the header test swaps it, lib/personalize.ts). */
@media (max-width: 899px) {
  .z-pr-hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .z-pr-hero__copy { display: contents; }
  .z-pr-hero__copy > .z-pr__eyebrow { order: 1; }
  .z-pr-hero__title { order: 2; }
  .z-pr-card { order: 3; }
  .z-pr-hero__text { order: 4; margin-top: 28px; }
}
