.referrals-header, .referrals-wrap { width:min(100% - 32px, 1160px); margin-inline:auto; }
.referrals-header { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.referrals-header .brand { width:122px; }
.referrals-header nav { display:flex; gap:18px; font-weight:650; }
.referrals-wrap { margin-bottom:48px; }
.referrals-hero {
  --focus-ring:#b8fbd2;
  position:relative; isolation:isolate; overflow:hidden; border-radius:24px;
  display:grid; grid-template-columns:1.2fr 1fr; align-items:center;
  color:#fff;
  background:
    linear-gradient(110deg,#09271ee6,transparent 74%),
    linear-gradient(128deg,#0a2b21 12%,#145943 37%,#327f64 53%,#17664c 68%,#0e3d31 93%);
  box-shadow:inset 0 0 0 1px #bcffe429,0 10px 26px #072e1c21;
}
.referrals-copy { z-index:1; padding:clamp(24px,5vw,60px); padding-right:0; }
.referrals-copy h1 { font-size:clamp(2.2rem,5.2vw,4.1rem); max-width:16ch; line-height:1.04; letter-spacing:-.06em; margin:0 0 18px; }
.referrals-copy h1 span { color:#b8fbd2; }
.referrals-copy p { max-width:45ch; font-size:1.06rem; line-height:1.55; color:#e5f6ec; margin:0; }
.referrals-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.referrals-actions .soft { background:#eafaf0; color:#143a2c; border-color:#eafaf0; }
.referrals-actions .soft:hover { background:#fff; }
.referrals-whatsapp {
  min-height:50px; gap:9px; padding-inline:18px; border-color:#79f6a9;
  background:linear-gradient(165deg,#76f6a5,#25d366 73%);
  color:#08321c; box-shadow:0 4px 14px #04241755;
}
.referrals-whatsapp:hover { background:linear-gradient(165deg,#9dffc0,#3be27b 73%); }
.referrals-whatsapp-icon {
  flex:none; width:21px; height:21px; background:currentColor;
  mask:url('/whatsapp.svg') center/contain no-repeat;
}
.referrals-actions .referrals-outline { background:#06322355; color:#f2fff7; border-color:#c5efda80; }
.referrals-actions .referrals-outline:hover { background:#063223a0; }
#referrals-link-label { display:grid; max-width:430px; gap:5px; margin-top:12px; }
#referrals-link { width:100%; padding:9px; color:#211e21; background:#fff; border:0; border-radius:6px; }
#referrals-status { margin-top:12px; font-size:.94rem; }
.referrals-art { position:relative; min-height:300px; align-self:stretch; }
.referrals-art::before {
  content:""; position:absolute; inset:0;
  background:repeating-radial-gradient(ellipse at 97% 20%,transparent 0 15px,#d0ffe322 16px,transparent 17px 23px);
  mask-image:linear-gradient(90deg,transparent,#000);
}
.referrals-ticket { position:absolute; display:grid; align-content:center; width:73%; aspect-ratio:2.55; padding:4% 8%; border-radius:13px; box-shadow:0 13px 28px #05261960; }
.referrals-ticket span { font-weight:800; font-size:.72rem; letter-spacing:.16em; }
.referrals-ticket strong { display:block; font-size:clamp(2.3rem,5.3vw,4.5rem); line-height:1.06; letter-spacing:-.08em; }
.referrals-ticket::after { content:""; position:absolute; right:13%; inset-block:0; border-left:2px dashed currentColor; opacity:.35; }
.referrals-ticket-back {
  top:13%; left:17%; transform:rotate(8deg);
  background:linear-gradient(128deg,#123a2d,#286f53 55%,#174b37); color:#e0fbec; border:1px solid #a1dbb582;
}
.referrals-ticket-front {
  top:49%; left:5%; transform:rotate(-8deg);
  background:linear-gradient(118deg,#bbdcc9,#f4fff7 42%,#d5f2df 67%,#a4ccb5);
  color:#143d2e; border:1px solid #ebfff3;
}
.referrals-activity, .referrals-how { margin-top:28px; }
.referrals-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:12px 0; }
.referrals-metrics div { border:1px solid var(--line); background:var(--panel); border-radius:12px; padding:16px; }
.referrals-metrics dd { margin:8px 0 0; font-size:1.6rem; font-weight:750; }
.referrals-how ol { display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; padding-left:24px; }
.referrals-how li { padding-left:4px; line-height:1.5; }
.referrals-how strong { display:block; }
@media(max-width:720px) {
  .referrals-hero { grid-template-columns:1fr; border-radius:18px; }
  .referrals-copy { padding:26px 20px 0; }
  .referrals-whatsapp { width:100%; }
  .referrals-art { min-height:clamp(180px,52vw,218px); width:min(100%,385px); justify-self:center; }
  .referrals-ticket { width:67%; padding:4% 6%; }
  .referrals-ticket-back { top:11%; left:26%; }
  .referrals-ticket-front { top:48%; left:8%; }
  .referrals-how ol { grid-template-columns:1fr; gap:12px; }
  .referrals-metrics { grid-template-columns:1fr; }
}
