/* ==========================================================================
   ending.css — drifting horizons / contact finale
   Owns everything inside <section class="contact-layer" data-contact>:
   the request panel, the giant wordmark, the footer and the legal overlay.
   Injected markup is created by assets/js/ending.js; no external deps.
   Motion hooks: .end-root gets --panel-t / --panel-o / --word-t / --word-o
   from CustomEvent('story:progress') (p 0..1, contact ≈ .82 → 1).
   ========================================================================== */

/* ---------- tokens + root shell ------------------------------------------ */

.end-root {
  --end-paper: #f6f5f1;
  --end-ink: #14171a;
  --end-card: #e7e6e1;
  --end-dark: #0c1a1f;
  --end-font: "Schibsted Grotesk", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --end-cn: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --end-panel-t: 0;
  --end-panel-o: 0;
  --end-word-t: 0;
  --end-word-o: 0;
  --end-panel-pad: clamp(24px, 2.4vw, 36px);

  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--end-font);
  color: var(--end-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.end-root *,
.end-root *::before,
.end-root *::after { box-sizing: border-box; }

.end-root ::selection { background: var(--end-ink); color: var(--end-paper); }

.end-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* micro type — the repeating voice of the page */
.end-panel__eyebrow,
.end-panel__count,
.end-panel__hint,
.end-signoff__eyebrow,
.end-footer,
.end-terms__meta,
.end-terms__note,
.end-terms__close,
.end-error,
.end-subhint,
.end-option,
.end-review dt,
.end-send,
.end-back,
.end-legal__head,
.end-legal__section h3,
.end-legal__disclaimer {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   1. request panel
   ========================================================================== */

.end-panel {
  position: absolute;
  top: 7vh;
  right: 5vw;
  width: min(36vw, 560px);
  height: 66vh;
  padding: var(--end-panel-pad);
  display: flex;
  flex-direction: column;
  background: var(--end-card);
  border-radius: 18px;
  box-shadow: 0 50px 120px -80px rgba(20, 23, 26, 0.45);
  opacity: var(--end-panel-o);
  /* the rise itself is written by ending.js per progress tick (transform:
     translate3d + scale) so no browser calc() feature is required here */
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 80%;
  pointer-events: none;
  will-change: transform, opacity;
  user-select: none;
}

.end-panel.is-active { pointer-events: auto; }

/* the card floats above the giant type; the type stays behind the card */
.end-panel { z-index: 3; }
.end-signoff { z-index: 1; }

.end-panel__eyebrow {
  flex: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0.72;
}

.end-panel__eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  flex: none;
}

/* the vertical middle: one question at a time, stacked in the same grid cell.
   The grid cell keeps the height of the tallest step, so the question sits at
   the same y on every step. padding-top biases the block toward the middle. */
.end-panel__main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(0px, 12vh, 110px);
}

.end-panel__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.end-step {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.42s cubic-bezier(0.33, 0.6, 0.35, 1),
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0.5s;
}

.end-step.is-current {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 0.46s cubic-bezier(0.33, 0.6, 0.35, 1),
    transform 0.52s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0s;
}

.end-step.is-out {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition:
    opacity 0.28s cubic-bezier(0.4, 0, 0.6, 1),
    transform 0.34s cubic-bezier(0.4, 0, 0.6, 1),
    visibility 0s linear 0.34s;
}

.end-q {
  margin: 0 0 clamp(12px, 1.6vh, 18px);
  max-width: 100%;
  font-family: var(--end-font);
  font-size: clamp(26px, 2.62vw, 38px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--end-ink);
  text-wrap: balance;
}

/* underline field */
.end-field { position: relative; }

.end-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 5px 0 10px;
  font-family: inherit;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--end-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(20, 23, 26, 0.28);
  border-radius: 0;
  outline: none;
  appearance: none;
  caret-color: var(--end-ink);
  transition: border-color 0.3s ease;
}

.end-input::placeholder {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(20, 23, 26, 0.42);
}

.end-input:focus-visible { border-bottom-color: var(--end-ink); }

.end-input[aria-invalid="true"] { border-bottom-color: #8a3a2b; }

.end-input--area {
  min-height: 3.1em;
  max-height: 5.2em;
  padding-top: 8px;
  resize: none;
  line-height: 1.45;
  border-bottom-color: rgba(20, 23, 26, 0.28);
}

/* inline validation */
.end-error {
  min-height: 14px;
  margin: 7px 0 0;
  color: #8a3a2b;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.end-error.is-on { opacity: 1; transform: none; }

/* choice step */
.end-options {
  display: flex;
  flex-direction: column;
  margin: 2px 0 0;
  border-top: 1px solid rgba(20, 23, 26, 0.13);
}

.end-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 23, 26, 0.13);
  color: rgba(20, 23, 26, 0.66);
  cursor: pointer;
  transition: color 0.22s ease, padding 0.22s ease;
}

