/* Home, direction B "Chapters" (docs/design/refs/48-website-stageshow, mockup website/redesign/b): one feature per screen,
   a headline the size of the phone, the scene rising out of a glow in that feature's color.
   At 1440x900 a chapter (text + its 540px phone stage) fits one screen. */
.ch { position: relative; display: grid; justify-items: center; gap: 32px; padding: 72px 0 0; overflow: hidden;
  background: radial-gradient(50% 45% at 50% 85%, rgba(var(--glow), .12), transparent 70%); }
.ch + .ch { border-top: 1px solid var(--line); }
.ch-hero { padding-top: 104px; }
.ch-text { display: grid; justify-items: center; gap: 16px; text-align: center; }
.ch h1, .ch h2, .ch-plans h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
.ch h1 { font-size: clamp(48px, 7.5vw, 96px); line-height: .98; max-width: 14ch; }
.ch h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1; max-width: 18ch; }
.ch-text p { max-width: 44ch; font-size: 21px; line-height: 1.45; color: #b4bbb8; text-wrap: pretty; }
.ch-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.ch-cta .btn, .ch-cta .btn-opal { font-family: var(--display); }
.ch-cta .icon { width: 20px; height: 20px; }
.ch-free { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--mint); font: 500 14px/1.4 var(--display); }
.ch-free[data-plan="ultima"] { color: var(--cyan); }
.ch-free .icon { width: 18px; height: 18px; }
.ch-scene { width: calc(100% - 32px); max-width: 400px; }
.ch-scene.wide { max-width: 720px; }

/* plans: four cards, one line under them, then the compare page; centred like a chapter, on its own glow */
.ch-plans { padding: 96px 0 24px; border-top: 1px solid var(--line);
  background: radial-gradient(50% 45% at 50% 60%, rgba(var(--glow), .10), transparent 70%); }
.ch-plans-in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 32px; text-align: center; }
.ch-plans h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1; }
.ch-cards { width: 100%; max-width: 1080px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; text-align: left; }
.ch-card { display: grid; gap: 6px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ch-card-name { font: 500 15px/1.4 var(--display); color: var(--ink-soft); }
.ch-card-price { font: 500 34px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.ch-card-price small { margin-left: 6px; font: 400 15px/1 var(--font); letter-spacing: 0; color: var(--ink-soft); }
.ch-card-note { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.ch-plans .ch-free { display: block; max-width: 44ch; }
.ch-plans .ch-free .icon { display: inline; margin-right: 6px; vertical-align: -4px; }

@media (max-width: 640px) {
  .ch { gap: 28px; padding: 64px 0 16px; }   /* the device keeps one 32px gutter to the page sides and to the hairline */
  /* the hero's headline, buttons and whole phone fit one 390x844 screen */
  .ch-hero { padding-top: 72px; }
  .ch-hero .ch-text { gap: 12px; }
  .ch-cta { gap: 8px; margin-top: 0; }
  .ch-cta .btn, .ch-cta .btn-opal { height: 48px; padding: 0 18px; font-size: 15px; }
  .ch-text p { font-size: 18px; }
  .ch-scene:not(.wide) { margin-bottom: 32px; }   /* a 200px phone has 95px at its sides: 64px under it keeps one gutter family (film gate) */
  .ch-plans { padding-top: 64px; }
  .ch-cards { grid-template-columns: 1fr 1fr; }
  .ch-card { padding: 18px 16px; }
  .ch-card-price { font-size: 26px; }
  .ch-card-price small { display: block; margin: 2px 0 0; }
}
