/* Bluconta public landing: the closing (the last call to action under a sky that deepens, with the crane)
   and the footer, which stays on that sky. */

.cta-final { position: relative; overflow: hidden; margin-top: 120px; padding-block: 120px 104px; background: linear-gradient(180deg, #FFFFFF 0%, #D9ECFF 42%, #C6E1FF 100%); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.cta-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; }
.cta-final .h-display { font-size: clamp(40px, 5.2vw, 76px); }
.cta-final .lede { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
/* Two tones: white body, blue chest, head and wing; the folds are cuts in the sky. */
.cta-crane { justify-self: end; width: min(100%, 520px); height: auto; }
.cta-crane polygon { stroke: #D3E8FF; stroke-width: 0.9; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; transition: opacity 500ms ease, transform 900ms var(--ease); }
.cta-crane polygon:nth-child(2) { transition-delay: 90ms; }
.cta-crane polygon:nth-child(3) { transition-delay: 180ms; }
.cta-crane polygon:nth-child(4) { transition-delay: 270ms; }
.cta-crane polygon:nth-child(5) { transition-delay: 360ms; }
.cta-crane polygon:nth-child(6) { transition-delay: 140ms; }
.cta-inner.is-armed:not(.s-go) .cta-crane polygon { opacity: 0; transform: scale(0.8); transition: none; }
.cta-crane .fa { fill: var(--white); }
.cta-crane .fb { fill: var(--blue); }

.footer { background: var(--sky-deep); color: var(--ink-2); padding-bottom: 32px; }
.footer .brand { font-size: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; margin-bottom: 56px; padding-top: 64px; border-top: 1px solid var(--line); }
.footer-tag { margin: 16px 0 0; max-width: 280px; font-size: 15px; }
.footer-col h3 { margin: 0 0 16px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 150ms ease; }
.footer-col a:hover { text-decoration-color: currentColor; }
.footer a:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; border-radius: 4px; }
.footer-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

@media (max-width: 960px) {
  .cta-final { margin-top: 96px; padding-block: 88px 72px; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cta-crane { justify-self: start; width: min(78%, 420px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cta-final { margin-top: 72px; padding-block: 72px 56px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { gap: 28px 24px; margin-bottom: 40px; padding-top: 48px; }
  /* Two columns of links: the product on the left, the company and the legal pages on the right. */
  .footer-grid > :nth-child(2) { grid-row: span 2; }
  .cta-crane { width: min(64%, 300px); }
}
