/* The homepage's own CSS, linked last: a funnel for a phone, six sections and one action
   (plan/home.md). Everything a page needs is the kit's (assets/system.css and its layers), the
   tokens (styles/tokens.css) and what every page shares (styles/site.css). What is here is only
   what sits inside a visual and the kit lacks (Confetti's own interface drawn as live HTML: the
   chat, the invitation, the film's cards), the funnel's rules for a phone (the nav without a menu,
   the bar at the foot, the answers closed until tapped), one --p-h for the steps' cards, and the
   heights that keep each section on its screens. Colours, sizes, spacing and radii are the system's
   tokens.

   The hero's frame is the step pictures' ground, with the chat whole inside it; the chat shows the lines it holds whole. */

/* ---------------------------------------------------------------- the hero's headline
   Onest runs wide: at the kit's 64px a headline of the collage hero's 48 characters takes four lines
   on its five columns. The pairing's own knob (--ly-scale, 1 for Onest as dealt) brings it to three. */
:root { --ly-scale: .92; }

/* ---------------------------------------------------------------- the nav on a phone, and the bar
   Under 768 the nav is the name and the button, with no menu (the footer has the words), and it
   scrolls away with the page; the action is then the kit's bar pinned to the foot, which system.js
   shows once the hero's button has left the screen and hides while another button of the same
   words is on it. From 768 up the words stand in the nav, which stays at the top. */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav.nav--centre .nav__links { display: flex; margin-inline: auto; }
}
@media (max-width: 767px) {
  header.nav { position: absolute; }
  :root:has(> body > nav.actionbar) header.nav.nav--centre:not(.is-open) .nav__actions { display: flex; margin-left: auto; }
  /* the close's own button is on the screen whenever its footer is, so the bar is away and the footer need not make room for it */
  footer.closing { --bar: 0px; }
  :root:has(> body > nav.actionbar) { --bar: calc(72px + env(safe-area-inset-bottom)); }
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; align-items: center;
    height: calc(72px + env(safe-area-inset-bottom)); padding: var(--s-2) var(--gut) env(safe-area-inset-bottom);
    background: var(--bg); border-top: 1px solid var(--line); transition: transform 240ms var(--ease), visibility 0s;
  }
  .actionbar .btn { width: 100%; height: 56px; font-size: var(--t-lead); }
  .actionbar[data-bar="hidden"] { transform: translateY(100%); visibility: hidden; transition: transform 240ms var(--ease), visibility 0s 240ms; }
  :root:has(> body > nav.actionbar:is([data-bar="shown"], [data-bar="hidden"])) main > .hero { --bar: 0px; }
}
@media (max-width: 767px) and (scripting: enabled) {
  .actionbar:not([data-bar="shown"], [data-bar="always"]) { transform: translateY(100%); visibility: hidden; }
  :root:not(:has(> body > nav.actionbar[data-bar="always"])) main > .hero { --bar: 0px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .actionbar, .actionbar[data-bar="hidden"] { transition: none; } }

/* ---------------------------------------------------------------- Confetti's interface, drawn
   One look for every piece: white surfaces, the ink, hairlines, the one blue. Text at the product's
   own scale (13 to 15px), as in the kit's fragments. */
.cf-win {
  display: flex; flex-direction: column; overflow: hidden; text-align: left;
  background: var(--u-bg); color: var(--u-ink); border: 1px solid var(--u-border); border-radius: var(--u-r);
  box-shadow: var(--u-shadow); font: 400 14px/1.45 var(--font-text);
}
.cf-win__bar { display: flex; align-items: center; gap: 10px; flex: none; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--u-line); }
.cf-av { flex: none; width: 28px; height: 28px; border-radius: 50%; }
.cf-win__name { font-weight: 500; }
.cf-thread { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; padding: 14px; }
.cf-msg { max-width: 84%; margin: 0; padding: 8px 13px; border-radius: 16px 16px 16px 5px; background: var(--u-fill-2); color: var(--u-ink); }
.cf-msg--me { align-self: flex-end; border-radius: 16px 16px 5px 16px; background: var(--u-accent); color: var(--u-accent-ink); }
/* a sent line that takes two lines breaks into two of like length, so its last word or its emoji never stands alone */
.cf-msg--me { text-wrap: balance; }
/* a clip as its sender's chat shows it: a dark frame, the sender's initial, a play glyph */
.cf-msg--clip { padding: 4px; }
.cf-clip { position: relative; display: grid; place-items: center; width: 148px; aspect-ratio: 16 / 10; border-radius: 12px 12px 3px 12px; background: var(--p-inv-bg); }
.cf-clip__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--p-inv-surface); color: var(--p-inv-ink); font: 500 14px/1 var(--font-text); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.cf-clip__play { position: absolute; left: 8px; bottom: 8px; width: 12px; height: 12px; fill: var(--p-inv-ink); }
.cf-k { font-size: 13px; line-height: 1.4; color: var(--u-muted); }
.cf-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: var(--r-btn);
  border: 1px solid var(--u-line-2); background: var(--u-bg); color: var(--u-ink); font: 500 14px/1 var(--font-text); white-space: nowrap;
}
.cf-btn--main { border-color: var(--u-accent); background: var(--u-accent); color: var(--u-accent-ink); }

