/*
 * Rendezvous editorial web theme
 *
 * This file is intentionally presentation-only. It is loaded after each
 * page's existing styles so the site's routes, form controls, IDs and
 * JavaScript behaviour remain unchanged.
 */

.rv-editorial {
  --rv-ink: #171412;
  --rv-muted: #746e68;
  --rv-paper: #f7f2ea;
  --rv-paper-deep: #eee5d9;
  --rv-card: #fffdf9;
  --rv-line: rgba(23, 20, 18, 0.14);
  --rv-coral: #ff7166;
  --rv-coral-dark: #e5534c;
  --rv-pink: #f2a1c6;
  --rv-peach: #ffd6c7;
  --rv-sage: #dbe9df;
  --rv-sand: #efe4d3;
  --rv-yellow: #f5dd78;
  --rv-shadow: 0 26px 70px rgba(57, 42, 29, 0.10);
  --rv-shadow-soft: 0 12px 35px rgba(57, 42, 29, 0.07);
  --rv-radius-xl: 42px;
  --rv-radius-lg: 30px;
  --rv-radius-md: 20px;
  color: var(--rv-ink);
  background: var(--rv-paper);
  font-family: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.rv-editorial *,
.rv-editorial *::before,
.rv-editorial *::after {
  box-sizing: border-box;
}

.rv-editorial h1,
.rv-editorial h2,
.rv-editorial h3,
.rv-editorial .brand,
.rv-editorial .brand-wordmark {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.rv-editorial a,
.rv-editorial button,
.rv-editorial input,
.rv-editorial select,
.rv-editorial textarea {
  font: inherit;
}

.rv-editorial button,
.rv-editorial a,
.rv-editorial [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

.rv-editorial :focus-visible {
  outline: 3px solid rgba(255, 113, 102, 0.36);
  outline-offset: 3px;
}

.rv-editorial ::selection {
  color: var(--rv-ink);
  background: var(--rv-pink);
}

/* Public homepage */
.rv-home {
  overflow-x: hidden;
}

.rv-home .app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  padding: 14px clamp(94px, 8vw, 118px) 14px clamp(20px, 4vw, 68px);
  color: var(--rv-ink);
  background: rgba(247, 242, 234, 0.94);
  border-bottom: 1px solid var(--rv-line);
  backdrop-filter: blur(18px);
}

.rv-home .app-header .brand {
  color: var(--rv-ink);
  font-size: clamp(27px, 2.4vw, 38px);
  text-decoration: none;
}

.rv-home .app-header .brand span {
  font-style: italic;
}

.rv-home .landing-nav {
  position: static;
  left: auto;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  transform: none;
  gap: clamp(18px, 2.3vw, 38px);
}

.rv-home .landing-nav a {
  color: var(--rv-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.rv-home .landing-nav a:hover {
  color: var(--rv-coral-dark);
}

.rv-home .header-actions {
  gap: 10px;
}

.rv-home .header-actions a,
.rv-home .gradient-button,
.rv-home .small-button {
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.rv-home .header-actions a:hover,
.rv-home .gradient-button:hover,
.rv-home .small-button:hover {
  transform: translateY(-2px);
}

.rv-home .header-actions .login {
  padding: 12px 19px;
  color: var(--rv-ink);
  background: transparent;
  border: 1px solid var(--rv-line);
}

.rv-home .header-actions .signup {
  padding: 13px 20px;
  color: white;
  background: var(--rv-ink);
  border: 1px solid var(--rv-ink);
  box-shadow: 0 8px 24px rgba(23, 20, 18, 0.16);
}

.rv-home .hero {
  position: relative;
  min-height: calc(100svh - 78px);
  margin: 0;
  padding: clamp(48px, 8vw, 110px) clamp(22px, 7vw, 110px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0 0 var(--rv-radius-xl) var(--rv-radius-xl);
  box-shadow: var(--rv-shadow);
}

.rv-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 9, 8, 0.76) 0%, rgba(11, 9, 8, 0.28) 55%, rgba(11, 9, 8, 0.10) 100%);
}

.rv-home .hero-content {
  width: min(780px, 100%);
  padding: 0;
  text-align: left;
}

.rv-home .hero .location,
.rv-home .closing small,
.rv-home .section-title small {
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rv-home .hero h1 {
  max-width: 820px;
  margin: 19px 0 30px;
  color: #fffdf8;
  font-size: clamp(62px, 7.8vw, 126px);
  line-height: 0.85;
  letter-spacing: -0.055em;
}

.rv-home .hero h1 .eyes {
  color: var(--rv-coral);
  font-family: inherit;
  font-size: 0.35em;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.rv-home .gradient-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 17px 30px;
  color: var(--rv-ink);
  background: var(--rv-pink);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.rv-home .hero .download-copy {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.rv-home .statement {
  position: relative;
  max-width: none;
  padding: clamp(100px, 13vw, 190px) max(22px, calc((100vw - 1080px) / 2));
  color: var(--rv-ink);
  background: var(--rv-paper);
  text-align: center;
}

.rv-home .statement .sparkle {
  display: block;
  margin-bottom: 25px;
  color: var(--rv-coral);
  font-size: 32px;
}

.rv-home .statement h2 {
  max-width: 950px;
  margin: 0 auto;
  font-size: clamp(48px, 6vw, 90px);
  line-height: 0.95;
}

.rv-home .statement p {
  max-width: 650px;
  margin: 28px auto 34px;
  color: var(--rv-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.rv-home .statement .gradient-button {
  color: white;
  background: var(--rv-ink);
}

.rv-home .how {
  max-width: none;
  padding: clamp(84px, 10vw, 150px) max(22px, calc((100vw - 1220px) / 2));
  background: #fffdf9;
}

.rv-home .section-title {
  max-width: 900px;
  margin: 0 auto clamp(64px, 8vw, 110px);
  text-align: center;
}

.rv-home .section-title small {
  color: var(--rv-coral-dark);
}

.rv-home .section-title h2 {
  margin: 20px 0 0;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.92;
}

.rv-home em {
  color: var(--rv-coral-dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

.rv-home .experience-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 3vw, 38px);
  margin: 0 0 clamp(28px, 4vw, 50px);
}

.rv-home .experience-copy,
.rv-home .experience-photo,
.rv-home .color-card {
  min-height: clamp(500px, 58vw, 690px);
  border-radius: var(--rv-radius-xl);
  overflow: hidden;
}

.rv-home .experience-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 6vw, 82px);
  background: var(--rv-paper);
  border: 1px solid var(--rv-line);
}

.rv-home .experience-copy > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 28px;
  color: white;
  background: var(--rv-coral);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.rv-home .experience-copy h3 {
  margin: 0 0 20px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 0.95;
}

.rv-home .experience-copy p {
  max-width: 520px;
  margin: 0 0 30px;
  color: var(--rv-muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
}

.rv-home .small-button {
  display: inline-flex;
  padding: 14px 22px;
  color: white;
  background: var(--rv-ink);
}

.rv-home .experience-photo {
  position: relative;
  background-position: center;
  background-size: cover;
  box-shadow: var(--rv-shadow-soft);
}

.rv-home .experience-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.2));
}

.rv-home .chair-doodle,
.rv-home .heart-doodle {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 20px;
  color: white;
  font-size: 82px;
}

.rv-home .color-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(42px, 6vw, 78px);
  background: var(--rv-peach);
  border: 1px solid rgba(255, 113, 102, 0.32);
}

.rv-home .color-card::before,
.rv-home .color-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(23, 20, 18, 0.14);
  border-radius: 50%;
}

.rv-home .color-card::before {
  top: -90px;
  right: -60px;
}

.rv-home .color-card::after {
  right: 70px;
  bottom: -155px;
}

.rv-home .mini-date {
  position: relative;
  z-index: 1;
  color: var(--rv-coral-dark);
  font-weight: 800;
  letter-spacing: 0.17em;
}

.rv-home .color-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
}

.rv-home .closing {
  min-height: 620px;
  margin: clamp(22px, 4vw, 58px);
  padding: clamp(48px, 8vw, 100px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  background: var(--rv-ink);
  border-radius: var(--rv-radius-xl);
  overflow: hidden;
}

.rv-home .closing h2 {
  margin: 18px 0 0;
  font-size: clamp(62px, 8vw, 120px);
  line-height: 0.86;
}

.rv-home .closing .gradient-button {
  flex: 0 0 auto;
}

.rv-home footer {
  padding: 40px clamp(22px, 6vw, 84px) 52px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  color: var(--rv-muted);
  background: var(--rv-paper);
  border-top: 1px solid var(--rv-line);
}

.rv-home footer a {
  color: inherit;
}

.rv-home footer .brand {
  color: var(--rv-ink);
  font-size: 30px;
}

/* Authentication, verification and callback pages */
.rv-auth {
  min-height: 100svh;
  background:
    radial-gradient(circle at 6% 8%, rgba(255, 113, 102, 0.20), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(242, 161, 198, 0.22), transparent 28%),
    var(--rv-paper);
}

.rv-auth > .shell {
  width: min(1360px, calc(100% - 32px));
  min-height: calc(100svh - 32px);
  margin: 16px auto;
  overflow: hidden;
  background: var(--rv-card);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow);
}

.rv-auth .visual {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.rv-auth .visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.rv-auth .visual-copy {
  padding: clamp(32px, 6vw, 78px);
}

.rv-auth .visual-copy h1,
.rv-auth .visual h1 {
  font-size: clamp(58px, 7vw, 106px);
  line-height: 0.88;
}

.rv-auth .panel {
  padding: clamp(30px, 6vw, 84px);
  background: var(--rv-card);
}

.rv-auth .panel .card,
.rv-auth > .card {
  padding: clamp(30px, 5vw, 62px);
  background: var(--rv-card);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-soft);
}

.rv-auth > .card {
  width: min(680px, calc(100% - 32px));
  margin: clamp(42px, 10vh, 120px) auto;
}

.rv-auth h1 {
  margin-top: 10px;
  color: var(--rv-ink);
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
}

.rv-auth .eyebrow {
  color: var(--rv-coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rv-auth input,
.rv-auth select,
.rv-auth textarea {
  min-height: 58px;
  padding: 15px 18px;
  color: var(--rv-ink);
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: 18px;
}

.rv-auth button,
.rv-auth .button,
.rv-auth .panel > a,
.rv-auth .card > a {
  min-height: 56px;
  border-radius: 999px;
  font-weight: 800;
}

.rv-auth #rvLanguageButton {
  right: 18px;
  left: auto;
  top: 16px;
  width: auto;
  min-width: 66px;
  margin: 0;
  padding: 0 14px;
}

.rv-auth #rvLanguagePanel {
  right: 18px;
  left: auto;
}

/* Application/onboarding */
.rv-application {
  min-height: 100svh;
  padding: clamp(14px, 3vw, 36px);
  background:
    linear-gradient(140deg, rgba(255, 214, 199, 0.48), transparent 36%),
    linear-gradient(315deg, rgba(242, 161, 198, 0.20), transparent 32%),
    var(--rv-paper);
}

.rv-application > .ambient {
  opacity: 0.32;
}

.rv-application > .shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  background: transparent;
}

