/* ==========================================================================
   UVM Rich Media Lead Form
   Identidade visual de referência: uvm.mx
   ========================================================================== */

:root {
  --uvm-red: #d7282f;
  --uvm-red-bright: #e72400;
  --uvm-red-dark: #b22227;
  --uvm-red-deep: #a50f17;
  --ink: #1f1f1f;
  --muted: #757575;
  --line: #d4d4d4;
  --bg-soft: #f6f6f6;
  --white: #ffffff;
  --error: #c00000;

  --font-title: "Poppins", "Montserrat", Arial, sans-serif;
  --font-body: "Montserrat", Arial, sans-serif;

  --radius: 5px;
  --radius-card: 10px;
  --control-h: 38px;
  --gap: 10px;

  /* Medidas por formato (sobrescritas em html[data-size=...] no fim do arquivo) */
  --ad-w: 300px;
  --ad-h: 600px;
  --hero-h: 256px;      /* etapa 1 e confirmação */
  --hero-h-2: 150px;    /* etapa 2 */
  --copy-w: 150px;      /* largura do bloco de título do hero */
  --btn-h: 42px;
  --list-max: 172px;    /* altura máxima da lista de carreiras */
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

/* --------------------------------------------------------------------------
   Contêiner da peça
   -------------------------------------------------------------------------- */

.ad {
  position: relative;
  width: var(--ad-w);
  height: var(--ad-h);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e3e3e3;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  flex: 0 0 auto;
  height: var(--hero-h);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 22%, var(--uvm-red-bright) 0%, rgba(231, 36, 0, 0) 60%),
    linear-gradient(160deg, #d3141d 0%, var(--uvm-red-deep) 100%);
  overflow: hidden;
  transition: height 0.35s ease;
}

/* Tema "profundo" (posgrado): vermelho mais fechado, tom mais sóbrio */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #9e0f17 0%, #4f080c 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero[data-tema="profundo"]::before { opacity: 1; }

/* Troca de criativo: foto e textos saem e entram com um leve deslize */
.hero__copy,
.hero__seal {
  transition: opacity 0.18s ease, transform 0.18s ease, bottom 0.35s ease;
}

.hero.is-swapping .hero__copy,
.hero.is-swapping .hero__seal {
  opacity: 0;
  transform: translateY(6px);
}

.hero__photo {
  position: absolute;
  top: 0;
  right: -18px;
  bottom: 0;
  width: 210px;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.4s ease, background-position 0.35s ease;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%);
  mask-image: linear-gradient(to right, transparent 0%, #000 38%);
}

.hero__photo.is-ready { opacity: 1; }

.hero.is-swapping .hero__photo {
  opacity: 0;
  transition-duration: 0.18s;
}

.hero__logo {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 103px;
  height: auto;
}

.hero__copy {
  position: absolute;
  left: 16px;
  bottom: 46px;
  width: var(--copy-w);
}

.hero__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  /* --title-size é ajustado pelo JS para o título caber em até 3 linhas */
  font-size: var(--title-size, 30px);
  line-height: 0.98;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(120, 0, 0, 0.35);
  transition: font-size 0.35s ease;
}

