:root{
  --bg:#ffffff;
  --text:#101418;
  --muted:#5d6b78;
  --card:#f4f7f8;
  --mint:#19c6b3;
  --mint2:#0ea5a3;
  --orange:#ff8a3d;
  --shadow: 0 10px 30px rgba(16,20,24,.08);
  --radius: 20px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:var(--bg);
  color:var(--text);
}
a{color:inherit}
.container{
  width:min(1040px, 92vw);
  margin:0 auto;
  padding: 18px 0;
}

.topbar{
  position:sticky;
  top:0;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16,20,24,.08);
  z-index: 10;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  font-weight:800;
  letter-spacing: .2px;
  text-decoration:none;
  font-size: 20px;
}
.nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-link{
  text-decoration:none;
  padding:10px 12px;
  border-radius: 999px;
  color: var(--muted);
}
.nav-link:hover{background: rgba(25,198,179,.08); color: var(--text);}

.card{
  background: var(--card);
  border:1px solid rgba(16,20,24,.06);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.hero{padding-top: 10px;}
.hero-card h1{margin:0 0 10px; font-size: 28px; line-height: 1.1;}
.hero-card p{margin:0 0 14px;}

.grid{
  display:grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.grid2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 860px){
  .grid{grid-template-columns: repeat(3, 1fr);}
  .grid2{grid-template-columns: 1fr 1fr;}
  .hero-card h1{font-size: 34px;}
}

.muted{color: var(--muted);}
.row{display:flex; gap:10px; align-items:center; justify-content: space-between; flex-wrap: wrap;}
.inline{display:inline}

.form-card{max-width: 520px; margin: 16px auto;}
.form{display:flex; flex-direction:column; gap: 10px; margin-top: 10px;}
label{display:flex; flex-direction:column; gap: 6px; font-weight: 600;}
input{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,20,24,.12);
  outline:none;
  font-size: 16px;
  background: #fff;
}
input:focus{border-color: rgba(25,198,179,.6); box-shadow: 0 0 0 4px rgba(25,198,179,.15);}

.btn{
  border:0;
  cursor:pointer;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(16,20,24,.08);
  background: #fff;
}
.btn-pill{border-radius: 999px;}
.btn-primary{
  background: linear-gradient(135deg, var(--mint), var(--mint2));
  color: #fff;
}
.btn-primary:hover{filter: brightness(1.02);}
.btn-ghost{
  background: rgba(16,20,24,.04);
  box-shadow:none;
}
.btn-ghost:hover{background: rgba(16,20,24,.07);}
.btn-small{
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow:none;
  background: rgba(16,20,24,.06);
}
.btn-warn{background: rgba(255,138,61,.18);}

.toast{
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16,20,24,.08);
  background: #fff;
}
.toast-ok{border-color: rgba(25,198,179,.35); background: rgba(25,198,179,.08);}
.toast-error{border-color: rgba(255,138,61,.45); background: rgba(255,138,61,.10);}

.footer{
  border-top: 1px solid rgba(16,20,24,.08);
  margin-top: 24px;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.table-wrap{overflow:auto; margin-top: 10px;}
.table{width:100%; border-collapse: collapse; min-width: 760px; background:#fff; border-radius: 14px; overflow:hidden;}
.table th, .table td{padding:10px 10px; border-bottom: 1px solid rgba(16,20,24,.06); font-size: 14px;}
.table th{text-align:left; color: var(--muted); font-weight: 800; background: rgba(16,20,24,.03);}

.pill-row{display:flex; gap:8px; flex-wrap:wrap; margin-top: 10px;}
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(25,198,179,.10);
  border: 1px solid rgba(25,198,179,.20);
  color: rgba(16,20,24,.85);
  font-weight: 700;
  font-size: 13px;
}


/* ---- v1.3 UI polish ---- */
.nav{
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-sep{
  width: 10px;
  height: 1px;
  background: rgba(16,20,24,.12);
  margin: 0 6px;
  align-self: center;
}
.nav-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space: nowrap;
}
.nav-link.is-active{
  background: rgba(25,198,179,.10);
  border: 1px solid rgba(25,198,179,.18);
  color: var(--text);
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(25,198,179,.10);
  border: 1px solid rgba(25,198,179,.18);
  color: rgba(16,20,24,.85);
  font-weight: 800;
  font-size: 13px;
  width: fit-content;
}
.hero-sub{max-width: 68ch;}
.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  margin-top: 10px;
}
.hero-actions .btn{box-shadow:none}
.hero-facts{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
@media (min-width: 860px){
  .hero-facts{grid-template-columns: repeat(3,1fr);}
}
.fact{
  background:#fff;
  border:1px solid rgba(16,20,24,.06);
  border-radius: 16px;
  padding: 12px;
}
.fact-title{font-weight: 900; margin-bottom: 4px;}
.section-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:10px;
}
.pill-soft{
  background: rgba(16,20,24,.05);
  border: 1px solid rgba(16,20,24,.08);
}
.steps{
  margin: 10px 0 0;
  padding-left: 18px;
}
.steps li{margin: 6px 0;}
.link{color: var(--mint2); text-decoration: none; font-weight: 800;}
.link:hover{text-decoration: underline;}
.footer-links{display:flex; gap:12px; align-items:center;}
