:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#5b6476;
  --line:#e7ebf3;
  --brand:#0a63ff;      /* RenSolve blue */
  --brand2:#0ea5a4;     /* Ripplet teal */
  --accent:#d11b1b;     /* circuit red */
  --card:#f7f9fe;
  --shadow: 0 10px 30px rgba(2,10,26,.08);
  --radius:18px;
  --max:1100px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1000px 600px at 80% -10%, rgba(14,165,164,.12), transparent 60%),
              radial-gradient(1000px 600px at 10% -10%, rgba(10,99,255,.10), transparent 60%),
              var(--bg);
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:34px;width:auto}
.brand .wordmark{font-weight:800;letter-spacing:.2px}
.brand .tag{font-size:12px;color:var(--muted);margin-top:-2px}
.nav-links{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.nav-links a{font-size:14px;color:var(--muted);padding:8px 10px;border-radius:10px}
.nav-links a:hover{background:rgba(10,99,255,.08);color:var(--text)}
.cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:10px 14px;border-radius:12px;border:1px solid rgba(10,99,255,.22);
  background:rgba(10,99,255,.10);
  color:var(--text);font-weight:700;font-size:14px
}
.cta:hover{background:rgba(10,99,255,.14)}
.cta.primary{background:linear-gradient(90deg, rgba(10,99,255,.95), rgba(14,165,164,.95));
  border-color:transparent;color:#fff; box-shadow: 0 12px 26px rgba(10,99,255,.18);
}
.cta.primary:hover{filter:brightness(1.03)}
.hero{padding:64px 0 28px}
.hero-grid{display:grid;grid-template-columns: 1.2fr .8fr;gap:30px;align-items:center}
.kicker{display:inline-flex;gap:10px;align-items:center;font-weight:700;font-size:13px;
  padding:7px 12px;border:1px solid rgba(14,165,164,.30);
  border-radius:999px;background:rgba(14,165,164,.10);color:var(--muted)
}
h1{font-size:48px;line-height:1.05;margin:14px 0 14px}
.lead{font-size:18px;color:var(--muted);max-width:62ch;margin:0 0 18px}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 0}
.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.70));
  border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:18px;
}
.hero-card img{width:100%;height:auto;border-radius:14px;border:1px solid var(--line);background:#fff}
.hero-card .mini{display:flex;gap:12px;align-items:center;margin-top:14px}
.hero-card .mini img{width:56px;height:56px;border-radius:14px;object-fit:cover}
.hero-card .mini .m1{font-weight:800}
.hero-card .mini .m2{font-size:13px;color:var(--muted)}
.section{padding:34px 0}
.section h2{font-size:28px;margin:0 0 10px}
.section p{color:var(--muted);margin:0}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}
.card h3{margin:6px 0 6px;font-size:16px}
.card p{margin:0;color:var(--muted);font-size:14px}
.pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.pill{font-size:12px;color:var(--muted);padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:#fff}
.split{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:6px 0}
.quote{
  border-left:4px solid rgba(14,165,164,.65);
  padding:10px 14px;
  margin-top:14px;
  background:rgba(14,165,164,.08);
  border-radius:12px;
  color:var(--muted);
}
.footer{padding:26px 0 40px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
.footer a{color:var(--muted);text-decoration:underline}
.pagehead{padding:42px 0 12px}
.pagehead h1{font-size:38px}
.badge{display:inline-flex;align-items:center;gap:8px;font-size:12px;
  padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted)}
.small{font-size:13px;color:var(--muted)}
.form{
  background:rgba(255,255,255,.8);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
label{display:block;font-size:13px;color:var(--muted);margin-top:10px}
input,textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  font:inherit;
  background:#fff;
}
textarea{min-height:120px;resize:vertical}
.hr{height:1px;background:var(--line);margin:18px 0}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:40px}
  .grid3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .nav-links{display:none}
}

.feature-img{width:100%;height:auto;border-radius:14px;border:1px solid var(--line);background:#fff;margin-bottom:12px}
.card.tight{padding:14px}

/* --- carousel + lightbox --- */
.carousel-wrap{position:relative}
.carousel-dots{display:flex;gap:6px;justify-content:center;margin-top:10px}
.carousel-dots .dot{
  width:10px;height:10px;border-radius:999px;border:1px solid var(--line);
  background:#fff; cursor:pointer; padding:0;
}
.carousel-dots .dot.on{background:rgba(10,99,255,.55);border-color:rgba(10,99,255,.25)}
#lightbox{position:fixed;inset:0;display:none;z-index:1000}
#lightbox.open{display:block}
#lightbox .lb-backdrop{position:absolute;inset:0;background:rgba(9,14,25,.72)}
#lightbox .lb-dialog{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(1100px, calc(100vw - 28px));
  max-height:calc(100vh - 28px);
  background:#fff;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.3);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  display:flex;flex-direction:column;
}
#lightbox .lb-close{
  position:absolute;right:10px;top:10px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.85);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-size:14px;
}
#lightbox .lb-img{
  width:100%;
  height:auto;
  max-height:calc(100vh - 120px);
  object-fit:contain;
  background:#fff;
}
#lightbox .lb-caption{
  padding:12px 14px;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid var(--line);
  background:#fff;
}

/* Page header subheadings should align visually with the H1 */
.pagehead .lead {
  max-width: 100%;
}
/* Allow page header subheadings to align with H1 width */
.pagehead .lead {
  max-width: 100%;
}

/* Allow cards to span both columns in split layouts (used only on select pages) */
.split .span-2 {
  grid-column: 1 / -1;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
}

.lb-prev { left: 12px; }
.lb-next { right: 12px; }

.lb-prev:hover,
.lb-next:hover {
  background: #fff;
}