/* the list of who is in, as a video's page shows it: a head row, then one row a person; the last
   row is the one that just changed (no video yet, struck, over video arrived) */
.cf-who { padding: 14px 16px 6px; }
.cf-who__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
.cf-who__t { font-weight: 500; font-size: 15px; }
.cf-who__list { margin: 0; padding: 0; list-style: none; }
.cf-who__list li { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--u-line); }
.cf-who__list li.is-new { margin-inline: -16px; padding-inline: 16px; background: var(--u-tint); }
.cf-who__av { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--u-fill-2); font: 500 13px/1 var(--font-text); }
.cf-who__n { font-weight: 500; }
.cf-who__c { display: grid; justify-items: end; gap: 1px; margin-left: auto; }
.cf-who__s { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.35; white-space: nowrap; }
s.cf-who__s { color: color-mix(in oklab, var(--u-ink) 68%, var(--u-bg)); }
.cf-who__s svg { width: 12px; height: 12px; fill: none; stroke: var(--u-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the invitation, as its link opens: the icon and the name, the occasion, the title, the one button */
.cf-invite { overflow: hidden; background: var(--u-bg); color: var(--u-ink); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); font: 400 14px/1.45 var(--font-text); text-align: left; }
.cf-invite__bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--u-line); --lk: 16px; }
.cf-invite__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 16px; }
.cf-invite__t { font: var(--display-weight) 24px/1.1 var(--font-display); letter-spacing: var(--display-tracking); text-wrap: balance; }
.cf-invite__body > .cf-btn { margin-top: 14px; }

/* the film's title card on the page's dark ground, in both formats: the phone-format card laid
   over the landscape one, one picture from line to line */
.cf-cards { position: relative; margin-top: auto; padding-top: var(--s-2); }
.cf-card { display: flex; flex-direction: column; justify-content: center; gap: 2px; border-radius: var(--r-sm); background: var(--bg); color: var(--ink); }
.cf-card--wide { aspect-ratio: 16 / 9; padding-left: var(--s-6); }
.cf-card--tall { position: absolute; right: var(--s-4); bottom: var(--s-4); height: 76%; aspect-ratio: 9 / 16; align-items: center; text-align: center; box-shadow: 0 0 0 1px var(--p-inv-muted); }
.cf-card__k { font-size: 12px; line-height: 1.2; color: var(--muted); }
.cf-card__t { font: var(--display-weight) 17px/1.1 var(--font-display); letter-spacing: var(--display-tracking); }
.cf-card--tall .cf-card__k { font-size: 11px; }
.cf-card--tall .cf-card__t { font-size: 11.5px; padding-inline: 6px; text-wrap: balance; }

/* ---------------------------------------------------------------- the hero's collage
   The frame stands on the ground the step pictures below stand on (the kit's lit ground with its
   soft mesh, copied from its .panel rule) and holds the chat whole: a white window with the same
   margin on all four sides and the kit's small shadow, which lifts it off the ground, so no white
   surface meets the white page. (The kit's collage runs its window out through the frame's right
   and bottom edges, where it met the page: white on white. A black frame was tried and taken back.) */
