:root{
  --rc-primary:#0F172A;
  --rc-accent:#22C55E;
  --rc-bg:#F8FAFC;
  --rc-text:#0F172A;
  --rc-muted:#64748B;
  --rc-border:#E2E8F0;
  --rc-white:#FFFFFF;
  --rc-radius:16px;

  /* sombras: más premium */
  --rc-shadow: 0 18px 40px rgba(15, 23, 42, 0.10), 0 2px 10px rgba(15, 23, 42, 0.05);
  --rc-shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--rc-text);
  background:var(--rc-bg);
}

a{ color:inherit; text-decoration:none; }

/* ====== Astra landing helpers ====== */
.rc-wrap{
  width:100%;
  background:
    radial-gradient(1200px 600px at 18% 10%, rgba(34,197,94,.10), transparent 55%),
    radial-gradient(900px 520px at 82% 18%, rgba(15,23,42,.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--rc-bg) 60%, #ffffff 100%);
}

/* Astra a veces mete contenedor. Esto ayuda a full-width sin pelear con Astra */
.ast-container{
  max-width:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.rc-container{ max-width:1100px; margin:0 auto; padding:0 18px; }

/* ====== Header (si lo usas) ====== */
.rc-header{
  position:sticky; top:0;
  background:rgba(248,250,252,0.85);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid rgba(226,232,240,0.9);
  z-index:50;
}
.rc-header__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 0;
}
.rc-logo{ display:flex; align-items:center; gap:10px; }
.rc-logo__mark{
  width:34px; height:34px; border-radius:10px;
  background:linear-gradient(135deg, var(--rc-primary), var(--rc-accent));
}
.rc-logo__text{ font-weight:800; letter-spacing:-0.3px; }

.rc-nav__menu{ list-style:none; display:flex; gap:16px; padding:0; margin:0; }
.rc-nav__menu a{ color:var(--rc-muted); font-weight:700; }
.rc-nav__menu a:hover{ color:var(--rc-primary); }

.rc-header__actions{ display:flex; gap:10px; align-items:center; }

/* ====== Buttons ====== */
.rc-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease, background .12s ease;
}

.rc-btn--primary{
  background: linear-gradient(180deg, #0F172A 0%, #0B1220 100%);
  color:var(--rc-white);
  box-shadow: 0 14px 28px rgba(15,23,42,.18);
}
.rc-btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15,23,42,.22);
}

.rc-btn--ghost{
  background: rgba(255,255,255,.55);
  border-color: rgba(226,232,240,.95);
  color:var(--rc-primary);
}
.rc-btn--ghost:hover{
  background: rgba(255,255,255,.75);
  transform: translateY(-1px);
  box-shadow: var(--rc-shadow-soft);
}

.rc-btn--block{ width:100%; }

.rc-main{ min-height:60vh; }

/* ====== Hero ====== */
.rc-hero{ padding:74px 0 28px; }
.rc-hero__grid{
  display:grid; grid-template-columns: 1.2fr 0.8fr;
  gap:24px; align-items:start;
}
@media(max-width: 920px){
  .rc-hero{ padding:46px 0 18px; }
  .rc-hero__grid{ grid-template-columns:1fr; }
}

.rc-h1{
  font-size:52px;
  line-height:1.04;
  margin:0 0 12px;
  letter-spacing:-1.2px;
  font-weight:800;
}
@media(max-width: 920px){
  .rc-h1{ font-size:40px; }
}
.rc-h2{ font-size:26px; margin:0 0 12px; letter-spacing:-0.3px; font-weight:800; }
.rc-h3{ font-size:18px; margin:0 0 6px; font-weight:800; }

.rc-lead{
  color:var(--rc-muted);
  font-size:17px;
  line-height:1.75;
  margin:0 0 14px;
  max-width:54ch;
}

.rc-badge{
  display:inline-flex; padding:6px 10px; border-radius:999px;
  background:rgba(255,255,255,.70);
  border:1px solid rgba(226,232,240,.85);
  color:var(--rc-muted);
  font-weight:700;
  margin-right:8px;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
}

/* ====== Cards ====== */
.rc-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(226,232,240,.95);
  border-radius:var(--rc-radius);
  box-shadow:var(--rc-shadow);
  padding:16px;
}

.rc-card__title{
  font-weight:900;
  margin-bottom:14px;
  font-size:14px;
  letter-spacing:.2px;
  text-transform:uppercase;
  color: rgba(15,23,42,.75);
}

