/* ==========================================================================
   Share Dash (referral program): the home page teaser (#share) and the full
   page at /share (share.html). Uses the tokens and sub-page styles in
   css/site.css; this file only adds the sh-* pieces.
   ========================================================================== */

/* ---- Home page teaser ---- */
.sh-band { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.sh-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px 28px;
  background: var(--lime-tint-2); border: 1px solid var(--lime-border); border-radius: 24px;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3.4vw, 36px);
}
/* Dash in a latte, on the gift card's navy so the white cup shows */
.sh-card__art {
  width: 150px; height: 140px; border-radius: 22px; background: #1B6388; flex: none;
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative;
}
.sh-card__art::before { content: ''; position: absolute; top: -40px; right: -40px; width: 110px; height: 110px; border-radius: 50%; background: #2280AF; opacity: .45; }
.sh-card__art img { position: relative; width: auto; height: 124px; display: block; margin-bottom: 8px; transform: rotate(8deg); transform-origin: 50% 85%; }
/* The gift card's lime underline under "latte" */
.sh-latte { position: relative; display: inline-block; white-space: nowrap; }
.sh-latte::after { content: ''; position: absolute; left: 0; right: 2px; bottom: .02em; height: .11em; min-height: 3px; border-radius: 3px; background: var(--lime); }
.sh-card .kicker { margin-bottom: 4px; }
.sh-card__h { margin: 0 0 6px; font-weight: 800; font-size: clamp(21px, 2.3vw, 26px); line-height: 1.2; color: var(--sky-deep); text-wrap: balance; }
.sh-card__p { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--body-2); text-wrap: pretty; }
.sh-card__p b { color: var(--lime-dark); font-weight: 800; }
.sh-card .btn { white-space: nowrap; }
@media (max-width: 819px) {
  .sh-card { grid-template-columns: auto 1fr; }
  .sh-card__art { width: 112px; height: 106px; border-radius: 18px; align-self: start; }
  .sh-card__art img { width: auto; height: 96px; }
  .sh-card .btn { grid-column: 1 / -1; justify-self: stretch; }
}

