.ref-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  padding: 76px 0;
  align-items: center;
}
.ref-hero h1 {
  font-size: clamp(3rem, 5.4vw, 5rem);
}
.ref-hero p {
  max-width: 560px;
}
.conversation-preview {
  border: 1px solid #dce5df;
  background: white;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 16px 40px #12352208;
}
.example-label {
  font-size: 12px;
  letter-spacing: 0.07em;
  color: #666;
  margin-bottom: 24px;
}
.chat-user {
  background: #f2f5f3;
  padding: 18px;
  border-radius: 10px;
  margin: 0 0 24px 30px;
}
.chat-answer {
  padding: 0 8px;
}
.referral-example {
  border-left: 3px solid #059669;
  padding: 18px 20px;
  margin: 24px 0;
  background: #f2faf5;
}
.referral-example h3 {
  font-size: 1.4rem;
}
.example-action {
  color: #047857;
  font-weight: 700;
}
.ref-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.offer-grid,
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.offer-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  background: #fff;
  overflow-wrap: anywhere;
  margin-top: 20px;
}
.offer-card h3 {
  font-size: 1.5rem;
}
.offer-card p {
  white-space: pre-wrap;
}
.offer-card .reward {
  font-size: 1.7rem;
  color: #047857;
}
.offer-card .fine {
  font-size: 14px;
}
.offer-card .actions {
  flex-wrap: wrap;
  margin-top: 16px;
}
.offer-card input,
.offer-card textarea {
  margin: 12px 0;
}
.two-columns,
.economics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.split-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.split-card > div {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.split-card strong {
  font-size: 2rem;
  color: #047857;
}
.check-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0;
  font-size: 14px;
}
.check-label input {
  width: auto;
  margin-top: 6px;
}
.empty-offers {
  grid-column: 1/-1;
  border: 1px dashed #ccd5ce;
  padding: 36px;
  text-align: center;
  border-radius: 10px;
  background: white;
}
.role-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.earnings-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.earnings-bar > div {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}
.earnings-bar span,
.earnings-bar strong {
  display: block;
}
.earnings-bar strong {
  font-size: 2rem;
  color: #047857;
}
.narrow {
  max-width: 800px;
}
.narrow h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}
.narrow .offer-card {
  margin-bottom: 24px;
}
.panel {
  margin-bottom: 24px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
textarea,
select {
  font: inherit;
}
.navlinks {
  gap: 22px;
}
a:not(.button):not(.brand) {
  text-underline-offset: 4px;
}
.ref-section p a,
.narrow p a {
  text-decoration: underline;
}
@media (max-width: 850px) {
  .ref-hero,
  .economics,
  .two-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ref-hero {
    padding: 40px 0;
  }
  .offer-grid,
  .three-columns {
    grid-template-columns: 1fr;
  }
  .earnings-bar {
    grid-template-columns: 1fr;
  }
  .navlinks a:first-child {
    display: none;
  }
  .navlinks {
    gap: 12px;
  }
  .wrap {
    padding-inline: 20px;
  }
  .ref-section .section-head {
    display: block;
  }
  .brand {
    font-size: 1.2rem;
  }
  .conversation-preview {
    padding: 20px;
  }
  .ref-section {
    padding: 36px 0;
  }
}