.rv-application .top {
  position: sticky;
  top: 12px;
  z-index: 30;
  min-height: 72px;
  padding: 12px 18px;
  color: var(--rv-ink);
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  box-shadow: var(--rv-shadow-soft);
  backdrop-filter: blur(18px);
}

.rv-application .brand,
.rv-application .brand-wordmark {
  color: var(--rv-ink);
  font-size: clamp(28px, 3vw, 42px);
}

.rv-application .app-layout {
  gap: clamp(20px, 4vw, 54px);
  margin-top: clamp(22px, 4vw, 48px);
}

.rv-application .experience-panel,
.rv-application .card,
.rv-application .pending,
.rv-application .success-orbit {
  background: var(--rv-card);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow-soft);
}

.rv-application .experience-panel,
.rv-application .card {
  padding: clamp(26px, 4vw, 58px);
}

.rv-application .experience-panel {
  background: var(--rv-ink);
  color: white;
  overflow: hidden;
}

.rv-application .experience-panel h1,
.rv-application .experience-panel h2 {
  color: white;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.92;
}

.rv-application .section-kicker,
.rv-application .eyebrow {
  color: var(--rv-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rv-application .card h1,
.rv-application .card h2 {
  color: var(--rv-ink);
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.95;
}

.rv-application input,
.rv-application select,
.rv-application textarea {
  min-height: 60px;
  padding: 16px 19px;
  color: var(--rv-ink);
  background: white;
  border: 1px solid var(--rv-line);
  border-radius: 18px;
}

.rv-application textarea {
  min-height: 120px;
}

.rv-application .btn {
  min-height: 58px;
  padding: 15px 25px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rv-application .btn:hover {
  transform: translateY(-2px);
}

.rv-application .btn:not(.secondary) {
  color: var(--rv-ink);
  background: var(--rv-pink);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(242, 161, 198, 0.26);
}

.rv-application .btn.secondary {
  color: var(--rv-ink);
  background: transparent;
  border: 1px solid var(--rv-line);
}

.rv-application .progress {
  overflow: hidden;
  background: var(--rv-paper-deep);
  border-radius: 999px;
}

.rv-application .progress > * {
  background: linear-gradient(90deg, var(--rv-coral), var(--rv-pink));
}

/* Legal and trust pages */
.rv-legal {
  background: var(--rv-paper);
}

.rv-legal .nav {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--rv-ink);
  background: rgba(247, 242, 234, 0.94);
  border-bottom: 1px solid var(--rv-line);
  backdrop-filter: blur(18px);
}

.rv-legal .navin {
  padding-right: 92px;
}

.rv-legal .nav .brand img {
  max-height: 38px;
}

.rv-legal .navlinks a {
  color: var(--rv-ink);
  font-weight: 700;
}

.rv-legal .navbtn {
  color: white !important;
  background: var(--rv-ink);
  border-radius: 999px;
}

.rv-legal .hero {
  padding: clamp(90px, 13vw, 180px) 0;
  color: white;
  background: var(--rv-ink);
  border-radius: 0 0 var(--rv-radius-xl) var(--rv-radius-xl);
}

.rv-legal .hero .eyebrow {
  color: var(--rv-coral);
}

.rv-legal .hero h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(62px, 8vw, 120px);
  line-height: 0.87;
}

.rv-legal .hero .lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 2vw, 24px);
}