.end-option__dot {
  position: relative;
  width: 13px;
  height: 13px;
  flex: none;
  border: 1px solid rgba(20, 23, 26, 0.4);
  border-radius: 50%;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.end-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.end-option input:checked ~ .end-option__dot {
  background: var(--end-ink);
  border-color: var(--end-ink);
}

.end-option input:checked ~ .end-option__dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--end-card);
}

.end-option input:checked ~ .end-option__text { color: var(--end-ink); }

.end-option:has(input:checked) { color: var(--end-ink); }

.end-option:hover { color: var(--end-ink); }

.end-option input:focus-visible ~ .end-option__dot {
  outline: 1px solid var(--end-ink);
  outline-offset: 3px;
}

.end-option input:focus-visible ~ .end-option__text {
  outline: 1px solid var(--end-ink);
  outline-offset: 3px;
}

.end-option__text em {
  margin-left: 7px;
  font-family: var(--end-cn);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.5;
}

/* message hint */
.end-subhint {
  margin: 8px 0 0;
  text-align: right;
  color: rgba(20, 23, 26, 0.42);
}

/* review / send step */
.end-review {
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
}

.end-review > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(20, 23, 26, 0.1);
}

.end-review dt { color: rgba(20, 23, 26, 0.46); }

.end-review dd {
  margin: 0;
  min-width: 0;
  min-height: 1.4em;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--end-ink);
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.end-send-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.end-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 20px;
  font-family: var(--end-font);
  color: var(--end-card);
  background: var(--end-ink);
  border: 1px solid var(--end-ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.28s ease, color 0.28s ease;
}

.end-send:hover { background: transparent; color: var(--end-ink); }

.end-send:active { transform: translateY(1px); }

.end-send:focus-visible,
.end-back:focus-visible,
.end-legal-link:focus-visible,
.end-panel__hint:focus-visible,
.end-terms__close:focus-visible {
  outline: 1px solid var(--end-ink);
  outline-offset: 4px;
}

.end-send[disabled] { opacity: 0.45; pointer-events: none; }

