:root{
  /* Eye-relaxing light theme (warm paper) */
  --bg: #f7f4ee;        /* warm paper */
  --bg2:#fbfaf7;        /* slightly lighter */
  --card:#ffffff;       /* cards */
  --text:#0f172a;       /* slate-900 */
  --muted:#475569;      /* slate-600 */
  --stroke: rgba(15,23,42,.10);
  --shadow: 0 18px 50px rgba(2,6,23,.10);
  --radius:18px;

  /* Brand accents (calm) */
  --brand:#5b6cff;      /* soft indigo */
  --brand2:#16a34a;     /* green */
  --brand3:#0ea5e9;     /* sky */

  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 600px at 15% 5%, rgba(91,108,255,.12), transparent 60%),
    radial-gradient(900px 500px at 85% 15%, rgba(14,165,233,.10), transparent 60%),
    radial-gradient(1000px 700px at 40% 100%, rgba(22,163,74,.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:0 22px}

/* NAV */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(251,250,247,.78);
  border-bottom:1px solid var(--stroke);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; gap:10px; align-items:center;
  font-weight:900; letter-spacing:.2px;
}
.logo{
  width:34px; height:34px; border-radius:10px;
  background: linear-gradient(135deg, var(--brand), #22c55e);
  box-shadow: 0 10px 25px rgba(91,108,255,.18);
  position:relative;
}
.logo:after{
  content:"";
  position:absolute; inset:9px;
  border-radius:8px;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(15,23,42,.12);
}

.nav-links{display:flex; gap:10px; align-items:center}
.nav-links a{
  color: rgba(15,23,42,.78);
  font-weight:800;
  font-size:14px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav-links a:hover{
  background: rgba(15,23,42,.04);
}
.nav-links a.is-active{
  background: rgba(91,108,255,.10);
  border-color: rgba(91,108,255,.20);
  color: rgba(15,23,42,.92);
}

@media (max-width: 920px){ .nav-links{display:none} }

/* BUTTONS */
.btn{
  display:inline-flex; gap:10px; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.70);
  color: rgba(15,23,42,.92);
  font-weight:900;
  font-size:14px;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
  cursor:pointer;
  user-select:none;
}
.btn:hover{background: rgba(255,255,255,.92); border-color: rgba(15,23,42,.18)}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background: linear-gradient(135deg, var(--brand), #22c55e);
  border-color: rgba(255,255,255,.55);
  color: #081018;
  box-shadow: 0 18px 40px rgba(91,108,255,.18);
}
.btn.primary:hover{filter: brightness(1.03)}
.btn.ghost{
  background: transparent;
  border-color: rgba(15,23,42,.14);
}
.btn.ghost:hover{background: rgba(15,23,42,.04)}

/* HERO / PAGE */
.hero{padding: 56px 0 10px;}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:26px;
  align-items:stretch;
}
@media (max-width: 920px){ .hero-grid{grid-template-columns:1fr} }

.badge{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.65);
  color: rgba(15,23,42,.78);
  font-size:13px; font-weight:900;
  width: fit-content;
}
.badge .dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--brand2);
  box-shadow: 0 0 0 4px rgba(22,163,74,.12);
}

h1{
  margin:14px 0 12px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -1px;
}
h2{
  margin:0 0 10px;
  font-size: 26px;
  letter-spacing:-.4px;
}
h3{margin:0 0 6px; font-size:16px}

.grad{
  background: linear-gradient(90deg, rgba(15,23,42,.96), rgba(15,23,42,.60));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  color: rgba(15,23,42,.72);
  font-size: 16px;
  line-height: 1.85;
  max-width: 72ch;
  margin: 0 0 18px;
}
.small{
  color: rgba(71,85,105,.95);
  font-size:13px;
  line-height:1.75;
  margin:6px 0 0
}

.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}

.section{padding: 44px 0;}
.desc{
  margin:0 0 18px;
  color: rgba(15,23,42,.68);
  line-height:1.85;
  max-width: 85ch;
}

/* PANELS / CARDS */
.panel{
  border:1px solid rgba(15,23,42,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.pad{padding:18px}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 920px){ .grid3{grid-template-columns:1fr} }

.feature{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.82);
}
.feature .icon{
  width:40px; height:40px; border-radius:14px;
  background: rgba(91,108,255,.12);
  border:1px solid rgba(91,108,255,.20);
  display:grid; place-items:center;
  margin-bottom:10px;
}
.feature p{margin:0; color: rgba(15,23,42,.68); line-height:1.75; font-size:14px}

/* Steps */
.steps{
  display:grid; grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 920px){ .steps{grid-template-columns:1fr} }

.step{
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
}

/* KPI */
.kpi{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-top: 10px;
}
.kpi .box{
  flex: 1 1 180px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
}
.kpi .n{font-size:22px; font-weight:950; letter-spacing:-.4px}
.kpi .t{margin-top:6px; color: rgba(15,23,42,.62); font-size:13px; line-height:1.65}

.hr{height:1px; background: rgba(15,23,42,.10); margin: 18px 0;}

/* FOOTER */
.footer{
  padding: 26px 0 42px;
  border-top:1px solid rgba(15,23,42,.10);
  margin-top: 10px;
}
.footgrid{
  display:flex; gap:14px; justify-content:space-between; flex-wrap:wrap;
  align-items:flex-start;
}
.links{display:flex; gap:10px; flex-wrap:wrap}
.links a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.70);
}
.links a:hover{background: rgba(255,255,255,.95)}

/* Forms */
.form{display:grid; gap:12px}
.field{display:grid; gap:8px}
label{font-weight:900; font-size:13px; color: rgba(15,23,42,.78)}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.86);
  color: rgba(15,23,42,.92);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
input:focus, textarea:focus{
  border-color: rgba(91,108,255,.45);
  box-shadow: 0 0 0 4px rgba(91,108,255,.14);
}

/* Code */
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .95em;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.10);
  padding: 2px 6px;
  border-radius: 8px;
}