.rv-legal .hero .draft {
  margin-top: 34px;
  padding: 24px;
  color: var(--rv-ink);
  background: var(--rv-peach);
  border: 0;
  border-radius: var(--rv-radius-md);
}

.rv-legal main section:not(.hero) {
  padding-top: clamp(72px, 9vw, 125px);
  padding-bottom: clamp(72px, 9vw, 125px);
}

.rv-legal main section:not(.hero):nth-of-type(even) {
  background: var(--rv-card);
}

.rv-legal main section:not(.hero) h2 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.96;
}

.rv-legal .card,
.rv-legal article,
.rv-legal .panel {
  border-color: var(--rv-line);
  border-radius: var(--rv-radius-lg);
}

.rv-legal .footer {
  color: #fff;
  background: var(--rv-ink) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.rv-legal .footer .footlinks,
.rv-legal .footer .footlinks a {
  color: rgba(255, 255, 255, 0.82);
}

.rv-member #requestLanguages.actions,
.rv-member #profileDateLanguages.actions {
  gap: 10px;
}

.rv-member .language-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: 0;
  padding: 10px 15px;
  color: #55495f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(91, 72, 115, 0.16);
  border-radius: 999px;
  background: #f1edff;
  box-shadow: 0 6px 18px rgba(77, 54, 91, 0.06);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.rv-member .language-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 120, 104, 0.38);
}

