:root{
  --bg:#fafafa;
  --card:#ffffff;
  --text:#111;
  --muted:#555;
  --border:#eaeaea;
  --shadow: 0 12px 50px rgba(0,0,0,0.08);
  --shadow2: 0 8px 30px rgba(0,0,0,0.06);
  --radius:18px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(17,17,17,0.08), transparent 60%),
    radial-gradient(900px 520px at 82% 6%, rgba(17,17,17,0.06), transparent 60%),
    var(--bg);
}

a{ color: inherit; }

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 32px 60px;
}

/* NAV */
.nav{
  max-width:1100px;
  margin:0 auto;
  padding:16px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  position: sticky;
  top: 0;
  background: rgba(250,250,250,0.82);
  backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid #eee;
}

.brand{
  font-weight:900;
  font-size:18px;
  letter-spacing:0.2px;
  text-decoration:none;
}

.nav-links{
  display:flex;
  gap:16px;
  align-items:center;
}

.nav-links a{
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  opacity:0.82;
}

.nav-links a:hover{ opacity:1; }

.nav-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Buttons */
.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:12px;
  font-weight:900;
  text-decoration:none;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  cursor:pointer;
}

.btn.primary{
  background:#111;
  border-color:#111;
  color:#fff;
}

.btn.secondary{
  background:#fff;
  border-color:#ddd;
  color:#111;
}

/* HERO */
.hero{
  padding:56px 0 26px;
  max-width:1000px;
  margin:0 auto;
}

.badge{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(17,17,17,0.08);
  border:1px solid rgba(17,17,17,0.12);
  font-weight:900;
  font-size:12px;
  margin-bottom:14px;
}

.hero h1{
  font-size:48px;
  line-height:1.08;
  margin:0 0 14px;
}

.hero p{
  font-size:18px;
  color:#444;
  margin:0 0 22px;
  max-width:720px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.hero-split{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:24px;
  align-items:center;
}

@media (max-width: 900px){
  .hero-split{ grid-template-columns: 1fr; }
  .nav-links{ display:none; }
}

/* Trust row */
.trust{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  max-width:760px;
}

@media (max-width: 900px){
  .trust{ grid-template-columns: 1fr; }
}

.trust-item{
  background: rgba(255,255,255,0.7);
  border:1px solid #eee;
  border-radius:14px;
  padding:14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}

.trust-title{ font-weight:900; margin-bottom:6px; }
.trust-text{ color:#555; font-size:14px; }

/* Mock card */
.mock{
  background:#fff;
  border:1px solid #eee;
  border-radius:18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.mock-top{
  padding:12px 14px;
  font-weight:900;
  border-bottom:1px solid #eee;
  background: #fafafa;
}

.mock-body{ padding:14px; }

.mock-line{
  padding:10px 0;
  border-bottom:1px dashed #eee;
  color:#333;
}

.mock-line:last-child{ border-bottom:none; }

.mock-line.strong{ font-weight:900; }
.mock-line.muted{ color:#666; }

/* Cards */
.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px;
  margin-top:18px;
}

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap;
}

.card h2{ margin:0 0 8px; }

.muted{ color:var(--muted); margin:0; }

/* segmented */
.segmented{ display:flex; gap:10px; }
.seg{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
  font-weight:900;
  font-size:13px;
}
.seg.active{ background:#111; color:#fff; border-color:#111; }

/* Demo UI */
.label{
  font-weight:900;
  margin-top:18px;
  margin-bottom:10px;
}

.pill-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
  font-weight:900;
  font-size:13px;
}

.pill.active{
  background:#111;
  color:#fff;
  border-color:#111;
}

.output{
  margin-top:16px;
  background:#fbfbfb;
  border:1px solid #eee;
  border-radius:16px;
  padding:18px;
  position:relative;
}

.output-title{
  font-weight:900;
  margin-bottom:10px;
}

.output-body{
  margin:0;
  white-space:pre-wrap;
  line-height:1.6;
  color:#333;
  font-size:14px;
}

.row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
  align-items:center;
}

.link{
  display:inline-block;
  font-weight:900;
  color:#111;
  text-decoration:underline;
}

/* textarea */
textarea{
  width:100%;
  height:120px;
  padding:12px;
  border-radius:12px;
  border:1px solid #ddd;
  font-size:14px;
  margin-top:8px;
  outline:none;
  resize:vertical;
}

.fade{
  height:80px;
  margin-top:10px;
  background: linear-gradient(to bottom, rgba(251,251,251,0), rgba(251,251,251,1));
}

/* Features grid */
.grid{
  margin-top:18px;
  display:grid;
  gap:16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tile{
  background:#fff;
  border-radius:16px;
  box-shadow: var(--shadow2);
  padding:22px;
  border:1px solid #eee;
}

.tile h3{ margin:0 0 10px; }
.tile p{ margin:0; color:#555; }

/* CTA */
.cta{
  margin-top:18px;
  background: #111;
  color:#fff;
  border-radius:18px;
  padding:22px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  box-shadow: var(--shadow);
}

.cta h3{ margin:0 0 6px; }
.cta .muted{ color: rgba(255,255,255,0.8); }

/* Footer */
.footer{
  margin-top:18px;
  padding:26px 0 0;
  text-align:center;
  color:#666;
}

.footer-links{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.footer-links a{
  text-decoration:none;
  font-weight:900;
  opacity:0.85;
}

.footer-links a:hover{ opacity:1; }

.footer-small{
  font-size:12px;
  color:#777;
  padding-bottom: 26px;
}

.hidden{ display:none; }

/* Simple page blocks */
.page-title{
  margin-top:34px;
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1.1;
}

.page-subtitle{
  color:#555;
  margin-bottom: 18px;
}