.end-back {
  margin: 0;
  padding: 4px 0;
  font-family: var(--end-font);
  color: rgba(20, 23, 26, 0.55);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.end-back:hover { color: var(--end-ink); border-bottom-color: currentColor; }

/* success state */
.end-panel__success {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(0px, 6vh, 56px);
}

.end-panel.is-sent .end-panel__main { display: none; }

.end-panel.is-sent .end-panel__success {
  display: flex;
  animation: end-rise-in 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.end-q--thanks {
  margin-bottom: 0;
  font-size: clamp(25px, 2.35vw, 34px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.end-success__note {
  margin: clamp(16px, 2.2vh, 24px) 0 0;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(20, 23, 26, 0.58);
}

@keyframes end-rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* panel footer: 01 / 05 left, PRESS ENTER ↵ right */
.end-panel__foot {
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(10px, 2vh, 20px);
  color: rgba(20, 23, 26, 0.72);
}

.end-panel__count { font-size: 10px; letter-spacing: 0.08em; }

.end-panel__hint {
  margin: 0;
  padding: 3px 0;
  font-family: var(--end-font);
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  text-align: right;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.end-panel__hint:hover { color: var(--end-ink); border-bottom-color: currentColor; }

.end-panel.is-sent .end-panel__hint { pointer-events: none; opacity: 0.6; }

/* ==========================================================================
   2. sign-off: micro line + giant wordmark + footer
   ========================================================================== */

.end-signoff {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 clamp(16px, 2vw, 28px) clamp(8px, 1.2vh, 14px);
  opacity: var(--end-word-o);
  /* the climb is written by ending.js per progress tick */
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  pointer-events: none;
}

/* left aligned to the page gutter: never runs under the floating card */
.end-signoff__eyebrow {
  margin: 0 0 clamp(8px, 1.1vh, 14px);
  text-align: left;
  color: var(--end-ink);
  opacity: 0.74;
}

.end-wordmark-wrap {
  width: var(--end-wordmark-fill, 88vw);
  margin: 0 auto;
  /* room for the descender of the "g" so the footer can never be eaten */
  padding-bottom: var(--end-wordmark-pad, calc(var(--end-wordmark-size, 22vw) * 0.16));
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  /* uplift / settle is written by ending.js per progress tick */
  transform: scale(1);
  transform-origin: 50% 100%;
  will-change: transform;
}

.end-wordmark {
  display: inline-block;
  margin: 0;
  font-family: var(--end-font);
  font-size: var(--end-wordmark-size, 22vw); /* JS refits width + height precisely */
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--end-ink);
  white-space: nowrap;
  user-select: none;
}

.end-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(9px, 1.1vh, 13px);
  color: rgba(20, 23, 26, 0.64);
}

.end-root:not(.is-live) .end-signoff { visibility: hidden; }

.end-root.is-live .end-footer { pointer-events: auto; }

.end-footer__left,
.end-footer__right { white-space: nowrap; }

.end-footer__mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.end-footer__mid .end-sep { opacity: 0.5; }

.end-legal-link {
  margin: 0;
  padding: 2px 0;
  position: relative;
  font-family: var(--end-font);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.22s ease;
}

.end-legal-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.end-legal-link:hover,
.end-legal-link:focus-visible { color: var(--end-ink); }

.end-legal-link:hover::after,
.end-legal-link:focus-visible::after { transform: scaleX(1); }

/* ==========================================================================
   3. legal overlay (terms / privacy)
   ========================================================================== */

.end-terms {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.6vh, 30px) clamp(18px, 3vw, 42px);
  background: var(--end-dark);
  color: rgba(246, 245, 241, 0.78);
  opacity: 0;
  transition: opacity 0.32s ease;
  overscroll-behavior: contain;
  user-select: text;
}

.end-terms[hidden] { display: none; }

.end-terms.is-open {
  opacity: 1;
  pointer-events: auto;
}

.end-terms__top,
.end-terms__bottom {
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.end-terms__top { color: rgba(246, 245, 241, 0.56); }

.end-terms__meta {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.end-terms__note {
  margin: 0;
  justify-self: center;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(246, 245, 241, 0.5);
  white-space: nowrap;
}

.end-terms__close {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 0;
  font-family: var(--end-font);
  color: rgba(246, 245, 241, 0.82);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.end-terms__close:hover {
  color: var(--end-paper);
  border-bottom-color: currentColor;
}

.end-terms__close:focus-visible {
  outline: 1px solid rgba(246, 245, 241, 0.85);
  outline-offset: 4px;
}

.end-terms__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: clamp(18px, 3.4vh, 40px) 0;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(246, 245, 241, 0.28) transparent;
}

.end-terms__scroll:focus-visible {
  outline: 1px solid rgba(246, 245, 241, 0.4);
  outline-offset: 6px;
}

.end-terms__scroll::-webkit-scrollbar { width: 3px; }
.end-terms__scroll::-webkit-scrollbar-thumb {
  background: rgba(246, 245, 241, 0.26);
}

.end-legal {
  max-width: 62vw;
  margin-left: max(0px, calc(24vw - 42px));
  column-count: 2;
  column-gap: clamp(30px, 4vw, 64px);
  font-size: 10.5px;
  line-height: 1.62;
  letter-spacing: 0.015em;
}

.end-legal[hidden] { display: none; }

.end-legal__head {
  column-span: all;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(246, 245, 241, 0.26);
  color: rgba(246, 245, 241, 0.92);
}

.end-legal__title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.end-legal__tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(246, 245, 241, 0.46);
  white-space: nowrap;
}

.end-legal__disclaimer {
  column-span: all;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(246, 245, 241, 0.22);
  color: rgba(246, 245, 241, 0.64);
  letter-spacing: 0.06em;
}

.end-legal__section { break-inside: avoid; margin: 0 0 14px; }

.end-legal__section h3 {
  margin: 0 0 5px;
  font-weight: 500;
  color: rgba(246, 245, 241, 0.88);
  letter-spacing: 0.09em;
}

.end-legal__section p {
  margin: 0;
  text-align: justify;
  hyphens: auto;
  color: rgba(246, 245, 241, 0.56);
}

.end-legal__signoff {
  column-span: all;
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 245, 241, 0.16);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 245, 241, 0.4);
}

/* scroll lock applied to <html>/<body> while the legal overlay is open */
html.end-scroll-lock,
body.end-scroll-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* ==========================================================================
   4. responsive — narrow / short viewports
   ========================================================================== */

/* tablet: keep the floating card but give it a little more room */
@media (max-width: 1100px) and (min-width: 861px) {
  .end-panel { width: min(42vw, 520px); }
  .end-q { font-size: clamp(24px, 3vw, 32px); }
}

/* phones and narrow tablets: canvas window on top, card below it, sign-off at the bottom */
@media (max-width: 860px) {
  .end-root { --end-panel-pad: 20px; }

  .end-panel {
    top: calc(42vh + 36px);
    left: 16px;
    right: 16px;
    width: auto;
    height: clamp(250px, calc(100vh - 42vh - 36px - 176px), 430px);
    border-radius: 16px;
    padding: var(--end-panel-pad);
  }

  .end-panel__main { padding-top: 4px; }

  .end-q {
    margin-bottom: 10px;
    font-size: clamp(21px, 5.8vw, 26px);
    line-height: 1.08;
  }

  .end-input {
    padding: 4px 0 8px;
    font-size: 16px;
  }

  .end-input--area { min-height: 2.6em; max-height: 3.8em; }

  .end-option { padding: 7px 0; }

  .end-review { gap: 4px; margin-bottom: 10px; }

  .end-review > div { padding-bottom: 4px; }

  .end-review dd { -webkit-line-clamp: 1; }

  .end-send { padding: 10px 16px; }

  .end-error { min-height: 12px; margin-top: 5px; }

  .end-panel__foot { margin-top: 8px; }

  .end-panel__success { padding-top: 8px; }

  .end-q--thanks { font-size: clamp(21px, 5.6vw, 27px); }

  .end-success__note { margin-top: 14px; }

  /* sign-off */
  .end-signoff {
    --end-wordmark-fill: 92vw;
    padding: 0 16px 12px;
  }

  .end-signoff__eyebrow {
    margin-bottom: 7px;
    font-size: 8.5px;
    letter-spacing: 0.07em;
  }

  .end-footer {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    row-gap: 6px;
    column-gap: 12px;
    margin-top: 8px;
    font-size: 8.5px;
    letter-spacing: 0.07em;
  }

  .end-footer__left { grid-column: 1; grid-row: 1; }
  .end-footer__right { grid-column: 2; grid-row: 1; justify-self: end; }
  .end-footer__mid {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 8px;
  }

  .end-legal-link { font-size: 8.5px; }

  /* legal overlay: single column, full-bleed */
  .end-terms { padding: 16px 18px; }

  .end-terms__top,
  .end-terms__bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .end-terms__note { display: none; }

  .end-terms__meta { font-size: 8.5px; }

  .end-legal {
    max-width: none;
    margin-left: 0;
    column-count: 1;
    font-size: 10px;
    line-height: 1.6;
  }

  .end-legal__head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* very short phones: buy vertical room back from the wordmark */
@media (max-width: 860px) and (max-height: 720px) {
  .end-signoff { --end-wordmark-fill: 84vw; }
  .end-panel { height: clamp(240px, calc(100vh - 42vh - 36px - 156px), 430px); }
}

/* short desktop windows: pull the question up and tighten the card */
@media (min-width: 861px) and (max-height: 760px) {
  .end-panel { padding: clamp(20px, 2vw, 28px); }
  .end-panel__main { padding-top: 0; }
  .end-q { font-size: clamp(23px, 2.2vw, 30px); margin-bottom: 10px; }
  .end-option { padding: 6px 0; }
  .end-review { margin-bottom: 10px; gap: 4px; }
  .end-review > div { padding-bottom: 3px; }
  .end-review dd { -webkit-line-clamp: 1; }
  .end-send { padding: 10px 16px; }
  .end-error { min-height: 12px; margin-top: 5px; }
  .end-panel__foot { margin-top: 8px; }
  .end-signoff__eyebrow { margin-bottom: 6px; }
  .end-footer { margin-top: 8px; }
}

/* ==========================================================================
   5. reduced motion — keep the choreography, drop the travel
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .end-panel,
  .end-signoff,
  .end-wordmark-wrap {
    transform: none !important;
  }

  .end-step,
  .end-step.is-current,
  .end-step.is-out {
    transform: none !important;
    transition: opacity 0.12s linear, visibility 0s linear 0s;
  }

  .end-panel__success { animation: none; }
  .end-error { transition: none; transform: none; }
  .end-send,
  .end-back,
  .end-legal-link,
  .end-legal-link::after,
  .end-terms__close,
  .end-panel__hint,
  .end-option,
  .end-option__dot { transition: none; }
  .end-terms { transition: none; }
}