.rv-member .language-chip:has(input:checked) {
  color: #3d3037;
  border-color: rgba(255, 120, 104, 0.38);
  background: linear-gradient(110deg, #ffe4dc, #f8dff0);
  box-shadow: 0 8px 22px rgba(232, 95, 104, 0.12);
}

.rv-member .language-chip input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.rv-member .language-chip-mark {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(91, 72, 115, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
}

.rv-member .language-chip input:checked + .language-chip-mark {
  border-color: #ff7868;
  background: #ff7868;
}

.rv-member .language-chip input:checked + .language-chip-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rv-member .language-chip:focus-within {
  outline: 3px solid rgba(255, 120, 104, 0.2);
  outline-offset: 2px;
}

/* Web member portal */
.rv-member {
  min-height: 100svh;
  background:
    radial-gradient(circle at 8% 22%, rgba(255, 214, 199, 0.34), transparent 26%),
    radial-gradient(circle at 92% 72%, rgba(219, 233, 223, 0.42), transparent 25%),
    var(--rv-paper);
}

.rv-member .topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 76px;
  color: var(--rv-ink);
  background: rgba(247, 242, 234, 0.94);
  border-bottom: 1px solid var(--rv-line);
  backdrop-filter: blur(18px);
}

.rv-member .topbar .brand {
  color: var(--rv-ink);
  font-size: clamp(28px, 3vw, 40px);
}

.rv-member .topbar .btn,
.rv-member .topbar button {
  min-height: 46px;
  border-radius: 999px;
}

.rv-member > .shell {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 58px) 0 80px;
}

