/* Hoja compartida. Fondo calido, acentos vibrantes y cinco pantallas con ritmo jugueton. */

:root {
  --blue: #1268f3;
  --blue-deep: #0a49c4;
  --sun: #ffb703;
  --amber: #f06c1a;
  --palm: #0d9464;
  --ink: #182235;
  --muted: #5e6678;
  --paper: #fffaf2;
  --card: #ffffff;
  --line: #f1e4d1;
  --hair: #f4eadc;
  --danger: #c4233a;
  --danger-bg: #fff1f3;
  --shadow: 0 18px 46px rgba(178, 108, 28, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 96% 2%, rgba(255, 183, 3, 0.16), transparent 28rem),
    radial-gradient(circle at 4% 18%, rgba(240, 108, 26, 0.08), transparent 24rem),
    radial-gradient(circle at 88% 38%, rgba(18, 104, 243, 0.08), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; }
h1, h2, h3 {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 0 12px;
}
p { margin: 0 0 12px; }
a { color: var(--blue-deep); }

.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 252, 246, 0.96);
  padding: 16px 32px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(178, 108, 28, 0.05);
}
.mast__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}
.brand img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 104, 243, 0.24);
}
.mast__co { margin: 0; color: var(--muted); font-size: 0.84rem; letter-spacing: 0.02em; }
.mast nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.mast nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 14px 14px;
  border-radius: 14px 14px 0 0;
  transition: color 0.2s ease, background 0.2s ease;
}
.mast nav a:hover { color: var(--ink); }
.mast nav a[aria-current="page"] {
  color: var(--blue-deep);
  background: linear-gradient(#fffdf8, #fff1d6);
  box-shadow: inset 0 -3px 0 var(--amber);
}

main { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 72px; }
main > p { color: var(--muted); max-width: 68ch; margin-top: 18px; }

.stage {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px 48px;
  align-items: center;
  padding: 42px 0 0;
}
.stage__photo { grid-column: 1; grid-row: 2; }
.stage__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 30px;
  box-shadow:
    12px 14px 0 0 rgba(255, 183, 3, 0.28),
    0 24px 52px rgba(178, 108, 28, 0.16);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  grid-column: 1 / -1;
  margin: 0 0 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffe7a8;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7c3b00;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.stage h1 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  text-align: right;
  font-size: clamp(2.8rem, 4.6vw, 4.35rem);
}
.stage .lede {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 8px 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Banda de apertura: azul de marca mezclado con sol y coral calido. */
.banner {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 4;
  height: 320px;
  margin-top: 28px;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  background:
    radial-gradient(circle at 14% 36%, rgba(255, 224, 102, 0.85) 0 74px, transparent 75px),
    radial-gradient(circle at 22% 68%, rgba(255, 94, 58, 0.58) 0 42px, transparent 43px),
    radial-gradient(circle at 82% 24%, rgba(255, 183, 3, 0.42) 0 138px, transparent 139px),
    radial-gradient(circle at 64% 88%, rgba(14, 169, 113, 0.35) 0 110px, transparent 111px),
    linear-gradient(122deg, #ff7a45 0%, #f59e0b 20%, #1268f3 64%, #0b3eb5 100%);
  box-shadow: 0 28px 60px rgba(255, 115, 55, 0.22);
}
.banner::after {
  content: "Aven Cash";
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 12px 30px rgba(24, 34, 53, 0.28);
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.ruler {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: -36px 18px 0;
  padding: 8px;
  position: relative;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.ruler li { padding: 18px 18px 16px; border-right: 1px solid var(--hair); }
.ruler li:last-child { border-right: 0; }
.ruler b {
  display: block;
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: -0.03em;
}
.ruler span { color: var(--muted); font-size: 0.88rem; }

.chapter { padding: 64px 0 8px; }
.chapter h2 { font-size: clamp(2.1rem, 4vw, 3rem); }

.gates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.gates li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px 20px;
  box-shadow: 0 12px 30px rgba(178, 108, 28, 0.05);
}
.gates em {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fff0c2;
  font-style: normal;
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #8c4a00;
}
.gates li:nth-child(2) em { background: #ffead5; color: #b44b08; }
.gates li:nth-child(3) em { background: #d6f5e6; color: #086e49; }
.gates li:nth-child(4) em { background: #dceaff; color: var(--blue-deep); }

/* Cinco pantallas en tres tonos nacidos del icono y la tela kente: azul, oro calido y verde. */
.showcase { position: relative; }
.showcase > h2 { position: relative; padding-bottom: 18px; }
.showcase > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 112px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--sun) 48%, var(--palm) 76%, var(--blue));
}

.pair {
  counter-reset: paso;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 34px;
  padding: 20px 0 12px;
}
.pair::before {
  content: "";
  position: absolute;
  inset: -16px -40px;
  pointer-events: none;
  background:
    radial-gradient(360px circle at 12% 10%, rgba(255, 183, 3, 0.16), transparent 100%),
    radial-gradient(340px circle at 88% 30%, rgba(240, 108, 26, 0.13), transparent 100%),
    radial-gradient(350px circle at 14% 55%, rgba(18, 104, 243, 0.12), transparent 100%),
    radial-gradient(340px circle at 86% 78%, rgba(13, 148, 100, 0.13), transparent 100%),
    radial-gradient(330px circle at 22% 96%, rgba(18, 104, 243, 0.11), transparent 100%);
}

.pair figure {
  counter-increment: paso;
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(34px, 4.4vw, 56px);
  width: min(100%, 840px);
  margin: 0 auto 0 0;
  padding: 26px 32px;
  border-radius: 36px;
  position: relative;
  --accent: #e07b09;
  --accent-ink: #ffffff;
  --plate: #ffd35c;
  --board: linear-gradient(135deg, #fff7d6 0%, #ffe18f 100%);
  --tilt: -2.8deg;
  --card-tilt: 1deg;
  --glow: rgba(224, 123, 9, 0.22);
  background: var(--board);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 22px 46px var(--glow);
}
.pair figure:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 288px;
  margin: 0 0 0 auto;
}
.pair figure:nth-child(n+2) { margin-top: -78px; }

/* Tres familias cromaticas en armonia con el logotipo azul y la tela kente. */
.pair figure:nth-child(1) {
  z-index: 1;
  --accent: #df7d07;
  --accent-ink: #ffffff;
  --plate: #ffce4f;
  --board: linear-gradient(135deg, #fff7d4 0%, #ffe08a 100%);
  --tilt: -2.8deg;
  --card-tilt: 1.1deg;
  --glow: rgba(223, 125, 7, 0.21);
}
.pair figure:nth-child(2) {
  z-index: 2;
  --accent: #e86214;
  --accent-ink: #ffffff;
  --plate: #ffb75e;
  --board: linear-gradient(135deg, #ffefd9 0%, #ffd099 100%);
  --tilt: 2.8deg;
  --card-tilt: -1.1deg;
  --glow: rgba(232, 98, 20, 0.2);
}
.pair figure:nth-child(3) {
  z-index: 3;
  margin-left: 4%;
  --accent: #1268f3;
  --accent-ink: #ffffff;
  --plate: #ffd659;
  --board: linear-gradient(135deg, #e0eeff 0%, #bdd8ff 100%);
  --tilt: -2.5deg;
  --card-tilt: 1.1deg;
  --glow: rgba(18, 104, 243, 0.2);
}
.pair figure:nth-child(4) {
  z-index: 4;
  margin-right: 3%;
  --accent: #0d9464;
  --accent-ink: #ffffff;
  --plate: #7ce4b8;
  --board: linear-gradient(135deg, #dcfce9 0%, #a8efc9 100%);
  --tilt: 2.6deg;
  --card-tilt: -1deg;
  --glow: rgba(13, 148, 100, 0.2);
}
.pair figure:nth-child(5) {
  z-index: 5;
  margin-left: 2%;
  --accent: #0a49c4;
  --accent-ink: #ffffff;
  --plate: #8cbcff;
  --board: linear-gradient(135deg, #e6f0ff 0%, #fff0c4 100%);
  --tilt: -2.2deg;
  --card-tilt: 0.9deg;
  --glow: rgba(18, 104, 243, 0.18);
}

/* Lunares suaves en las esquinas del tablero para darle aire festivo. */
.pair figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 255, 255, 0.65) 0 18px, transparent 19px),
    radial-gradient(circle at 86% 24%, rgba(255, 255, 255, 0.42) 0 8px, transparent 9px),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.5) 0 26px, transparent 27px);
}

.pair .ph {
  width: min(288px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  background: #fff;
  transform: rotate(var(--tilt));
  box-shadow:
    0 0 0 5px #18263d,
    0 0 0 9px #ffffff,
    14px 18px 0 0 var(--plate),
    20px 34px 44px rgba(24, 34, 53, 0.18);
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: transform 0.42s cubic-bezier(0.22, 1.35, 0.36, 1), box-shadow 0.42s ease;
}
.pair figure:nth-child(even) .ph {
  box-shadow:
    0 0 0 5px #18263d,
    0 0 0 9px #ffffff,
    -14px 18px 0 0 var(--plate),
    -20px 34px 44px rgba(24, 34, 53, 0.18);
}
.pair img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 26px; }
.pair figure:nth-child(odd) .ph { grid-column: 1; grid-row: 1; }
.pair figure:nth-child(even) .ph { grid-column: 2; grid-row: 1; }

.pair figcaption {
  position: relative;
  z-index: 3;
  width: min(100%, 386px);
  padding: 26px 26px 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid #ffffff;
  border-radius: 24px;
  transform: rotate(var(--card-tilt));
  box-shadow: 0 14px 32px rgba(24, 34, 53, 0.08);
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.42s cubic-bezier(0.22, 1.35, 0.36, 1), box-shadow 0.42s ease;
}
.pair figure:nth-child(odd) figcaption {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  text-align: left;
  border-left: 6px solid var(--accent);
}
.pair figure:nth-child(even) figcaption {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
  border-right: 6px solid var(--accent);
}

/* Pegatina de paso encima de la tarjeta de texto. */
.pair figcaption::before {
  content: "STEP 0" counter(paso);
  position: absolute;
  top: -17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 18px var(--glow);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  transform: rotate(-5deg);
  transition: transform 0.35s cubic-bezier(0.22, 1.4, 0.36, 1);
}
.pair figure:nth-child(odd) figcaption::before { left: 20px; }
.pair figure:nth-child(even) figcaption::before { right: 20px; transform: rotate(5deg); }

.pair strong {
  display: block;
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: clamp(1.38rem, 1.9vw, 1.7rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 4px 0 8px;
}

@media (hover: hover) {
  .pair figure:hover .ph {
    transform: rotate(0deg) translateY(-10px) scale(1.02);
    box-shadow:
      0 0 0 5px #18263d,
      0 0 0 9px #ffffff,
      0 18px 0 0 var(--plate),
      0 34px 54px rgba(24, 34, 53, 0.22);
  }
  .pair figure:hover figcaption {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 22px 44px rgba(24, 34, 53, 0.13);
  }
  .pair figure:hover figcaption::before { transform: rotate(0deg) scale(1.06); }
}

.line {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 12px;
}
.line li {
  position: relative;
  padding: 18px 22px 18px 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.line li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-family: "Iowan Old Style", Palatino, serif;
}
.line li:nth-child(2)::before { background: var(--amber); }
.line li:nth-child(3)::before { background: var(--palm); }
.line b { display: block; font-size: 1.12rem; }
.line p { margin: 4px 0 0; color: var(--muted); }

.ledger {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ledger p {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid var(--hair);
}
.ledger .total {
  background: linear-gradient(95deg, #0a49c4 0%, #1268f3 65%, #ff7a45 135%);
  color: #fff;
  border-bottom: 0;
  padding: 22px;
}
.ledger .total b { font-family: "Iowan Old Style", Palatino, serif; font-size: 1.7rem; font-weight: 600; }

.caution {
  width: 100vw;
  margin: 64px 0 0 calc(50% - 50vw);
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 183, 3, 0.34), transparent 18rem),
    radial-gradient(circle at 12% 90%, rgba(255, 94, 58, 0.32), transparent 20rem),
    linear-gradient(118deg, #0b3388 0%, #1268f3 58%, #f97316 128%);
}
.caution__in { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.caution h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); max-width: 14ch; }
.caution p { max-width: 62ch; color: rgba(255, 255, 255, 0.92); font-size: 1.08rem; }

.ask {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
details.fold {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(178, 108, 28, 0.05);
}
details.fold summary { cursor: pointer; font-weight: 700; }
details.fold p { margin: 10px 0 0; color: var(--muted); }

.end {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
  margin-top: 28px;
}
.end > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.mail {
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid #ffd27d;
}

.colophon {
  margin-top: 28px;
  padding: 42px 28px 32px;
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--line);
}
.colophon strong {
  display: block;
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.colophon nav { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 10px 0 14px; }
.colophon a { color: var(--blue-deep); text-decoration: none; font-weight: 600; }
.colophon small { color: var(--muted); }

.prose {
  width: min(920px, 100%);
  margin: 48px auto 12px;
  display: grid;
  grid-template-columns: 160px 1fr;
  column-gap: 28px;
}
.prose > * { grid-column: 2; }
.prose h1 {
  grid-column: 1 / -1;
  font-size: clamp(2.6rem, 5vw, 4rem);
  padding-bottom: 16px;
}
.prose h2 { margin-top: 28px; font-size: 1.55rem; }
.prose .ruler, .prose .ledger, .prose .alert, .prose form, .prose .ask { grid-column: 1 / -1; }
.prose .ruler { margin: 8px 0 12px; }
.prose ul, .prose ol { padding-left: 18px; }
.prose li { margin: 6px 0; }

.alert {
  background: var(--danger-bg);
  border-radius: 20px;
  color: #7d1020;
  padding: 22px 24px;
  border: 1px solid #f3c3cb;
}
.alert h1, .alert h2 { color: var(--danger); }
.field { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; font-weight: 700; }
.field input {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.wipe {
  background: var(--danger);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.kept {
  display: none;
  background: #fff;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

/* Entrada elastica sin partir de opacidad cero. */
.drift { animation: drift 0.72s cubic-bezier(0.22, 1.28, 0.36, 1) both; }
@keyframes drift {
  from { transform: translateY(18px) scale(0.985); }
  to { transform: none; }
}

@media (max-width: 900px) {
  .mast { padding: 12px 14px 0; }
  .mast__top { align-items: flex-start; flex-direction: column; }
  .mast nav { justify-content: flex-start; gap: 4px; overflow: auto; }
  .stage { display: block; }
  .stage h1, .stage .lede { text-align: left; }
  .stage h1 { font-size: 2.45rem; margin: 16px 0 12px; }
  .stage .lede { margin-bottom: 8px; }
  .stage__photo img { aspect-ratio: 3 / 4; max-height: 520px; object-position: center center; box-shadow: 0 18px 40px rgba(178, 108, 28, 0.14); }
  .ruler, .gates, .ask, .end, .prose { grid-template-columns: 1fr; }
  .ruler { margin: 16px 0 0; }
  .ruler li, .gates li { border-right: 0; }
  .pair::before { inset: 0; }
  .pair figure,
  .pair figure:nth-child(even),
  .pair figure:nth-child(3),
  .pair figure:nth-child(4),
  .pair figure:nth-child(5) {
    grid-template-columns: 1fr;
    row-gap: 24px;
    width: 100%;
    margin: 0 0 24px;
    padding: 24px 18px 22px;
    border-radius: 28px;
    justify-items: center;
  }
  .pair figure:nth-child(n+2) { margin-top: 0; }
  .pair figure:nth-child(even) .ph,
  .pair .ph {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: min(230px, 68%);
    transform: rotate(-1.5deg);
    box-shadow:
      0 0 0 5px #18263d,
      0 0 0 8px #ffffff,
      10px 14px 0 0 var(--plate),
      14px 26px 36px rgba(24, 34, 53, 0.16);
  }
  .pair figure:nth-child(even) .ph { transform: rotate(1.5deg); }
  .pair figcaption,
  .pair figure:nth-child(odd) figcaption,
  .pair figure:nth-child(even) figcaption {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    text-align: center;
    width: min(100%, 440px);
    padding: 24px 20px 20px;
    transform: none;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    border-top: 5px solid var(--accent);
  }
  .pair figure:nth-child(odd) figcaption::before,
  .pair figure:nth-child(even) figcaption::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(-3deg);
  }
  main, .caution__in { width: calc(100% - 28px); }
  .prose > * { grid-column: 1; }
  .banner { height: 200px; border-radius: 24px; }
}
@media (max-width: 560px) {
  .pair .ph,
  .pair figure:nth-child(odd) .ph,
  .pair figure:nth-child(even) .ph { width: min(210px, 74%); }
  .pair figcaption,
  .pair figure:nth-child(odd) figcaption,
  .pair figure:nth-child(even) figcaption { padding: 22px 16px 18px; }
}
