/* Screen 10, the close: centred, with room round it. The title is the hero's size, so the
   full stop the dot lands on is the hero's own. The ground the footer stands on rises
   under it on a rim. */
.dc { text-align: center; }
.dc-copy { padding: calc(190 * var(--u)) var(--m) calc(170 * var(--u)); }
.dc-h { font-size: calc(150 * var(--u)); line-height: 0.95; letter-spacing: -0.045em; font-weight: 800; color: var(--ink); }
.dc-line { position: relative; display: inline-block; }
.dc-h .station { margin-left: 0.08em; }
/* The trail: three words of Sky dots coming in from the left, at the line's middle. */
.dc-trail { position: absolute; right: calc(100% + 0.3em); top: 0.5em; display: flex; gap: 0.11em; }
.dc-tw { display: flex; gap: 0.04em; }
.dc-tw i { display: block; width: 0.075em; height: 0.075em; border-radius: 50%; background: var(--sky); }
.dc-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: calc(52 * var(--u)); }
.dc-cta .btn { height: max(48px, calc(58 * var(--u))); padding: 0 max(24px, calc(32 * var(--u))); font-size: max(16px, calc(18 * var(--u))); }

@media (max-width: 1023.98px) {
  .dc-copy { padding: 88px var(--m) 72px; }
  /* The phone hero's size; the trail stands centred over the title. */
  .dc-h { font-size: calc(64 * min(1.25px, 100vw / 390)); }
  .dc-line { display: block; max-width: 6em; margin: 0 auto; text-wrap: balance; }
  .dc-trail { position: static; justify-content: center; margin-bottom: 0.3em; }
  .dc-tw i { width: 0.12em; height: 0.12em; }
  .dc-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
  .dc-cta .btn { width: 100%; max-width: 420px; margin: 0 auto; }
}

/* ---------------------------------------------------------------- motion
   js/pages/dictation/close.js: the trail comes in from the left, dot after dot, as the
   title comes into view; with no travelling dot, the full stop comes alive after it. */
.motion .dc.is-pre .dc-tw i { opacity: 0; transform: translateX(-1.2em); }
.motion .dc.is-pre.is-in .dc-tw i { opacity: 1; transform: none; transition: opacity 0.3s ease calc(var(--j) * 60ms), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--j) * 60ms); }
.motion .dc.is-pre .station { opacity: 0; }