.hero__sub {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.hero__seal {
  position: absolute;
  left: 16px;
  bottom: 18px;
  padding: 3px 7px;
  font-family: var(--font-title);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  transition: opacity 0.2s ease;
}

/* Etapa 2: o hero encolhe para dar espaço aos campos */
.ad[data-step="2"] .hero { height: var(--hero-h-2); }
.ad[data-step="2"] .hero__copy { bottom: 24px; }
.ad[data-step="2"] .hero__title { font-size: calc(var(--title-size, 30px) * 0.72); }
.ad[data-step="2"] .hero__sub,
.ad[data-step="2"] .hero__seal { display: none; }
.ad[data-step="2"] .hero__photo { background-position: right 20%; }

/* --------------------------------------------------------------------------
   Card do formulário
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin-top: -12px;
  padding: 14px 16px 12px;
  background: var(--white);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
}

.form { margin: 0; }

.step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.step[hidden] { display: none; }

.step__head {
  display: block;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 10px;
}

.step__count {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--uvm-red);
}

.step__title {
  display: block;
  margin-top: 2px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Campos
   -------------------------------------------------------------------------- */

.fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.field {
  position: relative;
  min-width: 0;
}

.field[data-field="nivel"] { grid-area: nivel; }
.field[data-field="carrera"] { grid-area: carrera; }
.field[data-field="modalidad"] { grid-area: modalidad; }
.field[data-field="campus"] { grid-area: campus; }
.field[data-field="nombre"] { grid-area: nombre; }
.field[data-field="apellidos"] { grid-area: apellidos; }
.field[data-field="email"] { grid-area: email; }
.field[data-field="telefono"] { grid-area: telefono; }

.fields--opcion { grid-template-areas: "nivel" "carrera" "modalidad" "campus"; }
.fields--datos { grid-template-areas: "nombre" "apellidos" "email" "telefono"; }

/* A lista de carreiras precisa ficar por cima dos campos seguintes */
.field.combo { z-index: 5; }

.control {
  display: block;
  width: 100%;
  height: var(--control-h);
  padding: 0 12px;
  font-family: var(--font-body);
  /* 16px evita o zoom automático do iOS ao focar o campo */
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.control::placeholder { color: var(--muted); font-weight: 400; opacity: 1; }

.control:focus {
  border-color: var(--uvm-red);
  box-shadow: 0 0 0 3px rgba(215, 40, 47, 0.15);
}

.control:disabled {
  color: var(--muted);
  background-color: var(--bg-soft);
  cursor: not-allowed;
}

.control--select {
  padding-right: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d7282f' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.control--select:disabled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b0b0b0' stroke-width='2'/%3E%3C/svg%3E");
}

.control--select.is-empty { color: var(--muted); font-weight: 400; }

.control--combo {
  padding-right: 32px;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23d7282f' stroke-width='2.4'/%3E%3Cpath d='M15.5 15.5 21 21' stroke='%23d7282f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}

.field.is-invalid .control {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
}

/* Telefone com prefixo +52 */
.field--phone .field__prefix {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: var(--control-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-right: 1px solid var(--line);
  pointer-events: none;
}

.field--phone .control { padding-left: 56px; }

/* --------------------------------------------------------------------------
   Combobox de carreiras
   -------------------------------------------------------------------------- */

.combo__list {
  position: absolute;
  z-index: 20;
  top: calc(var(--control-h) + 2px);
  left: 0;
  right: 0;
  max-height: var(--list-max);
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  overscroll-behavior: contain;
}

.combo__list[hidden] { display: none; }

.combo__option {
  padding: 7px 12px;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
}

.combo__option[aria-selected="true"] { font-weight: 700; color: var(--uvm-red); }
.combo__option.is-active { background: #fbe9ea; }

.combo__option mark {
  color: inherit;
  background: none;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(215, 40, 47, 0.5);
}

.combo__empty {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Resumo da etapa 1, checkbox, botões e textos legais
   -------------------------------------------------------------------------- */

.summary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 var(--gap);
  padding: 6px 10px;
  font-family: var(--font-body);
  text-align: left;
  background: var(--bg-soft);
  border: 0;
  border-left: 3px solid var(--uvm-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
}

.summary__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink);
}

.summary__line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.summary__line--main { font-weight: 700; }
.summary__line--meta { color: var(--muted); font-weight: 500; }

.summary__edit {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--uvm-red);
  text-decoration: underline;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 6px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
}

.check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--uvm-red);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__error {
  min-height: 0;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--error);
}

.form__error:empty { display: none; }

.btn {
  display: block;
  width: 100%;
  height: var(--btn-h);
  padding: 0 16px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn:focus-visible {
  outline: 2px solid var(--uvm-red-dark);
  outline-offset: 2px;
}

.btn--primary {
  color: var(--white);
  background: var(--uvm-red);
  border: 0;
}

.btn--primary:hover { background: var(--uvm-red-dark); }

.btn--primary:disabled {
  opacity: 0.7;
  cursor: progress;
}

.btn--outline {
  color: var(--uvm-red);
  background: var(--white);
  border: 2px solid var(--uvm-red);
}

.btn--outline:hover { color: var(--white); background: var(--uvm-red); }

.legal {
  margin: 8px 0 0;
  font-size: 9px;
  line-height: 1.4;
  color: var(--muted);
}

.legal a { color: var(--uvm-red); font-weight: 600; }

/* --------------------------------------------------------------------------
   Confirmação
   -------------------------------------------------------------------------- */

.step--done {
  padding-top: 28px;
  text-align: center;
}

.done__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--uvm-red);
  border-radius: 50%;
}

