/* RUPTLINE_PUBLIC_PAGES_STYLE_R2 */

html,
body.rl-public-web-page{
  min-height:100%;
}

body.rl-public-web-page{
  margin:0;
  background:#05060a;
  color:#ececf0;
  font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

html[data-theme="light"] body.rl-public-web-page{
  background:#f7f7f4;
  color:#171920;
}

body.rl-public-web-page .rl-public-generic-header-r2{
  position:fixed!important;
  top:0!important;
  overflow:visible!important;
}

.rl-public-web-login-r2,
.rl-public-web-register-r2{
  text-decoration:none!important;
}

.rl-public-web-page .rl-public-mobile-r15__auth a{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-size:11px;
  font-weight:600;
}

.rl-public-web-page .rl-public-mobile-r15__auth a:last-child{
  border-color:transparent;
  background:#fff;
  color:#111318;
}

/* Base para contenido público normal */
.rl-public-web-page > main{
  box-sizing:border-box;
  padding-top:108px;
}

.rl-public-web-page .page-section-inner{
  width:min(calc(100% - 48px),1180px);
  margin-left:auto;
  margin-right:auto;
}

/* Sobre Ruptline */
.rl-public-web-page .about-page{
  width:100%;
}

.rl-public-web-page .about-page .page-section{
  padding:68px 0;
}

.rl-public-web-page .about-page .about-hero-section{
  padding-top:70px;
}

.rl-public-web-page .about-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
  gap:46px;
  align-items:start;
}

.rl-public-web-page .section-kicker{
  margin:0 0 14px;
  color:#8258f1;
  font-size:10px;
  line-height:1;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.rl-public-web-page .about-hero-grid h1{
  max-width:850px;
  margin:0;
  color:#f0f0f3;
  font-size:clamp(44px,5.7vw,76px);
  line-height:.99;
  font-weight:520;
  letter-spacing:-.055em;
}

.rl-public-web-page .about-hero-grid > div > p:not(.section-kicker){
  max-width:760px;
  margin:22px 0 0;
  color:#7d8490;
  font-size:14px;
  line-height:1.7;
}

.rl-public-web-page .about-founder-card{
  padding:24px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  background:#0d0e13;
}

.rl-public-web-page .home-founder-avatar{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#7654df;
  color:#fff;
  font-size:13px;
  font-weight:650;
}

.rl-public-web-page .about-founder-card h2{
  margin:18px 0 7px;
  color:#ececf0;
  font-size:17px;
  font-weight:570;
}

.rl-public-web-page .about-founder-card p{
  margin:0;
  color:#737986;
  font-size:11px;
  line-height:1.65;
}

.rl-public-web-page .chips{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px!important;
}

.rl-public-web-page .chip{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  color:#b8bdc7;
  background:transparent;
  text-decoration:none;
  font-size:10px;
}

.rl-public-web-page .content-block{
  max-width:800px;
}

.rl-public-web-page .content-block h2,
.rl-public-web-page .page-section-inner > h2{
  margin:0 0 18px;
  color:#ececf0;
  font-size:clamp(28px,3.6vw,44px);
  line-height:1.08;
  font-weight:520;
  letter-spacing:-.04em;
}

.rl-public-web-page .content-block p{
  margin:0 0 16px;
  color:#7d8490;
  font-size:13px;
  line-height:1.75;
}

.rl-public-web-page .home-product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:30px;
}

.rl-public-web-page .home-product-card{
  min-height:210px;
  padding:20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:#0d0e13;
  color:inherit;
  text-decoration:none;
}

.rl-public-web-page .home-product-card > span{
  color:#8258f1;
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.rl-public-web-page .home-product-card h3{
  margin:42px 0 8px;
  color:#ececf0;
  font-size:16px;
  font-weight:560;
}

.rl-public-web-page .home-product-card p{
  margin:0;
  color:#737986;
  font-size:10.5px;
  line-height:1.55;
}

.rl-public-web-page .home-faq-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:28px;
}

.rl-public-web-page .home-faq-item{
  padding:22px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:#0d0e13;
}

.rl-public-web-page .home-faq-item h3{
  margin:0 0 8px;
  color:#ececf0;
  font-size:14px;
  font-weight:560;
}

.rl-public-web-page .home-faq-item p{
  margin:0;
  color:#737986;
  font-size:11px;
  line-height:1.6;
}

/* Legal / confianza */
.rl-public-web-page .legal-page,
.rl-public-web-page main.page-section{
  min-height:70vh;
}

.rl-public-web-page .rl-trust-page{
  color:#dfe0e5;
}

.rl-public-web-page .rl-trust-page__eyebrow{
  color:#8258f1;
  opacity:1!important;
}

.rl-public-web-page .rl-trust-page h1,
.rl-public-web-page .rl-trust-section h2,
.rl-public-web-page .rl-trust-section h3{
  color:#f0f0f3;
}

.rl-public-web-page .rl-trust-page__lead,
.rl-public-web-page .rl-trust-page__meta,
.rl-public-web-page .rl-trust-section p,
.rl-public-web-page .rl-trust-section li{
  color:#858b96;
}

.rl-public-web-page .rl-trust-page a{
  color:#b49dff;
}

.rl-public-web-page .rl-trust-page__nav a{
  color:#aeb3bd;
  background:rgba(255,255,255,.025);
}

.rl-public-web-page .rl-trust-card{
  background:#0d0e13;
}

.rl-public-web-page .rl-trust-note{
  color:#a7acb5;
  background:rgba(255,255,255,.035)!important;
}

/* Footer siempre oscuro */
.rl-public-web-page .rl-footer-r14{
  background:#000!important;
  color:#fff!important;
}

