/* How it works page */

/* Hero deal */
.banner--deal { padding: 4.5rem 0 5rem; }
.banner--deal .wrap { grid-template-columns: 1fr 2.4fr 1fr; }
.banner--deal h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); }
.deal { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; margin: 0 0 2rem; }
.deal b { font: 700 1.25em var(--display); color: var(--teal); }
.deal .free { color: var(--pink); }
.deal__cards { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.4rem; }
.deal__cards span {
  position: relative;
  width: 120px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg);
  border: 4px solid var(--paper);
  box-shadow: 0 16px 28px -18px rgba(43, 43, 46, 0.6);
}
.deal__cards span:nth-child(1) { transform: rotate(-6deg) translateY(6px); }
.deal__cards span:nth-child(3) { transform: rotate(6deg) translateY(6px); }
.deal__cards img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.deal__cards i {
  position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%);
  font: normal 700 0.9rem var(--body);
  background: var(--paper); color: var(--charcoal);
  padding: 0.2rem 0.7rem; border-radius: 999px; white-space: nowrap;
}
.deal__cards .is-free i { background: var(--pink); color: #fff; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: translateX(-50%) rotate(0); } 85% { transform: translateX(-50%) rotate(-8deg); } 90% { transform: translateX(-50%) rotate(8deg); } 95% { transform: translateX(-50%) rotate(-4deg); } }

/* Journey */
.steps-page { background: var(--paper); border-top: 1px solid var(--line); }
.journey { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; position: relative; }
.journey::before {
  content: "";
  position: absolute;
  left: 39px; top: 40px; bottom: 40px;
  border-left: 3px dashed var(--line);
}
.leg { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; position: relative; padding-bottom: 3.5rem; }
.leg:last-child { padding-bottom: 0; }
.leg__icon {
  width: 80px; height: 80px;
  border-radius: 24px;
  background: var(--pink);
  color: #fff;
  display: grid; place-items: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--paper);
}
.leg:nth-child(2) .leg__icon { background: var(--teal); }
.leg:nth-child(3) .leg__icon { background: var(--charcoal); }
.leg:nth-child(4) .leg__icon { background: var(--rose); color: var(--charcoal); }
.leg__body { padding-top: 0.4rem; }
.leg__num { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal-soft); margin-bottom: 0.3rem; }
.leg h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.leg p { font-size: 1.15rem; color: var(--charcoal-soft); max-width: 56ch; }

/* Reveal on scroll */
.leg.will-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.leg.will-reveal.in { opacity: 1; transform: none; }

/* What you get */
.faq { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; margin-top: 1.2rem; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.3rem;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.6rem/1 var(--display); color: var(--pink); transition: transform 0.2s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--pink); }
.faq ul { margin: 0; padding: 0 1.3rem 1.2rem 2.6rem; display: grid; gap: 0.6rem; }
.faq li { color: var(--charcoal-soft); }
.faq li b { color: var(--charcoal); }

/* Paper sizes */
.sizes { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.size {
  display: grid; place-items: center;
  aspect-ratio: 1 / 1.414;
  background: var(--cream);
  border: 2px solid var(--charcoal);
  border-radius: 4px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.size:hover { background: var(--pink); border-color: var(--pink); color: #fff; transform: translateY(-4px); }
.size--a3 { width: 99px; }
.size--a4 { width: 70px; }
.size--a5 { width: 50px; font-size: 0.85rem; }
.size--a6 { width: 35px; font-size: 0.75rem; }
.sizes p { flex-basis: 100%; font-size: 0.95rem; margin: 0.4rem 0 0; }

/* PDF note */
.pdf-note {
  display: flex; gap: 1.4rem; align-items: flex-start;
  max-width: 860px;
  margin: 4.5rem auto 0;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.pdf-note__icon { flex: none; width: 60px; height: 60px; border-radius: 18px; background: var(--pink); color: #fff; display: grid; place-items: center; }
.pdf-note strong { display: block; font: 700 1.5rem/1.2 var(--display); margin-bottom: 0.4rem; }
.pdf-note p { margin: 0; opacity: 0.85; }

@media (max-width: 1100px) {
  .banner--deal .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .deal__cards span { width: 92px; }
  .journey::before { left: 27px; }
  .leg { grid-template-columns: 56px 1fr; gap: 1.2rem; padding-bottom: 2.8rem; }
  .leg__icon { width: 56px; height: 56px; border-radius: 18px; }
  .leg__icon svg { width: 24px; height: 24px; }
  .pdf-note { flex-direction: column; padding: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .leg.will-reveal { opacity: 1; transform: none; transition: none; }
  .deal__cards .is-free i { animation: none; }
}