.done__title {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
}

.done__text {
  margin: 0 auto 22px;
  max-width: 230px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.ad[data-step="done"] .hero { height: var(--hero-h); }

/* Estado de carregamento */
.ad[aria-busy="true"] .card { opacity: 0.6; pointer-events: none; }

/* --------------------------------------------------------------------------
   Elementos que só aparecem em alguns formatos
   -------------------------------------------------------------------------- */

/* CTA do teaser (300x250): abre o formulário */
.hero__cta {
  display: none;
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  height: 34px;
  padding: 0 16px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--uvm-red);
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(80, 0, 0, 0.3);
  cursor: pointer;
}

.hero__cta:hover { background: #fbe9ea; }
.hero__cta:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* Atalho "Cambiar" para os formatos que escondem o resumo */
.step__back {
  display: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--uvm-red);
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}

.submit-row .legal { margin-top: 8px; }

/* Hero em modo teaser: ocupa a peça inteira e o card some */
.ad[data-step="intro"] .card { display: none; }
.ad[data-step="intro"] .hero { height: 100%; }
.ad[data-step="intro"] .hero__cta { display: block; }

/* ==========================================================================
   Formatos
   ========================================================================== */

/* ---------- 320x480 · Interstitial (mobile) ---------- */

html[data-size="320x480"] {
  --ad-w: 320px;
  --ad-h: 480px;
  --hero-h: 184px;
  --hero-h-2: 112px;
  --copy-w: 160px;
  --gap: 8px;
  --list-max: 150px;
}

html[data-size="320x480"] .hero__photo { width: 220px; }
html[data-size="320x480"] .hero__copy { bottom: 30px; }
html[data-size="320x480"] .hero__seal { display: none; }
html[data-size="320x480"] .ad[data-step="2"] .hero__copy { display: none; }
html[data-size="320x480"] .fields--datos {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "nombre apellidos" "email email" "telefono telefono";
}

/* ---------- 300x250 · Medium Rectangle (mobile) ---------- */

html[data-size="300x250"] {
  --ad-w: 300px;
  --ad-h: 250px;
  --hero-h: 40px;
  --hero-h-2: 40px;
  --control-h: 32px;
  --gap: 6px;
  --btn-h: 34px;
  --list-max: 96px;
}

html[data-size="300x250"] .hero__copy { bottom: 60px; }
html[data-size="300x250"] .hero__seal { display: none; }

/* Depois do teaser, o hero vira uma barra com logo e título em uma linha */
html[data-size="300x250"] .ad:not([data-step="intro"]) .hero__photo,
html[data-size="300x250"] .ad:not([data-step="intro"]) .hero__sub { display: none; }

html[data-size="300x250"] .ad:not([data-step="intro"]) .hero__logo {
  top: 11px;
  left: 12px;
  width: 72px;
}

