/* Rayva home page — sections not shared with the other pages.
   Faithful translation of "Rayva Home.dc.html". */

@keyframes rvCountdown {
  from {
    width: 88%;
  }
  to {
    width: 12%;
  }
}
@keyframes rvDash {
  to {
    stroke-dashoffset: -26;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map-route,
  .map-pin,
  .countdown span {
    animation: none !important;
  }
}

/* ── Hero phone: new-offer screen ─────────────────────────────────────── */
.app-header img {
  height: 26px;
}
.app-header .app-title.sm {
  font-size: 17px;
}
.app-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 184, 96, 0.16);
  color: var(--honey);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.app-badge i {
  font-size: 13px;
}
.app-map {
  position: relative;
  margin: 0 14px;
  height: 230px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--night-tabbar);
}
.app-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-route {
  animation: rvDash 1.6s linear infinite;
}
.map-pin {
  position: absolute;
  right: 42px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px 999px 999px 4px;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rvPulse 2.4s infinite;
}
.map-pin i {
  font-size: 16px;
  color: var(--ink);
}
.map-eta {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(247, 246, 251, 0.1);
  color: var(--ghost);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.offer-card {
  margin: 12px 14px 0;
  background: var(--night-card);
  border-radius: 18px;
  padding: 15px;
}
.offer-card .offer-row {
  margin-bottom: 10px;
}
.offer-card .offer-tile {
  width: 38px;
  height: 38px;
  background: rgba(255, 124, 100, 0.14);
}
.offer-card .offer-tile i {
  font-size: 18px;
  color: var(--coral);
}
.offer-card .offer-name {
  font-size: 14.5px;
}
.offer-card .offer-meta {
  font-size: 12px;
}
.offer-card .offer-price {
  font-size: 22px;
}
.price-parts {
  display: flex;
  gap: 6px;
  font-size: 11px;
  color: var(--ghost-70);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.price-parts span {
  background: rgba(247, 246, 251, 0.07);
  padding: 4px 10px;
  border-radius: 999px;
}
.price-parts .boost {
  background: rgba(244, 184, 96, 0.14);
  color: var(--honey);
  font-weight: 700;
}
.countdown {
  height: 5px;
  border-radius: 999px;
  background: rgba(247, 246, 251, 0.1);
  overflow: hidden;
  margin-bottom: 12px;
}
.countdown span {
  display: block;
  height: 100%;
  background: var(--honey);
  border-radius: 999px;
  animation: rvCountdown 8s linear infinite;
}
.offer-actions {
  display: flex;
  gap: 8px;
}
.offer-actions .accept {
  flex: 1;
  text-align: center;
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 13px;
  border-radius: 999px;
}
.offer-actions .pass {
  text-align: center;
  background: rgba(247, 246, 251, 0.08);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 999px;
}
.app-route .cta.soft {
  background: rgba(255, 124, 100, 0.16);
  color: var(--coral);
}

/* ── Trust strip ──────────────────────────────────────────────────────── */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.trust-strip .wrap {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--charcoal);
}
.trust-strip span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.trust-strip i {
  font-size: 17px;
}

/* ── Problem ──────────────────────────────────────────────────────────── */
.problem {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 72px;
  text-align: center;
}
.problem h2 {
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.06;
  margin: 0 auto 14px;
  max-width: 760px;
}
.problem .lede {
  font-size: 17px;
  color: var(--charcoal);
  margin: 0 auto 44px;
  max-width: 640px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
  text-align: left;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.problem-card .big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.problem-card .sub {
  font-size: 13.5px;
  color: var(--charcoal);
}
.problem-card.dark {
  background: var(--ink);
  border: none;
  color: var(--ghost);
}
.problem-card.dark .big {
  color: var(--coral);
}
.problem-card.dark .sub {
  color: rgba(247, 246, 251, 0.75);
}

/* ── Bento: how Rayva works ───────────────────────────────────────────── */
.bento-section {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.bento-section .wrap {
  padding: 88px 24px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 18px;
}
.bento-card {
  background: var(--ghost);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento-card .icon-tile {
  width: 44px;
  height: 44px;
}
.bento-card .icon-tile i {
  font-size: 22px;
}
.bento-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}
.bento-card p {
  font-size: 14.5px;
  color: var(--charcoal);
  margin: 0;
}
.bento-card .more {
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.bento-card.dark {
  grid-row: span 2;
  background: var(--night);
  border: none;
  color: var(--ghost);
  gap: 14px;
}
.bento-card.dark .icon-tile {
  background: rgba(255, 124, 100, 0.14);
}
.bento-card.dark .icon-tile i {
  color: var(--coral);
}
.bento-card.dark h3 {
  font-size: 21px;
}
.bento-card.dark p {
  color: var(--ghost-65);
}
.match-panel {
  background: var(--night-card);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}
.match-panel .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ghost-50);
}
.match-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(247, 246, 251, 0.05);
  border-radius: 12px;
  padding: 9px 12px;
}
.match-row.top {
  background: rgba(255, 124, 100, 0.12);
  border: 1px solid rgba(255, 124, 100, 0.4);
}
.match-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(247, 246, 251, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
}
.match-row.top .match-avatar {
  background: var(--coral);
  color: var(--ink);
}
.match-main {
  flex: 1;
}
.match-name {
  font-weight: 700;
  font-size: 13px;
}
.match-meta {
  font-size: 11px;
  color: var(--ghost-70);
}
.match-fit {
  font-size: 11px;
  font-weight: 700;
  color: var(--ghost-50);
}
.match-row.top .match-fit {
  color: var(--honey);
}
.boost-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.boost-bar {
  flex: 1;
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.08);
}
.boost-bar .base {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  border-radius: 999px;
  background: var(--honey);
}
.boost-bar .boost {
  position: absolute;
  left: 46%;
  top: 0;
  bottom: 0;
  width: 30%;
  border-radius: 0 999px 999px 0;
  background: var(--coral);
}
.boost-bar-row .figures {
  font-size: 12.5px;
  font-weight: 700;
}