/* ---- /share page ---- */
.sh-hero .page-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; }
.sh-hero__art { width: clamp(240px, 27vw, 340px); position: relative; margin: -16px 30px -16px 0; }
.sh-hero__art { display: flex; flex-direction: column; align-items: center; }
.sh-hero__art img { width: 100%; height: auto; display: block; transform: rotate(8deg); transform-origin: 50% 80%; }
/* Coffee choices: names only (no brand logos) */
.sh-picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; max-width: 340px; }
.sh-picks__label { width: 100%; text-align: center; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #B7D86A; margin-bottom: 2px; }
.sh-pick { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #fff; font-weight: 800; font-size: 14.5px; padding: 7px 14px 7px 10px; border-radius: 999px; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); }
.sh-pick::before { content: ""; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23FFFFFF%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M17 8h1a4 4 0 0 1 0 8h-1%27/%3E%3Cpath d=%27M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4z%27/%3E%3Cpath d=%27M6 2v2M10 2v2M14 2v2%27/%3E%3C/svg%3E") center / contain no-repeat; }
/* Each shop in its brand color (approximate; check against their brand guides) */
.sh-pick--sbux { background: #00704A; }
.sh-pick--dunkin { background: #DA1884; }
.sh-pick--dutch { background: #0059A8; }
.sh-pick--blackrock { background: #1A1A1A; }
.sh-pick:nth-child(2) { transform: rotate(-3deg); } .sh-pick:nth-child(3) { transform: rotate(2deg); } .sh-pick:nth-child(4) { transform: rotate(-2deg); } .sh-pick:nth-child(5) { transform: rotate(3deg); }
.sh-hero .sh-latte::after { background: var(--lime); }
@media (max-width: 819px) {
  .sh-hero .page-hero__in { grid-template-columns: 1fr; }
  .sh-hero__art { order: -1; width: 100%; margin: 0; }
  .sh-hero__art img { width: 140px; }
  .sh-picks { margin-top: 12px; }
}
/* "Friend has to be new" note */
.sh-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; background: var(--fill-2); border: 1px solid var(--fill-1); border-radius: 16px; padding: 14px 16px; font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--body-2); }
.sh-note b { color: var(--sky-deep); }
.sh-note svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.sh-unlimited { display: inline-block; margin-left: 6px; vertical-align: 3px; background: var(--lime); color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.sh-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sh-hero__ctas .btn--outline { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.sh-hero__ctas .btn--outline:hover { border-color: #fff; color: #fff; }

/* The Dash Pass ticket on the friend card, drawn like the app's pass (a ticket with a tear line) */
.sh-ticket {
  --notch: calc(100% - 58px);
  display: flex; align-items: stretch; width: 300px; max-width: 100%; height: 86px; margin: 2px 0 12px;
  background: var(--lime); color: #fff; border-radius: 14px; transform: rotate(-4deg); transform-origin: left center;
  -webkit-mask: radial-gradient(circle 11px at var(--notch) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 11px at var(--notch) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 11px at var(--notch) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 11px at var(--notch) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.sh-ticket__main { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 18px; min-width: 0; }
.sh-ticket__main img { width: 40px; height: 40px; flex: none; }
.sh-ticket__k { display: block; font-weight: 800; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #F1F7E5; }
.sh-ticket__v { display: block; font-weight: 900; font-size: 21px; line-height: 1.1; white-space: nowrap; }
.sh-ticket__stub { width: 58px; flex: none; display: flex; align-items: center; justify-content: center; background: #7AA21F; border-left: 2px dashed rgba(255, 255, 255, .7); font-weight: 900; font-size: 14px; letter-spacing: .14em; writing-mode: vertical-rl; transform: rotate(180deg); }

/* The two sides of the deal */
.sh-deal { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sh-deal .pcard { padding: 28px; }
.sh-deal__big { font-weight: 900; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.05; color: var(--sky-deep); margin: 8px 0 2px; letter-spacing: -.01em; }
.sh-deal__big--lime { color: var(--lime-dark); }
.sh-deal__who { font-weight: 800; font-size: 13px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 719px) { .sh-deal { grid-template-columns: 1fr; } }

/* Three steps */
.sh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: sh; }
.sh-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 24px; }
.sh-steps li::before {
  counter-increment: sh; content: counter(sh);
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--fill-2); color: var(--sky-deep); font-weight: 900; font-size: 18px; margin-bottom: 14px;
}
.sh-steps li:last-child::before { background: var(--lime); color: #fff; }
.sh-steps b { display: block; font-weight: 800; font-size: 18px; color: var(--sky-deep); margin-bottom: 4px; }
.sh-steps span { font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--body-2); }
@media (max-width: 819px) { .sh-steps { grid-template-columns: 1fr; } }

/* Where to get your link */
.sh-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sh-paths .pcard { gap: 10px; }
.sh-tap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 6px; font-weight: 700; font-size: 14px; color: var(--sky-deep); }
.sh-tap span { background: var(--fill-2); border: 1px solid var(--fill-1); border-radius: 999px; padding: 5px 12px; }
.sh-tap i { font-style: normal; color: var(--muted-2); }
.sh-paths .badges { margin-top: 6px; }
@media (max-width: 719px) { .sh-paths { grid-template-columns: 1fr; } }

/* Coffee picks */
.sh-coffee { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sh-coffee span { border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; color: #fff; }

/* Small print as questions */
.sh-faq { display: grid; gap: 10px; }
.sh-faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.sh-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 16.5px; color: var(--sky-deep); display: flex; justify-content: space-between; gap: 16px; }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: '+'; font-weight: 900; color: var(--sky); font-size: 20px; line-height: 1; }
.sh-faq details[open] summary::after { content: '–'; }
.sh-faq p { margin: 0 0 18px; font-weight: 600; font-size: 15.5px; line-height: 1.55; color: var(--body-2); }