html[data-size="300x250"] .ad:not([data-step="intro"]) .hero__copy {
  top: 0;
  bottom: auto;
  left: 96px;
  width: 192px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

html[data-size="300x250"] .ad:not([data-step="intro"]) .hero__title {
  --title-fit: off;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
}

html[data-size="300x250"] .card {
  margin-top: 0;
  padding: 8px 12px 8px;
  border-radius: 0;
  box-shadow: none;
}

html[data-size="300x250"] .step__head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

html[data-size="300x250"] #step2 .step__head { padding-right: 64px; }

html[data-size="300x250"] .step__count { font-size: 9px; white-space: nowrap; }
html[data-size="300x250"] .step__title { margin: 0; font-size: 13px; white-space: nowrap; }

html[data-size="300x250"] .control {
  padding: 0 10px;
  letter-spacing: -0.2px;
}

html[data-size="300x250"] .control--select { padding-right: 26px; background-position: right 9px center; }
html[data-size="300x250"] .field--phone .field__prefix { width: 38px; font-size: 13px; }
html[data-size="300x250"] .field--phone .control { padding-left: 44px; }

html[data-size="300x250"] .fields--opcion {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "nivel modalidad" "carrera carrera" "campus campus";
}

html[data-size="300x250"] .fields--datos {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "nombre apellidos" "email telefono";
}

html[data-size="300x250"] .btn { font-size: 13px; }
html[data-size="300x250"] .summary { display: none; }

html[data-size="300x250"] .step__back {
  display: block;
  position: absolute;
  top: 9px;
  right: 12px;
}

html[data-size="300x250"] .check { margin: 0 0 6px; font-size: 10px; line-height: 1.3; }
html[data-size="300x250"] .check input { width: 14px; height: 14px; }
html[data-size="300x250"] .submit-row .legal { margin-top: 4px; font-size: 8px; line-height: 1.3; }

/* Erro por cima da linha do título da etapa, para não empurrar o botão para fora */
html[data-size="300x250"] .form__error {
  position: absolute;
  z-index: 6;
  top: 6px;
  left: 12px;
  right: 12px;
  margin: 0;
  padding: 3px 0;
  background: var(--white);
}

html[data-size="300x250"] .step--done { padding-top: 14px; }
html[data-size="300x250"] .done__icon { width: 40px; height: 40px; margin-bottom: 8px; }
html[data-size="300x250"] .done__title { margin-bottom: 4px; font-size: 18px; }
html[data-size="300x250"] .done__text { margin-bottom: 12px; font-size: 11px; }
html[data-size="300x250"] .btn--outline { width: auto; margin: 0 auto; padding: 0 28px; }

/* ---------- 970x250 · Billboard (desktop) ---------- */

html[data-size="970x250"] {
  --ad-w: 970px;
  --ad-h: 250px;
  --copy-w: 170px;
  --list-max: 132px;
}

html[data-size="970x250"] .ad { flex-direction: row; }

html[data-size="970x250"] .hero,
html[data-size="970x250"] .ad[data-step] .hero {
  flex: 0 0 380px;
  height: 100%;
}

html[data-size="970x250"] .hero__photo { width: 250px; right: -10px; }
html[data-size="970x250"] .hero__logo { top: 20px; left: 24px; }
html[data-size="970x250"] .hero__copy,
html[data-size="970x250"] .ad[data-step] .hero__copy { left: 24px; bottom: 54px; }
html[data-size="970x250"] .hero__seal { left: 24px; bottom: 22px; }
html[data-size="970x250"] .ad[data-step="2"] .hero__title { font-size: var(--title-size, 30px); }
html[data-size="970x250"] .ad[data-step="2"] .hero__sub,
html[data-size="970x250"] .ad[data-step="2"] .hero__seal { display: block; }
html[data-size="970x250"] .ad[data-step="2"] .hero__seal { display: inline-block; }

html[data-size="970x250"] .card {
  margin: 0 0 0 -12px;
  padding: 16px 22px 14px;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  box-shadow: -4px 0 14px rgba(0, 0, 0, 0.12);
}

html[data-size="970x250"] .step__head { margin-bottom: 10px; padding-right: 140px; }

html[data-size="970x250"] .fields--opcion {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  grid-template-areas: "nivel carrera" "modalidad campus";
}

html[data-size="970x250"] .fields--datos {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "nombre apellidos" "email telefono";
}

html[data-size="970x250"] .summary { display: none; }

html[data-size="970x250"] .step__back {
  display: block;
  position: absolute;
  top: 18px;
  right: 22px;
}

html[data-size="970x250"] .check { margin: 0 0 8px; }

html[data-size="970x250"] .submit-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 16px;
}

html[data-size="970x250"] .submit-row .btn { flex: 0 0 230px; }
html[data-size="970x250"] .submit-row .legal { flex: 1 1 auto; margin: 0; }

/* Erro no lugar do título da etapa (cobre as duas linhas do título) */
html[data-size="970x250"] .form__error {
  position: absolute;
  z-index: 6;
  top: 12px;
  left: 22px;
  right: 22px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  background: var(--white);
}

html[data-size="970x250"] .form__error:not(:empty) {
  display: flex;
  align-items: center;
}

html[data-size="970x250"] .step--done {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon title btn" "icon text btn";
  align-items: center;
  column-gap: 18px;
  height: 100%;
  padding: 0 8px;
  text-align: left;
}

html[data-size="970x250"] .step--done[hidden] { display: none; }
html[data-size="970x250"] .done__icon { grid-area: icon; margin: 0; }
html[data-size="970x250"] .done__title { grid-area: title; align-self: end; margin: 0; }
html[data-size="970x250"] .done__text { grid-area: text; align-self: start; margin: 4px 0 0; max-width: none; }
html[data-size="970x250"] .btn--outline { grid-area: btn; width: 200px; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition: none !important; }
}
