.closing {
  --page-gutter: var(--compact-page-gutter);
  --closing-surface: #7d67b5;
  --closing-ink: #fff;
  --closing-gold-ink: #876b2b;
  position: relative;
  isolation: isolate;
  container: closing / inline-size;
  overflow-wrap: anywhere;
  color: var(--closing-ink);
  background: var(--closing-surface);
  border-radius: 2.5rem 2.5rem 0 0;
}
.closing-cta { position: relative; isolation: isolate; display: flex; flex-direction: column; }
.closing--text { padding-top: clamp(3.25rem, 6vw, 5rem); }
.closing-cta__scene { --scene-edge-display: none; --scene-canvas-width: 87.5rem; position: relative; overflow: clip; width: 100%; aspect-ratio: 820 / 682; border-radius: 2.5rem 2.5rem 0 0; background: var(--closing-surface); }
.closing-cta__scene img { position: absolute; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; }
.closing-cta__scene picture::after { content: ""; position: absolute; inset: auto 0 0; height: 4rem; background: linear-gradient(transparent, var(--closing-surface)); }
.closing-cta__decor { position: absolute; inset: -3.5rem 0 0; overflow: clip; pointer-events: none; }
.closing-cta__floating-star { position: absolute; top: 1.5rem; left: 9%; width: clamp(4rem, 15vw, 8rem); height: auto; }
.closing-cta__wand-tip, .closing-cta__glow-top { display: none; }
.closing-cta__content { position: relative; z-index: 1; padding-block: 1rem 3.5rem; }
.closing-cta__brand { display: flex; align-items: center; gap: .9375rem; font-size: clamp(.875rem, 2.4vw, 1.087375rem); font-weight: 600; line-height: 1.11; }
.closing-cta__brand img { flex: none; width: 2.11975rem; height: 2.046625rem; }
.closing-cta__brand span { opacity: .82; }
.closing-cta h2 { max-width: 31.875rem; margin-top: 1.75rem; font-size: clamp(1.625rem, calc(1.328125rem + 1.484375vw), 2.1875rem); font-weight: 600; line-height: 1.11; opacity: .82; }
.closing-cta h2 > span { color: #fed14d; }
.closing-cta__description { max-width: 34.25rem; margin-top: 1.5rem; color: rgb(255 255 255 / 56%); font-size: .875rem; font-weight: 500; line-height: 1.25; }
.closing-form { max-width: 35.375rem; margin-top: 1.75rem; container: closing-form / inline-size; }
.closing-form .offer-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; min-height: 0; border: 0; border-radius: 0; background: transparent; }
.closing-form .offer-phone { min-height: 3.75rem; padding-inline: 1.25rem .875rem; border: 1.066px solid rgb(97 79 109 / 20%); border-radius: var(--radius-pill); background: rgb(255 255 255 / 80%); }
.closing-form .offer-phone input { font-size: 1.0664375rem; color: #2c2c2c; }
.closing-form .offer-phone input::placeholder { color: rgb(127 127 127 / 40%); opacity: 1; }
.closing-form .offer-phone__prefix { font-size: 1.0664375rem; letter-spacing: .05em; }
.closing-form .offer-form__submit { min-height: 3.75rem; padding: 1rem; font-size: clamp(1rem, 3vw, 1.133125rem); line-height: 1.15; color: var(--closing-gold-ink); background: linear-gradient(83.631657deg, var(--color-gold-start) .75162%, var(--color-gold-end) 99.459%); }
.closing-form .offer-form__consents { margin-top: 1rem; gap: .25rem; }
.closing-form .offer-consent { grid-template-columns: .8125rem minmax(0, 1fr); gap: .75rem; min-height: 1.5rem; align-items: center; }
.closing-form .offer-consent > span { color: rgb(255 255 255 / 32.48%); font-size: .5625rem; line-height: 1.19; }
.closing-form .offer-consent input { appearance: none; border: 1px solid rgb(255 255 255 / 10%); border-radius: .1875rem; background: rgb(243 243 243 / 43%); margin: 0; }
.closing-form .offer-consent input:checked { appearance: auto; background: none; }
.closing-form .offer-consent__underlined { font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .12em; }
.closing-cta__transition { display: none; }
.closing__lower { position: relative; isolation: isolate; }
.closing-faq { position: relative; z-index: 1; padding-block: 1rem 0; }
.closing-faq__eyebrow { display: inline-flex; align-items: center; min-height: 1.875rem; padding: .4375rem 1rem; border-radius: var(--radius-pill); background: rgb(204 197 254 / 19%); color: rgb(255 255 255 / 40%); font-size: .875rem; font-weight: 500; line-height: 1.11; }
.closing-faq h2 { margin-top: 1rem; font-size: clamp(1.5rem, calc(1.28125rem + 1.09375vw), 1.875rem); font-weight: 600; line-height: 1.11; opacity: .82; }
.closing-faq__list { display: grid; margin-top: 2.5rem; }
.closing-faq__item { min-width: 0; padding-block: 1.375rem; border-bottom: 1.6px solid rgb(178 152 251 / 27%); }
.closing-faq__item:last-child { border: 0; }
.closing-faq__item summary { display: flex; align-items: start; gap: 1rem; min-height: 2.75rem; cursor: pointer; list-style: none; font-size: clamp(1rem, calc(.875rem + .625vw), 1.1875rem); font-weight: 500; line-height: 1.25; }
.closing-faq__item summary::-webkit-details-marker { display: none; }
.closing-faq__item summary > span:last-child { padding-top: .375rem; }
.closing-faq__symbol { position: relative; display: grid; place-items: center; flex: 0 0 2.5rem; width: 2.5rem; height: 2.5rem; color: #8370bc; font-size: 1.625rem; font-weight: 400; line-height: 1.25; }
.closing-faq__symbol > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-faq__symbol > span { position: relative; }
/* The plus turns via the shared details-motion.css. */
.closing-faq__answer { margin-top: 1.5rem; font-size: .875rem; font-weight: 500; line-height: 1.25; color: rgb(255 255 255 / 60%); }
.closing-faq__answer p + p { margin-top: 1em; }
.closing-faq__answer a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; text-underline-offset: .2em; }
.closing-policy { position: relative; z-index: 1; margin-top: 3.25rem; padding-bottom: 3.5rem; scroll-margin-top: 2rem; }
.closing-policy__section + .closing-policy__section { margin-top: 3rem; }
.closing-policy h2 { margin: 0; max-width: 44rem; font-size: clamp(1.25rem, calc(1.09375rem + .78125vw), 1.5625rem); font-weight: 600; line-height: 1.25; }
.closing-policy__copy { margin-top: 1.5rem; max-width: 70.3125rem; color: rgb(255 255 255 / 70%); font-size: clamp(.875rem, calc(.83334rem + .20833vw), .9583125rem); font-weight: 500; line-height: 1.25; }
.closing-policy__copy p + p, .closing-policy__copy ul + p { margin-top: 1.2em; }
.closing-policy__copy a { text-decoration: underline; text-underline-offset: .12em; }
.closing-policy__copy ul { padding-left: 1em; list-style-type: disc; }
.closing-policy__copy p + ul { margin-top: .25em; }
.closing-policy__copy .closing-policy__technical { margin-top: 1.75rem; }
.closing-policy__copy .closing-policy__media { margin-top: 1.75rem; }
.closing-article__section { margin-top: clamp(2rem, 4vw, 3rem); }
.closing-article__section h3 { margin: 0; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 600; line-height: 1.25; }
.closing-article h2 { max-width: none; }
.closing-article .closing-policy__copy { max-width: none; line-height: 1.5; }
.closing-article__section .closing-policy__copy { margin-top: 1rem; }
.closing-policy__copy .closing-article__list { margin: 0; padding: 0; list-style: none; }
.closing-article__list li + li { margin-top: var(--text-list-gap); }
.closing-policy__copy p + .closing-article__list { margin-top: var(--text-list-gap); }
.closing__decoration { position: absolute; z-index: -1; inset: 0; overflow: clip; pointer-events: none; }
.closing__decoration img { position: absolute; width: 66.828125rem; height: 66.828125rem; max-width: none; right: -40rem; bottom: -22rem; }
@container closing-form (min-width: 35em) {
  .closing-form .offer-form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 19.0625rem); gap: 0; border: 1.066px solid rgb(97 79 109 / 20%); border-radius: var(--radius-pill); background: rgb(255 255 255 / 80%); }
  .closing-form .offer-phone { padding-left: 1.8rem; padding-right: .375rem; border: 0; background: transparent; }
  .closing-form .offer-phone, .closing-form .offer-form__submit { min-height: 4.75rem; }
  .closing-form .offer-phone input { font-size: .9375rem; }
}
@media (48rem <= width < 75rem) {
  @container closing (min-width: 44em) {
  /* Tablet keeps the phone composition: a full-width scene at the top of the
     panel, then one column of copy and form. The extra width goes to a larger
     scene, a single-line form and a two-column consent row. */
  /* At its natural ratio the near-square scene would reach 1000 px; the frame
     trims only the island's underside, which the bottom fade dissolves anyway.
     It is anchored to the top, so heads and wand are never cropped. */
  .closing-cta__scene { aspect-ratio: 820 / 600; }
  .closing-cta__scene img { object-position: center top; }
  .closing-cta__scene picture::after { height: 9rem; }
  /* The brand line starts inside the faded underside, as the CTA sits on the
     lower edge of the hero scene. */
  .closing-cta__content { margin-top: -4.5rem; padding-block: 0 3.5rem; }
  .closing-cta__floating-star { top: 1.5rem; left: 7%; width: clamp(5.5rem, 10vw, 8rem); }
  .closing-cta h2 { max-width: 36rem; font-size: clamp(1.625rem, 2.734375vw, 2.1875rem); }
  .closing-cta__description { max-width: 44rem; }
  /* A pill wider than the copy leaves the phone field looking empty. */
  .closing-form { max-width: 56rem; }
  .closing-form .offer-form__consents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem clamp(1.5rem, 3vw, 2.5rem); margin-top: 1.25rem; }
  .closing-form .offer-consent { grid-template-columns: 1.0625rem minmax(0, 1fr); gap: .625rem; min-height: 1.5rem; }
  .closing-form .offer-consent input { width: 1.0625rem; height: 1.0625rem; }
  .closing-form .offer-consent > span { font-size: .6875rem; line-height: 1.3; }
  .closing-faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .closing-faq__item:nth-last-child(-n+2) { border: 0; }
  }
}
@media (width >= 75rem) {
  .closing { --page-gutter: var(--desktop-page-gutter); }
  .closing-cta { display: block; min-height: 38.5625rem; }
  .closing-cta__scene { --scene-edge-display: block; position: absolute; z-index: -2; inset: 0 0 auto; max-height: none; height: 42.625rem; aspect-ratio: auto; background: transparent; }
  /* Beyond the 1400 px artwork the shared backdrop stretched its outermost
     pixel column across the screen, which turned the castle into coloured
     horizontal streaks. The artwork now simply dissolves into the purple
     surface: no continuation of the picture, only a soft eased edge. */
  .closing-cta__scene { --scene-edge-display: none; }
  .closing-cta__scene img { width: 87.5rem; height: 42.625rem; max-width: none; left: 50%; translate: -50% 0; object-fit: fill; mask-image: linear-gradient(90deg, transparent, #000 4rem, #000 calc(100% - 6rem), transparent); }
  .closing-cta__scene picture::after { display: none; }
  .closing-cta__content { padding-block: 4rem 10.5625rem; }
  .closing-cta h2 { margin-top: 2.8125rem; font-size: 2.1875rem; }
  .closing-cta__description { margin-top: 1.95625rem; }
  .closing-form { margin-top: 1.9375rem; }
  .closing-form .offer-form__consents { margin-top: 1.3125rem; gap: .5rem; }
  .closing-form .offer-consent { min-height: .8125rem; }
  .closing-cta__decor { inset: -3.5rem 0 0; }
  .closing-cta__floating-star { width: 12rem; height: 11.1875rem; top: .1125rem; left: calc(50% - 9.45rem); }
  .closing-cta__wand-tip { display: block; position: absolute; width: .1875rem; height: 5.25rem; top: 2.5625rem; left: calc(50% + 15.75rem); }
  .closing-cta__glow-top { display: block; position: absolute; width: 53.125rem; height: 52.1875rem; max-width: none; top: -13.28125rem; left: calc(50% + 15.585rem); }
  .closing-cta__transition { display: block; position: absolute; z-index: -1; pointer-events: none; inset: auto 0 -15.5rem; height: 25.75rem; overflow: clip; }
  .closing-cta__transition img { position: absolute; width: 203.1303rem; height: 25.75rem; max-width: none; left: calc(50% - 81.27026rem); }
  .closing__lower::before { content: ""; position: absolute; z-index: -2; inset: 0; background: var(--closing-surface); filter: blur(3.125rem); }
  .closing-faq { padding-top: 0; }
  .closing-faq__list { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10rem; margin-top: 3.8125rem; }
  .closing-faq__list::before { content: ""; position: absolute; width: 1.6px; inset: -6rem auto 0 50%; background: linear-gradient(transparent, rgb(178 152 251 / 27%) 15%, rgb(178 152 251 / 27%) 85%, transparent); }
  .closing-faq__item { position: relative; padding-block: 2.1875rem; border: 0; }
  .closing-faq__item:nth-child(-n+2) { padding-top: 0; padding-bottom: 4.375rem; }
  .closing-faq__item:nth-child(2n+3)::before { content: ""; position: absolute; height: 1.6px; top: 0; left: 0; width: calc(200% + 10rem); background: rgb(178 152 251 / 27%); }
  /* The left item draws the divider across both columns; while its answer
     moves, the shared motion clips only the bottom, so keep the right side
     open for the divider (client video, 25.10.2026). */
  .closing-faq__item:nth-child(2n+3)[data-details-animating] { clip-path: inset(-1rem calc(-100% - 11rem) 0 -1rem); }
  .closing-faq__item summary { gap: 1.8125rem; }
  .closing-faq__item summary > span:last-child { padding-top: .4375rem; }
  .closing-faq__line { display: block; }
  .closing-faq__answer { margin-top: 2.25rem; }
  .closing-policy { margin-top: 4.25rem; padding-bottom: 3.5rem; }
  .closing-policy__section + .closing-policy__section { margin-top: 4rem; }
  .closing-policy__copy { margin-top: 1.875rem; }
  .closing-policy__section--about .closing-policy__copy { max-width: 70.125rem; }
}
/* From 1600 px the 1400 px artwork ends inside the panel; its edges dissolve
   gradually into the surface. Narrower desktops keep the approved Figma edge,
   where the castle reaches the screen side. */
@media (width >= 100rem) {
  .closing-cta__scene img { mask-image: linear-gradient(90deg, transparent, rgb(0 0 0 / 12%) 2.5rem, rgb(0 0 0 / 45%) 5rem, rgb(0 0 0 / 82%) 7.5rem, #000 10rem, #000 calc(100% - 10rem), rgb(0 0 0 / 82%) calc(100% - 7.5rem), rgb(0 0 0 / 45%) calc(100% - 5rem), rgb(0 0 0 / 12%) calc(100% - 2.5rem), transparent); }
}