.rv-member .layout {
  gap: clamp(20px, 3vw, 38px);
  align-items: start;
}

.rv-member .side {
  position: sticky;
  top: 102px;
  padding: 20px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-soft);
  backdrop-filter: blur(14px);
}

.rv-member .member-mini {
  padding: 10px 10px 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rv-line);
}

.rv-member .navbtn {
  min-height: 48px;
  margin: 3px 0;
  padding: 12px 15px;
  color: var(--rv-muted);
  background: transparent;
  border: 0;
  border-radius: 16px;
  font-weight: 700;
}

.rv-member .navbtn:hover {
  color: var(--rv-ink);
  background: var(--rv-paper);
}

.rv-member .navbtn.active {
  color: var(--rv-ink);
  background: var(--rv-peach);
}

.rv-member .page {
  min-width: 0;
}

.rv-member .hero {
  position: relative;
  min-height: 300px;
  margin-bottom: clamp(18px, 3vw, 32px);
  padding: clamp(34px, 6vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, var(--rv-coral), var(--rv-pink));
  border: 0;
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow);
}

.rv-member .hero::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -70px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.rv-member .hero h1,
.rv-member .hero h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--rv-ink);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.9;
}

.rv-member .hero p,
.rv-member .hero .muted,
.rv-member .hero .eyebrow {
  position: relative;
  z-index: 1;
  color: rgba(23, 20, 18, 0.72);
}

.rv-member .eyebrow {
  color: var(--rv-coral-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rv-member .grid {
  gap: clamp(14px, 2vw, 22px);
}

.rv-member .card,
.rv-member .plan,
.rv-member .chatbox,
.rv-member .notice {
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-soft);
}

.rv-member .card h2,
.rv-member .card h3,
.rv-member .plan h2,
.rv-member .plan h3 {
  color: var(--rv-ink);
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1;
}

.rv-member .metric {
  min-height: 150px;
  background: var(--rv-card);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
}

.rv-member .metric:nth-child(2n) {
  background: var(--rv-sand);
}

.rv-member .metric-label {
  color: var(--rv-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Member overview statistics: one clean card, without a nested metric box. */
.rv-member #home .dashboard-stat {
  --stat-accent: #ff7868;
  position: relative;
  isolation: isolate;
  min-height: 184px;
  padding: 28px 28px 24px;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.97);
}

.rv-member #home .dashboard-stat::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -32px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--stat-accent) 18%, white);
}

.rv-member #home .dashboard-stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 44px;
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: var(--stat-accent);
}

.rv-member #home .dashboard-stat .metric {
  min-height: 0;
  margin: 22px 0 0;
  padding: 0;
  color: var(--rv-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 0.95;
}

