/* Axis theme: homepage only (hero search, tools, countries) */
.search-wrap{position:relative;max-width:640px;margin:0 auto;text-align:start}
.search-wrap.open .search{border-radius:24px 24px 0 0;box-shadow:var(--shadow);border-color:transparent;border-bottom-color:var(--line)}
.search-drop{position:absolute;inset-inline:0;top:100%;background:var(--menu);border-radius:0 0 24px 24px;box-shadow:0 8px 16px rgba(0,0,0,.12);padding:6px 0 10px;z-index:40;max-height:60vh;overflow-y:auto}
.search-drop a{display:flex;flex-direction:column;padding:10px 22px}
.search-drop a:hover,.search-drop a:focus{background:color-mix(in srgb,var(--text) 8%,transparent)}
.search-drop a:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;border-radius:0}
.search-drop small{color:var(--muted);font-size:14px}
.search-drop p{margin:0;padding:12px 22px;color:var(--muted)}
.hero{text-align:center;padding:64px 0 28px}
.mark{width:84px;height:84px;border-radius:50%;object-fit:cover;box-shadow:0 1px 3px rgba(60,64,67,.25)}
/* the site name keeps the big wordmark look; the h1 is now a full sentence (M18) */
.hero .brand-name{font-size:clamp(34px,6vw,52px);font-weight:500;letter-spacing:0;line-height:1.15;margin:14px 0 6px;color:var(--text)}
.hero h1{font-size:clamp(18px,2.6vw,22px);font-weight:500;letter-spacing:0;margin:0 0 6px;color:var(--text)}
.tag{color:var(--muted);margin:0 0 28px;font-size:17px}
.search{display:flex;align-items:center;gap:6px;max-width:640px;margin:0 auto;height:56px;padding:0 8px 0 18px;
  border:1px solid var(--line);border-radius:999px;background:var(--bg);transition:box-shadow .2s}
[dir=rtl] .search{padding:0 18px 0 8px}
.search:hover{box-shadow:var(--shadow);border-color:transparent;background:var(--bg)}
.search:focus-within{background:var(--bg);border-color:var(--focus);box-shadow:0 0 0 1px var(--focus)}
.search-wrap.open .search{background:var(--menu)}
.search svg{flex:0 0 20px;color:var(--muted)}
.search input{flex:1;border:0;outline:0;background:transparent;color:var(--text);font:450 17px var(--font);height:100%}
.tools{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.tool{display:block;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.tool:hover{background:var(--surface)}
.tool .ic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;margin-bottom:12px;background:var(--soft);color:var(--c)}
.tool:hover{border-color:var(--c)}
.tool b{display:block;font-weight:600;font-size:17px}
.tool span{font-size:15px;color:var(--muted)}
@media (max-width:860px){
  .tools{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .hero{padding-top:40px}
}
