/* /feedback, /reset and /referral (offer-pages.py). On top of ctc.css and
   quiz.css (the .opt radios). */

.offer-hero .hero-media .arch img { aspect-ratio: 1 / 1; }

/* the four short reasons */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px;
  grid-template-columns: 1fr; }
@media (min-width: 720px) { .points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .points { grid-template-columns: repeat(4, 1fr); } }
.points li { background: #fff; border-radius: var(--r-lg); padding: 24px 22px;
  border-top: 4px solid var(--olive); box-shadow: 0 10px 30px -18px rgba(20, 26, 14, .35); }
.points b { display: block; color: var(--ink); font-size: 1.08rem; margin: 0 0 6px; }
.points span { color: var(--body); font-size: .98rem; line-height: 1.5; }

/* the Golden Ticket */
.ticket { position: relative; max-width: 460px; margin: 0 auto; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f9d48f 0%, var(--gold) 45%, #e0a54a 100%);
  border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); transform: rotate(-2.5deg); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 34px; height: 34px;
  margin-top: -17px; border-radius: 50%; background: var(--paper); }
.ticket::before { left: -17px; } .ticket::after { right: -17px; }
.ticket__in { height: 100%; border: 2px dashed rgba(20, 26, 14, .35); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 18px 36px; }
.ticket__in img { margin: 0 0 10px; }
.ticket__k { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.ticket__big { margin: 4px 0 0; font-size: clamp(2.6rem, 7vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.ticket__sub { margin: 4px 0 10px; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.ticket__small { margin: 0; font-size: .85rem; color: rgba(20, 26, 14, .75); }

/* the form */
.offer-form .ask { border: 0; padding: 0; margin: 0 0 22px; }
.offer-form .ask legend { padding: 0; margin: 0 0 12px; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.offer-form textarea { resize: vertical; min-height: 110px; }
.offer-form .hint { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.offer-form .optional-note { margin: 4px 0 14px; font-size: .92rem; color: var(--muted); }

/* the thank-you: shown by offer.js, or by #sent in the address without JS */
.sent { display: none; }
.sent:target, .sent.is-on { display: block; }
.sent:target + .offer-form, .offer-form.is-off { display: none; }
.sent .kicker { color: var(--olive); margin: 0 0 6px; }
.sent h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0 0 12px; }
.tone-ink .sent p { color: var(--body); }
.thanks-review { margin: 18px 0 0; display: grid; gap: 12px; justify-items: start; }

/* the card is white inside a dark section: put the text colours back */
.tone-ink .offer-form p, .tone-ink .offer-form legend { color: var(--muted); }
.tone-ink .offer-form .ask legend { color: var(--ink); }
.tone-ink .sent p { color: var(--body); }
.tone-ink .sent h3 { color: var(--ink); }
.ticket__in img { width: 34px; height: 34px; flex: none; }
