:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#667085;
  --line:#e7e9ee;
  --soft:#f6f7fb;
  --accent:#0b5cff;
  --accent2:#00b7ff;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 400px at 20% -10%, rgba(11,92,255,.08), transparent 55%),
    radial-gradient(900px 400px at 90% -10%, rgba(0,183,255,.10), transparent 55%),
    var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

a{color:inherit}
.container{width:min(980px, 92vw); margin:0 auto;}

header{
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  position: sticky;
  top:0;
  z-index:10;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:-.2px;
}

.logo{
  width:34px;
  height:34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(11,92,255,.10), rgba(0,183,255,.08));
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}

.logo:after{
  content:"";
  position:absolute;
  inset:-40px;
  background: conic-gradient(from 220deg, transparent, rgba(11,92,255,.18), transparent);
  animation: spin 8s linear infinite;
  opacity:.6;
}
@keyframes spin{to{transform:rotate(360deg)}}
.logo span{position:relative; font-size:18px}

.brand small{display:block; font-weight:700; color:var(--muted); letter-spacing:0}

nav{display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end;}
nav a{
  text-decoration:none;
  font-weight:800;
  color:var(--muted);
  padding: 9px 10px;
  border-radius: 12px;
  border:1px solid transparent;
}
nav a:hover{color:var(--text); border-color: var(--line); background: var(--soft);}

main{padding: 46px 0 28px;}

.hero{text-align:center; padding: 10px 0 18px;}
h1{
  margin:0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.9px;
  line-height: 1.05;
}
.subtitle{
  margin:0 auto 18px;
  color:var(--muted);
  max-width: 70ch;
  line-height: 1.5;
  font-weight:650;
}

.searchWrap{
  margin: 16px auto 10px;
  max-width: 720px;
  display:flex;
  gap:10px;
  align-items:stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.searchWrap:focus-within{
  border-color: rgba(11,92,255,.35);
  box-shadow: 0 12px 32px rgba(11,92,255,.12);
}
.searchIcon{
  width:54px;
  display:grid;
  place-items:center;
  color: var(--muted);
  font-size:18px;
}
input[type="search"]{
  width: 100%;
  border:0;
  outline:none;
  padding: 16px 6px;
  font-size: 16px;
  font-weight:700;
  background: transparent;
}
.go{
  border:0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
  font-weight:900;
  padding: 0 18px;
  cursor:pointer;
  letter-spacing:.2px;
  min-width: 110px;
}
.go:hover{filter: brightness(1.02)}
.hint{
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.chips{
  margin: 18px auto 0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  max-width: 900px;
}
.chip{
  border:1px solid var(--line);
  background: var(--soft);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 850;
  color: #243043;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
}
.chip:hover{background:#fff}

.section{
  max-width: 900px;
  margin: 0 auto;
}

.grid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px){
  .grid{grid-template-columns: 1fr;}
  .searchWrap{border-radius: 18px}
  .go{min-width: 92px}
}

.card{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.ic{
  width:44px;
  height:44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(11,92,255,.10), rgba(0,183,255,.10));
  border:1px solid var(--line);
  font-size: 18px;
  flex: 0 0 auto;
}
.card h3{margin:0; font-size:16px; letter-spacing:-.2px}
.card p{margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; font-weight:650}
.card a{
  margin-left:auto;
  align-self:center;
  text-decoration:none;
  font-weight: 950;
  color: var(--accent);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,92,255,.18);
  background: rgba(11,92,255,.06);
  white-space:nowrap;
}
.card a:hover{background: rgba(11,92,255,.10)}

.results{margin-top: 22px; max-width: 900px; margin-left:auto; margin-right:auto;}
.resultsHead{display:flex; align-items:center; justify-content:space-between; gap:12px; margin: 6px 0 10px;}
.count{color: var(--muted); font-weight: 750; font-size: 13px;}

.ad{
  margin: 18px auto 0;
  max-width: 900px;
  border: 1px dashed rgba(17, 24, 39, .20);
  background: rgba(246,247,251,.65);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--muted);
  font-weight: 750;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

footer{
  border-top: 1px solid var(--line);
  padding: 20px 0 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  margin-top: 34px;
  background: rgba(246,247,251,.45);
}
footer a{color: var(--text); font-weight: 900; text-decoration:none}
footer a:hover{text-decoration:underline}

.sr{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}

.toolWrap{
  max-width: 900px;
  margin: 0 auto;
}

.toolCard{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.formRow{
  display:grid;
  grid-template-columns: 1fr 54px 1fr;
  gap: 12px;
  align-items:end;
  margin-top: 12px;
}
@media (max-width: 760px){
  .formRow{grid-template-columns: 1fr; align-items:stretch;}
}

.field label{
  display:block;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
  margin-bottom: 8px;
}
.field input{
  width:100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  outline:none;
}
.field input:focus{
  border-color: rgba(11,92,255,.35);
  box-shadow: 0 10px 26px rgba(11,92,255,.10);
}

.swap{
  margin-top: 26px;
  height: 46px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: var(--soft);
  cursor:pointer;
  font-weight: 900;
}
.swap:hover{background:#fff}

.noteBox{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(11,92,255,.05);
  border: 1px solid rgba(11,92,255,.12);
  color: #1f2a44;
  font-weight: 750;
  line-height: 1.5;
  font-size: 13px;
}
.kv{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 10px;
}
.kv span{
  display:inline-flex;
  gap:8px;
  align-items:center;
  border:1px solid var(--line);
  background: var(--soft);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 12px;
}
small.muted{color:var(--muted); font-weight:700}