/* exchange card glow */
.rc-exchange{
  position: relative;
  overflow: hidden;
}
.rc-exchange:before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(520px 280px at 20% 18%, rgba(34,197,94,.12), transparent 60%);
  pointer-events:none;
}
.rc-exchange > *{ position: relative; }

/* ====== Form fields ====== */
.rc-field{ margin-bottom:12px; }
.rc-field label{
  display:block;
  font-size:13px;
  color:var(--rc-muted);
  font-weight:800;
  margin-bottom:6px;
}

.rc-field__row{ display:flex; gap:10px; }

.rc-select, .rc-input, .rc-textarea{
  width:100%;
  border:1px solid rgba(226,232,240,.95);
  border-radius:12px;
  padding:10px 12px;
  font-weight:800;
  background:rgba(248,250,252,.75);
  color:var(--rc-primary);
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.rc-select:focus, .rc-input:focus, .rc-textarea:focus{
  border-color: rgba(34,197,94,.55);
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
}

.rc-textarea{ resize:vertical; font-weight:600; }
.rc-input[readonly]{ opacity:0.85; }

/* ====== Summary ====== */
.rc-summary{
  display:flex; justify-content:space-between; gap:10px;
  border-top:1px solid rgba(226,232,240,.9);
  padding-top:10px; margin-top:12px; margin-bottom:12px;
}
.rc-summary strong{ font-weight:900; }
.rc-muted{ color:var(--rc-muted); }
.rc-note{ margin:10px 0 0; font-size:12px; }

/* ====== Sections ====== */
.rc-section{ padding:34px 0; }
.rc-section--alt{
  background:
    radial-gradient(900px 420px at 70% 15%, rgba(34,197,94,.08), transparent 55%),
    rgba(255,255,255,.65);
  border-top:1px solid rgba(226,232,240,.9);
  border-bottom:1px solid rgba(226,232,240,.9);
}

.rc-grid{ display:grid; gap:12px; }

.rc-grid--pairs{ grid-template-columns: repeat(3, 1fr); }
@media(max-width: 800px){ .rc-grid--pairs{ grid-template-columns:1fr; } }

.rc-pair{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(226,232,240,.95);
  border-radius:14px;
  padding:14px;
  font-weight:900;
  transition: transform .12s ease, box-shadow .12s ease;
}
.rc-pair:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,.10);
}

.rc-grid--steps{ grid-template-columns: repeat(3, 1fr); }
@media(max-width: 900px){ .rc-grid--steps{ grid-template-columns:1fr; } }

.rc-step{
  width:34px; height:34px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(34,197,94,0.12);
  color:var(--rc-primary);
  font-weight:900;
  margin-bottom:10px;
}

.rc-split{
  display:grid; grid-template-columns: 1fr 1fr; gap:14px;
}
@media(max-width:900px){ .rc-split{ grid-template-columns:1fr; } }

.rc-check{ margin:0; padding-left:18px; color:var(--rc-primary); }
.rc-check li{ margin:8px 0; color:var(--rc-muted); font-weight:700; }

/* ====== Pages/Table/Footer (si los usas) ====== */
.rc-page{ padding:26px 0 36px; }

.rc-table{
  display:grid; gap:0;
  border:1px solid rgba(226,232,240,.95);
  border-radius:14px;
  overflow:hidden;
  background: rgba(255,255,255,.9);
}
.rc-table__row{ display:grid; grid-template-columns: 1.2fr 0.4fr 1fr; gap:0; }
.rc-table__row > div{ padding:12px; border-bottom:1px solid rgba(226,232,240,.9); }
.rc-table__head > div{ background:rgba(248,250,252,.85); font-weight:900; }
.rc-table__row:last-child > div{ border-bottom:none; }

.rc-footer{
  border-top:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,0.75);
  padding:22px 0;
}
.rc-footer__grid{
  display:grid; grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap:14px;
}
@media(max-width:900px){ .rc-footer__grid{ grid-template-columns:1fr; } }
.rc-footer__brand{ font-weight:900; }
.rc-footer__title{ font-weight:900; margin-bottom:8px; }
.rc-footer__links{ list-style:none; padding:0; margin:0; }
.rc-footer__links li{ margin:8px 0; }
.rc-footer__links a{ color:var(--rc-muted); font-weight:800; }
.rc-footer__links a:hover{ color:var(--rc-primary); }
.rc-footer__bottom{ margin-top:12px; padding-top:12px; border-top:1px solid rgba(226,232,240,.9); }