.hero__art {
  --m: var(--s-6);
  background-color: var(--ground-bg);
  background-image:
    radial-gradient(70% 90% at 12% 0%, color-mix(in oklab, var(--ground-surface) 92%, white), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, color-mix(in oklab, var(--ground-accent) 34%, var(--ground-bg)), transparent 72%),
    radial-gradient(50% 60% at 85% 10%, color-mix(in oklab, var(--ground-surface) 60%, transparent), transparent 70%);
}
/* the product's interface keeps its own colours on any ground */
.hero__art > .ui {
  --fx-bg: var(--p-bg); --fx-surface: var(--p-surface); --fx-ink: var(--p-ink); --fx-muted: var(--p-muted);
  --fx-accent: var(--p-accent); --fx-accent-ink: var(--p-accent-ink);
}
.hero__art > .cf-win { inset: var(--m); width: auto; font-size: 15px; box-shadow: var(--u-shadow-sm); }
.hero__art > .cf-win > .cf-win__bar { height: 56px; padding-inline: 18px; }
/* WhatsApp's mark on the hero's button, before its words: the flat green glyph, unchanged, on a
   white disc, since green on the button's blue would not read */
.btn__wa { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--p-bg); }
/* The thread shows the lines it holds whole, whatever its size: it is a column that wraps. A first
   item of no height makes that column as wide as the thread; a line that does not fit under the
   others goes to a second column, which lies outside the window and is clipped with it. */
.hero__art > .cf-win > .cf-thread { flex-wrap: wrap; align-content: flex-start; min-height: 0; gap: 12px var(--s-8); padding: 6px 18px 18px; }
.hero__art > .cf-win > .cf-thread::before { content: ""; width: 100%; }
.hero__art > .cf-win .cf-msg { max-width: 80%; padding: 9px 14px; }
/* The small card hangs over the window's lower-left corner, 16px out to the left and below, in the
   one blue: apart from the ground round it and from the white chat it reports on. Its pause control
   sits whole inside it, at its right, with the third line kept clear of it. */
.hero__art > .ly-piece--note { left: calc(var(--m) - var(--s-4)); bottom: calc(var(--m) - var(--s-4)); width: 320px; z-index: 2; }
.hero__art > .cf-note {
  --fx-bg: var(--p-accent); --fx-surface: var(--p-accent); --fx-ink: var(--p-accent-ink);
  --fx-muted: color-mix(in oklab, var(--p-accent-ink) 76%, var(--p-accent));
  --fx-accent: var(--p-accent-ink); --fx-accent-ink: var(--p-accent);
  --bg: var(--p-accent-ink); --ink: var(--p-accent);
}
.cf-note { padding: 8px 18px; background: var(--u-bg); color: var(--u-ink); border-radius: var(--u-r); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .55); font: 400 14px/1.4 var(--font-text); text-align: left; }
.cf-note__line { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 0; border-top: 1px solid color-mix(in oklab, var(--u-ink) 24%, transparent); }
.cf-note__line:first-child { border-top: 0; }
.cf-note__line:last-of-type { padding-right: 44px; }
.cf-note__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--u-ink); box-shadow: inset 0 0 0 1.5px var(--u-ink); transition: background-color .35s var(--ease, ease); }
/* The card is never an empty box: a line that has not arrived yet (the kit's loop marks it .is-off)
   stays in its place, dimmed, with a hollow dot, and lights up when its turn comes. At rest all
   three are lit. */
.hero__art > .cf-note > .cf-note__line.is-off { opacity: .5; transform: none; }
.cf-note__line.is-off > .cf-note__dot { background: transparent; }
.cf-note > .loop-pause, .cf-note > .ui-pause { right: 10px; bottom: 9px; box-shadow: none; opacity: 1; border-color: transparent; }
.cf-note > :is(.loop-pause, .ui-pause):focus-visible { outline: 2px solid var(--p-accent-ink); outline-offset: 2px; }
/* no line of the chat lies under the card: the thread ends above it (the card's height less its
   16px below the window, and one gap) */