/* ── Earnings estimator ───────────────────────────────────────────────── */
.earnings {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
}
.earnings-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.earnings-copy .eyebrow {
  margin: 0;
}
.earnings-copy h2 {
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.05;
  margin: 0;
}
.earnings-copy .lede {
  font-size: 17px;
  color: var(--charcoal);
  margin: 0;
  max-width: 480px;
}
.slider-group {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slider-group .heads {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 700;
}
.slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
  height: 28px;
  margin: 0;
}
.slider-group .ends {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--charcoal);
}
.boost-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.boost-toggle {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: var(--coral);
  position: relative;
  cursor: pointer;
  padding: 0;
  flex: none;
}
.boost-toggle[aria-pressed="false"] {
  background: rgba(23, 23, 23, 0.2);
}
.boost-toggle span {
  position: absolute;
  top: 3px;
  left: 21px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  transition: left 0.15s ease-out;
}
.boost-toggle[aria-pressed="false"] span {
  left: 3px;
}
.boost-toggle-row .caption {
  font-size: 14.5px;
  font-weight: 500;
}
.earnings-copy .fine {
  font-size: 12px;
  color: var(--charcoal);
  margin: 0;
}
.est-card {
  background: var(--night);
  border-radius: 20px;
  padding: 34px;
}
.est-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(247, 246, 251, 0.6);
}
.est-card .weekly {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 5vw, 58px);
  letter-spacing: -0.02em;
  color: var(--ghost);
  line-height: 1.1;
}
.est-card .annual {
  font-size: 13.5px;
  color: rgba(247, 246, 251, 0.6);
  margin-bottom: 22px;
}
.est-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.est-row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--ghost);
}
.est-row .k {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.est-row .k i {
  font-size: 16px;
  color: var(--honey);
}
.est-row .v {
  font-weight: 700;
}
.est-cta {
  border-top: 1px solid rgba(247, 246, 251, 0.15);
  margin-top: 18px;
  padding-top: 18px;
}
.est-cta .btn-coral {
  display: block;
  text-align: center;
  font-size: 15.5px;
  padding: 14px;
}

/* ── Testimonials ─────────────────────────────────────────────────────── */
.voices {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.voices .wrap {
  padding: 88px 24px;
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}
.voice-card {
  background: var(--ghost);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.voice-card blockquote {
  font-size: 15.5px;
  margin: 0;
  line-height: 1.55;
}
.voice-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.voice-avatar {
  position: relative;
  width: 44px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
.voice-avatar svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--peach-tile);
}
.voice-avatar.honey svg {
  fill: var(--honey-tile);
}
.voice-avatar span {
  position: relative;
}
.voice-name {
  font-weight: 700;
  font-size: 14px;
}
.voice-role {
  font-size: 12.5px;
  color: var(--charcoal);
}

/* ── Two paths ────────────────────────────────────────────────────────── */
.paths {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
}
.paths h2 {
  font-size: clamp(32px, 4.5vw, 44px);
  margin: 0 0 40px;
  text-align: center;
}
.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.path-card {
  text-decoration: none;
  border-radius: 20px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease-out;
}
.path-card:hover {
  transform: translateY(-2px);
  color: inherit;
}
.path-card h3 {
  font-size: 23px;
  font-weight: 700;
  margin: 0;
}
.path-card p {
  font-size: 15px;
  margin: 0;
}
.path-card .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 6px;
}
.path-card .icon-tile {
  width: 46px;
  height: 46px;
}
.path-card .icon-tile i {
  font-size: 23px;
}
.path-card.dark {
  background: var(--night);
  color: var(--ghost);
}
.path-card.dark:hover {
  color: var(--ghost);
}
.path-card.dark h3 {
  color: var(--ghost);
}
.path-card.dark p {
  color: var(--ghost-65);
}
.path-card.dark .icon-tile {
  background: rgba(255, 124, 100, 0.14);
}
.path-card.dark .icon-tile i {
  color: var(--coral);
}
.path-card.dark .go {
  color: var(--coral);
}
.path-card.light {
  background: #fff;
  border: 1px solid rgba(23, 23, 23, 0.1);
  box-shadow: 10px 30px 30px 3px rgba(177, 188, 199, 0.15);
  color: var(--ink);
}
.path-card.light p {
  color: var(--charcoal);
}

/* ── Two-step signup ──────────────────────────────────────────────────── */
.signup-mark {
  position: relative;
  display: inline-flex;
  margin-bottom: 20px;
}
.signup-mark .ring {
  width: 110px;
  height: 110px;
  margin: -55px 0 0 -55px;
  border-color: rgba(255, 124, 100, 0.4);
  animation-duration: 2.8s;
}
.signup-mark .ring.delayed {
  border-color: rgba(255, 124, 100, 0.25);
  animation-delay: 1.4s;
}
.signup-mark img {
  position: relative;
  height: 46px;
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.step-dots {
  display: inline-flex;
  gap: 5px;
}
.step-dots span {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.15);
}
.step-dots .on {
  background: var(--coral);
}
.role-row {
  display: flex;
  gap: 10px;
}
.role-row button {
  flex: 1;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.15);
  background: #fff;
  font-weight: 700;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}
.role-row button[aria-pressed="true"] {
  background: var(--peach-tile);
}
.link-back {
  padding: 4px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: var(--charcoal);
  cursor: pointer;
}
