/* NayaSathi — white-primary theme */
:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#fafafa;
  --border:#e6e8ec;
  --text:#0f1720;
  --muted:#5b6675;
  --accent:#0b5cff;
  --accent-hover:#0a4fdb;
  --success:#0a7d3b;
  --warn:#a55a00;
  --danger:#b21b1b;
  --grey:#6b7280;
  --shadow:0 6px 24px rgba(15,23,32,.06);
  --radius:14px;
  --radius-sm:10px;
  --focus:0 0 0 3px rgba(11,92,255,.18);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}

.container{max-width:1120px;margin:0 auto;padding:0 20px}

header.site{
  position:sticky; top:0; z-index:10; background:rgba(255,255,255,.85);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.01em;font-size:18px}
.brand-mark{
  width:28px;height:28px;border-radius:8px;background:var(--text);color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:13px;
}
.nav-links{display:flex;gap:22px;font-size:14px;color:var(--muted)}
.nav-links a{color:var(--muted)}
.nav-links a:hover{color:var(--text);text-decoration:none}

.hero{padding:56px 0 24px;text-align:center}
.hero h1{font-size:44px;line-height:1.08;letter-spacing:-.02em;margin:0 0 14px}
.hero p{font-size:17px;color:var(--muted);max-width:640px;margin:0 auto}
.badges{display:flex;gap:8px;justify-content:center;margin-top:18px;flex-wrap:wrap}
.badge{font-size:12px;padding:6px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--muted)}

section{padding:24px 0}

.card{
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); box-shadow:var(--shadow); padding:22px;
}
.card + .card{margin-top:20px}

label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--text)}
.field{margin-bottom:14px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:720px){.row{grid-template-columns:1fr}.hero h1{font-size:32px}}

textarea, input[type="text"], select{
  width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:var(--radius-sm);
  font-size:15px; color:var(--text); background:#fff; outline:none; transition:border .15s, box-shadow .15s;
  font-family:inherit;
}
textarea{min-height:130px;resize:vertical}
textarea:focus, input:focus, select:focus{border-color:var(--accent); box-shadow:var(--focus)}
.helper{font-size:12px;color:var(--muted);margin-top:6px}

button, .btn{
  display:inline-flex;align-items:center;gap:8px; justify-content:center;
  padding:12px 18px; border-radius:var(--radius-sm); border:1px solid var(--text);
  background:var(--text); color:#fff; font-weight:600; font-size:15px; cursor:pointer;
  transition:transform .05s ease, background .15s;
}
button:hover, .btn:hover{background:#1a2532}
button:active{transform:translateY(1px)}
button[disabled]{opacity:.6;cursor:not-allowed}
.btn.secondary{background:#fff;color:var(--text)}
.btn.secondary:hover{background:var(--surface-2)}

.verdict{
  display:flex;align-items:center;gap:12px; padding:14px 16px;
  border-radius:var(--radius-sm); border:1px solid var(--border); background:var(--surface-2);
}
.verdict-dot{width:12px;height:12px;border-radius:50%;background:var(--grey);flex:0 0 auto}
.v-legal .verdict-dot{background:var(--success)}
.v-illegal .verdict-dot{background:var(--danger)}
.v-grey_area .verdict-dot{background:var(--warn)}
.v-insufficient_info .verdict-dot{background:var(--grey)}
.verdict h3{margin:0;font-size:16px}
.verdict small{color:var(--muted);font-size:12px}

.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
@media (max-width:820px){.grid-2{grid-template-columns:1fr}}

.subcard{border:1px solid var(--border); border-radius:var(--radius-sm); padding:14px 16px; background:#fff}
.subcard h4{margin:0 0 8px;font-size:14px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.subcard ul{margin:0;padding-left:18px}
.subcard li{margin:6px 0;line-height:1.5}

.chip{display:inline-block;font-size:12px;color:var(--muted);border:1px solid var(--border);
  padding:3px 8px;border-radius:999px;margin:0 6px 6px 0;background:#fff}

.lawyer{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff}
.lawyer h4{margin:0;font-size:15px}
.lawyer .meta{color:var(--muted);font-size:13px}
.lawyer .tags{display:flex;flex-wrap:wrap;margin-top:4px}
.lawyers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:14px}

.spinner{display:inline-block;width:16px;height:16px;border-radius:50%;
  border:2px solid rgba(255,255,255,.35); border-top-color:#fff; animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

.notice{padding:10px 14px;border-radius:10px;font-size:13px}
.notice.error{background:#fdecec;color:var(--danger);border:1px solid #f6cccc}
.notice.info{background:#eef4ff;color:#0b3d99;border:1px solid #d6e3ff}

footer.site{border-top:1px solid var(--border);padding:28px 0;margin-top:40px;color:var(--muted);font-size:13px;text-align:center}
.hidden{display:none !important}
.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
