:root {
  --ink: #050505;
  --panel: #111312;
  --line: #292d2b;
  --white: #fff;
  --muted: #aeb3b0;
  --green: #00f676;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a {
  color: inherit;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 99;
  background: var(--green);
  color: var(--ink);
  padding: 0.8rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  height: 88px;
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
  padding: 0 max(4vw, 24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(#050505e8, #05050580);
}
.brand img {
  display: block;
  width: 190px;
  height: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.25vw, 1.5rem);
  margin-left: auto;
}
.site-header nav a {
  text-decoration: none;
  color: #d7dbd9;
  font-size: clamp(0.82rem, 0.9vw, 0.92rem);
  font-weight: 700;
  line-height: 1;
  padding: 0.65rem 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}
.menu-button {
  display: none;
  background: transparent;
  border: 1px solid #555;
  color: white;
  padding: 0.6rem 0.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 0;
  border-radius: 7px;
  padding: 1rem 1.3rem;
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
}
.button:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}
.button-small {
  padding: 0.7rem 1rem;
  gap: 0.7rem;
}
.button-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #6b706d;
}
.hero {
  min-height: 830px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px max(5vw, 34px) 80px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url('assets/referly-hero.png') center/cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #050505 0%,
      #050505e8 30%,
      #05050530 67%,
      #05050522 100%
    ),
    linear-gradient(0deg, #050505 0%, transparent 30%);
}
.hero-content {
  position: relative;
  max-width: 720px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 800;
  font-size: 0.75rem;
  margin: 0 0 1.1rem;
}
.hero h1,
.section h2 {
  font-size: clamp(3.4rem, 6.2vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 0.1em 0 0.3em;
}
.hero h1 span,
.reward-amount strong {
  color: var(--green);
}
.hero-copy {
  max-width: 560px;
  font-size: 1.35rem;
  color: #d5d9d7;
}
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.7rem 0 0;
}
.hero-services a {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: #f1f4f2;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(5, 5, 5, 0.58);
}
.hero-services a:hover {
  border-color: var(--green);
  color: var(--green);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.2rem 0 1rem;
}
.button-service {
  background: #fff;
  color: var(--ink);
}
.microcopy {
  font-size: 0.85rem;
  color: #aeb3b0;
}
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 5vw;
  border-block: 1px solid var(--line);
  padding: 1.2rem 5vw;
  color: #b7bbb9;
  text-align: center;
}
.trust-strip p {
  margin: 0;
}
.trust-strip strong {
  color: var(--green);
}
.section {
  max-width: var(--max);
  margin: auto;
  padding: 110px 32px;
}
.section-heading {
  max-width: 900px;
}
.section h2 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  list-style: none;
  padding: 0;
  margin: 4rem 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.steps li {
  background: #0b0d0c;
  padding: 2.2rem;
  min-height: 260px;
}
.steps span {
  color: var(--green);
  font-weight: 900;
}
.steps h3,
.principles h3 {
  font-size: 1.55rem;
  margin: 3.5rem 0 0.5rem;
}
.steps p,
.principles p {
  color: var(--muted);
}
.reward-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.reward-card {
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(circle at 20% 0, #143323, #0a0c0b 55%);
}
.reward-amount {
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 1;
  margin: 0.2em 0;
}
.reward-card > p:not(.eyebrow):not(.reward-amount) {
  font-size: 1.15rem;
  color: #d4d8d6;
}
.reward-card small {
  color: #8f9592;
}
.app-visual img,
.business-preview img {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.business {
  max-width: none;
  background: #0c0e0d;
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  padding-inline: max(calc((100vw - var(--max)) /2), 32px);
}
.business-copy > p:not(.eyebrow) {
  font-size: 1.25rem;
  color: #d4d8d6;
}
.business-copy ul {
  padding: 0;
  list-style: none;
  margin: 2rem 0;
}
.business-copy li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.business-copy li:before {
  content: '✓';
  color: var(--green);
  margin-right: 0.8rem;
}
.business-preview {
  overflow: hidden;
  border-radius: 24px;
  background: #050505;
}
.business-preview img {
  min-height: 0;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.principles > .eyebrow {
  text-align: center;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.principle-grid article {
  border-top: 2px solid var(--green);
  padding: 2rem;
  background: #0b0d0c;
}
.principle-grid h3 {
  margin: 0.2rem 0 0.7rem;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
}
.faq h2 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
}
details {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 800;
}
details p {
  color: var(--muted);
  max-width: 650px;
}
.join {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  background: var(--green);
  color: var(--ink);
  max-width: none;
  padding-inline: max(calc((100vw - var(--max)) /2), 32px);
}
.join .eyebrow {
  color: #07391f;
}
.join h2 {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
}
form {
  display: grid;
  gap: 0.65rem;
  background: #060706;
  color: white;
  padding: 2rem;
  border-radius: 20px;
}
label {
  font-size: 0.8rem;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #555;
  background: #151716;
  color: #fff;
  border-radius: 6px;
  font: inherit;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.consent {
  font-weight: 400;
  color: #c6cbc8;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.5rem 0;
}
.consent input {
  width: auto;
  margin-top: 0.25rem;
}
.consent a {
  color: var(--green);
}
.form-note {
  font-size: 0.75rem;
  color: #969c98;
}
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}
footer {
  max-width: var(--max);
  margin: auto;
  padding: 70px 32px 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  color: #aeb3b0;
}
footer > p {
  color: white;
  font-size: 1.2rem;
  text-align: right;
}
footer > div {
  display: flex;
  gap: 1.5rem;
}
footer > div a {
  text-decoration: none;
}
footer small {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  color: #7f8581;
  font-size: 0.68rem;
  line-height: 1.45;
  opacity: 0.78;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .site-header {
    height: 76px;
  }
  .brand img {
    width: 150px;
  }
  .site-header > .button {
    display: none;
  }
  .menu-button {
    display: block;
    margin-left: auto;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 76px;
    inset-inline: 0;
    background: #050505;
    padding: 1.2rem 24px;
    flex-direction: column;
  }
  .site-header nav.open {
    display: flex;
  }
  .hero {
    min-height: 760px;
    padding-top: 120px;
  }
  .hero-image {
    background-position: 62% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #050505f5, #050505ac 70%, #05050566),
      linear-gradient(0deg, #050505 0%, transparent 40%);
  }
  .trust-strip {
    flex-direction: column;
    gap: 0.5rem;
  }
  .steps,
  .principle-grid {
    grid-template-columns: 1fr;
  }
  .steps li {
    min-height: 0;
  }
  .steps h3 {
    margin-top: 1.8rem;
  }
  .reward-section,
  .business,
  .faq,
  .join {
    grid-template-columns: 1fr;
  }
  .business {
    padding-block: 90px;
  }
  .business-preview img {
    min-height: 0;
  }
  .faq,
  .join {
    gap: 2.5rem;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer > p {
    text-align: left;
  }
  footer small {
    grid-column: auto;
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .site-header {
    height: 76px;
    padding-inline: 24px;
  }
  .brand img {
    width: 150px;
  }
  .site-header > .button {
    display: none;
  }
  .menu-button {
    display: block;
    margin-left: auto;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 76px;
    inset-inline: 0;
    background: #050505;
    padding: 1.2rem 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .site-header nav a {
    width: 100%;
    font-size: 0.92rem;
  }
  .site-header nav.open {
    display: flex;
  }
}
@media (max-width: 560px) {
  .hero {
    min-height: 720px;
    padding-inline: 22px;
  }
  .hero-content {
    min-width: 0;
    width: 100%;
  }
  .hero h1 {
    font-size: 2.8rem;
    line-height: 0.98;
  }
  .section h2,
  .faq h2,
  .join h2 {
    font-size: 2.55rem;
    line-height: 1;
  }
  .hero-copy {
    font-size: 1.05rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
    max-width: 100%;
    gap: 1rem;
  }
  .section {
    padding: 78px 22px;
  }
  .reward-card {
    padding: 1.7rem;
  }
  .business {
    padding-inline: 22px;
  }
  .join {
    padding-inline: 22px;
  }
  .principle-grid {
    grid-template-columns: 1fr;
  }
  footer {
    padding-inline: 22px;
  }
  footer > div {
    flex-wrap: wrap;
    row-gap: 0.7rem;
  }
  form {
    padding: 1.4rem;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.15rem;
  }
  .section h2,
  .faq h2,
  .join h2 {
    font-size: 2.1rem;
  }
  .button {
    padding-inline: 1rem;
    gap: 0.75rem;
  }
}
.what-we-do {
  padding-top: 130px;
}
.what-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 4rem 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.what-grid article {
  background: #0b0d0c;
  padding: 2.4rem;
  min-height: 290px;
  display: flex;
  flex-direction: column;
}
.what-grid article > span {
  color: var(--green);
  font-weight: 900;
}
.what-grid h3 {
  font-size: 1.65rem;
  margin: 3.2rem 0 0.7rem;
}
.what-grid p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 500px;
}
.what-grid a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  margin-top: auto;
  padding-top: 1.5rem;
}
.what-grid a:hover {
  text-decoration: underline;
}
.successes {
  padding-top: 110px;
}
.successes .section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 650px;
}
.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3.5rem 0 2rem;
}
.success-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b0d0c;
  padding: 2rem;
}
.success-grid span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.success-grid h3 {
  font-size: 1.45rem;
  margin: 2.5rem 0 0.75rem;
}
.success-grid p {
  color: var(--muted);
  margin: 0;
}
.app-progress {
  padding-top: 0;
}
.app-progress-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  border: 1px solid rgba(65, 255, 135, 0.34);
  border-radius: 24px;
  background: linear-gradient(135deg, #0b0d0c 0%, #102319 100%);
}
.app-progress-card h2 {
  margin: 0.6rem 0 1rem;
}
.app-progress-card > div > p:last-child,
.app-progress-card aside p {
  color: var(--muted);
  font-size: 1.08rem;
}
.app-progress-card aside {
  padding: 2rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.34);
}
.app-progress-card aside strong {
  color: var(--green);
  font-size: 1.05rem;
}
.app-progress-card aside .button {
  margin-top: 0.8rem;
}
@media (max-width: 900px) {
  .what-grid {
    grid-template-columns: 1fr;
  }
  .what-grid article {
    min-height: 240px;
  }
  .success-grid {
    grid-template-columns: 1fr;
  }
  .app-progress-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .what-we-do {
    padding-top: 90px;
  }
  .what-grid {
    margin-top: 2.5rem;
  }
  .what-grid article {
    padding: 1.7rem;
  }
  .app-progress-card {
    padding: 1.5rem;
  }
  .app-progress-card aside {
    padding: 1.4rem;
  }
}
.card-points {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 1.8rem;
}
.card-points li {
  color: #d3d7d5;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}
.card-points li:before {
  content: '✓';
  color: var(--green);
  margin-right: 0.7rem;
}
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.about-copy > p:not(.eyebrow) {
  color: #d4d8d6;
  font-size: 1.18rem;
}
.audience-grid {
  display: grid;
  gap: 1rem;
}
.audience-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b0d0c;
  padding: 2rem;
}
.audience-grid h3 {
  font-size: 1.45rem;
  margin: 0.15rem 0 0.7rem;
}
.audience-grid article > p:not(.eyebrow) {
  color: var(--muted);
}
.audience-grid a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}
.audience-grid a:hover {
  text-decoration: underline;
}
.join > div > p:not(.eyebrow) {
  max-width: 560px;
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}