.rv-member #home .dashboard-stat-pricing .metric {
  max-width: 160px;
  font-size: clamp(28px, 2.4vw, 36px) !important;
  line-height: 1.02;
}

.rv-member #home .dashboard-stat .small {
  position: relative;
  margin-top: 10px;
  color: var(--rv-muted);
  font-size: 13px;
}

.rv-member #home .dashboard-stat-credits { --stat-accent: #f3a2cf; }
.rv-member #home .dashboard-stat-matches { --stat-accent: #83d4e5; }
.rv-member #home .dashboard-stat-dates { --stat-accent: #ffbd75; }
.rv-member #home .dashboard-stat-reliability { --stat-accent: #9fcbb5; }

@media (max-width: 650px) {
  .rv-member #home .dashboard-stat {
    min-height: 142px;
    padding: 24px;
  }

  .rv-member #home .dashboard-stat::after { left: 24px; }
}

.rv-member .btn {
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rv-member .btn:hover {
  transform: translateY(-2px);
}

.rv-member .btn.primary {
  color: var(--rv-ink);
  background: var(--rv-pink);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(242, 161, 198, 0.28);
}

.rv-member .btn.ghost {
  color: var(--rv-ink);
  background: transparent;
  border: 1px solid var(--rv-line);
}

.rv-member .btn.danger {
  color: white;
  background: #a43d46;
  border-color: #a43d46;
}

.rv-member input,
.rv-member select,
.rv-member textarea {
  min-height: 56px;
  padding: 15px 17px;
  color: var(--rv-ink);
  background: white;
  border: 1px solid var(--rv-line);
  border-radius: 17px;
}

.rv-member textarea {
  min-height: 120px;
}

.rv-member .status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rv-member .status.approved {
  color: #1c6646;
  background: var(--rv-sage);
}

.rv-member .status.pending {
  color: #775312;
  background: #f5e8cf;
}

.rv-member .chatrow {
  padding: 16px;
  border-radius: 18px;
}

@media (max-width: 1650px) {
  .rv-home .landing-nav {
    display: none;
  }

  .rv-home .experience-row,
  .rv-home .experience-row.reverse {
    grid-template-columns: 1fr;
  }

  .rv-home .experience-row.reverse .experience-photo {
    order: 2;
  }

  .rv-home .experience-copy,
  .rv-home .experience-photo,
  .rv-home .color-card {
    min-height: 520px;
  }

  .rv-home .closing {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }

  .rv-home footer {
    grid-template-columns: 1fr;
  }

  .rv-member .side {
    position: static;
  }
}

@media (max-width: 700px) {
  .rv-editorial {
    --rv-radius-xl: 30px;
    --rv-radius-lg: 24px;
  }

  .rv-home .app-header {
    min-height: 70px;
    padding: 11px 16px;
  }

  .rv-home .header-actions .login {
    display: none;
  }

  .rv-home .header-actions .signup {
    padding: 11px 15px;
    font-size: 13px;
  }

  .rv-home .hero {
    min-height: calc(100svh - 70px);
    padding: 42px 20px;
  }

  .rv-home .hero h1 {
    font-size: clamp(56px, 18vw, 78px);
  }

  .rv-home .statement,
  .rv-home .how {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rv-home .experience-copy,
  .rv-home .experience-photo,
  .rv-home .color-card {
    min-height: 450px;
  }

  .rv-home .closing {
    min-height: 560px;
    margin: 16px;
    padding: 34px 24px;
  }

  .rv-auth > .shell {
    width: calc(100% - 16px);
    min-height: calc(100svh - 16px);
    margin: 8px;
  }

  .rv-application {
    padding: 8px;
  }

  .rv-application .top {
    top: 6px;
  }

  .rv-member > .shell {
    width: min(100% - 16px, 1480px);
  }

  .rv-member .hero {
    min-height: 260px;
    padding: 30px 24px;
  }

  .rv-member .card,
  .rv-member .plan,
  .rv-member .chatbox,
  .rv-member .notice {
    padding: 24px 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-editorial *,
  .rv-editorial *::before,
  .rv-editorial *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