.rl-public-web-page .rl-footer-r14__grid{
  grid-template-columns:1.05fr 1.55fr 1fr!important;
}

/* Light */
html[data-theme="light"] .rl-public-web-page .about-hero-grid h1,
html[data-theme="light"] .rl-public-web-page .about-founder-card h2,
html[data-theme="light"] .rl-public-web-page .content-block h2,
html[data-theme="light"] .rl-public-web-page .page-section-inner > h2,
html[data-theme="light"] .rl-public-web-page .home-product-card h3,
html[data-theme="light"] .rl-public-web-page .home-faq-item h3,
html[data-theme="light"] .rl-public-web-page .rl-trust-page h1,
html[data-theme="light"] .rl-public-web-page .rl-trust-section h2,
html[data-theme="light"] .rl-public-web-page .rl-trust-section h3{
  color:#171920;
}

html[data-theme="light"] .rl-public-web-page .about-founder-card,
html[data-theme="light"] .rl-public-web-page .home-product-card,
html[data-theme="light"] .rl-public-web-page .home-faq-item,
html[data-theme="light"] .rl-public-web-page .rl-trust-card{
  background:#fff;
  border-color:rgba(20,23,35,.08);
}

html[data-theme="light"] .rl-public-web-page .chip,
html[data-theme="light"] .rl-public-web-page .rl-trust-page__nav a{
  border-color:rgba(20,23,35,.10);
  color:#626a78;
  background:#fff;
}

html[data-theme="light"] .rl-public-web-page .rl-trust-page{
  color:#2a2d34;
}

html[data-theme="light"] .rl-public-web-page .rl-trust-page__lead,
html[data-theme="light"] .rl-public-web-page .rl-trust-page__meta,
html[data-theme="light"] .rl-public-web-page .rl-trust-section p,
html[data-theme="light"] .rl-public-web-page .rl-trust-section li,
html[data-theme="light"] .rl-public-web-page .content-block p,
html[data-theme="light"] .rl-public-web-page .about-hero-grid > div > p:not(.section-kicker){
  color:#666e7b;
}

@media(max-width:900px){
  .rl-public-web-page .about-hero-grid{
    grid-template-columns:1fr;
  }

  .rl-public-web-page .about-founder-card{
    max-width:520px;
  }

  .rl-public-web-page .home-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .rl-public-web-page .rl-footer-r14__grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:720px){
  .rl-public-web-page > main{
    padding-top:82px;
  }

  .rl-public-web-page .page-section-inner{
    width:min(calc(100% - 30px),1180px);
  }

  .rl-public-web-page .about-page .page-section{
    padding:48px 0;
  }

  .rl-public-web-page .about-hero-grid h1{
    font-size:clamp(39px,12vw,58px);
  }

  .rl-public-web-page .home-product-grid,
  .rl-public-web-page .home-faq-grid{
    grid-template-columns:1fr;
  }

  .rl-public-web-page .rl-footer-r14__grid{
    grid-template-columns:1fr 1fr!important;
  }
}

@media(max-width:420px){
  .rl-public-web-page .rl-footer-r14__grid{
    grid-template-columns:1fr!important;
  }
}

/* ==========================================================
   RUPTLINE_PUBLIC_WEB_UNIFY_R3
   Dark mode unificado
   ========================================================== */

html[data-theme="dark"],
html[data-ally-theme="dark"]{
  color-scheme:dark;
}

html[data-theme="light"],
html[data-ally-theme="light"]{
  color-scheme:light;
}

html[data-theme="dark"] body.rl-public-web-page,
html[data-ally-theme="dark"] body.rl-public-web-page{
  background:#05060a!important;
  color:#ececf0!important;
}

html[data-theme="dark"] body.rl-public-web-page .rl-trust-page,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-page{
  color:#dfe0e5!important;
}

html[data-theme="dark"] body.rl-public-web-page .rl-trust-page h1,
html[data-theme="dark"] body.rl-public-web-page .rl-trust-section h2,
html[data-theme="dark"] body.rl-public-web-page .rl-trust-section h3,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-page h1,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-section h2,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-section h3{
  color:#f0f0f3!important;
}

html[data-theme="dark"] body.rl-public-web-page .rl-trust-page__lead,
html[data-theme="dark"] body.rl-public-web-page .rl-trust-page__meta,
html[data-theme="dark"] body.rl-public-web-page .rl-trust-section p,
html[data-theme="dark"] body.rl-public-web-page .rl-trust-section li,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-page__lead,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-page__meta,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-section p,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-section li{
  color:#858b96!important;
}

html[data-theme="dark"] body.rl-public-web-page .rl-trust-card,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-card{
  background:#0d0e13!important;
  border-color:rgba(255,255,255,.09)!important;
}

html[data-theme="dark"] body.rl-public-web-page .rl-trust-page__nav a,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-page__nav a{
  color:#b8bdc7!important;
  background:rgba(255,255,255,.025)!important;
  border-color:rgba(255,255,255,.10)!important;
}

html[data-theme="dark"] body.rl-public-web-page .rl-trust-note,
html[data-ally-theme="dark"] body.rl-public-web-page .rl-trust-note{
  color:#a7acb5!important;
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(255,255,255,.10)!important;
}

/* El footer nunca cambia a blanco */
body.rl-public-web-page .rl-public-site-footer-r3,
html[data-theme="light"] body.rl-public-web-page .rl-public-site-footer-r3,
html[data-ally-theme="light"] body.rl-public-web-page .rl-public-site-footer-r3{
  background:#000!important;
  color:#fff!important;
}
