:root{
  --bg:#f0f9ff;
  --bg2:#e0f2fe;
  --card:#ffffff;
  --text:#0b1b2a;
  --muted:#52657a;
  --line:rgba(11,27,42,.12);
  --brand:#0ea5e9;
  --brand2:#0369a1;
  --shadow:0 18px 45px rgba(12,35,60,.12);
  --shadow2:0 10px 25px rgba(12,35,60,.10);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(900px 450px at 20% 0%, rgba(14,165,233,.20), transparent),
    radial-gradient(900px 450px at 80% 20%, rgba(3,105,161,.16), transparent),
    linear-gradient(#fff, var(--bg));
  color:var(--text);
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
.wrap{max-width:1120px;margin:0 auto;padding:0 16px}

/* NAV */
.navBar{
  position:fixed; inset:0 0 auto 0;
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(2,132,199,.12);
  z-index:50;
}
.navInner{height:64px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.2px}
.logoMark{
  width:34px;height:34px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 22px rgba(14,165,233,.28);
}
.logoText{font-size:18px}
.navLinks{display:none;align-items:center;gap:18px}
.navLinks a{color:rgba(11,27,42,.68);font-weight:600}
.navLinks a:hover{color:var(--brand2)}
.navLinks .cta{
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--brand2), var(--brand));
  box-shadow:0 10px 18px rgba(14,165,233,.25);
}
.burger{
  width:44px;height:44px;border:0;border-radius:12px;
  background:rgba(14,165,233,.08);
  display:flex;flex-direction:column;justify-content:center;gap:6px;
  padding:10px;cursor:pointer;
}
.burger span{height:2px;background:rgba(11,27,42,.68);border-radius:2px}
.mobileMenu{
  border-top:1px solid rgba(11,27,42,.08);
  background:#fff;
  box-shadow:var(--shadow2);
}
.mobileMenuInner{display:flex;flex-direction:column;padding:10px 16px 18px}
.mobileMenuInner a{padding:12px 10px;border-radius:12px;color:rgba(11,27,42,.76);font-weight:650}
.mobileMenuInner a:hover{background:rgba(14,165,233,.08);color:var(--brand2)}
.mobileMenuInner .cta{color:#fff;background:linear-gradient(135deg, var(--brand2), var(--brand))}

/* Layout spacing because nav is fixed */
main{padding-top:92px;padding-bottom:60px}

/* HERO */
.hero{margin-top:10px;text-align:center}
.hero h1{
  font-size: clamp(30px, 4.4vw, 56px);
  line-height:1.06;
  margin:0 0 14px;
  letter-spacing:-.8px;
}
.grad{
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero p{max-width:720px;margin:0 auto 22px;color:rgba(11,27,42,.68);font-size:18px;line-height:1.55}

/* TOOL CARD */
.tool{
  margin:28px auto 0;
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(11,27,42,.10);
  box-shadow: var(--shadow);
}
.toolbar{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  padding:16px;
  background:linear-gradient(#fbfdff, #f6fbff);
  border-bottom:1px solid rgba(11,27,42,.08);
}
.label{
  display:flex;justify-content:space-between;align-items:center;
  font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(11,27,42,.55);font-weight:800;margin-bottom:6px;
}
.field{position:relative}
.select, .input{
  width:100%;
  padding:11px 12px;
  border:1px solid rgba(11,27,42,.14);
  border-radius:14px;
  background:#fff;
  outline:none;
  font-size:14px;
}
.select:focus, .input:focus, textarea:focus{border-color: rgba(14,165,233,.65); box-shadow: 0 0 0 4px rgba(14,165,233,.18)}
.range{width:100%}
.rangeWrap{padding:11px 12px;border:1px solid rgba(11,27,42,.14);border-radius:14px;background:#fff}

.twocol{
  display:grid;
  grid-template-columns: 1fr;
  height:auto;
}
.panel{
  display:flex;flex-direction:column;
  min-height:340px;
  background:#fff;
}
.panelTop{flex:1;position:relative}
textarea{
  width:100%;
  height:100%;
  min-height:260px;
  border:0;
  padding:18px;
  resize:none;
  outline:none;
  font-size:16px;
  line-height:1.6;
  color:rgba(11,27,42,.86);
}
.countBadge{
  position:absolute;left:16px;bottom:14px;
  font-size:12px;color:rgba(11,27,42,.55);
  background:rgba(241,245,249,.9);
  border:1px solid rgba(11,27,42,.08);
  padding:6px 8px;border-radius:12px;
}
.panelBottom{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 12px;
  border-top:1px solid rgba(11,27,42,.08);
  background:rgba(241,245,249,.55);
}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:14px;
  border:1px solid rgba(11,27,42,.12);
  background:#fff;
  cursor:pointer;
  font-weight:800;
  color:rgba(11,27,42,.78);
}
.btn:hover{border-color:rgba(11,27,42,.18);background:#fbfdff}
.btnPrimary{
  border:0;
  color:#fff;
  background:linear-gradient(135deg, var(--brand2), var(--brand));
  box-shadow: 0 10px 18px rgba(14,165,233,.22);
}
.btnPrimary:hover{filter:brightness(.98);transform:translateY(-1px)}
.btnDanger{color:#c2410c;border-color:rgba(194,65,12,.2)}
.btnDanger:hover{background:rgba(194,65,12,.06)}
.actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.noteRow{padding:16px;border-top:1px solid rgba(11,27,42,.08);background:#fff}

.status{
  margin-top:10px;
  font-size:14px;
  color:rgba(11,27,42,.7);
}
.status.bad{color:#b91c1c}
.status.good{color:#065f46}

.section{
  margin-top:56px;
}
.section h2{font-size:28px;letter-spacing:-.3px;margin:0 0 14px}
.cards{display:grid;grid-template-columns:1fr;gap:14px}
.card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(11,27,42,.10);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow2);
}
.card h3{margin:0 0 8px}
.muted{color:rgba(11,27,42,.62)}

/* Footer */
.footer{border-top:1px solid rgba(11,27,42,.08);background:#fff}
.footGrid{padding:28px 16px;display:grid;grid-template-columns:1fr;gap:18px}
.footGrid a{display:block;color:rgba(11,27,42,.70);padding:6px 0}
.footGrid a:hover{color:var(--brand2)}
.footBrand{font-weight:900;font-size:16px}
.footTitle{font-weight:900;margin-bottom:6px}
.footBottom{padding:14px 16px;color:rgba(11,27,42,.55);font-size:13px}

/* Responsive */
@media (min-width: 820px){
  .navLinks{display:flex}
  .burger{display:none}
  .mobileMenu{display:none !important}
  .toolbar{grid-template-columns: repeat(4, 1fr)}
  .twocol{grid-template-columns: 1fr 1fr; min-height: 560px}
  textarea{min-height:520px}
  .cards{grid-template-columns: repeat(3, 1fr)}
  .footGrid{grid-template-columns: 1.2fr 1fr 1fr 1fr}
}


.adSlot{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:10px 0;
  margin:6px 0;
  border-top:1px dashed rgba(11,27,42,.12);
  border-bottom:1px dashed rgba(11,27,42,.12);
  background: rgba(255,255,255,.6);
  border-radius: 14px;
}
@media (min-width: 820px){
  .adSlot{ margin:10px 0; }
}