@media (min-width: 640px) { .hero__art > .cf-win > .cf-thread { padding-bottom: 152px; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .hero__art { --m: var(--s-5); }
  .hero__art > .ly-piece--note { width: 290px; }
  .hero__art > .cf-win > .cf-thread { padding-bottom: 172px; }
}
@media (max-width: 639px) {
  .hero__art { --m: var(--s-4); }
  .hero__art > .cf-win { font-size: 14px; }
  .hero__art > .cf-win > .cf-win__bar { height: 48px; padding-inline: 14px; }
  .hero__art > .cf-win > .cf-thread { gap: 10px var(--s-8); padding: 4px 14px 14px; }
  /* the first screen holds the whole offer: tighter under the nav, so the top of the chat shows */
  .hero--collage .hero__text > * + * { margin-top: var(--s-4); }
  .hero--collage .hero__text > .btn-row { margin-top: var(--s-5); }
  .hero--collage .hero__art { margin-top: var(--s-5); min-height: 200px; }
  /* the close's button is the hero's on a phone: the words and the arrow together, in the middle
     (the kit's wide button sets them at its two ends) */
  .closing__cta.close--type > .btn--xl.btn--wide { justify-content: center; padding-inline: var(--s-5); }
}

/* ---------------------------------------------------------------- steps: three open cards
   The markup holds two groups: the heading with the first card, then the other two. From 1024 they
   are one row of three (the fragments are made to fit a 270px panel, so the kit's two-up rule for
   span-4 panels is not needed). On a tablet the section is two screens, one group each, as the
   kit's .g2 lays two groups out. On a phone the three steps are one screen: the number, the heading
   and the sentence, without the fragment (the hero already shows the chat). */
#how .panel { --p-h: 320px; }
#how .card > .step-num { margin-bottom: var(--s-4); }
#how > .wrap { row-gap: var(--s-6); }
#how .steps__b { display: grid; row-gap: var(--s-6); align-content: start; }
#how .stage > .at-rise { --ax: 24px; --ay: 28px; --fit-max: 340px; }
#how .stage > .at-rise:not(.to-edge) { --ay: 36px; --fit-max: 300px; }
@media (min-width: 1024px) {
  #how > .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 0; align-content: start; }
  #how .steps__a, #how .steps__b { display: contents; }
  #how .section-head { grid-column: 1 / -1; }
  #how .card--row > p { min-height: 3lh; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #how { --h: 2; }
  #how > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); row-gap: calc(var(--padt) + var(--padb) + var(--bar)); }
  #how .steps__b { row-gap: var(--card-gap); }
  #how .panel { --p-h: 240px; }
  #how .stage { --fade-h: 40px; }
  #how .cf-win__bar { display: none; }
  #how .cf-clip { width: 124px; }
  #how .stage > .at-rise, #how .stage > .at-rise:not(.to-edge) { --ay: 24px; }
  #how .cf-invite__body { padding-top: 14px; }
}
@media (max-width: 639px) {
  /* the heading and the three steps share the screen's height: the space lies between them, not
     under the third */
  #how .steps__a, #how .steps__b { display: contents; }
  #how > .wrap { justify-content: space-between; row-gap: var(--s-5); }
  #how .section-head { margin-bottom: 0; }
  #how .panel { display: none; }
  /* the number beside its heading, the sentence under both */
  #how .card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-3); align-items: center; }
  #how .card > .step-num { margin: 0; }
  #how .card > p { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- the clips: three cards and a line
   Built like the steps: two groups in the markup (the heading and the first two cards; then the
   third card and "Fits every phone" in words alone). From 1024 one screen: the three cards in a row
   and under them the fourth, a low card on the soft ground with no picture, its title at its left
   and its sentence on the page's split line. On a tablet the section's two screens, one group each. On a phone one column
   over two screens, its space shared between the parts. */
#clips .panel { --p-h: 320px; }
#clips > .wrap { row-gap: var(--s-6); }
#clips .clips__b { display: grid; row-gap: var(--s-6); align-content: start; }
#clips .stage > .at-rise { --ax: 24px; --ay: 28px; --fit-max: 340px; }
.card.clips__plain { padding: var(--s-5); border-color: transparent; }
@media (min-width: 1024px) {
  #clips > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 0; align-content: start; }
  #clips .clips__a, #clips .clips__b { display: contents; }
  #clips .section-head { grid-column: 1 / -1; }
  #clips .card { grid-column: span 4; }
  #clips .card--row > p { min-height: 3lh; }
  /* the page's own gutter, or the subgrid would sit half the difference off the page's lines */
  #clips .clips__plain { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: var(--gutter); align-items: baseline; margin-top: var(--s-6); }
  .clips__plain > h3 { grid-column: 1 / span 5; }
  .clips__plain > p { grid-column: 7 / -1; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #clips { --h: 2; }
  #clips > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); row-gap: calc(var(--padt) + var(--padb) + var(--bar)); }
  #clips .clips__a, #clips .clips__b { row-gap: var(--card-gap); }
  #clips .panel { --p-h: 220px; }
  #clips .stage { --fade-h: 40px; }
  #clips .cf-win__bar { display: none; }
  #clips .stage > .at-rise { --ay: 24px; --fit-max: 420px; }
}
@media (max-width: 639px) {
  #clips { --hm: 2; }
  #clips .clips__a, #clips .clips__b { display: contents; }
  #clips > .wrap { justify-content: space-between; row-gap: var(--s-4); }
  #clips .section-head { margin-bottom: 0; }
  /* the pictures take the room two screens leave, so the space between the parts stays small */
  #clips .panel { --p-h: 200px; }
  #clips .card--open > .panel { margin-top: var(--s-4); }
  #clips .stage { --fade-h: 32px; }
  #clips .stage > .at-rise { --ay-sm: 16px; }
  /* the pictures at a phone's size: the list's rows a little lower, the chat without its bar */
  #clips .cf-who { padding-top: 10px; }
  #clips .cf-who__list li { min-height: 44px; }
  #clips .cf-win__bar { display: none; }
  #clips .cf-thread { gap: 8px; padding: 12px; }
}

/* ---------------------------------------------------------------- the demo: the film in its frame
   The frame is exactly the film's shape, 16:9 (9:16 for the phone's cut), and the film fills it edge
   to edge: no bar beside it and no wider frame round it. On a desktop the heading stands beside it
   and the frame ends on the right line; below 1280 the heading stands over it. On a phone the frame
   is as tall as the screen leaves under the heading. */
.demo { row-gap: var(--head-gap); }
.demo > .section-head { margin-bottom: 0; }
.film { --ratio: 0px; aspect-ratio: 16 / 9; background: var(--p-bg); }
.film > .film__cut { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.film > .film__cut--tall { display: none; }
/* the frame clips its film, and with it the ring the kit draws round the film itself; so the frame
   carries the kit's ring, outside its edge, while its film has the focus */
.film:has(> .film__cut:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
/* The film's first start: a white play disc in the middle of the frame, over a scrim that sinks the
   poster's own words to a faint trace (the ink at three quarters across the frame): the frame reads
   as a dark panel with one white button. Both are there until
   the film has started once. scripts/film.js shows the disc; without the script it stays hidden
   and the native controls are the way in. One disc a cut, shown with its cut.
   The scrim is the disc's own shadow, spread past the frame, which cuts it off: so it comes and
   goes with the disc, and a shadow takes no click, so the picture and the native control bar under
   it stay pressable. */
.film > .film__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; display: block; width: 72px; height: 72px; margin: -36px 0 0 -36px; padding: 0;
  border: 0; border-radius: 50%; background: var(--p-bg); color: var(--p-ink); cursor: pointer;
  box-shadow: 0 0 0 100vmax color-mix(in oklab, var(--p-ink) 76%, transparent);
  transition: transform var(--dur) var(--ease);
}
.film > .film__play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 26px; margin: -13px 0 0 -8px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.film > .film__play:hover { transform: scale(1.06); }
.film > .film__play:active { transform: scale(.97); }
.film > .film__play:focus-visible { outline: 3px solid var(--p-bg); outline-offset: 4px; }
.film > .film__play[hidden], .film > .film__play--tall { display: none; }
/* a narrower desktop: the heading over the film, which then runs the wrap */
@media (min-width: 1024px) and (max-width: 1279px) { .demo > * { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  .film { aspect-ratio: 9 / 16; width: auto; height: min(608px, 100lvh - 96px - 48px - var(--bar) - 200px); justify-self: start; }
  .film > .film__cut--wide, .film > .film__play--wide { display: none; }
  .film > .film__cut--tall, .film > .film__play--tall:not([hidden]) { display: block; }
}

/* ---------------------------------------------------------------- prices
   Two groups in the markup (the heading and the free card; then the premium card, the note and the
   line for the price's mark). From 1024 one row: the heading's column holds the note and the mark's
   line under the lead, and the two cards run its height. A card ends with its line on what comes
   next, under a hairline: apart from the ticked list of what the plan holds today. On a tablet the section's two screens, one group each. On a phone
   one column in the markup's order, the two plans open on the page's ground. */
#prices { --hm: 2; }
.prices__head { display: grid; gap: var(--s-5); align-content: start; }
#prices .card--plan .price { flex-wrap: wrap; }
#prices .card--plan .t-stat { white-space: nowrap; }
#prices .card--plan > .btn { margin-top: auto; }
#prices .checks li { text-wrap: pretty; }
.plan__next { padding-top: var(--s-4); border-top: 1px solid var(--line-strong); font-size: var(--t-small); line-height: 1.5; text-wrap: pretty; }
.prices__foot { font-size: var(--t-small); line-height: 1.5; }
#prices .cf-cards { max-width: 280px; }
#prices .group { gap: var(--s-5); }
@media (min-width: 1024px) {
  #prices > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto minmax(0, 1fr); column-gap: var(--gutter); row-gap: var(--s-5); }
  #prices .group { display: contents; }
  #prices .prices__head { grid-column: 1 / span 4; grid-row: 1; }
  #prices .prices__note { grid-column: 1 / span 4; grid-row: 2; }
  #prices .prices__foot { grid-column: 1 / span 4; grid-row: 3; align-self: start; }
  #prices .card--plan { grid-row: 1 / span 3; }
  #prices .prices__a > .card--plan { grid-column: 5 / span 4; }
  #prices .prices__b > .card--plan { grid-column: 9 / span 4; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #prices { --h: 2; }
  #prices > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); row-gap: calc(var(--padt) + var(--padb) + var(--bar)); }
}
@media (max-width: 639px) {
  /* tight enough that the longest language (French) still fits its two screens */
  #prices > .wrap { row-gap: var(--s-4); }
  #prices .group { gap: var(--s-3); }
  #prices .card--plan { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; gap: var(--s-2); }
  #prices .card--plan > .btn { margin-top: var(--s-2); }
  #prices .cf-cards { max-width: 280px; }
  .plan__next { padding-top: var(--s-3); }
}

/* ---------------------------------------------------------------- questions
   Each answer is closed until tapped: the browser's own details element, no script (the funnel's
   rule, which wins over the kit's open answers). A row is 56px or more, its sign drawn in CSS. From
   1024 the heading and the link to support stand beside the list, on the page's split. */
.qa { display: grid; gap: var(--s-5); align-content: start; }
.qa__list { border-top: 1px solid var(--line); }
.qa__item { border-bottom: 1px solid var(--line); }
.qa__item > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding-block: var(--s-3); list-style: none; cursor: pointer; }
.qa__item > summary::-webkit-details-marker { display: none; }
.qa__item > summary > span { font: 500 var(--t-body)/1.35 var(--font-text); text-wrap: balance; }
/* the sign: a plus that turns into a minus when the answer is open */
.qa__item > summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat;
}
.qa__item[open] > summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat; }
.qa__item > summary:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.qa__item > p { max-width: 64ch; padding-bottom: var(--s-5); }
.qa__ask { display: flex; align-items: center; gap: var(--s-3); }
.qa__ask > .link { min-height: 48px; }
@media (min-width: 1024px) {
  .qa { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); grid-template-rows: auto 1fr; }
  .qa > h2 { grid-column: 1 / span 5; grid-row: 1; }
  .qa > .qa__ask { grid-column: 1 / span 5; grid-row: 2; align-self: start; }
  .qa > .qa__list { grid-column: 7 / -1; grid-row: 1 / span 2; }
  .qa__item > summary > span { font-size: var(--t-lead); }
}
@media (max-width: 639px) {
  .qa { gap: var(--s-4); }
  .qa__item > summary { min-height: 52px; padding-block: var(--s-2); }
}
